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,266,671 | Is color of icon in a shortcut always black? | <p>I am new to app shortcuts in Android. I am using ShortcutInfo.Builder for that.
I also set an icon with the SetIcon function. But the icon is always (at least on Pixel devices) displayed over a white circle, so I have to specify a dark icon for it to be visible. Is this white circle an standard for Android? Could ot... | I am new to app shortcuts in Android. I am using ShortcutInfo.Builder for that. I also set an icon with the SetIcon function. But the icon is always (at least on Pixel devices) displayed over a white circle, so I have to specify a dark icon for it to be visible. Is this white circle an standard for Android? Could other... | android|shortcut | 1 | 2022-05-16T23:35:33.240Z | 2,022 | 5 | 23 | 0 | 50 | 0 | 697 | 44 | 2 | 0 | false | true | false | false | false | false | low |
72,266,820 | Android Studio Gradle Sync Failed After Upgrading to Chipmunk 2021.2.1 | <p>so I upgraded my Android Studio to Chipmunk 2021.2.1 and everything was going fine, but when I try to run my app on my Pixel 5 emulator, the gradle doesn't build. It's having 18 errors under the <code>writeDebugSigningConfigVersions</code> and I need help trying to solve the issues. I tried switching the gradle offl... | so I upgraded my Android Studio to Chipmunk 2021.2.1 and everything was going fine, but when I try to run my app on my Pixel 5 emulator, the gradle doesn't build. It's having 18 errors under the writeDebugSigningConfigVersions and I need help trying to solve the issues. I tried switching the gradle offline mode to see ... | android|android-studio|android-gradle-plugin | 1 | 2022-05-17T00:00:43.937Z | 2,022 | 5 | 0 | 1 | 615 | 2 | 520 | 70 | 3 | 0 | false | false | false | false | false | false | low |
72,267,023 | Trouble enabling viewBindings (kotlin) | <p>I have not adhered to the Single Activity Schema and have multiple Activities in my application.
All examples I can find using expandableListView require bindings.</p>
<p>I have:</p>
<p>1.)</p>
<pre><code>buildFeatures {
viewBinding = true
}
</code></pre>
<p>2.)
<strong>The layout tag within my x... | I have not adhered to the Single Activity Schema and have multiple Activities in my application. All examples I can find using expandableListView require bindings. I have: 1.) [CODE] 2.) The layout tag within my xml I have also tried using the include tag I found in some tutorial but [CODE] is not resolving to a bindin... | xml|kotlin|expandablelistview|android-viewbinding | 0 | 2022-05-17T00:40:16.707Z | 2,022 | 5 | 0 | 1 | 18 | 1 | 490 | 38 | 4 | 2 | true | false | false | false | false | false | zero |
72,267,067 | Android - Setting RadioButton dot with setButtonDrawable() doesn't work | <p>Simple question, perplexing problem.</p>
<p>I am making a custom dot indicator for an android RadioButton that subclasses AppCompatRadioButton. I just want to change the dot indicator not the whole background. It seems like setButtonDrawable() should do the trick...</p>
<pre><code>class McRadioButton @JvmOverloads c... | Simple question, perplexing problem. I am making a custom dot indicator for an android RadioButton that subclasses AppCompatRadioButton. I just want to change the dot indicator not the whole background. It seems like setButtonDrawable() should do the trick... [CODE] mc_radio_button.xml [CODE] When I use my McRadioButto... | android | 0 | 2022-05-17T00:48:06.507Z | 2,022 | 5 | 0 | 1 | 25 | 0 | 921 | 71 | 1 | 3 | true | true | false | false | false | false | zero |
72,267,265 | The emulator doesn't respond at all | <p>I just installed Nexus 5 emulator in Android Studio and clicked the Run button. However, the emulator didn't respond at all. Here is the screenshot.</p>
<p><a href="https://i.stack.imgur.com/JbOhO.jpg" rel="nofollow noreferrer">enter image description here</a></p>
<p>My system info:
Windows 10 64bit 21H2
Processor ... | I just installed Nexus 5 emulator in Android Studio and clicked the Run button. However, the emulator didn't respond at all. Here is the screenshot. enter image description here My system info: Windows 10 64bit 21H2 Processor Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz 2.59 GHz Installed RAM 16.0 GB (15.4 GB usable) Syst... | android|android-emulator | 0 | 2022-05-17T01:35:38.557Z | 2,022 | 5 | 1 | 1 | 31 | 0 | 398 | 35 | 2 | 0 | false | true | false | false | false | false | zero |
72,267,302 | How to set under ellipsis in android textview? | <p>I wanna set under ellipsis in textview. (ex : abcd ...)</p>
<p>but, My textview is showing a horizontal ellipsis.</p>
<p>This is my xml code.</p>
<pre><code><TextView
android:id="@+id/tv_review_content"
android:layout_width="wrap_content"
android:layout_heig... | I wanna set under ellipsis in textview. (ex : abcd ...) but, My textview is showing a horizontal ellipsis. This is my xml code. [CODE] and preview. how do I set it up? | android | 0 | 2022-05-17T01:45:51.953Z | 2,022 | 5 | 1 | 1 | 13 | 0 | 167 | 46 | 1 | 1 | true | true | false | false | false | false | zero |
72,267,360 | itemview in Adapter for recyclerview not getting id from xml | <p>this is my class
i've been tryinng to get the imageviewcard which is an xml id un the cardview, and no matter if i do it with findviewbyid or just itemview. it is not catching it, i'm so desperate!!!</p>
<pre><code>class CustomAdapter (
private val list: List<DataCard>
): RecyclerView.Adapter<CustomAd... | this is my class i've been tryinng to get the imageviewcard which is an xml id un the cardview, and no matter if i do it with findviewbyid or just itemview. it is not catching it, i'm so desperate!!! [CODE] | android|kotlin|android-recyclerview|adapter|cardview | 0 | 2022-05-17T01:55:49.650Z | 2,022 | 5 | 1 | 1 | 110 | 1 | 206 | 60 | 5 | 1 | true | false | false | false | false | false | zero |
72,267,376 | NoParameterFoundException | <p>I am trying to instantiate a Koin module for a viewModel with this constructor:</p>
<pre><code>class CustomViewModel(
displayData: DisplayData?,
voterLocation: VoterLocation?,
private val useLocalElections: Boolean,
private val useLocalPollingPlaces: Boolean
)
</code></pre>
<p>I instantiate the viewM... | I am trying to instantiate a Koin module for a viewModel with this constructor: [CODE] I instantiate the viewModel module with this method [CODE] and then declare it in my class with the "by" delegate: [CODE] However, my error is telling me that one of the parameters for the displayData attribute can cannot b... | android|koin | 0 | 2022-05-17T01:58:23.677Z | 2,022 | 5 | 1 | 1 | 134 | 1 | 434 | 25 | 2 | 5 | true | false | false | false | false | false | zero |
72,267,421 | Block execution over a variable (TTS Use-Case), other than log statements (spooky) | <p>I wish to have a Boolean be true before executing a block of code, and I want it to actually block the thread it is on. The use-case is simple enough. I have a use-case for TTS in my app, and i wish to have a sequential execution, where a TTS speaks, then something happens and it speaks again and so on, but the thin... | I wish to have a Boolean be true before executing a block of code, and I want it to actually block the thread it is on. The use-case is simple enough. I have a use-case for TTS in my app, and i wish to have a sequential execution, where a TTS speaks, then something happens and it speaks again and so on, but the thing i... | android|loops|ghost-blog | 0 | 2022-05-17T02:05:58.597Z | 2,022 | 5 | 2 | 1 | 32 | 1 | 1,925 | 82 | 3 | 2 | true | false | false | false | false | false | zero |
72,267,482 | Use Android Studio Emulator to Test Flight outside apps: Possible? | <p>I made an app using the Adalo framework and have published it on the Apple App Store already. Now for Google:</p>
<p>I've set everything up on the Google Play Console and it's ready for testing. For some reason it won't open on my wife's phone and that's the only Android phone I have access to. Would it be possible ... | I made an app using the Adalo framework and have published it on the Apple App Store already. Now for Google: I've set everything up on the Google Play Console and it's ready for testing. For some reason it won't open on my wife's phone and that's the only Android phone I have access to. Would it be possible to view it... | android|console|emulation|playback | 0 | 2022-05-17T02:16:37.370Z | 2,022 | 5 | 2 | 1 | 55 | 0 | 568 | 66 | 4 | 0 | false | true | false | false | false | false | zero |
72,267,629 | android studio - button not showing in frame layout | <p>I am working in a drawing app and I want to put a feature that will let a user choose between using a pen or using an eraser. I intend to put 2 buttons at the same position to achieve it but when I used frame layout as suggested by my research, neither of my buttons are showing.</p>
<p>Here's my xml file:</p>
<pre><... | I am working in a drawing app and I want to put a feature that will let a user choose between using a pen or using an eraser. I intend to put 2 buttons at the same position to achieve it but when I used frame layout as suggested by my research, neither of my buttons are showing. Here's my xml file: [CODE] Picture: ente... | android-studio | 0 | 2022-05-17T02:46:01.813Z | 2,022 | 5 | 2 | 1 | 17 | 1 | 473 | 51 | 1 | 1 | true | false | false | false | false | false | zero |
72,267,763 | How to close a background android app programmatically in Unity | <p>I'm trying to force close some background Android apps by package name using Unity, but I can't figure out the correct way to do it via the Android API.</p>
<p>I have used several functions from the Android API, but none of them seem to work. Here's how I initialize the Java class.</p>
<pre><code> AndroidJavaClass u... | I'm trying to force close some background Android apps by package name using Unity, but I can't figure out the correct way to do it via the Android API. I have used several functions from the Android API, but none of them seem to work. Here's how I initialize the Java class. [CODE] Does anyone know how to achieve that?... | c#|android|visual-studio|unity3d | 0 | 2022-05-17T03:07:24.793Z | 2,022 | 5 | 3 | 1 | 168 | 0 | 330 | 63 | 4 | 1 | true | true | false | false | false | false | zero |
72,267,820 | Kotlin atomic copy folder | <p>I want to copy a folder over another, but want to achieve it atomically, i.e. if any error happens, it will recover the folder to its original state. Something is similar to Kotlin <a href="https://developer.android.com/reference/kotlin/androidx/core/util/AtomicFile" rel="nofollow noreferrer">Atomic file</a></p> | I want to copy a folder over another, but want to achieve it atomically, i.e. if any error happens, it will recover the folder to its original state. Something is similar to Kotlin Atomic file | android|directory|copy|atomic | 0 | 2022-05-17T03:18:16.583Z | 2,022 | 5 | 3 | 1 | 23 | 0 | 192 | 25 | 4 | 0 | false | true | false | false | false | false | zero |
72,267,959 | Gradle sync failed: Could not install Gradle distribution | <p>there is a Gradle sync error message that has been plaguing two of my coworkers’ Android Studios. They are both running macOS and the latest Android Studio.</p>
<pre><code>Gradle sync fails with this error every time:
12:06 PM Gradle sync failed: Could not install Gradle distribution from 'https://services.gradle.or... | there is a Gradle sync error message that has been plaguing two of my coworkers’ Android Studios. They are both running macOS and the latest Android Studio. [CODE] The Gradle ZIP file downloads successfully, but after unpacking, they always end up with that error. I’ve had them try a bunch of things including: Uninstal... | android|android-studio | 0 | 2022-05-17T03:42:22.840Z | 2,022 | 5 | 3 | 1 | 2,923 | 1 | 794 | 57 | 2 | 1 | true | false | true | false | false | false | zero |
72,268,027 | How to change font family or size for the text on ConfirmationOvelay | <p>I want to change font family and text size on ConfirmationOverlay</p>
<p>Any idea? Does it change with system font?</p>
<pre><code> // Defaults to SUCCESS_ANIMATION
new ConfirmationOverlay().showOn(myActivity);
new ConfirmationOverlay()
.setType(ConfirmationOverlay.OPEN_ON_PHONE_ANIMATION)
.setDurati... | I want to change font family and text size on ConfirmationOverlay Any idea? Does it change with system font? [CODE] | android | 0 | 2022-05-17T03:54:13.237Z | 2,022 | 5 | 3 | 1 | 14 | 1 | 115 | 68 | 1 | 1 | true | false | false | false | false | false | zero |
72,268,065 | Replace an image for API Camera Internal | <p>I have an API integrated application that calls the Internal Camera API. The application can then use the camera to capture with the interface inside that application. But now I want to use a previously taken photo, instead of the app taking a photo with the camera, when I press the shutter button on that app, it wi... | I have an API integrated application that calls the Internal Camera API. The application can then use the camera to capture with the interface inside that application. But now I want to use a previously taken photo, instead of the app taking a photo with the camera, when I press the shutter button on that app, it will ... | android|api|camera | 0 | 2022-05-17T04:02:41.840Z | 2,022 | 5 | 4 | 1 | 28 | 0 | 989 | 40 | 3 | 0 | false | true | false | false | false | false | zero |
72,268,159 | The Android APP crashes when the system WebView is being updated | <p>The app is used as a launcher, and WebView is used in the app. However, the WebView component of the system is automatically updated, and when the WebView component is updated, the app crashes. Even if the app is not currently using the WebView component, as long as the app uses the WebView component, the app will c... | The app is used as a launcher, and WebView is used in the app. However, the WebView component of the system is automatically updated, and when the WebView component is updated, the app crashes. Even if the app is not currently using the WebView component, as long as the app uses the WebView component, the app will cras... | android|webview|crash | 3 | 2022-05-17T04:18:21.113Z | 2,022 | 5 | 4 | 1 | 609 | 1 | 402 | 64 | 3 | 0 | false | false | false | false | false | false | low |
72,268,171 | Changing the speed of an animation in an Android app | <p>I need to modify the speed of an animation, reacting to some events in an app of mine. To tackle the problem I made a small demo app. I hope someone can give me some guidance on how to change the code to get what I want. When one taps on the label the background color toggles, but the speed should also change; and t... | I need to modify the speed of an animation, reacting to some events in an app of mine. To tackle the problem I made a small demo app. I hope someone can give me some guidance on how to change the code to get what I want. When one taps on the label the background color toggles, but the speed should also change; and this... | android|android-animation|android-constraintlayout | 0 | 2022-05-17T04:20:41.743Z | 2,022 | 5 | 4 | 1 | 44 | 1 | 383 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
72,268,232 | java.util.zip.ZipException: invalid distance to far back | <p><a href="https://i.stack.imgur.com/OCu0Z.png" rel="nofollow noreferrer">enter image description here</a></p>
<p><strong>I have an application that when I try it, whether on the player or through the mobile it works properly without any error, but when I export the application in APK format, this error message appear... | enter image description here I have an application that when I try it, whether on the player or through the mobile it works properly without any error, but when I export the application in APK format, this error message appears! Please help please no matter [CODE] | java|android|zipexception | 0 | 2022-05-17T04:29:13.730Z | 2,022 | 5 | 4 | 1 | 81 | 0 | 264 | 56 | 3 | 1 | true | true | false | false | false | false | zero |
72,268,530 | Open the Emulator in a different window after Android Studio Bumblebee (2021.1.1) update | <p>The emulator is built-in the Android Studio UI by default after updating to the <code>Bumblebee (2021.1.1)</code> version.<br />
As shown in bellow image there are 5 options in view mode for changing it.</p>
<p><a href="https://i.stack.imgur.com/YO0RS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co... | The emulator is built-in the Android Studio UI by default after updating to the Bumblebee (2021.1.1) version. As shown in bellow image there are 5 options in view mode for changing it. I tried all but any of them doesn't show emulator stand alone like older versions. I want to see emulator like this without any window:... | android-studio|android-emulator | 1 | 2022-05-17T05:19:16.270Z | 2,022 | 5 | 5 | 1 | 531 | 2 | 380 | 88 | 2 | 0 | false | false | false | false | false | false | low |
72,268,749 | How to get only specific read data from firebase for a particular child node | <p>Heyy Developers, I'm creating a Tv series app in which I store Season no, episodes no, etc. For storing data I'm using Firebase realtime database but I want to retrive Season no only in a recyclerview when I click on a specific series but database returns every season no in my recycelrview for every series, for ex. ... | Heyy Developers, I'm creating a Tv series app in which I store Season no, episodes no, etc. For storing data I'm using Firebase realtime database but I want to retrive Season no only in a recyclerview when I click on a specific series but database returns every season no in my recycelrview for every series, for ex. In ... | java|android|firebase-realtime-database | 0 | 2022-05-17T05:48:19.517Z | 2,022 | 5 | 5 | 1 | 72 | 1 | 936 | 76 | 3 | 2 | true | false | false | false | false | false | zero |
72,268,780 | Firebase Crashlytics errors on app distributed via Firebase App Distribution | <p>My app keeps crashing when downloading from apk, but it works just fine and using adb connection on android studio and emulator. I distributed it to a few friends for testing using Firebase App Distribution and monitoring it with Crashlytics.</p>
<p><a href="https://i.stack.imgur.com/QWbzV.jpg" rel="nofollow norefer... | My app keeps crashing when downloading from apk, but it works just fine and using adb connection on android studio and emulator. I distributed it to a few friends for testing using Firebase App Distribution and monitoring it with Crashlytics. I get a bunch of errors and tbh, not sure what any of them means. I tried goo... | firebase|flutter|android-studio|crashlytics|firebase-app-distribution | 0 | 2022-05-17T05:51:31.437Z | 2,022 | 5 | 5 | 1 | 73 | 0 | 533 | 76 | 5 | 0 | false | true | false | false | false | false | zero |
72,268,899 | show system UI in android studio | <p>How can I activate show layout decoration in version 2021.2.1 of Android studio?</p>
<p><a href="https://i.stack.imgur.com/UFT3T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UFT3T.png" alt="enter image description here" /></a></p> | How can I activate show layout decoration in version 2021.2.1 of Android studio? | android|android-studio | 0 | 2022-05-17T06:05:19.613Z | 2,022 | 5 | 6 | 1 | 116 | 1 | 80 | 32 | 2 | 0 | false | false | false | false | false | false | zero |
72,268,931 | ant build error "java.lang.RuntimeException: The executable 'android' is not in the path" | <p>I am trying to build an Android app instrumenting tool called Ella from <a href="https://github.com/saswatanand/ella" rel="nofollow noreferrer">https://github.com/saswatanand/ella</a></p>
<p>When I was trying to build it using ant, it shows this error:</p>
<pre><code>Buildfile: /Users/sioyoo/tools/ella/build.xml
cr... | I am trying to build an Android app instrumenting tool called Ella from https://github.com/saswatanand/ella When I was trying to build it using ant, it shows this error: [CODE] However, in the settings file, my android build tools is setted to location: [CODE] where is actually where I kept my android build tools. Can ... | android|unix|command-line|ant | 1 | 2022-05-17T06:09:17.593Z | 2,022 | 5 | 6 | 1 | 86 | 1 | 382 | 89 | 4 | 2 | true | false | false | false | false | false | low |
72,268,940 | How to set the all items size according to the largest item in the layout in Android? | <p>I am using recyclerview with gridlayout, getting some of the items with large height of the content. I want to set the same height of all items that will be equal to the largest item height or the equal height of the horizontal items without changing the layout.</p>
<p>XML --></p>
<pre><code><TextView
andr... | I am using recyclerview with gridlayout, getting some of the items with large height of the content. I want to set the same height of all items that will be equal to the largest item height or the equal height of the horizontal items without changing the layout. XML --> [CODE] Its parent layout is constraint and there ... | android|kotlin|android-recyclerview | 0 | 2022-05-17T06:10:36.013Z | 2,022 | 5 | 6 | 1 | 60 | 1 | 482 | 85 | 3 | 1 | true | false | false | false | false | false | zero |
72,269,038 | How can I get the values like gender , age while using google sign in Api in my flutter app though I am new in flutter | <p>I am Trying to get the gender of a signed in user but I am getting Error like "[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null.
E/flutter ( 6709): Receiver: null"</p>
<blockquote>
<p>//This is My google_signIn_api.dart file</p>
</block... | I am Trying to get the gender of a signed in user but I am getting Error like "[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null. E/flutter ( 6709): Receiver: null" //This is My google_signIn_api.dart file [CODE] This is the code where I am... | flutter|google-api|flutter-dependencies|flutter-test|flutter-android | 0 | 2022-05-17T06:21:06.400Z | 2,022 | 5 | 6 | 1 | 244 | 2 | 353 | 118 | 5 | 2 | true | false | false | false | false | false | zero |
72,269,107 | How to change Locale in android app - Kotlin and jetpack compose | <p>I was trying to change the language of my application (Kotlin & Jetpack Compose) but couldn't get it to work</p>
<p>LocaleHelper.kt</p>
<pre><code>fun setLocale(context: Context, language: String): Context {
persist(context, language)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
retu... | I was trying to change the language of my application (Kotlin & Jetpack Compose) but couldn't get it to work LocaleHelper.kt [CODE] HomeViewModel.kt [CODE] I tried to find the solution and came across https://stackoverflow.com/a/65662661/14915590 and https://www.youtube.com/watch?v=a_ttsk2-wjY but still no result AnyOn... | android|kotlin|locale|android-jetpack-compose | 0 | 2022-05-17T06:28:14.030Z | 2,022 | 5 | 6 | 1 | 33 | 0 | 363 | 64 | 4 | 2 | true | true | false | false | false | false | zero |
72,269,221 | okhttp arraycopy is inaccessible to class 'okio.Buffer' | <p>I am trying to integrate okhttp in my code to upload large zip files to a server.
with android R, getting below exception.
any help would be appreciated</p>
<p>05-13 15:20:21.479 1684 7741 E AndroidRuntime: java.lang.IllegalAccessError: Method 'void java.lang.System.arraycopy(byte[], int, byte[], int, int)' is ina... | I am trying to integrate okhttp in my code to upload large zip files to a server. with android R, getting below exception. any help would be appreciated 05-13 15:20:21.479 1684 7741 E AndroidRuntime: java.lang.IllegalAccessError: Method 'void java.lang.System.arraycopy(byte[], int, byte[], int, int)' is inaccessible to... | android|okhttp | 1 | 2022-05-17T06:40:54.860Z | 2,022 | 5 | 6 | 1 | 46 | 0 | 1,550 | 55 | 2 | 1 | true | true | false | false | false | false | low |
72,269,368 | How to save Document file in external storage after android API LEVEL28 With Android SAF(Storage Access Framework)) | <p><strong>This Code Works Fine With Media Files I want a solution For Document Files</strong></p>
<p><strong>I Don't Know how to put contentValues For Document Files</strong></p>
<pre><code>fun getFile(fileName: String): File? {
with(sharePrefHelper.app){
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES... | This Code Works Fine With Media Files I want a solution For Document Files I Don't Know how to put contentValues For Document Files [CODE] This Code Works Fine with media Files My Question Here is How to save documents like CSV File in outer folder of android device | android|android-storage | 3 | 2022-05-17T06:54:27.607Z | 2,022 | 5 | 6 | 1 | 741 | 2 | 266 | 115 | 2 | 1 | true | false | false | false | false | false | low |
72,269,412 | duplicate watermarks to show not only one times on Android 12's scrolling screenshot | <p>Our requirement: would like to insert a watermark on fixed height of native android app.
When user browse the content, the watermark would not change its height. However, when user use screenshot with Android 12 and tap "Capture More", the watermarks could show many times on the scrolling screenshot(not on... | Our requirement: would like to insert a watermark on fixed height of native android app. When user browse the content, the watermark would not change its height. However, when user use screenshot with Android 12 and tap "Capture More", the watermarks could show many times on the scrolling screenshot(not only ... | android|watermark|android-app-watermark | 0 | 2022-05-17T06:57:17.080Z | 2,022 | 5 | 6 | 1 | 23 | 1 | 770 | 84 | 3 | 0 | false | false | false | false | false | false | zero |
72,269,442 | Movable Unblur image mask in Android | <p>I have this feature to be implemented in my app. Image is received from a remote database,
the image has a blur filter with a shape that shows unblur part of the image.</p>
<p>This shape/ unblur mask is so other parts of the image can be seen by dragging it.</p>
<p><a href="https://i.stack.imgur.com/f110v.png" rel="... | I have this feature to be implemented in my app. Image is received from a remote database, the image has a blur filter with a shape that shows unblur part of the image. This shape/ unblur mask is so other parts of the image can be seen by dragging it. https://stackoverflow.com/questions/14780006/transparent-blurry-view... | android|image|graphics|masking|android-blur-effect | 0 | 2022-05-17T06:59:33.940Z | 2,022 | 5 | 6 | 1 | 33 | 0 | 546 | 36 | 5 | 0 | false | true | false | false | false | false | zero |
72,269,470 | Is there any way in Android 12 to observe Camera and Mic toggle state to prevent stream blank frame or silent audio? | <p>In Android 12 google introduced users can enable and disable camera and microphone access for all apps on the device by pressing a single toggle option. For more information visit <a href="https://developer.android.com/training/permissions/explaining-access#toggles" rel="nofollow noreferrer">here</a>.</p>
<p>As per ... | In Android 12 google introduced users can enable and disable camera and microphone access for all apps on the device by pressing a single toggle option. For more information visit here . As per documentation we can check which device support toggle mode for camera and microphone by using following code [CODE] As per do... | android|android-sensors|android-12 | 0 | 2022-05-17T07:00:56.583Z | 2,022 | 5 | 7 | 1 | 26 | 0 | 882 | 116 | 3 | 1 | true | true | false | false | false | false | zero |
72,269,741 | How to create an android CRUD app using SQLite database, HashMap and HashSet to perfrom crud operations | <p>I have started coding with some basic ideas and created a class called Student to create object hashmap to perform insertion and updating. And a Class called DatabaseHelper to perform SQLite operations and main activity is shown below.</p>
<p>Student.java is a class in which variables such as roll no,studentName, st... | I have started coding with some basic ideas and created a class called Student to create object hashmap to perform insertion and updating. And a Class called DatabaseHelper to perform SQLite operations and main activity is shown below. Student.java is a class in which variables such as roll no,studentName, standard, co... | android|sqlite | -2 | 2022-05-17T07:22:07.540Z | 2,022 | 5 | 7 | 1 | 62 | 1 | 463 | 103 | 2 | 2 | true | false | false | false | false | true | negative |
72,269,796 | Flutter, setState() not working properly in Release but in Debug | <p>I have a Stack which gets build inside of a FutureBuilder, part of the Stack is a ElevatedButton which is focusing to my current location on the map, which is also part of the Stack.</p>
<p>My idea is, that when i tap on a Marker of my map a boolean is being set to false (onMarkerTap), so the button disappears, and ... | I have a Stack which gets build inside of a FutureBuilder, part of the Stack is a ElevatedButton which is focusing to my current location on the map, which is also part of the Stack. My idea is, that when i tap on a Marker of my map a boolean is being set to false (onMarkerTap), so the button disappears, and when i tap... | android|flutter|dart|boolean|setstate | 0 | 2022-05-17T07:27:24.680Z | 2,022 | 5 | 7 | 1 | 245 | 2 | 903 | 64 | 5 | 1 | true | false | false | false | false | false | zero |
72,269,899 | How can i Resolve App Stuck on SplashScreen On Some devices like Realme C21 | <p>I have an Android application and its working fine on all mobiles. Recently one of my user facing a problem on Realme C21.
Basically the problem is that in splash screen app stucks. So I don't have Realme C21 and I want to find the issue. I already used try cath and in every cath i handle and generate crash report. ... | I have an Android application and its working fine on all mobiles. Recently one of my user facing a problem on Realme C21. Basically the problem is that in splash screen app stucks. So I don't have Realme C21 and I want to find the issue. I already used try cath and in every cath i handle and generate crash report. But... | android|realm|splash-screen | 0 | 2022-05-17T07:35:31.803Z | 2,022 | 5 | 7 | 1 | 62 | 0 | 433 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
72,269,901 | Image to RGB matrix in flutter | <p>I am a beginner in Flutter. I want to choose an image from my local and convert it into an RGB array. Can anybody please provide me with the code to do so correctly?</p> | I am a beginner in Flutter. I want to choose an image from my local and convert it into an RGB array. Can anybody please provide me with the code to do so correctly? | flutter|android-studio|dart | -1 | 2022-05-17T07:35:56.333Z | 2,022 | 5 | 7 | 1 | 69 | 1 | 165 | 30 | 3 | 0 | false | false | false | false | false | true | negative |
72,269,948 | Error: Installation did not succeed. The application could not be installed in Android Studio | <p>I am new to android studio. And the app on which I am working was not giving the installation error with the last code change. Once I add another line of code, I start getting error:</p>
<pre><code>Timed out waiting for the process (com.iab.omid.sampleapp) to appear on
Pixel_3a_API_32_arm64-v8a [emulator-5554].
In... | I am new to android studio. And the app on which I am working was not giving the installation error with the last code change. Once I add another line of code, I start getting error: [CODE] The app is still opening and it seems like the newly added code is not reflected there. (not sure about this). How can I fix this ... | java|android|android-studio|configuration | 0 | 2022-05-17T07:39:12.660Z | 2,022 | 5 | 7 | 1 | 883 | 1 | 388 | 93 | 4 | 1 | true | false | false | false | false | false | zero |
72,270,195 | Android Talkback contentDescription can not be read out in xml file | <p>I set android:contentDescription in xml file. But it can't be read out in Talkback mode. If I call setContentDecsription in java code, it works. I try to getContentDescription in jave code, it returns null. It seems the android:contentDescription in xml file does not work. I don't know why.
Any suggestion is appreci... | I set android:contentDescription in xml file. But it can't be read out in Talkback mode. If I call setContentDecsription in java code, it works. I try to getContentDescription in jave code, it returns null. It seems the android:contentDescription in xml file does not work. I don't know why. Any suggestion is appreciate... | android|talkback | 0 | 2022-05-17T07:58:49.550Z | 2,022 | 5 | 7 | 1 | 34 | 0 | 329 | 67 | 2 | 1 | true | true | false | false | false | false | zero |
72,270,205 | Can full CPP standard library be used if exceptions are disabled? | <p>I am writing native code on Android and CPP exceptions are <a href="https://developer.android.com/ndk/guides/cpp-support.html#xp" rel="nofollow noreferrer">disabled by default</a>.
I could simply enable them but I love leaving settings to default.
So I wonder if I can use all features of libc++ if exceptions are dis... | I am writing native code on Android and CPP exceptions are disabled by default . I could simply enable them but I love leaving settings to default. So I wonder if I can use all features of libc++ if exceptions are disabled? Here is one code example: [CODE] The libc++ is compiled with exceptions. So this line will throw... | android|c++|libc++ | 3 | 2022-05-17T07:59:10.680Z | 2,022 | 5 | 7 | 1 | 73 | 0 | 675 | 65 | 3 | 2 | true | true | false | false | false | false | low |
72,270,225 | How to add image URL from storage to realtime database in android kotlin | <p>I'm trying to upload image reference to realtime database from storage but I'm getting an error as: "Object does not exist at location".</p>
<p>This is the code for uploading images to storage as well as database</p>
<pre><code>private lateinit var firebaseStore: FirebaseStorage
private lateinit var databa... | I'm trying to upload image reference to realtime database from storage but I'm getting an error as: "Object does not exist at location". This is the code for uploading images to storage as well as database [CODE] This println statement is never getting executed. Attached are the screenshots of storage and rea... | android|firebase|kotlin|firebase-realtime-database|firebase-storage | 0 | 2022-05-17T08:01:12.773Z | 2,022 | 5 | 8 | 1 | 344 | 0 | 459 | 72 | 5 | 2 | true | true | false | false | false | false | zero |
72,270,236 | @string/some_name type value in Navigation Component as Argument default value | <p>My question is how can i use <code>@string/some_name</code> type value as default argument in <code>Navigation Component</code>.
My Code:</p>
<pre><code><argument
android:name="destName"
app:argType="string"
android:defaultValue="@string/home_dest_args_str" /&... | My question is how can i use @string/some_name type value as default argument in Navigation Component . My Code: [CODE] I want to use like this so i avoid typo when im using same argument name to pass data Here is the Error i'm getting: [CODE] Is there a way around or shoudld i just get along with it as it is? | java|android|android-architecture-navigation | 0 | 2022-05-17T08:02:14.637Z | 2,022 | 5 | 8 | 1 | 35 | 0 | 311 | 78 | 3 | 2 | true | true | false | false | false | false | zero |
72,270,262 | use git fork as gradle dependency - KMM Project | <p>I am trying to add my git fork (<a href="https://github.com/OctagonMobile/Nier-Visualizer" rel="nofollow noreferrer">https://github.com/OctagonMobile/Nier-Visualizer</a>) as gradle dependency as I need to change some code in original repo.</p>
<p>So I am trying to use jitpack.io, which is not working for me.
I have ... | I am trying to add my git fork ( https://github.com/OctagonMobile/Nier-Visualizer ) as gradle dependency as I need to change some code in original repo. So I am trying to use jitpack.io, which is not working for me. I have added mavel url 'https://jitpack.io' in root build.gradle.kts file. and in android app's build.gr... | android|kotlin|gradle|gradle-kotlin-dsl|git-fork | 1 | 2022-05-17T08:04:27.417Z | 2,022 | 5 | 8 | 1 | 71 | 0 | 705 | 47 | 5 | 0 | false | true | false | false | false | false | low |
72,270,274 | How to share a photo from gallery to xamarin app | <p>I'm looking for a way to share a photo from the gallery using the "forward to" function and make my xamarin app appear among those available as whatapp or instagram</p> | I'm looking for a way to share a photo from the gallery using the "forward to" function and make my xamarin app appear among those available as whatapp or instagram | c#|android|xamarin|xamarin.forms | 0 | 2022-05-17T08:05:01.447Z | 2,022 | 5 | 8 | 1 | 77 | 1 | 174 | 48 | 4 | 0 | false | false | false | false | false | false | zero |
72,270,283 | Unable to submit Android apk for my existing app over 100 mb | <p>I was uploading apk of around 150mb from last 2 years but today when i am trying to upload same size build it is giving error
"You need to reduce your APK file size to 100MB or use APK expansion files."</p>
<p>was there any timeline that i missed.
I did upload last build on 20 April 2022 and size was 157 m... | I was uploading apk of around 150mb from last 2 years but today when i am trying to upload same size build it is giving error "You need to reduce your APK file size to 100MB or use APK expansion files." was there any timeline that i missed. I did upload last build on 20 April 2022 and size was 157 mb. | android|apk|android-app-bundle | 1 | 2022-05-17T08:05:21.033Z | 2,022 | 5 | 8 | 1 | 100 | 0 | 312 | 60 | 3 | 0 | false | true | false | false | false | false | low |
72,270,476 | XF 504 on Get request when using Android HttpClient implementation | <p>In my Xamarin Forms app I have a very basic GET request that results in a 504 'Method not allowed' on Android.</p>
<p>This is the controller that I am calling:</p>
<pre><code>[AllowAnonymous]
[HttpGet]
[Route("api/system/backendversion")]
public int GetBackendVersion()
{
return 20200924;
}
</code... | In my Xamarin Forms app I have a very basic GET request that results in a 504 'Method not allowed' on Android. This is the controller that I am calling: [CODE] This is the code that performs the request [CODE] The problem disappears when I change the HttpClient implementation from "Android" to "Managed&q... | android|xamarin|xamarin.forms|dotnet-httpclient | 0 | 2022-05-17T08:18:34.380Z | 2,022 | 5 | 8 | 1 | 23 | 1 | 520 | 66 | 4 | 2 | true | false | false | false | false | false | zero |
72,270,501 | Unity Player currentActivity Always returns null on Android Device | <p>Unity player current activity always returns null on Android device as well</p>
<p>Following is my code</p>
<pre><code>_androidPluginClass = new AndroidJavaClass(androidPluginName);
AndroidJavaClass playerClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject activity = playerCla... | Unity player current activity always returns null on Android device as well Following is my code [CODE] How to fix this? | android|unity3d | 0 | 2022-05-17T08:20:10.050Z | 2,022 | 5 | 8 | 1 | 115 | 0 | 120 | 66 | 2 | 1 | true | true | false | false | false | false | zero |
72,270,551 | react native error of dependencies conflict | <p>error Failed to install the app. Make sure you have the Android development environment set up: <a href="https://reactnative.dev/docs/environment-setup" rel="nofollow noreferrer">https://reactnative.dev/docs/environment-setup</a>.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
No... | error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup . Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprec... | java|android|react-native | 0 | 2022-05-17T08:23:43.413Z | 2,022 | 5 | 8 | 1 | 154 | 0 | 4,449 | 43 | 3 | 1 | true | true | false | false | false | false | zero |
72,270,561 | How do an app identify a device in Android | <p>I need to bypass device identification by an app.
I have tried the following method to bypass but did not work:</p>
<ul>
<li>Using VPN</li>
<li>Clear app data</li>
<li>Reinstall app from playstore</li>
<li>Reinstall from downloaded apk file</li>
<li>Change device id (my device is rooted)</li>
<li>Change google accou... | I need to bypass device identification by an app. I have tried the following method to bypass but did not work: Using VPN Clear app data Reinstall app from playstore Reinstall from downloaded apk file Change device id (my device is rooted) Change google account associated in the device Insert different SIM Card What da... | android | -1 | 2022-05-17T08:24:27.950Z | 2,022 | 5 | 8 | 1 | 37 | 1 | 364 | 42 | 1 | 0 | false | false | false | false | false | true | negative |
72,270,576 | MediaSession.setPositionState() and seekto not working | <p>MediaSession.setPositionState() not showing the audio time,
also seekbar not showing as expected.</p>
<pre><code>const audio= document.querySelector('audio');
function updatePositionState() {
if ('setPositionState' in navigator.mediaSession) {
navigator.mediaSession.setPositionState({
duration: audio.du... | MediaSession.setPositionState() not showing the audio time, also seekbar not showing as expected. [CODE] | javascript|typescript|navigator|android-music-player|mediasession | 0 | 2022-05-17T08:25:42.033Z | 2,022 | 5 | 8 | 1 | 103 | 0 | 104 | 54 | 5 | 1 | true | true | false | false | false | false | zero |
72,270,584 | Using Mobile Ads SDK with IONIC | <p>I'm making an hibrid App using Ionic, Angular and Capacitor.</p>
<p>I need to use the Google Mobile Ads SDK to show banners. I try with the AdMob plugin for capacitor, but it lacks of Native Ads, that are the main core of my App.</p>
<p>I added the SDK directly in Android Studio but I don't know which files I have t... | I'm making an hibrid App using Ionic, Angular and Capacitor. I need to use the Google Mobile Ads SDK to show banners. I try with the AdMob plugin for capacitor, but it lacks of Native Ads, that are the main core of my App. I added the SDK directly in Android Studio but I don't know which files I have to edit to insert ... | android|ionic-framework|googleads-mobile-unity | 0 | 2022-05-17T08:26:01.207Z | 2,022 | 5 | 8 | 1 | 87 | 1 | 428 | 31 | 3 | 0 | false | false | false | false | false | false | zero |
72,270,597 | Bottom nav bar with curved edge and shadow- Jetpack Compose | <p>I am trying to build a bottom nav bar with curved edges at the top start and top end.<br />
When setting a shadow, it is not showing the shadow correctly.<br />
How to set a shadow around? Or am I doing any wrong thing?</p>
<p><strong>Code</strong></p>
<pre><code>BottomNavigation(
backgroundColor = Color(0xfffff... | I am trying to build a bottom nav bar with curved edges at the top start and top end. When setting a shadow, it is not showing the shadow correctly. How to set a shadow around? Or am I doing any wrong thing? Code [CODE] Screenshot How to add a shadow around the top start and end edges? | android|kotlin|android-jetpack-compose|shadow|android-bottomnav | 0 | 2022-05-17T08:26:46.380Z | 2,022 | 5 | 8 | 1 | 447 | 0 | 286 | 59 | 5 | 1 | true | true | false | false | false | false | zero |
72,270,615 | Restart a gstreamer pipeline when an error occurs on Android | <p><strong>So my aim is to build an Android application on java to play a video stream of a camera via rtsp.</strong></p>
<p>I am beginner so i used the 4th android tutorial of gstreamer and customized it to do the job and it does.</p>
<p>The issue is that when I loose connexion with my camera there is an error so my s... | So my aim is to build an Android application on java to play a video stream of a camera via rtsp. I am beginner so i used the 4th android tutorial of gstreamer and customized it to do the job and it does. The issue is that when I loose connexion with my camera there is an error so my stream stop and I have to restart m... | java|android|gstreamer|rtsp | 0 | 2022-05-17T08:27:57.760Z | 2,022 | 5 | 8 | 1 | 131 | 0 | 795 | 60 | 4 | 1 | true | true | false | false | false | false | zero |
72,270,727 | eas build -p android fails with error Plugin with id 'maven' not found | <p>I had app created by react native expo totally managed by expo
I used to build by expo build but it has been superseded so I used eas build -p android
I upgrade the SDK for the app after that I got error
<a href="https://i.stack.imgur.com/sDyyL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sDyyL... | I had app created by react native expo totally managed by expo I used to build by expo build but it has been superseded so I used eas build -p android I upgrade the SDK for the app after that I got error "expo": "^45.0.0", "react-native": "^0.68.2", "expo-cli": "^5... | android|react-native|expo|build.gradle|upgrade | 1 | 2022-05-17T08:36:09.730Z | 2,022 | 5 | 8 | 1 | 349 | 0 | 331 | 70 | 5 | 0 | false | true | false | false | false | false | low |
72,270,770 | Update to Android Studio Chimpmunk: 'Minimum supported Gradle version is 7.3.3. Current version is 7.2.' | <p>After update to Android Studio Chimpmunk, I get the error message on Gradle sync:</p>
<pre><code>Minimum supported Gradle version is 7.3.3. Current version is 7.2.'
</code></pre>
<p>In my gradle-wrapper.properties, I have got :</p>
<pre><code>distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bi... | After update to Android Studio Chimpmunk, I get the error message on Gradle sync: [CODE] In my gradle-wrapper.properties, I have got : [CODE] In my build.gradle, I have : [CODE] I can't change it to: [CODE] the latest version being found by Android Studio being 7.2.0 If I set: [CODE] I also get the same error (stangely... | android|android-studio|gradle|android-gradle-plugin|build.gradle | 17 | 2022-05-17T08:38:59.603Z | 2,022 | 5 | 8 | 1 | 13,548 | 6 | 453 | 104 | 5 | 5 | true | false | true | true | true | false | medium |
72,270,860 | Why does value of picker disappear while listview is tapped or scrolled? | <p>I have Listview, that use DataTemplateSelector for dynamic adding of custom DataTemplates (containing picker). My issue sets when I scroll or tap listview. In this case are selected items of pickers set to null (there is no value in the row).</p>
<p>Here is part of my code...</p>
<p>xaml:</p>
<pre><code> <... | I have Listview, that use DataTemplateSelector for dynamic adding of custom DataTemplates (containing picker). My issue sets when I scroll or tap listview. In this case are selected items of pickers set to null (there is no value in the row). Here is part of my code... xaml: [CODE] DataTemplateSelector: [CODE] ViewMode... | c#|listview|xamarin.android|picker | 1 | 2022-05-17T08:45:00.990Z | 2,022 | 5 | 8 | 1 | 66 | 1 | 408 | 72 | 4 | 3 | true | false | false | false | false | false | low |
72,270,885 | Get Current Context for Overlay Flutter | <p>I want to display notifications that are being processed by a provider on an open gRPC stream. This is handled by notificationProvider.dart:</p>
<pre><code>if (notification.type == 0) {
showOverlayNotification(notification);
} else {
notificationList.add(notification);
notifyListeners();
}
</code></pre>
<p>sho... | I want to display notifications that are being processed by a provider on an open gRPC stream. This is handled by notificationProvider.dart: [CODE] showOverlayNotification() then displays custom notification Widget OverlayNotification() on top of the current screen that user is in, like: [CODE] Now the problem is that ... | flutter|dart|flutter-layout|overlay|android-context | 0 | 2022-05-17T08:46:38.623Z | 2,022 | 5 | 8 | 1 | 280 | 1 | 623 | 39 | 5 | 2 | true | false | false | false | false | false | zero |
72,270,939 | ExternalSyntheticLambda1 Leak Canary | <p>I'm using LeakCanary to detect leaks in the app I'm working on. And I have no idea where this one comes from. What might ExternalSyntheticLambda1 refer to? I used binding first, and I decided to remove that, since SwipeRefreshLayout leaked. It looks like removing the binding and going old school worked, however now... | I'm using LeakCanary to detect leaks in the app I'm working on. And I have no idea where this one comes from. What might ExternalSyntheticLambda1 refer to? I used binding first, and I decided to remove that, since SwipeRefreshLayout leaked. It looks like removing the binding and going old school worked, however now I g... | android|kotlin|memory-leaks|leakcanary | 2 | 2022-05-17T08:50:51.367Z | 2,022 | 5 | 8 | 1 | 292 | 1 | 478 | 36 | 4 | 3 | true | false | false | false | false | false | low |
72,270,978 | Get wrong value from int* to JintArray in jni | <p>I have a c function int* GenerateIntArray()</p>
<p>it will generate a int array like [0,8,28,108,0,3] and return by Int*</p>
<pre><code>int* GenerateIntArray(){
int rtn[6]={0,8,28,108,0,3};
return rtn;
}
</code></pre>
<p>in my jni layer : fun getIntArrayFromJNI:JIntArray</p>
<p>I do this for get Int* from C Lib</p>... | I have a c function int* GenerateIntArray() it will generate a int array like [0,8,28,108,0,3] and return by Int* [CODE] in my jni layer : fun getIntArrayFromJNI:JIntArray I do this for get Int* from C Lib [CODE] and convert it to IntArray but in Android Layer: fun getIntArrInAndroid():IntArray [CODE] I check the data ... | android|c++|c|java-native-interface | 1 | 2022-05-17T08:52:55.173Z | 2,022 | 5 | 8 | 1 | 96 | 2 | 416 | 45 | 4 | 3 | true | false | false | false | false | false | low |
72,271,036 | How to Call Fast API in kotlin Android Studio | <p>I'm working on a project where I created an API where I can get trends from twitter based on user's entered location. Now I want to call that API in android.
It looks like:
<a href="https://i.stack.imgur.com/vEVYu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vEVYu.png" alt="enter image descript... | I'm working on a project where I created an API where I can get trends from twitter based on user's entered location. Now I want to call that API in android. It looks like: I want to show the GET Trends here: Get Trends Layout: [CODE] I need your help to tell me how to do it in kotlin. I have searched many times but fa... | android|api|kotlin|parameter-passing|getmethod | 0 | 2022-05-17T08:56:57.047Z | 2,022 | 5 | 8 | 1 | 166 | 1 | 510 | 45 | 5 | 1 | true | false | false | false | false | false | zero |
72,271,130 | Jetpack Compose: nested LazyColumn / LazyRow | <p>I've read through similar topics but I couldn't find satisfactory result:</p>
<ul>
<li><a href="https://stackoverflow.com/questions/66908737/what-is-the-equivalent-of-nestedscrollview-recyclerview-or-nested-recyclerv">What is the equivalent of NestedScrollView + RecyclerView or Nested RecyclerView (Recycler inside a... | I've read through similar topics but I couldn't find satisfactory result: What is the equivalent of NestedScrollView + RecyclerView or Nested RecyclerView (Recycler inside another recycler) in Jetpack compose Jetpack Compose: How to put a LazyVerticalGrid inside a scrollable Column? Use lazyColum inside the column has ... | android|kotlin|android-recyclerview|android-jetpack-compose|android-jetpack-compose-list | 12 | 2022-05-17T09:03:11.393Z | 2,022 | 5 | 9 | 1 | 3,946 | 0 | 2,823 | 44 | 5 | 0 | false | true | true | false | true | false | medium |
72,271,175 | How to limit FFMPEG CPU usage on Android | <p>I am recording video on Android and saving it to mp4 files using MediaMuxer.
This works great but a few times I also need to proccess these mp4 files to cut/combine them into a new mp4 while still recording. The speed of this proccessing is not vital.</p>
<p>For cutting and combining I use FFMPEG, specifically
<a hr... | I am recording video on Android and saving it to mp4 files using MediaMuxer. This works great but a few times I also need to proccess these mp4 files to cut/combine them into a new mp4 while still recording. The speed of this proccessing is not vital. For cutting and combining I use FFMPEG, specifically https://github.... | android|performance|ffmpeg|thread-priority | 0 | 2022-05-17T09:06:17.010Z | 2,022 | 5 | 9 | 1 | 100 | 0 | 899 | 40 | 4 | 1 | true | true | false | false | false | false | zero |
72,271,186 | Carousel Slider in Flutter | <p>I have carousal slider but when i slide the image it takes me to the next page instead of next image in slider. What can i do to fix the problem.</p>
<pre><code>CarouselSlider(
items: widget.catData["tradeWithPictures"]
.map<Widget&... | I have carousal slider but when i slide the image it takes me to the next page instead of next image in slider. What can i do to fix the problem. [CODE] | android|flutter|dart|menu|slider | -1 | 2022-05-17T09:06:37.823Z | 2,022 | 5 | 9 | 1 | 340 | 1 | 152 | 26 | 5 | 1 | true | false | false | false | false | true | negative |
72,271,215 | How to create category containing products in firestore firebase | <p>I am using Cloud Firestore to make my own E-commerce App. I want my category collection to contain many categories like shoes, clothes, watches, etc and in each of those categories there are different products so I can click on that category and show all the related products on my app, please guide me or if you have... | I am using Cloud Firestore to make my own E-commerce App. I want my category collection to contain many categories like shoes, clothes, watches, etc and in each of those categories there are different products so I can click on that category and show all the related products on my app, please guide me or if you have an... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-05-17T09:08:24.150Z | 2,022 | 5 | 9 | 1 | 141 | 1 | 379 | 64 | 5 | 0 | false | false | false | false | false | false | zero |
72,271,262 | How to make a customizable color menu for flutter app? | <p>I'd like to make an external dart file (let's call it color_palette.dart), that have some classes of colors. These classes would be able to be changed by a menu on another page of the app. These colors would be used in all the pages to define the colors of Appbar, buttons, icons, etc...
I don't want to use the theme... | I'd like to make an external dart file (let's call it color_palette.dart), that have some classes of colors. These classes would be able to be changed by a menu on another page of the app. These colors would be used in all the pages to define the colors of Appbar, buttons, icons, etc... I don't want to use the theme() ... | flutter|android-studio|class|colors|customization | 0 | 2022-05-17T09:11:16.903Z | 2,022 | 5 | 9 | 1 | 41 | 2 | 496 | 54 | 5 | 2 | true | false | false | false | false | false | zero |
72,271,343 | How to done this curved dynamic path UI | <p>How to implement this UI within android?
<a href="https://i.stack.imgur.com/G07S7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G07S7.png" alt="care ui" /></a></p>
<p>There are some logics following UI having,</p>
<ol>
<li>description is clickable</li>
<li>curve ending is dynamic on screen (star... | How to implement this UI within android? There are some logics following UI having, description is clickable curve ending is dynamic on screen (start and end not the specific location in UI) line should have clickable points every line color could be changed per its priority level is there any way to implement this UI ... | android|android-layout|android-canvas|ui-design|dynamic-ui | 0 | 2022-05-17T09:17:29.313Z | 2,022 | 5 | 9 | 1 | 22 | 0 | 335 | 39 | 5 | 0 | false | true | false | false | false | false | zero |
72,271,363 | What is changed with Bluetooth in Android SDK 32? | <p>After changing my <code>targetSdk</code> to 32, I get the following error:</p>
<pre><code>Settings key: <bluetooth_address> is only readable to apps with targetSdkVersion lower than or equal to: 31
</code></pre>
<p>I think this is happening while checking permissions while loading my app.</p> | After changing my targetSdk to 32, I get the following error: [CODE] I think this is happening while checking permissions while loading my app. | android|android-bluetooth | 0 | 2022-05-17T09:19:42.957Z | 2,022 | 5 | 9 | 1 | 533 | 0 | 143 | 49 | 2 | 1 | true | true | false | false | false | false | zero |
72,271,381 | Problems Navigation Drawer, Android, Kotlin | <p>I wanted to make a side menu for my android application. To do this, in MainActivity, I changed the root layout element from ConstraintLayout to DrawerLayout, added my own toolbar, and then wrote the side menu code. But when I started testing the app on my phone, the elements of my start fragment(fragment_start) mov... | I wanted to make a side menu for my android application. To do this, in MainActivity, I changed the root layout element from ConstraintLayout to DrawerLayout, added my own toolbar, and then wrote the side menu code. But when I started testing the app on my phone, the elements of my start fragment(fragment_start) moved ... | android|kotlin|navigation-drawer|drawerlayout | 0 | 2022-05-17T09:21:27.020Z | 2,022 | 5 | 9 | 1 | 193 | 2 | 846 | 43 | 4 | 4 | true | false | false | false | false | false | zero |
72,271,451 | How to create android application using python/PyQt? | <h2>How to build android applications using PyQt?</h2>
<hr />
<h4>Descriptions</h4>
<p>I want to build an android application using Python language. I use PyQt5 to create the Desktop application and want to use the same library to build android applications too. I've researched PyQt5 for android development, but all I ... | How to build android applications using PyQt? Descriptions I want to build an android application using Python language. I use PyQt5 to create the Desktop application and want to use the same library to build android applications too. I've researched PyQt5 for android development, but all I get are the results related ... | python|android|qt|pyqt|pyqt5 | 0 | 2022-05-17T09:26:47.487Z | 2,022 | 5 | 9 | 1 | 32 | 0 | 722 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
72,271,461 | Cannot mix 2018 and 2021 terms in call to TextTheme() constructor | <p>I upgraded version my flutter project to 3.0.0 in order to use null safety feature. When I run the project I got <strong>Cannot mix 2018 and 2021 terms in call to TextTheme() constructor.</strong> error.</p>
<blockquote>
<p>Cannot mix 2018 and 2021 terms in call to TextTheme() constructor.
'package:flutter/src/mater... | I upgraded version my flutter project to 3.0.0 in order to use null safety feature. When I run the project I got Cannot mix 2018 and 2021 terms in call to TextTheme() constructor. error. Cannot mix 2018 and 2021 terms in call to TextTheme() constructor. 'package:flutter/src/material/text_theme.dart': package:flutter/…/... | android|ios|flutter | 6 | 2022-05-17T09:27:31.550Z | 2,022 | 5 | 9 | 1 | 3,174 | 2 | 985 | 65 | 3 | 0 | false | false | true | false | false | false | medium |
72,271,549 | Lifecycle @OnLifecycleEvent() is deprecated, and you should use LifecycleEventObserver or DefaultLifecycleObserver | <h4>Answer is on bottom</h4>
<p>I think it will be useful for you</p> | Answer is on bottom I think it will be useful for you | android|android-lifecycle|lifecycle|application-lifecycle | 1 | 2022-05-17T09:34:47.733Z | 2,022 | 5 | 9 | 1 | 1,180 | 1 | 53 | 114 | 4 | 0 | false | false | false | false | false | false | low |
72,271,683 | How to get Auth0 working for mobile apps using the Vue SDK? | <p>For my mobile app i'm using Auth0 with Vue to let users login to the app so that they can see protected pages. However, when the user logs in through the external Auth0-loginpage it redirects the user to the <em>redirect_uri</em>. When testing locally in the browser everything seems to be working fine but when I dep... | For my mobile app i'm using Auth0 with Vue to let users login to the app so that they can see protected pages. However, when the user logs in through the external Auth0-loginpage it redirects the user to the redirect_uri . When testing locally in the browser everything seems to be working fine but when I deploy the app... | android|ios|vue.js|mobile|auth0 | 0 | 2022-05-17T09:44:36.827Z | 2,022 | 5 | 9 | 1 | 45 | 0 | 723 | 59 | 5 | 1 | true | true | false | false | false | false | zero |
72,271,723 | How to read text record in a NFC Mifare Classic 1K card in android | <p><a href="https://i.stack.imgur.com/zFgJU.png" rel="nofollow noreferrer">enter image description here</a>
I am newbie java programmer working on a NFC reader project.
I've been trying to read the content of a NFC card in Android but I can't get it to work. I can only retrieve the UID of the NFC card.
I went through d... | enter image description here I am newbie java programmer working on a NFC reader project. I've been trying to read the content of a NFC card in Android but I can't get it to work. I can only retrieve the UID of the NFC card. I went through documentation for NFC in Android and also some tutorials but I don't really unde... | java|android|nfc | 0 | 2022-05-17T09:47:02.610Z | 2,022 | 5 | 9 | 1 | 323 | 1 | 766 | 66 | 3 | 1 | true | false | false | false | false | false | zero |
72,271,736 | Take a photo and saving it in full size | <p>I'm developing an app that has to take pictures from the camera and upload them to a FireBase database. However, when I create a temporary file and try to get the image from the storage to the ImageView I get the error:</p>
<blockquote>
<p>2022-05-18 11:14:18.596 24790-24790/com.example.apptonia D/Exception:
/storag... | I'm developing an app that has to take pictures from the camera and upload them to a FireBase database. However, when I create a temporary file and try to get the image from the storage to the ImageView I get the error: 2022-05-18 11:14:18.596 24790-24790/com.example.apptonia D/Exception: /storage/emulated/0/Pictures/.... | android | 1 | 2022-05-17T09:47:43.133Z | 2,022 | 5 | 9 | 1 | 210 | 3 | 634 | 39 | 1 | 2 | true | false | false | false | false | false | low |
72,271,868 | Jetpack Compose Nested LazyColumn | <p>How do I build this UI in Jetpack Compose? Assuming I will need a lazy column for the filter titles and then another nested lazy column for the actual filters but since the jetpack compose doesn't allow nested lazy column what's the alternative way to build it?</p>
<p>Even if I specify the height for the second or f... | How do I build this UI in Jetpack Compose? Assuming I will need a lazy column for the filter titles and then another nested lazy column for the actual filters but since the jetpack compose doesn't allow nested lazy column what's the alternative way to build it? Even if I specify the height for the second or first lazy ... | android|android-studio|android-jetpack-compose|android-jetpack | 1 | 2022-05-17T09:55:58.007Z | 2,022 | 5 | 9 | 1 | 1,313 | 1 | 358 | 33 | 4 | 0 | false | false | false | false | false | false | low |
72,271,913 | Self-Signed CA Certificates Rejected by Android | <p>I'm using the following script to create certificates using my own internal CA(Work in progress):</p>
<pre><code>#!/bin/bash
while [[ "$#" < 1 ]];do
echo "Usage: cert-admin.sh [COMMAND] [OPTIONS]\n"
echo " Commands:"
echo " newpair - Creates a key and signed certific... | I'm using the following script to create certificates using my own internal CA(Work in progress): [CODE] intermediate/openssl.cnf [CODE] With the intermediate CA trusted in Arch Linux, the certificate doesn't throw any errors. However, on Android I get errors. I think it has something to do with SAN as the Bitwarden An... | android|ssl|openssl|ssl-certificate | 1 | 2022-05-17T09:58:33.760Z | 2,022 | 5 | 9 | 1 | 224 | 0 | 1,041 | 47 | 4 | 3 | true | true | false | false | false | false | low |
72,271,943 | Android 12 migration : * What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) | <p>After changing the compile and target version to 31 getting the below error on building the project</p>
<ul>
<li>Exception is:
org.gradle.launcher.daemon.client.DaemonDisappearedException: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
at org.gradle.launcher.daemon.client.... | After changing the compile and target version to 31 getting the below error on building the project Exception is: org.gradle.launcher.daemon.client.DaemonDisappearedException: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) at org.gradle.launcher.daemon.client.DaemonClient.han... | android-12 | 0 | 2022-05-17T10:00:32.727Z | 2,022 | 5 | 10 | 1 | 58 | 0 | 1,140 | 132 | 1 | 0 | false | true | false | false | false | false | zero |
72,272,043 | How to load an existing pdf file and print using printing package in flutter | <p><strong>I have selected the pdf files using the file picker package</strong></p>
<p><a href="https://pub.dev/packages/file_picker" rel="nofollow noreferrer">file_picker</a>: ^4.5.1</p>
<p>I have a path of file like</p>
<p>path = /data/user/0/com.package.project1/cache/file_picker/sample (1).pdf</p>
<p><strong>Now I'... | I have selected the pdf files using the file picker package file_picker : ^4.5.1 I have a path of file like path = /data/user/0/com.package.project1/cache/file_picker/sample (1).pdf Now I'm trying to print an existing pdf file that is available at that path in file system. So I added a printing package to my flutter pr... | android|ios|flutter|dart|filepicker | 0 | 2022-05-17T10:07:46.147Z | 2,022 | 5 | 10 | 1 | 272 | 0 | 707 | 76 | 5 | 3 | true | true | false | false | false | false | zero |
72,272,247 | Click/Touch the parent layout edittext when Alert dialog is showing | <p>I am creating custom keyboard. I placed the keyboard in Alert dialog. Now I am facing a issue. I am not able to click/touch the edit text or button in the parent layout when Alert dialog is showing. How to touch the parent layout when Alert dialog is showing.
<a href="https://i.stack.imgur.com/mvEVQ.png" rel="nofoll... | I am creating custom keyboard. I placed the keyboard in Alert dialog. Now I am facing a issue. I am not able to click/touch the edit text or button in the parent layout when Alert dialog is showing. How to touch the parent layout when Alert dialog is showing. | android | 0 | 2022-05-17T10:20:03.280Z | 2,022 | 5 | 10 | 1 | 18 | 0 | 259 | 67 | 1 | 0 | false | true | false | false | false | false | zero |
72,272,291 | How to keep the device awake? | <p>I am using a volley library in my app.and a json placeholder url for api call.i am measuring the time for response to come after an api call.i also want to keep the device or channel awake.which are the ways to implemnt this.</p>
<p><strong>Main Activity Class</strong>
-I tried to use Flag_keep_screen_on but still i... | I am using a volley library in my app.and a json placeholder url for api call.i am measuring the time for response to come after an api call.i also want to keep the device or channel awake.which are the ways to implemnt this. Main Activity Class -I tried to use Flag_keep_screen_on but still it didn't worked for me. [CO... | android|api | 0 | 2022-05-17T10:23:00.077Z | 2,022 | 5 | 10 | 1 | 62 | 3 | 399 | 29 | 2 | 3 | true | false | false | false | false | false | zero |
72,272,360 | Silent printing for mobile devices via Chrome | <p>I'm currently using Scalefusion for kiosk mode but it's not working the way I want, I'm still seeing the print preview. I tried some JS code but couldn't make it. I want the pdf link I created to be printed without print preview or download. Has anyone been able to achieve this or have any suggestions?</p>
<p>Edit(M... | I'm currently using Scalefusion for kiosk mode but it's not working the way I want, I'm still seeing the print preview. I tried some JS code but couldn't make it. I want the pdf link I created to be printed without print preview or download. Has anyone been able to achieve this or have any suggestions? Edit(More Info):... | javascript|android|mobile|printing|silent | 0 | 2022-05-17T10:26:58.473Z | 2,022 | 5 | 10 | 1 | 65 | 0 | 750 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
72,272,443 | Unable to change build variant in android studio | <p>I have a list of build variants in my project and the default selected is the first one in the top of the list,
when I change to the variant i want it again defaults to the first one,</p>
<p>i tried <code>sync project with gradle files</code>, <code>clean project</code>, <code>invalidate chaches and restart</code>, ... | I have a list of build variants in my project and the default selected is the first one in the top of the list, when I change to the variant i want it again defaults to the first one, i tried sync project with gradle files , clean project , invalidate chaches and restart , I also restarted mac just in case but the same... | android|android-studio|android-build-flavors|build-variant | 0 | 2022-05-17T10:31:57.643Z | 2,022 | 5 | 10 | 1 | 115 | 0 | 829 | 48 | 4 | 1 | true | true | false | false | false | false | zero |
72,272,534 | how to get custom account details on new Android Phone? | <p>Using AccountManager apis how we can get custom account details from old device to new device ?</p> | Using AccountManager apis how we can get custom account details from old device to new device ? | android|accountmanager | 0 | 2022-05-17T10:36:59.260Z | 2,022 | 5 | 10 | 1 | 9 | 0 | 95 | 55 | 2 | 0 | false | true | false | false | false | false | zero |
72,272,591 | How to access data stored in digital wellbeing [android] using a Flutter/React Native Application? | <p>I am planning to develop a survey tool to monitor app usage statistics for an individual. Accessing data stored in digital wellbeing [android] such as app name, start time, end time, etc. will be helpful for the analysis part. This tool will be an android app developed over flutter/react native.</p>
<p>Is there any ... | I am planning to develop a survey tool to monitor app usage statistics for an individual. Accessing data stored in digital wellbeing [android] such as app name, start time, end time, etc. will be helpful for the analysis part. This tool will be an android app developed over flutter/react native. Is there any way/API to... | android|flutter|react-native|usage-statistics | 1 | 2022-05-17T10:42:10.597Z | 2,022 | 5 | 10 | 1 | 281 | 0 | 544 | 98 | 4 | 0 | false | true | false | false | false | false | low |
72,272,598 | Decrypt facebook install referrer data , Android | <p><a href="https://developers.facebook.com/docs/app-ads/install-referrer/" rel="nofollow noreferrer">https://developers.facebook.com/docs/app-ads/install-referrer/</a>
Facebook uses AES-GCM 256bit symmetric key using LibSodium to encrypt their referrer data.
And i am trying to decrypt them on Android.</p>
<p>Facebook ... | https://developers.facebook.com/docs/app-ads/install-referrer/ Facebook uses AES-GCM 256bit symmetric key using LibSodium to encrypt their referrer data. And i am trying to decrypt them on Android. Facebook Example : $key = "2575590594a9cd809e5bfacf397f8c1ac730dbc38a3e137ecd1ab66591c8c3c9" $cipher = "afe... | android|facebook|cryptography|install-referrer | 0 | 2022-05-17T10:42:51.553Z | 2,022 | 5 | 10 | 1 | 306 | 0 | 1,182 | 48 | 4 | 1 | true | true | false | false | false | false | zero |
72,272,631 | Kotlin, text does not appear on buttons | <p>i got two buttons in android app layout(kotlin language). The problem is that text does not appear on the button, like on the screenshot.
<a href="https://i.stack.imgur.com/OuRAg.png" rel="nofollow noreferrer">Screenshot(click)</a> What can i do to fix this? I can't find anything about this problem on the internet.<... | i got two buttons in android app layout(kotlin language). The problem is that text does not appear on the button, like on the screenshot. Screenshot(click) What can i do to fix this? I can't find anything about this problem on the internet. | android|android-studio|kotlin|android-layout | -1 | 2022-05-17T10:45:00.227Z | 2,022 | 5 | 10 | 1 | 90 | 1 | 240 | 39 | 4 | 0 | false | false | false | false | false | true | negative |
72,272,635 | AAPT2 aapt2-4.1.0-6503028-windows Daemon #0: | <p>I added the geolocator plugin to pubspec.yaml and my application stopped running with this error</p>
<p>For some reason, this only works with this plugin, I changed its version - there was no positive reaction.</p>
<p>Deleted all the content he swears at - he just creates it again and continues to swear</p>
<p><code... | I added the geolocator plugin to pubspec.yaml and my application stopped running with this error For some reason, this only works with this plugin, I changed its version - there was no positive reaction. Deleted all the content he swears at - he just creates it again and continues to swear FAILURE: Build failed with an... | android|flutter|geolocator | 0 | 2022-05-17T10:45:13.147Z | 2,022 | 5 | 10 | 1 | 126 | 0 | 492 | 44 | 3 | 2 | true | true | false | false | false | false | zero |
72,272,694 | java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Long com.google.firebase.firestore.QueryDocumentSnapshot.getLong(java.lang | <p>please help the load categories method is showing this exception
I am trying to fetch data from firebase and this null pointer exception is coming up somebody told me that he solved this problem using typecasting like he did type conversion to parse the value to int. I don't know how it will happen. Help please
the ... | please help the load categories method is showing this exception I am trying to fetch data from firebase and this null pointer exception is coming up somebody told me that he solved this problem using typecasting like he did type conversion to parse the value to int. I don't know how it will happen. Help please the cod... | android|firebase|google-cloud-firestore | 1 | 2022-05-17T10:48:26.240Z | 2,022 | 5 | 10 | 1 | 150 | 0 | 864 | 150 | 3 | 3 | true | true | false | false | false | false | low |
72,272,761 | Using carousel slider with page view | <p>I am using carousal slider with page view but when I am sliding the images in scroll view it is sliding to me to next page instead of next image. I just want to slide images when I slide on image and i want to slide to the next page when i slide below the image. but now wherever i slide on the screen it take me to t... | I am using carousal slider with page view but when I am sliding the images in scroll view it is sliding to me to next page instead of next image. I just want to slide images when I slide on image and i want to slide to the next page when i slide below the image. but now wherever i slide on the screen it take me to the ... | android|flutter|dart|carousel|flutter-pageview | 0 | 2022-05-17T10:52:55.983Z | 2,022 | 5 | 10 | 1 | 251 | 0 | 393 | 36 | 5 | 2 | true | true | false | false | false | false | zero |
72,272,769 | It is possible to have "trail" effect in imageview? | <p>Is it possible to have "trail" effect in an imageview (Android studio), similar to unity3D?</p>
<p>Just add to the context:
When they move an object in unity3D while dragging, they will just add component and adjust the trail to have effects in object while moving.</p> | Is it possible to have "trail" effect in an imageview (Android studio), similar to unity3D? Just add to the context: When they move an object in unity3D while dragging, they will just add component and adjust the trail to have effects in object while moving. | java|android | 1 | 2022-05-17T10:53:17.237Z | 2,022 | 5 | 10 | 1 | 26 | 0 | 268 | 51 | 2 | 0 | false | true | false | false | false | false | low |
72,272,985 | Android application - Internal Testing url not working | <p>I have an android application published via Managed Play Store. This application is to be published from my organization to other organizations via the "Manage Google Play". However, before publishing the application, I would like this to be tested by some of the users.
I have added their google ids as int... | I have an android application published via Managed Play Store. This application is to be published from my organization to other organizations via the "Manage Google Play". However, before publishing the application, I would like this to be tested by some of the users. I have added their google ids as intern... | android|google-play-console|google-play-internal-testing | 1 | 2022-05-17T11:09:23.250Z | 2,022 | 5 | 11 | 1 | 32 | 0 | 564 | 54 | 3 | 0 | false | true | false | false | false | false | low |
72,273,037 | Where should an NFC timeout be handled? | <p>I need to return to a server a specific return code in the case of a NFC timeout in an android application.</p>
<p>I have found the documentation for the setting a timeout, however I cant find documentation about how this timeout should/can be handled if it occurs.</p>
<p><a href="https://developer.android.com/refer... | I need to return to a server a specific return code in the case of a NFC timeout in an android application. I have found the documentation for the setting a timeout, however I cant find documentation about how this timeout should/can be handled if it occurs. https://developer.android.com/reference/android/nfc/tech/IsoD... | android|nfc|emv | 0 | 2022-05-17T11:12:18.687Z | 2,022 | 5 | 11 | 1 | 128 | 1 | 463 | 39 | 3 | 2 | true | false | false | false | false | false | zero |
72,273,201 | Flutter error when building libflutter_rust_bridge_example for Android: Failed to load dynamic library 'libflutter_rust_bridge_example.so' | <p>I am trying build the <a href="https://github.com/fzyzcjy/flutter_rust_bridge" rel="nofollow noreferrer">flutter_rust_bridge project</a> (frb_example/with_flutter) for Android, but i receive the following error multiple times when trying to run:</p>
<pre><code>E/flutter (10161): [ERROR:flutter/lib/ui/ui_dart_state.... | I am trying build the flutter_rust_bridge project (frb_example/with_flutter) for Android, but i receive the following error multiple times when trying to run: [CODE] Where is the mentioned libflutter_rust_bridge_example.so file supposed to be? I also get the following warnings: [CODE] The android emulator (Nexus 5 andr... | android|flutter|rust|ffi | 2 | 2022-05-17T11:25:28.437Z | 2,022 | 5 | 11 | 1 | 195 | 2 | 617 | 138 | 4 | 2 | true | false | false | false | false | false | low |
72,273,254 | How can I refresh my composable when new data is being inserted? | <p>My team and I have to make a license plate scanning app as a school project. With that, we have comments and pictures which can be added to cargo. Whenever the user scans a plate they also get the chance to change the checked info in case of a mistake. The problem is that whenever we delete data from the scanned pla... | My team and I have to make a license plate scanning app as a school project. With that, we have comments and pictures which can be added to cargo. Whenever the user scans a plate they also get the chance to change the checked info in case of a mistake. The problem is that whenever we delete data from the scanned plate ... | kotlin|android-jetpack-compose | 1 | 2022-05-17T11:29:30.120Z | 2,022 | 5 | 11 | 1 | 484 | 1 | 1,108 | 64 | 2 | 0 | false | false | false | false | false | false | low |
72,273,267 | Post and receive Json String using retrofit in an android application | <p>I am new to android coding.
In my android application , I have to match a string present in a log file on the server with the current signature of the android application using retrofit client. But I am unable to get any result and code is skipping the response part.</p>
<p>Here is my work around:</p>
<p>My API.JAVA... | I am new to android coding. In my android application , I have to match a string present in a log file on the server with the current signature of the android application using retrofit client. But I am unable to get any result and code is skipping the response part. Here is my work around: My API.JAVA class package co... | java|android|retrofit | 1 | 2022-05-17T11:30:19.133Z | 2,022 | 5 | 11 | 1 | 49 | 0 | 584 | 69 | 3 | 2 | true | true | false | false | false | false | low |
72,273,466 | Task 'ktlintCheck' not found in project | <p>I have a sample project.
The build.gradle (project) is:</p>
<pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.1.3' apply false
id 'com.android.library' version '7.1.3' apply false
id 'org.jetbra... | I have a sample project. The build.gradle (project) is: [CODE] The build.gradle (app) is: [CODE] I have installed the pre-commit hook successfully. The 4 below attempts are working the same way even if use app:ktlintCheck. I can run the ktlintCheck from Gradle window in Android studio. I can run the task from command l... | android|gradle|githooks|ktlint | 3 | 2022-05-17T11:44:55.600Z | 2,022 | 5 | 11 | 1 | 443 | 0 | 866 | 39 | 4 | 4 | true | true | false | false | false | false | low |
72,273,625 | Synchronising attrs.xml enum and kotlin enum class | <p>So, in my attrs.xml i have an enum attribute like this:</p>
<pre class="lang-xml prettyprint-override"><code> <attr name="direction">
<enum name="horizontal" value="0" />
<enum name="vertical" value="1" />
<enum name=&q... | So, in my attrs.xml i have an enum attribute like this: [CODE] then in my custom view class I have this property which I set in the constructor with the attribute's value. The int value that the attribute gives is converted to an enum class value, which I can then use in the rest of the view's code: [CODE] So the probl... | android|kotlin|enums|android-custom-view | 0 | 2022-05-17T11:55:56.023Z | 2,022 | 5 | 11 | 1 | 35 | 0 | 863 | 50 | 4 | 2 | true | true | false | false | false | false | zero |
72,273,721 | Build Error: Dependent features configured but no package ID was set | <p>My Android project has two application modules (i.e. app and user modules). Can I create dependency between them?</p>
<p>When I build the app with by adding the "implementation project(path: ':user')", it prompt me the error message as post title.</p>
<p>I found that I could change the module to "lib... | My Android project has two application modules (i.e. app and user modules). Can I create dependency between them? When I build the app with by adding the "implementation project(path: ':user')", it prompt me the error message as post title. I found that I could change the module to "library". I pref... | android|dependency-injection|build.gradle | 0 | 2022-05-17T12:02:46.653Z | 2,022 | 5 | 12 | 1 | 44 | 0 | 407 | 68 | 3 | 2 | true | true | false | false | false | false | zero |
72,273,821 | Android Car Head unit: external microphone works for some apps, but not in calls or Google voice search | <p>I installed a cheap chinese Android based car head unit in my 15 year old second hand car, with probably Android 8 or 9 (maybe even a fake version where the version shown is higher than is installed). For most things it works. Sound output is good, bluetooth works, Wifi works, Google apps like Maps, Chrome, Youtub... | I installed a cheap chinese Android based car head unit in my 15 year old second hand car, with probably Android 8 or 9 (maybe even a fake version where the version shown is higher than is installed). For most things it works. Sound output is good, bluetooth works, Wifi works, Google apps like Maps, Chrome, Youtube all... | android|audio | 0 | 2022-05-17T12:10:19.967Z | 2,022 | 5 | 12 | 1 | 444 | 0 | 893 | 103 | 2 | 0 | false | true | false | false | false | false | zero |
72,273,850 | How to store a file in public directories | <p>i know this question might have a simple response, but i can0t find anything that fits my case in the docs.</p>
<p>What i'm trying to achieve is to store a file (E.G test.txt) in /download directory or any other dir that is public and visible by any resource finder.</p>
<p>I don't find any hint of the correct approa... | i know this question might have a simple response, but i can0t find anything that fits my case in the docs. What i'm trying to achieve is to store a file (E.G test.txt) in /download directory or any other dir that is public and visible by any resource finder. I don't find any hint of the correct approach in the docs or... | android|file|android-12 | 0 | 2022-05-17T12:12:10.450Z | 2,022 | 5 | 12 | 1 | 132 | 2 | 387 | 41 | 3 | 0 | false | false | false | false | false | false | zero |
72,273,875 | Trying to build PDF reader using MuPDF library, app crashing while opening PDF | <p>Good Day,
I'm trying to build PDF reader using MuPDF.
Everytime when I try opening pdf in app its showing <code>libmupdf_java.so</code> not found and application crashed. I'm using mupdf.aar bundle, I opened bundle & checked found libmupdf_java.so in it.
created <code>jniLibs</code> folder in main & copied <... | Good Day, I'm trying to build PDF reader using MuPDF. Everytime when I try opening pdf in app its showing libmupdf_java.so not found and application crashed. I'm using mupdf.aar bundle, I opened bundle & checked found libmupdf_java.so in it. created jniLibs folder in main & copied armeabi-v7a & x86 .so files in it but ... | android|android-library|aar|mupdf|.so | 0 | 2022-05-17T12:14:48.263Z | 2,022 | 5 | 12 | 1 | 58 | 1 | 473 | 78 | 5 | 1 | 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.