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,025,745 | Error during debugging session while using flutter `facebook_auth.dart` for facebook auth | <pre><code>Exception has occurred.
_CastError (Null check operator used on a null value)
</code></pre>
<p>When trying to run the facebook login, I get this error. There is no syntax error shown on the editor, but when the ! is removed, which is causing the error, the editor gives an error. Using <code>flutter_facebook_... | [CODE] When trying to run the facebook login, I get this error. There is no syntax error shown on the editor, but when the ! is removed, which is causing the error, the editor gives an error. Using flutter_facebook_auth.dart library for facebook authentication. Error_msg.png Error_msg_2.png (the case when we remove the... | android|flutter|dart | 0 | 2022-07-18T16:37:59.467Z | 2,022 | 7 | 16 | 0 | 19 | 0 | 323 | 89 | 3 | 1 | true | true | false | false | false | false | zero |
73,025,765 | Turn a list of data objects into a hash map, send it to firestore, retrieve the data and turn it back into a list of objects again | <p><strong>A solution can be found at the bottom. If you wish to understand the context read along!</strong></p>
<p>Bloody beginner in Kotlin/Android here and trying his best.</p>
<p>I am trying to push a list of data objects into Firestore and managed to pull that off with the following function:</p>
<pre><code>fun cr... | A solution can be found at the bottom. If you wish to understand the context read along! Bloody beginner in Kotlin/Android here and trying his best. I am trying to push a list of data objects into Firestore and managed to pull that off with the following function: [CODE] This creates the following in Firestore: Now I t... | android|firebase|kotlin|google-cloud-platform|google-cloud-firestore | 0 | 2022-07-18T16:40:12.420Z | 2,022 | 7 | 16 | 0 | 110 | 2 | 1,984 | 130 | 5 | 9 | true | false | false | false | false | false | zero |
73,025,845 | Can Android SplashScreen API be used for non-mobile devices (e.g. TV) | <p>The Android documentation does not mention non-mobile platforms in its description of the SplashScreen API. Can this API be used for GoogleTV/Android Native CTV devices?</p>
<p>Are there any special considerations for implementing this on non-mobile app?</p>
<p><a href="https://developer.android.com/guide/topics/ui/... | The Android documentation does not mention non-mobile platforms in its description of the SplashScreen API. Can this API be used for GoogleTV/Android Native CTV devices? Are there any special considerations for implementing this on non-mobile app? https://developer.android.com/guide/topics/ui/splash-screen | android|android-tv|android-12|android-splashscreen | 2 | 2022-07-18T16:46:29.777Z | 2,022 | 7 | 16 | 0 | 30 | 1 | 307 | 69 | 4 | 0 | false | false | false | false | false | false | low |
73,025,919 | Google Play Billing Library 5 purchase flow fails but response code indicates success | <p>I'm trying to use the billing library 5 <a href="https://developer.android.com/google/play/billing/integrate#java" rel="nofollow noreferrer">https://developer.android.com/google/play/billing/integrate#java</a>, for in app purchases, however I'm encounter the error below when I try to make a purchase:</p>
<pre><code>... | I'm trying to use the billing library 5 https://developer.android.com/google/play/billing/integrate#java , for in app purchases, however I'm encounter the error below when I try to make a purchase: [CODE] The error appears on the mobile device instead of showing the valid purchase flow. The purchase flow code is shown ... | android|in-app-billing|play-billing-library | 2 | 2022-07-18T16:52:57.923Z | 2,022 | 7 | 16 | 0 | 250 | 0 | 1,011 | 85 | 3 | 2 | true | true | false | false | false | false | low |
73,025,955 | On migrating to SplashScreen API 12 with Single Activity Architecture | <p>We are considering implementing our SplashScreen using Splash Screen API, but since we use a Single Activity Architecture, we use a fragment to present the splash screen instead of a separate Activity. Is having this MainActivity implement the API discouraged/risky? Is there a best practice to adapting this single a... | We are considering implementing our SplashScreen using Splash Screen API, but since we use a Single Activity Architecture, we use a fragment to present the splash screen instead of a separate Activity. Is having this MainActivity implement the API discouraged/risky? Is there a best practice to adapting this single acti... | android|android-activity|fragment|android-splashscreen | 1 | 2022-07-18T16:56:28.190Z | 2,022 | 7 | 16 | 0 | 64 | 1 | 426 | 69 | 4 | 0 | false | false | false | false | false | false | low |
73,025,969 | setting background color of a button not working | <p>I have a layout, which has a button:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background=... | I have a layout, which has a button: [CODE] Specifically, is sendButton the View I have problems with. I am setting a drawable as a background: [CODE] And in my onCreate: [CODE] I am getting the background of the button in the "frontcolor" color. Why is that, if I am setting white color in the drawable? How t... | android|drawable|android-button | 0 | 2022-07-18T16:57:20.590Z | 2,022 | 7 | 16 | 0 | 28 | 0 | 370 | 48 | 3 | 3 | true | true | false | false | false | false | zero |
73,025,984 | Conditional navigation start destination in jetpack compose | <p>I am using <code>navigation-compose</code> along with bottom bar in jetpack compose. I want to show different bottom bar for different type of user. For that, I need to set conditional <code>startDestination</code> in <code>NavHost</code>. How do i do that?</p>
<p>I've tried below but it change <code>startDestinatio... | I am using navigation-compose along with bottom bar in jetpack compose. I want to show different bottom bar for different type of user. For that, I need to set conditional startDestination in NavHost . How do i do that? I've tried below but it change startDestination but does not reflect in UI. [CODE] While below code ... | android|kotlin|android-jetpack-compose | 1 | 2022-07-18T16:58:41.417Z | 2,022 | 7 | 16 | 0 | 174 | 1 | 434 | 59 | 3 | 3 | true | false | false | false | false | false | low |
73,025,999 | Oval shape in jetpack compose | <p>I need to create a custom shape in jetpack compose similar to RoundedCornerShape, the result should look like this:</p>
<p><a href="https://i.stack.imgur.com/LSA9j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LSA9j.png" alt="enter image description here" /></a></p>
<p>I believe I should extend ... | I need to create a custom shape in jetpack compose similar to RoundedCornerShape, the result should look like this: I believe I should extend the Shape interface like this: [CODE] Any idea how I can achieve this ? | android|android-jetpack-compose | 1 | 2022-07-18T17:00:21.547Z | 2,022 | 7 | 17 | 0 | 100 | 1 | 213 | 29 | 2 | 1 | true | false | false | false | false | false | low |
73,026,021 | Why does this web service code not output? | <p>I am a beginner Android developer, I wrote this code related to web service, but this program has no output (I am not getting any error). And I'm sure that the API is correct, but it doesn't show anything in the text view.And when the app is running on the device, the internet is on.</p>
<p>mainActiviy:</p>
<pre><co... | I am a beginner Android developer, I wrote this code related to web service, but this program has no output (I am not getting any error). And I'm sure that the API is correct, but it doesn't show anything in the text view.And when the app is running on the device, the internet is on. mainActiviy: [CODE] } androidmanife... | android|kotlin|web-services|android-asynctask | 0 | 2022-07-18T17:02:10.750Z | 2,022 | 7 | 17 | 0 | 26 | 1 | 330 | 42 | 4 | 2 | true | false | false | false | false | false | zero |
73,026,161 | Large file parsing speedup | <p>The file has 4 million lines. I get each line from the file using BufferedReader. Next, the resulting string is parsed using JSONObject and inserted into the database using room</p>
<p>How to get the maximum speed of this process?</p>
<p>So i get the string</p>
<pre><code>val coroutineScope = CoroutineScope(Dispatch... | The file has 4 million lines. I get each line from the file using BufferedReader. Next, the resulting string is parsed using JSONObject and inserted into the database using room How to get the maximum speed of this process? So i get the string [CODE] Parsing [CODE] Attempts to parallelize reading and parsing did not gi... | java|android|json|kotlin | 0 | 2022-07-18T17:15:35.180Z | 2,022 | 7 | 17 | 0 | 35 | 0 | 342 | 26 | 4 | 2 | true | true | false | false | false | false | zero |
73,026,172 | Cordova-android 11+ API splash screens vs splash screen plugin for previous SDK's? | <p>The new version of cordova-android (11) which adds supports to API level 11 & 12, now has API splash screen support and the plugin is now deprecated.</p>
<p>My question is, do I still need the plugin if I target Android SDK 6 to 12 (for SDK 6 to 10) ?</p>
<p>Thanks</p> | The new version of cordova-android (11) which adds supports to API level 11 & 12, now has API splash screen support and the plugin is now deprecated. My question is, do I still need the plugin if I target Android SDK 6 to 12 (for SDK 6 to 10) ? Thanks | android|cordova|cordova-android | 3 | 2022-07-18T17:17:07.237Z | 2,022 | 7 | 17 | 0 | 845 | 1 | 251 | 82 | 3 | 0 | false | false | false | false | false | false | low |
73,026,180 | Android add view blank | <p><a href="https://i.stack.imgur.com/B5sZt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B5sZt.png" alt="enter image description here" /></a></p>
<p>I add a view to my project like so:</p>
<pre><code>View inflater = getLayoutInflater().inflate(R.layout.fragment_miles, null, true);
//Add v... | I add a view to my project like so: [CODE] However when I display the view I get a blank page. Here is my view layout file: [CODE] I cannot seem to figure out what is happening. Here is my code for loading the view: [CODE] The page does show the bottom navigation panel at the top of the screen, however it does not show... | android | 0 | 2022-07-18T17:18:16.827Z | 2,022 | 7 | 17 | 0 | 22 | 0 | 359 | 22 | 1 | 3 | true | true | false | false | false | false | zero |
73,026,182 | It there a way to monitor Android system api calls? | <p>I want to monitor several system functions like <code>displayMetrics.heightPixel</code>, <code>Build.DISPLAY</code> or access to the Accelerometer/Gyroscope for arbitrary Apps running on the system.
The goal is to log those function calls into a file.</p>
<p>Is there a way to monitor it, without reimplementing Andro... | I want to monitor several system functions like displayMetrics.heightPixel , Build.DISPLAY or access to the Accelerometer/Gyroscope for arbitrary Apps running on the system. The goal is to log those function calls into a file. Is there a way to monitor it, without reimplementing Android? Do any of you know a good appro... | java|android|api|kotlin | 1 | 2022-07-18T17:18:22.790Z | 2,022 | 7 | 17 | 0 | 40 | 0 | 334 | 51 | 4 | 0 | false | true | false | false | false | false | low |
73,026,198 | In the documentation says, we should use singleton for RoomDatabase instance. Is it per database or per application process? | <p>In official <a href="https://developer.android.com/training/data-storage/room#:%7E:text=Note%3A%20If%20your%20app%20runs%20in%20a%20single%20process%2C%20you%20should%20follow%20the%20singleton%20design%20pattern%20when%20instantiating%20an%20AppDatabase%20object.%20Each%20RoomDatabase%20instance%20is%20fairly%20exp... | In official documentation , it's mentioned that Note: If your app runs in a single process, you should follow the singleton design pattern when instantiating an AppDatabase object. Each RoomDatabase instance is fairly expensive, and you rarely need access to multiple instances within a single process. Assuming we have ... | android|android-room|database-migration | 0 | 2022-07-18T17:19:32.067Z | 2,022 | 7 | 17 | 0 | 43 | 1 | 685 | 124 | 3 | 0 | false | false | false | false | false | false | zero |
73,026,277 | Calling methods of InputMethodService from Jetpack Compose | <p>Trying to make a custom Keyboard using Jetpack Compose. Cannot figure out how call <code>currentInputConnection</code> or other methods from Composable.</p>
<pre><code>@Composable
fun CustomKeyboard() {
var inputVal by remember { mutableStateOf("") }
Column(
modifier = Modifier
... | Trying to make a custom Keyboard using Jetpack Compose. Cannot figure out how call currentInputConnection or other methods from Composable. [CODE] And the InputMethodService class here... [CODE] | android|android-jetpack-compose|android-softkeyboard|android-input-method|inputconnection | 2 | 2022-07-18T17:25:59.543Z | 2,022 | 7 | 17 | 0 | 71 | 1 | 194 | 58 | 5 | 2 | true | false | false | false | false | false | low |
73,026,294 | FlutterError (setState() called after dispose(): _welcomeScreen_1State#a1185(lifecycle state: defunct, not mounted) Error | <p>I have an application. I added an introductory screen to this application that only appears at the entrance. This screen will appear when the user first opens the application. The next time they open, the promotional screen will not open again.</p>
<p>I've done it with Secure Storage and GetX whether the user has pa... | I have an application. I added an introductory screen to this application that only appears at the entrance. This screen will appear when the user first opens the application. The next time they open, the promotional screen will not open again. I've done it with Secure Storage and GetX whether the user has passed the p... | android|flutter|flutter-getx|flutter-secure-storage | 0 | 2022-07-18T17:28:25.637Z | 2,022 | 7 | 17 | 0 | 64 | 1 | 1,568 | 121 | 4 | 5 | true | false | false | false | false | false | zero |
73,026,366 | Loading Bitmap in Image View showing only black colour | <p>I am trying to load a JPG in an image view inside a recycler view. But the actual image does not load up instead only black colour is shown in the image view.</p>
<pre><code> try {
BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize=2;
File file=Environment.getEx... | I am trying to load a JPG in an image view inside a recycler view. But the actual image does not load up instead only black colour is shown in the image view. [CODE] | java|android | 0 | 2022-07-18T17:34:29.243Z | 2,022 | 7 | 17 | 0 | 32 | 0 | 165 | 54 | 2 | 1 | true | true | false | false | false | false | zero |
73,026,464 | React native a11y: visually hide an element but make it available to screenreader | <p>I have a View which contains a key and a value.
The key is a string
and the value is a numeric value, which represents whether something has gone up or down.</p>
<p>Visually, i use a chevron and turn the text to green or red, to show whether the value has gone up or down. Something similar to the below picture.</p>
... | I have a View which contains a key and a value. The key is a string and the value is a numeric value, which represents whether something has gone up or down. Visually, i use a chevron and turn the text to green or red, to show whether the value has gone up or down. Something similar to the below picture. I want to make... | reactjs|react-native|accessibility|voiceover|android-a11y | 1 | 2022-07-18T17:42:40.713Z | 2,022 | 7 | 17 | 0 | 50 | 1 | 1,251 | 81 | 5 | 0 | false | false | false | false | false | false | low |
73,026,491 | How to make app give timely notifications in android? | <p>I am working on a project that went open source. The project is a GPS based strategy game where players attack eachother using missiles.</p>
<p>The app is supposed to send notifications to the user's phone when they are under attack. The problem is, right now the app uses workmanager to send a request to the game se... | I am working on a project that went open source. The project is a GPS based strategy game where players attack eachother using missiles. The app is supposed to send notifications to the user's phone when they are under attack. The problem is, right now the app uses workmanager to send a request to the game server once ... | android|android-studio | 0 | 2022-07-18T17:44:42.743Z | 2,022 | 7 | 17 | 0 | 23 | 1 | 698 | 53 | 2 | 0 | false | false | false | false | false | false | zero |
73,026,537 | jetpack compose Image on entire screen | <p>I have a simple screen implemented with Jetpack Compose,
here is a preview of the screen.</p>
<p><a href="https://i.stack.imgur.com/s6GH6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s6GH6.png" alt="enter image description here" /></a></p>
<p>There is a button like the sun on the TopAppBar whic... | I have a simple screen implemented with Jetpack Compose, here is a preview of the screen. There is a button like the sun on the TopAppBar which the user clicks to take a screenshot. The problem is that I want to show the screenshot of the entire screen but without showing the status bar and the navigation bar. Is there... | android|android-jetpack-compose | 2 | 2022-07-18T17:49:06.423Z | 2,022 | 7 | 17 | 0 | 119 | 1 | 343 | 38 | 2 | 0 | false | false | false | false | false | false | low |
73,026,561 | Android Custom Filetype Content Intent Filter | <p>I now have two apps with custom filetypes (extensions .ffx and .tcb). When opened from an attachment within Gmail app, the Intent includes neither the filename nor the originally assigned custom mimetypes (application/freqfinder and application/timecardbuddy).</p>
<blockquote>
<p>HOST=(com.google.android.gm.sapi)</p... | I now have two apps with custom filetypes (extensions .ffx and .tcb). When opened from an attachment within Gmail app, the Intent includes neither the filename nor the originally assigned custom mimetypes (application/freqfinder and application/timecardbuddy). HOST=(com.google.android.gm.sapi) SCHEME=content PATH=/newe... | android|android-intent|mime-types|intentfilter | 1 | 2022-07-18T17:51:19.153Z | 2,022 | 7 | 17 | 0 | 25 | 1 | 760 | 45 | 4 | 0 | false | false | false | false | false | false | low |
73,026,611 | I have problem for building react native project in android studio | <p>I'm build first (React_Native_Project) project but I need build another project(Authentification) but I have problem this is error<a href="https://i.stack.imgur.com/81lPo.png" rel="nofollow noreferrer">enter image description here</a></p> | I'm build first (React_Native_Project) project but I need build another project(Authentification) but I have problem this is error enter image description here | react-native|android-studio|build | 0 | 2022-07-18T17:56:06.937Z | 2,022 | 7 | 17 | 0 | 13 | 0 | 159 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
73,026,768 | White text color on Pixel 6 android | <p>I have an app available on play store and users have been reporting that they can enter any text due to the fact that the text color is white, which very weird.
I have used Firebase Test Lab to try reproduce the issue. I could indeed reproduce it.
On Pixel 5, everything is fine and the input text on <code>EditText</... | I have an app available on play store and users have been reporting that they can enter any text due to the fact that the text color is white, which very weird. I have used Firebase Test Lab to try reproduce the issue. I could indeed reproduce it. On Pixel 5, everything is fine and the input text on EditText is visible... | android|android-edittext|google-pixel|android-text-color | -1 | 2022-07-18T18:09:14.920Z | 2,022 | 7 | 18 | 0 | 61 | 1 | 699 | 35 | 4 | 0 | false | false | false | false | false | true | negative |
73,026,774 | What is the ".android" folder in C:\Users\Username and can it be deleted? | <p>There is a folder ".android" in C:\Users\Username. It takes up 21GB of my storage. I used to use android studio but no longer use it. Is it safe for me to delete it?</p> | There is a folder ".android" in C:\Users\Username. It takes up 21GB of my storage. I used to use android studio but no longer use it. Is it safe for me to delete it? | android|android-studio|file | -2 | 2022-07-18T18:09:44.113Z | 2,022 | 7 | 18 | 0 | 86 | 1 | 175 | 73 | 3 | 0 | false | false | false | false | false | true | negative |
73,026,831 | Why can't my Android app find NativeActivity at runtime? | <p>I have an app written in Kotlin which contains an Activity that is a child of NativeActivity. It runs fine.</p>
<p>I cloned that app to create another one with similar functionality, and it deploys the APK just fine - but it crashes at runtime because ANativeActivty_OnCreate() is an unknown symbol.</p>
<p>I don't un... | I have an app written in Kotlin which contains an Activity that is a child of NativeActivity. It runs fine. I cloned that app to create another one with similar functionality, and it deploys the APK just fine - but it crashes at runtime because ANativeActivty_OnCreate() is an unknown symbol. I don't understand how it c... | android|android-studio|android-ndk|native-activity | 0 | 2022-07-18T18:15:52.230Z | 2,022 | 7 | 18 | 0 | 16 | 0 | 586 | 56 | 4 | 0 | false | true | false | false | false | false | zero |
73,026,882 | Delete files in Android 11 | <p>I am trying to delete files (photos, videos, audio) with the consent of the user. But when I try to bring up a window for the user agreement, I get an error. For some reason my <code>Uri</code> variable doesn't fit</p>
<p>My code:</p>
<pre><code>if (Build.VERSION.SDK_INT >= 30) {
val collection: Array... | I am trying to delete files (photos, videos, audio) with the consent of the user. But when I try to bring up a window for the user agreement, I get an error. For some reason my Uri variable doesn't fit My code: [CODE] Exception: [CODE] | android|android-studio|kotlin | 0 | 2022-07-18T18:19:35.420Z | 2,022 | 7 | 18 | 0 | 47 | 0 | 235 | 26 | 3 | 2 | true | true | false | false | false | false | zero |
73,027,045 | How to use schedule? | <p>I've seen quite a few examples of 'schedule' being used like this:</p>
<pre><code>Timer().schedule(1000) {
// code to execute after delay
}
</code></pre>
<p>However, when I try to use it like this the function needs me to supply some sort of 'TimerTask' and I haven't seen anything about that.</p>
<p>So my questi... | I've seen quite a few examples of 'schedule' being used like this: [CODE] However, when I try to use it like this the function needs me to supply some sort of 'TimerTask' and I haven't seen anything about that. So my question is how do you properly use schedule? | android-studio|kotlin | 0 | 2022-07-18T18:34:14.863Z | 2,022 | 7 | 18 | 0 | 24 | 0 | 262 | 20 | 2 | 1 | true | true | false | false | false | false | zero |
73,027,048 | React Native Share save image option not working in iOS | <p>I'm trying to save a base64 encoded image in iOS using <a href="https://github.com/react-native-share/react-native-share" rel="nofollow noreferrer">react-native-share</a> and also <a href="https://reactnative.dev/docs/share" rel="nofollow noreferrer">Share</a> module from React Native. But both fail when trying the ... | I'm trying to save a base64 encoded image in iOS using react-native-share and also Share module from React Native. But both fail when trying the Save Image option. React Native Share [CODE] Share Module [CODE] Options other than Save image such as copy, and save to files are working fine. I have added the following in ... | android|ios|react-native|react-native-share | 0 | 2022-07-18T18:34:30.927Z | 2,022 | 7 | 18 | 0 | 184 | 2 | 499 | 55 | 4 | 3 | true | false | false | false | false | false | zero |
73,027,071 | Why wont my action bar text align to the center | <p>i'm trying to center my a action bar text.
I've linked the text to my styles.XML, and confirmed this works by changing the font color to red. But when i add android:gravity="center_horizontal", it doesnt seem to work.</p>
<p>My styles.xml code:</p>
<pre><code><resources xmlns:tools="http://schemas.... | i'm trying to center my a action bar text. I've linked the text to my styles.XML, and confirmed this works by changing the font color to red. But when i add android:gravity="center_horizontal", it doesnt seem to work. My styles.xml code: [CODE] My mainactivity oncreate event: [CODE] My custom actionbar stylin... | android|xml|android-studio|kotlin | 0 | 2022-07-18T18:36:50.017Z | 2,022 | 7 | 18 | 0 | 29 | 1 | 743 | 47 | 4 | 5 | true | false | false | false | false | false | zero |
73,027,189 | ZonedDateTime localized format | <p>I want to display ZonedDateTime in format like</p>
<blockquote>
<p>11.10.2022 13:30 (GMT+2) / 11.10.2022 01:30 PM (GMT+2)</p>
</blockquote>
<p>depending on device settings. So far I have done something similar using formatDateTime function from DateUtils class, but this function doesn't display</p>
<blockquote>
<p>(... | I want to display ZonedDateTime in format like 11.10.2022 13:30 (GMT+2) / 11.10.2022 01:30 PM (GMT+2) depending on device settings. So far I have done something similar using formatDateTime function from DateUtils class, but this function doesn't display (GMT+2) It takes time in milliseconds as a argument. How can I do... | java|android|kotlin|date|zoneddatetime | 0 | 2022-07-18T18:46:48.237Z | 2,022 | 7 | 18 | 0 | 55 | 1 | 345 | 30 | 5 | 0 | false | false | false | false | false | false | zero |
73,027,245 | XML document structures must start and end within the same entity android studio Android Studio | <p><a href="https://i.stack.imgur.com/z8cP6.jpg" rel="nofollow noreferrer">XML document structures must start and end within the same entity android studio</a></p> | XML document structures must start and end within the same entity android studio | java|android | -1 | 2022-07-18T18:52:43.913Z | 2,022 | 7 | 18 | 0 | 20 | 1 | 80 | 95 | 2 | 0 | false | false | false | false | false | true | negative |
73,027,352 | Custom Notification is not displayed on android 12 | <p>I have a problem with my notification code, in my device with Android 9 It works good but not in Android 12. I notice that maybe It's something related to the RemoteViews but I'm not sure.</p>
<p>This is my code:</p>
<p>object NotificationUtils {</p>
<pre><code>private fun createNotification(context: Context, activi... | I have a problem with my notification code, in my device with Android 9 It works good but not in Android 12. I notice that maybe It's something related to the RemoteViews but I'm not sure. This is my code: object NotificationUtils { [CODE] } first of all I'm calling createNotificationChannel() and then executeNotificat... | android|kotlin|notifications | 0 | 2022-07-18T19:02:44.560Z | 2,022 | 7 | 19 | 0 | 211 | 1 | 441 | 50 | 3 | 2 | true | false | false | false | false | false | zero |
73,027,472 | How to populate TableLayout programatically | <p>I have literally tried most solutions on adding rows to a blank <code>TableLayout</code> from code; I still get a blank screen.</p>
<p>Below is the code:</p>
<pre><code>public void updateTable(){
bodyTable.removeViews(ROW_OFFSET, bodyTable.getChildCount() - ROW_OFFSET);
for(int row = 0; row < ad... | I have literally tried most solutions on adding rows to a blank TableLayout from code; I still get a blank screen. Below is the code: [CODE] Below adds vertical cell lines: [CODE] LayoutParams for vertical cell lines [CODE] below adds horizontal row lines: [CODE] LayoutParams for row lines: [CODE] LayoutParams to add t... | java|android | 0 | 2022-07-18T19:12:17.073Z | 2,022 | 7 | 19 | 0 | 42 | 0 | 383 | 43 | 2 | 7 | true | true | false | false | false | false | zero |
73,027,477 | Retrieve specific data | <pre><code>private TextView welcomeText;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_profile);
database = FirebaseDatabase.getInstance();
databaseReference = database.getReference("Users&qu... | [CODE] https://i.stack.imgur.com/RZkvW.png So basically, I want to set the "welcomeText" to Welcome "name" from the Firebase. But the outcome always come out Null. | java|android-studio | 0 | 2022-07-18T19:13:02.820Z | 2,022 | 7 | 19 | 0 | 12 | 0 | 183 | 22 | 2 | 1 | true | true | false | false | false | false | zero |
73,027,588 | Android - detect if it is called from react native/xamarin/flutter etc | <p>I'm building an Android SDK and our clients might call the SDK from cross platform plugins such as react native/flutter/xamarin.</p>
<p>Is it possible to detect whether the current SDK is called from a native Android app or one of these plugins?</p>
<p>On iOS it's possible to tell this by attempting to create a plat... | I'm building an Android SDK and our clients might call the SDK from cross platform plugins such as react native/flutter/xamarin. Is it possible to detect whether the current SDK is called from a native Android app or one of these plugins? On iOS it's possible to tell this by attempting to create a platform specific cla... | android|flutter|react-native | 0 | 2022-07-18T19:23:23.803Z | 2,022 | 7 | 19 | 0 | 26 | 1 | 408 | 70 | 3 | 0 | false | false | false | false | false | false | zero |
73,027,917 | Upgrading Android Studio | <p>So, its been awhile since I worked in Android studio, but decided to work an a old project.
I installed the latest version of Android Studio, copied the project from my old computer and imported it into Android Studio. When I tried to run it, I ran into a never ending sequence of problems, like SDK version, gradle ... | So, its been awhile since I worked in Android studio, but decided to work an a old project. I installed the latest version of Android Studio, copied the project from my old computer and imported it into Android Studio. When I tried to run it, I ran into a never ending sequence of problems, like SDK version, gradle plug... | android-studio|version | 0 | 2022-07-18T19:56:25.547Z | 2,022 | 7 | 19 | 0 | 18 | 0 | 576 | 24 | 2 | 0 | false | true | false | false | false | false | zero |
73,028,118 | Gif is not working for the first time using glide | <p>I am making an app that has a list of two items that have two gifs, one in each (the same gif). As you can see in the video, when you click on the gif, the gif is not shown in motion and it is shown as a solid image, but when you click the right or left arrow it is shown correctly in motion despite that the function... | I am making an app that has a list of two items that have two gifs, one in each (the same gif). As you can see in the video, when you click on the gif, the gif is not shown in motion and it is shown as a solid image, but when you click the right or left arrow it is shown correctly in motion despite that the function to... | java|android|gif|android-glide | 1 | 2022-07-18T20:14:46.630Z | 2,022 | 7 | 20 | 0 | 50 | 2 | 810 | 49 | 4 | 1 | true | false | false | false | false | false | low |
73,028,157 | Center the ConstraintLayout in the screen | <p>I'm trying to vertically center a ConstraintLayout in the screen. The ConstraintLayout is the root element of the entire layout of the LoginActivity.</p>
<p>I set the <code>android:layout_gravity</code> to <code>center</code> (as in the code below). It does the job in the Android Studio Design Editor, but when I run... | I'm trying to vertically center a ConstraintLayout in the screen. The ConstraintLayout is the root element of the entire layout of the LoginActivity. I set the android:layout_gravity to center (as in the code below). It does the job in the Android Studio Design Editor, but when I run the app on the phone the Constraint... | android|android-constraintlayout | 2 | 2022-07-18T20:19:41.627Z | 2,022 | 7 | 20 | 0 | 36 | 1 | 443 | 41 | 2 | 1 | true | false | false | false | false | false | low |
73,028,181 | Gradle Issues in Android Studio | <p>There's a Java file I'm meant to convert to Kotlin. I'm stuck with this Gradle problem and can't find my way around it. What can I do to resolve this issue?</p>
<p><a href="https://i.stack.imgur.com/ITCER.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ITCER.jpg" alt="enter image description here"... | There's a Java file I'm meant to convert to Kotlin. I'm stuck with this Gradle problem and can't find my way around it. What can I do to resolve this issue? | java|android|kotlin|gradle | 0 | 2022-07-18T20:22:02.487Z | 2,022 | 7 | 20 | 0 | 30 | 1 | 156 | 31 | 4 | 0 | false | false | false | false | false | false | zero |
73,028,284 | android studio build failed - DebugManifest | <p>can anyone help me with that ?
i don't know how to fix it</p>
<p><a href="https://i.stack.imgur.com/eHkjq.png" rel="nofollow noreferrer">https://i.stack.imgur.com/eHkjq.png</a></p>
<ul>
<li><p>Caused by: org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$MultipleTaskActionFailures: Multiple task acti... | can anyone help me with that ? i don't know how to fix it https://i.stack.imgur.com/eHkjq.png Caused by: org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$MultipleTaskActionFailures: Multiple task action failures occurred: Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource... | javascript|java|android | 0 | 2022-07-18T20:32:14.527Z | 2,022 | 7 | 20 | 0 | 46 | 1 | 1,345 | 43 | 3 | 0 | false | false | false | false | false | false | zero |
73,028,303 | How to get original bytes from the Qr code generated via a LVGL | <p>I'm using <a href="https://docs.lvgl.io/master/libs/qrcode.html" rel="nofollow noreferrer">LVGL</a> library to generate the Qr code.</p>
<pre><code>uint8_t test[150];
uint8_t testSize = 140;
for (unint8_t i = 0; i< testSize; i++)
{
test[u] = i;
}
lv_qrcode_update(qr,test,testSize); //for generating qr code
<... | I'm using LVGL library to generate the Qr code. [CODE] Note: Qrcode holds the value from 0 to 140. I'm using zxing android library to scan the QR code and it returns the result i.e [CODE] Secondly, if I query for raw bytes then it gives [CODE] I tried to decode the rawBytes using DecodedBitStreamParser but it fails. Ne... | android|zxing|lvgl | 1 | 2022-07-18T20:33:56.320Z | 2,022 | 7 | 20 | 0 | 56 | 0 | 495 | 63 | 3 | 4 | true | true | false | false | false | false | low |
73,028,326 | Upsert query in Dao | <p>I am developing an application using Room. The operation is simple, if the table has the same letter, the letterscore will increase by 1, otherwise it will be added and letterscore will be 0. In my Dao, I wrote a query as below to <strong>upsert</strong> the data, but it gives</p>
<blockquote>
<p>compound operator&g... | I am developing an application using Room. The operation is simple, if the table has the same letter, the letterscore will increase by 1, otherwise it will be added and letterscore will be 0. In my Dao, I wrote a query as below to upsert the data, but it gives compound operator>, LIMIT, ORDER, comma or semicolon expect... | android|database|sqlite|kotlin|android-room | -2 | 2022-07-18T20:35:23.973Z | 2,022 | 7 | 20 | 0 | 109 | 2 | 469 | 19 | 5 | 1 | true | false | false | false | false | true | negative |
73,028,557 | LazyColumn Acknowledging Key inside another Column? | <p>basically I have a giant Lazy Column, but I only want some components inside another component to launch the animation when that child component is visible. I am having so much trouble with the keys, I want to put a key ONLY on a certain composable within the LazyColumn. My issue is that the 'isItemWithKeyInView' is... | basically I have a giant Lazy Column, but I only want some components inside another component to launch the animation when that child component is visible. I am having so much trouble with the keys, I want to put a key ONLY on a certain composable within the LazyColumn. My issue is that the 'isItemWithKeyInView' is TR... | android|android-studio|kotlin|android-jetpack-compose | 0 | 2022-07-18T20:58:24.327Z | 2,022 | 7 | 20 | 0 | 26 | 0 | 596 | 51 | 4 | 1 | true | true | false | false | false | false | zero |
73,028,660 | Use DI ( Dagger 2/Hilt ) at runtime without broke MVVM pattern? | <p>suppose i need to let user login at runtime using MVVM and DI patterns
and i have Repository that have function to make login</p>
<pre><code>class RepositoryLogin @Inject constructor() {
fun login(login: Login){
...
}
}
</code></pre>
<p>Now we need ViewModel that pass this Login object to our Reposit... | suppose i need to let user login at runtime using MVVM and DI patterns and i have Repository that have function to make login [CODE] Now we need ViewModel that pass this Login object to our Repository at runtime, here is some of my solution: Use @AssistedInject to construct ViewModel at runtime with parameters and call... | android|kotlin|dependency-injection|dagger-hilt|android-mvvm | 0 | 2022-07-18T21:08:56.910Z | 2,022 | 7 | 21 | 0 | 39 | 0 | 893 | 63 | 5 | 5 | true | true | false | false | false | false | zero |
73,028,772 | FlatList RenderItem image not showing | <p>I was developing a mobile application in my course when I got into this problem: I set an image from my API with <code><Image source={{ uri: item.thumbnail_url }} /></code> but it doesn't show the image at all (when I use local images and other links it is possible to show the images)</p>
<p>That's my code:</p... | I was developing a mobile application in my course when I got into this problem: I set an image from my API with <Image source={{ uri: item.thumbnail_url }} /> but it doesn't show the image at all (when I use local images and other links it is possible to show the images) That's my code: [CODE] StyleSheet: [CODE] I don... | android|react-native|mobile|expo | 0 | 2022-07-18T21:21:03.957Z | 2,022 | 7 | 21 | 0 | 31 | 0 | 391 | 37 | 4 | 2 | true | true | false | false | false | false | zero |
73,028,856 | Is there a way to show the gesture navigation bar instead of the 3-button navigation bar in the layout editor in android studio? | <p>I'm using android studio 2021.2.1 patch 1. I have looked around about this issue but it seems like no one has ever asked about it and maybe google didn't even add this option at all? Seems like a huge oversight on google's part if that were the case considering proper gesture navigation has been out since 2019 (Andr... | I'm using android studio 2021.2.1 patch 1. I have looked around about this issue but it seems like no one has ever asked about it and maybe google didn't even add this option at all? Seems like a huge oversight on google's part if that were the case considering proper gesture navigation has been out since 2019 (Android... | android|android-studio | 1 | 2022-07-18T21:30:54.963Z | 2,022 | 7 | 21 | 0 | 50 | 1 | 355 | 128 | 2 | 0 | false | false | false | false | false | false | low |
73,028,977 | android material design sample code giving missing resources errors | <p>I am trying to run android material design same taken from below <a href="https://github.com/material-components/material-components-android" rel="nofollow noreferrer">https://github.com/material-components/material-components-android</a></p>
<p>but getting these errors :</p>
<pre><code>failed
:lib:packageDebugResou... | I am trying to run android material design same taken from below https://github.com/material-components/material-components-android but getting these errors : [CODE] | android|android-studio|material3 | 3 | 2022-07-18T21:49:02.153Z | 2,022 | 7 | 21 | 0 | 2,012 | 1 | 165 | 67 | 3 | 1 | true | false | false | false | false | false | low |
73,028,981 | Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 Read_Contacts and I don't have a write permission | <p>I try to build Retrieving a List of Contacts from android website,
<a href="https://android-doc.github.io/training/contacts-provider/retrieve-names.html#Permissions" rel="nofollow noreferrer">https://android-doc.github.io/training/contacts-provider/retrieve-names.html#Permissions</a>
and I try to configure this to 3... | I try to build Retrieving a List of Contacts from android website, https://android-doc.github.io/training/contacts-provider/retrieve-names.html#Permissions and I try to configure this to 31 target api. I got this error E/AndroidRuntime: FATAL EXCEPTION: ModernAsyncTask #1 Process: com.example.contactlistandroid, PID: 1... | java|android|android-studio|android-fragments | 0 | 2022-07-18T21:49:27.120Z | 2,022 | 7 | 21 | 0 | 84 | 1 | 780 | 134 | 4 | 2 | true | false | false | false | false | false | zero |
73,028,990 | Play Store Warning : play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical issues with version 17.0.0 | <p>I got this warning from play store when I was trying to update my <strong>Flutter</strong> on play store.</p>
<pre><code>The developer of play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical issues with version 17.0.0. Consider upgrading before publishing a new release.
Her... | I got this warning from play store when I was trying to update my Flutter on play store. [CODE] I am not using safe-net implementation in my build.gradle file may be some thirdparty pulgin is using this but tried flutter upgrade also to ensure updating all packages. but still I am getting this critical warning from pla... | android|flutter|google-play|warnings|flutter-3.0 | 9 | 2022-07-18T21:50:28.767Z | 2,022 | 7 | 21 | 0 | 5,721 | 2 | 453 | 142 | 5 | 2 | true | false | true | false | false | false | medium |
73,029,010 | Jackson kotlin inheritance deserialize problem | <p>I am using<br />
jackson-module-kotlin:2.13.3 and retrofit2:converter-jackson:2.7.2
in android project. I have a field 'status' that I receive and from it I understand which class to convert further, but the problem is that in descendant classes it becomes null. Main code is in Test.kt below.</p>
<p>ResponseSuccessA... | I am using jackson-module-kotlin:2.13.3 and retrofit2:converter-jackson:2.7.2 in android project. I have a field 'status' that I receive and from it I understand which class to convert further, but the problem is that in descendant classes it becomes null. Main code is in Test.kt below. ResponseSuccessAbstract.kt: [COD... | android|json|kotlin|parsing|jackson | 0 | 2022-07-18T21:52:54.927Z | 2,022 | 7 | 21 | 0 | 28 | 0 | 512 | 46 | 5 | 4 | true | true | false | false | false | false | zero |
73,029,021 | How do I add an outline around the text for a TextView in Android? | <p>For my <code>AppCompatTextView</code>, I want to add a black outline to the text. Something like the following:
<a href="https://i.stack.imgur.com/vRFtkm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vRFtkm.png" alt="Example text with black outline" /></a></p>
<p>How do I do this in my XML file?... | For my AppCompatTextView , I want to add a black outline to the text. Something like the following: How do I do this in my XML file? | android|textview|android-xml | 0 | 2022-07-18T21:54:53.800Z | 2,022 | 7 | 21 | 0 | 32 | 0 | 132 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
73,029,129 | Without using Android studio, ant, or gradle, why is a generated .apk file only 15KB, and when installed on phone, app size is 8MB? | <p>I created an android app using butter_paddle (without installing gradle or additional libs and frameworks like dart and flutter), and because of that the resulting .apk file is only 15KB. After installing the .apk file, the app size is 139KB on emulator and 8MB on phone?</p>
<p>Build Tool I used:
<a href="https://g... | I created an android app using butter_paddle (without installing gradle or additional libs and frameworks like dart and flutter), and because of that the resulting .apk file is only 15KB. After installing the .apk file, the app size is 139KB on emulator and 8MB on phone? Build Tool I used: https://github.com/scriptmast... | android | 0 | 2022-07-18T22:10:14.733Z | 2,022 | 7 | 22 | 0 | 12 | 1 | 336 | 131 | 1 | 0 | false | false | false | false | false | false | zero |
73,029,194 | Change background color of fragments dynamically from a switch | <p>I am trying to have all fragments change to the background color of red using a SwitchPreferenceCompat but am having trouble writing the listener code and MainActivity code. I have tried some things but am not too familiar with how to write the listener code to be able to write the mainactivity code to use it proper... | I am trying to have all fragments change to the background color of red using a SwitchPreferenceCompat but am having trouble writing the listener code and MainActivity code. I have tried some things but am not too familiar with how to write the listener code to be able to write the mainactivity code to use it properly.... | android-studio|kotlin | 1 | 2022-07-18T22:18:19.293Z | 2,022 | 7 | 22 | 0 | 41 | 0 | 531 | 62 | 2 | 4 | true | true | false | false | false | false | low |
73,029,318 | "adb is not recognized as an internal or external command, operable program or batch file" | <p>I'm trying to setup react native and get the emulator running, but I keep getting this error when I try to run "adb" in the terminal, and when I open the emulator, it says "adb is not found".</p>
<p><code>'adb' is not recognized as an internal or external command, operable program or batch file.<... | I'm trying to setup react native and get the emulator running, but I keep getting this error when I try to run "adb" in the terminal, and when I open the emulator, it says "adb is not found". 'adb' is not recognized as an internal or external command, operable program or batch file. I have platform ... | android|react-native|visual-studio-code|adb | 0 | 2022-07-18T22:39:56.613Z | 2,022 | 7 | 22 | 0 | 47 | 0 | 535 | 90 | 4 | 0 | false | true | false | false | false | false | zero |
73,029,458 | send data from RecyclerView to Firestore | <p>I create (plus button) to pass data to Firestore. When i select items on <code>RecyclerView</code>, it is only passed last item selected. How i can pass all item?</p>
<pre><code>holder.plus.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
mAuth = FirebaseAu... | I create (plus button) to pass data to Firestore. When i select items on RecyclerView , it is only passed last item selected. How i can pass all item? [CODE] | java|android|firebase|google-cloud-firestore|android-recyclerview | 0 | 2022-07-18T23:00:36.570Z | 2,022 | 7 | 23 | 0 | 31 | 0 | 157 | 40 | 5 | 1 | true | true | false | false | false | false | zero |
73,029,637 | Creating custom tracking menu clicks in Android and Apple mobile apps in GA4 | <p>I need some advice on how to set up tracking for a custom event for Android and IOS. We are using Firebase SDK to gather data and report to the stakeholders. I need to track the number of clicks for each menu item. I tried adding the dynamic link code but that did not work. How can track the clicks and how would I s... | I need some advice on how to set up tracking for a custom event for Android and IOS. We are using Firebase SDK to gather data and report to the stakeholders. I need to track the number of clicks for each menu item. I tried adding the dynamic link code but that did not work. How can track the clicks and how would I set ... | android|ios|google-analytics-firebase|google-analytics-4|google-analytics-sdk | 1 | 2022-07-18T23:34:01.233Z | 2,022 | 7 | 23 | 0 | 20 | 1 | 332 | 76 | 5 | 0 | false | false | false | false | false | false | low |
73,029,750 | Buildozer stopped working all of a sudden despite always uploading the same files to Colab | <blockquote>
<p>Check application requirements <br/>
Compile platform <br/>
Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=demo3 --bootstrap=sdl2 --requirements=python3,kivy,pillow,kivymd,asyncio,bleak --arch armeabi-v7a --copy-libs --color=always --storage-dir="/content/.buildozer/android/... | Check application requirements Compile platform Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=demo3 --bootstrap=sdl2 --requirements=python3,kivy,pillow,kivymd,asyncio,bleak --arch armeabi-v7a --copy-libs --color=always --storage-dir="/content/.buildozer/android/platform/build-armeabi-v7a&q... | python|android|buildozer | 1 | 2022-07-18T23:58:37.543Z | 2,022 | 7 | 23 | 0 | 255 | 1 | 5,113 | 90 | 3 | 0 | false | false | false | false | false | false | low |
73,029,822 | Changing EditText Layout Color | <p><a href="https://i.stack.imgur.com/W63O8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W63O8.png" alt="enter image description here" /></a></p>
<p><strong>How to change the color orange of the edittext?</strong></p> | How to change the color orange of the edittext? | java|android|android-edittext | -1 | 2022-07-19T00:13:18.480Z | 2,022 | 7 | 0 | 1 | 26 | 1 | 47 | 30 | 3 | 0 | false | false | false | false | false | true | negative |
73,029,906 | android service stops when main activity is destroyed | <p>I am making an app that gives the user a notification when it is time for a monster egg to be hatched again. Up to 10 eggs can be hatched per day every 5 minutes. I thought I'd make a service that keeps a track of how much time has passed, but every time MainActivity closes on the emulator the service stops and call... | I am making an app that gives the user a notification when it is time for a monster egg to be hatched again. Up to 10 eggs can be hatched per day every 5 minutes. I thought I'd make a service that keeps a track of how much time has passed, but every time MainActivity closes on the emulator the service stops and calls o... | java|android|multithreading|service|timer | 1 | 2022-07-19T00:29:50.680Z | 2,022 | 7 | 0 | 1 | 34 | 1 | 1,563 | 53 | 5 | 1 | true | false | false | false | false | false | low |
73,029,933 | How to run Pytorch Mobile model on Qualcomm AIP using Google NNAPI | <p>I am new to NNAPI and Snapdragon Neural Processing Engine (SNPE) SDK. I know that with Pytorch mobile you can train and quantize your NN model using NNAPI, save it as .pt file, and <a href="https://github.com/pytorch/android-demo-app/blob/master/HelloWorldApp/app/src/main/java/org/pytorch/helloworld/MainActivity.jav... | I am new to NNAPI and Snapdragon Neural Processing Engine (SNPE) SDK. I know that with Pytorch mobile you can train and quantize your NN model using NNAPI, save it as .pt file, and load it in your app ( here ). At the same time, you can convert the .pt file to dlc using snpe-pytorch-to-dlc in SNPE SDK, and then run it ... | android|android-studio|pytorch|snpe|nnapi | 0 | 2022-07-19T00:36:15.363Z | 2,022 | 7 | 0 | 1 | 121 | 0 | 1,020 | 66 | 5 | 0 | false | true | false | false | false | false | zero |
73,029,999 | image picker is not asking for permission flutter 2022 android emulator | <p>I am encountering a problem with the <code>image picker</code> its not asking for permission every time I try to access the gallery. I have SDK 33 API Flutter 3.0.5 • channel stable Dart SDK version: 2.17.6 I tried to run flutter clean but still the same. the only thing I see in the android manifest is this <code>... | I am encountering a problem with the image picker its not asking for permission every time I try to access the gallery. I have SDK 33 API Flutter 3.0.5 • channel stable Dart SDK version: 2.17.6 I tried to run flutter clean but still the same. the only thing I see in the android manifest is this uses-permission android:... | android|flutter|imagepicker | 0 | 2022-07-19T00:50:43.900Z | 2,022 | 7 | 0 | 1 | 120 | 1 | 366 | 71 | 3 | 0 | false | false | false | false | false | false | zero |
73,030,349 | Video stuttering when using screen recording in android 7 | <p>My device target is only android 7.1. and my camera is webcam ( usb camera - uvc).My video saved in SDCard (micro SDCard A1 3 XC I V30 - meaning at least can recoding HD video). When i playback my video that is suttering as per second, lagging
Step 1: I'm using surfacetexture and show preview in screen</p>
<p>Step 2... | My device target is only android 7.1. and my camera is webcam ( usb camera - uvc).My video saved in SDCard (micro SDCard A1 3 XC I V30 - meaning at least can recoding HD video). When i playback my video that is suttering as per second, lagging Step 1: I'm using surfacetexture and show preview in screen Step 2: Display ... | java|android|screen | 1 | 2022-07-19T02:03:51.407Z | 2,022 | 7 | 2 | 1 | 28 | 0 | 914 | 57 | 3 | 2 | true | true | false | false | false | false | low |
73,030,398 | How do I display a typing indicator on items in Listview? | <p>I have a Listview and each item renders after a 3 second delay. I want in the delay interval, to show a typing indicator for 3 seconds and it will disappear when showing the next item. Please tell me know the solution. Thank you very much !</p> | I have a Listview and each item renders after a 3 second delay. I want in the delay interval, to show a typing indicator for 3 seconds and it will disappear when showing the next item. Please tell me know the solution. Thank you very much ! | android|ios|flutter|dart|mobile | 0 | 2022-07-19T02:13:35.727Z | 2,022 | 7 | 2 | 1 | 22 | 0 | 240 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
73,030,438 | Cordova app performance varies greatly between Android versions | <p>My environment:<br>
Android Studio 2021.3.1 <br>
cordova 11.0.0<br>
gradle-7.5<br>
Android Gradle Plugin 7.2<br>
JDK 11 (Microsoft open version) - 11.0.15 (Microsoft 11.0.15+10-LTS)<br>
Node v14.15.0<br>
NPM 8.1.2<br>
Target SDK = 32</p>
<p>Plugins: media@6.0.0, insomnia, email-composer, wkwebview-file-xhr<br>
Other... | My environment: Android Studio 2021.3.1 cordova 11.0.0 gradle-7.5 Android Gradle Plugin 7.2 JDK 11 (Microsoft open version) - 11.0.15 (Microsoft 11.0.15+10-LTS) Node v14.15.0 NPM 8.1.2 Target SDK = 32 Plugins: media@6.0.0, insomnia, email-composer, wkwebview-file-xhr Other: jquery, abcjs music notation library, fontawe... | android|performance|cordova | 0 | 2022-07-19T02:21:11.303Z | 2,022 | 7 | 2 | 1 | 40 | 0 | 3,339 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
73,030,449 | How to port ScrollView written in kotlin to flutter | <p>Scrolling view with scaling and panning in Kotlin.
I would like to port this to flutter, but GestureLisner is not working and I don't know how to solve it.
The XML Layout itself is displayed, but the GestureLisner for scaling and panning is not detected.
Can anyone help me with a solution?</p>
<p>Below is the code c... | Scrolling view with scaling and panning in Kotlin. I would like to port this to flutter, but GestureLisner is not working and I don't know how to solve it. The XML Layout itself is displayed, but the GestureLisner for scaling and panning is not detected. Can anyone help me with a solution? Below is the code created in ... | android|flutter|kotlin|dart | 1 | 2022-07-19T02:24:41.270Z | 2,022 | 7 | 2 | 1 | 67 | 0 | 376 | 51 | 4 | 3 | true | true | false | false | false | false | low |
73,030,518 | How to change AppCompatCheckBox tick color? | <p>Here is my <code>AppCompatCheckBox</code></p>
<pre><code> <androidx.appcompat.widget.AppCompatCheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
... | Here is my AppCompatCheckBox [CODE] MyCheckBox style [CODE] checked = true checked = false How to change the tick color I have found many article on stackoverflow but doesn't work. please help. | android|checkbox | 0 | 2022-07-19T02:37:40.763Z | 2,022 | 7 | 2 | 1 | 47 | 2 | 193 | 43 | 2 | 2 | true | false | false | false | false | false | zero |
73,030,538 | how to make dispatchGesture() ignore overlay view | <p>Currently, I work on an android project related to recording and replay. The overlay view is used to capture user interactions and confirm the caught interactions with users. What I want is after users confirm an interaction, my app will perform that action/interaction on behalf of users. Since the overlay object wi... | Currently, I work on an android project related to recording and replay. The overlay view is used to capture user interactions and confirm the caught interactions with users. What I want is after users confirm an interaction, my app will perform that action/interaction on behalf of users. Since the overlay object will ... | android|accessibility|accessibility-api | 0 | 2022-07-19T02:41:22.900Z | 2,022 | 7 | 2 | 1 | 33 | 0 | 878 | 49 | 3 | 2 | true | true | false | false | false | false | zero |
73,030,576 | inserting new data into database, then displaying all the data doesnt show the new entry | <p>I created a database using SQLite in the MainActivity and added example data into it. The MainActivity is used to retrieve and show the data using a list and recyclerview</p>
<p>For inserting the example data, my code looks like this</p>
<pre><code>// simplified version
db = new MyDBHandler(this);
rList = new ArrayL... | I created a database using SQLite in the MainActivity and added example data into it. The MainActivity is used to retrieve and show the data using a list and recyclerview For inserting the example data, my code looks like this [CODE] I went to a different activity, Activity2, to create a new data to be inserted into th... | android|sqlite|android-studio|android-activity | 0 | 2022-07-19T02:47:07.793Z | 2,022 | 7 | 2 | 1 | 35 | 0 | 574 | 88 | 4 | 2 | true | true | false | false | false | false | zero |
73,030,740 | How to create react native wrappers for native android and iOS SDKs | <p>I am creating a React Native module as a wrapper for existing Android and iOS libraries. The Android library is a jar file and the iOS library is xcframework file. I put the xcframework file inside the ios folder, and the jar file inside android/libs folder ( I created the libs folder). I first tried the iOS library... | I am creating a React Native module as a wrapper for existing Android and iOS libraries. The Android library is a jar file and the iOS library is xcframework file. I put the xcframework file inside the ios folder, and the jar file inside android/libs folder ( I created the libs folder). I first tried the iOS library by... | react-native|android-library|ios-library|react-native-modules | -1 | 2022-07-19T03:20:07.993Z | 2,022 | 7 | 3 | 1 | 202 | 2 | 849 | 67 | 4 | 0 | false | false | false | false | false | true | negative |
73,030,905 | Can somone help me understand this stacktrace? | <p>Is there any way I can decode this stacktrace? I made a game in Unity version 2021.3.6f1. A lot of people is experiencing this crash on Android</p>
<p>The title of the crash is
signal 6 (SIGABRT), code -1 (SI_QUEUE)</p>
<pre><code>backtrace:
#00 pc 000000000004e178 /apex/com.android.runtime/lib64/bionic/libc.so ... | Is there any way I can decode this stacktrace? I made a game in Unity version 2021.3.6f1. A lot of people is experiencing this crash on Android The title of the crash is signal 6 (SIGABRT), code -1 (SI_QUEUE) [CODE] | android|unity3d|stack-trace | 0 | 2022-07-19T03:49:44.260Z | 2,022 | 7 | 3 | 1 | 175 | 1 | 215 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
73,030,906 | How to display a background image that fits screen sizes in Flutter? | <p>I have a similar background image below, when I resize it to a larger screen the details in the 4 corners of the image get distorted. How can the 4 corners and surrounding borders scale to the size of the screen? Please tell me the solution. Thanks!</p>
<p><a href="https://i.stack.imgur.com/WQWJk.png" rel="nofollow ... | I have a similar background image below, when I resize it to a larger screen the details in the 4 corners of the image get distorted. How can the 4 corners and surrounding borders scale to the size of the screen? Please tell me the solution. Thanks! | android|ios|flutter|dart|mobile | 1 | 2022-07-19T03:49:46.703Z | 2,022 | 7 | 3 | 1 | 50 | 2 | 249 | 68 | 5 | 0 | false | false | false | false | false | false | low |
73,030,907 | how to call a ui component of a fragment from another fragment Android | <p>how can I call a ui component defined in a fragment A from a fragment B. I have declared textview in fragment A and I want to set a calculated value in textview present in fragment B.I use java to develop the app. Greetings</p> | how can I call a ui component defined in a fragment A from a fragment B. I have declared textview in fragment A and I want to set a calculated value in textview present in fragment B.I use java to develop the app. Greetings | java|android|set|fragment | 0 | 2022-07-19T03:49:47.897Z | 2,022 | 7 | 3 | 1 | 32 | 1 | 223 | 70 | 4 | 0 | false | false | false | false | false | false | zero |
73,030,938 | How to take camera picture from google ml kit face detector? | <p>i try camera picture use <a href="https://github.com/fernandoptrr/flutter-camera-practice" rel="nofollow noreferrer">https://github.com/fernandoptrr/flutter-camera-practice</a>, this work fine with XFile picture = await _cameraController.takePicture();</p>
<p>then try google ml kit example, <a href="https://github.c... | i try camera picture use https://github.com/fernandoptrr/flutter-camera-practice , this work fine with XFile picture = await _cameraController.takePicture(); then try google ml kit example, https://github.com/bharat-biradar/Google-Ml-Kit-plugin . I try face detector and try screenshot with takePicture(). It give "... | android|flutter|dart|android-camera|google-mlkit | 1 | 2022-07-19T03:54:09.930Z | 2,022 | 7 | 3 | 1 | 195 | 1 | 473 | 60 | 5 | 0 | false | false | false | false | false | false | low |
73,030,987 | How to remove Stripe totally in Flutter? | <p>I have bought a Flutter source code but when running in Android Studio or xCode the system noticed many errors about Stripe.</p>
<p>So please help me how to remove Stripe totally in my Flutter project because I don't need it.</p>
<p>Thank you so much!</p> | I have bought a Flutter source code but when running in Android Studio or xCode the system noticed many errors about Stripe. So please help me how to remove Stripe totally in my Flutter project because I don't need it. Thank you so much! | xcode|flutter|android-studio|dart|flutter-dependencies | 0 | 2022-07-19T04:03:02.960Z | 2,022 | 7 | 4 | 1 | 44 | 2 | 237 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
73,031,161 | RecyclerView Blinking Issue when frequently changing from delete mode(which includes checkbox on imageView) to normal view(doesnt includes checkbox) | <p>I currently have a recycler view which contains image view in grid layout. I have delete icon using which I can set the state of recycler view to delete mode. If delete icon is clicked recycler view items goes to delete mode which means checkbox appears on image view which if selected can be deleted or if back butto... | I currently have a recycler view which contains image view in grid layout. I have delete icon using which I can set the state of recycler view to delete mode. If delete icon is clicked recycler view items goes to delete mode which means checkbox appears on image view which if selected can be deleted or if back button i... | android|android-recyclerview | 1 | 2022-07-19T04:34:33.210Z | 2,022 | 7 | 4 | 1 | 29 | 1 | 816 | 148 | 2 | 0 | false | false | false | false | false | false | low |
73,031,201 | ListView editable OnLongClickListener | <p>I have been searching for hours but still I can't find any way on how to update a listview using the <code>listview.setOnItemLongClickListener</code> I have tried but I think I am doing it all wrong. Does anyone know how to edit a listview after a longclick listener?</p>
<p><strong>DBHelper</strong></p>
<pre><code>p... | I have been searching for hours but still I can't find any way on how to update a listview using the listview.setOnItemLongClickListener I have tried but I think I am doing it all wrong. Does anyone know how to edit a listview after a longclick listener? DBHelper [CODE] TestModel [CODE] MainActivity [CODE] Is there lik... | java|android-studio | 0 | 2022-07-19T04:40:54.857Z | 2,022 | 7 | 4 | 1 | 13 | 0 | 525 | 37 | 2 | 3 | true | true | false | false | false | false | zero |
73,031,250 | Auto verification of OTP Android not working | <p>The previous library we were using for Firebase Authentication of Phone numbers was</p>
<p><strong>com.google.firebase:firebase-auth:19.3.1</strong>
In this library the Auto verification of mobile numbers is working fine.</p>
<p>But Now we are updating it with currently available latest library or we even tried to u... | The previous library we were using for Firebase Authentication of Phone numbers was com.google.firebase:firebase-auth:19.3.1 In this library the Auto verification of mobile numbers is working fine. But Now we are updating it with currently available latest library or we even tried to use the BOM version of firebase com... | android|firebase|authentication | 0 | 2022-07-19T04:47:49.510Z | 2,022 | 7 | 4 | 1 | 48 | 0 | 576 | 44 | 3 | 1 | true | true | false | false | false | false | zero |
73,031,383 | how to get tapping method like card or apple pay or google pay on pos devices | <p>I have POS device in which we have android app.</p>
<p>I want to know what is tapping method (like card, apple pay using phone, or google pay using phone) that user used for contactless payment.</p>
<p>We have TLV encryption in pos device. I am also able to get cryptogram (9F26) for each tapping.</p>
<p>But issue is... | I have POS device in which we have android app. I want to know what is tapping method (like card, apple pay using phone, or google pay using phone) that user used for contactless payment. We have TLV encryption in pos device. I am also able to get cryptogram (9F26) for each tapping. But issue is payment gateway having ... | android|asp.net-web-api|pos|tlv | 0 | 2022-07-19T05:08:11.310Z | 2,022 | 7 | 5 | 1 | 18 | 0 | 395 | 77 | 4 | 0 | false | true | false | false | false | false | zero |
73,031,386 | Unable to parse in listview | <p>I'm trying to parse the title of class Film when I type it into a form, so that it can be listed in AddMovieFragment however it won't show up. It seems like in AddMovieActivity it's able to receive the text that I'm typing but then in debugger it gets stuck in Looper.java.</p>
<p>Here's my code:</p>
<p>AddMovieFragm... | I'm trying to parse the title of class Film when I type it into a form, so that it can be listed in AddMovieFragment however it won't show up. It seems like in AddMovieActivity it's able to receive the text that I'm typing but then in debugger it gets stuck in Looper.java. Here's my code: AddMovieFragment: [CODE] Layou... | java|android|parsing|listview|adapter | 0 | 2022-07-19T05:08:20.503Z | 2,022 | 7 | 5 | 1 | 24 | 0 | 397 | 27 | 5 | 4 | true | true | false | false | false | false | zero |
73,031,399 | Collection view item background image remove when on property change event call | <p>Hello Xamarin developer I am facing issue with collection view item background remove automatically. I have created Control for my item view Please check below code.</p>
<p>View</p>
<pre><code><?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/201... | Hello Xamarin developer I am facing issue with collection view item background remove automatically. I have created Control for my item view Please check below code. View [CODE] View Model: [CODE] Item Control for view in collection <ContentView.Resources> [CODE] </ContentView.Content> Control code behind bindable prop... | xamarin|xamarin.forms|xamarin.android|xamarin.ios|maui | 0 | 2022-07-19T05:10:18.973Z | 2,022 | 7 | 5 | 1 | 63 | 0 | 707 | 79 | 5 | 4 | true | true | false | false | false | false | zero |
73,031,440 | Android Jetpack Compose- Sticky UI vertical scrolling | <p>I want to develop something which is mentioned in below link:
<a href="https://i.stack.imgur.com/Vgc6a.gif" rel="nofollow noreferrer">Sticky header similar like IOS</a></p>
<p>I have checked the nested scrolling from <a href="https://developer.android.com/jetpack/compose/gestures" rel="nofollow noreferrer">google ne... | I want to develop something which is mentioned in below link: Sticky header similar like IOS I have checked the nested scrolling from google nested scrolling but its not giving the exact behaviour. Any suggestions or links for the same I am able to implement the nested scrolling to sticky tabs but am facing issue while... | android|android-jetpack-compose|android-nestedscrollview | 1 | 2022-07-19T05:15:26.657Z | 2,022 | 7 | 5 | 1 | 80 | 0 | 548 | 53 | 3 | 0 | false | true | false | false | false | false | low |
73,031,492 | Kotlin - Achieving Executors.newSingleThreadExecutor behaviour using coroutines | <p><code>Executors.newSingleThreadExecutor</code> queues the tasks registered to it and then executes them sequentially. The following code:</p>
<pre><code>val singleThreadedExecutor = Executors.newSingleThreadExecutor()
(0..10).forEach { i ->
singleThreadedExecutor.execute {
if (i % 2 == 0) {
... | Executors.newSingleThreadExecutor queues the tasks registered to it and then executes them sequentially. The following code: [CODE] outputs this: [CODE] I want to achieve this behaviour using Kotlin's Coroutines. I have tried using limitedParallelism but it didn't work as I was expecting. See the code below: [CODE] But... | kotlin|concurrency|kotlin-coroutines|executorservice|android-threading | 1 | 2022-07-19T05:21:41.487Z | 2,022 | 7 | 5 | 1 | 127 | 1 | 452 | 79 | 5 | 4 | true | false | false | false | false | false | low |
73,031,550 | Android - Listen for keys on the broadcast receiver | <p>I want to know how to listen for keys (like f1, f2, etc) on the broadcast receiver?</p>
<p>Note: I have a USB broadcast receiver. I want to listen for keys on it.</p> | I want to know how to listen for keys (like f1, f2, etc) on the broadcast receiver? Note: I have a USB broadcast receiver. I want to listen for keys on it. | android|android-studio|kotlin|broadcastreceiver|hotkeys | 0 | 2022-07-19T05:29:28.823Z | 2,022 | 7 | 5 | 1 | 21 | 0 | 155 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
73,031,574 | CMake cross-compile: If my library depends on thirldparty, what shall I do? | <p>I program a library on windows by visual studio uses CMake. It depends on the thirdparty named "aTest". The CMakeLists.txt is simple such like this:</p>
<pre><code>add_library(
test
SHARED
"test.h"
"test.cpp"
)
include_directories(${aTestIncludePath})
tar... | I program a library on windows by visual studio uses CMake. It depends on the thirdparty named "aTest". The CMakeLists.txt is simple such like this: [CODE] It works well, it generate a libarary called a.dll and a.lib on Windows. And then, I push my code into my ubuntu system. of course it works well too, gene... | android|c++|cmake | 0 | 2022-07-19T05:33:25.210Z | 2,022 | 7 | 5 | 1 | 42 | 0 | 1,324 | 75 | 3 | 2 | true | true | false | false | false | false | zero |
73,031,601 | How to share specific event linke we share video and use click on the link and go to that video | <p>I want to share a specific link we share a video and click on the link and go to that video. I use the firebase dynamic link. And I achieve the image format by the below code, I want for the video,
I didn't get the documentation for the video. Anyone knows about it Share the knowledge</p>
<pre><code>Firebase.dynamic... | I want to share a specific link we share a video and click on the link and go to that video. I use the firebase dynamic link. And I achieve the image format by the below code, I want for the video, I didn't get the documentation for the video. Anyone knows about it Share the knowledge [CODE] | firebase|android-studio|kotlin|firebase-dynamic-links | 0 | 2022-07-19T05:36:12.950Z | 2,022 | 7 | 5 | 1 | 17 | 0 | 292 | 95 | 4 | 1 | true | true | false | false | false | false | zero |
73,031,767 | How to port lighttpd for Android(AOSP11/12) in source code | <p>I planning to integrate the Lighttpd web server into android(AOPS11/12).</p>
<p>How to integrate Lighttpd in AOSP11/12? and where can we download supported Lighttpd source code fro android</p> | I planning to integrate the Lighttpd web server into android(AOPS11/12). How to integrate Lighttpd in AOSP11/12? and where can we download supported Lighttpd source code fro android | android|web-services|android-source|lighttpd | 0 | 2022-07-19T05:53:09.723Z | 2,022 | 7 | 5 | 1 | 65 | 1 | 181 | 58 | 4 | 0 | false | false | false | false | false | false | zero |
73,031,769 | How to Get Data From Firebase Dynamic Link | <p>I have Make Google Map Integration Of My Application. Then Implement the firebase dynamic link when user and driver both location driection show on map then share the dynamic url and just click show in app also get data in log in string format. how to get string format data access from one variable which i store in ... | I have Make Google Map Integration Of My Application. Then Implement the firebase dynamic link when user and driver both location driection show on map then share the dynamic url and just click show in app also get data in log in string format. how to get string format data access from one variable which i store in pro... | android|firebase|kotlin|google-maps|firebase-dynamic-links | 0 | 2022-07-19T05:53:26.113Z | 2,022 | 7 | 5 | 1 | 167 | 1 | 324 | 42 | 5 | 0 | false | false | false | false | false | false | zero |
73,031,788 | Android MaterialCardView's drop shadow/elevation disappears when rotating it 180 degrees | <p><strong>Summarize the problem:</strong></p>
<p>I am working on a paint app, and in this app, the user has the option to rotate the canvas, this feature can be useful in some scenarios.</p>
<p>The problem I am having, is that when I rotate the <code>CardView</code>, which hosts the canvas/bitmap, 180 degrees -- the d... | Summarize the problem: I am working on a paint app, and in this app, the user has the option to rotate the canvas, this feature can be useful in some scenarios. The problem I am having, is that when I rotate the CardView , which hosts the canvas/bitmap, 180 degrees -- the drop shadow gets lost. I do not get this proble... | android|kotlin|android-layout|android-xml|android-cardview | 0 | 2022-07-19T05:56:05.597Z | 2,022 | 7 | 5 | 1 | 180 | 3 | 1,004 | 88 | 5 | 2 | true | false | false | false | false | false | zero |
73,031,845 | How to make page transition when use bottomNavigationBar in flutter | <p>I use a basic bottomNavigationBar and now it shows just page without any transition,i want to use page transition when tap different bottomNavigationBars item.</p> | I use a basic bottomNavigationBar and now it shows just page without any transition,i want to use page transition when tap different bottomNavigationBars item. | android|flutter|dart|user-interface|platform-specific | 1 | 2022-07-19T06:03:01.780Z | 2,022 | 7 | 6 | 1 | 41 | 4 | 159 | 67 | 5 | 0 | false | false | false | false | false | false | low |
73,031,942 | React Native Module Not Running Properly | <p>I have tried running C++ code in a React Native Android application. I have used the following guide available on the official React Native website: <a href="https://reactnative.dev/docs/native-modules-setup" rel="nofollow noreferrer">https://reactnative.dev/docs/native-modules-setup</a>. However, after following al... | I have tried running C++ code in a React Native Android application. I have used the following guide available on the official React Native website: https://reactnative.dev/docs/native-modules-setup . However, after following all the steps exactly as they are shown in the guide, the program produces meaningless output.... | javascript|android|c++|react-native|react-native-native-module | 0 | 2022-07-19T06:11:51.813Z | 2,022 | 7 | 6 | 1 | 25 | 0 | 591 | 40 | 5 | 0 | false | true | false | false | false | false | zero |
73,031,956 | Android emulator Black screen and adb devices shows emulator-5554 offline | <p>I am having AOSP code for Android 12 and i am building it for emulator</p>
<ol>
<li>source build/envsetup.sh</li>
<li>lunch sdk_car_x86_64-userdebug</li>
<li>export ALLOW_MISSING_DEPENDENCIES=true</li>
<li>make -j8</li>
</ol>
<hr />
<p>when i am launching the emulator using below command then its shows blank screen ... | I am having AOSP code for Android 12 and i am building it for emulator source build/envsetup.sh lunch sdk_car_x86_64-userdebug export ALLOW_MISSING_DEPENDENCIES=true make -j8 when i am launching the emulator using below command then its shows blank screen only emulator -verbose And adb devices shows emulator-5554 offli... | android|android-emulator|android-source|avd | 0 | 2022-07-19T06:13:34.050Z | 2,022 | 7 | 6 | 1 | 147 | 0 | 492 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
73,031,987 | The method 'setState' isn't defined for the type '****'. Try correcting the name to the name of an existing method, or defining a method named | <p>I had previous question about my codes from here, <a href="https://stackoverflow.com/questions/72946680/error-couldnt-find-constructor-imagepickeroptions-imagepickeroptions-option/73007334#73007334">Error: Couldn't find constructor 'ImagePickerOptions'. ImagePickerOptions options = const ImagePickerOptions()</a> Now... | I had previous question about my codes from here, Error: Couldn't find constructor 'ImagePickerOptions'. ImagePickerOptions options = const ImagePickerOptions() Now, I am facing an error regarding the setState in the code. My goal is to to capture image then the image will be used at the same page in the imgage asset, ... | android|flutter|dart | 1 | 2022-07-19T06:17:36.880Z | 2,022 | 7 | 6 | 1 | 82 | 1 | 745 | 142 | 3 | 2 | true | false | false | false | false | false | low |
73,032,042 | How to make progressDrawable occupy entire width of seeker (Android)? | <p>I am trying to create a custom seekbar. I have used vectors for progress drawable and thumb as:</p>
<pre><code> android:thumb="@drawable/custom_seekbar_thumb"
android:progressDrawable="@drawable/custom_seekbar_progress"
android:splitTrack="false"
</code></pre>
<p>Right now my seekbar ... | I am trying to create a custom seekbar. I have used vectors for progress drawable and thumb as: [CODE] Right now my seekbar looks like this: As you can see the pink vector image that I have used for progressDrawable doesn't occupy the entire width of seekbar - there is some gap between the drawable and seekbar in the r... | android|width|customization|android-seekbar | 0 | 2022-07-19T06:23:13.637Z | 2,022 | 7 | 6 | 1 | 19 | 1 | 405 | 69 | 4 | 1 | true | false | false | false | false | false | zero |
73,032,085 | I have not used any database related code in my Splash page but still it is showing an error as EARLY CRASH in firebase crashlytics. This is my Crash | <blockquote>
<p>I cannot find the proper reason for this crash. I have done changes in all the dependency versions but still I am facing this issue. This is my stack trace. Mainly found in Tecno SPARK devices</p>
</blockquote>
<pre><code>java.lang.RuntimeException:
at android.os.AsyncTask$4.done (AsyncTask.j... | I cannot find the proper reason for this crash. I have done changes in all the dependency versions but still I am facing this issue. This is my stack trace. Mainly found in Tecno SPARK devices [CODE] | android|asynchronous|crash|crashlytics | 0 | 2022-07-19T06:28:15.523Z | 2,022 | 7 | 6 | 1 | 45 | 0 | 199 | 149 | 4 | 1 | true | true | false | false | false | false | zero |
73,032,220 | Is there a way to change the namespace of an android app or remove it from an internal test? | <p>Is there a way to change the namespace of an android app or remove it from an internal test on play store?</p>
<p>Background
We are helping a company adding our app with some small changes to their internal mobile platform. One of the steps we made was to change the namespace of the app so it would work for them. Fo... | Is there a way to change the namespace of an android app or remove it from an internal test on play store? Background We are helping a company adding our app with some small changes to their internal mobile platform. One of the steps we made was to change the namespace of the app so it would work for them. For example ... | android|google-play | -1 | 2022-07-19T06:41:04.703Z | 2,022 | 7 | 6 | 1 | 41 | 1 | 840 | 92 | 2 | 0 | false | false | false | false | false | true | negative |
73,032,270 | How can I call same API multiple time using MVVM in android? | <p>I have implemented MVVM architecture in one of my projects. In which I have created a ViewModel, Repository, and ViewModelFactory to make API call. I'm showing a list of products on the wish list. There is a facility where you can remove a particular product from the wish list. When my activity opens its API calls a... | I have implemented MVVM architecture in one of my projects. In which I have created a ViewModel, Repository, and ViewModelFactory to make API call. I'm showing a list of products on the wish list. There is a facility where you can remove a particular product from the wish list. When my activity opens its API calls and ... | android|mvvm | 1 | 2022-07-19T06:44:34.460Z | 2,022 | 7 | 6 | 1 | 70 | 0 | 1,132 | 60 | 2 | 6 | true | true | false | false | false | false | low |
73,032,324 | How to Integrate Firebase Appcheck in React Native? | <p>Backend we are using Firestore database , I am trying to integrate AppCheck for security that helps to protect the app from unauthorized access .</p>
<p><strong>Steps I am following</strong></p>
<ol>
<li>I am following these steps has given by this link (<a href="https://rnfirebase.io/app-check/usage" rel="nofollow ... | Backend we are using Firestore database , I am trying to integrate AppCheck for security that helps to protect the app from unauthorized access . Steps I am following I am following these steps has given by this link ( https://rnfirebase.io/app-check/usage ) I added SHA 256 in safety Net. App.js [CODE] what is the next... | android|react-native|google-cloud-firestore|firebase-app-check | 0 | 2022-07-19T06:48:43.900Z | 2,022 | 7 | 6 | 1 | 86 | 2 | 327 | 51 | 4 | 1 | true | false | false | false | false | false | zero |
73,032,407 | Saved data to device's local storage is cleared after closing app in production | <p>I created <code>React-native</code> app for tourism purpose using <code>Expo</code>. So app checks if device have an internet connection. If so, app downloading all data from cloud and save it to device local storage. If not, then app using old data saved previously to local storage, when device had an internet conn... | I created React-native app for tourism purpose using Expo . So app checks if device have an internet connection. If so, app downloading all data from cloud and save it to device local storage. If not, then app using old data saved previously to local storage, when device had an internet connection. The problem is, that... | android|ios|react-native|expo|asyncstorage | 0 | 2022-07-19T06:56:07.703Z | 2,022 | 7 | 6 | 1 | 82 | 0 | 763 | 79 | 5 | 1 | true | true | false | false | false | false | zero |
73,032,484 | Is "TypedArray should be recycled" a false positive in Lint when using try-with-resources? | <p>I have read the <a href="https://stackoverflow.com/q/21354501/1955202">dozens</a> of <a href="https://stackoverflow.com/q/7252839/1955202">questions</a> here on SO regarding recycling <code>TypedArray</code>s, but I guess they are a bit too old and written before we could widely use <code>try-with-resource</code> st... | I have read the dozens of questions here on SO regarding recycling TypedArray s, but I guess they are a bit too old and written before we could widely use try-with-resource statements, so none of them talk about using the AutoCloseable implementation of the TypedArray , which is present since API Level 31 So the questi... | android|try-with-resources|autocloseable | 3 | 2022-07-19T07:02:27.837Z | 2,022 | 7 | 7 | 1 | 35 | 1 | 631 | 90 | 3 | 1 | true | false | false | false | false | false | low |
73,032,531 | Gradle task assembleDebug failed with exit code 1 in flutter upgrade | <p>I upgrade my flutter but after that I can't run my code and see the result
here is my code. I also wanted to use audio player package but it didn't work for me.
changing the version of SDK also didn't work.</p>
<pre><code>import 'package:flutter/material.dart';
void main() => runApp(XylophoneApp());
class Xylop... | I upgrade my flutter but after that I can't run my code and see the result here is my code. I also wanted to use audio player package but it didn't work for me. changing the version of SDK also didn't work. [CODE] and here is the error I can't solve [CODE] | android|flutter|gradle | 0 | 2022-07-19T07:07:45.133Z | 2,022 | 7 | 7 | 1 | 94 | 2 | 256 | 68 | 3 | 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.