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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71,852,880 | DataStore recovers old erased data | <p>I am working with DataStore, (and allowBackUp = true in the manifest)</p>
<p>I edit the preferences, but when I uninstall and reinstall the application, it restores old values (not the last saved ones)</p>
<p>Any idea?</p>
<p>Thanks</p> | I am working with DataStore, (and allowBackUp = true in the manifest) I edit the preferences, but when I uninstall and reinstall the application, it restores old values (not the last saved ones) Any idea? Thanks | android|kotlin|datastore | 0 | 2022-04-13T06:33:41.957Z | 2,022 | 4 | 6 | 2 | 15 | 0 | 213 | 34 | 3 | 0 | false | true | false | false | false | false | zero |
71,888,393 | List Logic to show data in expandable recyclerview with column and row from JSON | <p>This response needs to parse in such a way that it can be arranged in a row-column view. The column name would be all field match with an id of field array and row should be all the data of data array. According to our response Salman, Harun, and Raj should be column names (expandable title) with id 7685 get from fi... | This response needs to parse in such a way that it can be arranged in a row-column view. The column name would be all field match with an id of field array and row should be all the data of data array. According to our response Salman, Harun, and Raj should be column names (expandable title) with id 7685 get from first... | android|json|android-recyclerview|expandablerecyclerview | 0 | 2022-04-15T19:57:30.047Z | 2,022 | 4 | 19 | 4 | 15 | 0 | 507 | 80 | 4 | 3 | true | true | false | false | false | false | zero |
71,888,685 | How to measure how long it took to schedule a job with Android JobScheduler | <p>Currently I'm trying to measure how long it takes for Android jobscheduler to schedule jobs for each process throughout the system.</p>
<p>Background: I'm part of the performance team who is trying to improve the situation during boot where processes are scheduling their jobs on BOOT_COMPLETE broadcast. Most process... | Currently I'm trying to measure how long it takes for Android jobscheduler to schedule jobs for each process throughout the system. Background: I'm part of the performance team who is trying to improve the situation during boot where processes are scheduling their jobs on BOOT_COMPLETE broadcast. Most processes are sta... | android|performance|android-jobscheduler | 0 | 2022-04-15T20:31:49.367Z | 2,022 | 4 | 20 | 4 | 15 | 0 | 936 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
71,893,315 | How do I send notifications to all other users when I click a button | <p>I want to make something like this: when a user clicks on a button, notifications have to be sent to all the other users. I searched for this problem, but neither of the solutions was helpful.</p> | I want to make something like this: when a user clicks on a button, notifications have to be sent to all the other users. I searched for this problem, but neither of the solutions was helpful. | java|android-studio | 0 | 2022-04-16T11:02:43.560Z | 2,022 | 4 | 11 | 5 | 15 | 0 | 192 | 68 | 2 | 0 | false | true | false | false | false | false | zero |
71,899,829 | permission not work in android and the app crashed | <p>When I try to use the permission and click on allow, the app is destroyed</p>
<p>i add permission to manifest</p>
<pre><code> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
</code></pre>
<p>and i put permission properties in Commom class:</p>
<pre><code>public class Com... | When I try to use the permission and click on allow, the app is destroyed i add permission to manifest [CODE] and i put permission properties in Commom class: [CODE] } and get it in dialog fragment: [CODE] edtCompanyMoneyInfoCompanyInvoice = view.findViewById(R.id.edtCompanyMoneyInfoCompanyInvoice); edtCompanyMoneyInfo... | android|android-studio-2.0 | 0 | 2022-04-17T06:35:37.900Z | 2,022 | 4 | 6 | 6 | 15 | 0 | 616 | 50 | 2 | 5 | true | true | false | false | false | false | zero |
71,954,700 | How to add shodows in android layout elements? | <p>I want to add shodow to ConstraintLayout.
Shadow parameters:
blur: 10
color: #000000
colorAplpha 5%</p>
<p>I try by adding this code:</p>
<pre><code> android:shadowColor="@color/my_shadow_color"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="10"... | I want to add shodow to ConstraintLayout. Shadow parameters: blur: 10 color: #000000 colorAplpha 5% I try by adding this code: [CODE] but it doesn't work! How to do it ? | android|xml|layout | 0 | 2022-04-21T12:43:55.917Z | 2,022 | 4 | 12 | 3 | 15 | 0 | 169 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
71,954,881 | different initialization of SQLiteDatabase Object | <p>I'm practicing android. In most cases I usually initialize my <code>getReadableDatabase()</code> or <code>getWritableDatabase</code> in each of the <code>CRUD</code> methods this way, having the <code>private SQLiteDatabase db</code> as a global variable :</p>
<pre><code>db = getReadableDatabase();
</code></pre>
<p>... | I'm practicing android. In most cases I usually initialize my getReadableDatabase() or getWritableDatabase in each of the CRUD methods this way, having the private SQLiteDatabase db as a global variable : [CODE] I want to know the difference between [CODE] I've seen scenario in the above code where the getReadableDatab... | android|android-studio | 0 | 2022-04-21T12:56:50.063Z | 2,022 | 4 | 12 | 3 | 15 | 0 | 382 | 49 | 2 | 4 | true | true | false | false | false | false | zero |
71,988,322 | Trying to get android app already running to show up from behind | <p>I used to a text to speech command to tell my app to minimize on Android I want to get it to return back on screen. Any idea how I can handle this?</p> | I used to a text to speech command to tell my app to minimize on Android I want to get it to return back on screen. Any idea how I can handle this? | android|kotlin | 0 | 2022-04-24T12:18:53.533Z | 2,022 | 4 | 12 | 6 | 15 | 0 | 147 | 64 | 2 | 0 | false | true | false | false | false | false | zero |
72,004,416 | Why PagedListAdapter is loading unnecessary pages? | <p>When I scroll <code>RecyclerView</code> with LinearLayoutManage.scrollToPositionWithOffset(), my <code>PagedListAdapter</code> is loading all pages between current position and target position. I am using <code>PositionalDataSource</code> with SQLite database.</p>
<p>How can I avoid this behavior?</p> | When I scroll RecyclerView with LinearLayoutManage.scrollToPositionWithOffset(), my PagedListAdapter is loading all pages between current position and target position. I am using PositionalDataSource with SQLite database. How can I avoid this behavior? | android|android-recyclerview|android-paging-library | 0 | 2022-04-25T18:54:43.253Z | 2,022 | 4 | 18 | 0 | 15 | 0 | 252 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,011,809 | What is the meaining of "Dropped event because of pending overdue app switch."? | <p>Researched this "Dropped event because of pending overdue app switch" exception and ı found this. But i didnt understand.Can somenone explain this sentence with examples? What is this meaning and how can ı fix this?</p>
<pre><code> case DROP_REASON_APP_SWITCH:
ALOGI("Dropped event because of pen... | Researched this "Dropped event because of pending overdue app switch" exception and ı found this. But i didnt understand.Can somenone explain this sentence with examples? What is this meaning and how can ı fix this? [CODE] | android|kernel|screen | 0 | 2022-04-26T09:47:06.870Z | 2,022 | 4 | 9 | 1 | 15 | 0 | 232 | 79 | 3 | 1 | true | true | false | false | false | false | zero |
72,027,376 | Add an action even if click is debounced Rxbinding java | <p>I have a button which increases the quantity of an item and makes a request to the server, I want to decrease the number of server calls so I used RxBinding and debounce. Now I have managed to avoid rapid requests to the server but I want to add some action even if the click is ignored, in this case, I want to keep ... | I have a button which increases the quantity of an item and makes a request to the server, I want to decrease the number of server calls so I used RxBinding and debounce. Now I have managed to avoid rapid requests to the server but I want to add some action even if the click is ignored, in this case, I want to keep inc... | java|android|rx-java2|debounce|rx-binding | 0 | 2022-04-27T10:41:48.260Z | 2,022 | 4 | 10 | 2 | 15 | 0 | 625 | 55 | 5 | 1 | true | true | false | false | false | false | zero |
72,040,842 | How does Android limits access of application? | <p>I am not quite sure how does secure storage works, I've read docs and found <a href="https://developer.android.com/training/articles/keystore#:%7E:text=Use%20the%20Android%20Keystore%20provider%20to%20let%20an%20individual%20app%20store%20its%20own%20credentials%20that%20only%20the%20app%20itself%20can%20access." re... | I am not quite sure how does secure storage works, I've read docs and found this . I can't figure out how Android handles this mechanism. | android|android-keystore | 0 | 2022-04-28T08:59:35.820Z | 2,022 | 4 | 8 | 3 | 15 | 0 | 137 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
72,065,607 | im getting error in bluetoothadapter.disable | <p>I am getting an error for permission in the Bluetooth when I am using the command to disable.</p>
<p>please tell me why it's happening.</p>
<pre><code>package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import android.Manifest;
import androi... | I am getting an error for permission in the Bluetooth when I am using the command to disable. please tell me why it's happening. [CODE] | java|android | 0 | 2022-04-30T04:02:34.610Z | 2,022 | 4 | 4 | 5 | 15 | 0 | 135 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
72,066,313 | how to change bump gl native for mapbox maps sdk project? | <p>I am using mapbox maps android (10.3.0-beta.1 January 12, 2022)
it has dependency on Bump gl-native v10.3.0-beta.1.
my question1: is Bump gl-native same as mapbox-gl-native <a href="https://github.com/mapbox/mapbox-gl-native" rel="nofollow noreferrer">enter link description here</a>
if it is the same library can i c... | I am using mapbox maps android (10.3.0-beta.1 January 12, 2022) it has dependency on Bump gl-native v10.3.0-beta.1. my question1: is Bump gl-native same as mapbox-gl-native enter link description here if it is the same library can i clone mapbox-gl-native change it and build it. and how to add it to mapbox maps sdk? | mapbox-gl|mapbox-android | 0 | 2022-04-30T06:48:15.767Z | 2,022 | 4 | 6 | 5 | 15 | 0 | 317 | 57 | 2 | 0 | false | true | false | false | false | false | zero |
72,075,680 | Why can't I get similar performance degradation with Monkey in different experiments? | <p>I have configured experiments to test which among 10 launched apps impacts performance the most. But I can't make an objective comparison, because if I launch the experiment twice with the same configuration, I get very different performance degradation, in terms of memory occupied and launch times.
This is a piece ... | I have configured experiments to test which among 10 launched apps impacts performance the most. But I can't make an objective comparison, because if I launch the experiment twice with the same configuration, I get very different performance degradation, in terms of memory occupied and launch times. This is a piece of ... | android|performance|android-studio|stress-testing|monkey | 0 | 2022-05-01T09:54:38.710Z | 2,022 | 5 | 9 | 6 | 15 | 0 | 848 | 85 | 5 | 1 | true | true | false | false | false | false | zero |
72,102,681 | Android HID Interface - Audio Inquiries regarding app development | <p>I want to connect the microphone to my smartphone (Android) through USB-C.</p>
<p>Mike has a total of five keys.</p>
<p>It has volume UP/DOWN, POWER, EMERGENCY, and PTT keys.</p>
<p>I want to make an application that recognizes this.</p>
<p>Volume up/down and Power use the native features of the HID Interface.</p>
<... | I want to connect the microphone to my smartphone (Android) through USB-C. Mike has a total of five keys. It has volume UP/DOWN, POWER, EMERGENCY, and PTT keys. I want to make an application that recognizes this. Volume up/down and Power use the native features of the HID Interface. The problem is PTT and Emergency Key... | android|hid | 0 | 2022-05-03T16:38:30.333Z | 2,022 | 5 | 16 | 1 | 15 | 0 | 601 | 65 | 2 | 0 | false | true | false | false | false | false | zero |
72,105,686 | TextInputLayout TextInputEditText doesn't allows closing softkeyboard | <p>I am using the material design implementation of a TextField.</p>
<pre><code> <com.google.android.material.textfield.TextInputLayout
android:id="@+id/container_poi_name"
android:layout_width="match_parent"
android:layout_height="w... | I am using the material design implementation of a TextField. [CODE] On touch of the field - a soft keyboard opens and never closes. Even after leaving the NavGraph destination. Also I miss the SoftKeyboard close button like on the picture. My triangle is showing to the left and doesnt close the keyboard. Is there a po... | android | 0 | 2022-05-03T21:33:34.773Z | 2,022 | 5 | 21 | 1 | 15 | 0 | 396 | 69 | 1 | 1 | true | true | false | false | false | false | zero |
72,114,142 | Convert android Webview load and touch to pc load and click | <p>I want to load a site in Webview that this site has no problem with loading and clicking on the pc
But when loaded on mobile, it does not allow the user to load and touch
Because that site wants the user to enter the site with pc
I want to load the site using Webview and the site does not notice that I have entered ... | I want to load a site in Webview that this site has no problem with loading and clicking on the pc But when loaded on mobile, it does not allow the user to load and touch Because that site wants the user to enter the site with pc I want to load the site using Webview and the site does not notice that I have entered wit... | java|android|kotlin|webview | 0 | 2022-05-04T13:51:27.867Z | 2,022 | 5 | 13 | 2 | 15 | 0 | 501 | 59 | 4 | 0 | false | true | false | false | false | false | zero |
72,135,527 | How to sort according to time in recyclerview? | <p>I'm making a simple Note making app for a project. Right now, when I create any note this comes at the end position. But I want to sort it out with time. So that whenever I will make any note, that will come to the first position. How can I do that?</p>
<p><strong>HomeFragment.kt</strong></p>
<pre><code>package com.... | I'm making a simple Note making app for a project. Right now, when I create any note this comes at the end position. But I want to sort it out with time. So that whenever I will make any note, that will come to the first position. How can I do that? HomeFragment.kt [CODE] | android-studio|sorting|android-fragments | 0 | 2022-05-06T02:28:23.527Z | 2,022 | 5 | 2 | 4 | 15 | 0 | 272 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
72,018,769 | How can i animated scroll to page when using HorizontalPager without see middle screen(s)? | <p>Since I have multiple screens on the same page, I want to switch animatedly, but I don't want the pages in between to appear.</p>
<p>Let's say i have three screen:</p>
<pre><code>@Composable
fun FirstRedScreen(
pagerState: PagerState
){
val coroutineScope = rememberCoroutineScope()
Box(modifier = Modif... | Since I have multiple screens on the same page, I want to switch animatedly, but I don't want the pages in between to appear. Let's say i have three screen: [CODE] and horizontal pager: [CODE] I don't want to see the 2nd screen in between when switching from the 1st screen to the 3rd screen. how can I do that? (with an... | android|kotlin|android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-04-26T18:22:20.290Z | 2,022 | 4 | 18 | 1 | 271 | 0 | 458 | 90 | 4 | 2 | true | true | false | false | false | false | zero |
71,795,910 | what causing this error in android studio? | <p>When I try to build my app in <strong>Android Studio</strong>, I get the error in the image below, I tried creating a new project, same error pop up, I didn't modify any tag or line of code.</p>
<p><a href="https://i.stack.imgur.com/8C7Ok.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8C7Ok.png" ... | When I try to build my app in Android Studio , I get the error in the image below, I tried creating a new project, same error pop up, I didn't modify any tag or line of code. I use the .zip version of Android Studio Arctic fox Thanks for your help. | android-studio|gradle|build.gradle | 0 | 2022-04-08T11:04:46.413Z | 2,022 | 4 | 11 | 4 | 16 | 0 | 248 | 42 | 3 | 0 | false | true | false | false | false | false | zero |
71,808,325 | How to avoid reinflating menu in fragments with AppBarLayout? | <p>I inflate my SearchView into my AppBarLayout and MaterialToolbar in MainActivity. When I search items in ListFragment and open DetailFragment for an item then get back my AppBarLayout inflates again and I see my list is cleared. I want it to save query and show my previous state.</p>
<p>In ListFragment I do:</p>
<pr... | I inflate my SearchView into my AppBarLayout and MaterialToolbar in MainActivity. When I search items in ListFragment and open DetailFragment for an item then get back my AppBarLayout inflates again and I see my list is cleared. I want it to save query and show my previous state. In ListFragment I do: [CODE] In DetailF... | android|android-fragments|android-navigation|android-appbarlayout | 0 | 2022-04-09T13:03:31.273Z | 2,022 | 4 | 13 | 5 | 16 | 0 | 379 | 61 | 4 | 2 | true | true | false | false | false | false | zero |
71,825,604 | How to make your toolbar clickable with drawerLayout? | <p>How to add action to my menu icon?</p>
<p><a href="https://i.stack.imgur.com/N0OcB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N0OcB.png" alt="enter image description here" /></a></p>
<p>I haven't added it in xml file, so how could I use it?
It works when I click on free space at appbarlayout,... | How to add action to my menu icon? I haven't added it in xml file, so how could I use it? It works when I click on free space at appbarlayout, but not on the direct icon from the screen. I also tried add function to override method, but no success. [CODE] [CODE] This is my code in fragment [CODE] xml file [CODE] | android | 0 | 2022-04-11T09:35:57.110Z | 2,022 | 4 | 9 | 0 | 16 | 0 | 313 | 53 | 1 | 4 | true | true | false | false | false | false | zero |
71,852,048 | How to know if foreground service started after crash or during regular flow | <p>I wanted to know, if there's a way to know that my foreground service is starting again after the application crashed due to <code>START_STICKY</code> flag or is just the normal flow?
Is there any intent action like <code>BOOT_COMPLETED</code> that indicates that we are coming back to life after a crash?</p> | I wanted to know, if there's a way to know that my foreground service is starting again after the application crashed due to START_STICKY flag or is just the normal flow? Is there any intent action like BOOT_COMPLETED that indicates that we are coming back to life after a crash? | android | 0 | 2022-04-13T04:52:10.143Z | 2,022 | 4 | 4 | 2 | 16 | 0 | 279 | 76 | 1 | 0 | false | true | false | false | false | false | zero |
71,853,691 | SeekableByteChannel in Android from MediaStore | <p>we've tried to open a SeekableByteChannel in android via the MediaStore:</p>
<pre><code>final ParcelFileDescriptor pfd = resolver.openFileDescriptor(fileUri, StandardOpenOption.CREATE_NEW | StandardOpenOption.READ |StandardOpenOption.WRITE);
ParcelFileDescriptor.AutoCloseOutputStream stream = new ParcelFileDescripto... | we've tried to open a SeekableByteChannel in android via the MediaStore: [CODE] The returned channel is only writable, since we only created an AutoCloseOutputStream. Is it possible to create an seekable in/out channel? Thanks in advance | java|android|io | 0 | 2022-04-13T07:42:21.307Z | 2,022 | 4 | 7 | 2 | 16 | 0 | 237 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
71,883,586 | How to correctly set music listen button of specific clicked object? | <p>I have a problem with making "play and stop button" for listening to music. I want to play music of a specific object, on the first click it should play and on the second click stop. But the problem is I can stop music only when touched any part of the screen except listen button(coz' I used "Input.Ge... | I have a problem with making "play and stop button" for listening to music. I want to play music of a specific object, on the first click it should play and on the second click stop. But the problem is I can stop music only when touched any part of the screen except listen button(coz' I used "Input.GetMo... | c#|unity3d|audio|audio-player|android-music-player | 0 | 2022-04-15T11:42:10.037Z | 2,022 | 4 | 11 | 4 | 16 | 0 | 439 | 68 | 5 | 1 | true | true | false | false | false | false | zero |
71,896,418 | Coloring half svg for RatingBar | <p>Hi I would need to color a svg in half for a custom RatingBar for the step Size</p>
<pre><code> android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android... | Hi I would need to color a svg in half for a custom RatingBar for the step Size [CODE] | android|ratingbar | 0 | 2022-04-16T18:21:02.897Z | 2,022 | 4 | 18 | 5 | 16 | 0 | 86 | 31 | 2 | 1 | true | true | false | false | false | false | zero |
71,900,030 | How can I add a soundtrack in multi-windows android app? | <p>Good time of the day! I needed to add a soundtrack, but the problem is that the application is multi-windowed. I looked at the documentation, a video on how to add music, but there is a one-window explanation. Can you explain how to make it so that when the button is pressed, the song is played and transferred to... | Good time of the day! I needed to add a soundtrack, but the problem is that the application is multi-windowed. I looked at the documentation, a video on how to add music, but there is a one-window explanation. Can you explain how to make it so that when the button is pressed, the song is played and transferred to anoth... | java|android|android-studio|android-mediaplayer | 0 | 2022-04-17T07:22:51.937Z | 2,022 | 4 | 7 | 6 | 16 | 0 | 462 | 56 | 4 | 0 | false | true | false | false | false | false | zero |
71,914,879 | Translate Kotlin to Java BLE callback | <p>Im trying to translate this part of a code to Java, i understand its waiting for a callback from a BLE action, if returns any data will be added to statusReport, only issue is that it seems that is doing a loop somewhere because in the real application gets this callback multiple times but on my side i only get one ... | Im trying to translate this part of a code to Java, i understand its waiting for a callback from a BLE action, if returns any data will be added to statusReport, only issue is that it seems that is doing a loop somewhere because in the real application gets this callback multiple times but on my side i only get one res... | java|android|kotlin | 0 | 2022-04-18T17:12:36.893Z | 2,022 | 4 | 17 | 0 | 16 | 0 | 333 | 37 | 3 | 1 | true | true | false | false | false | false | zero |
71,949,041 | Xamarin: How to Launch inbuilt Camera Application (iOS & Android) | <p>Firstly, I already have an application written (according to spec).
It scans a QR Code, then shows two buttons (Select Images and Select Video). Using Crossmedia it allows the user to pick pictures (or video) and then loads the data into an internal SQLite database. Periodically a routine picks each entry in the dat... | Firstly, I already have an application written (according to spec). It scans a QR Code, then shows two buttons (Select Images and Select Video). Using Crossmedia it allows the user to pick pictures (or video) and then loads the data into an internal SQLite database. Periodically a routine picks each entry in the databa... | c#|android|ios|xamarin | 0 | 2022-04-21T04:41:25.470Z | 2,022 | 4 | 4 | 3 | 16 | 0 | 1,905 | 65 | 4 | 2 | true | true | false | false | false | false | zero |
71,952,396 | Transaction Too Large Exception when taking multiple photos with multiple button | <p>when i capture images with multiple buttons from multiple fragment, this error occurs.Could someone explain about this error?</p>
<pre><code> at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3950)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispat... | when i capture images with multiple buttons from multiple fragment, this error occurs.Could someone explain about this error? [CODE] | android|kotlin|camera | 0 | 2022-04-21T09:51:11.760Z | 2,022 | 4 | 9 | 3 | 16 | 0 | 132 | 80 | 3 | 1 | true | true | false | false | false | false | zero |
71,953,657 | Android: how to colour the bottomNavBar icons programatically | <p>Problem:</p>
<p>Update the bottomNavBar icon's colour 'programmatically'. There are several ways to update if thru XML (out of scope here as the requirement is to update on the fly).</p>
<p>tried code:</p>
<pre><code>bottomNavigationView.itemIconTintList = getBackgroundColorStates()
// colour state list based on st... | Problem: Update the bottomNavBar icon's colour 'programmatically'. There are several ways to update if thru XML (out of scope here as the requirement is to update on the fly). tried code: [CODE] results as below: whereas the expectation is to change the colour of the icons, not to fill (as below): Any thoughts on how t... | android|menuitem|bottomnavigationview | 0 | 2022-04-21T11:27:12.040Z | 2,022 | 4 | 11 | 3 | 16 | 0 | 374 | 61 | 3 | 1 | true | true | false | false | false | false | zero |
71,964,256 | How to pass arguments to emulator when I run emulator in android studio | <p>I have an emulator but I am not able to access the internet inside that emulator. So, I have figured out a solution in which I am running that emulator using cmd by passing an additional argument <code>-dns-server 8.8.8.8</code> .</p>
<p>After that, my command will be <code>emulator -avd 4_XL_API_30 -dns-server 8.8... | I have an emulator but I am not able to access the internet inside that emulator. So, I have figured out a solution in which I am running that emulator using cmd by passing an additional argument -dns-server 8.8.8.8 . After that, my command will be emulator -avd 4_XL_API_30 -dns-server 8.8.8.8 to start my emulator. But... | android|android-studio|android-emulator | 0 | 2022-04-22T06:23:06.127Z | 2,022 | 4 | 6 | 4 | 16 | 0 | 614 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
71,965,758 | How to call Android.mk script from CMakeList.txt? | <p>Is it possible to call Android.mk script from cmake with CMakeLists.txt? If yes, i need an example to understand please.</p> | Is it possible to call Android.mk script from cmake with CMakeLists.txt? If yes, i need an example to understand please. | android|gradle|cmake|android.mk|android-native-library | 0 | 2022-04-22T08:36:09.530Z | 2,022 | 4 | 8 | 4 | 16 | 0 | 120 | 49 | 5 | 0 | false | true | false | false | false | false | zero |
71,966,746 | ISurfaceComposer.h is missing in native android app | <p>When i try to compile this sources</p>
<pre><code>#include <jni.h>
#include <string>
#include <android/log.h>
#include <sys/types.h>
#include <iostream>
#include <gui/ISurfaceComposer.h>
#define LOGI(...) \
((void)__android_log_print(ANDROID_LOG_INFO, "screencast::", ... | When i try to compile this sources [CODE] this error appears: "fatal error: 'gui/ISurfaceComposer.h' file not found" | android|c++|android-ndk | 0 | 2022-04-22T09:48:41.913Z | 2,022 | 4 | 9 | 4 | 16 | 0 | 126 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
71,968,967 | Check previous ringer mode while Do Not Disturb is on in Android | <p>I want to get what ringer mode the user was using before turning on Do Not Disturb.
This is because while Do Not Disturb is on and use <code>audioManager.getRingerMode</code>, the result is always RINGER_MODE_SILENT.</p>
<p>So I tried, once turn off Do Not Disturb programmatically, then get (previous) ringer mode, t... | I want to get what ringer mode the user was using before turning on Do Not Disturb. This is because while Do Not Disturb is on and use audioManager.getRingerMode , the result is always RINGER_MODE_SILENT. So I tried, once turn off Do Not Disturb programmatically, then get (previous) ringer mode, then turn on Do Not Dis... | java|android|kotlin|do-not-disturb | 0 | 2022-04-22T12:46:07.310Z | 2,022 | 4 | 12 | 4 | 16 | 0 | 495 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
71,978,364 | Unresolved Errors in GeneratedPluginRegistrant, MainActivity and AndroidManifest.xml of my flutter app | <p>I am new to flutter and android application development.
My flutter app works, however I saw many tutorials and need many dependencies that have to be modified in the build.gradle and xml file.
I discovered that my app runs correctly but with many errors in the android folder.
<a href="https://i.stack.imgur.com/fa0... | I am new to flutter and android application development. My flutter app works, however I saw many tutorials and need many dependencies that have to be modified in the build.gradle and xml file. I discovered that my app runs correctly but with many errors in the android folder. This is my AndroidManifest.xml GeneratedPl... | android|flutter|gradle | 0 | 2022-04-23T09:18:05.893Z | 2,022 | 4 | 9 | 5 | 16 | 0 | 605 | 102 | 3 | 0 | false | true | false | false | false | false | zero |
71,982,019 | Skype call via Android intent results in group conversation instead of call | <p>The below code used to work fine:</p>
<pre><code>Uri skypeUri = Uri.parse("skype:<username injected>?call&video=true");
Intent myIntent = new Intent(Intent.ACTION_VIEW, skypeUri);
this.startActivity(myIntent);
</code></pre>
<p>A user would click a button on my app and get re-directed to Skype to ... | The below code used to work fine: [CODE] A user would click a button on my app and get re-directed to Skype to place a call with a user: Recently, this code stopped working. Instead the user still gets redirected to Skype, but when they start the call there's no ringing on their end and the receiver of the 'call' sees ... | android|skype | 0 | 2022-04-23T17:23:39.783Z | 2,022 | 4 | 17 | 5 | 16 | 0 | 478 | 75 | 2 | 1 | true | true | false | false | false | false | zero |
71,984,839 | How to locate a data field in a PHP file using Java in Android Studio | <p>I am trying to figure out how to retrieve specific data on a database through a link provided using URL POST through Android Studio, using Java.</p>
<p>I have tried to locate the information using a getParams() and testing it with a JSONObject.</p>
<p>My goal is to locate an extension on a database and copy its valu... | I am trying to figure out how to retrieve specific data on a database through a link provided using URL POST through Android Studio, using Java. I have tried to locate the information using a getParams() and testing it with a JSONObject. My goal is to locate an extension on a database and copy its value to a TextView. ... | java|php|database|android-studio|url | 0 | 2022-04-24T01:31:22.190Z | 2,022 | 4 | 1 | 6 | 16 | 0 | 366 | 69 | 5 | 2 | true | true | false | false | false | false | zero |
71,987,584 | Android studio date picker spinner | <p>How can I get a current weekly date picker spinner in android studio all of them they only have month with date not the current week</p> | How can I get a current weekly date picker spinner in android studio all of them they only have month with date not the current week | java|android | 0 | 2022-04-24T10:37:07.583Z | 2,022 | 4 | 10 | 6 | 16 | 0 | 132 | 34 | 2 | 0 | false | true | false | false | false | false | zero |
72,013,568 | how to send a service request via instrument test (Android) | <p>how to send a service request via instrument test
How can I test the service request you made with RxJava and retrofit with instrument test?</p> | how to send a service request via instrument test How can I test the service request you made with RxJava and retrofit with instrument test? | android|testing|rx-java|android-testing | 0 | 2022-04-26T12:00:30.690Z | 2,022 | 4 | 12 | 1 | 16 | 0 | 140 | 59 | 4 | 0 | false | true | false | false | false | false | zero |
72,024,673 | Show description on Chart axis labels | <p>I'm using MpAndroirdChart library to show different types of charts in Android application. How can i show description on both side of axis?</p>
<p><a href="https://i.stack.imgur.com/eimJx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eimJx.png" alt="enter image description here" /></a></p> | I'm using MpAndroirdChart library to show different types of charts in Android application. How can i show description on both side of axis? | android|android-studio|graph|charts | 0 | 2022-04-27T07:13:48.823Z | 2,022 | 4 | 7 | 2 | 16 | 0 | 140 | 37 | 4 | 0 | false | true | false | false | false | false | zero |
72,032,273 | Is there a way to get the pace and pause duration in an audio file in android? | <p>I have audio files in mp3 and wav format, I want to be able to get the pace of the audio (how many words spoken in a second) and the average pause duration . I searched but I couldn't find any library or anything in the docs.
Anyone got a tip?</p> | I have audio files in mp3 and wav format, I want to be able to get the pace of the audio (how many words spoken in a second) and the average pause duration . I searched but I couldn't find any library or anything in the docs. Anyone got a tip? | android|audio | 0 | 2022-04-27T16:24:58.773Z | 2,022 | 4 | 16 | 2 | 16 | 0 | 243 | 78 | 2 | 0 | false | true | false | false | false | false | zero |
72,040,173 | How to resolve ViewSwitcher not showing the second View | <p>I am trying to switch between two WebViews in my layout with Android Java. The two WebViews load different urls when the oncreate method is called. The only problem am having is that the first webview shows up with the site content when oncreate is called but when I click the button that is supposed to show the next... | I am trying to switch between two WebViews in my layout with Android Java. The two WebViews load different urls when the oncreate method is called. The only problem am having is that the first webview shows up with the site content when oncreate is called but when I click the button that is supposed to show the next we... | java|android | 0 | 2022-04-28T08:12:27.947Z | 2,022 | 4 | 8 | 3 | 16 | 0 | 533 | 55 | 2 | 2 | true | true | false | false | false | false | zero |
72,115,235 | Screenshot (share_screenshot_as_stream) is no longer shared | <p>Currently, I am developing an Android application that saves bookmarks using the shared information of the browser.</p>
<p>Until version 92 of chrome, if you select [Share] ⇒ [App under development] from Chrome on Android, the screenshot information of the site opened in Chrome was also shared to the application sid... | Currently, I am developing an Android application that saves bookmarks using the shared information of the browser. Until version 92 of chrome, if you select [Share] ⇒ [App under development] from Chrome on Android, the screenshot information of the site opened in Chrome was also shared to the application side, but ver... | android|android-intent | 0 | 2022-05-04T15:03:04.790Z | 2,022 | 5 | 15 | 2 | 16 | 0 | 723 | 59 | 2 | 1 | true | true | false | false | false | false | zero |
72,123,175 | Android ViewPager and transitions | <p>I'm using <code>ViewPager</code> in my App as base component for screen switching. What I dont like is animation of transition. That animation is used based on in what order I put screens inside <code>ViewPagerAdapter</code>. This order is simply wrong, because in general there is usually never only single screen as... | I'm using ViewPager in my App as base component for screen switching. What I dont like is animation of transition. That animation is used based on in what order I put screens inside ViewPagerAdapter . This order is simply wrong, because in general there is usually never only single screen as next. I have options and ea... | android|android-viewpager | 0 | 2022-05-05T07:05:31.057Z | 2,022 | 5 | 7 | 3 | 16 | 0 | 761 | 33 | 2 | 0 | false | true | false | false | false | false | zero |
72,132,498 | RealmDB and diacritical letters problem with upper and lower case | <p>I have project where I use RealmDB. When I use search feature with normal string(letters) it work well - upper/lower letters are in mode <code>Case.INSENSITIVE</code>, but it doesn't work with diacritical letters.</p>
<p>The string starting also from capital or lower letters should show in the list.
When searching s... | I have project where I use RealmDB. When I use search feature with normal string(letters) it work well - upper/lower letters are in mode Case.INSENSITIVE , but it doesn't work with diacritical letters. The string starting also from capital or lower letters should show in the list. When searching starting with Å,Ä,Ö or ... | android|kotlin|diacritics|letter | 0 | 2022-05-05T19:12:56.597Z | 2,022 | 5 | 19 | 3 | 16 | 0 | 650 | 65 | 4 | 1 | true | true | false | false | false | false | zero |
72,132,984 | How to add iframe into an activity using android studio (I want to add google dialogflow es from a website) | <p>This is my iframe code :</p>
<pre><code> <iframe
allow="microphone;"
width="350"
height="430"
src="https://console.dialogflow.com/api-client/demo/embedded/c3f5abdb-c28d-4244-acc7-53abc91f0e8e">
</iframe>
</code></pre>
<p>Now I want to show this g... | This is my iframe code : [CODE] Now I want to show this google dialogflow es into my activity. Please let me know how can i do that. | java|android|xml|android-studio|android-layout | 0 | 2022-05-05T19:59:44.340Z | 2,022 | 5 | 19 | 3 | 16 | 0 | 132 | 107 | 5 | 1 | true | true | false | false | false | false | zero |
72,045,629 | Expandable FAB going through bottom nav bar - Jetpack Compose | <p>I made an expandable floating action button like
<a href="https://i.stack.imgur.com/QiNea.jpg" rel="nofollow noreferrer">here</a></p>
<p>i want to make it expand verticly and reveal to more buttons, when its note docked to bottom navigation bar, every thing is ok but when i make it docked it's going through bottom n... | I made an expandable floating action button like here i want to make it expand verticly and reveal to more buttons, when its note docked to bottom navigation bar, every thing is ok but when i make it docked it's going through bottom nav bar, When not expanded looking like this but when expanded like this How can i make... | android|android-layout|android-jetpack-compose|android-custom-view|floating-action-button | 0 | 2022-04-28T14:35:49.127Z | 2,022 | 4 | 14 | 3 | 528 | 0 | 430 | 61 | 5 | 1 | true | true | false | false | false | false | zero |
71,830,176 | How to get sub title data from notification? | <p>My app listening notification data from extends NotificationListenerService. I would like to get the call duration of a Whatsapp call</p>
<p><a href="https://i.stack.imgur.com/5Es0k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5Es0k.png" alt="enter image description here" /></a></p>
<p>I tried ... | My app listening notification data from extends NotificationListenerService. I would like to get the call duration of a Whatsapp call I tried with Notification.EXTRA_SUB_TEXT and Notification.EXTRA_CHRONOMETER_COUNT_DOWN but nothing work. [CODE] | android|notificationlistenerservice | 0 | 2022-04-11T15:07:31.777Z | 2,022 | 4 | 15 | 0 | 17 | 0 | 245 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
71,833,027 | Can't take data from datebase kotlin android studio/spring boot | <p>I'm new here and I have a problem. :) I work with android studio and spring boot. I made a registration and login. All data is save in mysql - id, name, email, password etc. In loginViewModel I saved id:</p>
<pre><code>if (validUser != null) {
encryptedPrefsInterface.saveUserData(login, passwor... | I'm new here and I have a problem. :) I work with android studio and spring boot. I made a registration and login. All data is save in mysql - id, name, email, password etc. In loginViewModel I saved id: [CODE] And next step I used this ID in profileViewModel and I tried to use user data. I want display this data: Text... | android|spring-boot|kotlin | 0 | 2022-04-11T19:04:40.880Z | 2,022 | 4 | 19 | 0 | 17 | 0 | 394 | 63 | 3 | 1 | true | true | false | false | false | false | zero |
71,852,090 | Intercept auth token from gmail auth in webview | <p>I recieve an url for gmail (or appleID) auth from my backend identity service and <code>loadUrl()</code> in android WebView. How do i intercept a response with token when user's auth is successful?</p> | I recieve an url for gmail (or appleID) auth from my backend identity service and loadUrl() in android WebView. How do i intercept a response with token when user's auth is successful? | android|webview|gmail | 0 | 2022-04-13T04:59:04.213Z | 2,022 | 4 | 4 | 2 | 17 | 0 | 184 | 47 | 3 | 0 | false | true | false | false | false | false | zero |
71,855,553 | I can't delete an entry using Onswipe. Using room, ViewModel | <p>When I swipe, the record returns to its original place<br />
Tell me how to use the ViewModel class to find a record but Id and delete it</p>
<p>My Fragment Code</p>
<pre><code>private fun getSwapMg(): ItemTouchHelper{
val viewModel = ViewModelProvider(this).get(ViewModelNotify::class.java)
return ItemTouchH... | When I swipe, the record returns to its original place Tell me how to use the ViewModel class to find a record but Id and delete it My Fragment Code [CODE] ViewModel class [CODE] } | android|kotlin|android-room|viewmodel | 0 | 2022-04-13T10:00:10.157Z | 2,022 | 4 | 10 | 2 | 17 | 0 | 180 | 60 | 4 | 2 | true | true | false | false | false | false | zero |
71,857,400 | Remove text from feed using XML Pull Parser | <p>In the description tag of data that I am parsing there are line break tags that are not right and are showing up in the application as actual text. I am looking to remove these.</p>
<p>Below is a screenshot example of the text shown in the app - as you can see it picks up "<br />". What is wrong with the c... | In the description tag of data that I am parsing there are line break tags that are not right and are showing up in the application as actual text. I am looking to remove these. Below is a screenshot example of the text shown in the app - as you can see it picks up " ". What is wrong with the code making it n... | java|android|android-studio|xmlpullparser | 0 | 2022-04-13T12:19:52.240Z | 2,022 | 4 | 12 | 2 | 17 | 0 | 568 | 43 | 4 | 3 | true | true | false | false | false | false | zero |
71,875,553 | How to reset the process filter in logcat in Android Studio | <p>I can't figure out how to reset the process filter after choosing a process in logcat if I want to see all processes again. The only way I can think of is to restart Android Studio which is pretty annoying.</p>
<p><a href="https://i.stack.imgur.com/EvxWf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgu... | I can't figure out how to reset the process filter after choosing a process in logcat if I want to see all processes again. The only way I can think of is to restart Android Studio which is pretty annoying. | android-studio | 0 | 2022-04-14T17:26:58.140Z | 2,022 | 4 | 17 | 3 | 17 | 0 | 206 | 59 | 1 | 0 | false | true | false | false | false | false | zero |
71,882,990 | Prevent Android Studio from embedding library dependency into aar file | <p>I have developed an Android library which also contains native code.</p>
<p>My native code dynamically links to another library. So I added this into my CMakeList.txt:</p>
<pre><code>target_link_libraries(sysnative /path/to/libexample.so)
</code></pre>
<p>The problem is Android Studio will copy libexample.so into th... | I have developed an Android library which also contains native code. My native code dynamically links to another library. So I added this into my CMakeList.txt: [CODE] The problem is Android Studio will copy libexample.so into the .aar file. I don't want this. I have other projects using libexample.so. If each of my pr... | android|shared-libraries|aar | 0 | 2022-04-15T10:37:33.093Z | 2,022 | 4 | 10 | 4 | 17 | 0 | 393 | 70 | 3 | 1 | true | true | false | false | false | false | zero |
71,885,949 | Android Facebook Login invalid keyhash suspicious | <p>I've been notified by Facebook support that login isn't working (though it's working on every phone I've tested), and I've triple-checked that in the developer setting for my app my debug and release keyhashes are there. I also use FirebaseUI for login.</p>
<p>They sent a screenshot showing a keyhash proving that my... | I've been notified by Facebook support that login isn't working (though it's working on every phone I've tested), and I've triple-checked that in the developer setting for my app my debug and release keyhashes are there. I also use FirebaseUI for login. They sent a screenshot showing a keyhash proving that my login &qu... | android|firebase|facebook|facebook-login|firebaseui | 0 | 2022-04-15T15:30:50.757Z | 2,022 | 4 | 15 | 4 | 17 | 0 | 511 | 49 | 5 | 0 | false | true | false | false | false | false | zero |
71,909,848 | Is it fine to share SHA1 to the merchant to configure in seller's developer dashboard while failed to initiate payment with Square Point of Sale API? | <p>I am developing android application with payment feature using Square Point of Sale API. I refer to the Square Build on Android SDK to the development. I found that while initiating the payment, the SDK will validate whether app installed, app logged in, and SDK is registered with Square Point of sale API with the r... | I am developing android application with payment feature using Square Point of Sale API. I refer to the Square Build on Android SDK to the development. I found that while initiating the payment, the SDK will validate whether app installed, app logged in, and SDK is registered with Square Point of sale API with the regi... | android|square-connect | 0 | 2022-04-18T09:16:28.917Z | 2,022 | 4 | 9 | 0 | 17 | 0 | 551 | 149 | 2 | 0 | false | true | false | false | false | false | zero |
71,954,030 | Changing single row affecting multiple rows randomly multiple rows in Recyclerview in android? | <p>I am creating a ecommerce application. In which I am managing Cart screen.</p>
<p>The cart screen is included in HomeFragment's layout. From the adapter I am calling interface to transfer the data and update to the cart screen which appears when the cart value is greater than -> 0.</p>
<p>The problem is that when... | I am creating a ecommerce application. In which I am managing Cart screen. The cart screen is included in HomeFragment's layout. From the adapter I am calling interface to transfer the data and update to the cart screen which appears when the cart value is greater than -> 0. The problem is that when I click on "Ad... | android|android-recyclerview|android-arrayadapter|shopping-cart | 0 | 2022-04-21T11:55:02.400Z | 2,022 | 4 | 11 | 3 | 17 | 0 | 756 | 94 | 4 | 3 | true | true | false | false | false | false | zero |
71,980,396 | How to add our own images via java code to the image view that change continuously? | <p>How to add our own image via java code to the image view. I use ImageUri to set the Image to Image View.</p>
<pre><code>ImageView carView = root.findViewById(R.id.carview);
if (car.registeredCarsArray.containsKey(logins)){
String[] carImage = car.registeredCarsArray.get(logins).getCarImageArray();
... | How to add our own image via java code to the image view. I use ImageUri to set the Image to Image View. [CODE] here activity not starting.(because of infinite for-loop). So, I tried Thread instead of using this in oncreate() function. [CODE] then I got this error :( [CODE] | java|android-studio|exception|imageview | 0 | 2022-04-23T14:06:15.337Z | 2,022 | 4 | 14 | 5 | 17 | 0 | 274 | 83 | 4 | 3 | true | true | false | false | false | false | zero |
71,989,254 | Replacement for OnItemClickListener for cardview in order to delete item from SQLite Database | <p><strong>What I want :</strong> To delete a clicked contact both from cardview as well as it's respective sqlite entry.</p>
<p><strong>The problem :</strong> I've been following <a href="https://youtu.be/312RhjfetP8?t=5141" rel="nofollow noreferrer">this</a> tutorial on how to create a basic SQLite Database. While I ... | What I want : To delete a clicked contact both from cardview as well as it's respective sqlite entry. The problem : I've been following this tutorial on how to create a basic SQLite Database. While I was able to add elements to the database. I am having trouble removing them via a dedicated delete button for each conta... | java|android|sqlite|cardview | 0 | 2022-04-24T14:15:28.710Z | 2,022 | 4 | 14 | 6 | 17 | 0 | 884 | 93 | 4 | 3 | true | true | false | false | false | false | zero |
72,014,407 | using search bar in home fragment to search for drawings, i tried but only the search bar appear without the ability to search particular drawing | <p>hello i want to implement search bar in my home fragment class but i didn't know how to code the right command,
i want to add a search bar in my home fragment to search for any drawing in the app but i could not always gets error.</p>
<hr />
<p>home fragment.</p>
<pre><code> public class HomeFragment extends Fragm... | hello i want to implement search bar in my home fragment class but i didn't know how to code the right command, i want to add a search bar in my home fragment to search for any drawing in the app but i could not always gets error. home fragment. [CODE] mainactivity [CODE] toolbar [CODE] i tried multiple coding but none... | android-studio|android-fragments|searchview | 0 | 2022-04-26T12:59:43.617Z | 2,022 | 4 | 12 | 1 | 17 | 0 | 366 | 145 | 3 | 3 | true | true | false | false | false | false | zero |
72,020,269 | Scrollable view inside CollapsingToolbarLayout | <p>I want to achieve scrolling image inside toolbar, that can be collapsed, when I drag toolbar (outside image).</p>
<p>With default AppBarLayout.Behavior I can't scroll content inside.</p>
<p>I've tried to use</p>
<pre><code>app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavio... | I want to achieve scrolling image inside toolbar, that can be collapsed, when I drag toolbar (outside image). With default AppBarLayout.Behavior I can't scroll content inside. I've tried to use [CODE] for AppBarLayout, it allows scrolling, but toolbar doesn't collapse. My layout: [CODE] How to make it work properly? | android|android-coordinatorlayout|android-collapsingtoolbarlayout|android-appbarlayout|android-nestedscrollview | 0 | 2022-04-26T20:38:36.850Z | 2,022 | 4 | 20 | 1 | 17 | 0 | 317 | 46 | 5 | 2 | true | true | false | false | false | false | zero |
72,022,278 | Does anyone know the logic on how android's phoneStateListener catches unknown calls? | <p>My Android app's phoneStateListener currently catches unknown calls "null" or "Anonymous". I tried searching for information on the logic behind how it is caught as "null" or as "Anonymous" but haven't found information yet. I would really appreciate any related information an... | My Android app's phoneStateListener currently catches unknown calls "null" or "Anonymous". I tried searching for information on the logic behind how it is caught as "null" or as "Anonymous" but haven't found information yet. I would really appreciate any related information anyon... | android|android-studio|null|anonymous|phone-state-listener | 0 | 2022-04-27T01:21:45.737Z | 2,022 | 4 | 1 | 2 | 17 | 0 | 470 | 85 | 5 | 0 | false | true | false | false | false | false | zero |
72,037,928 | Qt6 for android is giving error (build failed due to unknow error) | <p>recently i have installed android for Qt6, also i have installed the required packages.
but when i create my android app using Android <strong>Qt 6.2.4 Clang arm64-v81</strong> or <strong>Android Qt 6.2.4 Clang armeabi-v71</strong> , if i run the project in emulator, after a few seconds of building it is giving me e... | recently i have installed android for Qt6, also i have installed the required packages. but when i create my android app using Android Qt 6.2.4 Clang arm64-v81 or Android Qt 6.2.4 Clang armeabi-v71 , if i run the project in emulator, after a few seconds of building it is giving me error build failed due to unknow error... | android|qt6 | 1 | 2022-04-28T04:08:57.583Z | 2,022 | 4 | 4 | 3 | 17 | 0 | 665 | 66 | 2 | 0 | false | true | false | false | false | false | low |
72,038,770 | Animate camera along with polyline | <p>I have a set of latitude and longitude . And I have to draw polyline connecting these points and I implemented it . I have added a startcap also to that polyline. And now I need to animate the camera along with that startcap of polyline.</p>
<p>Like moving camera on Google map while we are using navigation. ( Making... | I have a set of latitude and longitude . And I have to draw polyline connecting these points and I implemented it . I have added a startcap also to that polyline. And now I need to animate the camera along with that startcap of polyline. Like moving camera on Google map while we are using navigation. ( Making the start... | java|android|google-maps-markers|google-polyline | 0 | 2022-04-28T06:10:17.190Z | 2,022 | 4 | 6 | 3 | 17 | 0 | 356 | 34 | 4 | 0 | false | true | false | false | false | false | zero |
72,046,544 | ArCoreController not found | <p>please help me out solving this error on this code:
I have created a dart class "Arviewpage" but whenever I try to run this program
it throws these types of errors. please help me out m totally frustrated, please
tomorrow is my project presentation but my codes are not running. I have searched for many sol... | please help me out solving this error on this code: I have created a dart class "Arviewpage" but whenever I try to run this program it throws these types of errors. please help me out m totally frustrated, please tomorrow is my project presentation but my codes are not running. I have searched for many soluti... | firebase|flutter|android-studio|dart|dart-null-safety | 0 | 2022-04-28T15:35:07.470Z | 2,022 | 4 | 15 | 3 | 17 | 0 | 405 | 26 | 5 | 2 | true | true | false | false | false | false | zero |
72,058,374 | Same screen specs but ADB reports different pixel density depending on OS version (LDPI/MDPI) | <p>I suspect that later versions of Android OS are forcing MDPI rather than using LDPI. It would be helpful if someone could point me toward info/technical terminology on the exact change in the OS.</p>
<p>I have 2 devices with the same screen resolution and screen size, and the device models are nearly identical. It's... | I suspect that later versions of Android OS are forcing MDPI rather than using LDPI. It would be helpful if someone could point me toward info/technical terminology on the exact change in the OS. I have 2 devices with the same screen resolution and screen size, and the device models are nearly identical. It's a smaller... | android | 0 | 2022-04-29T13:00:00.227Z | 2,022 | 4 | 13 | 4 | 17 | 0 | 792 | 93 | 1 | 0 | false | true | false | false | false | false | zero |
72,059,734 | SearchView adapter - 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference | <p>I have trouble searching my data from the remote server to my RecyclerView. It is showing the above-mentioned error, and the app crashes as soon as I Search from the list. I have highlighted the functions where the error occurs in log cat. I also mentioned where is the function in my classes.</p>
<p><strong>Adapter ... | I have trouble searching my data from the remote server to my RecyclerView. It is showing the above-mentioned error, and the app crashes as soon as I Search from the list. I have highlighted the functions where the error occurs in log cat. I also mentioned where is the function in my classes. Adapter Classs:- [CODE] Mo... | java|android|adapter | 0 | 2022-04-29T14:46:27.157Z | 2,022 | 4 | 14 | 4 | 17 | 0 | 426 | 99 | 3 | 3 | true | true | false | false | false | false | zero |
72,062,173 | Retrieve sub-dependency version in Gradle build script | <p>In an Android project, my team use both Glide with View system and Landscapist-Glide with Jetpack Compose. As Landscapist-Glide is "exposing" Glide with <code>api</code>, I don't need to declare Glide in my dependencies, just Landscapist-Glide. But in some parts of our project we need to use Glide-compiler... | In an Android project, my team use both Glide with View system and Landscapist-Glide with Jetpack Compose. As Landscapist-Glide is "exposing" Glide with api , I don't need to declare Glide in my dependencies, just Landscapist-Glide. But in some parts of our project we need to use Glide-compiler, and as Landsc... | android|gradle|dependency-management | 0 | 2022-04-29T18:15:14.600Z | 2,022 | 4 | 18 | 4 | 17 | 0 | 927 | 54 | 3 | 1 | true | true | false | false | false | false | zero |
72,079,319 | Getting data in recyclerView | <p>i am getting messages from the database into a recycler view but i want to refresh the recycler view every second for to adding different for to getting new messages in recycler view</p>
<p>But i haver an error of getting data please see it <a href="https://www.filemail.com/d/izhittgyibvcjxx" rel="nofollow noreferre... | i am getting messages from the database into a recycler view but i want to refresh the recycler view every second for to adding different for to getting new messages in recycler view But i haver an error of getting data please see it https://www.filemail.com/d/izhittgyibvcjxx my code is [CODE] | mysql|android-studio | 0 | 2022-05-01T18:19:59.900Z | 2,022 | 5 | 18 | 6 | 17 | 0 | 294 | 28 | 2 | 1 | true | true | false | false | false | false | zero |
72,079,612 | AudioRecord: how relevant is the bufferSize? | <p>I am recording audio from the MIC using <code>AudioRecord</code>. In its construction, the last parameter is the <code>bufferSizeInBytes</code>. This buffer has to be bigger than the value obtained from</p>
<pre><code> int minBufferSize = AudioRecord.getMinBufferSize(SampleRate, Channels, AudioEncoding);
</code></pr... | I am recording audio from the MIC using AudioRecord . In its construction, the last parameter is the bufferSizeInBytes . This buffer has to be bigger than the value obtained from [CODE] In my device, this is a strange number: 3528. How important is the value of bufferSizeInBytes to get the smoothest result? I have seen... | android|audio|buffer|audiorecord | 0 | 2022-05-01T18:59:54.757Z | 2,022 | 5 | 18 | 6 | 17 | 0 | 446 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
72,080,212 | Android manual link to dynamic | <p>I want to change static code to a dynamic JSON list</p>
<p>Here my static code:</p>
<pre><code> //The titles of your web items
public static final Object[] TITLES = new Object[]{"Main Page","Gifs","Pngs"};
//The URL's of your web items
public static final String[] URLS = new... | I want to change static code to a dynamic JSON list Here my static code: [CODE] how I can make this dynamic JSON file? | java|android|json | 0 | 2022-05-01T20:32:49.037Z | 2,022 | 5 | 20 | 6 | 17 | 0 | 118 | 30 | 3 | 1 | true | true | false | false | false | false | zero |
72,122,794 | Limit data transfer rate in hotspot programatically in android | <p>How to Limit data transfer rate in wifi hotspot programatically in android</p> | How to Limit data transfer rate in wifi hotspot programatically in android | java|android | 0 | 2022-05-05T06:27:02.393Z | 2,022 | 5 | 6 | 3 | 17 | 0 | 74 | 62 | 2 | 0 | false | true | false | false | false | false | zero |
71,902,490 | setVolume method AudioPlayer is not working - Flutter | <p>The setVolume method of the audio player is not working. For example: When I set the volume value to 0, it should mute the volume, right? but I can still hear the volume despite setting the volume to 0</p>
<pre><code>AudioPlayer audioPlayer = AudioPlayer();
void playMusic() async {
await audioPlayer.setVolume(0); /... | The setVolume method of the audio player is not working. For example: When I set the volume value to 0, it should mute the volume, right? but I can still hear the volume despite setting the volume to 0 [CODE] | android|flutter|dart|media-player | 2 | 2022-04-17T13:57:32.803Z | 2,022 | 4 | 13 | 6 | 273 | 0 | 208 | 53 | 4 | 1 | true | true | false | false | false | false | low |
71,806,944 | Flutter Device Selector dissapeared | <p><a href="https://i.stack.imgur.com/dsYKL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dsYKL.png" alt="My Android Studio appearence" /></a></p>
<p>I've uninstall and install again for several times, but the button 'Flutter Device Selector', sometimes it appears, sometimes gone. I hope you can he... | I've uninstall and install again for several times, but the button 'Flutter Device Selector', sometimes it appears, sometimes gone. I hope you can help solve my android studion problem. | flutter|android-studio|dart|flutter-layout | 0 | 2022-04-09T09:51:10.573Z | 2,022 | 4 | 9 | 5 | 18 | 0 | 185 | 35 | 4 | 0 | false | true | false | false | false | false | zero |
71,810,048 | Multiple Instances of A View- Android Studio | <p>I'm trying to build a simple application on <em>Android Studio</em>.<br>
In it I want to create a line of circles (dynamic number of them) that the user can click each one separately to 'pop' them.<br>
I tried to use <code>ListView</code> as a container for the circles, but it has a scrolling application which I don... | I'm trying to build a simple application on Android Studio . In it I want to create a line of circles (dynamic number of them) that the user can click each one separately to 'pop' them. I tried to use ListView as a container for the circles, but it has a scrolling application which I don't want. I also tried LinearLayo... | xml|android-studio | 1 | 2022-04-09T16:51:00.080Z | 2,022 | 4 | 16 | 5 | 18 | 0 | 512 | 44 | 2 | 0 | false | true | false | false | false | false | low |
71,814,186 | How can I add Extract method and Extract Widget option to Right Click context menu in Android Studio? | <p><a href="https://i.stack.imgur.com/Ss3y6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ss3y6.png" alt="I see this video and he is using right click to extract his method and widget. " /></a>
How can I add Extract method and Extract Widget option to Right Click context menu in Android Studio?</p> | How can I add Extract method and Extract Widget option to Right Click context menu in Android Studio? | android-studio|contextmenu | 0 | 2022-04-10T06:09:08.580Z | 2,022 | 4 | 6 | 6 | 18 | 0 | 101 | 101 | 2 | 0 | false | true | false | false | false | false | zero |
71,894,743 | Set GoogleMap style with animation (Android) | <p>Is this possible to add an animation to the process that changing the map style?
Currently, I'm doing something like this -</p>
<pre><code>mMap.setMapStyle(MapStyleOptions.loadRawResourceStyle(getContext(), R.raw.style));
</code></pre>
<p>It works and the style changes, but with an annoying jitter I want to avoid</p... | Is this possible to add an animation to the process that changing the map style? Currently, I'm doing something like this - [CODE] It works and the style changes, but with an annoying jitter I want to avoid | android|google-maps | 0 | 2022-04-16T14:32:16.093Z | 2,022 | 4 | 14 | 5 | 18 | 0 | 206 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
71,920,245 | How to handle multiple client request asynchronously in a service using AIDL android? | <p>I have common service which exposes functionalities to clients. Multiple clients can connect with the service asynchronously. How can I achieve that using AIDL or is there any other concept available to achieve the same?</p> | I have common service which exposes functionalities to clients. Multiple clients can connect with the service asynchronously. How can I achieve that using AIDL or is there any other concept available to achieve the same? | android|service|ipc|rpc|aidl | 0 | 2022-04-19T05:53:37.630Z | 2,022 | 4 | 5 | 1 | 18 | 0 | 220 | 85 | 5 | 0 | false | true | false | false | false | false | zero |
71,935,603 | Without clicking deep link my app keeps navigating to that particular page | <p>Why my app keep navigate to that deep link page even not clicks the deep link.I want my app to go to dashboard , after I click that deep link only my app should navigate to that page. How to solve this page in my app</p>
<pre><code> navController.navigateUp()
val bundle = Bundle()
sharedPrefer... | Why my app keep navigate to that deep link page even not clicks the deep link.I want my app to go to dashboard , after I click that deep link only my app should navigate to that page. How to solve this page in my app [CODE] | android|navigation|deep-linking | 0 | 2022-04-20T07:17:27.340Z | 2,022 | 4 | 7 | 2 | 18 | 0 | 223 | 74 | 3 | 1 | true | true | false | false | false | false | zero |
71,948,697 | in my android studio external libraries, too many with same name but different versions | <p><a href="https://i.stack.imgur.com/y5VV8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y5VV8.png" alt="enter image description here" /></a></p>
<p>Is it okay for my memory in this project..??
Are they all different each other??</p> | Is it okay for my memory in this project..?? Are they all different each other?? | react-native|android-studio|gradle | 0 | 2022-04-21T03:44:50.097Z | 2,022 | 4 | 3 | 3 | 18 | 0 | 80 | 87 | 3 | 0 | false | true | false | false | false | false | zero |
71,994,296 | How can I get the monthly balance and overall balance using the daily balance from the child of a data in Firebase? | <p>I have a Firebase Realtime Database that stores the public transport vehicle driver's total balance, monthly balance, and daily balance as shown below:</p>
<p><a href="https://i.stack.imgur.com/NPr2Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NPr2Y.png" alt="enter image description here" /></... | I have a Firebase Realtime Database that stores the public transport vehicle driver's total balance, monthly balance, and daily balance as shown below: As you can see, I got the computations wrong. But I want to know how can I be able to add the daily balance of the driver for each day, add it to the monthly balance, t... | javascript|firebase|android-studio|firebase-realtime-database|mobile-application | 1 | 2022-04-25T03:38:38.910Z | 2,022 | 4 | 3 | 0 | 18 | 0 | 446 | 115 | 5 | 0 | false | true | false | false | false | false | low |
71,998,828 | Save position of scroll on webview after page closed | <p>I am having a webview inside my application with multiple links inside. On a one page I have a list of items, but when I am going to an another page and going back to this page, my page can't restore the scroll position. How to save scroll position in this case?</p> | I am having a webview inside my application with multiple links inside. On a one page I have a list of items, but when I am going to an another page and going back to this page, my page can't restore the scroll position. How to save scroll position in this case? | android|android-webview | 0 | 2022-04-25T11:29:20.497Z | 2,022 | 4 | 11 | 0 | 18 | 0 | 262 | 52 | 2 | 0 | false | true | false | false | false | false | zero |
72,001,418 | When decode video with MediaCodec, how to manually stuff the data into the MediaFormat and pass that to configure()? | <p>In <a href="https://android.googlesource.com/platform/cts/+/jb-mr2-release/tests/tests/media/src/android/media/cts/EncodeDecodeTest.java" rel="nofollow noreferrer">EncodeDecodeTest.java</a>, there are these codes:</p>
<pre><code>if ((info.flags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) != 0) {
// Codec conf... | In EncodeDecodeTest.java , there are these codes: [CODE] It says "One way to handle this is to manually stuff the data into the MediaFormat and pass that to configure(). We do that here to exercise the API.", what is that way? or how to handle it manually? | android-mediacodec | 0 | 2022-04-25T14:46:12.020Z | 2,022 | 4 | 14 | 0 | 18 | 0 | 266 | 116 | 1 | 1 | true | true | false | false | false | false | zero |
72,033,671 | How to implement react-native-lottie-splash with kotlin? | <p>The official documentation only refers to modifying the MainActivity.java and MainAplication.java but in my project those files are .kt or Kotlin.</p>
<p>I tried porting the code to Kotlin but it's confusing since I'm not a Kotlin developer.</p>
<p>I'm stuck with this, any help would be appreciated.</p> | The official documentation only refers to modifying the MainActivity.java and MainAplication.java but in my project those files are .kt or Kotlin. I tried porting the code to Kotlin but it's confusing since I'm not a Kotlin developer. I'm stuck with this, any help would be appreciated. | android|react-native|kotlin|splash-screen|lottie | 0 | 2022-04-27T18:28:52.023Z | 2,022 | 4 | 18 | 2 | 18 | 0 | 286 | 56 | 5 | 0 | false | true | false | false | false | false | zero |
72,040,768 | inserting Start, Stop and differenece time into sql database an android studio java language | <p>I have wrote a code when I click on button start it show current time and turn text into stop then I click on stop it show me stop current time and calculate difference. after that I made a class to insert all these three start stop and difference into SQL database.
my problem is when I click on stop button it show ... | I have wrote a code when I click on button start it show current time and turn text into stop then I click on stop it show me stop current time and calculate difference. after that I made a class to insert all these three start stop and difference into SQL database. my problem is when I click on stop button it show me ... | java|android|sql | 0 | 2022-04-28T08:55:06.520Z | 2,022 | 4 | 8 | 3 | 18 | 0 | 455 | 92 | 3 | 1 | true | true | false | false | false | false | zero |
72,046,871 | Fragment add exit custom animation not working working when fragment is Added Android | <p>The custom exit animation works for <code>replace</code> but not for <code>add</code></p>
<pre><code>getNavFragment()
.childFragmentManager
.beginTransaction()
.setCustomAnimations(
enter,
exit,
popEnter,
popExit
)
.add(R.id.fl_f... | The custom exit animation works for replace but not for add [CODE] | android|android-fragments|fragmentmanager | 0 | 2022-04-28T16:00:36.063Z | 2,022 | 4 | 16 | 3 | 18 | 0 | 66 | 85 | 3 | 1 | true | true | false | false | false | false | zero |
72,055,796 | How can I enforce returning to my app when starting google navigation with an intent | <p>I call Google Maps with an Intent like this:</p>
<pre><code>Intent mapIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("google.navigation:q=" + lat + "," + lon + "&mode=d"));
mapIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mapIntent.setPackage("com.google.android.apps.maps&... | I call Google Maps with an Intent like this: [CODE] Now I want to return to my app automatically when arriving at the destination. How can I achieve that? Bonus question: Can I retrieve some information from Maps about the route like duration? | android|google-maps|android-intent | 0 | 2022-04-29T09:31:14.900Z | 2,022 | 4 | 9 | 4 | 18 | 0 | 243 | 84 | 3 | 1 | true | true | false | false | false | false | zero |
72,063,477 | Regression Testing Unity game on Real Devices (windows, iOS, and android) | <p>I am trying to perform regression test on my own devices, e.g iPhones and Android phones. I have read about services such as Appium, but I'd rather perform these tests locally. How do I go about this? Any help is much appreciated.</p> | I am trying to perform regression test on my own devices, e.g iPhones and Android phones. I have read about services such as Appium, but I'd rather perform these tests locally. How do I go about this? Any help is much appreciated. | android|ios|windows|testing | 0 | 2022-04-29T20:41:13.280Z | 2,022 | 4 | 20 | 4 | 18 | 0 | 230 | 73 | 4 | 0 | false | true | false | false | false | false | zero |
72,074,360 | Which method of sending messages in Firebase can be better for displaying notifications? | <p>I had an important question about Firebase and notifications:
In Firebase we have two types of messages: notification and data
In the case of notification, we have nothing to do with how the notification is displayed on the front end (I use a flutter),
But for data we can set it with packages like flutter_local_noti... | I had an important question about Firebase and notifications: In Firebase we have two types of messages: notification and data In the case of notification, we have nothing to do with how the notification is displayed on the front end (I use a flutter), But for data we can set it with packages like flutter_local_notific... | android|firebase|flutter|firebase-cloud-messaging | 0 | 2022-05-01T05:59:31.577Z | 2,022 | 5 | 5 | 6 | 18 | 0 | 1,444 | 88 | 4 | 0 | false | true | false | false | false | false | zero |
72,138,481 | Flutter external apps automatic interactions | <p>Is there anyway I can automatically interact with external apps on android using flutter ?</p>
<p>Example:</p>
<p>There’s a list of musics.</p>
<p>A user click on one, the app automatically opens YouTube, search and play the song.</p>
<p>Can this be achieved using flutter ?</p> | Is there anyway I can automatically interact with external apps on android using flutter ? Example: There’s a list of musics. A user click on one, the app automatically opens YouTube, search and play the song. Can this be achieved using flutter ? | android|flutter|react-native | 0 | 2022-05-06T08:32:00.030Z | 2,022 | 5 | 8 | 4 | 18 | 0 | 246 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
71,791,264 | How to return new DatePickerDialog in DatePickerFragment | <p>I am trying to create a calendar fragment and I have created a DatePickerFragment to do so. I have gotten my source code from <a href="https://gist.github.com/codinginflow/53a4885e0829981e7f64e78eec8a32b7" rel="nofollow noreferrer">https://gist.github.com/codinginflow/53a4885e0829981e7f64e78eec8a32b7</a>
and have ad... | I am trying to create a calendar fragment and I have created a DatePickerFragment to do so. I have gotten my source code from https://gist.github.com/codinginflow/53a4885e0829981e7f64e78eec8a32b7 and have adjusted it so I can click a button inside a fragment and pick my date on the calendar. But when I try to use my Da... | android-fragments|android-dialogfragment|android-studio-3.0|android-calendar|datepickerdialog | 0 | 2022-04-08T03:10:16.953Z | 2,022 | 4 | 3 | 4 | 19 | 0 | 599 | 56 | 5 | 1 | true | true | false | false | false | false | zero |
71,863,301 | I am uploading two different images in android upload in server through volley | <pre><code>public class MainRegister extends AppCompatActivity {
ImageView imageView, imageView2;
Button buttonUploadImage;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_register);
//initiali... | [CODE] In this section text is upload but i'm trying to upload 2 different images through volley but image does not upload in this code. what is wrong in this code? [CODE] | java|android|android-volley | 0 | 2022-04-13T20:06:41.913Z | 2,022 | 4 | 20 | 2 | 19 | 0 | 171 | 78 | 3 | 2 | true | true | false | false | false | false | zero |
71,866,619 | Android Studio Media Player Issue | <p>I am having issues with running a List through the media player function. Each variable in the list has been hardcoded to correspond to an audio URL for a specific note and I'm using a <em>for</em> loop to loop through the list. I am able to pass the list without any errors and I've used the logcat to confirm the li... | I am having issues with running a List through the media player function. Each variable in the list has been hardcoded to correspond to an audio URL for a specific note and I'm using a for loop to loop through the list. I am able to pass the list without any errors and I've used the logcat to confirm the list is being ... | javascript|loops|arraylist|android-mediaplayer | 1 | 2022-04-14T04:46:24.743Z | 2,022 | 4 | 4 | 3 | 19 | 0 | 652 | 33 | 4 | 0 | false | true | false | false | false | false | low |
71,881,875 | kotlin- mathematical calculation problem with double numbers | <p>I'm having a problem with calculating this:
<a href="https://i.stack.imgur.com/85Jx7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/85Jx7.png" alt="a22" /></a></p>
<p>as you can see
the a11=50000.0
the a22=0.00904</p>
<p>the result of tedadRool is a22 * 10000 that is 90.4
but the result I get fro... | I'm having a problem with calculating this: as you can see the a11=50000.0 the a22=0.00904 the result of tedadRool is a22 * 10000 that is 90.4 but the result I get from it is 90.39999999 all variables are in double . what's wrong with this ? | android|kotlin | 0 | 2022-04-15T08:43:12.320Z | 2,022 | 4 | 8 | 4 | 19 | 0 | 241 | 60 | 2 | 0 | false | true | false | false | false | false | zero |
71,896,434 | Why do I get a different place id on android maps sdk vs the place details api for that same id? | <p>When I tap a POI on the map on android google maps sdk, I get the following place_id:</p>
<p><code>ChIJAAAAAAAAAAARQ5hwJsast6s</code></p>
<p>When I request place details API with this id, I get a response with details for this place, but the place_id in the response is different:</p>
<p><code>place_id: 'ChIJfVpQRQq_... | When I tap a POI on the map on android google maps sdk, I get the following place_id: ChIJAAAAAAAAAAARQ5hwJsast6s When I request place details API with this id, I get a response with details for this place, but the place_id in the response is different: place_id: 'ChIJfVpQRQq_woARQ5hwJsast6s', What is going on here? Wh... | android|google-maps|google-maps-android-api-2 | 0 | 2022-04-16T18:24:12.483Z | 2,022 | 4 | 18 | 5 | 19 | 0 | 505 | 96 | 3 | 0 | false | true | false | false | false | false | zero |
71,930,209 | AuthState save and restore value | <p>I am building an app using AppAuth from OpenId. I am adding biometrics on Android in order to protect the app. My goal is to encrypt the AutState object, so when I am having the app in bkg, the AuthState object is cleared and I update it when I come back to the app when decyphering.</p>
<pre><code> private fun encry... | I am building an app using AppAuth from OpenId. I am adding biometrics on Android in order to protect the app. My goal is to encrypt the AutState object, so when I am having the app in bkg, the AuthState object is cleared and I update it when I come back to the app when decyphering. [CODE] the viewModel.getAuthState() ... | android|kotlin|openid-connect|openid | 0 | 2022-04-19T19:18:41.800Z | 2,022 | 4 | 19 | 1 | 19 | 0 | 828 | 32 | 4 | 2 | true | true | false | false | false | false | zero |
71,931,385 | Set Error in Password Field but keep the password_toggle | <p>How can I keep the <code>password_toggle</code> when Im using <code>setError()</code> in a <code>TextInputLayout?</code>
I tried by using this in code:</p>
<pre><code>textInputLayoutPasswordNewUser.setEndIconMode(TextInputLayout.END_ICON_PASSWORD_TOGGLE);
</code></pre>
<p>XML CODE:</p>
<pre><code><com.google.andr... | How can I keep the password_toggle when Im using setError() in a TextInputLayout? I tried by using this in code: [CODE] XML CODE: [CODE] This is my validation class: [CODE] | java|android|xml|android-layout | 1 | 2022-04-19T21:07:55.427Z | 2,022 | 4 | 21 | 1 | 19 | 0 | 172 | 56 | 4 | 3 | true | true | false | false | false | false | low |
71,952,279 | How can I block dialogs in other fragments using Navigation? | <p>When I open an dialog and navigate the screen from A Fragment to B Fragment,
The dialog is still shown above B Fragment.</p>
<p>I do dismiss & null to the dialog fragment property. But still, sometimes, it exists.
So, What I do is, calling this in B Fragment. (In this case, Bottom Sheet)</p>
<pre><code>(requireA... | When I open an dialog and navigate the screen from A Fragment to B Fragment, The dialog is still shown above B Fragment. I do dismiss & null to the dialog fragment property. But still, sometimes, it exists. So, What I do is, calling this in B Fragment. (In this case, Bottom Sheet) [CODE] This is better, but it doesn't ... | android|android-alertdialog|android-navigation|dialogfragment | 0 | 2022-04-21T09:43:13.567Z | 2,022 | 4 | 9 | 3 | 19 | 0 | 890 | 60 | 4 | 2 | true | 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.