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,301,739 | When gets CompanionDeviceManager.Callback#onFailure called | <p>I am currently implementing companion device pairing and I am wondering when the CompanionDeviceManager.Callback#onFailure is called. The <a href="https://developer.android.com/reference/android/companion/CompanionDeviceManager.Callback#onFailure(java.lang.CharSequence)" rel="nofollow noreferrer">official documentat... | I am currently implementing companion device pairing and I am wondering when the CompanionDeviceManager.Callback#onFailure is called. The official documentation is not really specific ("Invoked if the association could not be created"). If possible I would provide our users a instruction what has failed. Does... | android | 1 | 2022-05-19T09:10:26.677Z | 2,022 | 5 | 9 | 3 | 19 | 0 | 367 | 58 | 1 | 0 | false | true | false | false | false | false | low |
72,301,741 | How to create a resizable emulator in Android Studio Chipmunk | <p>With the Android Studio Chipmunk release 2021.2.1 it should be possible to create a <strong>resizable emulator</strong> as it is described here: <a href="https://developer.android.com/about/versions/12/12L/get#resizable-emulator" rel="nofollow noreferrer">https://developer.android.com/about/versions/12/12L/get#resiz... | With the Android Studio Chipmunk release 2021.2.1 it should be possible to create a resizable emulator as it is described here: https://developer.android.com/about/versions/12/12L/get#resizable-emulator . But I am unsure how to create one. Where can I find the resizable device definition in the Device Manager? There is... | android|mobile|emulation|resizable|android-studio-chipmunk | 0 | 2022-05-19T09:10:38.297Z | 2,022 | 5 | 9 | 3 | 701 | 2 | 473 | 61 | 5 | 0 | false | false | false | false | false | false | zero |
72,301,778 | Android Unit Test : test if doc is opened in storage | <p>I am new to Android Unit testing. I have an activity that has a <code>FAB</code>. On clicking the <code>FAB</code>, user is prompted to select a file from storage. Here is my activity:</p>
<pre><code>class MainActivity : AppCompatActivity()
{
override fun onCreate(savedInstanceState: Bundle?)
{
super... | I am new to Android Unit testing. I have an activity that has a FAB . On clicking the FAB , user is prompted to select a file from storage. Here is my activity: [CODE] After the selected file is loaded successfully in fragment , I receive a callback onSuccess() as written in openDocument() function. I wanted it to writ... | android|robolectric|android-unit-testing|activity-scenario | 0 | 2022-05-19T09:13:05.310Z | 2,022 | 5 | 9 | 3 | 18 | 0 | 568 | 52 | 4 | 1 | true | true | false | false | false | false | zero |
72,301,789 | how to Increase speed of build time ,in android studio | <p>Nothing to do just first you go and update all the library in app and project level gradel library
and then go to in gradle.property
and paste it.</p>
<p>myMinSdkVersion=21</p>
<p>org.gradle.daemon=true</p>
<p>org.gradle.parallel=true</p>
<p>myTargetSdkVersion=32</p>
<p>org.gradle.jvmargs=-Xmx8192M</p>
<p>android.e... | Nothing to do just first you go and update all the library in app and project level gradel library and then go to in gradle.property and paste it. myMinSdkVersion=21 org.gradle.daemon=true org.gradle.parallel=true myTargetSdkVersion=32 org.gradle.jvmargs=-Xmx8192M android.enableJetifier = true android.useAndroidX=true ... | android-studio|gradle | 0 | 2022-05-19T09:13:41.587Z | 2,022 | 5 | 9 | 3 | 82 | 0 | 585 | 54 | 2 | 1 | true | true | false | false | false | false | zero |
72,301,814 | Android online mediaplayer with seekbar and play pause button | <p>I want to make a list in recyclerview which each item has a play pause button and a seekbar. I finally used this code to make it, but when I click on play button, it crashes and it is not working.</p>
<p>This code works when your media is offline, but when I want to use it on online mode and get the file from a URL,... | I want to make a list in recyclerview which each item has a play pause button and a seekbar. I finally used this code to make it, but when I click on play button, it crashes and it is not working. This code works when your media is offline, but when I want to use it on online mode and get the file from a URL, it cause ... | java|android|android-recyclerview|android-mediaplayer | 0 | 2022-05-19T09:15:34.787Z | 2,022 | 5 | 9 | 3 | 110 | 1 | 864 | 61 | 4 | 1 | true | false | false | false | false | false | zero |
72,301,897 | Array List duplicate items in Android Studio | <p>I know this is common to ask but I've already trying <code>clear()</code> the items since before initiate the function, but it seems it always duplicate the items, This date is comes from my <code>MySql</code> database but I've check my <code>SQL</code> but it does not duplicate names and I think the problems is in ... | I know this is common to ask but I've already trying clear() the items since before initiate the function, but it seems it always duplicate the items, This date is comes from my MySql database but I've check my SQL but it does not duplicate names and I think the problems is in code in java which rendered ArratList but ... | java|android|mysql|mobile | 0 | 2022-05-19T09:20:47.873Z | 2,022 | 5 | 9 | 3 | 30 | 1 | 471 | 44 | 4 | 1 | true | false | false | false | false | false | zero |
72,302,034 | How to get a coordinate and then check if the device in the radius of the coordinate then return true and using a fusedlocation android studio kotlin | <pre><code> private val lastLocation: Unit
get() {
if (checkPermissions()) {
if (isLocationEnabled) {
mFusedLocationClient!!.lastLocation.addOnCompleteListener { task ->
val location = task.result
if (location... | [CODE] this is my code but i cant get the radius of the latitude and longitude im already tried like using Distanceto but nothing help maybe someone can actually help me | android|kotlin|dictionary|coordinates|radius | 0 | 2022-05-19T09:30:21.320Z | 2,022 | 5 | 9 | 3 | 115 | 0 | 169 | 149 | 5 | 1 | true | true | false | false | false | false | zero |
72,302,099 | Hide sound recording notification programatically in Android 12 | <p>In Android 12, when I start recording a sound, it appears to the user that my application is recording a sound. How can I hide this notification programmatically?</p>
<p><a href="https://i.stack.imgur.com/09f2Y.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/09f2Y.jpg" alt="" /></a></p> | In Android 12, when I start recording a sound, it appears to the user that my application is recording a sound. How can I hide this notification programmatically? | android|android-notifications|audio-recording | 0 | 2022-05-19T09:34:07.527Z | 2,022 | 5 | 9 | 3 | 69 | 0 | 162 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
72,302,113 | Remeasure NestedScrollView height after adding a new view | <p>I have a <code>NestedScrollView</code> that inside of it contains multiple <code>CardViews</code>. The last card in the list has a button that when tapped adds a <code>LinearLayout</code> at the bottom of the card which contains a list of things. At the same time when tapping on that button I also want the card to b... | I have a NestedScrollView that inside of it contains multiple CardViews . The last card in the list has a button that when tapped adds a LinearLayout at the bottom of the card which contains a list of things. At the same time when tapping on that button I also want the card to be scrolled to the top of the screen. The ... | android|kotlin|scrollview|android-nestedscrollview | 0 | 2022-05-19T09:34:55.840Z | 2,022 | 5 | 9 | 3 | 55 | 0 | 802 | 57 | 4 | 1 | true | true | false | false | false | false | zero |
72,302,182 | Show progress dialog based on database table insert in android studio | <p>When I click the button all the APIs values used in my project, are getting store in database, so for that storing time I need to show a progress dialog with loading percentage. Below is the code am using now.</p>
<pre><code>pdialog.setCanceledOnTouchOutside(false);
pdialog.setTitle("Master Sync Is In P... | When I click the button all the APIs values used in my project, are getting store in database, so for that storing time I need to show a progress dialog with loading percentage. Below is the code am using now. [CODE] The above code is work for me when I adjust the sleep time, but I need to show the progress dialog base... | java|android|android-studio | 0 | 2022-05-19T09:39:10.830Z | 2,022 | 5 | 9 | 3 | 19 | 0 | 351 | 69 | 3 | 1 | true | true | false | false | false | false | zero |
72,302,189 | Google Assistant - Intents are either not triggering or not directing users to the intended app content and functionality | <p>Custom intents are either not triggering or not directing users to the intended app content and functionality. In rejection mail sent after review it is mentioned that "Start record drive" works correctly, but the other three parameters ("Stop record drive", "Pause record drive" and &q... | Custom intents are either not triggering or not directing users to the intended app content and functionality. In rejection mail sent after review it is mentioned that "Start record drive" works correctly, but the other three parameters ("Stop record drive", "Pause record drive" and "... | android|google-assistant|app-actions | 0 | 2022-05-19T09:39:24.727Z | 2,022 | 5 | 9 | 3 | 58 | 0 | 641 | 121 | 3 | 0 | false | true | false | false | false | false | zero |
72,302,241 | How to handle bottom navigation bar's fragments? | <p>I have four fragments attached in my bottom nav bar. Now I am trying to go from one this fragments to any other fragment by clicking on a cardview. This is working perfectly but when I am going to that fragment to any other fragment(which are attached in nav bar) and pressing back button something weird overlapping ... | I have four fragments attached in my bottom nav bar. Now I am trying to go from one this fragments to any other fragment by clicking on a cardview. This is working perfectly but when I am going to that fragment to any other fragment(which are attached in nav bar) and pressing back button something weird overlapping is ... | android|android-fragments|onbackpressed|android-bottomnav | 0 | 2022-05-19T09:43:24.483Z | 2,022 | 5 | 9 | 3 | 205 | 1 | 589 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
72,302,372 | Why ViewModel is still alive after I replaced fragment in Android? | <p>I use BottomNavigation in Android,But,After I replace RotationFragment to ScaleFragment,Back to BottomNavigationFragment,RotationViewModel's rotation value always alive</p>
<h1>MainActivity</h1>
<pre><code>class MainActivity : AppCompatActivity() {
lateinit var binding : ActivityMainBinding
override fun onCr... | I use BottomNavigation in Android,But,After I replace RotationFragment to ScaleFragment,Back to BottomNavigationFragment,RotationViewModel's rotation value always alive MainActivity [CODE] RotationFragment When image clicking,after rotation value add 100,use animator rotation image and save (rotation+100) to ViewModel ... | android-bottomnavigationview | 0 | 2022-05-19T09:51:17.797Z | 2,022 | 5 | 9 | 3 | 5 | 0 | 528 | 66 | 1 | 3 | true | true | false | false | false | false | zero |
72,302,374 | How to make a button invisible even when I refresh a page depending on a label content in xamarin forms | <p>When I click on the button it becomes hidden, however when I refresh the page it is still there. How to make it stay hidden depending on a content in a label?</p>
<pre><code> private void Button3_Clicked(object sender, EventArgs e)
{
App.products[Index].Quantity++;
Button btn = (Butto... | When I click on the button it becomes hidden, however when I refresh the page it is still there. How to make it stay hidden depending on a content in a label? [CODE] I want this Button to stay hidden when the page is refreshed depending on this value App.products[Index].Quantity . When I click on the Button it becomes ... | c#|xamarin|button|xamarin.android|show-hide | 0 | 2022-05-19T09:51:32.980Z | 2,022 | 5 | 9 | 3 | 44 | 1 | 382 | 103 | 5 | 1 | true | false | false | false | false | false | zero |
72,302,444 | Edit and save document into a preferred directory in iPhone | <p>I'm using WPS office to edit document into my Flutter app. But, WPS office allows only to <strong>save</strong> into <code>Document/Local</code> directory. I can't access any other directory even while I'm opening a document with WPS office manually. How can I save or save as(replace the document with previous one) ... | I'm using WPS office to edit document into my Flutter app. But, WPS office allows only to save into Document/Local directory. I can't access any other directory even while I'm opening a document with WPS office manually. How can I save or save as(replace the document with previous one) the edited document into Download... | android|ios|flutter|dart | 0 | 2022-05-19T09:54:46.897Z | 2,022 | 5 | 9 | 3 | 77 | 1 | 428 | 59 | 4 | 0 | false | false | false | false | false | false | zero |
72,302,508 | Using on newer Android Studio old library (or apply effect on text in another way) to do "Star Wars" credits style | <p>I have a newer project on Android Studio (Windows 10) that consists in a "Vader Says" inspired in "Simon Says" (Star Wars version).
I have a class that manages scores and does a credits effect moving lines from bottom to top. I have been searching a way to apply the Star Wars credits that moves s... | I have a newer project on Android Studio (Windows 10) that consists in a "Vader Says" inspired in "Simon Says" (Star Wars version). I have a class that manages scores and does a credits effect moving lines from bottom to top. I have been searching a way to apply the Star Wars credits that moves smal... | android|text|windows-10|effects | 0 | 2022-05-19T09:58:58.163Z | 2,022 | 5 | 9 | 3 | 34 | 0 | 1,021 | 114 | 4 | 1 | true | true | false | false | false | false | zero |
72,302,612 | How can I create an android app which records video in background? | <p>I want to create an android app which records video in background. There are apps available which record video on background when phone is on standby and I want to create the same app in android studio using Java programming language.
Camera and Media Recorder using background Service.</p> | I want to create an android app which records video in background. There are apps available which record video on background when phone is on standby and I want to create the same app in android studio using Java programming language. Camera and Media Recorder using background Service. | java|android|background|media|recorder | 0 | 2022-05-19T10:05:48.603Z | 2,022 | 5 | 10 | 3 | 33 | 0 | 286 | 66 | 5 | 0 | false | true | false | false | false | false | zero |
72,302,654 | Chain Completable and a Single RxJava + Retrofit | <p>In My repository, I have two API calls that should be done sequentially.</p>
<ol>
<li>First API call returns Completable -> If this API call fails, we should not proceed further, if it succeeds we should continue with the second API call</li>
<li>Second API call returns Single -> If this API call fails, we sho... | In My repository, I have two API calls that should be done sequentially. First API call returns Completable -> If this API call fails, we should not proceed further, if it succeeds we should continue with the second API call Second API call returns Single -> If this API call fails, we should NOT throw an error and we c... | android|kotlin|retrofit|rx-java | 0 | 2022-05-19T10:08:52.010Z | 2,022 | 5 | 10 | 3 | 49 | 2 | 628 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
72,302,747 | Flutter MapBox map display/layout issue on Android | <p>I am new to Flutter and trying to integrate a MapBox map with Turn by Turn navigation in an iOS and Android app.</p>
<p>I am using the <a href="https://pub.dev/packages/flutter_mapbox_navigation" rel="nofollow noreferrer">flutter_mapbox_navigation</a> package and <a href="https://github.com/eopeter/flutter_mapbox_na... | I am new to Flutter and trying to integrate a MapBox map with Turn by Turn navigation in an iOS and Android app. I am using the flutter_mapbox_navigation package and MapBoxNavigationView . iOS: Works as expected Android API 30: the mapbox logo seems to indicate that the widget is at the right place but the map itself i... | android|flutter|layout|navigation|mapbox | 0 | 2022-05-19T10:14:45.323Z | 2,022 | 5 | 10 | 3 | 551 | 1 | 1,031 | 50 | 5 | 2 | true | false | false | false | false | false | zero |
72,302,772 | Flutter - How to stop Flutter from repeatedly downloading Gradle zip file and resolving fine dependencies | <p>This issue started haunting me again after upgraded to Flutter 3.0.</p>
<p>I getting tired with running Flutter app on multiple devices when it repeatedly keeps redownloading Gradle zip file and all those jar and pom files just because it encounters one error that occurred only because of the poor internet connectio... | This issue started haunting me again after upgraded to Flutter 3.0. I getting tired with running Flutter app on multiple devices when it repeatedly keeps redownloading Gradle zip file and all those jar and pom files just because it encounters one error that occurred only because of the poor internet connection which is... | android|flutter|gradlew | 1 | 2022-05-19T10:16:16.160Z | 2,022 | 5 | 10 | 3 | 157 | 0 | 889 | 105 | 3 | 0 | false | true | false | false | false | false | low |
72,302,865 | Play Integrity local verification | <p>I am trying to integrate the play integrity check in my app to make sure that my app is not installed on a rooted Android device. I can successfully obtain the integrity token response as guided in the google <a href="https://developer.android.com/google/play/integrity/verdict#request" rel="nofollow noreferrer">docu... | I am trying to integrate the play integrity check in my app to make sure that my app is not installed on a rooted Android device. I can successfully obtain the integrity token response as guided in the google document . But I am trying to verify it in my locally and close the app if its installed on a rooted device. Fo... | android|base64|playback|integrity | 3 | 2022-05-19T10:23:14.987Z | 2,022 | 5 | 10 | 3 | 510 | 1 | 536 | 33 | 4 | 0 | false | false | false | false | false | false | low |
72,303,019 | Buildozer fails to compile apk (SDK not specified) | <p>I am trying to create an apk from a kivy app and I am having problems with the process. I have followed different tutorials for Ubuntu virtual machine and following the standard buildozer step I can compile a simple "hello world" test app.</p>
<p>However, when compiling the more complex app I created I alw... | I am trying to create an apk from a kivy app and I am having problems with the process. I have followed different tutorials for Ubuntu virtual machine and following the standard buildozer step I can compile a simple "hello world" test app. However, when compiling the more complex app I created I always run in... | python|android|kivy|buildozer | 0 | 2022-05-19T10:35:08.117Z | 2,022 | 5 | 10 | 3 | 33 | 0 | 859 | 50 | 4 | 0 | false | true | false | false | false | false | zero |
72,303,051 | How to enable user to choose icon for an item in recyclerview? | <p>I'm building a simple groceries app. When user cliks on fab, DialogFragment is shown with input text with name, brand and quantity. I would like the user to also choose icon of the product he wants to add to the grocery list. How can I do it?
It should be a list of icons that I will have stored in my DB.</p> | I'm building a simple groceries app. When user cliks on fab, DialogFragment is shown with input text with name, brand and quantity. I would like the user to also choose icon of the product he wants to add to the grocery list. How can I do it? It should be a list of icons that I will have stored in my DB. | android|kotlin|android-recyclerview|icons|dialogfragment | 0 | 2022-05-19T10:37:35.513Z | 2,022 | 5 | 10 | 3 | 31 | 1 | 305 | 62 | 5 | 0 | false | false | false | false | false | false | zero |
72,303,061 | I want an excel file to be displayed in my Android app preloaded from firebase | <p>The bottom line is that the administrator will upload an excel spreadsheet with the schedule of students to the firebase database. It is necessary to make sure that this file is read and uploaded to the application for each user in a format converted to a normal form. I will make 5 rows for each day (5 lessons) and ... | The bottom line is that the administrator will upload an excel spreadsheet with the schedule of students to the firebase database. It is necessary to make sure that this file is read and uploaded to the application for each user in a format converted to a normal form. I will make 5 rows for each day (5 lessons) and for... | android|excel|firebase | 0 | 2022-05-19T10:38:29.957Z | 2,022 | 5 | 10 | 3 | 20 | 0 | 461 | 78 | 3 | 0 | false | true | false | false | false | false | zero |
72,303,067 | How do I bind a switch to a property in Xamarin in an Android app in a content view? | <p>I'm creating my first Android App in VS 2022 with Xamarin and now I have to bind a switch to a label to show the user what on/off means. Multiple times so I made a content view:</p>
<pre><code><ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft... | I'm creating my first Android App in VS 2022 with Xamarin and now I have to bind a switch to a label to show the user what on/off means. Multiple times so I made a content view: [CODE] [CODE] Some stuff is auto complete by Visual Studio 2022 and looks like it'd do what I need but nothing happpens when I toogle the swit... | c#|android|xamarin|xamarin.forms|binding | 1 | 2022-05-19T10:38:58.623Z | 2,022 | 5 | 10 | 3 | 88 | 1 | 462 | 84 | 5 | 2 | true | false | false | false | false | false | low |
72,303,176 | How to resize the application display on android after building from Ionic Web | <p><a href="https://i.stack.imgur.com/fKFEm.png" rel="nofollow noreferrer">Please click here to View My application when run on Web</a>
<a href="https://i.stack.imgur.com/gKsFL.png" rel="nofollow noreferrer">This Image is the view when the Application runs on Android Device </a></p>
<p>This is how my application looks ... | Please click here to View My application when run on Web This Image is the view when the Application runs on Android Device This is how my application looks (img is sample home page) but after the APK is generated the top section/header of the application is trimmed with the display in all the pages of my application | android|angular|angular8|ionic5 | 0 | 2022-05-19T10:47:20.857Z | 2,022 | 5 | 10 | 3 | 21 | 0 | 318 | 78 | 4 | 0 | false | true | false | false | false | false | zero |
72,303,280 | i tried to make calculator in android studio but my gradle building is getting failed everytime | <p>while making a calculator app in android studio i wrote whole xml file the java file is untouched but when i tried to execute the file in my physical device the gradle build is getting failed</p>
<p>THIS IS MY .XML FILE</p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<androidx.... | while making a calculator app in android studio i wrote whole xml file the java file is untouched but when i tried to execute the file in my physical device the gradle build is getting failed THIS IS MY .XML FILE [CODE] this is the exact error i am facing Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$Wor... | java|android|xml|android-studio | 0 | 2022-05-19T10:55:00.430Z | 2,022 | 5 | 10 | 3 | 61 | 0 | 518 | 95 | 4 | 2 | true | true | false | false | false | false | zero |
72,303,369 | sending two intents with a press of a button | <p>I am creating my first app and I would like to know if it is possible to have two intents linked to a single button. My goal is: when the button is pressed it sends out an SMS and then makes a call, this is the call method which works I would like to know if there is a way to hard code an SMS and have it sent when t... | I am creating my first app and I would like to know if it is possible to have two intents linked to a single button. My goal is: when the button is pressed it sends out an SMS and then makes a call, this is the call method which works I would like to know if there is a way to hard code an SMS and have it sent when the ... | java|android|android-studio | 0 | 2022-05-19T11:00:54.110Z | 2,022 | 5 | 11 | 3 | 38 | 1 | 350 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
72,303,381 | android (flutter) - App downloaded from Google Play Store crashing after Splash screen in Android 12, but working fine locally even in release build | <p>We have had our app published to Play Store for a very long time. but recently we got this issue in Android 12.</p>
<p><a href="https://i.stack.imgur.com/n6QAD.png" rel="nofollow noreferrer">Image showing Google Play Console</a></p>
<p>There are two types of APK in Play Console</p>
<ol>
<li>Original File</li>
<li>Di... | We have had our app published to Play Store for a very long time. but recently we got this issue in Android 12. Image showing Google Play Console There are two types of APK in Play Console Original File Distribution APK this problem is happening in the distribution app I checked the logcat with adb but it's only showin... | android|flutter|apk|google-play-console|android-12 | 0 | 2022-05-19T11:01:59.723Z | 2,022 | 5 | 11 | 3 | 111 | 1 | 605 | 148 | 5 | 0 | false | false | false | false | false | false | zero |
72,303,412 | Best practice for static references in libgdx project? | <p>My libGDX / box2d project is targeting Android, iOS and Desktop as a platform. I have read somewhere that it is not good to use a static Texture Atlas, because it might be removed from the memory, once the app is in background. Therefore I am passing the same Texture Atlas as parameter to my controller classes, but ... | My libGDX / box2d project is targeting Android, iOS and Desktop as a platform. I have read somewhere that it is not good to use a static Texture Atlas, because it might be removed from the memory, once the app is in background. Therefore I am passing the same Texture Atlas as parameter to my controller classes, but I s... | android|libgdx|box2d|game-development | 0 | 2022-05-19T11:03:25.947Z | 2,022 | 5 | 11 | 3 | 30 | 1 | 605 | 54 | 4 | 1 | true | false | false | false | false | false | zero |
72,303,477 | How to add KML file onto a mapfragment? | <p>So I'm trying to overlay KML file on Google Maps fragment with no success (documentation didn't help me unfortunately <a href="https://developers.google.com/maps/documentation/android-sdk/utility/kml" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/android-sdk/utility/kml</a>) and I tried ... | So I'm trying to overlay KML file on Google Maps fragment with no success (documentation didn't help me unfortunately https://developers.google.com/maps/documentation/android-sdk/utility/kml ) and I tried solutions from other answers with no luck.. Code I have is following (implemented according to documentation, atlea... | java|android|google-maps|kml | 1 | 2022-05-19T11:08:56.850Z | 2,022 | 5 | 11 | 3 | 34 | 1 | 384 | 39 | 4 | 1 | true | false | false | false | false | false | low |
72,303,701 | Shared view model in android compose project while using Hilt for dependency injection? | <p>Anyone has any clue how to retain a shared view model object across different composables?
I'm using hilt and injecting viewmodel instance using hilt in composable.
Basically there are 3 screens which share same data and changes I want to share it and I'm thinking of sharing this data through a shared view model.</p... | Anyone has any clue how to retain a shared view model object across different composables? I'm using hilt and injecting viewmodel instance using hilt in composable. Basically there are 3 screens which share same data and changes I want to share it and I'm thinking of sharing this data through a shared view model. [CODE... | android-jetpack-compose|viewmodel|android-mvvm | 1 | 2022-05-19T11:25:54.840Z | 2,022 | 5 | 11 | 3 | 650 | 1 | 377 | 87 | 3 | 1 | true | false | false | false | false | false | low |
72,303,835 | Error code 12 in Biometric Authentication - device have only FaceID | <p>I am doing login validation with Biometric prompt <strong>dependency:usedandroidx.biometric:biometric-ktx:1.2.0-alpha04</strong> checked the hardware supported or not using this code</p>
<pre><code>fun isBiometricHardWareAvailable(con: Context): Boolean {
var result = false
val biometricManager = BiometricManager.f... | I am doing login validation with Biometric prompt dependency:usedandroidx.biometric:biometric-ktx:1.2.0-alpha04 checked the hardware supported or not using this code [CODE] Checked this code with Samsung S10 mobile both Fignerprint and faceId working fine.My device(Tablet) have only on FaceId how to check with faceId? ... | android|kotlin|android-biometric-prompt|android-biometric | 2 | 2022-05-19T11:35:29.157Z | 2,022 | 5 | 11 | 3 | 171 | 0 | 414 | 67 | 4 | 1 | true | true | false | false | false | false | low |
72,303,895 | Android Studio: How to get information from notification intents? | <p>I have a notification from a Foreground Service, this notification has two intents that shows the app/activity, but one of this intent also request the activity to execute some code, BUT I can't differentiate between these intents!!</p>
<p>NOTICATION</p>
<pre><code> Bundle extras1 = new Bundle();
extr... | I have a notification from a Foreground Service, this notification has two intents that shows the app/activity, but one of this intent also request the activity to execute some code, BUT I can't differentiate between these intents!! NOTICATION [CODE] ACTIVITY [CODE] BUT THE RESULT of getIntent is ALWAYS THE SAME: Actio... | android|android-intent|android-activity|android-notifications|foreground-service | 0 | 2022-05-19T11:39:34.827Z | 2,022 | 5 | 11 | 3 | 64 | 0 | 371 | 65 | 5 | 2 | true | true | false | false | false | false | zero |
72,303,986 | How to set up Chip and ChipGroup attributes properly? | <p>I figured out that app: namespace attributes are not applied to Chip view in my project, though documentation and some sample code I have seen state that they do. What do I do wrong?</p>
<pre><code> <com.google.android.material.chip.Chip
style="@style/Widget.Material3.Chip.Filter"... | I figured out that app: namespace attributes are not applied to Chip view in my project, though documentation and some sample code I have seen state that they do. What do I do wrong? [CODE] I also use Theme.Material3.Light.NoActionBar in application manifest. I tried to switch to MaterialComponents, but it looks even w... | android-chips | 0 | 2022-05-19T11:45:59.933Z | 2,022 | 5 | 11 | 3 | 32 | 1 | 325 | 53 | 1 | 1 | true | false | false | false | false | false | zero |
72,304,112 | App icon background color does not change | <p>Why is it that in android studio,I change my app background color to green and it does not change but remains white after running it in devices.</p> | Why is it that in android studio,I change my app background color to green and it does not change but remains white after running it in devices. | android | 0 | 2022-05-19T11:55:47Z | -1 | -1 | -1 | -1 | 24 | 1 | 144 | 41 | 1 | 0 | false | false | false | false | false | false | zero |
72,304,118 | MediaPlayer play audio streaming in background continuously long time without user interaction | <p>I have added services to play music in background but after few minutes it's stop playing. So I have added Thread to start again while user remove the lock screen. And again music continue playing. But how we can continue play music in background without user interaction.</p>
<p>Here is my code,</p>
<p>MainActivity:... | I have added services to play music in background but after few minutes it's stop playing. So I have added Thread to start again while user remove the lock screen. And again music continue playing. But how we can continue play music in background without user interaction. Here is my code, MainActivity: public class Mai... | java|android|exoplayer|android-music-player | 0 | 2022-05-19T11:56:17.273Z | 2,022 | 5 | 11 | 3 | 23 | 0 | 573 | 94 | 4 | 3 | true | true | false | false | false | false | zero |
72,304,234 | Failed to install the app. Make sure you have the Android development enviornment setup | <p>Facing this issue as attached in the image.</p>
<p><a href="https://i.stack.imgur.com/B18pQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B18pQ.png" alt="enter image description here" /></a></p>
<p>Please note that I have gone through all the questions with same title on Stack overflow but nothi... | Facing this issue as attached in the image. Please note that I have gone through all the questions with same title on Stack overflow but nothing resolved this issue. Here is my package.json file: [CODE] Please let me know if more information is required. | android|typescript|react-native | 1 | 2022-05-19T12:05:08.737Z | 2,022 | 5 | 12 | 3 | 191 | 1 | 254 | 87 | 3 | 1 | true | false | false | false | false | false | low |
72,304,271 | Having problem to relaunch app on phone after killing it | <p>I can run this perfectly fine on an AVD. I also can launch the app at the beginning via USB debugging on my Oppo A5 but then I tried to kill it and relaunch it again but it shows this error in the logcat :</p>
<pre><code>2022-05-19 19:53:41.962 1685-1713/system_process E/BatteryStatsService: modem info is invalid: M... | I can run this perfectly fine on an AVD. I also can launch the app at the beginning via USB debugging on my Oppo A5 but then I tried to kill it and relaunch it again but it shows this error in the logcat : [CODE] So far I have tried kill adb-server and start it back and it was unsuccessful. | android | 1 | 2022-05-19T12:07:56.347Z | 2,022 | 5 | 12 | 3 | 39 | 1 | 291 | 56 | 1 | 1 | true | false | false | false | false | false | low |
72,304,277 | Get logs from android device | <p>I`m currently trying to make android application (Android studio/Kotlin) with some logging information stuff.
There is manual way of gathering a bunch of logs on android device:</p>
<ol>
<li>Enter code *#9900# code in dialer</li>
<li>Select "Run dumpstate/logcat/modem log"</li>
<li>Select "Copy to sdc... | I`m currently trying to make android application (Android studio/Kotlin) with some logging information stuff. There is manual way of gathering a bunch of logs on android device: Enter code *#9900# code in dialer Select "Run dumpstate/logcat/modem log" Select "Copy to sdcard" Eventually you get /sdca... | android|kotlin|logging | 0 | 2022-05-19T12:08:25.077Z | 2,022 | 5 | 12 | 3 | 85 | 0 | 568 | 28 | 3 | 0 | false | true | false | false | false | false | zero |
72,304,360 | How do you send a join invitation to a friend in google play games 2021? | <p>I'm looking for a way by which I can notify a friend player about my server/lobby somehow ,using the play games services . Things like steam invite you get in steamworks.</p>
<p>It appears the invite friends functionality has been removed with the multiplayer functionality. I am looking into a way to get the id or a... | I'm looking for a way by which I can notify a friend player about my server/lobby somehow ,using the play games services . Things like steam invite you get in steamworks. It appears the invite friends functionality has been removed with the multiplayer functionality. I am looking into a way to get the id or address of ... | java|android|google-play | -1 | 2022-05-19T12:14:43.657Z | 2,022 | 5 | 12 | 3 | 39 | 1 | 440 | 72 | 3 | 0 | false | false | false | false | false | true | negative |
72,304,399 | Jetpack compose: How to implement navigation in Modal Bottom sheet with animation, Nested navigation and allow viewmodel | <p>So basically I have an app that has one screen and three modal bottom sheets. I need a navigation infrastructure that helps me navigate between multiple bottom sheets in my app.
It should have transition animations, support for ViewModel, and Nested and independent navigation.</p>
<p>I need a very easy-to-implement ... | So basically I have an app that has one screen and three modal bottom sheets. I need a navigation infrastructure that helps me navigate between multiple bottom sheets in my app. It should have transition animations, support for ViewModel, and Nested and independent navigation. I need a very easy-to-implement guide as I... | android|kotlin|android-jetpack-compose|bottom-sheet | -1 | 2022-05-19T12:17:50.050Z | 2,022 | 5 | 12 | 3 | 791 | 1 | 339 | 120 | 4 | 0 | false | false | false | false | false | true | negative |
72,304,453 | Renaming pjsua2 android sample app package name stopped loading Library? | <p>I was able to get Android pjsip pjsua2 working ,but when ever package name has been renamed from original package name ,library stop loading with below errors.</p>
<p>Any help would be highly appreciated.</p>
<pre><code>2022-05-19 14:18:57.074 26653-26653/com.pjsip.pjsua2.app I/System.out: Library loaded
2022-05-19 ... | I was able to get Android pjsip pjsua2 working ,but when ever package name has been renamed from original package name ,library stop loading with below errors. Any help would be highly appreciated. [CODE] | android|pjsip|pjsua2 | 0 | 2022-05-19T12:22:18.080Z | 2,022 | 5 | 12 | 3 | 18 | 0 | 204 | 72 | 3 | 1 | true | true | false | false | false | false | zero |
72,304,487 | Android Custom Tabs - prevent launchUrl() from opening default apps, force in-app custom tab browser | <p><code>.launchUrl(this@MainActivity, Uri.parse(url))</code></p>
<p>When <code>url</code> is <code>https://www.amazon.com</code>, the Amazon app is opening instead of the custom tab browser. Is there any way to prevent this from happening and forcing to use the custom tab browser instead of default apps?</p> | .launchUrl(this@MainActivity, Uri.parse(url)) When url is https://www.amazon.com , the Amazon app is opening instead of the custom tab browser. Is there any way to prevent this from happening and forcing to use the custom tab browser instead of default apps? | android|chrome-custom-tabs | 0 | 2022-05-19T12:24:10.160Z | 2,022 | 5 | 12 | 3 | 148 | 1 | 258 | 100 | 2 | 0 | false | false | false | false | false | false | zero |
72,304,610 | How to fix some views in Relative Layout | <p>I have implemented simple relative layout for chat inside one of fragments layout called "Chat". The problem is that when I click EditText to type message, Linear Layout for sending messages disappears and messages are superimposed on the items above(I want them no to overlay any element except recycler vi... | I have implemented simple relative layout for chat inside one of fragments layout called "Chat". The problem is that when I click EditText to type message, Linear Layout for sending messages disappears and messages are superimposed on the items above(I want them no to overlay any element except recycler view)... | android|layout | 0 | 2022-05-19T12:32:12.820Z | 2,022 | 5 | 12 | 3 | 30 | 0 | 420 | 40 | 2 | 1 | true | true | false | false | false | false | zero |
72,304,614 | Screen Shoot testing for android component test | <p>I need to make a screenshoot for each component test when we start the task "./gradlew connectedDebugAndroidTest"</p>
<p>I can't find solution to do it.
Any help ?</p> | I need to make a screenshoot for each component test when we start the task "./gradlew connectedDebugAndroidTest" I can't find solution to do it. Any help ? | android|testing|screenshot|instrumented-test | 0 | 2022-05-19T12:32:35.637Z | 2,022 | 5 | 12 | 3 | 9 | 0 | 166 | 47 | 4 | 0 | false | true | false | false | false | false | zero |
72,304,731 | How to install git on pydroid 3? | <p>Hello is there a way on how to install git on pydroid without any root that answer "you might need to tweak the curl" isn't working for me (i don't have curl) also any ideas on how to install it???</p> | Hello is there a way on how to install git on pydroid without any root that answer "you might need to tweak the curl" isn't working for me (i don't have curl) also any ideas on how to install it??? | android|git|pydroid | 0 | 2022-05-19T12:39:26.263Z | 2,022 | 5 | 12 | 3 | 125 | 0 | 207 | 32 | 3 | 0 | false | true | false | false | false | false | zero |
72,304,942 | Save current date and user Input to Firebase Firestore | <p>I am making a note-saving app using Firebase Firestore and a RecyclerView.</p>
<p>So far users are able to enter the title and content of the note, this saves and works fine.</p>
<p>What I would like to add is the current date (in a "dd/MM/yy" format) when the user saves the note to be displayed in the rec... | I am making a note-saving app using Firebase Firestore and a RecyclerView. So far users are able to enter the title and content of the note, this saves and works fine. What I would like to add is the current date (in a "dd/MM/yy" format) when the user saves the note to be displayed in the recycler view the no... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-05-19T12:54:16.927Z | 2,022 | 5 | 12 | 3 | 20 | 1 | 447 | 54 | 5 | 1 | true | false | false | false | false | false | zero |
72,304,956 | Why can't I use removeAll on a list of objects? | <p>I am trying to create an app that let's you type in what you want to eat and drink. It calculates all of that and then when you press the print button, I want it to count how often each item's in the list and give it back like this:</p>
<p>"9x Juice /n
5x Steaks /n
4x Salads"</p>
<p>The drinks and foods a... | I am trying to create an app that let's you type in what you want to eat and drink. It calculates all of that and then when you press the print button, I want it to count how often each item's in the list and give it back like this: "9x Juice /n 5x Steaks /n 4x Salads" The drinks and foods are objects in the ... | android-studio|kotlin | 1 | 2022-05-19T12:54:54.323Z | 2,022 | 5 | 12 | 3 | 51 | 2 | 961 | 47 | 2 | 2 | true | false | false | false | false | false | low |
72,304,966 | Hide the location bar in Chrome Custom Tabs in MAUI | <p>So that I don't ask the wrong question, my end goal is to build a PWA that is accessible from Android 5.x and up now and iOS later in the year. The main problem with this is Classic Bluetooth is not yet stable/standardized enough for the web.</p>
<p>My next plan was to build a "native" app (in .NET MAUI so... | So that I don't ask the wrong question, my end goal is to build a PWA that is accessible from Android 5.x and up now and iOS later in the year. The main problem with this is Classic Bluetooth is not yet stable/standardized enough for the web. My next plan was to build a "native" app (in .NET MAUI so that I ca... | android|maui|chrome-custom-tabs | 0 | 2022-05-19T12:55:18.167Z | 2,022 | 5 | 12 | 3 | 163 | 1 | 1,402 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
72,305,102 | Alarm screen doesn't stay still on Android 23 when screen is locked | <p>I am working on an Alarm app. It works on Android version > 23. But on Android 23 it has some problems when the screen is locked. The alarm screen appears and suddenly disappears on Android 23 (I wasn't sure how to explain it so I have attached a gif). It also hides the screen lock pattern when trying to unlock t... | I am working on an Alarm app. It works on Android version > 23. But on Android 23 it has some problems when the screen is locked. The alarm screen appears and suddenly disappears on Android 23 (I wasn't sure how to explain it so I have attached a gif). It also hides the screen lock pattern when trying to unlock the scr... | android|alarm | 1 | 2022-05-19T13:05:01.720Z | 2,022 | 5 | 13 | 3 | 49 | 0 | 583 | 67 | 2 | 1 | true | true | false | false | false | false | low |
72,305,152 | Erro trying to build qml lib to Android | <p>I'm using a qml lib with a qt c++ projetc, and work well in linux and windows, but when I try to build to Android I receive this error:</p>
<pre><code>make: *** No rule to make target 'install'. Stop.
09:40:07: The process "/home/ysaakue/Android/Sdk/ndk/21.3.6528147/prebuilt/linux-x86_64/bin/make" exited ... | I'm using a qml lib with a qt c++ projetc, and work well in linux and windows, but when I try to build to Android I receive this error: [CODE] that is my build config: and that is my android device config: EDIT: this is my .pro file: [CODE] I'm using Qt version 5.15.2. | android|c++|qt|qml | 0 | 2022-05-19T13:08:02.753Z | 2,022 | 5 | 13 | 3 | 48 | 2 | 269 | 39 | 4 | 2 | true | false | false | false | false | false | zero |
72,305,361 | TextWatcher multiple calls (edit text) | <p>I added a text watcher to my edit text in recycler view but when backspace all edit text and try to set text in the first position (only in that) text watcher call twice or more <br></p>
<p>Adapter code: <br></p>
<pre><code>@Override
public void onBindViewHolder(RecyclerOrdenamientoAdapter.ViewHolder holder, int pos... | I added a text watcher to my edit text in recycler view but when backspace all edit text and try to set text in the first position (only in that) text watcher call twice or more Adapter code: [CODE] what could be wrong in my code? | java|android|android-recyclerview|textwatcher | 0 | 2022-05-19T13:22:28.243Z | 2,022 | 5 | 13 | 3 | 25 | 0 | 230 | 38 | 4 | 1 | true | true | false | false | false | false | zero |
72,305,486 | Execution failed for task app:processDebugResources. Android resource linking failed | <p>Please help me to solve this error in Android Studio.</p>
<p>Three errors pop up:</p>
<ol>
<li>Execution failed for task ':app:processDebugResources'.</li>
</ol>
<blockquote>
<p>A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
Android resource li... | Please help me to solve this error in Android Studio. Three errors pop up: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction Android resource linking failed art.dorozhkinsa.app-mergeDebugResourc... | android | 0 | 2022-05-19T13:31:33.113Z | 2,022 | 5 | 13 | 3 | 641 | 1 | 1,491 | 84 | 1 | 0 | false | false | false | false | false | false | zero |
72,305,536 | How to get location in Android 12 and above when app is closed? | <p>I am trying to get location in android 12 when app is closed using WorkManager. But the issue is, it work for few minutes and get killed by the OS. I am unable to find out why this is happening.</p>
<p>What could be the solution for this?</p>
<p><strong>Question updated with code</strong></p>
<p>WorkManager</p>
<pre... | I am trying to get location in android 12 when app is closed using WorkManager. But the issue is, it work for few minutes and get killed by the OS. I am unable to find out why this is happening. What could be the solution for this? Question updated with code WorkManager [CODE] MainActivity onCreate method [CODE] I wond... | android|service|location|android-workmanager | 0 | 2022-05-19T13:34:05.933Z | 2,022 | 5 | 13 | 3 | 108 | 0 | 422 | 63 | 4 | 2 | true | true | false | false | false | false | zero |
72,305,664 | 'Network Error' on all calls in React Native on Android | <p>Every call I make on React Native for Android is returning a 'Network Error' response. However, the same calls work fine when using the application on iOS.</p>
<p>This issue has only come about when trying to connect to a production environment, with the testing site having previously worked on Android, but the prod... | Every call I make on React Native for Android is returning a 'Network Error' response. However, the same calls work fine when using the application on iOS. This issue has only come about when trying to connect to a production environment, with the testing site having previously worked on Android, but the production env... | android|reactjs|react-native|axios | 0 | 2022-05-19T13:42:42.227Z | 2,022 | 5 | 13 | 3 | 106 | 0 | 862 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
72,305,770 | How to Detect if assistance app is speaking on Android? | <p>I am building an android Kotlin test app to check if the Assistance app is speaking but not running.</p>
<pre><code>audioManager.isMusicActive
</code></pre>
<p>Are there ways to check it?</p>
<pre><code>val context = ApplicationProvider.getApplicationContext<Context>()
val audioManager: AudioManager = context.... | I am building an android Kotlin test app to check if the Assistance app is speaking but not running. [CODE] Are there ways to check it? [CODE] | android|audio|android-audiomanager|google-assistant | 0 | 2022-05-19T13:49:22.720Z | 2,022 | 5 | 13 | 3 | 24 | 0 | 142 | 55 | 4 | 2 | true | true | false | false | false | false | zero |
72,305,882 | How do I save and retrieve images from the Imagebutton using the sharedpreferences in Android? | <p>If you press the heart, which is the current image button, the content is stored in the DB, and if you press the heart again, the content is deleted in the DB.
What I want is that when I press the heart to store the content(name=1, content=2 ...) in the DB, the heart in the sky turns into a red heart, and when I clo... | If you press the heart, which is the current image button, the content is stored in the DB, and if you press the heart again, the content is deleted in the DB. What I want is that when I press the heart to store the content(name=1, content=2 ...) in the DB, the heart in the sky turns into a red heart, and when I close ... | java|android|listview|sharedpreferences | 0 | 2022-05-19T13:55:30.473Z | 2,022 | 5 | 13 | 3 | 18 | 0 | 735 | 94 | 4 | 1 | true | true | false | false | false | false | zero |
72,305,932 | Retrofit2 I do not receive content from the api | <p>I'm starting with retrofit2 and I only receive empty calls. I have been implementing the $Query part in an interface but I don't know if it is the correct way to receive information from the api that I am using.</p>
<p>interface part;</p>
<pre><code>@GET("access_key=a2a158295f55407eb8f9b88a957a5bac&query={c... | I'm starting with retrofit2 and I only receive empty calls. I have been implementing the $Query part in an interface but I don't know if it is the correct way to receive information from the api that I am using. interface part; [CODE] MAIN part; [CODE] | java|android|retrofit2|call | 1 | 2022-05-19T13:58:03.543Z | 2,022 | 5 | 13 | 3 | 16 | 0 | 252 | 47 | 4 | 2 | true | true | false | false | false | false | low |
72,305,955 | View.post vs runnable.run | <p>I have Compound View (<code>ConstraintLayout</code>). Sometimes this View can change its size, and I need change visibility of several views inside parent view.</p>
<p>I do it inside callback <code>onSizeChanged()</code>. If I do it simple, like this:</p>
<pre><code>override fun onSizeChanged(w: Int, h: Int, oldw: I... | I have Compound View ( ConstraintLayout ). Sometimes this View can change its size, and I need change visibility of several views inside parent view. I do it inside callback onSizeChanged() . If I do it simple, like this: [CODE] sometimes views doesn't change their visibilty. It can happens quite randomly. But, if I do... | android|view | 0 | 2022-05-19T13:59:47.417Z | 2,022 | 5 | 13 | 3 | 24 | 1 | 457 | 25 | 2 | 2 | true | false | false | false | false | false | zero |
72,306,182 | Issue opening an app from browser on Android devices | <p>I'm trying to let people open mobile apps from my website and I found url scheme of some app for it like fb:// , twitter:// , .v.v.</p>
<p>They're all work fine ( with window.location.replace() or document.location.href ...) on IOS devices only; when on Android devices, nothing happened. I knew that Android app has ... | I'm trying to let people open mobile apps from my website and I found url scheme of some app for it like fb:// , twitter:// , .v.v. They're all work fine ( with window.location.replace() or document.location.href ...) on IOS devices only; when on Android devices, nothing happened. I knew that Android app has another wa... | javascript|android|mobile | 0 | 2022-05-19T14:14:04.067Z | 2,022 | 5 | 14 | 3 | 22 | 1 | 527 | 52 | 3 | 0 | false | false | false | false | false | false | zero |
72,306,194 | JUnit Test case is failing while running with gradlew command | <p>My JUnit test is working fine while I run that specific test or that particular file. But while I run <code>./gradlew testStagingReleaseUnitTestCoverage</code> at that time it is failing.</p>
<pre><code>@Test
fun fail_due_to_bluetooth_permissions_not_available() =
coroutineTestRule.runBlockingTest {
... | My JUnit test is working fine while I run that specific test or that particular file. But while I run ./gradlew testStagingReleaseUnitTestCoverage at that time it is failing. [CODE] Here I found the issue that setFinalStatic is not setting SDK_INT to 31 so my test case is failing while running using gradle. Can anyone ... | android|reflection|junit4|gradlew | 0 | 2022-05-19T14:14:48.317Z | 2,022 | 5 | 14 | 3 | 24 | 0 | 409 | 61 | 4 | 1 | true | true | false | false | false | false | zero |
72,306,308 | How to add checked Item from Listview into arrayList from adapter and send to activity | <p>Sorry if my english is bad. This is my first time post a question. I create an app for ordering. I have a adapter that show data from database in form of listview. I have a button to add product into array and the item that add into array is only listview that has been checked.
My question is:</p>
<ol>
<li>How to ad... | Sorry if my english is bad. This is my first time post a question. I create an app for ordering. I have a adapter that show data from database in form of listview. I have a button to add product into array and the item that add into array is only listview that has been checked. My question is: How to add checked item i... | android|arrays|kotlin|listview|adapter | 0 | 2022-05-19T14:22:39.577Z | 2,022 | 5 | 14 | 3 | 37 | 0 | 473 | 86 | 5 | 1 | true | true | false | false | false | false | zero |
72,306,467 | Vue JS 3 - How to detect a @keyup on an Android device? | <p>Usually on a computer keyboard at a VueJS 3 form using this code below I can either click the button to try (in this case) to login, or if the user prefers, he'll can proceed further by pressing the Enter key while still having focus on the input.
<inp</p>
<pre><code><input type="email" placeholder=&... | Usually on a computer keyboard at a VueJS 3 form using this code below I can either click the button to try (in this case) to login, or if the user prefers, he'll can proceed further by pressing the Enter key while still having focus on the input. <inp [CODE] A user is using this form on an Android phone with its keybo... | javascript|android|vue.js|vuejs3|keyup | 0 | 2022-05-19T14:33:18.177Z | 2,022 | 5 | 14 | 3 | 268 | 0 | 862 | 55 | 5 | 1 | true | true | false | false | false | false | zero |
72,306,732 | Android (Kotlin): FileProvider to share mp3 file | <p>I am coding an app that shows some mp3 files in a card view and I am trying to set a "Share" button to send the files to other apps, one by one. I am using FileProvider. I managed to share a text, but I can't do it with my files. I am accessing all the mp3 files in my external storage with a constructor, t... | I am coding an app that shows some mp3 files in a card view and I am trying to set a "Share" button to send the files to other apps, one by one. I am using FileProvider. I managed to share a text, but I can't do it with my files. I am accessing all the mp3 files in my external storage with a constructor, they... | android|kotlin|mp3|android-fileprovider|share-intent | 0 | 2022-05-19T14:50:21.050Z | 2,022 | 5 | 14 | 3 | 98 | 1 | 1,992 | 48 | 5 | 2 | true | false | false | false | false | false | zero |
72,306,765 | Android Automotive OS Polestar 2 image is failing to be emulated in Android Studio | <p>I am trying to simulate the Polestar 2 image gotten from
<a href="https://developer.polestar.com/sdk/polestar2-sys-img.xml" rel="nofollow noreferrer">https://developer.polestar.com/sdk/polestar2-sys-img.xml</a>
and after installing and trying to execute it I receive this message from emulator:
<a href="https://i.sta... | I am trying to simulate the Polestar 2 image gotten from https://developer.polestar.com/sdk/polestar2-sys-img.xml and after installing and trying to execute it I receive this message from emulator: ADV Manager The emulator process for AVD Automotive_1024p_landscape_API_29 has terminated | android|image|operating-system|automotive | 0 | 2022-05-19T14:52:36.833Z | 2,022 | 5 | 14 | 3 | 120 | 2 | 287 | 82 | 4 | 0 | false | false | false | false | false | false | zero |
72,306,911 | How can I print in a PDF format from flutter? | <p>I created an app for generating invoices and want to print the invoice from the printing button in the application, I am new to flutter and have no idea how to do that.I have tried to find something regarding this on the internet but wasnt able to find one, all the examples are of receipt from a thermal printer. I w... | I created an app for generating invoices and want to print the invoice from the printing button in the application, I am new to flutter and have no idea how to do that.I have tried to find something regarding this on the internet but wasnt able to find one, all the examples are of receipt from a thermal printer. I want... | android|flutter|dart | 0 | 2022-05-19T15:03:47.130Z | 2,022 | 5 | 15 | 3 | 74 | 0 | 409 | 45 | 3 | 0 | false | true | false | false | false | false | zero |
72,306,957 | Get value in specific element with python in Android with ppadذ | <p>I want to enter an Android application using Python and adb and get the elements displayed by the application, find the element I want, change the code and run it again, and receive the text inside the element of my choice, and Transfer Python
Is it possible for me to see the elements of the Android application like... | I want to enter an Android application using Python and adb and get the elements displayed by the application, find the element I want, change the code and run it again, and receive the text inside the element of my choice, and Transfer Python Is it possible for me to see the elements of the Android application like a ... | python|android|adb | 0 | 2022-05-19T15:06:55.673Z | 2,022 | 5 | 15 | 3 | 17 | 0 | 364 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
72,307,078 | CanHub image cropper 3 errors, i no the arthurhub is deprecated and this one is similar | <p>I need help on these issues as the android image cropper from Arthurhub is deprecated and the other version from canhub image cropper is the one im using. I am doing an scan receipt function using a ocr scanner but android studio has since updated and there is no suitable tutorial on this version on line anywhere.</... | I need help on these issues as the android image cropper from Arthurhub is deprecated and the other version from canhub image cropper is the one im using. I am doing an scan receipt function using a ocr scanner but android studio has since updated and there is no suitable tutorial on this version on line anywhere. [COD... | android-studio | 0 | 2022-05-19T15:15:34.550Z | 2,022 | 5 | 15 | 3 | 108 | 0 | 322 | 87 | 1 | 1 | true | true | false | false | false | false | zero |
72,307,083 | Watch Next Channel entries doesn’t show Episode title | <p>When the Watch Next channel is build with <code>tvprovider</code> support library I do see Title, Season number, Episode number except for <strong>Episode Title</strong></p>
<pre><code>val builder = WatchNextProgram.Builder()
..
.applyIf(video.episodeTitle != null) {
setEpisodeTitle(progr... | When the Watch Next channel is build with tvprovider support library I do see Title, Season number, Episode number except for Episode Title [CODE] | android|android-tv|android-tvprovider | 0 | 2022-05-19T15:15:50.910Z | 2,022 | 5 | 15 | 3 | 28 | 0 | 146 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
72,307,102 | Bluetooth low energy android doesn’t give me a real address only null name | <p>Can anyone help me? I want to scan nearby devices using bluetooth low energy but when I scan it give me random addresses with name null And this is my code:
I downloaded an app his name BLE scanner when I turn on BLE advertise on both phones after that I turn on my scan on my app it give me the real addresses otherw... | Can anyone help me? I want to scan nearby devices using bluetooth low energy but when I scan it give me random addresses with name null And this is my code: I downloaded an app his name BLE scanner when I turn on BLE advertise on both phones after that I turn on my scan on my app it give me the real addresses otherwise... | java|android|bluetooth | 0 | 2022-05-19T15:17:07.430Z | 2,022 | 5 | 15 | 3 | 52 | 1 | 382 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
72,307,105 | Low FPS rate on Chrome Androïd with simple Canvas2D Game | <p>I'm currently developping a simple 2D canvas video game and while I was testing performance, I noticed that there is a very disappointing frame rate on Androïd Chrome (about 45fps).</p>
<p>About one out of two frame breaks. And I cannot see what in my call stack is creating the performance issue. As you can see on t... | I'm currently developping a simple 2D canvas video game and while I was testing performance, I noticed that there is a very disappointing frame rate on Androïd Chrome (about 45fps). About one out of two frame breaks. And I cannot see what in my call stack is creating the performance issue. As you can see on the perform... | javascript|android|performance|canvas|frame-rate | 0 | 2022-05-19T15:17:27.130Z | 2,022 | 5 | 15 | 3 | 76 | 0 | 525 | 56 | 5 | 1 | true | true | false | false | false | false | zero |
72,307,115 | How to dynamically change an image on the virtual scene of the android emulator? | <p>I am trying to automate the test of a qr reading app, i am able to change the image that shows as soon as a i open the camera with a virtual scene, however if i change either Toren1BD or rename the custom.png file while the emulator is running then i need to close the app an reopenit to see the changes, is there any... | I am trying to automate the test of a qr reading app, i am able to change the image that shows as soon as a i open the camera with a virtual scene, however if i change either Toren1BD or rename the custom.png file while the emulator is running then i need to close the app an reopenit to see the changes, is there anyway... | android|camera|automated-tests|android-emulator|qr-code | 0 | 2022-05-19T15:17:49.940Z | 2,022 | 5 | 15 | 3 | 45 | 0 | 493 | 80 | 5 | 0 | false | true | false | false | false | false | zero |
72,307,160 | In flutter , checking permissions , actually requests them? | <p>I am learning Fllutter to build a map based App. I am using the location pub.dev plugin for managing location permissions.
I have created a Location() object <code>Location location = Location()</code></p>
<p>and when I call</p>
<p><code>await location.hasPermission()</code></p>
<p>and I don't have granted permissio... | I am learning Fllutter to build a map based App. I am using the location pub.dev plugin for managing location permissions. I have created a Location() object Location location = Location() and when I call await location.hasPermission() and I don't have granted permission , it actually requests the permission , without ... | android|flutter|dictionary|permissions|location | 0 | 2022-05-19T15:21:25.760Z | 2,022 | 5 | 15 | 3 | 337 | 2 | 779 | 59 | 5 | 1 | true | false | false | false | false | false | zero |
72,307,214 | Upload image from Uri to Retrofit (S3 Signed url) not working | <p>Uploading to S3 signed URL's with a file as an origin works without problems, but trying to do it with an Uri I get from my ActivityResult is not working for me.</p>
<p>Here is what I try:</p>
<p>I'm using a InputStreamRequestBody class like described here: <a href="https://commonsware.com/blog/2020/07/05/multipart-... | Uploading to S3 signed URL's with a file as an origin works without problems, but trying to do it with an Uri I get from my ActivityResult is not working for me. Here is what I try: I'm using a InputStreamRequestBody class like described here: https://commonsware.com/blog/2020/07/05/multipart-upload-okttp-uri.html [COD... | android|kotlin|file-upload|retrofit2|okhttp | 1 | 2022-05-19T15:25:14.987Z | 2,022 | 5 | 15 | 3 | 116 | 0 | 764 | 61 | 5 | 5 | true | true | false | false | false | false | low |
72,307,420 | How to made the height of the cardview/constaint layout have the same as width | <p>apologies if I am confusing it, in a constraint layout I have two card views which are equally spread out width wise based on constraints start and end.</p>
<p>The text thats going in those constraint layout text view is fixed size.</p>
<p>What I want to achieve is, the height of both card views to be same as the wi... | apologies if I am confusing it, in a constraint layout I have two card views which are equally spread out width wise based on constraints start and end. The text thats going in those constraint layout text view is fixed size. What I want to achieve is, the height of both card views to be same as the width of them. we k... | android|constraints|android-constraintlayout|android-xml | 0 | 2022-05-19T15:40:39.483Z | 2,022 | 5 | 15 | 3 | 76 | 1 | 554 | 78 | 4 | 1 | true | false | false | false | false | false | zero |
72,307,452 | I want to make TextViews of RecyclerView Clickable and change the Background of Selected TextView | <p>I have some TextView in my Recycler View and I want to make them Clickable and Change the Background of Selected TextView, but don't know how to do it, It would be very Helpful if anyone could Help Me.</p> | I have some TextView in my Recycler View and I want to make them Clickable and Change the Background of Selected TextView, but don't know how to do it, It would be very Helpful if anyone could Help Me. | android|kotlin|android-recyclerview|textview | -1 | 2022-05-19T15:42:46.987Z | 2,022 | 5 | 15 | 3 | 23 | 1 | 201 | 97 | 4 | 0 | false | false | false | false | false | true | negative |
72,307,521 | On click buttonn in adapter can't link | <p>hi i got an issue which
i used list adapter for posts but i couldn't link the buttons to the functions
like can't do on click method or is there a way to make it work ?</p>
<p><a href="https://i.stack.imgur.com/4ejlA.png" rel="nofollow noreferrer">awitemlist.xml</a></p>
<p><a href="https://i.stack.imgur.com/tJ7AB.pn... | hi i got an issue which i used list adapter for posts but i couldn't link the buttons to the functions like can't do on click method or is there a way to make it work ? awitemlist.xml screen shot of the how the layout looks awiteam_list class: public class awiteam_list extends AppCompatActivity { public Button bt; [COD... | java|android | 0 | 2022-05-19T15:47:18.770Z | 2,022 | 5 | 15 | 3 | 14 | 0 | 403 | 38 | 2 | 2 | true | true | false | false | false | false | zero |
72,307,557 | android.os.NetworkOnMainThreadException when getting data from mysql database (using PHP) | <p>I am trying to get data from database using mysql-php and insert them into a ListView- android
1-There is one title in database and even if I remove the while loop in php file I got the error below
2-How to handle if I have multiple results?</p>
<p>Here's my code</p>
<pre><code> super.onCreate(savedInstanceSt... | I am trying to get data from database using mysql-php and insert them into a ListView- android 1-There is one title in database and even if I remove the while loop in php file I got the error below 2-How to handle if I have multiple results? Here's my code [CODE] and this is my method to connect with mysql [CODE] Here ... | php|android|mysql | 0 | 2022-05-19T15:49:55.363Z | 2,022 | 5 | 15 | 3 | 25 | 0 | 660 | 89 | 3 | 4 | true | true | false | false | false | false | zero |
72,307,567 | Programmatically/Automatically disable GPS when not used | <p>When Android apps ask for the GPS to be enabled, after the app is turned off, GPS is not automatically turned off.
I suspect this is not only the case on my Honor 10, but on most Android phones.
This is a privacy and a energy wasting concern.</p>
<p>Is there a way to disable GPS after the app has been closed? I only... | When Android apps ask for the GPS to be enabled, after the app is turned off, GPS is not automatically turned off. I suspect this is not only the case on my Honor 10, but on most Android phones. This is a privacy and a energy wasting concern. Is there a way to disable GPS after the app has been closed? I only find old,... | android|gps | 1 | 2022-05-19T15:50:21.393Z | 2,022 | 5 | 15 | 3 | 54 | 0 | 452 | 56 | 2 | 0 | false | true | false | false | false | false | low |
72,307,647 | Android Talkback not applying focus or focus-visible pseudo classes on highlight | <p>We are having some issues getting a button to show up on Android Talkback focus. What should happen is when Talkback focuses on the button, the button should show. To fix this in IOS, we added :focus-visible to the :focus styles, but this did not work on Android. In our site, it's acting like <a href="https://bugs.c... | We are having some issues getting a button to show up on Android Talkback focus. What should happen is when Talkback focuses on the button, the button should show. To fix this in IOS, we added :focus-visible to the :focus styles, but this did not work on Android. In our site, it's acting like this chrome bug , however ... | android|google-chrome|sass|talkback | 0 | 2022-05-19T15:56:51.723Z | 2,022 | 5 | 15 | 3 | 117 | 0 | 687 | 80 | 4 | 1 | true | true | false | false | false | false | zero |
72,307,696 | Java BufferdReader returning old value | <p>I have an Android client, written in Java, that contains a login form and a button.</p>
<p>When the button is clicked, an <code>AuthenticationThread</code> object instance is created, and the username and password values from the form and the activity context are passed to the <code>AuthenticationThread</code> const... | I have an Android client, written in Java, that contains a login form and a button. When the button is clicked, an AuthenticationThread object instance is created, and the username and password values from the form and the activity context are passed to the AuthenticationThread constructor, and the thread starts. In th... | java|android|multithreading|android-studio|sockets | 0 | 2022-05-19T16:00:53.597Z | 2,022 | 5 | 16 | 3 | 41 | 0 | 1,731 | 38 | 5 | 4 | true | true | false | false | false | false | zero |
72,307,706 | Where can find account appsflyer, which registered before 2019 | <p>I'm looking for an appsflyer account registered before 2019. Can you tell me where this can be bought?</p>
<p>I asked in profile chats, but it's empty. Needed for a project.</p>
<p>Good luck!</p> | I'm looking for an appsflyer account registered before 2019. Can you tell me where this can be bought? I asked in profile chats, but it's empty. Needed for a project. Good luck! | android|google-play|appsflyer | 0 | 2022-05-19T16:01:32.097Z | 2,022 | 5 | 16 | 3 | 11 | 0 | 177 | 62 | 3 | 0 | false | true | false | false | false | false | zero |
72,307,944 | Proguard / R8 rule to keep package-private class members | <p>For compiling an .aar library in an Android Java project I need to protect a static package-private method of a class to be protected from removal by R8:</p>
<pre><code>public final class MyClass {
...
static void myStaticMethod(...){
...
}
...
}
</code></pre>
<p>I tried a Proguard / R8 Rule like this:</... | For compiling an .aar library in an Android Java project I need to protect a static package-private method of a class to be protected from removal by R8: [CODE] I tried a Proguard / R8 Rule like this: [CODE] but it did not work, the method gets eleminated. Is there a special keyword for package-private methods? Of cour... | java|android|proguard|android-r8 | 0 | 2022-05-19T16:19:58.923Z | 2,022 | 5 | 16 | 3 | 84 | 1 | 469 | 56 | 4 | 2 | true | false | false | false | false | false | zero |
72,308,061 | How to compare data from different activities using SQLite on Android Studio | <pre><code>//MAIN ACTIVITY
package com.example.saosteste2;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextVie... | [CODE] Hi everyone! I'm new in the world of Java and Android Studio. I don't know how to transmit data from the databse created in the second Activity to the first one. I need help checking if the email and password that the user puts on the first Activity (MainActivity) already exists in the database I created in the ... | java|sqlite|android-studio | 0 | 2022-05-19T16:28:47.507Z | 2,022 | 5 | 16 | 3 | 16 | 1 | 398 | 76 | 3 | 1 | true | false | false | false | false | false | zero |
72,308,238 | Is there a write guarantee when using Androidx DataStore | <p>My app stores a list of small objects (3-10 elements) and recovers these after it was stopped and started again.</p>
<p>Currently I am using <code>ContentProvider</code> to store these objects. Recently I have started migrating my app to a single DataStore, but there is an issue I am concerned about.</p>
<h2>Is ther... | My app stores a list of small objects (3-10 elements) and recovers these after it was stopped and started again. Currently I am using ContentProvider to store these objects. Recently I have started migrating my app to a single DataStore, but there is an issue I am concerned about. Is there a guarantee that data will be... | android|androidx | 0 | 2022-05-19T16:42:46.383Z | 2,022 | 5 | 16 | 3 | 12 | 0 | 978 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
72,308,354 | When I try to send email in Samsung Galaxy S10 the app crashes | <p>The user will register their new account. Before getting to the registration page they have to accept a consent form. After accepting the consent form a pop up message will require them to enter their email address for them to receive an email. When I press 'send' insted of sending the email and loading the next act... | The user will register their new account. Before getting to the registration page they have to accept a consent form. After accepting the consent form a pop up message will require them to enter their email address for them to receive an email. When I press 'send' insted of sending the email and loading the next activi... | java|android-studio|email | 0 | 2022-05-19T16:51:50.953Z | 2,022 | 5 | 16 | 3 | 39 | 0 | 628 | 62 | 3 | 2 | true | true | false | false | false | false | zero |
72,308,374 | my ads do not show on my device while debugging or even while internal testing it shows on logcat: Fail to get isAdIdFakeForDebugLogging | <p>my xml:
<com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/adView_method_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:visibility=... | my xml: <com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto" android:id="@+id/adView_method_1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:visibility="... | java|android|android-studio | 0 | 2022-05-19T16:53:20.827Z | 2,022 | 5 | 16 | 3 | 13 | 0 | 1,130 | 136 | 3 | 1 | true | true | false | false | false | false | zero |
72,308,455 | splash screen and icon are not updated when building my app with eas build | <p>I'm trying to make the .aab and .apk of my application in react native with eas-cli, everything is achieved very well, but despite the fact that I change versions in my app.json, and update the image directories, having the app installed on my phone uses the icons and splash screen that come by default with expo. I ... | I'm trying to make the .aab and .apk of my application in react native with eas-cli, everything is achieved very well, but despite the fact that I change versions in my app.json, and update the image directories, having the app installed on my phone uses the icons and splash screen that come by default with expo. I wou... | android|reactjs|react-native|expo|splash-screen | 1 | 2022-05-19T17:00:22.493Z | 2,022 | 5 | 17 | 3 | 516 | 1 | 441 | 74 | 5 | 2 | true | false | false | false | false | false | low |
72,308,484 | How to set text to the imageview like gmail inbox? | <p>I want to design <a href="https://i.stack.imgur.com/bYSCJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bYSCJ.png" alt="enter image description here" /></a><br />
like this. how to set first charecter to that circle and should circle be in random color.</p> | I want to design like this. how to set first charecter to that circle and should circle be in random color. | java|android|textview|gmail|imageview | -2 | 2022-05-19T17:02:32.647Z | 2,022 | 5 | 17 | 3 | 39 | 2 | 107 | 50 | 5 | 0 | false | false | false | false | false | true | negative |
72,308,510 | Android Studio cloning from gitlab causes many errors | <p>I have a project to do with a team, the files are shared on gitlab and we work in Android Studio. I've push/pulled files many times without a problem but the last time I tried, all the java classes turned from the blue "C" to an orange "J". <a href="https://i.stack.imgur.com/MyiQ3.png" rel="nofo... | I have a project to do with a team, the files are shared on gitlab and we work in Android Studio. I've push/pulled files many times without a problem but the last time I tried, all the java classes turned from the blue "C" to an orange "J". the orange icons After some research I found out that this ... | java|android|gitlab | 0 | 2022-05-19T17:05:14.060Z | 2,022 | 5 | 17 | 3 | 29 | 0 | 766 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
72,308,610 | How add timestamp on my recyclerview using firebase realtime database | <p>How can I add timestamp on my database, and show to to recyclerview.
<a href="https://i.stack.imgur.com/SWagy.png" rel="nofollow noreferrer">This is where I would like to show the time</a></p>
<p>here are my codes</p>
<pre><code>private void insertData(){
String tricycleNumber = editTextTricycleNumber.getText().t... | How can I add timestamp on my database, and show to to recyclerview. This is where I would like to show the time here are my codes [CODE] } MainModel public class MainModel { [CODE] public MainModel(){ } [CODE] } MainAdapter public MainAdapter(@NonNull FirebaseRecyclerOptions options) { super(options); [CODE] } How can... | java|android|firebase | 0 | 2022-05-19T17:14:18.337Z | 2,022 | 5 | 17 | 3 | 28 | 1 | 381 | 69 | 3 | 4 | true | false | false | false | false | false | zero |
72,308,680 | status bar becoming black and icon visible on swiping in Android api 30 | <p>I am using fragment and in that fragment i have ViewPager and in ViewPager i have added two fragments.when i open the app Everything works fine but my status bar becomes black and to see the icon i need to scroll down and this is happening in android 11,below android 11 Eveything working fine.now please let me know ... | I am using fragment and in that fragment i have ViewPager and in ViewPager i have added two fragments.when i open the app Everything works fine but my status bar becomes black and to see the icon i need to scroll down and this is happening in android 11,below android 11 Eveything working fine.now please let me know how... | android|kotlin|android-layout|fragment|statusbar | 0 | 2022-05-19T17:20:15.943Z | 2,022 | 5 | 17 | 3 | 302 | 1 | 506 | 71 | 5 | 3 | true | false | false | false | false | false | zero |
72,308,724 | I want to see these buttons but i can't see them because is white. How can i change the colors? | <pre><code>AlertDialog.Builder builder = new AlertDialog.Builder(adapter.getContext());
builder.setTitle("Sterge Task-ul");
builder.setMessage("Esti sigur ca vrei sa stergi acest Task?");
AlertDialog dialog = builder.setNegativeButton("OK", new DialogInterface.OnCli... | [CODE] I don't know what to do more, can someone help? | android-studio | 0 | 2022-05-19T17:23:35.987Z | 2,022 | 5 | 17 | 3 | 10 | 0 | 54 | 95 | 1 | 1 | true | true | false | false | false | false | zero |
72,308,770 | EAS Build (Android) .apk Crashes, Expo Build .apk Runs Correctly | <p>I'm updating a React Native app to EAS Build, after using expo build for several years. The app works via the development server.</p>
<p>After running eas build, the .apk file builds successfully, but immediately crashes when opened on a device.</p>
<p>My error log is:</p>
<pre><code>TypeError: undefined is not an o... | I'm updating a React Native app to EAS Build, after using expo build for several years. The app works via the development server. After running eas build, the .apk file builds successfully, but immediately crashes when opened on a device. My error log is: [CODE] Has anyone run into this error? | android|react-native|expo | 2 | 2022-05-19T17:27:02.360Z | 2,022 | 5 | 17 | 3 | 827 | 2 | 294 | 64 | 3 | 1 | true | false | false | false | false | false | low |
72,308,789 | How to add onboarding user actionable guide | <p>I want to know how can i show the actions with border to specific area on screen and let user go next action on click. I have seen this in many app where app guides where to go for what.
Thanks in advance</p> | I want to know how can i show the actions with border to specific area on screen and let user go next action on click. I have seen this in many app where app guides where to go for what. Thanks in advance | java|android|xml|kotlin|user-interface | 0 | 2022-05-19T17:28:50.027Z | 2,022 | 5 | 17 | 3 | 16 | 0 | 204 | 43 | 5 | 0 | false | true | false | false | false | false | zero |
72,308,805 | How to get Bitmap without context from a Uri? | <p>How to get a Bitmap object from an Uri (if I succeed to store it in /data/data/MYFOLDER/myimage.png or file///data/data/MYFOLDER/myimage.png) without context</p>
<p>Does anyone have an idea on how to accomplish this?</p> | How to get a Bitmap object from an Uri (if I succeed to store it in /data/data/MYFOLDER/myimage.png or file///data/data/MYFOLDER/myimage.png) without context Does anyone have an idea on how to accomplish this? | android|bitmap|uri | 0 | 2022-05-19T17:29:43.987Z | 2,022 | 5 | 17 | 3 | 29 | 0 | 209 | 45 | 3 | 0 | false | true | false | false | false | false | zero |
72,308,850 | Flutter - ListView inside Card | <p>I want to create a ListView in a Card. I want to add/remoove items out of the ListView while the app is running.
I tried this:</p>
<pre><code> @override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(
AppLocalizations.of(context)!.devices,
s... | I want to create a ListView in a Card. I want to add/remoove items out of the ListView while the app is running. I tried this: [CODE] When I run that there are many errors. Is there any possibillity to do that? | android|flutter|dart | 0 | 2022-05-19T17:32:34.237Z | 2,022 | 5 | 17 | 3 | 134 | 1 | 210 | 30 | 3 | 1 | true | false | false | false | false | false | zero |
72,308,882 | How to smoothly animate objects in Android | <p>I have a view object in Android and I would like to animate it such that it flows from right to left on the screen. I currently use <code>ObjectAnimator</code> with the following code:</p>
<pre><code>ObjectAnimator animation = ObjectAnimator.ofFloat(view, "translationX", (-1)* 50* currentTimeSlot);
animati... | I have a view object in Android and I would like to animate it such that it flows from right to left on the screen. I currently use ObjectAnimator with the following code: [CODE] The counting variable currentTimeSlot is just incremented after 100 Milliseconds by using handler.postDelayed . Actually the code works and d... | java|android|android-animation | 2 | 2022-05-19T17:35:29.960Z | 2,022 | 5 | 17 | 3 | 145 | 1 | 731 | 42 | 3 | 2 | true | false | false | false | false | false | low |
72,308,949 | How to get data from firebase firestore synchro | <p>I'm new to firebase this is my first time using it.</p>
<p>I'm trying to get SkinType field of each user from users collections and use it out side method to run the query in specific collection and it look like the data that has been retrieved is null</p>
<pre><code>public class MorningRoutine extends AppCompatActi... | I'm new to firebase this is my first time using it. I'm trying to get SkinType field of each user from users collections and use it out side method to run the query in specific collection and it look like the data that has been retrieved is null [CODE] } I tried so hard so many techniques and it's didn't work I'm using... | java|android|firebase|google-cloud-firestore | 0 | 2022-05-19T17:40:56.523Z | 2,022 | 5 | 17 | 3 | 15 | 0 | 341 | 47 | 4 | 1 | 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.