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,199,496 | How to skip an item in nested map based on When() | <p>I want iterate over <code>items</code>'s <code>data</code> and create a a new list of SomeData based on <code>item.type</code> however when type is <code>UNKNOWN</code> I need skip that element and not add to list. How can I achieve it? <code>continue@map</code> is not working for collection</p>
<pre><code>fun getLi... | I want iterate over items 's data and create a a new list of SomeData based on item.type however when type is UNKNOWN I need skip that element and not add to list. How can I achieve it? continue@map is not working for collection [CODE] | android|loops|kotlin|data-structures|collections | 0 | 2022-05-11T10:33:08.280Z | 2,022 | 5 | 10 | 2 | 48 | 2 | 235 | 49 | 5 | 1 | true | false | false | false | false | false | zero |
72,199,662 | cvc-complex-type.2.4.a: Invalid content found starting with element 'base-extension'. One of '{codename, tag}' is required | <p>If I change <code>classpath 'com.google.gms:google-services:4.2.0'</code> to <code>classpath 'com.google.gms:google-services:4.3.10'</code> and do gradle sync I get that error.</p>
<p>I am using gradle plugin version is 3.3.3, gradle JDK version 1.8, and the gradle version is 4.10.1.</p>
<p>I'm working on this to a... | If I change classpath 'com.google.gms:google-services:4.2.0' to classpath 'com.google.gms:google-services:4.3.10' and do gradle sync I get that error. I am using gradle plugin version is 3.3.3, gradle JDK version 1.8, and the gradle version is 4.10.1. I'm working on this to apply crashlytics and I don't know why. pleas... | android|firebase|crashlytics | 0 | 2022-05-11T10:45:24.207Z | 2,022 | 5 | 10 | 2 | 2,874 | 3 | 379 | 122 | 3 | 3 | true | false | true | false | false | false | zero |
72,199,681 | How to make a arc progress bar with a gradient as a background in android studio? | <p>I've tried to reproduce this progress bar using <a href="https://github.com/lzyzsd/CircleProgress" rel="nofollow noreferrer">CircleProgress</a> it worked, but I couldn't set a gradient as a background because it was implemented using java and not XML, I was wondering if there was a way to implement something like th... | I've tried to reproduce this progress bar using CircleProgress it worked, but I couldn't set a gradient as a background because it was implemented using java and not XML, I was wondering if there was a way to implement something like this with a gradient. Figma design : | android|xml|android-studio|kotlin | 0 | 2022-05-11T10:46:59.460Z | 2,022 | 5 | 10 | 2 | 69 | 0 | 270 | 81 | 4 | 0 | false | true | false | false | false | false | zero |
72,199,744 | Android Studio emulator not working / has terminated / timed out after 300seconds waiting for emulator to come online | <p>I've downloaded Android Studio and created a new project.
And when I've tried it with the emulator, I was getting this error.</p>
<p><strong>launching 'app' on pixel 4 api 30. error while waiting for device: timed out after 300seconds waiting for emulator to come online.</strong></p>
<p>Then, I've unistalled the app... | I've downloaded Android Studio and created a new project. And when I've tried it with the emulator, I was getting this error. launching 'app' on pixel 4 api 30. error while waiting for device: timed out after 300seconds waiting for emulator to come online. Then, I've unistalled the application and downloaded again the ... | android|android-studio|android-emulator | 0 | 2022-05-11T10:52:43.220Z | 2,022 | 5 | 10 | 2 | 385 | 0 | 734 | 117 | 3 | 0 | false | true | false | false | false | false | zero |
72,199,836 | How do I make my Android app prefix each displayed line of text with ">"? | <p>My app displays a long line of text like this:</p>
<p><a href="https://i.stack.imgur.com/nHHho.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nHHho.jpg" alt="enter image description here" /></a></p>
<p>I want to add a ">" character to each line, so I tried the following code:</p>
<pr... | My app displays a long line of text like this: I want to add a ">" character to each line, so I tried the following code: [CODE] and ended up with this: Note that there's only one ">" character for the entire text, whereas I'm trying to make each displayed line start with ">". Anyone have ... | java|android|string|textview|prefix | 1 | 2022-05-11T10:59:36.583Z | 2,022 | 5 | 10 | 2 | 77 | 2 | 345 | 73 | 5 | 1 | true | false | false | false | false | false | low |
72,199,921 | Why can't change resolution of Image? | <p>This is my code start camera and use <code>Camerax</code>:</p>
<pre><code>ImageCapture imageCapture;
ImageAnalysis imageAnalysis;
private void startCamera() {
final ListenableFuture<ProcessCameraProvider> cameraProviderFuture = ProcessCameraProvider.getInstance(this);
cameraProviderFuture.add... | This is my code start camera and use Camerax : [CODE] I had setting setTargetResolution to Size(1280,720) But Resolution of Result Image still is Maximum(4032x3024) How can change resolution of Image? | android|android-camerax | 3 | 2022-05-11T11:05:31.473Z | 2,022 | 5 | 11 | 2 | 174 | 1 | 200 | 37 | 2 | 1 | true | false | false | false | false | false | low |
72,199,991 | How to call certain methods when application comes foreground in Android | <p>I tried to follow this <a href="https://stackoverflow.com/a/52217644/18210851">https://stackoverflow.com/a/52217644/18210851</a> but this method <strong>ProcessLifecycleOwner.get().getLifecycle().addObserver(this)</strong> is deprecated and requires deprecated gradle dependency. Is there a way I can call some meth... | I tried to follow this https://stackoverflow.com/a/52217644/18210851 but this method ProcessLifecycleOwner.get().getLifecycle().addObserver(this) is deprecated and requires deprecated gradle dependency. Is there a way I can call some method only once when the application comes foreground. | java|android|background-foreground | 0 | 2022-05-11T11:09:56.743Z | 2,022 | 5 | 11 | 2 | 20 | 0 | 289 | 72 | 3 | 0 | false | true | false | false | false | false | zero |
72,200,153 | Whatsapp web Desktop mode in flutter | <p>I want to open Whatsapp Web Desktop mode in my flutter app
As shown in picture
<a href="https://i.stack.imgur.com/cwJcy.jpg" rel="nofollow noreferrer">Required Result</a></p>
<p>I am used <a href="https://pub.dev/packages/webview_flutter" rel="nofollow noreferrer">webview_flutter</a> <a href="https://pub.dev/package... | I want to open Whatsapp Web Desktop mode in my flutter app As shown in picture Required Result I am used webview_flutter webview_flutter_plus packages but both results same. my initial url is https://web.whatsapp.com The code i am using are as follow [CODE] Every Time i run this code the url redirects into www.whatsapp... | android|flutter|cross-platform|whatsapp|webview-flutter | 1 | 2022-05-11T11:21:33.817Z | 2,022 | 5 | 11 | 2 | 166 | 0 | 602 | 36 | 5 | 2 | true | true | false | false | false | false | low |
72,200,187 | How to parse raw data in android kotlin using retrofit? | <p>I have a webservice api which is having some raw data. No json structure data. And all i want to parse it. This is the response i am getting from an api.
<a href="https://i.stack.imgur.com/QbCjZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QbCjZ.png" alt="" /></a></p>
<p>And here is my implemen... | I have a webservice api which is having some raw data. No json structure data. And all i want to parse it. This is the response i am getting from an api. And here is my implementation for calling the api. the above implementation gives me this error, can you please help in this. | android|kotlin|retrofit | -1 | 2022-05-11T11:24:04.180Z | 2,022 | 5 | 11 | 2 | 169 | 1 | 279 | 55 | 3 | 0 | false | false | false | false | false | true | negative |
72,200,234 | trying to stop handler in java | <p>i am trying to stop this handler in my main activity, i put this code <code>handler.removeCallbacksAndMessages(null);</code> but its not working
this is my code</p>
<pre><code>final Handler handler = new Handler();
final int delay = 3000;
handler.postDelayed(new Runnable() {
@Override
pu... | i am trying to stop this handler in my main activity, i put this code handler.removeCallbacksAndMessages(null); but its not working this is my code [CODE] then app after asking for accessibility and i turn it on , app ask for permissions but its gone quickly then ask again and gone quickly and loop .. | java|android | 0 | 2022-05-11T11:27:28.700Z | 2,022 | 5 | 11 | 2 | 47 | 1 | 302 | 30 | 2 | 1 | true | false | false | false | false | false | zero |
72,200,244 | What to send as Content | <p>In my application, I save data to Firebase and to local storage using the Room library. With Firebase, everything is clear to me. But with Rom I had questions. I can't figure out what to pass to the class parameter.</p>
<p>PacketsLocalDataSource.kt</p>
<pre><code>class PacketsLocalDataSource(val context: Context) {
... | In my application, I save data to Firebase and to local storage using the Room library. With Firebase, everything is clear to me. But with Rom I had questions. I can't figure out what to pass to the class parameter. PacketsLocalDataSource.kt [CODE] And further, in the code below, I want to save the data. But there is a... | kotlin|save|android-room | 0 | 2022-05-11T11:27:59.627Z | 2,022 | 5 | 11 | 2 | 37 | 1 | 451 | 23 | 3 | 2 | true | false | false | false | false | false | zero |
72,200,277 | Image not getting displayed in imageview after loading from internet | <p>Here is my code where I used Picasso as well as glide library, but the image did not get displayed in the <code>ImageView</code>. I even tried HTTP method, didn't work</p>
<pre><code>String icon = pojo.getCurrent().getWeather().get(0).getIcon();
String iconUrl = "http://openweathermap.org/img/w/" + icon + ... | Here is my code where I used Picasso as well as glide library, but the image did not get displayed in the ImageView . I even tried HTTP method, didn't work [CODE] I also added the dependencies this is the layout file [CODE] I have posted an image of what's happening, actually it has to download the image from internet ... | android|android-glide | 0 | 2022-05-11T11:30:08.717Z | 2,022 | 5 | 11 | 2 | 45 | 1 | 437 | 68 | 2 | 3 | true | false | false | false | false | false | zero |
72,200,697 | From Unity android app open setting panel within custom canvas view | <p>I would like to open Unity Android application from the setting panel within the custom canvas view.</p>
<p>Can I get a code snippet to bring it within canvas view rather than opening over the whole window?</p>
<pre><code>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngin... | I would like to open Unity Android application from the setting panel within the custom canvas view. Can I get a code snippet to bring it within canvas view rather than opening over the whole window? [CODE] | android|unity3d|plugins | 0 | 2022-05-11T11:59:58.390Z | 2,022 | 5 | 11 | 2 | 94 | 0 | 206 | 67 | 3 | 1 | true | true | false | false | false | false | zero |
72,200,734 | How to stop calendar event invitation Emails by outlook in Android? | <p>We are using <a href="https://docs.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=http" rel="nofollow noreferrer">Microsoft graph calendar API</a> for creating an event in the Microsoft(outlook) calendar. We don't want to send default RSVP mail of calendar event invitations to the us... | We are using Microsoft graph calendar API for creating an event in the Microsoft(outlook) calendar. We don't want to send default RSVP mail of calendar event invitations to the user so, Is there any way to stop this email by using android? In the Google calendar event, we can stop email notifications by setSendNotifica... | android|outlook|microsoft-graph-api | 1 | 2022-05-11T12:02:11.273Z | 2,022 | 5 | 12 | 2 | 105 | 0 | 477 | 67 | 3 | 0 | false | true | false | false | false | false | low |
72,200,879 | Android Studio Native C++ gradlew clangd invalid preprocessing directive | <p>I started a project in Android Studio with the Native C++ to store api keys. It works, but I get 58 erros when I run the code inspector. 57 of them are on the gradlew file: "invalid preprocessing directive".</p>
<p>I don't understand anything of C++, but it looks like Android Studio is using <strong>#</str... | I started a project in Android Studio with the Native C++ to store api keys. It works, but I get 58 erros when I run the code inspector. 57 of them are on the gradlew file: "invalid preprocessing directive". I don't understand anything of C++, but it looks like Android Studio is using # instead of // to comme... | android|c++|android-studio | 0 | 2022-05-11T12:13:41.290Z | 2,022 | 5 | 12 | 2 | 50 | 0 | 477 | 72 | 3 | 1 | true | true | false | false | false | false | zero |
72,200,916 | Best way to get the context of an activity in a viewmodel | <p>I want to use this context to make a notification, but it should be called in a viewmodel that is made by <code>hiltViewModel()</code> function. How should I pass the context there?</p> | I want to use this context to make a notification, but it should be called in a viewmodel that is made by hiltViewModel() function. How should I pass the context there? | android|android-context|dagger-hilt | 0 | 2022-05-11T12:17:10.467Z | 2,022 | 5 | 12 | 2 | 200 | 1 | 168 | 57 | 3 | 0 | false | false | false | false | false | false | zero |
72,200,926 | how to manage lists in android auto? | <p>I can display the information of my phone application but I am restricted to display only six.
I would like to know how to proceed to display the rest of the elements ( i have a list of 17 elements).
For the moment I use the first and last columns of my Template to do an <code>invalidate()</code> and display the pre... | I can display the information of my phone application but I am restricted to display only six. I would like to know how to proceed to display the rest of the elements ( i have a list of 17 elements). For the moment I use the first and last columns of my Template to do an invalidate() and display the previous or next it... | android|android-auto | 0 | 2022-05-11T12:17:40.203Z | 2,022 | 5 | 12 | 2 | 93 | 1 | 341 | 36 | 2 | 1 | true | false | false | false | false | false | zero |
72,200,930 | Image rendered in Android Webview with zero height | <p>I am trying to load a URL in webview, but it just loads a blank page.</p>
<p>Upon inspecting the webview in Chrome, I got to know that the actual size (1080 x 1080) and rendered size (320 x 0) are different.</p>
<p><a href="https://i.stack.imgur.com/us3US.png" rel="nofollow noreferrer"><img src="https://i.stack.imgu... | I am trying to load a URL in webview, but it just loads a blank page. Upon inspecting the webview in Chrome, I got to know that the actual size (1080 x 1080) and rendered size (320 x 0) are different. Due to the 0 rendered height, I am unable to see anything on the webview. Can someone please guide me through this? Am ... | android|webview|image-rendering | 0 | 2022-05-11T12:17:48.900Z | 2,022 | 5 | 12 | 2 | 21 | 0 | 413 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
72,200,954 | How to properly disable checkboxes if number of maximum limit is reached? | <p>Here I have a different list of checkboxes <code>President</code> and <code>Senator</code> and all of the are generated from API result.
<a href="https://i.stack.imgur.com/SLCbC.png" rel="nofollow noreferrer">View</a></p>
<p>For example in the <code>President</code> list the limit is 1 and if I selected/checked 1, t... | Here I have a different list of checkboxes President and Senator and all of the are generated from API result. View For example in the President list the limit is 1 and if I selected/checked 1, the other checkboxes in the list will be disabled but when I deselect/uncheck and since the limit is not reached, the other ch... | android|flutter|dart | 0 | 2022-05-11T12:19:20.550Z | 2,022 | 5 | 12 | 2 | 26 | 1 | 405 | 73 | 3 | 1 | true | false | false | false | false | false | zero |
72,201,044 | how to set logout in preferences DataStore at Kotlin | <p>We use ".clear" in shared preferences before, to setting the button logout. But now i tried to use preferences datastore, but can't use the same code. So how? Thank you so much for answering..</p> | We use ".clear" in shared preferences before, to setting the button logout. But now i tried to use preferences datastore, but can't use the same code. So how? Thank you so much for answering.. | android|kotlin|logout|preferences|android-jetpack-datastore | 0 | 2022-05-11T12:26:26.477Z | 2,022 | 5 | 12 | 2 | 238 | 1 | 202 | 52 | 5 | 0 | false | false | false | false | false | false | zero |
72,201,105 | Android Bluetooth pairing dialog shows less than 1 second | <p>This post is here to help people from my brief experience with a bug of the Bluetooth pairing dialog on my phone.</p>
<p><strong>Context:</strong>
I was unable to pair my smartwatch with my Google Pixel 5 running Android 12. When I try the pairing from the Bluetooth menu, the PIN shows on my Withings ScanWatch and t... | This post is here to help people from my brief experience with a bug of the Bluetooth pairing dialog on my phone. Context: I was unable to pair my smartwatch with my Google Pixel 5 running Android 12. When I try the pairing from the Bluetooth menu, the PIN shows on my Withings ScanWatch and the popup to enter the PIN s... | android|bluetooth | 0 | 2022-05-11T12:30:43.137Z | 2,022 | 5 | 12 | 2 | 118 | 1 | 684 | 57 | 2 | 0 | false | false | false | false | false | false | zero |
72,201,155 | UITests with UIAutomator canceled | <p>I have several UITests written with UIAutomator</p>
<p>When I launch each test one by one, everything work well</p>
<p>When I am launching all of my tests in <code>androidTest</code>, juste the first UIAutomator test is executed and the other are canceled without any error message:</p>
<p><a href="https://i.stack.im... | I have several UITests written with UIAutomator When I launch each test one by one, everything work well When I am launching all of my tests in androidTest , juste the first UIAutomator test is executed and the other are canceled without any error message: What can I do to make all of my UITests running ? | android|android-uiautomator|ui-testing | 0 | 2022-05-11T12:34:28.330Z | 2,022 | 5 | 12 | 2 | 25 | 0 | 306 | 33 | 3 | 0 | false | true | false | false | false | false | zero |
72,201,157 | Why cant I deploy on an App with certification on an lower Api version? | <p>I'm trying to deploy my App on another phone. I already installed the cert on the new phone and I'm still facing this problem.</p>
<p><code>java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.</code></p>
<p>The first phone had android 9 and the new one has android 6.</p> | I'm trying to deploy my App on another phone. I already installed the cert on the new phone and I'm still facing this problem. java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. The first phone had android 9 and the new one has android 6. | android|ssl-certificate|okhttp | 0 | 2022-05-11T12:34:33.737Z | 2,022 | 5 | 12 | 2 | 20 | 0 | 281 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
72,201,169 | Show the latest item firest in Firebase ui Realtime database | <p>I use firebase ui realtime database to show data in viewpager2 with RecyclerView adapter and i need to show the latest item firest how can i do that ?</p>
<p>And you can find sample code of that in here
<a href="https://stackoverflow.com/q/72184951/19074762">Here simple code of my project</a></p> | I use firebase ui realtime database to show data in viewpager2 with RecyclerView adapter and i need to show the latest item firest how can i do that ? And you can find sample code of that in here Here simple code of my project | java|firebase|android-recyclerview | 0 | 2022-05-11T12:35:37.940Z | 2,022 | 5 | 12 | 2 | 17 | 0 | 226 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
72,201,264 | SOLVED: java.lang.RuntimeException: Failed to instantiate test runner class androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner | <p>I keep getting a <code>RuntimeException</code> whenever I execute my test:</p>
<pre><code>package com.example.mytipcalculator
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.Vie... | I keep getting a RuntimeException whenever I execute my test: [CODE] When I run the previous code, I get the following initialization error: [CODE] | android|kotlin|junit | 1 | 2022-05-11T12:42:25.703Z | 2,022 | 5 | 12 | 2 | 578 | 1 | 147 | 137 | 3 | 2 | true | false | false | false | false | false | low |
72,201,268 | Application Overlay using Night Mode | <p>I am using an application overlay to draw over other apps as described here: <a href="https://www.geeksforgeeks.org/how-to-draw-over-other-apps-in-android/" rel="nofollow noreferrer">https://www.geeksforgeeks.org/how-to-draw-over-other-apps-in-android/</a></p>
<p>The Problem is that always the 'Day' theme is used, e... | I am using an application overlay to draw over other apps as described here: https://www.geeksforgeeks.org/how-to-draw-over-other-apps-in-android/ The Problem is that always the 'Day' theme is used, even if I use AppCompatDelegate.setDefaultNightMode to set the default to 'Night'. What am I missing? Can anyone help? | android | 0 | 2022-05-11T12:42:38.007Z | 2,022 | 5 | 12 | 2 | 16 | 0 | 317 | 36 | 1 | 0 | false | true | false | false | false | false | zero |
72,201,293 | Print Textviews and webview from fragment | <p>I'm using such code for creating pdf from webview</p>
<pre><code>PrintManager printManager = (PrintManager) this
.getSystemService(Context.PRINT_SERVICE);
PrintDocumentAdapter printAdapter = webView.createPrintDocumentAdapter("PDF");
printManager.print("PDF", printAdapter,
... | I'm using such code for creating pdf from webview [CODE] what should I do, to add to this pdf creation some TextView because I need to add additional fields to my fragment? Know about itextg, but I need something free. | android|pdf|printing|webview|textview | 0 | 2022-05-11T12:43:50.167Z | 2,022 | 5 | 12 | 2 | 47 | 2 | 218 | 41 | 5 | 1 | true | false | false | false | false | false | zero |
72,201,386 | Android Studio logcat emulator automatically changes to a [DISCONNECTED] version | <p>Does anyone also have the problem where when you run an app in an emulator the logcat automatically changes the selected emulator to a [DISCONNECTED] version?</p>
<p>It has been happening to me for a while now and I've never been able to solve it.</p>
<p>It is not every time that it happens, but when it does the beh... | Does anyone also have the problem where when you run an app in an emulator the logcat automatically changes the selected emulator to a [DISCONNECTED] version? It has been happening to me for a while now and I've never been able to solve it. It is not every time that it happens, but when it does the behavior persists. I... | android|android-studio|android-emulator | 1 | 2022-05-11T12:50:41.443Z | 2,022 | 5 | 12 | 2 | 57 | 0 | 519 | 80 | 3 | 0 | false | true | false | false | false | false | low |
72,201,423 | Restore keyboard after rotation in Jetpack Compose | <p>I have a <code>TextField</code> on one of my app screens. When I rotate my device the text field retains the value, but not the soft keyboard focus.</p>
<p>How could I keep the focus and prevent the keyboard from disappearing?</p>
<p>Here is a simplified version of the composable for the screen:</p>
<pre><code>@Comp... | I have a TextField on one of my app screens. When I rotate my device the text field retains the value, but not the soft keyboard focus. How could I keep the focus and prevent the keyboard from disappearing? Here is a simplified version of the composable for the screen: [CODE] The UI state comes from the model. | material-design|android-jetpack-compose | 1 | 2022-05-11T12:53:40.840Z | 2,022 | 5 | 12 | 2 | 134 | 2 | 311 | 50 | 2 | 1 | true | false | false | false | false | false | low |
72,201,438 | Detect when the user lifts their finger (off the screen) | <p>We have <code>pointerInput</code> for detecting tap, drag and pan events, and it also provides a handy <code>awaitPointerEventScope</code>, the <code>pointer</code> being the finger, for mobile devices here. Now, we do have a <code>awaitFirstDown()</code> for detecting when the finger first makes contact with the sc... | We have pointerInput for detecting tap, drag and pan events, and it also provides a handy awaitPointerEventScope , the pointer being the finger, for mobile devices here. Now, we do have a awaitFirstDown() for detecting when the finger first makes contact with the screen, but I can't seem to find an upper equivalent to ... | android|android-jetpack-compose | 0 | 2022-05-11T12:54:38.407Z | 2,022 | 5 | 12 | 2 | 153 | 2 | 1,053 | 56 | 2 | 0 | false | false | false | false | false | false | zero |
72,201,637 | Package is not specified in the manifest file | <p>While trying to create and Extract string from the layout file it is showing the alert dialog that Package is not specified in the manifest file. It is happening from while I had updated my studio to the newest version(chimpunk 2021.2.1) and the newest gradle(7.2). any help will be appretiated.</p> | While trying to create and Extract string from the layout file it is showing the alert dialog that Package is not specified in the manifest file. It is happening from while I had updated my studio to the newest version(chimpunk 2021.2.1) and the newest gradle(7.2). any help will be appretiated. | android|android-layout | 13 | 2022-05-11T13:08:46.767Z | 2,022 | 5 | 13 | 2 | 1,877 | 1 | 295 | 45 | 2 | 0 | false | false | false | false | true | false | medium |
72,201,673 | Is it possible to create all folders in a path if they do not exist ? (Java/android) | <p>i'm using quite long paths in an android application and I'd like to know if it is possible to magically create all non-existent folders in a given path ?
ex: RandomFolder/itDoesNotExist/itDoesNotExist2/myfile is it possible to create both folder in a single line in Java ?
I'm sure a while loop + file.exist & fi... | i'm using quite long paths in an android application and I'd like to know if it is possible to magically create all non-existent folders in a given path ? ex: RandomFolder/itDoesNotExist/itDoesNotExist2/myfile is it possible to create both folder in a single line in Java ? I'm sure a while loop + file.exist & file.isDi... | java|android|file | 0 | 2022-05-11T13:10:40.533Z | 2,022 | 5 | 13 | 2 | 16 | 0 | 435 | 84 | 3 | 0 | false | true | false | false | false | false | zero |
72,201,686 | How would I go about marking a place in the Google Maps SDK (Android Studio) | <p>I just started working with the Google Maps SDK in android studio and tried to look for a bit of help by looking over the documentation and tutorials.</p>
<p>One thing that at least I didn't see covered is how to mark a place type(for example a park, gym,etc...)</p>
<p>I would really appreciate some help with this</... | I just started working with the Google Maps SDK in android studio and tried to look for a bit of help by looking over the documentation and tutorials. One thing that at least I didn't see covered is how to mark a place type(for example a park, gym,etc...) I would really appreciate some help with this | java|api|android-studio|google-maps | 0 | 2022-05-11T13:11:30.553Z | 2,022 | 5 | 13 | 2 | 15 | 0 | 301 | 76 | 4 | 0 | false | true | false | false | false | false | zero |
72,201,816 | How to take screenshot in Android Emulator (user pressing "power" + "vol down")? | <p>I need to take a screenshot inside my app, so the image would be saved in Google Photos. All questions I see related to taking screenshot are basically about saving screenshot of your pc with an opened emulator. However I want to simulate taking a real screenshot by user (like if user pressed "power" + &qu... | I need to take a screenshot inside my app, so the image would be saved in Google Photos. All questions I see related to taking screenshot are basically about saving screenshot of your pc with an opened emulator. However I want to simulate taking a real screenshot by user (like if user pressed "power" + "... | android|android-studio|android-emulator|adb | 0 | 2022-05-11T13:20:33.127Z | 2,022 | 5 | 13 | 2 | 54 | 0 | 335 | 80 | 4 | 0 | false | true | false | false | false | false | zero |
72,201,914 | ClickableSpan and HTML spanned in the same TextVeiw | <p>I am attempting to implement a clickablespan in an existing HTML string in the view. The string already has href's where needed (excluding the span of characters that need to be handled programmatically). The HTML links are working as expected.</p>
<p>An example string:</p>
<pre><code><string name="terms_sho... | I am attempting to implement a clickablespan in an existing HTML string in the view. The string already has href's where needed (excluding the span of characters that need to be handled programmatically). The HTML links are working as expected. An example string: [CODE] In this example, displaying the HTML programmatic... | android|html|kotlin|stringbuilder|spannablestringbuilder | 1 | 2022-05-11T13:26:49.250Z | 2,022 | 5 | 13 | 2 | 39 | 1 | 817 | 51 | 5 | 3 | true | false | false | false | false | false | low |
72,201,940 | When I recover images from google photos but I can not read those images from gallery using media store in android | <p>This code is working fine when images read from gallery but when my phone reset and I recovered images from Google photos. It recovered to my gallery, but when I fetch images from gallery programmatically, it doesn't work properly. it just fetched 2 months images. I have used this code, Using Date_added meta data, b... | This code is working fine when images read from gallery but when my phone reset and I recovered images from Google photos. It recovered to my gallery, but when I fetch images from gallery programmatically, it doesn't work properly. it just fetched 2 months images. I have used this code, Using Date_added meta data, but ... | android|storage|gallery|mediastore|android-11 | 0 | 2022-05-11T13:28:35.837Z | 2,022 | 5 | 13 | 2 | 57 | 0 | 398 | 114 | 5 | 1 | true | true | false | false | false | false | zero |
72,202,032 | React Native + Gradle fails with Problems reading data from Binary store error (.gradle/.tmp/gradle7278112572988587194.bin offset 230266 exists? true) | <p>I was able to build my react native code successfully until yesterday but when I tried today I am getting gradle error</p>
<pre><code> * What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspat... | I was able to build my react native code successfully until yesterday but when I tried today I am getting gradle error [CODE] I haven't changed anything in my code neither I have updated any dependencies. Have tried all the possible solutions online including: cleaning the project and running it again updating the grad... | java|android|reactjs|react-native|gradle | 0 | 2022-05-11T13:34:07.670Z | 2,022 | 5 | 13 | 2 | 165 | 1 | 787 | 150 | 5 | 2 | true | false | false | false | false | false | zero |
72,202,075 | People Picker adaptive element in adaptive cards doesn't work in Teams Android app | <p>I'm trying to use the People Picker element in my adaptive cards and it works very well on the Desktop and iPhone version of Teams. Teams for Android just shows "Unable to show options right now" error message.</p>
<p>Anything I'm missing or is this a bug on the Microsoft side?</p>
<p><a href="https://i.st... | I'm trying to use the People Picker element in my adaptive cards and it works very well on the Desktop and iPhone version of Teams. Teams for Android just shows "Unable to show options right now" error message. Anything I'm missing or is this a bug on the Microsoft side? For full disclosure this is the JSON b... | android|microsoft-teams|adaptive-cards | 0 | 2022-05-11T13:36:57.050Z | 2,022 | 5 | 13 | 2 | 119 | 1 | 345 | 82 | 3 | 1 | true | false | false | false | false | false | zero |
72,202,375 | How to bring TextView & ImageView in front of ImageView using Framelayout? | <pre><code><?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="m... | [CODE] I'm making xml of list-adapter item using Framelayout in Android Studio and I want to make it like pic1. pic1 But I think it doesn't work. Because I can't bring product name or price in front of product image. And it works like this pic2. pic2 I know that textView(id:price) would be the most recent child on top ... | android|android-layout|android-framelayout | 0 | 2022-05-11T13:57:30.113Z | 2,022 | 5 | 13 | 2 | 47 | 1 | 353 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
72,202,516 | Encrypt and Decrypt Operation with one Authentication with Biometric | <p>I have implemented methods to encrypt and decrypt values using the Biometric API of android. But I need to read a value and later write another, and I don't want to make the user to introduce the fingerprint more than one time. I don't know how to do that.</p>
<p>My cryptographics class is:</p>
<pre><code>public cla... | I have implemented methods to encrypt and decrypt values using the Biometric API of android. But I need to read a value and later write another, and I don't want to make the user to introduce the fingerprint more than one time. I don't know how to do that. My cryptographics class is: [CODE] And the next are my biometri... | android|encryption|cryptography|android-biometric | 1 | 2022-05-11T14:07:28.180Z | 2,022 | 5 | 14 | 2 | 147 | 0 | 451 | 68 | 4 | 2 | true | true | false | false | false | false | low |
72,202,628 | Delphi 11, Android, directory file list | <p>I'm trying to get a directory files list in order to have a list and, later, choose one under android and delphi 11.0.
After severals long search (here) and unsuccessful tries at the end i found this post.</p>
<p><a href="https://stackoverflow.com/questions/53579965/delphi-rio-fails-to-read-external-storage-with-rea... | I'm trying to get a directory files list in order to have a list and, later, choose one under android and delphi 11.0. After severals long search (here) and unsuccessful tries at the end i found this post. Delphi Rio fails to read external storage with READ_EXTERNAL_STORAGE permissions set Where Dalija gave this code: ... | android|delphi | 2 | 2022-05-11T14:13:45.570Z | 2,022 | 5 | 14 | 2 | 408 | 1 | 604 | 39 | 2 | 1 | true | false | false | false | false | false | low |
72,202,821 | Expo build apk : ExponentToken not generated | <p>I created my first expo app, who can send notification to multiple users. I use the expo-notification package to generate the ExponentToken and handle incoming notification.</p>
<p>Everythings works perfecly when I use the expo go app, but recently I build my app in apk with eas</p>
<pre><code>$ eas build -p android... | I created my first expo app, who can send notification to multiple users. I use the expo-notification package to generate the ExponentToken and handle incoming notification. Everythings works perfecly when I use the expo go app, but recently I build my app in apk with eas [CODE] I downloaded the builded apk, but when m... | android|react-native|expo|apk|token | 1 | 2022-05-11T14:27:00.140Z | 2,022 | 5 | 14 | 2 | 242 | 1 | 773 | 44 | 5 | 1 | true | false | false | false | false | false | low |
72,202,873 | How to "steal" microphone access from another app(Discord)? | <p>I need somehow to "steal" microphone access from another app, in this case, Discord App. What I need to do is to join some voice channel on Discord(in that time microphone access is controlled by discord) and then switch to my app and record the voice from my app.</p>
<p>If I start recording from my app, a... | I need somehow to "steal" microphone access from another app, in this case, Discord App. What I need to do is to join some voice channel on Discord(in that time microphone access is controlled by discord) and then switch to my app and record the voice from my app. If I start recording from my app, and then sw... | android|kotlin|discord|android-mediarecorder | 0 | 2022-05-11T14:31:03.177Z | 2,022 | 5 | 14 | 2 | 38 | 0 | 476 | 59 | 4 | 0 | false | true | false | false | false | false | zero |
72,202,959 | What is mean by Code generation libraries? | <p>Today I was going through the Android libraries update by referring some videos and documents.
There was a term mentioned Code Generation Libraries.</p>
<p>Can any one explain what does it mean or what type of libraries are addressed as Code Generation Libraries?</p>
<p>Thanks In Advance.</p> | Today I was going through the Android libraries update by referring some videos and documents. There was a term mentioned Code Generation Libraries. Can any one explain what does it mean or what type of libraries are addressed as Code Generation Libraries? Thanks In Advance. | android|androidx | -1 | 2022-05-11T14:36:31.813Z | 2,022 | 5 | 14 | 2 | 30 | 1 | 275 | 42 | 2 | 0 | false | false | false | false | false | true | negative |
72,202,961 | mongodb realm - how do I work around decode exception on a datetime field? | <p>I'm trying to use realm from an android app using java. I'm working my way through the tutorial. I've setup a simple watch on the collection for a data change. It appears that I need to convert a mongo date to a string (see error message), but the question is how do I do this to avoid the error ?
Thanks</p>
<p>This... | I'm trying to use realm from an android app using java. I'm working my way through the tutorial. I've setup a simple watch on the collection for a data change. It appears that I need to convert a mongo date to a string (see error message), but the question is how do I do this to avoid the error ? Thanks This is the fie... | java|android|mongodb|codec|realm-mobile-platform | 0 | 2022-05-11T14:36:36.240Z | 2,022 | 5 | 14 | 2 | 41 | 0 | 821 | 74 | 5 | 3 | true | true | false | false | false | false | zero |
72,202,984 | Real safe zone of adaptive icon | <p>Why the <a href="https://medium.com/google-design/designing-adaptive-icons-515af294c783" rel="nofollow noreferrer">links to articles</a> from <a href="https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive" rel="nofollow noreferrer">official documentation</a> say that the safe zone is 66 dp... | Why the links to articles from official documentation say that the safe zone is 66 dp but in fact it is 44 dp? The official documentation says that 66 dp zone is guaranteed not to be clipped: But it clipped if I use 66 dp zone :) It's perfect if I use 44 dp zone | android|android-vectordrawable|android-icons|adaptive-icon | 0 | 2022-05-11T14:37:52.513Z | 2,022 | 5 | 14 | 2 | 38 | 0 | 262 | 31 | 4 | 0 | false | true | false | false | false | false | zero |
72,203,001 | FlutterDownloader crashing Flutter app after the download begins | <p>Immediatly after the download starts, the plugin bring the app down with the message:
D/DownloadWorker(28364): Update too frequently!!!!, but it is the final update, we should sleep a second to ensure the update call can be processed
I/flutter (28364): Fatal: could not find callback</p>
<p>My code:</p>
<pre><code>Fu... | Immediatly after the download starts, the plugin bring the app down with the message: D/DownloadWorker(28364): Update too frequently!!!!, but it is the final update, we should sleep a second to ensure the update call can be processed I/flutter (28364): Fatal: could not find callback My code: [CODE] | android|flutter|dart|plugins | 0 | 2022-05-11T14:38:57.803Z | 2,022 | 5 | 14 | 2 | 37 | 0 | 299 | 64 | 4 | 1 | true | true | false | false | false | false | zero |
72,203,016 | How do you create a parallelogram button in Xamarin.Forms | <p>I'm currently working on a new multi-platform (iOS & Android) app in Xamarin and the designer of the app wants the buttons to be parallelogram shaped, anyone have any idea how you might achieve this? Below is an example of one of the buttons they want done.</p>
<p><a href="https://i.stack.imgur.com/0mR8C.png" re... | I'm currently working on a new multi-platform (iOS & Android) app in Xamarin and the designer of the app wants the buttons to be parallelogram shaped, anyone have any idea how you might achieve this? Below is an example of one of the buttons they want done. | c#|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-05-11T14:39:37.833Z | 2,022 | 5 | 14 | 2 | 62 | 1 | 257 | 57 | 5 | 0 | false | false | false | false | false | false | zero |
72,203,067 | IllegalStateException on DataBindingUtil.setContentView: Restoring the Navigation back stack failed, current destination null | <p>For some users, my app seems to crash regularly at or near app start. It's been an issue I've been trying to figure out for a while but I haven't had much success since I haven't been able to reproduce it on any of our test devices and this is also my first time working with the AndroidX Navigation components.</p>
<... | For some users, my app seems to crash regularly at or near app start. It's been an issue I've been trying to figure out for a while but I haven't had much success since I haven't been able to reproduce it on any of our test devices and this is also my first time working with the AndroidX Navigation components. It happe... | android|android-databinding|android-jetpack-navigation | 0 | 2022-05-11T14:44:03.310Z | 2,022 | 5 | 14 | 2 | 185 | 1 | 775 | 125 | 3 | 3 | true | false | false | false | false | false | zero |
72,203,076 | RuntimeException on Google play pre-launch report test | <p>Im having a RuntimeException in some espresso test runned on the google play pre-launch console.</p>
<p>The courios thing is only is failing for devices that have Afghanistan/Persiang language (locale = fa_FA)</p>
<p>Notice de persian characters "۱۳" that stands for "13"</p>
<p><a href="https://i... | Im having a RuntimeException in some espresso test runned on the google play pre-launch console. The courios thing is only is failing for devices that have Afghanistan/Persiang language (locale = fa_FA) Notice de persian characters "۱۳" that stands for "13" devices tha failed image [CODE] | android|android-espresso|google-play-console|runtimeexception|prelaunch | 0 | 2022-05-11T14:44:56.740Z | 2,022 | 5 | 14 | 2 | 92 | 0 | 309 | 54 | 5 | 1 | true | true | false | false | false | false | zero |
72,203,083 | contact(long)' is not public in 'com.wafflecopter.multicontactpicker.Contacts.Contacts | <p>Thanks for the Multi contact picker package. My requirement is allowing user to select contact and store them in db & auto - populate already selected contacts when he edits. so for storing in db i am creating jsonobject but when trying to create ContactResult object from json object to autopoulate in edit mode ... | Thanks for the Multi contact picker package. My requirement is allowing user to select contact and store them in db & auto - populate already selected contacts when he edits. so for storing in db i am creating jsonobject but when trying to create ContactResult object from json object to autopoulate in edit mode it says... | android | 0 | 2022-05-11T14:45:20.267Z | 2,022 | 5 | 14 | 2 | 8 | 0 | 2,616 | 86 | 1 | 1 | true | true | false | false | false | false | zero |
72,203,095 | Use a separate kts file to handle the flavors in a project (groovy -> kts) | <p>I was following <a href="https://medium.com/stepstone-tech/modularizing-your-flavored-android-project-5db75c59fb0d" rel="nofollow noreferrer">this article</a> ("Modularizing your flavored Android project") by Piotr Zawadzki to add flavors to multiple modules of my project but I got stuck when trying to con... | I was following this article ("Modularizing your flavored Android project") by Piotr Zawadzki to add flavors to multiple modules of my project but I got stuck when trying to convert the file flavors.gradle from Groovy to Kts (which is what I am currently using). [CODE] Is it possible to convert it to Kts? | android|groovy|gradle-kotlin-dsl | 0 | 2022-05-11T14:46:12.910Z | 2,022 | 5 | 14 | 2 | 106 | 0 | 316 | 74 | 3 | 1 | true | true | false | false | false | false | zero |
72,203,136 | Need to Understands the Multi-Resolution Adaptation in cocos2dx | <p>kindly please help me to understand that what changes and what ResolutionPolicy required for project in Android and ios to Support Multi Resolution without stretch images in cocos2dx c++.</p> | kindly please help me to understand that what changes and what ResolutionPolicy required for project in Android and ios to Support Multi Resolution without stretch images in cocos2dx c++. | cocos2d-iphone|cocos2d-x|cocos2d-x-3.0|cocos2d-android|cocoscreator | 0 | 2022-05-11T14:49:43.247Z | 2,022 | 5 | 14 | 2 | 41 | 0 | 187 | 65 | 5 | 0 | false | true | false | false | false | false | zero |
72,203,297 | In-App Review flow not showing only in Production | <p>I am trying to implement In-App review for an Android application. I implemented as per official documentation and I tested it using Internal App Sharing procedure and it worked correctly. Does anyone have any information why it might not show the review window in production environment for other users that already ... | I am trying to implement In-App review for an Android application. I implemented as per official documentation and I tested it using Internal App Sharing procedure and it worked correctly. Does anyone have any information why it might not show the review window in production environment for other users that already hav... | android|testing|production|review | 0 | 2022-05-11T14:59:14.197Z | 2,022 | 5 | 14 | 2 | 38 | 0 | 348 | 49 | 4 | 0 | false | true | false | false | false | false | zero |
72,203,317 | Recyclerview is not scrolling | <p>The .xml file is attached below.
The issue is my recycler view is not scrolling.</p>
<p>Also, to show how I'm adding Linearlayout manager, the code is below.</p>
<p>variantRecycler.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false));
ViewCompat. setNestedScrollingEnabled(vari... | The .xml file is attached below. The issue is my recycler view is not scrolling. Also, to show how I'm adding Linearlayout manager, the code is below. variantRecycler.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false)); ViewCompat. setNestedScrollingEnabled(variantRecycler, fals... | android | 0 | 2022-05-11T15:00:44.067Z | 2,022 | 5 | 15 | 2 | 23 | 0 | 330 | 29 | 1 | 1 | true | true | false | false | false | false | zero |
72,203,350 | Combine Ionic 6 and Andoird app into one as a module | <p>I am creating an app in IONIC 6 and want to combine it with the Android app that is already built. Android app will be its master app and ionic will work as a module or a library. What's the best approach to merging these two different frameworks apps.</p>
<p>I am searching all over the internet but didn't find anyt... | I am creating an app in IONIC 6 and want to combine it with the Android app that is already built. Android app will be its master app and ionic will work as a module or a library. What's the best approach to merging these two different frameworks apps. I am searching all over the internet but didn't find anything relat... | java|android|angular|merge|ionic6 | 0 | 2022-05-11T15:02:57.053Z | 2,022 | 5 | 15 | 2 | 7 | 0 | 390 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
72,203,494 | How to update user's scores every hour to my Leaderboard using Firestore? | <p>I have a collection "scores" which includes some data in each documents for each user:-</p>
<ul>
<li>userId</li>
<li>score</li>
<li>avatarPath for firebase storage</li>
<li>username</li>
</ul>
<p>I can so use</p>
<pre><code>val db = Firebase.firestore
db.collections("scores").whereGreaterThan(fie... | I have a collection "scores" which includes some data in each documents for each user:- userId score avatarPath for firebase storage username I can so use [CODE] As we can see, I want the 100 best users' scores to display them in my Leaderboard, with the avatarPath and usernames. The problem is that I want th... | android|firebase|android-studio|google-cloud-firestore|google-cloud-functions | 0 | 2022-05-11T15:11:47.427Z | 2,022 | 5 | 15 | 2 | 57 | 0 | 949 | 73 | 5 | 1 | true | true | false | false | false | false | zero |
72,203,707 | Check run time permission in Fragment Android | <p>I want to check run-time permission inside a fragment. For Reference I followed <a href="https://stackoverflow.com/questions/40760625/how-to-check-permission-in-fragment">This</a> question.
Permission Dialog is shown correctly but when I grant permission this exception occurs</p>
<pre><code>java.lang.RuntimeExceptio... | I want to check run-time permission inside a fragment. For Reference I followed This question. Permission Dialog is shown correctly but when I grant permission this exception occurs [CODE] This is my code in Fragment. For this I have used This Answer as reference [CODE] Can someone tell me what I am doing wrong and how... | android|kotlin|android-fragments|android-permissions | 0 | 2022-05-11T15:28:02.110Z | 2,022 | 5 | 15 | 2 | 98 | 1 | 335 | 45 | 4 | 2 | true | false | false | false | false | false | zero |
72,203,915 | Adding Produced AAR of a Module as a Dependency To Another Module | <p>I have a multi-module Android Project. These two modules can be called A and B. What I want to do is to have the AAR of project A by assembling, and add it as a dependency to the B. In other words, first I should be able to run gradle task</p>
<pre><code>A:assembleProductRelease
</code></pre>
<p>and when that task i... | I have a multi-module Android Project. These two modules can be called A and B. What I want to do is to have the AAR of project A by assembling, and add it as a dependency to the B. In other words, first I should be able to run gradle task [CODE] and when that task is finished and AAR is created, it should be used by B... | android|gradle|android-gradle-plugin | 0 | 2022-05-11T15:40:18.030Z | 2,022 | 5 | 15 | 2 | 70 | 0 | 663 | 65 | 3 | 2 | true | true | false | false | false | false | zero |
72,203,936 | Howto getExtras from a local broadcast Intent in react-native | <p>in my React-Native opened project,
I want to receive the data (extra text) sent by another local service app named "scanservice" on its intent output (broadcast) on a Action named "scanservice.data" ,
and I do not know how to start & write that : someone can help me please?
I have tried witho... | in my React-Native opened project, I want to receive the data (extra text) sent by another local service app named "scanservice" on its intent output (broadcast) on a Action named "scanservice.data" , and I do not know how to start & write that : someone can help me please? I have tried without succ... | java|android|react-native|android-intent | 0 | 2022-05-11T15:42:42.977Z | 2,022 | 5 | 15 | 2 | 76 | 1 | 354 | 61 | 4 | 0 | false | false | false | false | false | false | zero |
72,203,951 | Firebase Android Kotlin push notifications shows up until API30 from API31 and higher the device receives notifications but doesn't show them | <p>We tried everything that we could find to make the notifications show on the device
API>30. Onmessage received shows in the console that we receive the notifications its not clear what we are missing below here is the code:
mainactivity</p>
<pre><code>class MainActivity : AppCompatActivity() {
override fun onCre... | We tried everything that we could find to make the notifications show on the device API>30. Onmessage received shows in the console that we receive the notifications its not clear what we are missing below here is the code: mainactivity [CODE] manifest [CODE] service [CODE] After weeks of looking to find a fix, if you ... | android|kotlin|push-notification|firebase-cloud-messaging|android-push-notification | 0 | 2022-05-11T15:43:38.377Z | 2,022 | 5 | 15 | 2 | 302 | 0 | 373 | 141 | 5 | 3 | true | true | false | false | false | false | zero |
72,203,954 | How to change color buttons of navigation | <p><a href="https://i.stack.imgur.com/Ukd1X.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ukd1X.jpg" alt="enter image description here" /></a></p>
<p>all the words I wrote in the picture
i need change color buttons of navigation warning color buttons not android:statusBarColor</p> | all the words I wrote in the picture i need change color buttons of navigation warning color buttons not android:statusBarColor | java|android|xml | 0 | 2022-05-11T15:44:08.773Z | 2,022 | 5 | 15 | 2 | 56 | 2 | 127 | 41 | 3 | 0 | false | false | false | false | false | false | zero |
72,204,103 | How do you observe LiveData outside a fragment | <p>I have a TextView inside a Fragment. Using LiveData I am able to change the text from within the fragment. By using a button in the MainActivity (outside the fragment) I am trying to change the text in the TextView, but it is not working. Can someone help. Here is my code:</p>
<p>This is the MainActivity which has a... | I have a TextView inside a Fragment. Using LiveData I am able to change the text from within the fragment. By using a button in the MainActivity (outside the fragment) I am trying to change the text in the TextView, but it is not working. Can someone help. Here is my code: This is the MainActivity which has a button an... | android|android-fragments|android-livedata | 0 | 2022-05-11T15:54:36.063Z | 2,022 | 5 | 15 | 2 | 268 | 2 | 435 | 46 | 3 | 3 | true | false | false | false | false | false | zero |
72,204,152 | Android Studio Java code to retrieve and display the browser history | <p>I'm new to Android Studio platform and as a part of my project I would like to know the Java code required to retrieve and display the browsing history in ListView.
Please could anyone help me out. Thanks in advance.</p> | I'm new to Android Studio platform and as a part of my project I would like to know the Java code required to retrieve and display the browsing history in ListView. Please could anyone help me out. Thanks in advance. | java|android-studio|listview|mobile-application|browser-history | 0 | 2022-05-11T15:57:47.870Z | 2,022 | 5 | 15 | 2 | 23 | 0 | 216 | 68 | 5 | 0 | false | true | false | false | false | false | zero |
72,204,258 | Full screen notifications unwantedly triggering keyguard | <p>I'm making an app that shows full-screen notifications when the device is locked.</p>
<p>Expected behavior: when a notification is launched, the activity shows over the lock screen <strong>without prompting the user to unlock the device</strong>. It should be the same as an alarm clock notification, just without wak... | I'm making an app that shows full-screen notifications when the device is locked. Expected behavior: when a notification is launched, the activity shows over the lock screen without prompting the user to unlock the device . It should be the same as an alarm clock notification, just without waking up the screen. Code: i... | android|kotlin|notifications|sdk|keyguard | 1 | 2022-05-11T16:06:03.450Z | 2,022 | 5 | 16 | 2 | 51 | 0 | 1,331 | 56 | 5 | 1 | true | true | false | false | false | false | low |
72,204,278 | buildozer.spec, apk kivy file with folders crashing | <p><a href="https://buildozer.readthedocs.io/en/latest/specifications.html" rel="nofollow noreferrer">https://buildozer.readthedocs.io/en/latest/specifications.html</a></p>
<p>I keep making an apk file that crashes when opening it. I think it may have something to do with the app having three folders, buildozer not add... | https://buildozer.readthedocs.io/en/latest/specifications.html I keep making an apk file that crashes when opening it. I think it may have something to do with the app having three folders, buildozer not adding them and the app not finding the path for them. I have 3 folders, one with the fonts used, other two empty bu... | python|android|kivy|buildozer | 0 | 2022-05-11T16:07:40.500Z | 2,022 | 5 | 16 | 2 | 52 | 0 | 530 | 51 | 4 | 0 | false | true | false | false | false | false | zero |
72,204,343 | Android Studio view binding import incorrect path | <p>Android Studio is adamant to import R and DataBinding from a path containing a dash.</p>
<p><a href="https://i.stack.imgur.com/mc19u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mc19u.png" alt="enter image description here" /></a></p>
<p>This causes compilation errors, obviously, since you shou... | Android Studio is adamant to import R and DataBinding from a path containing a dash. This causes compilation errors, obviously, since you should not have dashes in module names. The problem is that I have looked everywhere for where I might have declared this module incorrectly, but I can can only find the correct path... | android|android-studio|kotlin|android-viewbinding | 0 | 2022-05-11T16:12:46.283Z | 2,022 | 5 | 16 | 2 | 89 | 1 | 796 | 49 | 4 | 0 | false | false | false | false | false | false | zero |
72,204,447 | How to fix toolbar flickering? | <p>I have the next layout:</p>
<pre><code><androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.appbar.AppBarLayout ... />
<androidx.recyclerview.widget.RecyclerView ... />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</code></pre>
<p>Everything ... | I have the next layout: [CODE] Everything works fine, but when I navigate back to the fragment with this layout, there is a second when RecyclerView items are drawn on the toolbar, and everything is fine again. How can I fix it? Flickering: Not flickering: | android|layout|view|toolbar | 0 | 2022-05-11T16:21:02.517Z | 2,022 | 5 | 16 | 2 | 95 | 0 | 256 | 30 | 4 | 1 | true | true | false | false | false | false | zero |
72,204,458 | Android display item inside dropdown list | <p>I have a TextInputLayout with style ExposedDropdownMenu. this TextInputLayout contains an AutoCompleteTextView.
I can add a list item inside this AutoCompleteTextView using an adapter.</p>
<pre><code> mLightSensorGainTextInput = (AutoCompleteTextView) findViewById(R.id.paramLightSensorGain);
String[] ... | I have a TextInputLayout with style ExposedDropdownMenu. this TextInputLayout contains an AutoCompleteTextView. I can add a list item inside this AutoCompleteTextView using an adapter. [CODE] I would like to set one value displayed when I click a "setDefaultButton" but I have always the initial view: I tried ... | android|adapter|selection|display | 0 | 2022-05-11T16:22:15.327Z | 2,022 | 5 | 16 | 2 | 61 | 3 | 545 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
72,204,544 | ByteArray is null in Room database when compressing to PNG | <p>I have a field for my entity defined like this</p>
<pre><code>@ColumnInfo(typeAffinity = ColumnInfo.BLOB)
var thumbnail: ByteArray? = null,
</code></pre>
<p>and I want to save a small thumbnail compressed as PNG (to keep transparencies), for which I use the following extension</p>
<pre><code>private fun Bitmap.toByt... | I have a field for my entity defined like this [CODE] and I want to save a small thumbnail compressed as PNG (to keep transparencies), for which I use the following extension [CODE] My problem is that the thumbnail row is NULL, even though the conversion happens without problems. If I change Bitmap.CompressFormat.PNG b... | arrays|kotlin|png|android-room | 0 | 2022-05-11T16:28:22.867Z | 2,022 | 5 | 16 | 2 | 17 | 0 | 450 | 58 | 4 | 2 | true | true | false | false | false | false | zero |
72,204,703 | Android TV app is not visible in store on the device | <p>I have developed nice useful web browser for Android TV, it is getting traction and nice feedback from the community. Since I am very experienced developer it will only get better and more rich with features. App has of course passed all the additional reviews to be available on Android TV. When I visit play store f... | I have developed nice useful web browser for Android TV, it is getting traction and nice feedback from the community. Since I am very experienced developer it will only get better and more rich with features. App has of course passed all the additional reviews to be available on Android TV. When I visit play store from... | android|television | 1 | 2022-05-11T16:40:05.047Z | 2,022 | 5 | 16 | 2 | 85 | 0 | 881 | 52 | 2 | 1 | true | true | false | false | false | false | low |
72,204,732 | lazy horizontal grid in Compose? | <p>lazy horizontal grid in Compose ?
I need something like this.</p>
<p><a href="https://i.stack.imgur.com/RaKuV.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/RaKuV.jpg</a></p> | lazy horizontal grid in Compose ? I need something like this. https://i.stack.imgur.com/RaKuV.jpg | android|kotlin | 1 | 2022-05-11T16:42:47.193Z | 2,022 | 5 | 16 | 2 | 182 | 0 | 97 | 32 | 2 | 0 | false | true | false | false | false | false | low |
72,204,761 | How can I sandbox a third-party library within my Android application? | <p>I include an AAR in my app which comes from a third party. My app declares lots of permissions, and has access to APIs that could potentially be used to access sensitive info or perform malicious actions. As I understand it, this means that the third-party library can access (and potentially abuse) all these same ... | I include an AAR in my app which comes from a third party. My app declares lots of permissions, and has access to APIs that could potentially be used to access sensitive info or perform malicious actions. As I understand it, this means that the third-party library can access (and potentially abuse) all these same APIs,... | android|android-permissions|sandbox | 1 | 2022-05-11T16:45:00.913Z | 2,022 | 5 | 16 | 2 | 50 | 1 | 528 | 70 | 3 | 0 | false | false | false | false | false | false | low |
72,204,856 | How to build expo apk using eas build | <p>After updating expo it no longer supports building apk files using <strong>expo build:android -t apk</strong> and instead advices to using eas builds using the command <strong>eas build -p android --profile preview</strong> but it ended up building an aab instead of the apk. I took a look at the newly added eas.json... | After updating expo it no longer supports building apk files using expo build:android -t apk and instead advices to using eas builds using the command eas build -p android --profile preview but it ended up building an aab instead of the apk. I took a look at the newly added eas.json file which contained: [CODE] I read ... | javascript|android|node.js|react-native|expo | 12 | 2022-05-11T16:53:26.733Z | 2,022 | 5 | 16 | 2 | 5,906 | 4 | 711 | 37 | 5 | 2 | true | false | true | false | true | false | medium |
72,205,000 | Build failed: SDK location not found (:app:compileDebugJavaWithJavac) | <p>Since a recent upgrade of Android Studio, I cannot build my project anymore. The surface error is:</p>
<pre class="lang-none prettyprint-override"><code>e: C:\Users\<user>\dev\<project>\app\build\generated\source\navigation-args\release\com\<org>\<project>\ui\home\HomeFragmentDirections.kt: ... | Since a recent upgrade of Android Studio, I cannot build my project anymore. The surface error is: [CODE] If I dig further and build from the terminal with gradlew ( gradlew assembleDebug --debug ): [CODE] My local.properties file already contains this line: [CODE] and that is where the SDK is installed. In my build.gr... | android|android-studio|gradle|android-gradle-plugin|android-sdk-tools | 1 | 2022-05-11T17:06:34.200Z | 2,022 | 5 | 17 | 2 | 1,146 | 0 | 1,160 | 69 | 5 | 6 | true | true | false | false | false | false | low |
72,205,039 | apkanalizer - What can increase the raw file size of the native libs? | <p>I have a project that used to weight around 140MB. Then, something changed and new version of the app is increasing by 100MB the apk size, even when the download size remains mostly the same.</p>
<p>We did not do any major config modifications, but did increase the minSDKVersion. Is that what is impacting the file s... | I have a project that used to weight around 140MB. Then, something changed and new version of the app is increasing by 100MB the apk size, even when the download size remains mostly the same. We did not do any major config modifications, but did increase the minSDKVersion. Is that what is impacting the file size? Or wh... | android|android-studio|android-native-library|apkanalyzer | 0 | 2022-05-11T17:10:22.350Z | 2,022 | 5 | 17 | 2 | 25 | 0 | 426 | 69 | 4 | 0 | false | true | false | false | false | false | zero |
72,205,049 | A problem ocurred configuring project '@library' | <p>I'm getting this building error while trying to run my app with <code>react-native run-android</code></p>
<pre><code>A problem occurred configuring project ':@react-native-community_checkbox'.
> Could not resolve all artifacts for configuration ':@react-native-community_checkbox:classpath'.
> Could not reso... | I'm getting this building error while trying to run my app with react-native run-android [CODE] My gradle configuration looks like this: [CODE] My gradle version is 5.6.4 | android|react-native|gradle | 1 | 2022-05-11T17:11:04.943Z | 2,022 | 5 | 17 | 2 | 80 | 0 | 170 | 48 | 3 | 2 | true | true | false | false | false | false | low |
72,205,141 | How run robolectric inside AOSP | <p>I try run robolectric inside AOSP</p>
<p>my Android.bp file looks like</p>
<pre><code>android_robolectric_test {
name: "MyRoboTests",
srcs: [
"src/**/*.java",
],
static_libs: [
"SettingsLib-robo-testutils",
"android-support-annot... | I try run robolectric inside AOSP my Android.bp file looks like [CODE] test looks: [CODE] I try run with atest [CODE] But test does not run. Out of console looks: [CODE] Test does not work I don't understand What is wrong Could you help me with running robolectric for AOSP? | android|android-source|robolectric|atest | 1 | 2022-05-11T17:18:38.450Z | 2,022 | 5 | 17 | 2 | 142 | 1 | 274 | 31 | 4 | 4 | true | false | false | false | false | false | low |
72,205,169 | What are the differences between Android Automotive, Android Auto, and Android for mobile phones? | <p>What are the differences between Android Automotive, Android Auto, and Android for mobile phones (from a user perspective and architecturally / technically)?</p> | What are the differences between Android Automotive, Android Auto, and Android for mobile phones (from a user perspective and architecturally / technically)? | android|android-auto|android-automotive | 2 | 2022-05-11T17:21:05.430Z | 2,022 | 5 | 17 | 2 | 320 | 1 | 157 | 97 | 3 | 0 | false | false | false | false | false | false | low |
72,205,181 | Scrollable Collapsing Toolbar in Compose | <p>I was trying find a ready solution for it but couldn't.
The idea is to make the expanded toolbar with big title and when the content is not fit on the screen make it scrollable. The scroll behaviour is like this:
Expanded toolbar should be disappeared under a regular fix toolbar (height = 56.dp). Regular fix toolbar... | I was trying find a ready solution for it but couldn't. The idea is to make the expanded toolbar with big title and when the content is not fit on the screen make it scrollable. The scroll behaviour is like this: Expanded toolbar should be disappeared under a regular fix toolbar (height = 56.dp). Regular fix toolbar zI... | android|android-jetpack-compose|android-collapsingtoolbarlayout | 3 | 2022-05-11T17:22:15.800Z | 2,022 | 5 | 17 | 2 | 818 | 0 | 779 | 40 | 3 | 0 | false | true | false | false | false | false | low |
72,205,422 | Flutter - Denying permission on camera throws exception | <p>Here is my <strong>initializeCamera</strong> code :</p>
<pre><code>initializeCamera() async {
try {
final cameras = await availableCameras();
final firstCamera = cameras.first;
ContextManager.camera = firstCamera;
setState(() {
cameraAuthorized = true;
ContextManager.camer... | Here is my initializeCamera code : [CODE] Here is my initState code where I call the initializeCamera function and after that initialize the CameraController : [CODE] When I am running the code with flutter web from my computer browser I get this popup from my initializeCamera step : When I click "allow" the ... | android|flutter|permissions|camera|android-permissions | 1 | 2022-05-11T17:44:36.597Z | 2,022 | 5 | 17 | 2 | 221 | 0 | 1,656 | 55 | 5 | 3 | true | true | false | false | false | false | low |
72,205,538 | Can't configure the Android Spellchecker service to simply validate if string is a valid word or not | <p>I am building a Flutter app that requires that I validate if a string is a valid word. The user is not inputting text, he is using elements to build the word. So I just need a routine that returns true for a valid word, false if not.</p>
<p>I am using an <a href="https://api.flutter.dev/flutter/services/MethodChanne... | I am building a Flutter app that requires that I validate if a string is a valid word. The user is not inputting text, he is using elements to build the word. So I just need a routine that returns true for a valid word, false if not. I am using an invokeMethod call to use a native function to do this validation. For iO... | android|flutter|kotlin|spell-checking | 1 | 2022-05-11T17:53:38.610Z | 2,022 | 5 | 17 | 2 | 27 | 0 | 676 | 100 | 4 | 0 | false | true | false | false | false | false | low |
72,205,689 | npx react-native run-android failed | <p>I try to make the following work:</p>
<p><a href="https://github.com/theQRL/mobile-wallet" rel="nofollow noreferrer">https://github.com/theQRL/mobile-wallet</a></p>
<p>I get this error when i run npx react-native run-android in folder.</p>
<p>Everything is installed, emulator running, USB debuggin enabled, node v12,... | I try to make the following work: https://github.com/theQRL/mobile-wallet I get this error when i run npx react-native run-android in folder. Everything is installed, emulator running, USB debuggin enabled, node v12, Pixel 2 android 7 emulator. Can someone help? Thanks. I can try on a clean VM, if it works for you. [CO... | android|react-native|gradle | 1 | 2022-05-11T18:06:38.547Z | 2,022 | 5 | 18 | 2 | 75 | 0 | 323 | 35 | 3 | 1 | true | true | false | false | false | false | low |
72,206,082 | React Native release build failing on bundleJsAndAssets - hermes - index.android.bundle syntax error | <p>Trying to create an android release build with hermes enabled.
Been getting a weird error on bundleJsAndAssets that's coming from index.android.bundle:</p>
<pre><code> release/index.android.bundle:13990:31: error: ')' expected at end of function parameter list function validateBaseUrl(url: string) {
</code></pre>
<... | Trying to create an android release build with hermes enabled. Been getting a weird error on bundleJsAndAssets that's coming from index.android.bundle: [CODE] This function name does not exist in my codebase and I have no clue what could be causing it. Also haven't been able to find anything online. Any help or directi... | android|react-native|gradle|build|react-native-hermes | 2 | 2022-05-11T18:40:08.247Z | 2,022 | 5 | 18 | 2 | 154 | 0 | 352 | 100 | 5 | 1 | true | true | false | false | false | false | low |
72,206,228 | Even if the address of the list changes, does the address value of the property remain the same? | <p>Currently, I am making a task in <code>Android</code> that changes the <code>unit value</code> of the <code>list</code> according to the <code>toggle button</code> and shows the list with the changed value.</p>
<p>I am observing the list using a <code>ViewModel</code> and <code>LiveData</code>.</p>
<p>So i use <code... | Currently, I am making a task in Android that changes the unit value of the list according to the toggle button and shows the list with the changed value. I am observing the list using a ViewModel and LiveData . So i use toList() to return a new list and overwrite the old list to observe the values. However, the screen... | android|kotlin|arraylist | 1 | 2022-05-11T18:54:09.550Z | 2,022 | 5 | 18 | 2 | 40 | 1 | 890 | 96 | 3 | 6 | true | false | false | false | false | false | low |
72,206,233 | How does flutter update state when it's in the build method versus when it's a field variable | <p>i have a stateless Widget and in it a textfield, now I am storing the onChanged value of the textfield in a variable <code>String? newValue;</code> because it's a stateless widget, I must mark it as final, however, if it's marked final, then I can't use it as a setter, to do,</p>
<pre><code>onChanged: (value) {
ne... | i have a stateless Widget and in it a textfield, now I am storing the onChanged value of the textfield in a variable String? newValue; because it's a stateless widget, I must mark it as final, however, if it's marked final, then I can't use it as a setter, to do, [CODE] what I did was I put it in the build() method, so... | android|flutter|dart|state|state-management | 1 | 2022-05-11T18:54:37.940Z | 2,022 | 5 | 18 | 2 | 71 | 1 | 1,117 | 93 | 5 | 2 | true | false | false | false | false | false | low |
72,206,239 | Android ConstraintLayout - moving View fails | <p>My goal is to dynamically create a grid of TextViews in a ConstraintLayout. I've seen <em>many</em> examples but there's an issue that I'm just not seeing. I've broken the task into two steps:</p>
<ul>
<li>creating the View</li>
<li>positioning the View</li>
</ul>
<p>I seem to have mastered the first but not the sec... | My goal is to dynamically create a grid of TextViews in a ConstraintLayout. I've seen many examples but there's an issue that I'm just not seeing. I've broken the task into two steps: creating the View positioning the View I seem to have mastered the first but not the second. Usually I can modify a View's ConstraintSet... | android|android-constraintlayout | 1 | 2022-05-11T18:55:03.837Z | 2,022 | 5 | 18 | 2 | 18 | 1 | 753 | 44 | 2 | 2 | true | false | false | false | false | false | low |
72,206,287 | A problem occurred configuring project ':firebase_auth'? | <p>I've been working on a flutter app. Recently I had to re install everything in my pc and ever since then, this error keeps popping up:</p>
<blockquote>
<p>Launching lib/main.dart on SM G615F in debug mode... lib/main.dart:1</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong: A problem occur... | I've been working on a flutter app. Recently I had to re install everything in my pc and ever since then, this error keeps popping up: Launching lib/main.dart on SM G615F in debug mode... lib/main.dart:1 FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ':firebase_auth'. C... | android|flutter|gradle|firebase-authentication | 1 | 2022-05-11T18:59:47.733Z | 2,022 | 5 | 18 | 2 | 306 | 1 | 1,830 | 56 | 4 | 1 | true | false | false | false | false | false | low |
72,206,291 | How to extract result from SpeechRecognizer - Android | <p>Im sending intent to use speech recognizer</p>
<pre><code>val intent = Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH).apply {
putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM)
putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.US)
putExtra(RecognizerI... | Im sending intent to use speech recognizer [CODE] But how can I extract the results from it? I've tried several way [CODE] So what is the correct way to extract the result ? | android | 1 | 2022-05-11T19:00:18.700Z | 2,022 | 5 | 19 | 2 | 19 | 1 | 173 | 53 | 1 | 2 | true | false | false | false | false | false | low |
72,206,315 | What steps to take to verify my Android Firebase app is on the cloud | <p>I'm a newbie to the firebase cloud process. I have a commercial a security camera to view my house that I can view on my phone many miles from my home. Getting into IoT, I developed an Android app to turn a porch light on or off. My Android app works with my local internet but now I want to put it into the cloud s... | I'm a newbie to the firebase cloud process. I have a commercial a security camera to view my house that I can view on my phone many miles from my home. Getting into IoT, I developed an Android app to turn a porch light on or off. My Android app works with my local internet but now I want to put it into the cloud so I c... | android|firebase|cloud | 1 | 2022-05-11T19:02:11.567Z | 2,022 | 5 | 19 | 2 | 51 | 0 | 796 | 68 | 3 | 3 | true | true | false | false | false | false | low |
72,206,330 | How can I capture and display multiple images in android | <p>I need to capture multiple images and display on the screen</p>
<p><a href="https://i.stack.imgur.com/0SWTg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0SWTg.png" alt="enter image description here" /></a></p>
<p>I am able to take a single image and show on image view but I do not know how to d... | I need to capture multiple images and display on the screen I am able to take a single image and show on image view but I do not know how to display multiple images. [CODE] | android|android-studio|imageview | 1 | 2022-05-11T19:03:35.030Z | 2,022 | 5 | 19 | 2 | 86 | 0 | 172 | 56 | 3 | 1 | true | true | false | false | false | false | low |
72,206,417 | TextToSpeech - Unable to start activity: findViewById(R.id.srcText) must not be null in Kotlin Android | <p>Been working on a real-time Translation project combined with TTS, but I'm a total beginner in Android development. The OCR and translate functions are working properly since I referred to the <a href="https://developer.android.com/codelabs/mlkit-android-translate#1" rel="nofollow noreferrer">codelab</a>.</p>
<p>How... | Been working on a real-time Translation project combined with TTS, but I'm a total beginner in Android development. The OCR and translate functions are working properly since I referred to the codelab . However, after I have added TTS to MainActivity with srcText(TextView) in main_fragment.xml the error showed up. Have... | xml|android-studio|kotlin|null|findviewbyid | 0 | 2022-05-11T19:10:20.897Z | 2,022 | 5 | 19 | 2 | 31 | 1 | 772 | 102 | 5 | 4 | true | false | false | false | false | false | zero |
72,206,494 | Remember what was the last remote branch pushed to from current branch | <p>I often have multiple branches and I do PRs. Currently whenever I want to push a branch I have to <strong>manually</strong> search and select the remote corresponding branch I want to push to.</p>
<p>Therefore I don't want it to select this random branch by default.</p>
<p><a href="https://i.stack.imgur.com/Vvx8C.pn... | I often have multiple branches and I do PRs. Currently whenever I want to push a branch I have to manually search and select the remote corresponding branch I want to push to. Therefore I don't want it to select this random branch by default. But I want it to select by default the last target branch used from last time... | git|android-studio | 0 | 2022-05-11T19:17:28.933Z | 2,022 | 5 | 19 | 2 | 36 | 0 | 1,157 | 70 | 2 | 1 | true | true | false | false | false | false | zero |
72,206,753 | React Native Circle Countdown Timer Not Working Properly | <p>So I have made this screen
<a href="https://i.stack.imgur.com/xG51G.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xG51G.jpg" alt="enter image description here" /></a></p>
<pre><code> const [progress, setProgress] = useState(-1);
const [wwh, setWwh] = useState(30);
const [time, setTime] = useS... | So I have made this screen [CODE] So I am creating a progress state which I will switch to 0 whenever I start the timer, hence the slider will start moving whenever the timer is turned on. [CODE] So, here I am just displaying the Countdown timer and whenever the slider value is changed i.e. whenever the user drags the ... | javascript|android|react-native|timer|countdowntimer | 1 | 2022-05-11T19:38:34.617Z | 2,022 | 5 | 19 | 2 | 362 | 0 | 1,016 | 56 | 5 | 2 | true | true | false | false | false | false | low |
72,206,789 | Sticky header appears under transparent no-title action bar when using Jetpack Compose | <p>I am trying to achieve a transparent no-title action bar theme but when I use sticky headers, the header gets hidden under the action bar and becomes unclickable. I want to have the header fall below the action bar while still having the bar transparent. Is there a different theme I can use to solve this problem?</p... | I am trying to achieve a transparent no-title action bar theme but when I use sticky headers, the header gets hidden under the action bar and becomes unclickable. I want to have the header fall below the action bar while still having the bar transparent. Is there a different theme I can use to solve this problem? I am ... | android|android-layout|android-jetpack-compose | 1 | 2022-05-11T19:41:36.180Z | 2,022 | 5 | 19 | 2 | 189 | 0 | 418 | 86 | 3 | 2 | true | true | false | false | false | false | low |
72,206,803 | How to Solve the Problem in Deprecating Facebook Login support on Android WebViews | <p>Hello i am having a problem with my Ionic Cordova project. Users can't login via Facebook with embedded view. I know that i have to update the facebook sdk in my build.gradle (app) file.</p>
<p>from</p>
<pre><code>implementation "com.facebook.android:facebook-android-sdk:5.13.0"
</code></pre>
<p>to</p>
<pr... | Hello i am having a problem with my Ionic Cordova project. Users can't login via Facebook with embedded view. I know that i have to update the facebook sdk in my build.gradle (app) file. from [CODE] to [CODE] but whenever i tried to build it changes back to [CODE] Is it an Android Sdk thing? How do i solve that? Thanks | android|ionic-framework | 0 | 2022-05-11T19:42:53.420Z | 2,022 | 5 | 19 | 2 | 63 | 0 | 320 | 82 | 2 | 3 | true | true | false | false | false | false | zero |
72,206,817 | Calculate views distance from top inside a recyclerView | <p>I have recently been trying to implement a calendar day view (see picture) with items laying on top of a recycler view</p>
<p><a href="https://i.stack.imgur.com/8F3rI.png" rel="nofollow noreferrer">Example of part of the calendar view</a></p>
<p>Currently I calculate the offset the item needs to have from the top of... | I have recently been trying to implement a calendar day view (see picture) with items laying on top of a recycler view Example of part of the calendar view Currently I calculate the offset the item needs to have from the top of the recycler view with this bit of code [CODE] The background item height is 24dp and is equ... | android|kotlin|android-recyclerview | 1 | 2022-05-11T19:44:48.813Z | 2,022 | 5 | 19 | 2 | 40 | 1 | 1,098 | 55 | 3 | 3 | true | false | false | false | false | false | low |
72,206,979 | AGP 7.2 - java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_3570298/Offline; for instrumentation tests | <p>When running android instrumentation tests with AGP 7.2 (android studio chipmunk) I am seeing the following error:</p>
<pre><code>
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_b6258fc/Offline;
at androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity.$jacoco... | When running android instrumentation tests with AGP 7.2 (android studio chipmunk) I am seeing the following error: [CODE] I have jacoco 0.8.8 setup as well, but when I turn debug.testCoverageEnabled to false, the instrumentation tests pass successfully. Using jacoco 0.8.7 has the same issue, but both 0.8.7 and 0.8.8 wo... | android|android-studio|gradle|jacoco | 7 | 2022-05-11T20:00:26.597Z | 2,022 | 5 | 20 | 2 | 301 | 0 | 358 | 136 | 4 | 1 | true | true | false | false | false | false | medium |
72,207,055 | Are there general methods to optimize fixedupdate or multiscene physics for an android build? | <p>I have a game I am building for android. On Unity everything works and the apk file builds, but when I try to run the application on my Google pixel 6 it crashes after only being on for a couple seconds. I took a look at my unity profiler and I can tell a lot of this load is coming from my fixedupate function (see t... | I have a game I am building for android. On Unity everything works and the apk file builds, but when I try to run the application on my Google pixel 6 it crashes after only being on for a couple seconds. I took a look at my unity profiler and I can tell a lot of this load is coming from my fixedupate function (see the ... | c#|android|unity3d | 1 | 2022-05-11T20:07:52.840Z | 2,022 | 5 | 20 | 2 | 42 | 0 | 597 | 93 | 3 | 1 | true | true | false | false | false | false | low |
72,207,080 | Java end point crashes | <p>I am making an Android application and I am trying to use an API to get meal recipes. I have a <code>RequestManager</code> class which handles the API calls. Unfortunately, it skips the <code>OnResponse</code> and <code>OnFailure</code> methods and does not work even though I have checked the <code>query</code> it i... | I am making an Android application and I am trying to use an API to get meal recipes. I have a RequestManager class which handles the API calls. Unfortunately, it skips the OnResponse and OnFailure methods and does not work even though I have checked the query it is sending , and it is okay. RequestManager class [CODE]... | java|android|api | 1 | 2022-05-11T20:09:48.107Z | 2,022 | 5 | 20 | 2 | 27 | 0 | 509 | 22 | 3 | 1 | true | true | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.