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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,189,143 | How to generate dates of between 2 dates in Android | <p>In my application I want get dates between 2 date and for this I write below codes.<br>
But when show current date miss today!<br>
For example today is <strong>2022-07-31</strong> but show me <strong>2022-07-30</strong>!<br>
<strong>My code is :</strong></p>
<pre><code>private fun getDatesBetween(): MutableList<S... | In my application I want get dates between 2 date and for this I write below codes. But when show current date miss today! For example today is 2022-07-31 but show me 2022-07-30 ! My code is : [CODE] I think this problem for this line : [CODE] How can I fix it? How can I fix it? | android|kotlin|date | 0 | 2022-08-01T05:29:29.477Z | 2,022 | 8 | 5 | 0 | 40 | 1 | 279 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
73,189,145 | Jetpack Compose Navigation default value not working for boolean | <p>Trying to send a default value of boolean type through to one of my screens using compose navigation, but the default value never gets applied - can anyone see what the issue might be here?</p>
<p>route declaration -></p>
<pre><code> sealed class Screens(
val coreRoute: String,
val routeWithArgs: Strin... | Trying to send a default value of boolean type through to one of my screens using compose navigation, but the default value never gets applied - can anyone see what the issue might be here? route declaration -> [CODE] Screen setup -> [CODE] Navigating to screen -> [CODE] | android|android-jetpack-compose|android-jetpack-navigation | 0 | 2022-08-01T05:29:42.920Z | 2,022 | 8 | 5 | 0 | 138 | 0 | 271 | 64 | 3 | 3 | true | true | false | false | false | false | zero |
73,189,168 | Android MVVM ClickListener best practice | <p>As I read sunflower and many projects we have the multi clean ways for implementing a ClickListener</p>
<ol>
<li>Binding clicklistener in view (Activity/fragment)</li>
<li>Creating a separated variable for clickListener on XML and call it on the constructor</li>
<li>Creating a static method and calling it from XML</... | As I read sunflower and many projects we have the multi clean ways for implementing a ClickListener Binding clicklistener in view (Activity/fragment) Creating a separated variable for clickListener on XML and call it on the constructor Creating a static method and calling it from XML Creating a viewModel with two uses ... | android|kotlin|mvvm|data-binding|onclicklistener | 0 | 2022-08-01T05:34:04.067Z | 2,022 | 8 | 5 | 0 | 62 | 1 | 929 | 40 | 5 | 7 | true | false | false | false | false | false | zero |
73,189,219 | How to reference other module resource id in espresso test code in Android Studio | <p>I am not able to access resource id from another module inside espresso test. I am trying to access 'history' resource identifier from one module to another module. But it says 'Can not resolve symbol'.<a href="https://i.stack.imgur.com/vLvFm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vLvFm.p... | I am not able to access resource id from another module inside espresso test. I am trying to access 'history' resource identifier from one module to another module. But it says 'Can not resolve symbol'. | android-studio|testing|module|android-espresso|multi-module | 0 | 2022-08-01T05:41:25.423Z | 2,022 | 8 | 5 | 0 | 79 | 1 | 202 | 81 | 5 | 0 | false | false | false | false | false | false | zero |
73,189,222 | how to refresh a RecyclerView draw (not datas)? | <p>In a RecyclerView, I change the presentation for some items as follows:</p>
<pre><code> if (stk.getQty() == 0) { // mise en valeur des stocks à 0 non purgeables
cellStockQty.setTextColor(Color.RED);
GradientDrawable border = new GradientDrawable();
border.setColor(mIV.ge... | In a RecyclerView, I change the presentation for some items as follows: [CODE] When I delete an item, I manage to remove it from the display, with notifyItemRemoved(index); but the next item takes the presentation of the item that was deleted. Of course, if I leave this activity then come back, all is right. How to mak... | java|android|android-recyclerview|refresh|presentation | 0 | 2022-08-01T05:42:14.803Z | 2,022 | 8 | 5 | 0 | 39 | 3 | 468 | 47 | 5 | 2 | true | false | false | false | false | false | zero |
73,189,420 | Android app read extended advertising from Nordic nrf52840 nrf connect v2.0.0 periodic_adv | <p>So I can find my device but I want to read the extended advertising data which my nrf52840 is advertising I try to print out the ScanResult but it only print out my device name, then I tried to print out the ManufacturerSpecificData it return my {}. My phone is Sony Xperia 1 with bluetooth 5.0 android version 10</p>... | So I can find my device but I want to read the extended advertising data which my nrf52840 is advertising I try to print out the ScanResult but it only print out my device name, then I tried to print out the ManufacturerSpecificData it return my {}. My phone is Sony Xperia 1 with bluetooth 5.0 android version 10 [CODE]... | java|android|bluetooth|bluetooth-lowenergy | 0 | 2022-08-01T06:08:49.717Z | 2,022 | 8 | 6 | 0 | 95 | 0 | 336 | 90 | 4 | 2 | true | true | false | false | false | false | zero |
73,189,497 | Android Studio - java.net.SocketException: Unexpected end of file from server // I can't push | <p>I can't figure out the issue. It was all working fine but whatever happened, happened in my last commit...
Can someone help me to fix the issue?</p>
<pre><code>Push failed
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end... | I can't figure out the issue. It was all working fine but whatever happened, happened in my last commit... Can someone help me to fix the issue? [CODE] | android-studio|jgit | 0 | 2022-08-01T06:17:32.610Z | 2,022 | 8 | 6 | 0 | 113 | 0 | 151 | 93 | 2 | 1 | true | true | false | false | false | false | zero |
73,189,506 | Is an x86_64 version sufficient to distribute an arm32 version in Google Play instead of an arm64 version? | <p>Google Play requires to support 64-bit version of an app from Aug. 2019.</p>
<p>Therefore, I cannot update my app since then.
This is because it is difficult for me to build an arm64 version of my app, which is based on an open source project called mozc.</p>
<p>However, I may be able to create an x86_64 version of ... | Google Play requires to support 64-bit version of an app from Aug. 2019. Therefore, I cannot update my app since then. This is because it is difficult for me to build an arm64 version of my app, which is based on an open source project called mozc. However, I may be able to create an x86_64 version of my app. Is an x86... | android|arm|google-play|x86-64|google-play-console | 0 | 2022-08-01T06:18:23.927Z | 2,022 | 8 | 6 | 0 | 37 | 0 | 430 | 106 | 5 | 0 | false | true | false | false | false | false | zero |
73,189,516 | How to schedule an API request asynchronously for one composable screen from another composable screen? (Jetpack Compose) | <p>I'm a junior Android developer and trying to build a Facebook-like social media app. My issue is that when I bookmark a post in Screen B and the action succeeds, (1) I want to launch an API request in Screen A <strong>while in Screen B</strong> and (2) update the bookmarked icon ONLY for that particular post.</p>
<p... | I'm a junior Android developer and trying to build a Facebook-like social media app. My issue is that when I bookmark a post in Screen B and the action succeeds, (1) I want to launch an API request in Screen A while in Screen B and (2) update the bookmarked icon ONLY for that particular post. For the second part of the... | android|android-studio|kotlin|android-jetpack-compose | 0 | 2022-08-01T06:19:42.837Z | 2,022 | 8 | 6 | 0 | 87 | 2 | 938 | 121 | 4 | 1 | true | false | false | false | false | false | zero |
73,189,541 | Individual CountDownTimer in a Recycler View Item (Kotlin) | <p>I have this application that would add an item to a recycler view database. When an item is added to the Recycler View that Item has its own individual countdown timer. I know how to insert a timer in a recycler view, but every time I add a new item to the recycler view database, every other item's timer resets. I a... | I have this application that would add an item to a recycler view database. When an item is added to the Recycler View that Item has its own individual countdown timer. I know how to insert a timer in a recycler view, but every time I add a new item to the recycler view database, every other item's timer resets. I also... | android|kotlin|android-recyclerview|countdowntimer | 1 | 2022-08-01T06:23:19.787Z | 2,022 | 8 | 6 | 0 | 63 | 1 | 441 | 58 | 4 | 2 | true | false | false | false | false | false | low |
73,189,548 | jMeter performance mobile applications - Jmeter don't record | <p>I want to make a performance test using JMeter for a stage application using an Android device.
For JMeter I user Templates - Recording<a href="https://i.stack.imgur.com/6FT6B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6FT6B.png" alt="enter image description here" /></a></p>
<p>Android:</p>
<... | I want to make a performance test using JMeter for a stage application using an Android device. For JMeter I user Templates - Recording Android: the proxy is set on manual, I added the ipv4 address from Desktop ubuntu - setting - network - ipv4 address and I added the port I added the CA certificates on Security - sett... | android|linux|performance|jmeter|performance-testing | 0 | 2022-08-01T06:24:23.747Z | 2,022 | 8 | 6 | 0 | 32 | 1 | 505 | 60 | 5 | 0 | false | false | false | false | false | false | zero |
73,189,596 | Does react native version 0.61 support android 12 or we need to upgrade to react native 0.66? | <p><strong>So I need to integrate android 12 support in my application but little confused if the react native 0.61 support the API level 31 (android 12) support.</strong></p>
<p>I have looked into multiple sources but didn't got any answer for this it seems nobody is getting the same issue means there is a solution.</... | So I need to integrate android 12 support in my application but little confused if the react native 0.61 support the API level 31 (android 12) support. I have looked into multiple sources but didn't got any answer for this it seems nobody is getting the same issue means there is a solution. [CODE] | reactjs|react-native|android-12 | 1 | 2022-08-01T06:29:58.507Z | 2,022 | 8 | 6 | 0 | 193 | 1 | 298 | 93 | 3 | 1 | true | false | false | false | false | false | low |
73,189,623 | Get application name which invoked the intent in android | <p>I have two apps, say App A and App B, App A call tries to invoke a service in App B using intent, I don't want to allow App A if it does not belong to a certain list of allowed app names, is there a way to find out the name of the app which is calling my service in App B.</p>
<p>PS: I am using AIDL bound service to ... | I have two apps, say App A and App B, App A call tries to invoke a service in App B using intent, I don't want to allow App A if it does not belong to a certain list of allowed app names, is there a way to find out the name of the app which is calling my service in App B. PS: I am using AIDL bound service to communicat... | java|android | 0 | 2022-08-01T06:33:16.973Z | 2,022 | 8 | 6 | 0 | 55 | 1 | 481 | 56 | 2 | 0 | false | false | false | false | false | false | zero |
73,189,669 | Android Studio Emulated device look | <p>Can someone tell me how to make my emulator look like
a real phone (with rounded borders), cause on my screen it looks like a perfect box.
<a href="https://i.stack.imgur.com/GAJct.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GAJct.png" alt="desired look" /></a></p> | Can someone tell me how to make my emulator look like a real phone (with rounded borders), cause on my screen it looks like a perfect box. | flutter|android-studio | 1 | 2022-08-01T06:38:57.427Z | 2,022 | 8 | 6 | 0 | 34 | 0 | 138 | 35 | 2 | 0 | false | true | false | false | false | false | low |
73,189,731 | A movie app like the Amazon prime, I would display the movie category using the CategoryItem. I want to display all category with Recycler | <p>I mixed things up. The initial error I had was this <strong>MainActivity.java:130: error: incompatible types: List<com.kuroniczstudio.splashscreen.CategoryItem> cannot be converted to List<com.kuroniczstudio.splashscreen.model.CategoryItem>
allCategoryList.add(new AllCategory(1,"VIP Hour", home... | I mixed things up. The initial error I had was this MainActivity.java:130: error: incompatible types: List<com.kuroniczstudio.splashscreen.CategoryItem> cannot be converted to List<com.kuroniczstudio.splashscreen.model.CategoryItem> allCategoryList.add(new AllCategory(1,"VIP Hour", homeCatListItem1)); While t... | android|android-glide|android-tablayout | 0 | 2022-08-01T06:45:42.040Z | 2,022 | 8 | 6 | 0 | 50 | 2 | 675 | 138 | 3 | 7 | true | false | false | false | false | false | zero |
73,189,799 | What is changed the SkuDetails freeTrialPeriod field in Google Play Billing Library 5 | <p>Google Play Billing Library 5 changed to use <code>ProductDetails</code> instead of <code>SkuDetails</code>.<br />
What's replaced <code>freetrialPeriod</code> field used before Google Play Billing Library 5?<br />
Can't find in <code>ProductDetails freetrialPeriod</code> field.</p> | Google Play Billing Library 5 changed to use ProductDetails instead of SkuDetails . What's replaced freetrialPeriod field used before Google Play Billing Library 5? Can't find in ProductDetails freetrialPeriod field. | android|google-play|play-billing-library | 0 | 2022-08-01T06:52:56.507Z | 2,022 | 8 | 6 | 0 | 57 | 0 | 216 | 85 | 3 | 0 | false | true | false | false | false | false | zero |
73,189,815 | Getting a simple string response ends in a MalformedJsonException | <p>I have a simple POST request for registering a location in our backend which should respond a string with the locationId and an unique registration code which gets shown for other stuff. In Postman the request looks like: <code>120:B6IRDAEDZ82BCDMP9QUK</code> which is fine.</p>
<p>So, I've built a retrofit request w... | I have a simple POST request for registering a location in our backend which should respond a string with the locationId and an unique registration code which gets shown for other stuff. In Postman the request looks like: 120:B6IRDAEDZ82BCDMP9QUK which is fine. So, I've built a retrofit request which simply does the sa... | android|kotlin|retrofit2 | 0 | 2022-08-01T06:54:10.700Z | 2,022 | 8 | 6 | 0 | 34 | 1 | 466 | 65 | 3 | 2 | true | false | false | false | false | false | zero |
73,189,818 | FusedLocationProviderClient not giving correct Location | <p>I am using <code>FusedLocationProviderClient</code> to get the location but it not giving correct Location (i.e. precise). The location it provides is 20 blocks away atleast which is not really a good solution for me.</p>
<p>LatLng i Need : <code>28.602205, 77.380126</code></p>
<p>LatLng i receive: <code>28.600504,7... | I am using FusedLocationProviderClient to get the location but it not giving correct Location (i.e. precise). The location it provides is 20 blocks away atleast which is not really a good solution for me. LatLng i Need : 28.602205, 77.380126 LatLng i receive: 28.600504,77.382864 Here is code for the same [CODE] | android|kotlin|google-maps | 0 | 2022-08-01T06:54:40.510Z | 2,022 | 8 | 6 | 0 | 42 | 0 | 312 | 55 | 3 | 1 | true | true | false | false | false | false | zero |
73,189,853 | Invalid argument(s): Android settings must be set when targeting Android platform | <p>I have a flutter project which I till today only tested on an iPhone Emulator.</p>
<p>Now I am trying to run it on Android and facing this issue, When I am trying to update state via:</p>
<blockquote>
<p>context.read().updateUser(CurrentUser(obj.id, obj.firstName,
obj.lastName, obj.email, obj.isConfirmed, false, [])... | I have a flutter project which I till today only tested on an iPhone Emulator. Now I am trying to run it on Android and facing this issue, When I am trying to update state via: context.read().updateUser(CurrentUser(obj.id, obj.firstName, obj.lastName, obj.email, obj.isConfirmed, false, [])); It is throwing: E/flutter (... | android|flutter|dart|emulation | 0 | 2022-08-01T06:58:04.717Z | 2,022 | 8 | 6 | 0 | 105 | 1 | 483 | 81 | 4 | 1 | true | false | false | false | false | false | zero |
73,189,897 | .net MAUI Splash screen android error - failed linking file resources | <p>I'm trying to add a splash screen as described in the <a href="https://docs.microsoft.com/en-us/dotnet/maui/user-interface/images/splashscreen?tabs=android" rel="nofollow noreferrer">documentation</a>:</p>
<pre><code><MauiSplashScreen Include="Resources\appsplash.svg" Color="#fff" />
</code... | I'm trying to add a splash screen as described in the documentation : [CODE] The resource is in the appropriate directory with the 'MauiSplashScreen' Build Action Works fine debugging on windows but trying to build/debug on android gives the following errors: [CODE] Any ideas? | android|maui|.net-maui | 0 | 2022-08-01T07:02:52.823Z | 2,022 | 8 | 7 | 0 | 193 | 2 | 277 | 69 | 3 | 2 | true | false | false | false | false | false | zero |
73,189,928 | Android spinner dropdown item ripple background goes outside the round corners | <p>I have an <code>AppCompatSpinner</code> with a dropdown menu custom background with rounded corners. When I tap an option in the <code>AppCompatSpinner</code>, it shows the ripple background however the ripple goes outside the round corners and forms a normal rectangle. How can i make it so that the ripple fit in t... | I have an AppCompatSpinner with a dropdown menu custom background with rounded corners. When I tap an option in the AppCompatSpinner , it shows the ripple background however the ripple goes outside the round corners and forms a normal rectangle. How can i make it so that the ripple fit in the background of popup? This ... | android|kotlin|android-layout|android-spinner|ripple-effect | 2 | 2022-08-01T07:05:59.770Z | 2,022 | 8 | 7 | 0 | 88 | 2 | 573 | 78 | 5 | 3 | true | false | false | false | false | false | low |
73,189,991 | Error adding module to project: Module already exists: debug | <p>This flutter project file that I want to import, it's probably an old project, when I try importing it I get this error message of an existing file but, there is none.</p>
<p>I also deleted .idea folder but still showing the same error message "<strong>Error adding module to project: Module already exists: debu... | This flutter project file that I want to import, it's probably an old project, when I try importing it I get this error message of an existing file but, there is none. I also deleted .idea folder but still showing the same error message " Error adding module to project: Module already exists: debug ". Approch... | flutter|android-studio-bumblebee | 1 | 2022-08-01T07:12:18.677Z | 2,022 | 8 | 7 | 0 | 93 | 1 | 437 | 60 | 2 | 0 | false | false | false | false | false | false | low |
73,190,000 | xamarin.Android exception "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found." | <p>If I use AndroidClientHandler in my Xamarin.Android project I am getting "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found." Any idea on how to avoid this error for API call</p> | If I use AndroidClientHandler in my Xamarin.Android project I am getting "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found." Any idea on how to avoid this error for API call | xamarin.android | 0 | 2022-08-01T07:13:15.840Z | 2,022 | 8 | 7 | 0 | 31 | 1 | 227 | 121 | 1 | 0 | false | false | false | false | false | false | zero |
73,190,075 | How to show a Snackbar in Android on the top when using ConstraintLayout in a nice way | <p>I am using ConstraintLayout in Android and I would like to display a Snackbar message at the top of the screen. I found this question on Stackoverflow: <a href="https://stackoverflow.com/questions/31746300/how-to-show-snackbar-at-top-of-the-screen">How to show Snackbar at top of the screen</a></p>
<p>The answer with... | I am using ConstraintLayout in Android and I would like to display a Snackbar message at the top of the screen. I found this question on Stackoverflow: How to show Snackbar at top of the screen The answer with the most likes is quite bad as it looks horrible because you can see the Snackbar beeing animated to the top: ... | java|android|android-constraintlayout|android-snackbar | 1 | 2022-08-01T07:19:51.950Z | 2,022 | 8 | 7 | 0 | 66 | 1 | 596 | 86 | 4 | 2 | true | false | false | false | false | false | low |
73,190,135 | Capacitor : Can't build with push-notifications plulgin | <p>I am trying to use the capacitor push notifications plugin in a quasar project. So I followed <a href="https://capacitorjs.com/docs/guides/push-notifications-firebase" rel="nofollow noreferrer">this</a> tutorial.</p>
<p>But when building with the command : <code>quasar build -m capacitor -T android</code> outputs th... | I am trying to use the capacitor push notifications plugin in a quasar project. So I followed this tutorial. But when building with the command : quasar build -m capacitor -T android outputs this error (quasar project) : [CODE] I'm not sure if the error comes from the plugin itself or if I did something wrong during th... | java|android|firebase|vue.js|capacitor | -1 | 2022-08-01T07:24:54.393Z | 2,022 | 8 | 7 | 0 | 124 | 1 | 687 | 55 | 5 | 2 | true | false | false | false | false | true | negative |
73,190,185 | How to cancel a dpad key event programmatically in jetpack compose? | <p>I want to ignore a dpad key event in a specific location to keep the focus on the screen. I tried to simulate another key event to cancel the first key event i.e. to cancel dpad_up I called dispatchKeyEvent for dpad_down but it doesn't seem to work since the focus disappears after the dpad_up pressed. Can anyone hel... | I want to ignore a dpad key event in a specific location to keep the focus on the screen. I tried to simulate another key event to cancel the first key event i.e. to cancel dpad_up I called dispatchKeyEvent for dpad_down but it doesn't seem to work since the focus disappears after the dpad_up pressed. Can anyone help m... | android|focus|android-jetpack-compose|keyevent|d-pad | 0 | 2022-08-01T07:28:57.970Z | 2,022 | 8 | 7 | 0 | 43 | 0 | 332 | 67 | 5 | 0 | false | true | false | false | false | false | zero |
73,190,228 | android vpnservice onDestroy is not called when another vpn app create a tun at same time, why? | <p>I have try not use detachFd, then onDestroy is called.
If I use detachFd to get fd, then onDestroy is not called.
I want to know why onDestroy not called.</p> | I have try not use detachFd, then onDestroy is called. If I use detachFd to get fd, then onDestroy is not called. I want to know why onDestroy not called. | android|vpn | 0 | 2022-08-01T07:32:10.413Z | 2,022 | 8 | 7 | 0 | 15 | 0 | 154 | 95 | 2 | 0 | false | true | false | false | false | false | zero |
73,190,307 | RecyclerView + onClickListener + searchView showing wrong results | <p>basically my code is about displaying user data on a recyclerView, & when clicked, would intent to an activity that displays more of that particular user's data.</p>
<p>onClickListener works fine if I do not use the searchView. It intents the correct data.</p>
<p>However, when using searchView, when first result... | basically my code is about displaying user data on a recyclerView, & when clicked, would intent to an activity that displays more of that particular user's data. onClickListener works fine if I do not use the searchView. It intents the correct data. However, when using searchView, when first result is clicked, it alway... | android|android-recyclerview|onclicklistener|android-adapter|searchview | 0 | 2022-08-01T07:38:13.540Z | 2,022 | 8 | 7 | 0 | 64 | 2 | 692 | 65 | 5 | 4 | true | false | false | false | false | false | zero |
73,190,427 | How to connect your Android App with metamask? | <p>So I am using wallet <code>connectV2</code>, what I am trying to do is to connect my <code>metamask</code> wallet with my App and I am trying to follow the walletConnect2 sample app code. But I am having trouble connecting it as there is no popup appearing when selecting <code>metamask</code> unlike their own wallet... | So I am using wallet connectV2 , what I am trying to do is to connect my metamask wallet with my App and I am trying to follow the walletConnect2 sample app code. But I am having trouble connecting it as there is no popup appearing when selecting metamask unlike their own wallet sample app. So, please can anybody tell ... | android|kotlin|blockchain|metamask|wallet-connect | 2 | 2022-08-01T07:49:10.137Z | 2,022 | 8 | 7 | 0 | 171 | 0 | 446 | 46 | 5 | 0 | false | true | false | false | false | false | low |
73,190,493 | I was trying to authenticate Google Sign-in to my android APP but the sign-in is not working | <p>I was trying to authenticate Google Sign-in to my android APP but the sign-in is not working and i don't know why it is giving the error</p>
<pre><code>import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import androi... | I was trying to authenticate Google Sign-in to my android APP but the sign-in is not working and i don't know why it is giving the error [CODE] while going throught the logcat i realised that [CODE] this is not working , can anybody help logcat is and also it is showing error that bufferItemConsumer : onDisconnect() lo... | android|firebase | 0 | 2022-08-01T07:55:42.833Z | 2,022 | 8 | 7 | 0 | 27 | 0 | 330 | 92 | 2 | 2 | true | true | false | false | false | false | zero |
73,190,515 | When i try to build i get this error , what can i do | <p>Is there a solution to this problem :</p>
<pre><code>> * Exception is:
> org.gradle.api.CircularReferenceException: Circular dependency between the following tasks:
> :app:processDebugResources
> \--- :app:processDebugResources (*)
</code></pre> | Is there a solution to this problem : [CODE] | android | 0 | 2022-08-01T07:57:35.467Z | 2,022 | 8 | 7 | 0 | 39 | 0 | 44 | 52 | 1 | 1 | true | true | false | false | false | false | zero |
73,190,524 | how to share an video from one app to another using file Provider? | <p>I am trying to share an video from one app to another, but show me an error that "failed to find configure root/data/data/app_name/cache/videos/external files". I can't understand why it's not passing the uri to another app.</p>
<p>can anyone help me to solve this problem</p>
<p>here is file provider path<... | I am trying to share an video from one app to another, but show me an error that "failed to find configure root/data/data/app_name/cache/videos/external files". I can't understand why it's not passing the uri to another app. can anyone help me to solve this problem here is file provider path [CODE] here is my... | android|android-file|android-fileprovider | 2 | 2022-08-01T07:58:32.387Z | 2,022 | 8 | 7 | 0 | 30 | 1 | 332 | 66 | 3 | 2 | true | false | false | false | false | false | low |
73,190,612 | Flutter Bundle Identifier minus (-) and underscore(_) | <p>The domain of our company is company-name.com</p>
<p>So i wanted to name the bundle com.company-name.flutter-app</p>
<p>At the apple app store we are allowed to use minus (-) but not underscore (_) for the bundle id.</p>
<p>But on android in regards to this question we are not allowed to use minus.</p>
<p><a href="h... | The domain of our company is company-name.com So i wanted to name the bundle com.company-name.flutter-app At the apple app store we are allowed to use minus (-) but not underscore (_) for the bundle id. But on android in regards to this question we are not allowed to use minus. Valid name for Android Package Name Also ... | android|ios|flutter|google-play|app-store | 0 | 2022-08-01T08:06:07.997Z | 2,022 | 8 | 8 | 0 | 44 | 0 | 843 | 53 | 5 | 0 | false | true | false | false | false | false | zero |
73,190,624 | Mapbox Geocoding API - 'SocketException' | <p>I am using Mapbox Geocoding API's mapbox.places endpoint in flutter app. HTTP GET request is successful when using Wi-Fi network. However, it fails when using mobile network connection.
Is it normal for Mapbox?</p>
<p>Get Request:
<a href="https://api.mapbox.com/geocoding/v5/mapbox.places/49.854932599999984,40.39405... | I am using Mapbox Geocoding API's mapbox.places endpoint in flutter app. HTTP GET request is successful when using Wi-Fi network. However, it fails when using mobile network connection. Is it normal for Mapbox? Get Request: https://api.mapbox.com/geocoding/v5/mapbox.places/49.854932599999984,40.3940526.json?access_toke... | android|flutter|mapbox|socketexception | 0 | 2022-08-01T08:07:08.140Z | 2,022 | 8 | 8 | 0 | 50 | 0 | 705 | 40 | 4 | 3 | true | true | false | false | false | false | zero |
73,190,639 | How to perform Android tests with Compose and Material3? | <p>Fairly standard Android tests that once executed normally, fail to build now that I have upgraded my Jetpack Compose-based app to Material3.</p>
<p>They all give me the same error at build time:</p>
<pre><code>java.lang.IllegalStateException: blahblah.ui.MainActivity@b265e73 has already set content. If you have popu... | Fairly standard Android tests that once executed normally, fail to build now that I have upgraded my Jetpack Compose-based app to Material3. They all give me the same error at build time: [CODE] The error is thrown by: [CODE] Here is a sample of a test that used to build and run properly, but doesn't build anymore. [CO... | android|android-jetpack-compose|android-jetpack-compose-material3 | 0 | 2022-08-01T08:08:20.837Z | 2,022 | 8 | 8 | 0 | 192 | 0 | 508 | 56 | 3 | 3 | true | true | false | false | false | false | zero |
73,190,643 | okHTTP Unable to find acceptable protocols(android) giving error | <p>I try using libruary OKhttp, and i use https for post reqest. Now i have error, when i try post my example, this is error:</p>
<p>Unable to find acceptable protocols. isFallback=false, modes=[ConnectionSpec()], supported protocols=[TLSv1, TLSv1.1, TLSv1.2, TLSv1.3]</p>
<p>MyCode :</p>
<pre><code>spec = new Connectio... | I try using libruary OKhttp, and i use https for post reqest. Now i have error, when i try post my example, this is error: Unable to find acceptable protocols. isFallback=false, modes=[ConnectionSpec()], supported protocols=[TLSv1, TLSv1.1, TLSv1.2, TLSv1.3] MyCode : [CODE] | android|ssl | 0 | 2022-08-01T08:08:51.080Z | 2,022 | 8 | 8 | 0 | 28 | 0 | 274 | 64 | 2 | 1 | true | true | false | false | false | false | zero |
73,190,711 | How to customize MediaPlayer CompletionListener? | <p>Here is something I would like to achieve. It is like a customization of what <em>setOnCompletionListener</em> already does.</p>
<p>We can have code like this:</p>
<pre><code>var audioPlayer:MediaPlayer
....
audioPlayer.setOnCompletionListener {
... something very useful ...
}
</code></pre>
<p>to do something when... | Here is something I would like to achieve. It is like a customization of what setOnCompletionListener already does. We can have code like this: [CODE] to do something when an audio has finished playing. What I want is to be able to do something when an audio has reached a certain point. For example when it is half way,... | android|kotlin|android-mediaplayer | 0 | 2022-08-01T08:15:05.473Z | 2,022 | 8 | 8 | 0 | 26 | 0 | 383 | 48 | 3 | 1 | true | true | false | false | false | false | zero |
73,190,741 | Onesignal badge-count is always 0 when requesting their rest api | <p>I am using the following rest api from onesignal. I see a property "badge_count" on the return. This value is always 0, even though I see a badge number count in the app icon.
Is there another ways to access this value, via the sdk? or why is the "badge_count": 0 ? in rest api. Are there any eve... | I am using the following rest api from onesignal. I see a property "badge_count" on the return. This value is always 0, even though I see a badge number count in the app icon. Is there another ways to access this value, via the sdk? or why is the "badge_count": 0 ? in rest api. Are there any event f... | android|cordova|onesignal|react-native-onesignal | 0 | 2022-08-01T08:17:44.150Z | 2,022 | 8 | 8 | 0 | 32 | 0 | 434 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
73,190,771 | 【Android】In-app purchases for non-public apps | <p>Is it possible to continue to use Google Play billing when an application (with in-app billing already implemented) that has been published on Google Play is made private?
Should the billing function of Google Play also be made private?</p> | Is it possible to continue to use Google Play billing when an application (with in-app billing already implemented) that has been published on Google Play is made private? Should the billing function of Google Play also be made private? | android|google-play | 0 | 2022-08-01T08:20:46.847Z | 2,022 | 8 | 8 | 0 | 28 | 1 | 236 | 45 | 2 | 0 | false | false | false | false | false | false | zero |
73,190,785 | JitsiMeetSDK: JitsiMeetUncaughtExceptionHandler FATAL ERROR | <p>Application crash on lunching</p>
<p>SDK Details</p>
<pre><code>implementation ('org.jitsi.react:jitsi-meet-sdk:5.1.0') { transitive = true }
</code></pre>
<p>Error</p>
<pre><code>*java.lang.IllegalArgumentException: Linear gradient requires 'angle' attribute to be a multiple of 45
at android.graphics.drawab... | Application crash on lunching SDK Details [CODE] Error [CODE] | android|linear-gradients|jitsi|jitsi-meet|lib-jitsi-meet | 0 | 2022-08-01T08:21:57.210Z | 2,022 | 8 | 8 | 0 | 39 | 0 | 61 | 59 | 5 | 2 | true | true | false | false | false | false | zero |
73,190,883 | Flutter flavorizr app name not working on ios | <p>I am using <a href="https://pub.dev/packages/flutter_flavorizr" rel="nofollow noreferrer">https://pub.dev/packages/flutter_flavorizr</a> package to create flavors in my flutter app.
Everything is working fine for me when running on Android, but iOS is not working as expected (at least as I expect, maybe I am wrong).... | I am using https://pub.dev/packages/flutter_flavorizr package to create flavors in my flutter app. Everything is working fine for me when running on Android, but iOS is not working as expected (at least as I expect, maybe I am wrong). I am creating an app with two flavors, different app names and icons. Android shows b... | ios|flutter|dart|android-flavors | 1 | 2022-08-01T08:29:26.103Z | 2,022 | 8 | 8 | 0 | 86 | 0 | 851 | 45 | 4 | 1 | true | true | false | false | false | false | low |
73,191,078 | Unreal Building for Quest 2 : rungraddle.bat error | <p><a href="https://i.stack.imgur.com/VMYqn.png" rel="nofollow noreferrer">The the screen shot of the error</a></p>
<p>So i have been trying to build for the quest 2 and i cant seem to fix this error forever. I need help fixing this error or im goin to loose my mind</p> | The the screen shot of the error So i have been trying to build for the quest 2 and i cant seem to fix this error forever. I need help fixing this error or im goin to loose my mind | android|error-handling|unreal-engine4|quest|unrealscript | 0 | 2022-08-01T08:46:09.110Z | 2,022 | 8 | 8 | 0 | 14 | 0 | 180 | 50 | 5 | 0 | false | true | false | false | false | false | zero |
73,191,144 | why am i getting incompatible types error in RecyclerView | <p>I've been dealing with this problem for a long time this is my error
error: incompatible types: androidx.recyclerview.widget.RecyclerView cannot be converted to android.support.v7.widget.RecyclerView
new RecyclerView_Config().setConfig(mRecyclerView,MainActivity.this,</p>
<p>this is where i got the error</p>
<pre><c... | I've been dealing with this problem for a long time this is my error error: incompatible types: androidx.recyclerview.widget.RecyclerView cannot be converted to android.support.v7.widget.RecyclerView new RecyclerView_Config().setConfig(mRecyclerView,MainActivity.this, this is where i got the error [CODE] | android-recyclerview | 0 | 2022-08-01T08:51:41.813Z | 2,022 | 8 | 8 | 0 | 22 | 0 | 305 | 57 | 1 | 1 | true | true | false | false | false | false | zero |
73,191,147 | taking picture with FileProvider onActivityResult bitmap null | <p>I'm trying to follow <a href="https://developer.android.com/training/camera/photobasics" rel="nofollow noreferrer">https://developer.android.com/training/camera/photobasics</a> to get original image size, but I got null on the bitmap</p>
<pre><code> lateinit var currentPhotoPath: String
@Throws(IOException::... | I'm trying to follow https://developer.android.com/training/camera/photobasics to get original image size, but I got null on the bitmap [CODE] onActivityResult : [CODE] I can open the camera activity, but when trying to get the result, it returns [CODE] What's wrong with it? | android|kotlin|android-intent|bitmap | 0 | 2022-08-01T08:51:59.597Z | 2,022 | 8 | 8 | 0 | 34 | 0 | 275 | 61 | 4 | 3 | true | true | false | false | false | false | zero |
73,191,157 | Version control of baseline.prof | <p>I'm a beginner of Android developer. I'm confused <strong>how to control the version of baseline.prof on different Android platforms</strong>. for example, if I generate baseline-prof.txt on Android S, and package them as an apk, then I release the apk on Android T, can baseline-prof.txt(baseline.prof) still be avai... | I'm a beginner of Android developer. I'm confused how to control the version of baseline.prof on different Android platforms . for example, if I generate baseline-prof.txt on Android S, and package them as an apk, then I release the apk on Android T, can baseline-prof.txt(baseline.prof) still be available? | android | 0 | 2022-08-01T08:52:50.207Z | 2,022 | 8 | 8 | 0 | 28 | 0 | 307 | 32 | 1 | 0 | false | true | false | false | false | false | zero |
73,191,170 | Android espresso- dismis snackbar (swipeRight) is not working on api 33 | <p>Im tring to dismiss Snackbare using this code:</p>
<pre><code> onView(withId(R.id.snackbar_text))
.check(matches(isDisplayed()))
.perform(swipeRight())
</code></pre>
<p>It works on all APIs untill API 33.
on API 33 the test move to the next line of code but the snack bar still appears on the screen.</p>
... | Im tring to dismiss Snackbare using this code: [CODE] It works on all APIs untill API 33. on API 33 the test move to the next line of code but the snack bar still appears on the screen. Any idea how to handle it? | android-espresso | 1 | 2022-08-01T08:53:32.943Z | 2,022 | 8 | 8 | 0 | 29 | 1 | 212 | 71 | 1 | 1 | true | false | false | false | false | false | low |
73,191,255 | How to set half expand ratio to bottom sheet in Compose? | <p>In XML we have material3 bottom sheet. It allows us to set behavior of bottom sheet. It can be updated like:</p>
<pre><code>bottomSheetBehavior.halfExpandedRatio = 0.6
bottomSheetBehavior.state = BottomSheetBehavior.STATE_HALF_EXPANDED
</code></pre>
<p>I'm migrating project to Compose. My app used this half expanded... | In XML we have material3 bottom sheet. It allows us to set behavior of bottom sheet. It can be updated like: [CODE] I'm migrating project to Compose. My app used this half expanded ratio for 3 positioned bottom sheet: collapsed, half expanded, expanded. Now i'm trying to create bottom sheet like that: [CODE] But it loo... | android|kotlin|android-jetpack-compose|bottom-sheet | 5 | 2022-08-01T08:59:37.583Z | 2,022 | 8 | 8 | 0 | 234 | 0 | 445 | 56 | 4 | 2 | true | true | false | false | false | false | low |
73,191,259 | Resizing a rotated container in flutter from corners and middle points ( 8 points) | <p>I am developing an shape editor in flutter. For that, I need to add a feature of adding shapes dynamically to the screen. Each of them should be able to independently scale, position, and rotate. There should be an anchor point like in word or in Photoshop to indicate the active shapes and to scale and rotate them. ... | I am developing an shape editor in flutter. For that, I need to add a feature of adding shapes dynamically to the screen. Each of them should be able to independently scale, position, and rotate. There should be an anchor point like in word or in Photoshop to indicate the active shapes and to scale and rotate them. The... | android|flutter|dart|matrix|transformation | 1 | 2022-08-01T08:59:49.243Z | 2,022 | 8 | 8 | 0 | 31 | 0 | 581 | 82 | 5 | 1 | true | true | false | false | false | false | low |
73,191,282 | MSAL with Shared Device Mode + dependencies | <p>my company wants to implement SSO on an Android device, which is used by several employees over the day. We came accross MSAL and the use of the Authenticator App to implement SSO. As far as I understood, I need to put the device into "Shared Device Mode".</p>
<p>From what I read so far I am confused, if I... | my company wants to implement SSO on an Android device, which is used by several employees over the day. We came accross MSAL and the use of the Authenticator App to implement SSO. As far as I understood, I need to put the device into "Shared Device Mode". From what I read so far I am confused, if I therefor ... | android|azure|azure-active-directory|single-sign-on|msal | 0 | 2022-08-01T09:01:00.900Z | 2,022 | 8 | 9 | 0 | 85 | 1 | 613 | 43 | 5 | 0 | false | false | false | false | false | false | zero |
73,191,421 | Data migration from android11 to android12 | <p>I'm trying to backup android11 and restore to android12.
I have a backup, but I can't restore it.
What's wrong?
please tell me.</p>
<p>AndroidManifest.xml</p>
<pre><code><application
android:name="androidx.multidex.MultiDexApplication"
android:allowBackup="true"
android:fullBacku... | I'm trying to backup android11 and restore to android12. I have a backup, but I can't restore it. What's wrong? please tell me. AndroidManifest.xml [CODE] backup_rules.xml [CODE] backup_rules12.xml [CODE] | java|android|backup|restore|android-12 | 0 | 2022-08-01T09:11:12.113Z | 2,022 | 8 | 9 | 0 | 54 | 0 | 206 | 43 | 5 | 3 | true | true | false | false | false | false | zero |
73,191,481 | How do I make a react native app built with expo support lower (5-10) android versions? | <p>I have finished building the app but it only works on android versions 11+. I have added <code>"minSdkVersion": 23</code> to <code>plugins.android</code> in the <code>app.json</code> but it doesn't seem to do it</p>
<p>My <code>app.json</code> file:</p>
<pre><code>{
"expo": {
"name&quo... | I have finished building the app but it only works on android versions 11+. I have added "minSdkVersion": 23 to plugins.android in the app.json but it doesn't seem to do it My app.json file: [CODE] | android|react-native|expo | 0 | 2022-08-01T09:15:25.117Z | 2,022 | 8 | 9 | 0 | 13 | 0 | 207 | 87 | 3 | 1 | true | true | false | false | false | false | zero |
73,191,497 | Why is there java.io.FileNotFoundException when I use HttpURLConnection to get data via api? | <p>Please help ~</p>
<p>There is DailyForeignExchangeRates opendata on
<a href="https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates" rel="nofollow noreferrer">https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates</a></p>
<p>When I browse it from chrome, I will get a file as follows.</p>
<p><a href="https://... | Please help ~ There is DailyForeignExchangeRates opendata on https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates When I browse it from chrome, I will get a file as follows. enter image description here But when I using HttpURLConnection to get data in Android Studio, I always get FileNotFoundException. Why ? [CO... | java|android|api|httpurlconnection|filenotfoundexception | 0 | 2022-08-01T09:17:04.417Z | 2,022 | 8 | 9 | 0 | 38 | 0 | 396 | 92 | 5 | 3 | true | true | false | false | false | false | zero |
73,191,559 | Exoplayer2 blank screen on portrait to landscape mode on button click in android | <p>I am using ExoPlayer2, I am using my controller to play/pause. I want to play full-screen videos like the portrait to landscape the blank screen displays. I have used two XML one is for portrait mode and the other is for landscape mode. Here I am playing m3u8 videos and token-based auth. So anybody please help me.</... | I am using ExoPlayer2, I am using my controller to play/pause. I want to play full-screen videos like the portrait to landscape the blank screen displays. I have used two XML one is for portrait mode and the other is for landscape mode. Here I am playing m3u8 videos and token-based auth. So anybody please help me. Code... | android|exoplayer|exoplayer2.x|landscape-portrait|exoplayer-media-item | 0 | 2022-08-01T09:22:19.843Z | 2,022 | 8 | 9 | 0 | 37 | 0 | 421 | 80 | 5 | 2 | true | true | false | false | false | false | zero |
73,191,624 | How to wait until final response is fetched in retrofit GET request | <p>This is my code, I'm getting success code 200 but I need to wait until the final response is fetched.</p>
<pre><code> val retroService =
RetroInstance().getRetroInstance("$url/")
.create(ApiService::class.java)
val call = retroService.getResponse(
&q... | This is my code, I'm getting success code 200 but I need to wait until the final response is fetched. [CODE] I have to wait until the final response is fetched. I tried it in postman the final output is displayed. | android|api|kotlin|retrofit2 | 0 | 2022-08-01T09:27:31.417Z | 2,022 | 8 | 9 | 0 | 86 | 0 | 213 | 67 | 4 | 1 | true | true | false | false | false | false | zero |
73,191,638 | Why is there compileSdkVersion in manifest file? | <p>Everywhere it is written that <code>compileSdkVersion</code> only needs to compile and isn't included in manifest file. But i opened manifest file in apk and saw <code>android:compileSdkVersion="32"</code> there. For what purposes is it there ?</p> | Everywhere it is written that compileSdkVersion only needs to compile and isn't included in manifest file. But i opened manifest file in apk and saw android:compileSdkVersion="32" there. For what purposes is it there ? | android|android-studio|android-manifest | 0 | 2022-08-01T09:28:50.397Z | 2,022 | 8 | 9 | 0 | 59 | 1 | 228 | 48 | 3 | 0 | false | false | false | false | false | false | zero |
73,191,692 | Test error:MyActivity has already set content. If you have populated the Activity with a ComposeView, make sure to call setContent on that ComposeView | <p>When running Robolectric unit tests with the latest version of Compose 1.2.0, then the tests using <code>createAndroidComposeRule</code> fail with the following error:</p>
<blockquote>
<p>MyActivity has already set content. If you have populated the Activity with a ComposeView, make sure to call setContent on that C... | When running Robolectric unit tests with the latest version of Compose 1.2.0, then the tests using createAndroidComposeRule fail with the following error: MyActivity has already set content. If you have populated the Activity with a ComposeView, make sure to call setContent on that ComposeView instead of on the test ru... | android|android-jetpack-compose|android-testing | 2 | 2022-08-01T09:32:42.913Z | 2,022 | 8 | 9 | 0 | 259 | 3 | 454 | 150 | 3 | 1 | true | false | false | false | false | false | low |
73,191,747 | Get path to opened file | <p>I am creating in Java langauge Android audio player. I want to implement there the ability to show the cover art when the mp3 file is opened. To do this I need the path to this opened file but I don't know what it is and how to find it.</p>
<p>Mp3 file is opened from phone disc after click on the open button:</p>
<p... | I am creating in Java langauge Android audio player. I want to implement there the ability to show the cover art when the mp3 file is opened. To do this I need the path to this opened file but I don't know what it is and how to find it. Mp3 file is opened from phone disc after click on the open button: [CODE] PlayerAct... | java|android|android-mediaplayer|albumart | 0 | 2022-08-01T09:36:50.563Z | 2,022 | 8 | 9 | 0 | 86 | 1 | 360 | 23 | 4 | 3 | true | false | false | false | false | false | zero |
73,191,804 | Flutter message list voice record bug | <p>I have a chat application. Its working perfectly. I have reversed listview for show it. When i send message or photo its working so well. Sending audio is working perfectly too. But if i send audios repeatly its having strange bug.For example if i send 3 voice message repeatly and their seconds like first one is 2 s... | I have a chat application. Its working perfectly. I have reversed listview for show it. When i send message or photo its working so well. Sending audio is working perfectly too. But if i send audios repeatly its having strange bug.For example if i send 3 voice message repeatly and their seconds like first one is 2 seco... | android|ios|flutter|dart|audio | 0 | 2022-08-01T09:42:29.523Z | 2,022 | 8 | 9 | 0 | 70 | 1 | 818 | 37 | 5 | 1 | true | false | false | false | false | false | zero |
73,191,974 | Coroutine Scope correct implementation with states | <p>I am making a retail app using MVVM Architecture and Jetpack Compose.</p>
<p>Scenario.</p>
<ol>
<li>Create page for creating a store visit, there is a Save button on topbar.</li>
<li>On click of save, have to show a dropdown menu with two items, Save and Save and Open, first option is to save the visit, second is to... | I am making a retail app using MVVM Architecture and Jetpack Compose. Scenario. Create page for creating a store visit, there is a Save button on topbar. On click of save, have to show a dropdown menu with two items, Save and Save and Open, first option is to save the visit, second is to save and open the same visit de... | android|drop-down-menu|android-jetpack-compose | 0 | 2022-08-01T09:56:01.517Z | 2,022 | 8 | 9 | 0 | 70 | 2 | 720 | 50 | 3 | 2 | true | false | false | false | false | false | zero |
73,191,998 | OkHttpClient get information from log | <p>i am try to make my app that send POST request on server, get response and work with it, but it get little hard to me, so i got a problem to get a response from OkHttpClient to local variable. My app work fine, it sending requests to server, gets a responses, but when i try to make it var i got link to local class. ... | i am try to make my app that send POST request on server, get response and work with it, but it get little hard to me, so i got a problem to get a response from OkHttpClient to local variable. My app work fine, it sending requests to server, gets a responses, but when i try to make it var i got link to local class. I c... | java|android|kotlin|retrofit2|okhttp | -1 | 2022-08-01T09:57:55.620Z | 2,022 | 8 | 9 | 0 | 37 | 1 | 1,006 | 37 | 5 | 3 | true | false | false | false | false | true | negative |
73,192,208 | How to show local notifications when app is closed in Flutter on Android device | <p>I have some troubles with showing sheduled local notifications in Flutter on Android device. It works when app is opened, but when app is closed notifications don't show.
There is NotificationManager class that shows notifications:</p>
<pre class="lang-dart prettyprint-override"><code>class NotificationManager {
... | I have some troubles with showing sheduled local notifications in Flutter on Android device. It works when app is opened, but when app is closed notifications don't show. There is NotificationManager class that shows notifications: [CODE] There is how I use it in the main.dart: [CODE] So if I don't close app, it works.... | android|flutter|dart|flutter-local-notification | 0 | 2022-08-01T10:15:13.687Z | 2,022 | 8 | 10 | 0 | 59 | 1 | 426 | 79 | 4 | 3 | true | false | false | false | false | false | zero |
73,192,227 | IDE Fatal Errors - Exception in plugin Gradle (Android Studio Chipmunk | 2021.2.1 Patch 1) while importing opencv module | <p>I tried to import the opencv module into a project. But when importing, I get an IDE Fatal Errors.<a href="https://i.stack.imgur.com/QaAl4.png" rel="nofollow noreferrer">module import</a>
Android studio version: Android Studio Chipmunk | 2021.2.1 Patch 1.
Opencv version : OpenCV – 4.5.5 .
Android SDK Plateform : And... | I tried to import the opencv module into a project. But when importing, I get an IDE Fatal Errors. module import Android studio version: Android Studio Chipmunk | 2021.2.1 Patch 1. Opencv version : OpenCV – 4.5.5 . Android SDK Plateform : Android API 33 . The contents of the build.gradle(:app) file : file content image... | java|android-studio|opencv|nullpointerexception | 0 | 2022-08-01T10:16:26.413Z | 2,022 | 8 | 10 | 0 | 39 | 0 | 327 | 120 | 4 | 1 | true | true | false | false | false | false | zero |
73,192,276 | Use a VPN Server on Android in order to perform remote vulnerability scan | <p>I am working on an Android Java application that performs a vulnerability scan of the network where the mobile device is.
Since I cannot install any type of vulnerability scan tool on Android I would like to send the vulnerability scan packets from a back-end server to my android device and then make the android dev... | I am working on an Android Java application that performs a vulnerability scan of the network where the mobile device is. Since I cannot install any type of vulnerability scan tool on Android I would like to send the vulnerability scan packets from a back-end server to my android device and then make the android device... | java|android|security|server|vpn | 0 | 2022-08-01T10:20:22.070Z | 2,022 | 8 | 10 | 0 | 40 | 0 | 1,547 | 73 | 5 | 0 | false | true | false | false | false | false | zero |
73,192,279 | How to create a unit test for login activity connected to database using mysql | <pre><code>package com.example.acrs;
import androidx.appcompat.app.AppCompatActivity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.T... | [CODE] This is my java code for my login activity. How do I create a test for this activity where I can test if the code retrieves username and password from mysql correctly and displaying my intended username and password. What I would like to see in my test case is, I would provide a username and password which I alr... | android-studio|junit | 0 | 2022-08-01T10:20:36.047Z | 2,022 | 8 | 10 | 0 | 18 | 0 | 474 | 78 | 2 | 1 | true | true | false | false | false | false | zero |
73,192,295 | Keep Aspect Ratio Exoplayer without using com.google.android.exoplayer2.ui.PlayerView | <p>I am currently working on an OpenGL demo project of exoplayer version "2.12.1".</p>
<p><a href="https://github.com/google/ExoPlayer/tree/r2.12.1/demos/gl" rel="nofollow noreferrer">https://github.com/google/ExoPlayer/tree/r2.12.1/demos/gl</a></p>
<p>MainActivity.java</p>
<pre><code>/*
* Copyright (C) 2020... | I am currently working on an OpenGL demo project of exoplayer version "2.12.1". https://github.com/google/ExoPlayer/tree/r2.12.1/demos/gl MainActivity.java [CODE] BitmapOverlayVideoProcessor.java [CODE] VideoProcessingGLSurfaceView.java [CODE] bitmap_overlay_video_processor_vertex.glsl [CODE] bitmap_overlay_v... | android|opengl-es|exoplayer|exoplayer2.x | 3 | 2022-08-01T10:21:40.083Z | 2,022 | 8 | 10 | 0 | 128 | 2 | 681 | 85 | 4 | 5 | true | false | false | false | false | false | low |
73,192,340 | How to use implementation 'com.jjoe64:graphview:4.2.2' | <p>Do I need a kind of lisence to use implementation 'com.jjoe64:graphview:4.2.2' in my build.gradle?
If yes how can implement a lisence in my code?</p> | Do I need a kind of lisence to use implementation 'com.jjoe64:graphview:4.2.2' in my build.gradle? If yes how can implement a lisence in my code? | android | 1 | 2022-08-01T10:25:55.660Z | 2,022 | 8 | 10 | 0 | 32 | 1 | 145 | 54 | 1 | 0 | false | false | false | false | false | false | low |
73,192,370 | Is there any library in flutter ,that can scan details of other applications in the device? | <p>I am trying to build a project in which we will create a report according to screen time of all the applications present in the device ,is there any suitable library present for flutter that can helps us out .
(if not library then any possible way to reach our need)</p> | I am trying to build a project in which we will create a report according to screen time of all the applications present in the device ,is there any suitable library present for flutter that can helps us out . (if not library then any possible way to reach our need) | android|flutter | 0 | 2022-08-01T10:28:38.290Z | 2,022 | 8 | 10 | 0 | 13 | 0 | 266 | 91 | 2 | 0 | false | true | false | false | false | false | zero |
73,192,398 | Xamarin Resource.Designer.cs generating const instead of static | <p>I have on .NET 6 project using xamarin.android where the resource designer file generated with an error <code>CS0131 : The left-hand side of an assignment must be a variable, property or indexer</code>:</p>
<pre class="lang-cs prettyprint-override"><code>public static void UpdateIdValues()
{
global::MyGame.Resou... | I have on .NET 6 project using xamarin.android where the resource designer file generated with an error CS0131 : The left-hand side of an assignment must be a variable, property or indexer : [CODE] with values generated like so : [CODE] Is it an issue with the xamarin dependency ? If so, is it something i can solve thr... | c#|xamarin|xamarin.android|generated-code | 0 | 2022-08-01T10:30:20.893Z | 2,022 | 8 | 10 | 0 | 25 | 0 | 350 | 63 | 4 | 2 | true | true | false | false | false | false | zero |
73,192,430 | How to calculate the time that will be required to fetch response in retrofit? | <p>I am using retrofit API to fetch data from my backend:</p>
<pre><code> OkHttpClient.Builder httpClient = new OkHttpClient.Builder()
.callTimeout(2, TimeUnit.MINUTES)
.connectTimeout(2, TimeUnit.MINUTES)
.readTimeout(3, TimeUnit.MINUTES)
.writeTimeout(3, TimeUnit.MIN... | I am using retrofit API to fetch data from my backend: [CODE] I want to show the user that they have to wait for x minutes to see the response. How do I calculate that time? | android|retrofit | 0 | 2022-08-01T10:32:55.133Z | 2,022 | 8 | 10 | 0 | 36 | 1 | 173 | 78 | 2 | 1 | true | false | false | false | false | false | zero |
73,192,716 | How to parse date "2022-07-18T08:24:18Z" in android | <p>I have tried these format but none worked.</p>
<ol>
<li>yyyy-MM-dd'T'HH:mm:ss'Z'</li>
<li>yyyy-MM-dd'T'HH:mm:ssZ</li>
<li>yyyy-MM-dd'T'HH:mm:ssZZ</li>
<li>yyyy-MM-dd'T'HH:mm:ss</li>
</ol>
<p>Also tried "ZonedDateTime", but it is not available below Android O.</p> | I have tried these format but none worked. yyyy-MM-dd'T'HH:mm:ss'Z' yyyy-MM-dd'T'HH:mm:ssZ yyyy-MM-dd'T'HH:mm:ssZZ yyyy-MM-dd'T'HH:mm:ss Also tried "ZonedDateTime", but it is not available below Android O. | android|kotlin|datetime-parsing | -1 | 2022-08-01T10:58:23.830Z | 2,022 | 8 | 10 | 0 | 88 | 2 | 215 | 51 | 3 | 0 | false | false | false | false | false | true | negative |
73,192,719 | Android i use pinned shortcut for my app but below <= version 10 mobiles shortcut icon not visible after shortcut installed | <p>I checked with vector image or bitmap. but not showing.
finally i checked with mipmap its working fine. So pined shortcut we need to use mipmap resource?</p>
<pre><code> ShortcutInfo.Builder(context, id)
.setShortLabel(fileName!!)
.setLongLabel(fileName)
.setIcon(Icon.crea... | I checked with vector image or bitmap. but not showing. finally i checked with mipmap its working fine. So pined shortcut we need to use mipmap resource? [CODE] | android | 0 | 2022-08-01T10:58:46.793Z | 2,022 | 8 | 10 | 0 | 23 | 0 | 160 | 123 | 1 | 1 | true | true | false | false | false | false | zero |
73,192,786 | Divider in compose material 3 | <p>I want to add a horizontal divider below the top bar like this:</p>
<p><a href="https://i.stack.imgur.com/WP7O9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WP7O9.png" alt="enter image description here" /></a></p>
<p>I am using Material 3. but the Divider can not be resolved. here are my depend... | I want to add a horizontal divider below the top bar like this: I am using Material 3. but the Divider can not be resolved. here are my dependencies: [CODE] And here are my codes: [CODE] But as I mentioned above Divider is the unresolved reference: | android|kotlin|android-jetpack-compose|android-jetpack-compose-material3 | 2 | 2022-08-01T11:12:45.470Z | 2,022 | 8 | 11 | 0 | 159 | 1 | 248 | 29 | 4 | 2 | true | false | false | false | false | false | low |
73,192,804 | Android jetpack compose text colour is changed after animation | <p>I have two Boxes, each of them has two AnimatedVisibility. Each AnimatedVisibility contains Text. Also I have a button, which triggers the animation (one text slides out, the other slides in). The problem I'm facing is that in dark mode, after animation, text colour is white, despite setting it to <code>Color.Black<... | I have two Boxes, each of them has two AnimatedVisibility. Each AnimatedVisibility contains Text. Also I have a button, which triggers the animation (one text slides out, the other slides in). The problem I'm facing is that in dark mode, after animation, text colour is white, despite setting it to Color.Black . No clue... | android|android-animation|android-jetpack-compose | 1 | 2022-08-01T11:14:24.730Z | 2,022 | 8 | 11 | 0 | 69 | 0 | 601 | 62 | 3 | 1 | true | true | false | false | false | false | low |
73,192,850 | Can't set default animation to my action in nav_graph | <p>I want to set deafault animation for my action in <a href="https://i.stack.imgur.com/QH7ba.png" rel="nofollow noreferrer">navigation component</a>. But when I going to another fragment, app is crashing whith error:</p>
<pre><code>java.lang.RuntimeException: Unknown animator name: accelerateDecelerateInterpolator
... | I want to set deafault animation for my action in navigation component . But when I going to another fragment, app is crashing whith error: [CODE] In AnimatorInflater.java I found what many imports is red, so I think Android Studio cannot find these dependenscies. AnimatorInflater.java imports So I thing maybe some imp... | android|android-studio|kotlin|android-animation | 0 | 2022-08-01T11:19:40.217Z | 2,022 | 8 | 11 | 0 | 52 | 1 | 410 | 53 | 4 | 1 | true | false | false | false | false | false | zero |
73,192,933 | Test onCreate Function Call | <p>I have a MainApplication Class that calls a specific function in onCreate().
I want to test, if the function is called on create and logs data periodically.</p>
<pre><code>class MainApplication : Application() {
override fun onCreate() {
super.onCreate()
consumptionMonitoring(getLogger(logge... | I have a MainApplication Class that calls a specific function in onCreate(). I want to test, if the function is called on create and logs data periodically. [CODE] How can write a unit test, that checks if the consumtionMonitoring function is called, and -> because its an observable that it is logging every 10 seconds | android|kotlin|junit|reactive-programming|mockk | 0 | 2022-08-01T11:26:42.500Z | 2,022 | 8 | 11 | 0 | 31 | 0 | 319 | 27 | 5 | 1 | true | true | false | false | false | false | zero |
73,193,074 | Passing an 'onTouch' event to an activity below Android | <p>I have an activity A. Activity B is partially transparent (so I can see activity A below).</p>
<p>Is there an option in Android to allow a user to interact with Activity A while B is still in front?</p>
<p>I want to leave activity B in front the whole time, but allow the user to interact with screen A.</p>
<p>overri... | I have an activity A. Activity B is partially transparent (so I can see activity A below). Is there an option in Android to allow a user to interact with Activity A while B is still in front? I want to leave activity B in front the whole time, but allow the user to interact with screen A. overriding the implementation ... | android|android-touch-event | 0 | 2022-08-01T11:38:56.620Z | 2,022 | 8 | 11 | 0 | 23 | 2 | 385 | 55 | 2 | 0 | false | false | false | false | false | false | zero |
73,193,110 | Xamarin Android: FreshChat SDK Implementation in xamarin forms giving exception | <p>I have downloaded Android SDK 5.1.0 from url <a href="https://github.com/freshworks/freshchat-android/releases" rel="nofollow noreferrer">https://github.com/freshworks/freshchat-android/releases</a></p>
<p>of SDK Documentation:
<a href="https://support.freshchat.com/en/support/solutions/articles/50000000207-freshcha... | I have downloaded Android SDK 5.1.0 from url https://github.com/freshworks/freshchat-android/releases of SDK Documentation: https://support.freshchat.com/en/support/solutions/articles/50000000207-freshchat-android-sdk-integration-steps#4.1-Conversations to implement it in xamarin.android project and this sdk is using h... | android|xamarin|xamarin.forms | 1 | 2022-08-01T11:42:05.373Z | 2,022 | 8 | 11 | 0 | 117 | 0 | 1,670 | 79 | 3 | 0 | false | true | false | false | false | false | low |
73,193,134 | Obfuscate an EXPO file | <p>First time I use Expo (react native app) to deploy an app into Googgle play store. Expo Generates an aab -file that I can upload to the store. But it seems like it is not obfuscated. Reading through the Expo documents I don't get my head around how to define this in my build process.</p>
<p>If I understand documenta... | First time I use Expo (react native app) to deploy an app into Googgle play store. Expo Generates an aab -file that I can upload to the store. But it seems like it is not obfuscated. Reading through the Expo documents I don't get my head around how to define this in my build process. If I understand documentation corre... | react-native|expo|android-obfuscation | 1 | 2022-08-01T11:44:12.140Z | 2,022 | 8 | 11 | 0 | 123 | 1 | 470 | 22 | 3 | 0 | false | false | false | false | false | false | low |
73,193,161 | How to update Activity UI from broadcast receiver without creating sub class of receiver inside the activity in Android Kotlin? | <p>I am receiving broadcast from another app in frequent interval. When I first receive the broadcast it shows the message data received from the broadcast by opening the activity. But after the activity is opened and I receive another broadcast, it is not updating that value in the Activity.
I don't want to create the... | I am receiving broadcast from another app in frequent interval. When I first receive the broadcast it shows the message data received from the broadcast by opening the activity. But after the activity is opened and I receive another broadcast, it is not updating that value in the Activity. I don't want to create the su... | android|kotlin|broadcastreceiver|android-notifications | 0 | 2022-08-01T11:46:53.843Z | 2,022 | 8 | 11 | 0 | 21 | 0 | 1,015 | 127 | 4 | 3 | true | true | false | false | false | false | zero |
73,193,288 | Why Kotlin Spinner onItemSelected doesn't work when on a Fragment which loads another Fragment? | <p>I have Fragment and Fragment loads another fragment in it's FrameLayout.And I also have a Spinner in that main Fragment.</p>
<p>PS:my mainActivity initiliaze ListFragment()</p>
<p>MainActivity.kt</p>
<pre><code>class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | I have Fragment and Fragment loads another fragment in it's FrameLayout.And I also have a Spinner in that main Fragment. PS:my mainActivity initiliaze ListFragment() MainActivity.kt [CODE] If I don't load any other fragment to my Framelayout or load any fragment except it's own fragment my spinner's methods doesn't wor... | android|android-studio|kotlin|fragment|spinner | 1 | 2022-08-01T11:57:36.517Z | 2,022 | 8 | 11 | 0 | 63 | 0 | 1,618 | 95 | 5 | 6 | true | true | false | false | false | false | low |
73,193,339 | Flutter + Revenue Cat | The device or user is not allowed to make the purchase | <p><strong>Context</strong></p>
<p>Flutter base app with Revenue Cat support for store in-app items payments. Developed for Android and iOS. Currently in beta access on Play Store for mainly use in Singapore area.</p>
<p><strong>Problem</strong></p>
<p>When a user attempts to buy a one-time in-app item on Android devic... | Context Flutter base app with Revenue Cat support for store in-app items payments. Developed for Android and iOS. Currently in beta access on Play Store for mainly use in Singapore area. Problem When a user attempts to buy a one-time in-app item on Android devices. We catch the following exception. [CODE] Although we h... | android|flutter|exception|payment | 0 | 2022-08-01T12:01:41.627Z | 2,022 | 8 | 12 | 0 | 70 | 0 | 1,091 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
73,193,405 | Intergration RN UI/app into native android/ios project | <p>I am working on SDK for android and later for ios. And this SDK should be added to the native android project as AAR and probably for ios as a pod.</p>
<p>I was following RN article <a href="https://reactnative.dev/docs/integration-with-existing-apps" rel="nofollow noreferrer">integration with existing apps</a>
and ... | I am working on SDK for android and later for ios. And this SDK should be added to the native android project as AAR and probably for ios as a pod. I was following RN article integration with existing apps and it is working completely fine but my problem is I don't want to run the whole activity up to the native projec... | android|react-native | 3 | 2022-08-01T12:06:47.173Z | 2,022 | 8 | 12 | 0 | 92 | 1 | 1,222 | 54 | 2 | 3 | true | false | false | false | false | false | low |
73,193,433 | Is there a way to open a link in a browser window? | <p>I currently use this</p>
<pre><code>Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("https://www.google.com"));
startActivity(intent);
</code></pre>
<p>It currently opens in my <a href="https://i.imgur.com/E7rof96.jpg" rel="nofollow noreferrer">default browser</a>.</p>
<p>But I need it to... | I currently use this [CODE] It currently opens in my default browser . But I need it to open like this . Is there any simple way to do that? | android|android-studio | -2 | 2022-08-01T12:08:47.090Z | 2,022 | 8 | 12 | 0 | 59 | 1 | 140 | 50 | 2 | 1 | true | false | false | false | false | true | negative |
73,193,483 | Can't remove backstack using Jetypack Compose | <p>i'm having really hard time understanding what is going wrong here.</p>
<p>Let's assume i have an app with 2 screens , Home (A) and an adding form (B).
What i'm trying to achieve is having the screen A to be in the backstack, then launching B to do some work , and the going back to A reflecting the changes made in B... | i'm having really hard time understanding what is going wrong here. Let's assume i have an app with 2 screens , Home (A) and an adding form (B). What i'm trying to achieve is having the screen A to be in the backstack, then launching B to do some work , and the going back to A reflecting the changes made in B. Using co... | android|kotlin|android-jetpack-compose | 0 | 2022-08-01T12:12:31.740Z | 2,022 | 8 | 12 | 0 | 71 | 0 | 934 | 45 | 3 | 3 | true | true | false | false | false | false | zero |
73,193,489 | Is there any way to analyse screen time of individual apps? | <p>Is there any package present of flutter to analyse the overall screen time of individual apps of any device</p> | Is there any package present of flutter to analyse the overall screen time of individual apps of any device | android|flutter|dart|package|mobile-application | 0 | 2022-08-01T12:13:05.563Z | 2,022 | 8 | 12 | 0 | 37 | 1 | 107 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
73,193,507 | Unable to got refresh token in release apk file in android Gmail login | <p><strong>Unable to got refresh token in release apk file in android kotlin when login with Gmail</strong></p>
<p>we got refresh token in debug mode of application in android .when we make the signed apk file you can say that release apk file we did not get any refresh token in android. We follow the following link f... | Unable to got refresh token in release apk file in android kotlin when login with Gmail we got refresh token in debug mode of application in android .when we make the signed apk file you can say that release apk file we did not get any refresh token in android. We follow the following link for get refresh token . https... | java|android|kotlin | 0 | 2022-08-01T12:15:40.123Z | 2,022 | 8 | 12 | 0 | 16 | 0 | 393 | 70 | 3 | 0 | false | true | false | false | false | false | zero |
73,193,693 | NullPointerException when using registerForActivityResult Flutter | <p>I'm trying to sign with google using pianoID I have called registerForActivityResult method from flutter but it returns a null pointer.</p>
<p>I tested it in a native android application and it works perfectly it shows me a google login popup.</p>
<p>this is my code :</p>
<pre><code>final ActivityResultLauncher<P... | I'm trying to sign with google using pianoID I have called registerForActivityResult method from flutter but it returns a null pointer. I tested it in a native android application and it works perfectly it shows me a google login popup. this is my code : [CODE] Invoke methode : [CODE] here I call it in flutter : [CODE]... | java|android|flutter|kotlin|sdk | 0 | 2022-08-01T12:31:01.603Z | 2,022 | 8 | 12 | 0 | 94 | 0 | 907 | 65 | 5 | 3 | true | true | false | false | false | false | zero |
73,193,759 | Read Message from Specific Sender is not working in SmsRetrieverClient | <p>I was trying to read otp from recent message using <strong>SmsRetrieverClient</strong>, it is working finewhen i pass <strong>null as senderAddress</strong> but when it put the address it is not.</p>
<pre><code>SmsRetrieverClient client = SmsRetriever.getClient(this);
</code></pre>
<p>Attached the code for better cl... | I was trying to read otp from recent message using SmsRetrieverClient , it is working finewhen i pass null as senderAddress but when it put the address it is not. [CODE] Attached the code for better clarification Please correct me if I'm not doing anything wrong in the below code. Thanks in Advance. [CODE] [CODE] | java|android|google-api|sms-retriever-api | 0 | 2022-08-01T12:35:07.957Z | 2,022 | 8 | 12 | 0 | 20 | 0 | 314 | 70 | 4 | 3 | true | true | false | false | false | false | zero |
73,193,802 | how to pass a lot of data to SimpleAdapter (Android | Kotlin) | <ol>
<li>How to pass all elements from "data" to "simpleData" for SimpleAdapter? For instance we have 100+ elements, it is not resonable to write elements by one. (should i use a loop? but how?)</li>
<li>TITLE doesn't show properly when simpleAdapter has used:[https://i.stack.imgur.com/W1kgJ.png]</l... | How to pass all elements from "data" to "simpleData" for SimpleAdapter? For instance we have 100+ elements, it is not resonable to write elements by one. (should i use a loop? but how?) TITLE doesn't show properly when simpleAdapter has used:[https://i.stack.imgur.com/W1kgJ.png] hope you can help me... | android|android-studio|kotlin|adapter|simpleadapter | 0 | 2022-08-01T12:38:29.600Z | 2,022 | 8 | 12 | 0 | 30 | 1 | 349 | 61 | 5 | 1 | true | false | false | false | false | false | zero |
73,193,862 | how to fetch Heart Rate Googlefit? | <p>Now I am implementing googlefit in my android application. I can not find any proper documentation for fetching heart rate. Please help me to fetch heart rate data from googlefit sdk/api.</p> | Now I am implementing googlefit in my android application. I can not find any proper documentation for fetching heart rate. Please help me to fetch heart rate data from googlefit sdk/api. | android|google-fit|heartrate | 0 | 2022-08-01T12:42:34.790Z | 2,022 | 8 | 12 | 0 | 33 | 1 | 187 | 34 | 3 | 0 | false | false | false | false | false | false | zero |
73,193,871 | Unity error when Build Android Application. Android SDK not found | <p>i actually work on an AR App.
i use Unity 2019 on my 2020 M1 Mac (Monterey), also i installed Android Studio with Android 7 & 6 ( cause the app have to work on old devices )</p>
<p>When i try to Build the App Unity fails with the error "Android SDK not found" but the SDK is there, installed and i use t... | i actually work on an AR App. i use Unity 2019 on my 2020 M1 Mac (Monterey), also i installed Android Studio with Android 7 & 6 ( cause the app have to work on old devices ) When i try to Build the App Unity fails with the error "Android SDK not found" but the SDK is there, installed and i use the right Path!... | android|unity3d|android-sdk-2.3 | 0 | 2022-08-01T12:43:19.550Z | 2,022 | 8 | 12 | 0 | 46 | 0 | 513 | 65 | 3 | 0 | false | true | false | false | false | false | zero |
73,193,898 | TextFormField validator message does not appear properly | <p>I have <code>TextFormField</code>s for email and password authentication. I want to display different messages depending on the error thrown by <code>FireBaseAuthException</code>, but the method I use to let the <code>TextFormField</code> know that there is an error is fundamentally flawed. Here's the code before I ... | I have TextFormField s for email and password authentication. I want to display different messages depending on the error thrown by FireBaseAuthException , but the method I use to let the TextFormField know that there is an error is fundamentally flawed. Here's the code before I explain: [CODE] Now here's what happens.... | android|flutter|firebase|dart|error-handling | 0 | 2022-08-01T12:45:35.483Z | 2,022 | 8 | 12 | 0 | 39 | 0 | 1,170 | 56 | 5 | 1 | true | true | false | false | false | false | zero |
73,193,949 | Error installing uiautomator2 driver with Appium | <p>I am pretty new to appium and I tried installing the uiautomator2 driver to the latest appium version 2.0.0-beta.41 via the command <em>appium driver install uiautomator2</em></p>
<p>I always get this output:</p>
<pre><code>> STDERR:
npm ERR! code 1
npm ERR! path C:\Users\marti\AppData\Roaming\npm\node_modules\ap... | I am pretty new to appium and I tried installing the uiautomator2 driver to the latest appium version 2.0.0-beta.41 via the command appium driver install uiautomator2 I always get this output: [CODE] So this error is probably related to babel trying to transpile the lib/appium.js file? I already installed babel via pm ... | npm|automated-tests|babeljs|appium|android-uiautomator | 1 | 2022-08-01T12:50:11.750Z | 2,022 | 8 | 12 | 0 | 359 | 1 | 386 | 48 | 5 | 1 | true | false | false | false | false | false | low |
73,194,016 | Stopping GoogleApiClient location updates | <p>Welcome,
I'm writing an app to send a location sms when an activity is triggered. I am using GoogleApi to determine the location of the device.
The location is only to be sent once, and after that I would like the location not to be downloaded anymore to save resources.
With this in mind, I have two questions:</p>
<... | Welcome, I'm writing an app to send a location sms when an activity is triggered. I am using GoogleApi to determine the location of the device. The location is only to be sent once, and after that I would like the location not to be downloaded anymore to save resources. With this in mind, I have two questions: How do I... | java|android|android-studio|google-api|geolocation | 0 | 2022-08-01T12:54:37.573Z | 2,022 | 8 | 12 | 0 | 22 | 0 | 1,372 | 41 | 5 | 2 | true | true | false | false | false | false | zero |
73,194,031 | java.lang.ClassCastException: ca.scooter.talkufy.activities.Updates cannot be cast to android.app.Activity | <p>When trying to cast to android.app.activity I get thrown this error. I am trying to implement an in-app updater for my app.</p>
<pre><code>java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{ca.scooter.talkufy/ca.scooter.talkufy.activities.Updates}: java.lang.ClassCastException: ca.scooter.talku... | When trying to cast to android.app.activity I get thrown this error. I am trying to implement an in-app updater for my app. [CODE] Here is my code of were I am trying to cast from; [CODE] If anyone could help me that would be great! Thanks. | java|android | 0 | 2022-08-01T12:55:40.383Z | 2,022 | 8 | 12 | 0 | 28 | 0 | 240 | 106 | 2 | 2 | true | true | false | false | false | false | zero |
73,194,064 | Customization of Material 3 LargeTopAppBar | <p>I'm currently working on a Header in Compose that uses LargeTopAppBar from Material 3. The issue is, that the title is not very customizable and neither is the scrolling animation(that uses nestedScroll). I would like to add a subtitle underneath the title that will not be shown in the smallTitle once the AppBar is ... | I'm currently working on a Header in Compose that uses LargeTopAppBar from Material 3. The issue is, that the title is not very customizable and neither is the scrolling animation(that uses nestedScroll). I would like to add a subtitle underneath the title that will not be shown in the smallTitle once the AppBar is col... | android-jetpack-compose|android-jetpack-compose-material3|material3 | 0 | 2022-08-01T12:58:31.173Z | 2,022 | 8 | 12 | 0 | 120 | 1 | 555 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
73,194,094 | How to Listening or preventing display shutdown menu in android | <p>I want to prevent opening shutdown menu in android and knows maybe isn't possible. I my solution I want prevent shutdown android device by android menu</p>
<p>I have two ideas :</p>
<ol>
<li>preventing opening shutdown menu</li>
<li>listening shutdown menu is open and inflate a layout</li>
</ol>
<p>Any code for ch... | I want to prevent opening shutdown menu in android and knows maybe isn't possible. I my solution I want prevent shutdown android device by android menu I have two ideas : preventing opening shutdown menu listening shutdown menu is open and inflate a layout Any code for checking Power key not work like this in new andro... | android|kotlin|android-powermanager | 0 | 2022-08-01T13:02:24.893Z | 2,022 | 8 | 13 | 0 | 24 | 0 | 427 | 63 | 3 | 1 | true | true | false | false | false | false | zero |
73,194,133 | Are inapp purchases possible without having your own registration system? | <p>I know that they are possible since I implemented consumable purchases and they work but:</p>
<p>If I upload a new version of the app or re install it the consumable purchases are gone. Does not matter if for iOS or android. I used the device ID but that is not reliable and does indeed change in some scenarios</p>
<... | I know that they are possible since I implemented consumable purchases and they work but: If I upload a new version of the app or re install it the consumable purchases are gone. Does not matter if for iOS or android. I used the device ID but that is not reliable and does indeed change in some scenarios I would like to... | android|ios|flutter|in-app-purchase|revenuecat | 1 | 2022-08-01T13:05:36.267Z | 2,022 | 8 | 13 | 0 | 79 | 2 | 687 | 73 | 5 | 0 | false | false | false | false | false | false | low |
73,194,154 | Android Studio: Place a progressBar under a TextView programatically | <p>I am trying to make a cardView that containts a title, a progressBar and a subTitle.
I generate all these three at runtime and it works fine but when I use ConstraintLayout params to put the progressBar below title it doesn t work.
Here is the XML:</p>
<pre><code><androidx.constraintlayout.widget.ConstraintLayout... | I am trying to make a cardView that containts a title, a progressBar and a subTitle. I generate all these three at runtime and it works fine but when I use ConstraintLayout params to put the progressBar below title it doesn t work. Here is the XML: [CODE] And here is the Kotlin code: [CODE] I am looking for something t... | java|android|kotlin|android-xml | 0 | 2022-08-01T13:07:08.767Z | 2,022 | 8 | 13 | 0 | 24 | 0 | 375 | 68 | 4 | 2 | true | true | false | false | false | false | zero |
73,194,161 | Collapsing top app bar in jetpack compose using scaffold android | <p>I looked at many questions about collapsing of Top App Bar in jetpack compose android e.g. <a href="https://stackoverflow.com/questions/67227755/jetpack-compose-collapsing-toolbar">Jetpack Compose collapsing toolbar</a>,<a href="https://github.com/android/sunflower/tree/main/app/src/main/java/com/google/samples/app... | I looked at many questions about collapsing of Top App Bar in jetpack compose android e.g. Jetpack Compose collapsing toolbar , Plants details view , etc. But none of the tutorials/examples are using the Scaffold. Hence this question. Following the example given in the android documentation , I changed it a bit to use ... | android|android-jetpack-compose|android-collapsingtoolbarlayout|scaffold | 0 | 2022-08-01T13:07:34.187Z | 2,022 | 8 | 13 | 0 | 479 | 2 | 690 | 64 | 4 | 2 | true | false | 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.