id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,954,135 | I can't show data from firebase real time database in TextView | <p>I'm trying to build a ticket booking app for an event and I managed to do the registration and log-in part. After the login, the user profile shows up which contains some TextViews about the name, age, email, etc. and I want to read the data from the real-time database and put it in TextView.I don't know what is the... | I'm trying to build a ticket booking app for an event and I managed to do the registration and log-in part. After the login, the user profile shows up which contains some TextViews about the name, age, email, etc. and I want to read the data from the real-time database and put it in TextView.I don't know what is the pr... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-12T14:39:20.297Z | 2,022 | 7 | 14 | 1 | 24 | 1 | 408 | 62 | 5 | 2 | true | false | false | false | false | false | zero |
72,954,284 | Signed apk unable to install in Android 12 | <p>I got '<strong>App not installed as package appears to be invalid</strong>' message when trying to install my signed release app manually on Android 12. However, it can be installed in my other phones which are Android 9 and Android 6.</p>
<p>I use <strong>jarsigner</strong> to sign my apk :</p>
<pre><code>$ jarsign... | I got ' App not installed as package appears to be invalid ' message when trying to install my signed release app manually on Android 12. However, it can be installed in my other phones which are Android 9 and Android 6. I use jarsigner to sign my apk : [CODE] And use zipalign to optimize : [CODE] I've change my phone ... | android|cordova|apk|quasar|jarsigner | 0 | 2022-07-12T14:50:40.513Z | 2,022 | 7 | 14 | 1 | 202 | 1 | 513 | 42 | 5 | 2 | true | false | false | false | false | false | zero |
72,954,345 | Why is android accessibility method "isVisibleToUser" not working? | <p>I want to see whether some <code>AccessibilityNodeInfo</code>'s are visible to a user or not. I found this suspiciously convenient method called <code>isVisibleToUser()</code> that should tell just that. I tried it on the default android calculator app and it didn't work. Here is how I call <code>isVisibleToUser()</... | I want to see whether some AccessibilityNodeInfo 's are visible to a user or not. I found this suspiciously convenient method called isVisibleToUser() that should tell just that. I tried it on the default android calculator app and it didn't work. Here is how I call isVisibleToUser() : [CODE] The above code always retu... | android|accessibility|accessibilityservice | 0 | 2022-07-12T14:54:27.300Z | 2,022 | 7 | 14 | 1 | 48 | 0 | 561 | 66 | 3 | 1 | true | true | false | false | false | false | zero |
72,954,372 | What is the right way to disable back button in flutter when one has reached the login page after logging out? | <p>I want to restrict the user from viewing inner pages of the app after the user has logged out and has been redirected to the login page. What I know so far is the use of <code>Navigator.pop(context)</code> or <code>Navigator.of(context).pop()</code> to move back to a previous page. But this isn't fitting in the use ... | I want to restrict the user from viewing inner pages of the app after the user has logged out and has been redirected to the login page. What I know so far is the use of Navigator.pop(context) or Navigator.of(context).pop() to move back to a previous page. But this isn't fitting in the use case I have mentioned (or may... | android|flutter|flutter-navigation | 1 | 2022-07-12T14:56:16.560Z | 2,022 | 7 | 14 | 1 | 131 | 3 | 337 | 110 | 3 | 0 | false | false | false | false | false | false | low |
72,954,383 | Jetpack Compose – BottomBar is under Bottom Navigation | <p>I've implemented BottomBar via Scaffold in Jetpack Compose.</p>
<p>It works fine with a smartphone with gesture navigation. But when legacy bottom buttons are enabled, the overlap my BottomBar.</p>
<p><a href="https://i.stack.imgur.com/X4BM9.jpg" rel="nofollow noreferrer">screenshot</a></p>
<p>My code:</p>
<pre><cod... | I've implemented BottomBar via Scaffold in Jetpack Compose. It works fine with a smartphone with gesture navigation. But when legacy bottom buttons are enabled, the overlap my BottomBar. screenshot My code: [CODE] BottomMenu(): [CODE] | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-07-12T14:56:59.373Z | 2,022 | 7 | 14 | 1 | 147 | 1 | 234 | 54 | 4 | 2 | true | false | false | false | false | false | zero |
72,954,388 | Jetpack navigation, wrong activity transition | <p>I have a landing Activity where I make an async call to check if the session is still active so I know if I must navigate to Login or to the main screen.</p>
<p>This Landing screen has no fragment and the activity's view is empty but I emulate a Splash screen setting a theme for the app in the AndroidManifest and an... | I have a landing Activity where I make an async call to check if the session is still active so I know if I must navigate to Login or to the main screen. This Landing screen has no fragment and the activity's view is empty but I emulate a Splash screen setting a theme for the app in the AndroidManifest and another one ... | android|android-activity|navigation|android-jetpack|android-jetpack-navigation | 0 | 2022-07-12T14:57:13.953Z | 2,022 | 7 | 14 | 1 | 26 | 0 | 1,164 | 45 | 5 | 5 | true | true | false | false | false | false | zero |
72,954,628 | Cut off emulator's internet while keeping wifi and mobile data on | <p>I'd like to cut off emulator's internet while keeping wifi and mobile data enabled so I can run some automated tests covering this case without having to turn off the internet manually.</p>
<p>While running an emulator on the PC it gets its internet access through the host PC, I'm interested in whether there's an <c... | I'd like to cut off emulator's internet while keeping wifi and mobile data enabled so I can run some automated tests covering this case without having to turn off the internet manually. While running an emulator on the PC it gets its internet access through the host PC, I'm interested in whether there's an adb command ... | android|adb | 0 | 2022-07-12T15:15:32.553Z | 2,022 | 7 | 15 | 1 | 53 | 2 | 789 | 65 | 2 | 0 | false | false | false | false | false | false | zero |
72,954,700 | Realm migration on Android - add new table | <p>Is it possible to add a new table without specifying every field "manually" like this:</p>
<pre><code> schema.create("LoyaltyActivity")
.addField("id", String::class.java, FieldAttribute.PRIMARY_KEY)
.addField("source", String::class.java)
.... | Is it possible to add a new table without specifying every field "manually" like this: [CODE] Realm class looks like this: [CODE] On iOS, it is possible with method provided in SDK: migration.create(typeName: String, value: <Any>) | android|realm-migration|realm-database | 0 | 2022-07-12T15:20:18.723Z | 2,022 | 7 | 15 | 1 | 19 | 0 | 240 | 42 | 3 | 2 | true | true | false | false | false | false | zero |
72,954,712 | Navigating from a notification to a fragment which is inside a TabLayout | <p>I'm trying to take the user to a fragment that is contained within a TabLayout, but I can't make it work and I'd like to get some input from the colleagues.</p>
<p>The situation is the following:
I have a MainActivity which has a TabLayout in it, which in turn, has 3 tabs, as you can see in the picture. Each tab is ... | I'm trying to take the user to a fragment that is contained within a TabLayout, but I can't make it work and I'd like to get some input from the colleagues. The situation is the following: I have a MainActivity which has a TabLayout in it, which in turn, has 3 tabs, as you can see in the picture. Each tab is a fragment... | android|android-fragments|android-notifications|android-navigation | 0 | 2022-07-12T15:21:02.513Z | 2,022 | 7 | 15 | 1 | 41 | 0 | 1,632 | 72 | 4 | 4 | true | true | false | false | false | false | zero |
72,954,823 | multiple View Models for each screen | <p>Hello devs I have one questions I hope you can help me.</p>
<p>I have read that Google recommends having a View Model for each screen, a screen could communicate with the View Model to perform many different actions. So the View Model would have many responsibilities, which is against the S of solid. Would it be g... | Hello devs I have one questions I hope you can help me. I have read that Google recommends having a View Model for each screen, a screen could communicate with the View Model to perform many different actions. So the View Model would have many responsibilities, which is against the S of solid. Would it be good to have ... | android|mvvm|android-viewmodel|android-architecture | 0 | 2022-07-12T15:28:53.593Z | 2,022 | 7 | 15 | 1 | 128 | 1 | 708 | 36 | 4 | 0 | false | false | false | false | false | false | zero |
72,954,829 | Android Studio: What can functions do? | <p>I have been spending some time learning new things on android. According to this link functions exist. But I want to know what else it can do. The internet has almost nothing. Can I pass values and get back values? I know bundles can pass values to other activities but I want to use functions. Refer to <a href="http... | I have been spending some time learning new things on android. According to this link functions exist. But I want to know what else it can do. The internet has almost nothing. Can I pass values and get back values? I know bundles can pass values to other activities but I want to use functions. Refer to https://www.andr... | android|function|return-value | -1 | 2022-07-12T15:29:29.730Z | 2,022 | 7 | 15 | 1 | 33 | 1 | 419 | 38 | 3 | 0 | false | false | false | false | false | true | negative |
72,954,893 | What is the efficient way to manage permission in React Native? | <p>What would be the proper way to check permission and ask if not granted.
And disable some entry point component if permission is not granted.
It is easy at initial point but when app permission is changed anytime the app should take care of it.
I tried to check permission every time app rendered and used useEffect t... | What would be the proper way to check permission and ask if not granted. And disable some entry point component if permission is not granted. It is easy at initial point but when app permission is changed anytime the app should take care of it. I tried to check permission every time app rendered and used useEffect to l... | android|react-native | 1 | 2022-07-12T15:33:44.107Z | 2,022 | 7 | 15 | 1 | 28 | 0 | 923 | 63 | 2 | 1 | true | true | false | false | false | false | low |
72,954,929 | android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? in react-native android | <p>I want to show a custom view when the app is turned off or when the app is turned on, depending on the phone state.</p>
<p>so I use <code>WindowManager</code>. but get error message</p>
<pre class="lang-bash prettyprint-override"><code> W/System.err: android.view.WindowManager$BadTokenException: Unable to add window... | I want to show a custom view when the app is turned off or when the app is turned on, depending on the phone state. so I use WindowManager . but get error message [CODE] CallerIdOverlay.kt [CODE] CallerIDService.kt [CODE] What problems can cause the following problems? I'm not nunderstand | android|react-native|kotlin|android-context|android-windowmanager | 0 | 2022-07-12T15:37:31.117Z | 2,022 | 7 | 15 | 1 | 249 | 0 | 289 | 144 | 5 | 3 | true | true | false | false | false | false | zero |
72,955,021 | NoBeanDefFoundException but scope is already defined | <p>I'm trying to solve this issue: I'm receiving a crash whenever i try to click on a push notification in certain fragment, that would redirect me to another fragment in the app.</p>
<p>I defined my module like this:</p>
<pre><code>scope(named<MainActivity>()) {
factory<DetailContract.Presenter>... | I'm trying to solve this issue: I'm receiving a crash whenever i try to click on a push notification in certain fragment, that would redirect me to another fragment in the app. I defined my module like this: [CODE] In my fragment i did this: [CODE] And in my activity i did like this: [CODE] However it isn't working eve... | android|kotlin|push-notification|koin|koin-scope | 0 | 2022-07-12T15:44:35.967Z | 2,022 | 7 | 15 | 1 | 33 | 0 | 491 | 52 | 5 | 4 | true | true | false | false | false | false | zero |
72,955,120 | User cannot download Android app from Firebase App Distribution | <p>We have a capacitor application that we distribute to our testers and QA team via Firebase App Distribution. Our new QA team member cannot download the app and receives a 403 error.</p>
<p><code>Your client does not have permission to get URL ...binaries... from this server</code>.</p>
<p>The QA eng. has turned on s... | We have a capacitor application that we distribute to our testers and QA team via Firebase App Distribution. Our new QA team member cannot download the app and receives a 403 error. Your client does not have permission to get URL ...binaries... from this server . The QA eng. has turned on settings to allow app download... | android|firebase|google-chrome|capacitor|firebase-app-distribution | 0 | 2022-07-12T15:52:44.637Z | 2,022 | 7 | 15 | 1 | 119 | 1 | 424 | 63 | 5 | 0 | false | false | false | false | false | false | zero |
72,955,128 | Passing a click action for preview in android jetpack compose | <p><strong>What I have</strong> :</p>
<ul>
<li>I have a compose class that has a button</li>
<li>I want to see the preview in the design view</li>
</ul>
<p><strong>Issue I am facing</strong> :</p>
<ul>
<li>For the click How to pass as an object on the line I have marked in
code</li>
</ul>
<p><em><strong>Is this possibl... | What I have : I have a compose class that has a button I want to see the preview in the design view Issue I am facing : For the click How to pass as an object on the line I have marked in code Is this possible ? OnBoardingActionButton.kt [CODE] Error : | android|kotlin|android-jetpack-compose|android-jetpack|android-jetpack-compose-preview | 0 | 2022-07-12T15:53:27.450Z | 2,022 | 7 | 15 | 1 | 104 | 1 | 252 | 61 | 5 | 1 | true | false | false | false | false | false | zero |
72,955,131 | Error in Google Play "com.facebook.react.common.JavascriptException:" in React Native app | <p>I have already published a React Native app in google play, and it gives me this strange Error at Google Play console at Crashes. I have already searched for something similar, but i have already struggled. Any help appreciated.</p>
<pre><code>com.facebook.react.common.JavascriptException:
at java.lang.reflect.Me... | I have already published a React Native app in google play, and it gives me this strange Error at Google Play console at Crashes. I have already searched for something similar, but i have already struggled. Any help appreciated. [CODE] | android|react-native|crash|google-play | 1 | 2022-07-12T15:53:36.043Z | 2,022 | 7 | 15 | 1 | 285 | 0 | 235 | 89 | 4 | 1 | true | true | false | false | false | false | low |
72,955,134 | NullPointerException when i want setColor in my ImageView | <p>When I try to set color for my imageView it gives me NullPointerException error</p>
<p>I've already tried a bunch of solutions, but I just can't figure out what the problem is.
In XML files, I have a background color and an outline color and I don't understand why null. The compiler complains about these lines:</p>
... | When I try to set color for my imageView it gives me NullPointerException error I've already tried a bunch of solutions, but I just can't figure out what the problem is. In XML files, I have a background color and an outline color and I don't understand why null. The compiler complains about these lines: [CODE] and thi... | android|nullpointerexception | 0 | 2022-07-12T15:53:48.030Z | 2,022 | 7 | 15 | 1 | 53 | 2 | 545 | 57 | 2 | 9 | true | false | false | false | false | false | zero |
72,955,267 | EXIF data of stored image | <p>My code for extracting the EXIF data of a camera captured image (and correcting the orientation) is working but not for an image from storage. I think that I am not obtaining the correct uri of a stored image?
The getImagePath function used for the camera captured image returns content://media/external/images/media/... | My code for extracting the EXIF data of a camera captured image (and correcting the orientation) is working but not for an image from storage. I think that I am not obtaining the correct uri of a stored image? The getImagePath function used for the camera captured image returns content://media/external/images/media/122... | android | 0 | 2022-07-12T16:05:58.210Z | 2,022 | 7 | 16 | 1 | 62 | 0 | 720 | 25 | 1 | 1 | true | true | false | false | false | false | zero |
72,955,436 | How can I prevent the endIcon from getting focus when the Next key is pressed in TextInputLayout? | <p>I don't want the end Icon of EditText to get focus when the next key is pressed. I have given the imeOptions as 'actionNext' . Now when I click the Next key , if the edittext is empty , it moves to the next edittext placing the cursor there. But if the edittext is not empty, clicking the next key shifts the focus t... | I don't want the end Icon of EditText to get focus when the next key is pressed. I have given the imeOptions as 'actionNext' . Now when I click the Next key , if the edittext is empty , it moves to the next edittext placing the cursor there. But if the edittext is not empty, clicking the next key shifts the focus to th... | android|kotlin|focus|android-textinputlayout | 0 | 2022-07-12T16:20:35.550Z | 2,022 | 7 | 16 | 1 | 107 | 0 | 366 | 97 | 4 | 0 | false | true | false | false | false | false | zero |
72,955,517 | Jetpack Compose semicircle using Canvas | <p>I am trying to create a semicircle speed progress bar in Jetpack Compose. Unless the view is square the semicircle will not look as expected, if I use 1:2 width: height it will be flattened. I want a Composable representing half of the circle where I don't have unusable bottom half of the view.</p>
<pre><code> Bo... | I am trying to create a semicircle speed progress bar in Jetpack Compose. Unless the view is square the semicircle will not look as expected, if I use 1:2 width: height it will be flattened. I want a Composable representing half of the circle where I don't have unusable bottom half of the view. [CODE] The expected outc... | android|kotlin|android-jetpack-compose|android-canvas | 2 | 2022-07-12T16:27:31.283Z | 2,022 | 7 | 16 | 1 | 214 | 1 | 512 | 39 | 4 | 1 | true | false | false | false | false | false | low |
72,955,673 | Jetpeck Compose hide cursor in OutlinedTextField | <p>How can the cursor in an <code>OutlinedTextField</code> be hidden? I tried the following, but it doesn't seem to work. My input needs a border, so I don't think I can use another component than <code>OutlinedTextField</code>.</p>
<pre><code>OutlinedTextField(
value = "",
onValueChange = {},
key... | How can the cursor in an OutlinedTextField be hidden? I tried the following, but it doesn't seem to work. My input needs a border, so I don't think I can use another component than OutlinedTextField . [CODE] | android|kotlin|cursor|android-jetpack-compose|textfield | 0 | 2022-07-12T16:39:48.953Z | 2,022 | 7 | 16 | 1 | 83 | 2 | 207 | 48 | 5 | 1 | true | false | false | false | false | false | zero |
72,955,765 | Java - getCardBackgroundColor - color for CardView | <p>Can you help me with my code? I am changing the color of the item based on the information from the database, and now I wanted to transfer the color to the CardView, but I don't know what the notation should look like, because this code tells me that the Color.RED write is wrong. Will you help me?</p>
<pre><code> @O... | Can you help me with my code? I am changing the color of the item based on the information from the database, and now I wanted to transfer the color to the CardView, but I don't know what the notation should look like, because this code tells me that the Color.RED write is wrong. Will you help me? [CODE] | java|android|cardview | 1 | 2022-07-12T16:47:09.687Z | 2,022 | 7 | 16 | 1 | 29 | 2 | 305 | 50 | 3 | 1 | true | false | false | false | false | false | low |
72,955,779 | Android show overlay view at a specific location | <p>I want to show an overlay view at some specific bound in screen ( like <code>Rect(30,60,200, 400)</code>). My code always gives a fullscreen overlay view, not the desired rect with specific top left, width, height.
My layout file:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<Re... | I want to show an overlay view at some specific bound in screen ( like Rect(30,60,200, 400) ). My code always gives a fullscreen overlay view, not the desired rect with specific top left, width, height. My layout file: [CODE] Main Activity code: [CODE] I noticed that the commented code I made for params has no effect. ... | android|android-layout | 0 | 2022-07-12T16:47:57.477Z | 2,022 | 7 | 16 | 1 | 36 | 1 | 369 | 48 | 2 | 2 | true | false | false | false | false | false | zero |
72,955,826 | Android studio and 'trust project' problem | <p>When I open any project or create a new project, ide shows the trust project option but it's not working
and Gradle doesn't sync, and trust project sync still available on top of the page</p> | When I open any project or create a new project, ide shows the trust project option but it's not working and Gradle doesn't sync, and trust project sync still available on top of the page | android|android-studio|gradle | 0 | 2022-07-12T16:51:56.927Z | 2,022 | 7 | 16 | 1 | 179 | 1 | 187 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
72,955,903 | Android / Firebase Error: Lifecycle owner is attempting to register while current state ist RESUMED / Kotlin | <p>I am trying to use Firebase authentification to implement a Google SignIn for my Android app.</p>
<p>The suggested method was as follows:</p>
<pre><code> private fun signInGoogle() {
val signInIntent: Intent = mGoogleSignInClient.signInIntent
registerForActivityResult(ActivityResultContracts.S... | I am trying to use Firebase authentification to implement a Google SignIn for my Android app. The suggested method was as follows: [CODE] With onActivityResult deprecated, I tried to substitute with registerForActivityResult. My onCreate now looks like this: [CODE] While I get no compiler error, at runtime I get this e... | android|firebase|authentication|deprecated | 0 | 2022-07-12T16:57:42.367Z | 2,022 | 7 | 16 | 1 | 40 | 0 | 392 | 108 | 4 | 3 | true | true | false | false | false | false | zero |
72,955,985 | Start Play Store app in Android using navigation component | <p>I have an Android application with a button to find other games on Play Store. This button should open the Google Play Store application. I have a working version which uses the <code>startActivity()</code> function and <code>Intent</code> flags, just as mentioned in <a href="https://developer.android.com/distribute... | I have an Android application with a button to find other games on Play Store. This button should open the Google Play Store application. I have a working version which uses the startActivity() function and Intent flags, just as mentioned in this official doc . [CODE] Is this possible to achieve using Navigation Compon... | java|android|navigation|google-play | 0 | 2022-07-12T17:06:14.523Z | 2,022 | 7 | 17 | 1 | 42 | 1 | 618 | 58 | 4 | 2 | true | false | false | false | false | false | zero |
72,956,223 | cancelling a suspend function in kotlin if the same function is called again | <p>I want to cancel the function i created which simply increments a counter value. For example, if the specific function is triggered by click, I only want to display the log for the last uninterrupted click within 2 seconds. Basically, i want the function to cancel itself if called again if its ongoing (delay is ongo... | I want to cancel the function i created which simply increments a counter value. For example, if the specific function is triggered by click, I only want to display the log for the last uninterrupted click within 2 seconds. Basically, i want the function to cancel itself if called again if its ongoing (delay is ongoing... | android|function|kotlin|counter|suspend | 0 | 2022-07-12T17:28:26.840Z | 2,022 | 7 | 17 | 1 | 55 | 2 | 360 | 76 | 5 | 1 | true | false | false | false | false | false | zero |
72,956,273 | Is it necessary to put a website in the play console account information? | <p>I have noticed that if I go to "Account information" I have marked "website" as "I don´t have any website" and the following message is displayed:</p>
<p><strong>By adding a website, you help us verify your account. If you don't have a website yet, use a social media profile.</strong></... | I have noticed that if I go to "Account information" I have marked "website" as "I don´t have any website" and the following message is displayed: By adding a website, you help us verify your account. If you don't have a website yet, use a social media profile. My question is, if my accoun... | android|google-play|google-play-console | 0 | 2022-07-12T17:32:52.253Z | 2,022 | 7 | 17 | 1 | 19 | 0 | 631 | 73 | 3 | 0 | false | true | false | false | false | false | zero |
72,956,395 | data from firebase not displaying in android studio | <p>I want to display student information according to the usn searched but when I click the read button the data isn't displaying. Im stuck here.Any help soon would be really helpful.</p>
<p>this is my firebase structure</p>
<pre><code>"sem1Info1": {
"users": {
"-N6nPEDs0OEgpeESJSXl&q... | I want to display student information according to the usn searched but when I click the read button the data isn't displaying. Im stuck here.Any help soon would be really helpful. this is my firebase structure [CODE] and this is the android studio code that would be of use [CODE] | java|android|firebase|firebase-realtime-database | 0 | 2022-07-12T17:43:14.397Z | 2,022 | 7 | 17 | 1 | 28 | 0 | 281 | 51 | 4 | 2 | true | true | false | false | false | false | zero |
72,956,503 | Check if TextfieldValue is accepting space as characters | <p>I am using OutlineTextField and the value is taken from TextFieldValue. I have a save button on top of it which gets enabled if there is entered text and disabled vice versa. I have validated using below code
<a href="https://i.stack.imgur.com/tzmOZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/... | I am using OutlineTextField and the value is taken from TextFieldValue. I have a save button on top of it which gets enabled if there is entered text and disabled vice versa. I have validated using below code [CODE] But the above code is not validating if space entered initially. It enables SAVE button even I enter spa... | android|kotlin|android-jetpack-compose|android-jetpack-compose-text | 0 | 2022-07-12T17:52:30.277Z | 2,022 | 7 | 17 | 1 | 40 | 2 | 540 | 56 | 4 | 1 | true | false | false | false | false | false | zero |
72,956,930 | Android - crash app when using support:appcompat-v7 libraries | <p>I am working on app and when use Activity class for extends activites it is working fine but when I add support:appcompat-v7 to dependencies and extends class from AppCompatActivity, it cause app to crash:</p>
<p>MainActivity.java:</p>
<pre><code>package com.myapps.boardgraphic;
import android.*;
import android.con... | I am working on app and when use Activity class for extends activites it is working fine but when I add support:appcompat-v7 to dependencies and extends class from AppCompatActivity, it cause app to crash: MainActivity.java: [CODE] build.gradle: [CODE] AndroidManifest.xml: [CODE] and it`s my log: [CODE] Notice that I t... | android|android-support-library|appcompatactivity | 0 | 2022-07-12T18:34:43.663Z | 2,022 | 7 | 18 | 1 | 23 | 0 | 420 | 61 | 3 | 4 | true | true | false | false | false | false | zero |
72,956,969 | How to Hide Keyboard from Particular page - Webview Android? | <pre><code> mWebView.loadUrl("https://google.com");
</code></pre>
<p>For example i need to hide keyboard for
"google.com/hide"
this page only
help!</p> | [CODE] For example i need to hide keyboard for "google.com/hide" this page only help! | android|webview | 0 | 2022-07-12T18:39:27.857Z | 2,022 | 7 | 18 | 1 | 16 | 0 | 95 | 60 | 2 | 1 | true | true | false | false | false | false | zero |
72,957,262 | Firebase Auth Error: The custom token format is incorrect. Please check the documentation | <p>I'm trying to re-authorize a user after changing the password.
But I am getting this error</p>
<blockquote>
<p>The custom token format is incorrect. Please check the documentation</p>
</blockquote>
<p>What could be wrong?</p>
<p>I don't have a server. I use Firebase Database
I do every step in order:</p>
<ol>
<li>Ch... | I'm trying to re-authorize a user after changing the password. But I am getting this error The custom token format is incorrect. Please check the documentation What could be wrong? I don't have a server. I use Firebase Database I do every step in order: Change the password first I update the token I use a token for re-... | java|android|firebase|kotlin|firebase-authentication | 1 | 2022-07-12T19:08:36.863Z | 2,022 | 7 | 19 | 1 | 40 | 0 | 660 | 89 | 5 | 1 | true | true | false | false | false | false | low |
72,957,381 | Android ByteBuffer.getShort returns byte reversed value half the time | <p>I am trying to use MediaCodec in async mode. My files are aac encoded and I'm using c2.android.aac.decoder (OMX.google.aac.decoder has the same problem). The format is ENCODING_PCM_16BIT.</p>
<p>The ByteBuffers returned are in LittleEndian format. If I use getShort to extract the sample data then the first use gives... | I am trying to use MediaCodec in async mode. My files are aac encoded and I'm using c2.android.aac.decoder (OMX.google.aac.decoder has the same problem). The format is ENCODING_PCM_16BIT. The ByteBuffers returned are in LittleEndian format. If I use getShort to extract the sample data then the first use gives me the co... | android|android-mediacodec | 0 | 2022-07-12T19:21:59.323Z | 2,022 | 7 | 19 | 1 | 29 | 0 | 854 | 69 | 2 | 1 | true | true | false | false | false | false | zero |
72,957,382 | Cannot create org.webrtc.voiceengine.WebRtcAudioManager on Android | <p>I have a functional implementation of native (C++) WebRTC in Windows, which I'm trying to get working on every other platform now. Currently, I'm attacking Android.</p>
<p>When I call <code>webrtc::CreatePeerConnectionFactory</code>, it cannot create the java class <code>org.webrtc.voiceengine.WebRtcAudioManager</c... | I have a functional implementation of native (C++) WebRTC in Windows, which I'm trying to get working on every other platform now. Currently, I'm attacking Android. When I call webrtc::CreatePeerConnectionFactory , it cannot create the java class org.webrtc.voiceengine.WebRtcAudioManager . I get the following result (f... | android|c++|webrtc|webrtc-android | 0 | 2022-07-12T19:22:02.057Z | 2,022 | 7 | 19 | 1 | 81 | 1 | 678 | 66 | 4 | 2 | true | false | false | false | false | false | zero |
72,957,418 | Android Widget freezes after some time | <p>I have made a counter widget. There are two buttons, one to increase and one to decrease the number. The number is displayed on a TextView. At first everything works just fine, but after some time (usually around an hour) the Textview freezes i.e. I click the buttons but the number doesen't change.
When I click the ... | I have made a counter widget. There are two buttons, one to increase and one to decrease the number. The number is displayed on a TextView. At first everything works just fine, but after some time (usually around an hour) the Textview freezes i.e. I click the buttons but the number doesen't change. When I click the but... | java|android|button|widget|freeze | 0 | 2022-07-12T19:25:10.967Z | 2,022 | 7 | 19 | 1 | 27 | 0 | 662 | 38 | 5 | 5 | true | true | false | false | false | false | zero |
72,957,655 | How to make only the list title visible in the list menu and not the entire content of the list item in listview android studio? | <p>I'm trying to make a simple note-taking app. I tried to display the notes in the listview. But when I add more content to the note it displays the entire content in the main menu of the list view. How to make only the title of the list visible in the Listview and the content visible only when we open the list item?<... | I'm trying to make a simple note-taking app. I tried to display the notes in the listview. But when I add more content to the note it displays the entire content in the main menu of the list view. How to make only the title of the list visible in the Listview and the content visible only when we open the list item? Mai... | android|xml|android-studio|listview|android-listview | 0 | 2022-07-12T19:47:58.877Z | 2,022 | 7 | 19 | 1 | 43 | 1 | 458 | 128 | 5 | 5 | true | false | false | false | false | false | zero |
72,957,717 | My android app started crashing occasionally when I press one of the 4 buttons after I implemented the code to generate another equation | <p>Im making an app that has a timer that counts down from 30s. You get an equation with 4 button with 1 of them being correct. A score is kept track of and a new equation is generated every time you press a button. Im not done with the code yet, but the general concept works. I dont have an end after the timer ends et... | Im making an app that has a timer that counts down from 30s. You get an equation with 4 button with 1 of them being correct. A score is kept track of and a new equation is generated every time you press a button. Im not done with the code yet, but the general concept works. I dont have an end after the timer ends etc. ... | java|android|android-studio|crash | 0 | 2022-07-12T19:55:47.657Z | 2,022 | 7 | 19 | 1 | 25 | 1 | 635 | 136 | 4 | 1 | true | false | false | false | false | false | zero |
72,957,726 | Dual SIM: auto-switch data to other SIM (system-app) | <p>I'm working on a system app(signed with os signature),
I need to programmatically switch data between 2 SIMs. After spend a lot of time reading Settings app source code of AOSP (<a href="https://github.com/aosp-mirror/platform_packages_apps_settings/tree/master" rel="nofollow noreferrer">here</a>)
I found that when ... | I'm working on a system app(signed with os signature), I need to programmatically switch data between 2 SIMs. After spend a lot of time reading Settings app source code of AOSP ( here ) I found that when you manually click on switch data in Settings app, this code executes: (you can find it here ) [CODE] But when I tri... | android|android-source|android-networking|telephonymanager|android-settings | 0 | 2022-07-12T19:56:38.283Z | 2,022 | 7 | 19 | 1 | 230 | 0 | 721 | 52 | 5 | 1 | true | true | false | false | false | false | zero |
72,958,001 | Scroll Issue with NestedScrollView and RecyclerView | <p>I have BottomSheetDialogFragment with xml like:</p>
<pre><code><FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height=&q... | I have BottomSheetDialogFragment with xml like: [CODE] Then inflates RecyclerView inside main_container in the onViewCreated: [CODE] Most cases work normal, but sometimes I can't scroll down RecyclerView, scrolling leads to closing BottomSheet. Tryed: nestedScrollingEnabled = false - for RecyclerView (not scroll at all... | android|android-recyclerview | 0 | 2022-07-12T20:25:09.820Z | 2,022 | 7 | 20 | 1 | 43 | 1 | 413 | 51 | 2 | 2 | true | false | false | false | false | false | zero |
72,958,113 | kotlin-reflect-1.6.10.pom:2:1: Content is not allowed in prolog | <p><strong>VS code</strong> As I am new in Flutter Dart ,When I am trying to build demo flutter app in my Android Phone in Android Studio OR VS code I keep getting this error,</p>
<pre><code>FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Could not ... | VS code As I am new in Flutter Dart ,When I am trying to build demo flutter app in my Android Phone in Android Studio OR VS code I keep getting this error, [CODE] As you see My Flutter Doctor is fine 1 gradle.build(app): Below I attached my build.gradle(app),Anyone can help as I say I am new to flutter not know what is... | flutter|android-studio|kotlin|gradle|visual-studio-code | 1 | 2022-07-12T20:39:12.600Z | 2,022 | 7 | 20 | 1 | 66 | 1 | 356 | 63 | 5 | 2 | true | false | false | false | false | false | low |
72,958,203 | OutlinedTextField's Text Color Does Not Change When Disabled | <p>I modified my textfield according to this article. <a href="https://developer.android.com/reference/kotlin/androidx/compose/material/TextFieldDefaults#OutlinedTextFieldDecorationBox(kotlin.String,kotlin.Function0,kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.text.input.VisualTransformation,androidx.compose.found... | I modified my textfield according to this article. TextFieldDefaults It is perfectly fine it is enabled but if i disable it textcolor is not changing like OutlinedTextField. It's textcolor still behave like it's enabled. What should i do ? [CODE] I want to make this. It's the my code's result. As you can see border is ... | android|android-jetpack-compose | 0 | 2022-07-12T20:47:24.700Z | 2,022 | 7 | 20 | 1 | 51 | 2 | 359 | 60 | 2 | 1 | true | false | false | false | false | false | zero |
72,958,366 | android-studio flutter gradle | <pre><code>Launching lib\main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
Checking the license for package Android SDK Platform 29 in C:\Users\khatib\AppData\Local\Android\sdk\licenses
License for package Android SDK Platform 29 accepted.
Preparing "Install Android SDK Platform 2... | [CODE] | flutter|android-studio|dart|gradle | 0 | 2022-07-12T21:04:06.457Z | 2,022 | 7 | 21 | 1 | 44 | 0 | 6 | 29 | 4 | 1 | true | true | false | false | false | false | zero |
72,958,564 | Kotlin Mockito veirfy not invoked in a coroutine test | <p>I got an error while doing a kotlin coroutine test. I'm pretty sure the function is called because I saw the logs. I'm not sure what does the error message mean. Is this related to coroutine (running on different thread) or the context (using a customized context to trigger onStart)?</p>
<blockquote>
<p>Wanted but n... | I got an error while doing a kotlin coroutine test. I'm pretty sure the function is called because I saw the logs. I'm not sure what does the error message mean. Is this related to coroutine (running on different thread) or the context (using a customized context to trigger onStart)? Wanted but not invoked: testActivit... | android|kotlin|mockito|kotlin-coroutines | 0 | 2022-07-12T21:26:24.580Z | 2,022 | 7 | 21 | 1 | 53 | 1 | 733 | 53 | 4 | 2 | true | false | false | false | false | false | zero |
72,958,583 | ComposeUI: More convenient way to create this layout with lines connecting several composables | <h1>What do I want to achieve?</h1>
<p>I want to create the following layout. It is important that the vertical "connecting" lines go inside the numbered boxes:</p>
<p><a href="https://i.stack.imgur.com/XgHNT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XgHNT.png" alt="This is the result... | What do I want to achieve? I want to create the following layout. It is important that the vertical "connecting" lines go inside the numbered boxes: What did I already try (first, naive approach)? I created the layout using a composable and a few lines. The numbered boxes get a boolean parameter which indicat... | android|kotlin|android-layout|android-jetpack-compose|androidx | 0 | 2022-07-12T21:28:52.523Z | 2,022 | 7 | 21 | 1 | 48 | 1 | 953 | 94 | 5 | 1 | true | false | false | false | false | false | zero |
72,958,655 | How could the text written in editText modify the progressbar in Kotlin in Android Studio? | <p>I'm trying to make the progress bar interactive with the <code>editText</code>. When the number written in <code>editText</code> is greater than 10, the progress bar increases by 10%.</p>
<p>The code I wrote doesn't work of course but I don't see how to do it:</p>
<pre><code>class MainActivity : AppCompatActivity() ... | I'm trying to make the progress bar interactive with the editText . When the number written in editText is greater than 10, the progress bar increases by 10%. The code I wrote doesn't work of course but I don't see how to do it: [CODE] | android|android-studio|kotlin|android-edittext | 0 | 2022-07-12T21:37:52.783Z | 2,022 | 7 | 21 | 1 | 44 | 2 | 235 | 90 | 4 | 1 | true | false | false | false | false | false | zero |
72,958,657 | Access to clipboard in Android 10 using Flutter | <p>I'm working on Flutter app that listens to clipboard changes and store the values. I noticed that accessing to the clipboard in Android 10 is blocked by the OS due to <a href="https://developer.android.com/about/versions/10/privacy/changes#clipboard-data" rel="nofollow noreferrer">privacy changes in Android 10</a> .... | I'm working on Flutter app that listens to clipboard changes and store the values. I noticed that accessing to the clipboard in Android 10 is blocked by the OS due to privacy changes in Android 10 . Is there any way to access to Android's 10 clipboard? ? Which means is there any permission to grant? | android|flutter|dart|clipboard | 0 | 2022-07-12T21:38:00.363Z | 2,022 | 7 | 21 | 1 | 44 | 0 | 300 | 47 | 4 | 0 | false | true | false | false | false | false | zero |
72,958,682 | Android chrome home screen shortcut icon | <p>Has something changed in Chrome/Android in the last year that has made shortcut icons not creatable on your home screen anymore? When using the "Add to homepage..." in the burger menu I used to see the favicon of the site, now I get something bland with a letter or number, that I cannot control in any way.... | Has something changed in Chrome/Android in the last year that has made shortcut icons not creatable on your home screen anymore? When using the "Add to homepage..." in the burger menu I used to see the favicon of the site, now I get something bland with a letter or number, that I cannot control in any way. Ev... | android|google-chrome|favicon|homescreen | 0 | 2022-07-12T21:41:25.740Z | 2,022 | 7 | 21 | 1 | 72 | 0 | 879 | 40 | 4 | 0 | false | true | false | false | false | false | zero |
72,958,696 | Initialize the Google Mobile Ads SDK - mainactivity | <p>I have some doubts.
I am using admob banners in 3 different activities.
MainActivity | Activity1 | Activity2</p>
<p>I only initialize google mobile ads sdk in the main page (MainActivity). (advertising works well in all activities)</p>
<p>Would it be correct or would I have to initialize the google mobile ads sdk in... | I have some doubts. I am using admob banners in 3 different activities. MainActivity | Activity1 | Activity2 I only initialize google mobile ads sdk in the main page (MainActivity). (advertising works well in all activities) Would it be correct or would I have to initialize the google mobile ads sdk in each of the acti... | java|android|android-layout|admob|ads | 0 | 2022-07-12T21:43:07.620Z | 2,022 | 7 | 21 | 1 | 55 | 1 | 428 | 51 | 5 | 1 | true | false | false | false | false | false | zero |
72,958,779 | How to execute shell command in Kotlin and get return value from shell [Android] | <p>I am able to execute shell commands (that has a return value) in Kotlin [Android] using the following lines of code:</p>
<pre><code> fun getFrequencyLevelsCPU0(): Unit {
val process: java.lang.Process = java.lang.Runtime.getRuntime().exec("su -c cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_availabl... | I am able to execute shell commands (that has a return value) in Kotlin [Android] using the following lines of code: [CODE] The above lines of code are capable of running the shell command but the output of the command should be something as follows if the command was written in the add shell: 500000 851000 984000 1106... | java|android|shell|kotlin | 0 | 2022-07-12T21:53:45.327Z | 2,022 | 7 | 21 | 1 | 185 | 2 | 555 | 80 | 4 | 1 | true | false | false | false | false | false | zero |
72,958,887 | Creating a chat screen like whatsapp or telegram with Jetpack Compose | <p>I am trying to create a chat screen like telegram, whatsapp, etc. using Jetpack Compose. But, I am not able to replicate the exact behavior. The specific part of the functionality that I am not able to emulate is when soft keyboard opens the topbar scrolls off the screen, however,it is static in telegram and whatsap... | I am trying to create a chat screen like telegram, whatsapp, etc. using Jetpack Compose. But, I am not able to replicate the exact behavior. The specific part of the functionality that I am not able to emulate is when soft keyboard opens the topbar scrolls off the screen, however,it is static in telegram and whatsapp. ... | android|kotlin|scroll|android-jetpack-compose|appbar | 0 | 2022-07-12T22:08:33.967Z | 2,022 | 7 | 22 | 1 | 157 | 1 | 643 | 69 | 5 | 1 | true | false | false | false | false | false | zero |
72,958,934 | Cordova (Ionic) build issue (azure pipeline) on androidx.webkit.WebViewAssetLoader (missing?) | <p>Building the cordova app locally works fine, however within the Azure pipeline I keep getting this error: (cordova-plugin-file)</p>
<pre><code>/home/vsts/work/1/s/platforms/android/app/src/main/java/org/apache/cordova/file/FileUtils.java:34: error: cannot find symbol
import androidx.webkit.WebViewAssetLoader;
... | Building the cordova app locally works fine, however within the Azure pipeline I keep getting this error: (cordova-plugin-file) [CODE] Any idea where to look for? All versions seem the same. Cordova 11.0.0 Cordova-android 10.1.2 Ionic-cli 6.19.1 Thanks for any support | android|cordova|ionic-framework | 0 | 2022-07-12T22:16:21.250Z | 2,022 | 7 | 22 | 1 | 66 | 0 | 268 | 93 | 3 | 1 | true | true | false | false | false | false | zero |
72,958,959 | error using LocalDate.now(); I get @RequiresApi(api = Build.VERSION_CODES.O) API Min Level too low, 22 instead of 26 | <p>Bonjour
Anytime I use any of these functions, I get the error : The application's minSdkVersion is newer than the device API level.</p>
<pre><code> LocalDate.now();
YearMonth yearMonth = YearMonth.from(date);
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMMM yyyy");
String rech... | Bonjour Anytime I use any of these functions, I get the error : The application's minSdkVersion is newer than the device API level. [CODE] The API level min is 26 to use this functions and my tablet is 22 Is there another way to call these functions? an old fashion or a cross level way? or do I have to buy another tabl... | android|java-time|localdate | 1 | 2022-07-12T22:20:19.797Z | 2,022 | 7 | 22 | 1 | 137 | 0 | 786 | 116 | 3 | 2 | true | true | false | false | false | false | low |
72,959,054 | Android : handle click on 3D object arcore, android studio - JAVA | <p>I'm working on an AR Application for Android with Google ArCore SDK (using Android Studio and Java). I have a problem to handle invents : tap or clic on displayed image/3D Object, weither it is about Augmented images or placing a permanent anchor.
Please do you have any example of how to handle click on 3D object in... | I'm working on an AR Application for Android with Google ArCore SDK (using Android Studio and Java). I have a problem to handle invents : tap or clic on displayed image/3D Object, weither it is about Augmented images or placing a permanent anchor. Please do you have any example of how to handle click on 3D object in An... | java|android-studio|augmented-reality|arcore | 1 | 2022-07-12T22:33:53.843Z | 2,022 | 7 | 22 | 1 | 49 | 2 | 344 | 65 | 4 | 0 | false | false | false | false | false | false | low |
72,959,136 | CoroutineWorker stuck in the Running state and refuses to finish except when restarted | <p>I have a CoroutineWorker which uploads a file in the background, the problem is that it refuses to return Result.success() (or any Result) and keeps stuck in the Running state even though I have a log statement just before the return statement and it executes fine. When I restart the app though the worker relaunches... | I have a CoroutineWorker which uploads a file in the background, the problem is that it refuses to return Result.success() (or any Result) and keeps stuck in the Running state even though I have a log statement just before the return statement and it executes fine. When I restart the app though the worker relaunches an... | android|kotlin-coroutines|android-workmanager | 0 | 2022-07-12T22:49:06.670Z | 2,022 | 7 | 22 | 1 | 35 | 0 | 401 | 86 | 3 | 0 | false | true | false | false | false | false | zero |
72,959,279 | Retrieve a url from a Json API | <p>I want to know how to get a URL in a json and open it in a setOnClickListener of a RecyclerView</p>
<p>My API Json</p>
<pre><code>{
{
"link": "https://example.com"
},
{
...
}
}
</code></pre>
<p>My URLModel</p>
<pre><code>public class URLModel {
String Link;
public MonlixMo... | I want to know how to get a URL in a json and open it in a setOnClickListener of a RecyclerView My API Json [CODE] My URLModel [CODE] I think the problem comes from my Adapter but I don't know where and how to fix it [CODE] And finally my Main.java [CODE] I use Volley, I don't know if it's the most adapted but I succee... | java|android|json|api|android-studio | 0 | 2022-07-12T23:14:53.800Z | 2,022 | 7 | 23 | 1 | 50 | 1 | 561 | 30 | 5 | 4 | true | false | false | false | false | false | zero |
72,959,461 | How do I programmatically get the credential object for Google Drive API in Xamarin Forms (no token.json file exists)? | <p>I need to get the credential of Google Drive API inside my mobile app to create a simple folder and upload a single file on logged in user Google drive.</p>
<p>I get an error from the highlighted code (AuthorizeAsync function call) when I try to implement it using Xamarin Forms in Visual Studio 2022.</p>
<p>The high... | I need to get the credential of Google Drive API inside my mobile app to create a simple folder and upload a single file on logged in user Google drive. I get an error from the highlighted code (AuthorizeAsync function call) when I try to implement it using Xamarin Forms in Visual Studio 2022. The highlighted code fail... | android|.net|xamarin|google-drive-api|authorize | 0 | 2022-07-12T23:47:02.667Z | 2,022 | 7 | 23 | 1 | 144 | 0 | 1,537 | 118 | 5 | 5 | true | true | false | false | false | false | zero |
72,959,469 | Android - Increase microphone input gain while streaming | <p>I have an audio streaming app, I'm trying to increase the input gain of the microphone.</p>
<p>I've already checked out these links:</p>
<p><a href="https://stackoverflow.com/questions/25441166/how-to-adjust-microphone-sensitivity-while-recording-audio-in-android">how-to-adjust-microphone-sensitivity-while-recording... | I have an audio streaming app, I'm trying to increase the input gain of the microphone. I've already checked out these links: how-to-adjust-microphone-sensitivity-while-recording-audio-in-android how-to-adjust-microphone-volume-in-android-programmatically here what I've tried to achieve: [CODE] The above code is workin... | java|android|audio-recording|microphone|android-audiorecord | 3 | 2022-07-12T23:48:21.450Z | 2,022 | 7 | 23 | 1 | 144 | 0 | 527 | 56 | 5 | 1 | true | true | false | false | false | false | low |
72,959,492 | Android read data via BT from Arduino | <p>I'm having a problem with the code for my Arduiino.</p>
<p>I can send and receive datum with <code>bluetooth</code>, but I want to print the incoming data on the label.</p>
<p>For example, when <code>X</code> arrives, the label is <code>123</code>.</p>
<p><code>Arduino</code> sends <code>X</code> code, but <code>And... | I'm having a problem with the code for my Arduiino. I can send and receive datum with bluetooth , but I want to print the incoming data on the label. For example, when X arrives, the label is 123 . Arduino sends X code, but Android doesn't take X code. If I am getting X code from Arduino , how can Android be delivered?... | android|arduino|bluetooth | 0 | 2022-07-12T23:54:01.580Z | 2,022 | 7 | 23 | 1 | 34 | 1 | 353 | 37 | 3 | 1 | true | false | false | false | false | false | zero |
72,959,583 | How do we set a custom line height in a TextView? | <p>I am working on a custom <code>TextView</code> where we are highlighting certain words in the <code>String</code> with a green background drawable. The drawable is dependent on the line height for the word it is highlighting and will draw itself according to the top and bottom of the particular line it is on, as sho... | I am working on a custom TextView where we are highlighting certain words in the String with a green background drawable. The drawable is dependent on the line height for the word it is highlighting and will draw itself according to the top and bottom of the particular line it is on, as shown below: Now, if we zoom int... | android|textview|baseline|fontmetrics|line-height | 1 | 2022-07-13T00:13:18.313Z | 2,022 | 7 | 0 | 2 | 62 | 0 | 1,958 | 49 | 5 | 0 | false | true | false | false | false | false | low |
72,959,585 | Android Studio Button Onclick From Separate Function | <p>hi i have a question about my android app</p>
<p>I want to make a game that will basically show the user a certain object, and two buttons that will respectively accept or decline said object.</p>
<p>How do I make it so that the central code can read the buttons input in the middle of execution?</p>
<p>Essentially, ... | hi i have a question about my android app I want to make a game that will basically show the user a certain object, and two buttons that will respectively accept or decline said object. How do I make it so that the central code can read the buttons input in the middle of execution? Essentially, I want to be able to rea... | java|android | 0 | 2022-07-13T00:13:34.137Z | 2,022 | 7 | 0 | 2 | 44 | 1 | 445 | 52 | 2 | 0 | false | false | false | false | false | false | zero |
72,959,728 | I try this but can't see post on search | <p>I try this one but can't see any post on search.</p>
<pre><code>Private void firebaseSearch(String PostSearch){
String query = PostSearch.toLowerCase();
Query postsQuery =mDatabase.child(POSTS).limitToFirst(POSTS_QUERY_LIMIT).startAt(query).endAt(query + "\uf8ff");
mDatabase.keepSynced(true);
... | I try this one but can't see any post on search. [CODE] | android|firebase|firebase-realtime-database|firebaseui | 0 | 2022-07-13T00:40:19.290Z | 2,022 | 7 | 0 | 2 | 17 | 0 | 55 | 39 | 4 | 1 | true | true | false | false | false | false | zero |
72,959,742 | Layout Weight distribution wrongly interpreted | <p>I want to define a composite layout where the header and footer <code>LinearLayout</code> blocks take 10% of the view and body block the remaining 80%. Without setting weights, all 3 blocks have the same size, so I have set the weight of header and footer layout to 10 and body to 80 with weight sum 100 but this had ... | I want to define a composite layout where the header and footer LinearLayout blocks take 10% of the view and body block the remaining 80%. Without setting weights, all 3 blocks have the same size, so I have set the weight of header and footer layout to 10 and body to 80 with weight sum 100 but this had an unwanted resu... | android|android-layout|android-linearlayout | 0 | 2022-07-13T00:44:10.070Z | 2,022 | 7 | 0 | 2 | 25 | 1 | 508 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
72,959,869 | How do I wait for a void function to finish executing before triggering a completable in Android? | <p>I'm very new to RxJava/RxAndroid and I'm very confused with how to achieve this workflow:</p>
<ul>
<li>Trigger void function</li>
<li>Once it completes, provide some sort of callback to start a Completable function.</li>
</ul>
<p>I tried wrapping my void function in an Observable that emits a , but honestly I've no ... | I'm very new to RxJava/RxAndroid and I'm very confused with how to achieve this workflow: Trigger void function Once it completes, provide some sort of callback to start a Completable function. I tried wrapping my void function in an Observable that emits a , but honestly I've no clue if that's the right thing to do. [... | kotlin|observable|rx-java|observer-pattern|rx-android | 0 | 2022-07-13T01:07:20.440Z | 2,022 | 7 | 1 | 2 | 49 | 0 | 673 | 97 | 5 | 2 | true | true | false | false | false | false | zero |
72,959,880 | App Action "open app" with feature parameter sometimes ignores parameter | <p>I have been going through the codelab <a href="https://codelabs.developers.google.com/codelabs/appactions-2/#0" rel="nofollow noreferrer">"Extend an Android app to the Google Assistant with App Actions (Level 2)"</a> and am working on the step <a href="https://codelabs.developers.google.com/codelabs/appact... | I have been going through the codelab "Extend an Android app to the Google Assistant with App Actions (Level 2)" and am working on the step "Add the Open app feature BII capability" I have added the relevant configurations to the shortcuts.xml file (see below). The following has been tested with bot... | android|app-actions | 2 | 2022-07-13T01:09:59.713Z | 2,022 | 7 | 1 | 2 | 159 | 1 | 3,107 | 72 | 2 | 6 | true | false | false | false | false | false | low |
72,959,918 | How to add conditional statements on android.bp | <p>I'm custom a module.
Android.bp
cc_binary{
name:"gzip",
default:["gzip_default"],
static_libs:[...]
}</p>
<p>Android.bp don't support if statement.
How I can make like this on android.bp?
If target_build a</p>
<p>cc_binary{
name:"gzip",
default:["gzip_default"],
static_libs:[.... | I'm custom a module. Android.bp cc_binary{ name:"gzip", default:["gzip_default"], static_libs:[...] } Android.bp don't support if statement. How I can make like this on android.bp? If target_build a cc_binary{ name:"gzip", default:["gzip_default"], static_libs:[...] } Endif Pleas... | android-soong | 0 | 2022-07-13T01:18:18.413Z | 2,022 | 7 | 1 | 2 | 27 | 1 | 337 | 47 | 1 | 0 | false | false | false | false | false | false | zero |
72,959,967 | Android with Kotlin: How to filter DatabaseReference | <p>I want to filter a getReference according to the data that is saved in a field.
I want it to return only the uid that have the "status" with a value of "1"
my code is this for now, it is returning all the uid that are inside "empleados"</p>
<pre><code>override suspend fun getEmpleados()... | I want to filter a getReference according to the data that is saved in a field. I want it to return only the uid that have the "status" with a value of "1" my code is this for now, it is returning all the uid that are inside "empleados" [CODE] | android|kotlin | 0 | 2022-07-13T01:28:12.210Z | 2,022 | 7 | 1 | 2 | 13 | 0 | 273 | 52 | 2 | 1 | true | true | false | false | false | false | zero |
72,960,020 | How to make a text right below an icon in BottomAppBar in flutter? | <p>So I have a BottomAppBar and i'm trying to have a text right below the icon button, I have tried using Column with mainaxissize set to min and I have also tried to use wrap with the lowest spacing i can do but none of these methods put the text right below the icon, there seems to be some type of gap or padding betw... | So I have a BottomAppBar and i'm trying to have a text right below the icon button, I have tried using Column with mainaxissize set to min and I have also tried to use wrap with the lowest spacing i can do but none of these methods put the text right below the icon, there seems to be some type of gap or padding between... | android|ios|flutter|dart|flutter-layout | 0 | 2022-07-13T01:40:31.657Z | 2,022 | 7 | 1 | 2 | 64 | 2 | 540 | 66 | 5 | 1 | true | false | false | false | false | false | zero |
72,960,059 | Disable the Call option from text selection from textview | <p>On text selection, I do not want the user to see the Call option when they try to select a number from the TextView.
<a href="https://i.stack.imgur.com/c7IgR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7IgR.png" alt="enter image description here" /></a></p>
<p>Is there a way to disable the ca... | On text selection, I do not want the user to see the Call option when they try to select a number from the TextView. Is there a way to disable the call intent itself for the app? I tried below, but I could not find the call option in the Menu to remove it. [CODE] | android|android-intent|contextmenu | 0 | 2022-07-13T01:49:18.497Z | 2,022 | 7 | 1 | 2 | 42 | 0 | 263 | 57 | 3 | 1 | true | true | false | false | false | false | zero |
72,960,200 | Send notification from FCM for chat based application | <p>I try to add some Notification feature in my Project, but when i implement that method this error message shows up</p>
<pre><code>E/AndroidRuntime: FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
Process: diskominfo.bogorkab, PID: 10444
java.lang.NumberFormatException: For input string: ""
... | I try to add some Notification feature in my Project, but when i implement that method this error message shows up [CODE] And this is MyFirebaseMessaging class [CODE] The myNik contains only numbers, can anyone help me solve this problem, the project is a chat based application and i want to send a notification when us... | java|android|firebase|notifications|firebase-cloud-messaging | 0 | 2022-07-13T02:19:39.403Z | 2,022 | 7 | 2 | 2 | 26 | 0 | 350 | 53 | 5 | 2 | true | true | false | false | false | false | zero |
72,960,253 | Flutter with php api doesn't respond at all | <p>So I'm currently developing my first ever app since forever, and I'm using <code>php api</code> as the backend for almost every necessary process. <strong>I'm wondering why its only respond at the place where I develop it even though I use the same wifi connection?</strong> I thought its works as long as I use the s... | So I'm currently developing my first ever app since forever, and I'm using php api as the backend for almost every necessary process. I'm wondering why its only respond at the place where I develop it even though I use the same wifi connection? I thought its works as long as I use the same connection just like how it i... | php|android|flutter|localhost | 0 | 2022-07-13T02:28:14.370Z | 2,022 | 7 | 2 | 2 | 50 | 1 | 609 | 43 | 4 | 1 | true | false | false | false | false | false | zero |
72,960,309 | android Intent keeps old when restart because app is killed by system for location permissionchanged | <p>When app which lanchmode is singleTask was cold started by deeplink,I did something in the onCreate of "MainActivity" with the "ACTION_VIEW" intent.Then I pressed Home button so that app entered background. Then I changed location permision of my app in settings to kill app by system. Then I tap ... | When app which lanchmode is singleTask was cold started by deeplink,I did something in the onCreate of "MainActivity" with the "ACTION_VIEW" intent.Then I pressed Home button so that app entered background. Then I changed location permision of my app in settings to kill app by system. Then I tap the... | android|android-intent|deep-linking | 0 | 2022-07-13T02:35:29.087Z | 2,022 | 7 | 2 | 2 | 29 | 0 | 859 | 100 | 3 | 2 | true | true | false | false | false | false | zero |
72,960,448 | Is posible custom player control view timeout animation via override androidx.media3.ui#PlayerControlView (Exoplayer StyledPlayerControlView)? | <p>I want make some custom hide/show player controller animations.</p>
<p>And saw ExoPlayer issue <a href="https://github.com/google/ExoPlayer/issues/2277" rel="nofollow noreferrer">#2277</a> and <a href="https://github.com/google/ExoPlayer/issues/3098" rel="nofollow noreferrer">#3098</a> there.</p>
<p>It say that over... | I want make some custom hide/show player controller animations. And saw ExoPlayer issue #2277 and #3098 there. It say that override hide() and show() to do animate stuff. So I tried overide androidx.media3.ui#PlayerControlView(witch same as StyledPlayerControlView in ExoPlayer lib) and rewrite those two method. It work... | androidx|exoplayer|exoplayer2.x | 0 | 2022-07-13T03:00:59.923Z | 2,022 | 7 | 3 | 2 | 45 | 0 | 728 | 142 | 3 | 0 | false | true | false | false | false | false | zero |
72,960,471 | Get Frame Rate of Android using Kotlin | <p>I am able to get the frame rate of the Android system using the following answer in Java: <a href="https://stackoverflow.com/a/8908035/4190159">https://stackoverflow.com/a/8908035/4190159</a></p>
<p>However, being new to Kotlin I was wondering how can I get the frame rate of Android system using Kotlin code? (my ap... | I am able to get the frame rate of the Android system using the following answer in Java: https://stackoverflow.com/a/8908035/4190159 However, being new to Kotlin I was wondering how can I get the frame rate of Android system using Kotlin code? (my app is using Kotlin instead of Java) The code as follows is not working... | java|android|kotlin|frame|frame-rate | 0 | 2022-07-13T03:05:29.927Z | 2,022 | 7 | 3 | 2 | 86 | 1 | 335 | 38 | 5 | 1 | true | false | false | false | false | false | zero |
72,960,703 | Draw a polyline by hand in Android | <p>I am creating an Android app that allows user can draw a polyline by hand, I search at quite many sources, but it do not have the method that I need. So do you guys have any idea or some method to solve this?</p>
<p>Thank you a lot.</p> | I am creating an Android app that allows user can draw a polyline by hand, I search at quite many sources, but it do not have the method that I need. So do you guys have any idea or some method to solve this? Thank you a lot. | android|google-maps|google-polyline | 0 | 2022-07-13T03:46:28.757Z | 2,022 | 7 | 3 | 2 | 22 | 0 | 225 | 34 | 3 | 0 | false | true | false | false | false | false | zero |
72,960,778 | Kotlin Singleton Class vs Normal Class | <p>I am new in kotlin and i read lots of documentation about singleton pattern and kotlin object declaration. I have some problems about singletons.</p>
<ul>
<li>Firstly, If singletons are beneficial for device memmory, Why is it used so little?</li>
<li>How can we decide, we need to use singleton or not ?</li>
<li>Why... | I am new in kotlin and i read lots of documentation about singleton pattern and kotlin object declaration. I have some problems about singletons. Firstly, If singletons are beneficial for device memmory, Why is it used so little? How can we decide, we need to use singleton or not ? Why we need multiple instances exactl... | android|kotlin|singleton | 0 | 2022-07-13T03:58:52.533Z | 2,022 | 7 | 3 | 2 | 72 | 0 | 701 | 38 | 3 | 1 | true | true | false | false | false | false | zero |
72,960,840 | how to add image in Header row in android tv app | <p>This is code :</p>
<pre><code>public class PageAndListRowFragment extends BrowseFragment {
private static final long HEADER_ID_1 = 1;
private static final String HEADER_NAME_1 = "Page Fragment";
private static final long HEADER_ID_2 = 2;
private static final String HEADER_NAME_2 = "Row... | This is code : [CODE] using this code I am able to display Header Item with row UI is coming like this I have used leanback library with browse fragment. I am trying to add an image in each header row title I want to customize it I want to display it like the above image. please help me how to add image in header row i... | android|android-tv | 0 | 2022-07-13T04:09:16.313Z | 2,022 | 7 | 4 | 2 | 37 | 0 | 325 | 48 | 2 | 1 | true | true | false | false | false | false | zero |
72,960,896 | How to use lifecycle, livedata, and viewmodel with kotlin extensions deprecated | <p>This is my first time to learn & use kotlin programming to create an app, so I don't really know much about kotlin. I learn to use it from Indonesian app, called Skill Academy, but the subject regarding it uses kotlin extensions, which is now deprecated. I need your help and shares how to use lifecycle, livedata... | This is my first time to learn & use kotlin programming to create an app, so I don't really know much about kotlin. I learn to use it from Indonesian app, called Skill Academy, but the subject regarding it uses kotlin extensions, which is now deprecated. I need your help and shares how to use lifecycle, livedata, and v... | kotlin|viewmodel|android-livedata|android-lifecycle|kotlin-extension | 0 | 2022-07-13T04:18:22.220Z | 2,022 | 7 | 4 | 2 | 29 | 0 | 361 | 79 | 5 | 0 | false | true | false | false | false | false | zero |
72,960,914 | Caused by: java.time.format.DateTimeParseException: Text '11 2 AM' could not be parsed at index 3 | <p>I want parse the time in hh:mm:a format. but when I passed the string in hh:m:a format it gives error java.time.format.DateTimeParseException: at index 3.
for example:- when I passed the string like 11:15 AM everything is fine. but when I passed the String in 11:2 AM. It says Text '11 2 AM' could not be parsed at in... | I want parse the time in hh:mm:a format. but when I passed the string in hh:m:a format it gives error java.time.format.DateTimeParseException: at index 3. for example:- when I passed the string like 11:15 AM everything is fine. but when I passed the String in 11:2 AM. It says Text '11 2 AM' could not be parsed at index... | java|android|java-8|java-time | 0 | 2022-07-13T04:21:12.100Z | 2,022 | 7 | 4 | 2 | 116 | 4 | 353 | 97 | 4 | 1 | true | false | false | false | false | false | zero |
72,961,122 | AOSP: INSTALL_FAILED_OLDER_SDK | <h2>I'm facing the below error while installing the apk which is built on the Android-12 version of the AOSP repo and installing this apk on the Android-11 version of the System image
error:</h2>
<p>C:\Users\test\Desktop\Radio_prio>adb install test.apk
Performing Streamed Install
adb: failed to install test.apk: Fai... | I'm facing the below error while installing the apk which is built on the Android-12 version of the AOSP repo and installing this apk on the Android-11 version of the System image error: C:\Users\test\Desktop\Radio_prio>adb install test.apk Performing Streamed Install adb: failed to install test.apk: Failure [INSTALL_F... | android|apk|android-source|android.mk | 2 | 2022-07-13T04:55:30.650Z | 2,022 | 7 | 4 | 2 | 74 | 0 | 499 | 30 | 4 | 0 | false | true | false | false | false | false | low |
72,961,218 | Where can I find the google-webrtc source code? | <p>I am developing Android webrtc, which relies on <code>google-webrtc</code>.
Where can I check its source code or documentation?</p>
<p><code>implementation 'org.webrtc:google-webrtc:1.0.32006'</code></p>
<p>I found this plug-in in Maven,<a href="https://mvnrepository.com/artifact/org.webrtc/google-webrtc?repo=bt-goo... | I am developing Android webrtc, which relies on google-webrtc . Where can I check its source code or documentation? implementation 'org.webrtc:google-webrtc:1.0.32006' I found this plug-in in Maven, bt-google-webrtc , but there is no source code. Or is there any other alternative to webrtc developed by Android? Thanks ... | android|webrtc|webrtc-android | 1 | 2022-07-13T05:11:39.127Z | 2,022 | 7 | 5 | 2 | 119 | 1 | 324 | 47 | 3 | 0 | false | false | false | false | false | false | low |
72,961,395 | Best way to securely cache data in a kotlin app? | <p>New-ish to Kotlin and building an app. I am wondering the best way to securely cache data? Any suggestions are appreciated. Thanks!</p> | New-ish to Kotlin and building an app. I am wondering the best way to securely cache data? Any suggestions are appreciated. Thanks! | android|kotlin|caching|data-persistence | 0 | 2022-07-13T05:38:14.907Z | 2,022 | 7 | 5 | 2 | 103 | 1 | 131 | 48 | 4 | 0 | false | false | false | false | false | false | zero |
72,961,403 | I had this problem to connect me to the main activity: Modifier 'override' is not applicable to 'local function' | <p>I have this problem to connect the menu to the main activity:</p>
<p><strong>Modifier 'override' is not applicable to 'local function'</strong></p>
<p>This is the main activity code:</p>
<pre><code>enter code heclass MainActivity : AppCompatActivity() {
private lateinit var adapter: Adapter
private lateinit var layo... | I have this problem to connect the menu to the main activity: Modifier 'override' is not applicable to 'local function' This is the main activity code: [CODE] }re It gives an error on the word OVERRIDE AND code menu: [CODE] [CODE] error: Modifier 'override' is not applicable to 'local function' Help me please :) | android|kotlin | -1 | 2022-07-13T05:39:14.497Z | 2,022 | 7 | 5 | 2 | 29 | 1 | 313 | 112 | 2 | 3 | true | false | false | false | false | true | negative |
72,961,503 | How to transfer large size file from michrochip bluetooth app using RN4871 BLE? | <p>The RN4870/71 BLUETOOTH LOW ENERGY Module has been integrated into our circuit, and has been tested by downloading MICROCHIP app from the Android Play Store. We are able to send and receive data to and from the device using MICROCHIP Android mobile application. As microchip application does not accept files of varia... | The RN4870/71 BLUETOOTH LOW ENERGY Module has been integrated into our circuit, and has been tested by downloading MICROCHIP app from the Android Play Store. We are able to send and receive data to and from the device using MICROCHIP Android mobile application. As microchip application does not accept files of variable... | android-studio | 0 | 2022-07-13T05:51:07.737Z | 2,022 | 7 | 5 | 2 | 16 | 0 | 728 | 79 | 1 | 0 | false | true | false | false | false | false | zero |
72,961,587 | How to toast when I've done 5 push ups in MLKit Pose Classification | <p>so my problem is I've been trying to make the app toast when I've done 5 push ups but I can't make it work. I've been trying to write the toast code using the repsAfter value in the PoseClassifierProcessor, there's error because the class doesnt extend AppCompactActivity. After that I write the the toast code in ano... | so my problem is I've been trying to make the app toast when I've done 5 push ups but I can't make it work. I've been trying to write the toast code using the repsAfter value in the PoseClassifierProcessor, there's error because the class doesnt extend AppCompactActivity. After that I write the the toast code in anothe... | java|android|android-studio|mobile|google-mlkit | -1 | 2022-07-13T06:02:12.587Z | 2,022 | 7 | 6 | 2 | 30 | 1 | 425 | 67 | 5 | 0 | false | false | false | false | false | true | negative |
72,961,603 | Changing the visibility of views instantly after connecting or disconnecting from the internet | <p>I have a code that checks if the device is connected, but it only works if I start the app from scratch</p>
<p>What I want is that the view changes visibility as soon as the internet is connected or disconnected
When the connection is lost or disconnected, for example, I want the main view to become invisible and ma... | I have a code that checks if the device is connected, but it only works if I start the app from scratch What I want is that the view changes visibility as soon as the internet is connected or disconnected When the connection is lost or disconnected, for example, I want the main view to become invisible and make a textv... | java|android|android-connectivitymanager | 0 | 2022-07-13T06:03:34.563Z | 2,022 | 7 | 6 | 2 | 38 | 1 | 446 | 94 | 3 | 1 | true | false | false | false | false | false | zero |
72,961,637 | Flutter BackDrop filter not working in IOS device | <p>In android device backdrop filter working well but in IOS device background not be blur.</p>
<pre><code> Widget commonBottomButton(String imagePath) {
return ClipOval(
child: BackdropFilter(
filter: ImageFilter.blur(
sigmaX: 50.0,
sigmaY: 50.0,
),
child: Container(
height: 100.w,
... | In android device backdrop filter working well but in IOS device background not be blur. [CODE] } Thanks in advance | android|ios|iphone|flutter|flutter-ios | 0 | 2022-07-13T06:08:33.810Z | 2,022 | 7 | 6 | 2 | 83 | 0 | 115 | 49 | 5 | 1 | true | true | false | false | false | false | zero |
72,961,766 | Android webview app one signal notification issue | <p>I am a newbiew on android PWA app. I have integrated the one signal for getting the notification about the user activity. When one user likes the blog of other user the author of the blog getting the notification that {username} likes your blog.</p>
<p>When author getting the notification and when clicks on notifica... | I am a newbiew on android PWA app. I have integrated the one signal for getting the notification about the user activity. When one user likes the blog of other user the author of the blog getting the notification that {username} likes your blog. When author getting the notification and when clicks on notification, auth... | java|android|webview|progressive-web-apps|onesignal | 0 | 2022-07-13T06:22:52.303Z | 2,022 | 7 | 6 | 2 | 51 | 0 | 1,318 | 49 | 5 | 3 | true | true | false | false | false | false | zero |
72,961,860 | How to stop Google's Advanced Protection from preventing APK installation? | <p>I'm developing a mobile application and currently, I want to check whether the app works well outside of android emulator. I made the APK, activated Developer Mode, and turned on install unknown app. I opened my APK in Samsung Galaxy Tab A and things seemed fine until I found myself a popup error.</p>
<p>The pop up ... | I'm developing a mobile application and currently, I want to check whether the app works well outside of android emulator. I made the APK, activated Developer Mode, and turned on install unknown app. I opened my APK in Samsung Galaxy Tab A and things seemed fine until I found myself a popup error. The pop up said that ... | android|mobile|apk|google-account | 0 | 2022-07-13T06:33:43.373Z | 2,022 | 7 | 6 | 2 | 31 | 0 | 1,043 | 74 | 4 | 0 | false | true | false | false | false | false | zero |
72,961,873 | android:exported needs to be explicitly specified for <service> | <p>I am getting this error when I am upgrading my react-native version from <code>0.66.2</code> to <code>0.68.2</code>.</p>
<p><strong>Error</strong></p>
<blockquote>
<p>Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an expli... | I am getting this error when I am upgrading my react-native version from 0.66.2 to 0.68.2 . Error Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an i... | android|react-native | 1 | 2022-07-13T06:35:24.703Z | 2,022 | 7 | 6 | 2 | 383 | 2 | 436 | 63 | 2 | 0 | false | false | false | false | false | false | low |
72,961,877 | How to show one recycler view list two different binding in one activity in android? | <p><a href="https://i.stack.imgur.com/LCZo7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LCZo7.png" alt="enter image description here" /></a></p>
<p><strong>now very confused how to set two different binding in one activity</strong>
AddUser binding list showing here , but updateUser binding list n... | now very confused how to set two different binding in one activity AddUser binding list showing here , but updateUser binding list not showing. response getting in viewModel but list not showing in update user binding, (viewmodel screenshot provided) | android|android-recyclerview|data-binding | 0 | 2022-07-13T06:35:51.927Z | 2,022 | 7 | 6 | 2 | 26 | 0 | 250 | 84 | 3 | 0 | false | true | false | false | false | false | zero |
72,961,882 | How to add icon and a line following to next icon vertically | <p><a href="https://i.stack.imgur.com/d5GFm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d5GFm.png" alt="icon joining with a line " /></a></p>
<p>It will be better to know if it is possible to do in XML using Linear layout or other layout</p> | It will be better to know if it is possible to do in XML using Linear layout or other layout | android|android-layout | 0 | 2022-07-13T06:36:40.753Z | 2,022 | 7 | 6 | 2 | 59 | 3 | 92 | 60 | 2 | 0 | false | false | false | false | false | false | zero |
72,961,885 | BaseDataSource in media3 library | <p>I'm implementing media3 library in my project. I'm currently working on my BaseDataSource implementation and have some questions about the open method. Let's say that my open method uses an external repository to fetch the media file and it looks like this:</p>
<pre><code> override fun open(dataSpec: DataSpec): Long... | I'm implementing media3 library in my project. I'm currently working on my BaseDataSource implementation and have some questions about the open method. Let's say that my open method uses an external repository to fetch the media file and it looks like this: [CODE] So the question is what exactly should be returned by t... | android|android-mediaplayer|android-mediasession | 0 | 2022-07-13T06:37:08.927Z | 2,022 | 7 | 6 | 2 | 19 | 0 | 416 | 32 | 3 | 1 | true | true | false | false | false | false | zero |
72,961,929 | Trying to connect Firebase to Flutter App | <p>I am trying to connect my firebase to my flutter application but it is not working. I followed the documentation (<a href="https://firebase.flutter.dev/docs/manual-installation/android" rel="nofollow noreferrer">https://firebase.flutter.dev/docs/manual-installation/android</a>), but I am having problems with it. Eve... | I am trying to connect my firebase to my flutter application but it is not working. I followed the documentation ( https://firebase.flutter.dev/docs/manual-installation/android ), but I am having problems with it. Every time it fails to connect and throws an error. main.dart [CODE] Error [CODE] If anyone can help me it... | android|flutter|firebase | 1 | 2022-07-13T06:42:39.680Z | 2,022 | 7 | 6 | 2 | 103 | 2 | 347 | 41 | 3 | 2 | true | false | false | false | false | false | low |
72,961,998 | Not able to display svg format image in jetpack compose | <p>I tried to display <code>svg image</code> in my project but some of the file works but throws the <code>error.</code>.
I tried with the <code>coil library</code> too but it doesn't show anything. While using Image compose with painterResource throws the follwing error:-</p>
<p><strong>compose code:</strong></p>
<pre... | I tried to display svg image in my project but some of the file works but throws the error. . I tried with the coil library too but it doesn't show anything. While using Image compose with painterResource throws the follwing error:- compose code: [CODE] Error msg: [CODE] | android|android-jetpack-compose|android-vectordrawable|coil | 1 | 2022-07-13T06:50:11.890Z | 2,022 | 7 | 6 | 2 | 171 | 1 | 271 | 55 | 4 | 2 | true | false | false | false | false | false | low |
72,962,060 | How to implement a validation code component | <p>I have to implement a validation code component where the user has to introduce a 4 digit code in 4 diferent edit text but I don't know how to start. Never have I seen an example of this and on the internet I can't find any example.</p>
<p>This is what i want to implmenent:</p>
<p><a href="https://i.stack.imgur.com/... | I have to implement a validation code component where the user has to introduce a 4 digit code in 4 diferent edit text but I don't know how to start. Never have I seen an example of this and on the internet I can't find any example. This is what i want to implmenent: Any help would be a appreciated. | android|kotlin|view | -1 | 2022-07-13T06:55:37.177Z | 2,022 | 7 | 6 | 2 | 29 | 1 | 300 | 44 | 3 | 0 | false | false | false | false | false | true | negative |
72,962,170 | React native - expo 45 - missing images android production | <p>I'm not able to see some images in android production build, the image are correctly displayed instead in expo dev-client, here my code:</p>
<pre><code><TouchableOpacity style={{ position: "absolute", right: 30, top: 20 }} onPress={() => this.setState({ displayInfo: !this.state.displayInfo })}>
... | I'm not able to see some images in android production build, the image are correctly displayed instead in expo dev-client, here my code: [CODE] It happen in expo sdk 45, with previous sdk all worked fine. Please help me to figure out how to solve this issue. Tnx | android|react-native|expo | 0 | 2022-07-13T07:05:29.877Z | 2,022 | 7 | 7 | 2 | 100 | 2 | 262 | 58 | 3 | 1 | true | false | false | false | false | false | zero |
72,962,208 | Google Developer Console hidden useful java.lang crash errors headers unity | <p>In the past, google used to show java.lang.errors from unity games like this:</p>
<pre><code>java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2019.4.35f1 (0462406dff2e)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'HUAWEI/ANE-LX1/HWAN... | In the past, google used to show java.lang.errors from unity games like this: [CODE] This was really helpful in combination with the smart symbolicate tool ( https://github.com/brunomikoski/UnitySmartSymbolicate ) to deobfuscate unity crashes. But looks like google is now hiding this information and only showing like t... | android|unity3d|mobile|crash-reports|google-developers-console | 0 | 2022-07-13T07:08:34.237Z | 2,022 | 7 | 7 | 2 | 96 | 0 | 611 | 75 | 5 | 2 | true | true | false | false | false | false | zero |
72,962,234 | In GlanceAppWidget actionStartActivity is not calling in actionRunCallback inside onRun override function | <p><strong>Component used:</strong> GlanceAppWidget</p>
<p><strong>Library & Version used:</strong> androidx.glance:glance-appwidget:1.0.0-alpha03</p>
<blockquote>
<p>In the onClick of Button, we use actionRunCallback, inside the onRun
override function we are trying to call actionStartActivity but it's
not calling... | Component used: GlanceAppWidget Library & Version used: androidx.glance:glance-appwidget:1.0.0-alpha03 In the onClick of Button, we use actionRunCallback, inside the onRun override function we are trying to call actionStartActivity but it's not calling this actionStartActivity function. Issue Tracker : https://issuetra... | android|kotlin|android-jetpack-compose|glance-appwidget|glance | 0 | 2022-07-13T07:10:52.133Z | 2,022 | 7 | 7 | 2 | 35 | 0 | 352 | 105 | 5 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.