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,219,673 | Battery optimization not available on WearOS | <p>I'm developing a tracking application that runs on Wear OS watches. I have some troubles when the watch goes to sleep. As soon as the watch goes to Deep Idle mode, all sensors acquisition stops. For that I'll need to whitelist the app using:</p>
<pre><code>Intent intent = new Intent();
intent.setAction(Settings.ACTI... | I'm developing a tracking application that runs on Wear OS watches. I have some troubles when the watch goes to sleep. As soon as the watch goes to Deep Idle mode, all sensors acquisition stops. For that I'll need to whitelist the app using: [CODE] This piece of code works well on mobile version but nothing happen on W... | android|wear-os|battery | 1 | 2022-08-03T09:53:47.637Z | 2,022 | 8 | 9 | 2 | 50 | 0 | 919 | 44 | 3 | 2 | true | true | false | false | false | false | low |
73,219,718 | How to merge the duplicate code in one method because there are 4 imageView would be used in same code | <p>Here create a function to paint the line in each imageView. There are 4 imageView will use the duplicate code</p>
<pre><code>public class ChildrenActivity extends AppCompatActivity {
ImageView imageView1, imageView2, imageView3, imageView4;
Canvas canvas1, canvas2;
Paint paint;
B... | Here create a function to paint the line in each imageView. There are 4 imageView will use the duplicate code [CODE] Here attached the ImageView1 to implement the painting function. Please advice me to solve the problem. [CODE] Here attached the ImageView2 to implement the painting function. Please advice me to solve t... | java|android | 0 | 2022-08-03T09:57:31.917Z | 2,022 | 8 | 9 | 2 | 40 | 1 | 392 | 102 | 2 | 3 | true | false | false | false | false | false | zero |
73,219,724 | BLE scanner on Android 12 not emit devices in Foreground service after phone reboot | <p>I have Android 10 and Android 12 phones. BLE scanner works fine after rebooting the first one, but doesn't work on the second one.</p>
<p>App has all required permissions requested in runtime:</p>
<pre><code> <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30&... | I have Android 10 and Android 12 phones. BLE scanner works fine after rebooting the first one, but doesn't work on the second one. App has all required permissions requested in runtime: [CODE] GPS and Bluetooth are enabled on the phone. After rebooting, Foreground service is started from the broadcast receiver ( Intent... | android|bluetooth-lowenergy|android-12 | 1 | 2022-08-03T09:57:43.063Z | 2,022 | 8 | 9 | 2 | 98 | 2 | 651 | 83 | 3 | 2 | true | false | false | false | false | false | low |
73,219,821 | Image distorted on different resolution devices when using scaleType="fitXY" | <p>I have a carousel banner and I have the requirement the images to cover all the layout and be displayed the same irrespective of device resolution. Below is the original image, device screenshot of correct use and lastly, device screenshot of wrong use</p>
<p><a href="https://i.stack.imgur.com/FlHUt.jpg" rel="nofoll... | I have a carousel banner and I have the requirement the images to cover all the layout and be displayed the same irrespective of device resolution. Below is the original image, device screenshot of correct use and lastly, device screenshot of wrong use As you can see in the last image, the circle on the right upper par... | android|imageview|scaletype | 1 | 2022-08-03T10:03:44.307Z | 2,022 | 8 | 10 | 2 | 43 | 0 | 692 | 76 | 3 | 2 | true | true | false | false | false | false | low |
73,219,835 | How to include only OpenCV Android library that I need? | <p>I am trying to use OpenCV library for my Android app (OpenCV 4.6.0). But the size of my app is really big after I added the library. I want to only include the part of the library that I use, which is <code>imgproc</code> and <code>core</code> (specifically Sobel edge detection). I have tried to edit the CMakeLists.... | I am trying to use OpenCV library for my Android app (OpenCV 4.6.0). But the size of my app is really big after I added the library. I want to only include the part of the library that I use, which is imgproc and core (specifically Sobel edge detection). I have tried to edit the CMakeLists.txt (which is located on libc... | android|opencv|android-ndk | 2 | 2022-08-03T10:04:52.910Z | 2,022 | 8 | 10 | 2 | 195 | 2 | 1,496 | 55 | 3 | 6 | true | false | false | false | false | false | low |
73,219,875 | BottonNavigation fragment viewmodel not cleared on fragment destroy | <p>I use BottonNavigation to switch between fragments. The fragments have ViewModels annotated with <code>@HiltViewModel</code> and initilized by fragments as <code>by viewModels()</code>.</p>
<p>Why do the ViewModels not get cleared/destroyed when the fragments are destroyed (on havigation between fragments)?</p> | I use BottonNavigation to switch between fragments. The fragments have ViewModels annotated with @HiltViewModel and initilized by fragments as by viewModels() . Why do the ViewModels not get cleared/destroyed when the fragments are destroyed (on havigation between fragments)? | android|android-fragments|android-viewmodel | 2 | 2022-08-03T10:07:25.570Z | 2,022 | 8 | 10 | 2 | 27 | 0 | 276 | 67 | 3 | 0 | false | true | false | false | false | false | low |
73,219,930 | Unable to create preview of the app actions used in the app in google assistant | <p>I have added the shortcuts.xml in res/xml and also added the</p>
<pre><code><meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
</code></pre>
<p>in the AndroidManifest.xml and also uploaded the signed bundle file in the play console internal testing.</... | I have added the shortcuts.xml in res/xml and also added the [CODE] in the AndroidManifest.xml and also uploaded the signed bundle file in the play console internal testing. But I'm getting the below error while creating the preview using the google assistant app actions test tool in android studio [CODE] | android|flutter|google-assistant|app-actions | 2 | 2022-08-03T10:10:55.103Z | 2,022 | 8 | 10 | 2 | 174 | 1 | 306 | 79 | 4 | 2 | true | false | false | false | false | false | low |
73,220,122 | How to traverse files in Android directories in React Native | <p>I'm trying to traverse the contents of <strong>DCIM</strong> but to no success.</p>
<p>The attempt below can only read <strong>folders</strong> but never recursively gets into them like I'm trying to.</p>
<p><strong>DCIM</strong> does have files inside it.</p>
<p>How can I traverse files in a directory in <strong>An... | I'm trying to traverse the contents of DCIM but to no success. The attempt below can only read folders but never recursively gets into them like I'm trying to. DCIM does have files inside it. How can I traverse files in a directory in Android with React Native? [CODE] Thank you all in advance. | android|react-native|react-native-fs | 1 | 2022-08-03T10:25:01.620Z | 2,022 | 8 | 10 | 2 | 19 | 0 | 294 | 60 | 3 | 1 | true | true | false | false | false | false | low |
73,220,157 | How do I resolve the a build exception failure in Android Studio? | <p>I have been trying to run my flutter app through an emulator but I end up getting an error in the app/build.gradle section. Below is the error message, any insights to this will help</p>
<ul>
<li>What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin 'kotlin-android'. > The cur... | I have been trying to run my flutter app through an emulator but I end up getting an error in the app/build.gradle section. Below is the error message, any insights to this will help What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin 'kotlin-android'. > The current Gradle version 6.... | android|flutter|dart | 0 | 2022-08-03T10:28:08.230Z | 2,022 | 8 | 10 | 2 | 32 | 1 | 450 | 65 | 3 | 0 | false | false | false | false | false | false | zero |
73,220,189 | What are differents between Composable function and normal function in Android? | <p>I have read the official <a href="https://developer.android.com/jetpack/compose/tutorial" rel="noreferrer">document</a> about Composable functions</p>
<p>But I can't understand Composable functions.<br />
For example, <code>rememberWatchState()</code> is a <code>Composable</code> function in Code A, but it doesn't d... | I have read the official document about Composable functions But I can't understand Composable functions. For example, rememberWatchState() is a Composable function in Code A, but it doesn't define my app's UI just like a normal function. What is the difference between the Composable function and the normal function in... | android|android-jetpack-compose | 5 | 2022-08-03T10:30:00.497Z | 2,022 | 8 | 10 | 2 | 239 | 1 | 343 | 79 | 2 | 1 | true | false | false | false | false | false | low |
73,220,229 | How can I fix this [could not find method layout()] | <p>I installed <code>com.jfrog.artifactory</code> plugin correctly using Gradle 7.+.</p>
<p>Now, I read the documentaion to complete my installation <a href="https://www.jfrog.com/confluence/display/JFROG/Gradle+Artifactory+Plugin" rel="nofollow noreferrer">Gradle Artifactory Plugin</a> , but as the following image sho... | I installed com.jfrog.artifactory plugin correctly using Gradle 7.+. Now, I read the documentaion to complete my installation Gradle Artifactory Plugin , but as the following image shown I got that error ! Could not find method layout() How can I solve this? | android|gradle|artifactory | 0 | 2022-08-03T10:32:19.123Z | 2,022 | 8 | 10 | 2 | 76 | 1 | 258 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
73,220,243 | Adding files to Android Bug Report | <p>In our AOSP build we have a third party tool that periodically requests to the system a bug report, grabs the generated zip file and uploads it.
Some of our apps generate files that we would like to add in the system bug report so that when the third party tool collects the bug report, everything goes in the same zi... | In our AOSP build we have a third party tool that periodically requests to the system a bug report, grabs the generated zip file and uploads it. Some of our apps generate files that we would like to add in the system bug report so that when the third party tool collects the bug report, everything goes in the same zip f... | android|bug-reporting | 0 | 2022-08-03T10:33:20.657Z | 2,022 | 8 | 10 | 2 | 32 | 0 | 658 | 34 | 2 | 0 | false | true | false | false | false | false | zero |
73,220,269 | Android drawable menu options are not clickable | <p>I want to create a drawable menu for my android app, currently using Java. I followed this tutorial: <a href="https://www.geeksforgeeks.org/navigation-drawer-in-android/" rel="nofollow noreferrer">https://www.geeksforgeeks.org/navigation-drawer-in-android/</a></p>
<p><strong>Mainactivity.java</strong></p>
<pre><code... | I want to create a drawable menu for my android app, currently using Java. I followed this tutorial: https://www.geeksforgeeks.org/navigation-drawer-in-android/ Mainactivity.java [CODE] activity_main.xml There is a big relativeLayout and some linearLayouts, at the very end, this code: [CODE] navigation.xml [CODE] The c... | android|menu|drawable | 0 | 2022-08-03T10:35:07.523Z | 2,022 | 8 | 10 | 2 | 34 | 0 | 702 | 47 | 3 | 3 | true | true | false | false | false | false | zero |
73,220,291 | Android 10 manage pdf file from scoped/external storage | <p>I have problem with file management in external/scoped storage in Android 10.</p>
<p>Long story short, I'm downloading pdf from Internet, saving in Documents/Subfolder, and delete if i need.
I'm using these functions:</p>
<p><strong>Downloading file</strong><br>
I'm just using Retrofit</p>
<pre><code>@Streaming
@G... | I have problem with file management in external/scoped storage in Android 10. Long story short, I'm downloading pdf from Internet, saving in Documents/Subfolder, and delete if i need. I'm using these functions: Downloading file I'm just using Retrofit [CODE] Saving file [CODE] FileNameWithType -> Its just a regular Str... | android|file|android-jetpack-compose|file-management|file-manager | 0 | 2022-08-03T10:36:48.383Z | 2,022 | 8 | 10 | 2 | 50 | 0 | 1,497 | 55 | 5 | 12 | true | true | false | false | false | false | zero |
73,220,300 | Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. react-native | <p>I am trying to create a react native plugin project.
As part of the project, I need to use external artifacts and apply them to my own project.
The project is built with the plugin itself and an example folder.
To bring the artifacts from the URL, I am using maven like below:</p>
<p>plugin/android/build.gradle:</p>
... | I am trying to create a react native plugin project. As part of the project, I need to use external artifacts and apply them to my own project. The project is built with the plugin itself and an example folder. To bring the artifacts from the URL, I am using maven like below: plugin/android/build.gradle: [CODE] exmaple... | android|reactjs|react-native|plugins|android-gradle-plugin | 0 | 2022-08-03T10:37:33.600Z | 2,022 | 8 | 10 | 2 | 103 | 0 | 1,503 | 100 | 5 | 2 | true | true | false | false | false | false | zero |
73,220,383 | WebView background transparent using modelviewer | <p>I am using modelviewer to show a 3d model on a webview in kotlin android studio. The problem is when i load the object the background shows white.
I have css with background-color:transparent and when it shows ignore the css.</p>
<p>Anyone knows how to do it?</p>
<p>modelViewer.html</p>
<pre><code><!DOCTYPE html&... | I am using modelviewer to show a 3d model on a webview in kotlin android studio. The problem is when i load the object the background shows white. I have css with background-color:transparent and when it shows ignore the css. Anyone knows how to do it? modelViewer.html [CODE] LoginActivity.kt [CODE] } Result: error | android|css|kotlin|webview|transparent | 0 | 2022-08-03T10:44:17.667Z | 2,022 | 8 | 10 | 2 | 54 | 1 | 316 | 48 | 5 | 2 | true | false | false | false | false | false | zero |
73,220,477 | add dmesg logs to bugreport android | <p>I am working in Android kernel, for some reason I need to add dmesg logs into bugreport so if I use</p>
<blockquote>
<p>adb bugreport</p>
</blockquote>
<p>I can get dmesg as well as other file inside bugreport.(suppose that I saved last dmesg in a persisted place)</p> | I am working in Android kernel, for some reason I need to add dmesg logs into bugreport so if I use adb bugreport I can get dmesg as well as other file inside bugreport.(suppose that I saved last dmesg in a persisted place) | android|logging|android-source|dmesg | 0 | 2022-08-03T10:51:04.983Z | 2,022 | 8 | 10 | 2 | 24 | 0 | 223 | 35 | 4 | 0 | false | true | false | false | false | false | zero |
73,220,796 | How to make auto refreshing on recyclerview Android while getting data from firebase firestore | <p>I added a swipe SwipeRefreshLayout but the data only show when I swipe down to refresh. If I don't refresh the data didn't show. I want an auto refresh on the background when an activity is created.</p>
<p>This is my XML</p>
<pre><code><androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id=&quo... | I added a swipe SwipeRefreshLayout but the data only show when I swipe down to refresh. If I don't refresh the data didn't show. I want an auto refresh on the background when an activity is created. This is my XML [CODE] After getting data from the firebase I added it to the list and add that list into the adapter. I t... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-08-03T11:17:43.700Z | 2,022 | 8 | 11 | 2 | 27 | 1 | 429 | 94 | 5 | 2 | true | false | false | false | false | false | zero |
73,220,836 | Show custom alphabets - a,b,c,d,e only (Android Keyboard) | <p>Is it possible to show only 5 alphabets - "a","b","c","d","e" only rather then showing all the alphabets on android keyboard. I tried it by adding below property to edittext but it is not working still it is showing full keyboard.</p>
<pre><code>android:inputType=&qu... | Is it possible to show only 5 alphabets - "a","b","c","d","e" only rather then showing all the alphabets on android keyboard. I tried it by adding below property to edittext but it is not working still it is showing full keyboard. [CODE] | android|kotlin|android-layout|android-softkeyboard|custom-keyboard | 0 | 2022-08-03T11:20:26.043Z | 2,022 | 8 | 11 | 2 | 42 | 1 | 287 | 57 | 5 | 1 | true | false | false | false | false | false | zero |
73,220,953 | How to add custom object ID to realm record? | <p>I’m trying to implement simple app that reads and writes to/from realm in my Android/Kotlin app. I have two functions:</p>
<pre class="lang-kotlin prettyprint-override"><code>class MainActivity : AppCompatActivity() {
private var realm: Realm? = null
private var key :String = "012345678901234567890123&... | I’m trying to implement simple app that reads and writes to/from realm in my Android/Kotlin app. I have two functions: [CODE] If I use a String as an object ID (var key : String = “key-val”) I get an error: [CODE] I try to create an ObjectID instance: [CODE] Now objectID is accepted but the log is: [CODE] How should I ... | android|kotlin|realm | 0 | 2022-08-03T11:29:23.337Z | 2,022 | 8 | 11 | 2 | 50 | 0 | 332 | 44 | 3 | 4 | true | true | false | false | false | false | zero |
73,220,956 | Running commands with ADB compiled for ARM/ARM64 architecture | <p>I came across this project on github: <a href="https://github.com/tytydraco/LADB" rel="nofollow noreferrer">https://github.com/tytydraco/LADB</a></p>
<p>Basically, thanks to Surge1223, that compiled ADB for the ARM/ARM64 architecture it's possible to run an ADB server directly on the mobile device. So all we need to... | I came across this project on github: https://github.com/tytydraco/LADB Basically, thanks to Surge1223, that compiled ADB for the ARM/ARM64 architecture it's possible to run an ADB server directly on the mobile device. So all we need to do it's activate the Wi-Fi and connect to the server through Wireless ADB Debugging... | java|android|kotlin|adb|android-debug | 0 | 2022-08-03T11:29:33.857Z | 2,022 | 8 | 11 | 2 | 78 | 0 | 945 | 61 | 5 | 3 | true | true | false | false | false | false | zero |
73,220,966 | How to get the brightness percentage in Android? | <p>I am trying to get the brightness value from Android (12) and converting it to percentage using</p>
<pre><code>android.provider.Settings.System.getInt(context.getContentResolver().SCREEN_BRIGHTNESS)
</code></pre>
<p>Now, when brightness is at 0% brightness value is at 1.0 and at 100% brightness value is at 255.0. Ho... | I am trying to get the brightness value from Android (12) and converting it to percentage using [CODE] Now, when brightness is at 0% brightness value is at 1.0 and at 100% brightness value is at 255.0. However, when the brightness is at 50%, the value returned is 22.0. This makes me think the brightness value is logari... | java|android|brightness | 2 | 2022-08-03T11:30:27.700Z | 2,022 | 8 | 11 | 2 | 113 | 1 | 393 | 48 | 3 | 1 | true | false | false | false | false | false | low |
73,221,013 | Kotlin AsyncImage Coil not caching images properly, keeps reloading each time | <p>I'm using the <a href="https://coil-kt.github.io/coil/compose/" rel="nofollow noreferrer">Coil</a> dependency, so I can harness <code>AsyncImage</code>.</p>
<p>This is how I'm displaying my images:</p>
<pre><code> AsyncImage(
model = ImageRequest.Builder(LocalContext.current)
.data(img)
... | I'm using the Coil dependency, so I can harness AsyncImage . This is how I'm displaying my images: [CODE] The problem I'm having is the caching. I expected that every time an image was downloaded, it was cached and upon app-open, it would simply appear! However, every time I start the app, I see the placeholder for a s... | kotlin|android-jetpack-compose|coil | 2 | 2022-08-03T11:33:24.520Z | 2,022 | 8 | 11 | 2 | 206 | 1 | 1,038 | 77 | 3 | 7 | true | false | false | false | false | false | low |
73,221,029 | Android Room database giving SQLiteDatabaseCorruptException database disk image is malformed | <p>I have tried to search for answers but could not find the solutions relevant to my case.
The case is
I have DAO class, and a method as</p>
<pre><code>@Insert(onConflict = OnConflictStrategy.REPLACE)
fun addInstrument(lastUsedInstrument: LastUsedInstrument)
</code></pre>
<p>by calling this method through database obj... | I have tried to search for answers but could not find the solutions relevant to my case. The case is I have DAO class, and a method as [CODE] by calling this method through database object as [CODE] I am getting this exception in the implementation class of the DAO interface. [CODE] Thanks | android|android-room | 1 | 2022-08-03T11:34:14.543Z | 2,022 | 8 | 11 | 2 | 43 | 1 | 290 | 92 | 2 | 3 | true | false | false | false | false | false | low |
73,221,041 | Compose Navigation : Passing Arguments in Back Stack | <p>I have tried all possible way looks like not getting a solution to this.</p>
<p>I am using an all compose app with compose screens and using compose navigation to navigate between this screen, I have a scenario where I am navigating further in this manner</p>
<blockquote>
<p>Screen A > Screen B1 >..> Screen... | I have tried all possible way looks like not getting a solution to this. I am using an all compose app with compose screens and using compose navigation to navigate between this screen, I have a scenario where I am navigating further in this manner Screen A > Screen B1 >..> Screen BN > Screen C Now After I have done wi... | android|android-jetpack-compose|jetpack-compose-navigation | 3 | 2022-08-03T11:35:19.803Z | 2,022 | 8 | 11 | 2 | 375 | 2 | 944 | 52 | 3 | 4 | true | false | false | false | false | false | low |
73,221,072 | Kotlin Android Studio - Find Array | <p>Good morning people.
I'm developing an app in Android Studio. I have a doubt. I have an EditText that the user enters a code, and next to it I have a button. When the user enters the value and presses the button, I want the system to look for the descriptions of that code. For example, suppose that code 10 has a lis... | Good morning people. I'm developing an app in Android Studio. I have a doubt. I have an EditText that the user enters a code, and next to it I have a button. When the user enters the value and presses the button, I want the system to look for the descriptions of that code. For example, suppose that code 10 has a list o... | kotlin-android-extensions | 0 | 2022-08-03T11:37:08.710Z | 2,022 | 8 | 11 | 2 | 21 | 1 | 590 | 34 | 1 | 0 | false | false | false | false | false | false | zero |
73,221,227 | insertSeparators not displaying separator above item | <p>I'm using Paging 3 and trying to use the insertSeparators method to "group" my API response by score, an Int.</p>
<p>Something like this, inserting the separators with the value above the items with the same value.</p>
<p><a href="https://i.stack.imgur.com/vR2xo.png" rel="nofollow noreferrer"><img src="htt... | I'm using Paging 3 and trying to use the insertSeparators method to "group" my API response by score, an Int. Something like this, inserting the separators with the value above the items with the same value. Or like this: [CODE] My API call response is sorted by this score. This is what I tried: [CODE] This i... | android|android-recyclerview|android-paging-3 | 0 | 2022-08-03T11:50:33.583Z | 2,022 | 8 | 11 | 2 | 20 | 1 | 389 | 52 | 3 | 2 | true | false | false | false | false | false | zero |
73,221,234 | Receiving error on android studio installation | <p>Trying to install android studio to my brand new macbook and receiving this error.</p>
<p>Tried to install both of them:
android-studio-2021.2.1.15-mac.dmg</p>
<p>Mac with Apple chip
android-studio-2021.2.1.15-mac_arm.dmg</p>
<p>No result. Three more days trying to install idea to start working facing dead end. Loca... | Trying to install android studio to my brand new macbook and receiving this error. Tried to install both of them: android-studio-2021.2.1.15-mac.dmg Mac with Apple chip android-studio-2021.2.1.15-mac_arm.dmg No result. Three more days trying to install idea to start working facing dead end. Located in kyrgyzstan, Is go... | android|android-studio | 2 | 2022-08-03T11:51:37.197Z | 2,022 | 8 | 11 | 2 | 199 | 0 | 1,521 | 46 | 2 | 0 | false | true | false | false | false | false | low |
73,221,270 | How to set progress to specific position of exo_progress of ExoPlayer in RecyclerView? | <p>I want UI Something like the attached screenshot.</p>
<p><a href="https://i.stack.imgur.com/CIfuj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CIfuj.png" alt="enter image description here" /></a></p>
<p>This all will be a list of mp3 audio, which is user has played at some point already and lef... | I want UI Something like the attached screenshot. This all will be a list of mp3 audio, which is user has played at some point already and left in middle. I am using ExoPlayer for mp3 and PlayerControlView for UI. I have to take a separate DefaultTimeBar view of exoplayer for each item of recyclerview, and manage it wi... | android|kotlin|android-recyclerview|exoplayer|android-progressbar | 2 | 2022-08-03T11:53:51.500Z | 2,022 | 8 | 11 | 2 | 56 | 0 | 652 | 86 | 5 | 1 | true | true | false | false | false | false | low |
73,221,292 | MAUI :System.UnauthorizedAccessException: Access to the path is denied | <p>I'm making a new cross-platform MAUI App,and I tried to simply create a json file.the source code looks like this:</p>
<pre><code> private async void WriteSomething()
{
#if ANDROID
FileStream fs = new(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal) + "/test.json"... | I'm making a new cross-platform MAUI App,and I tried to simply create a json file.the source code looks like this: [CODE] The program runs well on windows machine,but the program throws System.UnauthorizedAccessException on android emulator. I've searched this problem on StackOverflow,but most of the questions about th... | android|.net|maui | 0 | 2022-08-03T11:55:33.900Z | 2,022 | 8 | 11 | 2 | 209 | 2 | 1,117 | 70 | 3 | 3 | true | false | false | false | false | false | zero |
73,221,342 | Serialize any type of list item | <p>I have this Any type of list;</p>
<pre><code>val sendMetas = mutableListOf<Any>()
sendMetas.add(CarType(count = "2",type = 2))
</code></pre>
<p>When sending to the server it should go like this;</p>
<pre><code>"Metas": [{
"car_type": {
"count": "1",
&qu... | I have this Any type of list; [CODE] When sending to the server it should go like this; [CODE] But instead, it goes like this; [CODE] How can I surround with serialize name I have couple more objects like CarType. Thanks. | android|json|kotlin | 0 | 2022-08-03T11:58:28.997Z | 2,022 | 8 | 11 | 2 | 45 | 2 | 221 | 31 | 3 | 3 | true | false | false | false | false | false | zero |
73,221,490 | Parse internally causing error "Cannot resolve symbol 'okhttp3'" | <p>I am developing an Android application using the <a href="https://github.com/parse-community/parse-server" rel="nofollow noreferrer">Parse Server</a>. I implemented the basic requirements using <a href="https://github.com/parse-community/Parse-SDK-Android" rel="nofollow noreferrer">the documentation from the Parse A... | I am developing an Android application using the Parse Server . I implemented the basic requirements using the documentation from the Parse Android SDK . But the Parse SDK internally causes me to get the following errors: [CODE] build.gradle (project) file looks like this: [CODE] build.gradle (module) file looks like t... | java|android|gradle|parse-platform|parse-android-sdk | 0 | 2022-08-03T12:10:43.863Z | 2,022 | 8 | 12 | 2 | 42 | 1 | 406 | 64 | 5 | 4 | true | false | false | false | false | false | zero |
73,221,830 | Using Firebase Remote Config with disabled Firebase Analytics | <p>When using Firebase Remote Config in an Android app, Firebase Analytics needs to be added as a dependency since Firebase Remote Config depends on it. Because of that, I need to have Firebase Analytics in my build file. But because of GDPR rules, I need to have it disabled in some cases and for some versions of the a... | When using Firebase Remote Config in an Android app, Firebase Analytics needs to be added as a dependency since Firebase Remote Config depends on it. Because of that, I need to have Firebase Analytics in my build file. But because of GDPR rules, I need to have it disabled in some cases and for some versions of the app.... | android|firebase|firebase-analytics|firebase-remote-config | 0 | 2022-08-03T12:34:00.363Z | 2,022 | 8 | 12 | 2 | 96 | 1 | 722 | 61 | 4 | 0 | false | false | false | false | false | false | zero |
73,221,894 | Pager indicator for compose | <p>I am using Accompanist's paging indicator.
It is working fine but it is not customizable.
I want to set exact amount of dots should be visible in screen and those dots should be size configurable on scrolls.
There is <a href="https://stackoverflow.com/questions/71998748/how-to-create-dot-indicator-with-color-and-siz... | I am using Accompanist's paging indicator. It is working fine but it is not customizable. I want to set exact amount of dots should be visible in screen and those dots should be size configurable on scrolls. There is another question similar to this thread but owner already accepted AndroidView approach which I want it... | android|android-jetpack-compose|viewpagerindicator | 1 | 2022-08-03T12:38:28.653Z | 2,022 | 8 | 12 | 2 | 160 | 1 | 336 | 27 | 3 | 0 | false | false | false | false | false | false | low |
73,221,898 | How do I increase the value of counter in app A from app B | <p>Let's take a practical scenario to understand what I want to achieve.</p>
<p>There is a bar in the town that keeps a record of how many people are in the bar and how many people have left the bar.</p>
<p>The bar uses an app to display these numbers to the manager inside his office.</p>
<p>And there is a gatekeeper t... | Let's take a practical scenario to understand what I want to achieve. There is a bar in the town that keeps a record of how many people are in the bar and how many people have left the bar. The bar uses an app to display these numbers to the manager inside his office. And there is a gatekeeper that has another app with... | android|kotlin | 0 | 2022-08-03T12:38:51.593Z | 2,022 | 8 | 12 | 2 | 25 | 0 | 631 | 58 | 2 | 0 | false | true | false | false | false | false | zero |
73,221,932 | How writing Python Android-APP using Galaxy A32 microphone and bluetooth Phonak hearing aid | <p>In a meeting I have some difficulties hearing/understanding conversations.
My Galaxy A32 can send sound to my Phonak hearing aid. (radio or telephone)
Could I write a Python APP using the microphone of my Galaxy to hear it on my Phonak ?
In Python because I know some Python.</p> | In a meeting I have some difficulties hearing/understanding conversations. My Galaxy A32 can send sound to my Phonak hearing aid. (radio or telephone) Could I write a Python APP using the microphone of my Galaxy to hear it on my Phonak ? In Python because I know some Python. | python|android | 0 | 2022-08-03T12:41:40.190Z | 2,022 | 8 | 12 | 2 | 14 | 0 | 275 | 91 | 2 | 0 | false | true | false | false | false | false | zero |
73,221,934 | @InverseBindingAdapter with parameters | <p>I have binding adapter that set editText to values 0-99. But I wish to set this params from the layout, how can I do this?</p>
<pre><code>app:rangeFixer="@={viewModel.times}"
@BindingAdapter("app:rangeFixer")
fun AppCompatEditText.rangeFixer(value: String) {
setSelection(text.toString().length)
... | I have binding adapter that set editText to values 0-99. But I wish to set this params from the layout, how can I do this? [CODE] | android|android-databinding|android-binding-adapter | 1 | 2022-08-03T12:41:43Z | -1 | -1 | -1 | -1 | 49 | 0 | 129 | 38 | 3 | 1 | true | true | false | false | false | false | low |
73,221,988 | why is my recycler view only showing 1 card | <p>the app is used to sign up for events. Now I am unable to display more then one card in the recycler view even though there is data in the database.it only would display only the first row of data. I know this as I have deleted the first row and the app shows the new first row.
The php works as i have loaded the pag... | the app is used to sign up for events. Now I am unable to display more then one card in the recycler view even though there is data in the database.it only would display only the first row of data. I know this as I have deleted the first row and the app shows the new first row. The php works as i have loaded the page a... | java|php|android | 0 | 2022-08-03T12:45:09.060Z | 2,022 | 8 | 12 | 2 | 42 | 1 | 507 | 43 | 3 | 5 | true | false | false | false | false | false | zero |
73,222,079 | Write and Read NFCTag password protected? | <p>is there any way to read and write tag with password protected, the main intention behind for this is,</p>
<p>I want to write message in NFC Tag only from my application, not other application do write operation on this NFC Tag,</p>
<p>we will allow to read all other device and application to read this NFC message, ... | is there any way to read and write tag with password protected, the main intention behind for this is, I want to write message in NFC Tag only from my application, not other application do write operation on this NFC Tag, we will allow to read all other device and application to read this NFC message, I am using right ... | android|mod-rewrite|nfc | 0 | 2022-08-03T12:51:49.317Z | 2,022 | 8 | 12 | 2 | 48 | 0 | 397 | 41 | 3 | 1 | true | true | false | false | false | false | zero |
73,222,123 | Push API: Mobile browsers don't receive push notifications anytime. Only when SW is running | <p>I am developing a PWA with node.js.
It is installable and it runs nicely.</p>
<p>Lately I tried to implement Push Notifications like explained here:
<a href="https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Re-engageable_Notifications_Push" rel="nofollow noreferrer">https://developer.mozilla.org/en-... | I am developing a PWA with node.js. It is installable and it runs nicely. Lately I tried to implement Push Notifications like explained here: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Re-engageable_Notifications_Push This is the express route to trigger a notification for all subscriptions (only... | javascript|android|web-push|mobile-chrome|samsung-internet | 0 | 2022-08-03T12:55:08.420Z | 2,022 | 8 | 12 | 2 | 65 | 1 | 1,521 | 91 | 5 | 3 | true | false | false | false | false | false | zero |
73,222,268 | Can't find the Merged Manifest toolbar in android studio | <p>I open my androidManifest.xml file and I don't see the bar below where the Merged Manifest option is. how can i access this</p>
<p>Bar where merge manifest is missing or not showing</p>
<p><img src="https://i.stack.imgur.com/4Fz5A.jpg" alt="1" /></p> | I open my androidManifest.xml file and I don't see the bar below where the Merged Manifest option is. how can i access this Bar where merge manifest is missing or not showing | android-studio|android-manifest | 0 | 2022-08-03T13:06:14.943Z | 2,022 | 8 | 13 | 2 | 68 | 0 | 174 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
73,222,317 | How to write Firebase's instance in Kotlin | <pre><code>@Module
@InstallIn(ViewModelComponent::class)
class HiltModule {
@Provides
fun provideAuthentication(): FirebaseAuth = Firebase.auth
}
</code></pre>
<p>Now I'm learning Kotlin.
I think if I want to use an instance, I should do it below.</p>
<pre><code>@Module
@InstallIn(ViewModelComponent::class)
cl... | [CODE] Now I'm learning Kotlin. I think if I want to use an instance, I should do it below. [CODE] But this is not right. why not use Firebase.auth(), using Firebase.auth issue it's instance? And I have another question. why not using "{}" in fun provideAuthentication(),using only ":" gets property? | android|firebase|kotlin|google-cloud-platform|firebase-authentication | 2 | 2022-08-03T13:09:10.867Z | 2,022 | 8 | 13 | 2 | 44 | 1 | 320 | 42 | 5 | 2 | true | false | false | false | false | false | low |
73,222,398 | On Android 11 or higher - How to change the style or the height of the dialog for the MediaStore.createTrashRequest? | <p>When deleting files - my app need to ask the system for a deletion dialog using the "MediaStore.createTrashRequest"
It works fine on portrait mode but on landscape - the dialog is too big and the "approve" button is hidden.</p>
<p>If I use the other "MediaStore.createDeleteRequest"(no r... | When deleting files - my app need to ask the system for a deletion dialog using the "MediaStore.createTrashRequest" It works fine on portrait mode but on landscape - the dialog is too big and the "approve" button is hidden. If I use the other "MediaStore.createDeleteRequest"(no recycle bin... | android|delete-file|android-pendingintent|mediastore | 1 | 2022-08-03T13:14:00.593Z | 2,022 | 8 | 13 | 2 | 52 | 0 | 792 | 116 | 4 | 1 | true | true | false | false | false | false | low |
73,222,416 | FileNotFoundException (No such file or directory) error when trying to get multiple Files in an ArrayList | <p>I'm trying to get multiple Files received from an ArrayList, but I'm getting a FileNotFoundException (No such file or directory) error. I get the Uris and convert them to files. Then I pass the files in an ArrayList to another method. So far so good, but apparently the files are not being added to the entity.</p>
<p... | I'm trying to get multiple Files received from an ArrayList, but I'm getting a FileNotFoundException (No such file or directory) error. I get the Uris and convert them to files. Then I pass the files in an ArrayList to another method. So far so good, but apparently the files are not being added to the entity. Getting t... | java|android|arraylist|filenotfoundexception | 0 | 2022-08-03T13:15:13.680Z | 2,022 | 8 | 13 | 2 | 36 | 0 | 497 | 105 | 4 | 3 | true | true | false | false | false | false | zero |
73,222,666 | flutter phone verification with firebase the sms message doesn't appear | <p>I have set everything correctly to make the phone verification work with the firebase, but the message never shows up on my phone.</p>
<p>The small app I use to test this function has two screens: one with a button to send the message, and another one to verifier the code that has been sent.</p>
<p>i used in it this... | I have set everything correctly to make the phone verification work with the firebase, but the message never shows up on my phone. The small app I use to test this function has two screens: one with a button to send the message, and another one to verifier the code that has been sent. i used in it this packages: [CODE]... | android|flutter|firebase|dart|firebase-authentication | 0 | 2022-08-03T13:33:22.593Z | 2,022 | 8 | 13 | 2 | 58 | 0 | 437 | 71 | 5 | 2 | true | true | false | false | false | false | zero |
73,222,673 | How to extract working video url in React Native Webview | <p>I'm working on a Facebook video downloader application in react native with webview. I have added a download button with every video so when user click on the download button I'm extracting that video src URL value and that is a blob value which is not an exact video url.</p>
<p>Blob URL: blob:<a href="https://m.fa... | I'm working on a Facebook video downloader application in react native with webview. I have added a download button with every video so when user click on the download button I'm extracting that video src URL value and that is a blob value which is not an exact video url. Blob URL: blob: https://m.facebook.com/fa1b8a59... | react-native|facebook|webview|android-videoview | 0 | 2022-08-03T13:33:53.127Z | 2,022 | 8 | 13 | 2 | 43 | 0 | 453 | 56 | 4 | 0 | false | true | false | false | false | false | zero |
73,222,781 | Android Navigation Drawer Activity call Click event from Fragment | <p>I created a Navigation Drawer Activity project in Android Studio and added some Fragments. Navigating through them works fine.</p>
<p>Now in the main fragment, I want to add some buttons that will take the user to some of the fragments, where the user would otherwise need to navigate to through the drawer menu. In o... | I created a Navigation Drawer Activity project in Android Studio and added some Fragments. Navigating through them works fine. Now in the main fragment, I want to add some buttons that will take the user to some of the fragments, where the user would otherwise need to navigate to through the drawer menu. In other words... | java|android|android-fragments|android-activity|navigation-drawer | 0 | 2022-08-03T13:45:43.977Z | 2,022 | 8 | 13 | 2 | 91 | 1 | 808 | 65 | 5 | 1 | true | false | false | false | false | false | zero |
73,222,811 | Xamarin.Forms: Android api calls are not visible in the proxy server | <p>I'm working on an existing <strong>Xamarin.Forms app</strong> to fix some issues on Android.</p>
<p>To investigate, I would like to be able to see the traffic from the app with a proxy server like <a href="https://www.charlesproxy.com/documentation/welcome/" rel="nofollow noreferrer">Charles Proxy</a>.</p>
<p>The tr... | I'm working on an existing Xamarin.Forms app to fix some issues on Android. To investigate, I would like to be able to see the traffic from the app with a proxy server like Charles Proxy . The traffic is is well visible on iPhone, whereas it not visible at all on Android: I don't see any call after a login or a sync...... | android|xamarin.forms|charles-proxy|network-traffic | 0 | 2022-08-03T13:48:08.583Z | 2,022 | 8 | 13 | 2 | 45 | 0 | 632 | 68 | 4 | 2 | true | true | false | false | false | false | zero |
73,222,846 | (SOLVED) MAUI Slow/Laggy Scrolling in ListView and CollectionView | <p><strong>EDIT:</strong></p>
<p>I found the culprit. Namely me ^^</p>
<p>In my Rectangle in the ListView I gave it a HeightRequest of -1, which led to it being constantly rendered. *Note never set Width-,HeightRequest to -1 in a view.</p>
<hr />
<p>Hey Guys First iam a <strong>XAML Rookie</strong>, i came from WinForm... | EDIT: I found the culprit. Namely me ^^ In my Rectangle in the ListView I gave it a HeightRequest of -1, which led to it being constantly rendered. *Note never set Width-,HeightRequest to -1 in a view. Hey Guys First iam a XAML Rookie , i came from WinForms and using MAUI now since about 1 Month. I would be very happy ... | android|xaml|listview|collectionview|maui | 0 | 2022-08-03T13:49:55.830Z | 2,022 | 8 | 13 | 2 | 317 | 0 | 978 | 65 | 5 | 1 | true | true | false | false | false | false | zero |
73,222,894 | How to get data from api using retrofit and deserialiaze it? | <p>I would like to download data using retrofit.</p>
<p>This is my API:
<a href="https://burgers1.p.rapidapi.com/burgers" rel="nofollow noreferrer">https://burgers1.p.rapidapi.com/burgers</a></p>
<p>interface:</p>
<pre><code>interface DishesApi {
@Headers(
value =
["X-RapidAPI-Key: 05fefddc5am... | I would like to download data using retrofit. This is my API: https://burgers1.p.rapidapi.com/burgers interface: [CODE] data from Api as JsonElement in deserializer [CODE] [CODE] [CODE] I would like to get the data in the List in kotlin, how to achieve this? | android|kotlin|retrofit | 0 | 2022-08-03T13:57:35.140Z | 2,022 | 8 | 13 | 2 | 55 | 1 | 258 | 60 | 3 | 4 | true | false | false | false | false | false | zero |
73,223,014 | Dynamically change View Size in android studio | <p>I am not new to coding in android studio, however, I have a bad time changing my dynamically added button's size from the code itself but I ran into some issues</p>
<p>here is the way I am trying to change the size:</p>
<pre><code>btn.setLayoutParams (new TableRow.LayoutParams(pxWidth, pxHeight));
</code></pre>
<p>A... | I am not new to coding in android studio, however, I have a bad time changing my dynamically added button's size from the code itself but I ran into some issues here is the way I am trying to change the size: [CODE] And it works, The problem is when I try to change the size for a second button, And it just changes all ... | android-studio|android-layout|dynamic | 0 | 2022-08-03T14:08:00.390Z | 2,022 | 8 | 14 | 2 | 17 | 0 | 364 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
73,223,155 | android webview multiple file upload | <p>I want to upload multiple files using android webview.
This post helped <a href="https://stackoverflow.com/questions/36562849/multiple-file-upload-in-android-webview">Multiple file upload in Android Webview</a>
I've managed to make it work 3-4 android terminal but there's one (android 11) where it doesn't and I don'... | I want to upload multiple files using android webview. This post helped Multiple file upload in Android Webview I've managed to make it work 3-4 android terminal but there's one (android 11) where it doesn't and I don't know why. The file chooser opens but I only can select one file a time. Here's the code portion: [CO... | android|webview | 0 | 2022-08-03T14:19:28.027Z | 2,022 | 8 | 14 | 2 | 29 | 0 | 461 | 36 | 2 | 1 | true | true | false | false | false | false | zero |
73,223,185 | Jetpack Compose - Open web view with close button | <p>I have to open a web view when a button is clicked, and I'm asking how to open this web view inside the application with Jetpack Compose. I noticed that the majority of applications when they open a web view they show a close and option button at the top and I'm wondering how they do it. Here an example:</p>
<p><a h... | I have to open a web view when a button is clicked, and I'm asking how to open this web view inside the application with Jetpack Compose. I noticed that the majority of applications when they open a web view they show a close and option button at the top and I'm wondering how they do it. Here an example: I'm already ab... | android|kotlin|webview|android-webview|android-jetpack-compose | 1 | 2022-08-03T14:21:58.240Z | 2,022 | 8 | 14 | 2 | 100 | 1 | 460 | 49 | 5 | 1 | true | false | false | false | false | false | low |
73,223,237 | Render canvas on every second in Android widget | <p>I want to draw analog clock using canvas in Android home widget, but according to docs I can not update it less then 30 minutes period. I tried to make this process faster by this option <code>android:updatePeriodMillis="0"</code> and update my canvas by calling <code>onUpdate()</code> from inside my code... | I want to draw analog clock using canvas in Android home widget, but according to docs I can not update it less then 30 minutes period. I tried to make this process faster by this option android:updatePeriodMillis="0" and update my canvas by calling onUpdate() from inside my code, but after some time widget s... | android|kotlin|canvas|widget|broadcastreceiver | 0 | 2022-08-03T14:26:07.123Z | 2,022 | 8 | 14 | 2 | 33 | 0 | 635 | 47 | 5 | 1 | true | true | false | false | false | false | zero |
73,223,327 | Vertical scroll on Canvas (Jetpack Compose) | <p>I have a problem. When I added the vertical scroll modifier to my canvas, it didn't work. I don't understand why. Code:</p>
<pre><code>Canvas(modifier = Modifier
.fillMaxSize()
.verticalScroll(rememberScrollState())) {
}
</code></pre>
<p>The content just cuts. How do I add scrolling to the ca... | I have a problem. When I added the vertical scroll modifier to my canvas, it didn't work. I don't understand why. Code: [CODE] The content just cuts. How do I add scrolling to the canvas? | android|canvas|scroll|android-jetpack-compose|android-jetpack | 1 | 2022-08-03T14:32:48.347Z | 2,022 | 8 | 14 | 2 | 136 | 1 | 187 | 43 | 5 | 1 | true | false | false | false | false | false | low |
73,223,328 | How to trigger MotionLayout OnSwipe spring-based animation when clicked | <p>I am learning how to use MotionLayout to create one of those collapsable music pages that most music players and YouTube have (where you swipe down to collapse the player into a small bar at the bottom that shows album art, title, a pause button..., and then swipe up to expand it to full screen again).</p>
<p>I have... | I am learning how to use MotionLayout to create one of those collapsable music pages that most music players and YouTube have (where you swipe down to collapse the player into a small bar at the bottom that shows album art, title, a pause button..., and then swipe up to expand it to full screen again). I have the anima... | java|android|android-studio|kotlin|user-interface | 0 | 2022-08-03T14:32:59.570Z | 2,022 | 8 | 14 | 2 | 28 | 0 | 1,810 | 71 | 5 | 2 | true | true | false | false | false | false | zero |
73,223,362 | Getting this error in android studio Execution failed for task ':app:checkDebugAarMetadata' | <p>When i do gradle build it gives me this execution error
Error is below</p>
<pre><code>**FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
&g... | When i do gradle build it gives me this execution error Error is below [CODE] | java|android|android-studio | 0 | 2022-08-03T14:35:43.337Z | 2,022 | 8 | 14 | 2 | 24 | 0 | 77 | 91 | 3 | 1 | true | true | false | false | false | false | zero |
73,223,374 | How to add more lines to toast message | <p>I am using react-native-toast-message for display error, success and info messages in my app. The Android version of my app can dispay more than 2 lines for the text1 prop, but the iOS can't. I create a variable to be the number of lines depending on the text passed as the text1 prop, but the iOS version still doesn... | I am using react-native-toast-message for display error, success and info messages in my app. The Android version of my app can dispay more than 2 lines for the text1 prop, but the iOS can't. I create a variable to be the number of lines depending on the text passed as the text1 prop, but the iOS version still doesn't ... | android|ios|react-native|toast|lib | 0 | 2022-08-03T14:36:32.090Z | 2,022 | 8 | 14 | 2 | 112 | 0 | 915 | 38 | 5 | 2 | true | true | false | false | false | false | zero |
73,223,459 | check if the chat message is delivered firebase android | <p>I have a messaging app. I am using firebase real time database in my application. Sometimes messages are not delivered instantly due to internet speed. When this happens, I want the user's message to appear on the screen with a dark background. When the message is delivered, I want the message to have a blue backgro... | I have a messaging app. I am using firebase real time database in my application. Sometimes messages are not delivered instantly due to internet speed. When this happens, I want the user's message to appear on the screen with a dark background. When the message is delivered, I want the message to have a blue background... | android|firebase|firebase-realtime-database|android-recyclerview|android-adapter | 0 | 2022-08-03T14:41:45.993Z | 2,022 | 8 | 14 | 2 | 22 | 0 | 692 | 55 | 5 | 3 | true | true | false | false | false | false | zero |
73,223,540 | Wix React Native Navigation TopBar buttons can't override in android | <p>I used <code>setDefaultOptions</code> in react-native-navigation to set a global topbar button on the right side using <code>rightButtons</code> property.</p>
<p>But on some screens, I want to override that global button and set a new button. So I used <code>mergeOptions</code> method inside the component that I wan... | I used setDefaultOptions in react-native-navigation to set a global topbar button on the right side using rightButtons property. But on some screens, I want to override that global button and set a new button. So I used mergeOptions method inside the component that I want the new button on the topbar. It works only on ... | javascript|android|react-native|react-native-navigation|wix-react-native-navigation | 0 | 2022-08-03T14:47:01.630Z | 2,022 | 8 | 14 | 2 | 73 | 0 | 951 | 68 | 5 | 3 | true | true | false | false | false | false | zero |
73,223,610 | Click Item to Increase Quantity in Cart - Android POS App - Java | <p>I'm trying to modify an app. Currently when an item is clicked it gets to the cart. But this click works only one time. If clicked second time it will show error as its programmed to do so.</p>
<p>What I'm trying to achieve is that Multiple clicks on an item should increase the quantity of item in the cart instead o... | I'm trying to modify an app. Currently when an item is clicked it gets to the cart. But this click works only one time. If clicked second time it will show error as its programmed to do so. What I'm trying to achieve is that Multiple clicks on an item should increase the quantity of item in the cart instead of giving e... | java|android | 0 | 2022-08-03T14:52:10.637Z | 2,022 | 8 | 14 | 2 | 33 | 0 | 405 | 64 | 2 | 1 | true | true | false | false | false | false | zero |
73,223,678 | How to add Metadata in the Tensorflow Lite for a model taken from Github? | <p>I have used this project from Github: <a href="https://github.com/nicknochnack/TFODCourse" rel="noreferrer">https://github.com/nicknochnack/TFODCourse</a></p>
<p>The project contains a model that can detect License Plate on a given Vehicle image. The Github repo also contains code for the conversion of model into Te... | I have used this project from Github: https://github.com/nicknochnack/TFODCourse The project contains a model that can detect License Plate on a given Vehicle image. The Github repo also contains code for the conversion of model into Tensorflow Lite file. I used that code to generate TFLite file. And then, I followed t... | android-studio|tensorflow|kotlin|metadata|tensorflow-lite | 5 | 2022-08-03T15:00:54.500Z | 2,022 | 8 | 15 | 2 | 128 | 0 | 1,017 | 73 | 5 | 1 | true | true | false | false | false | false | low |
73,223,683 | JaCoCo with Gradle Kotlin multi-module Android project - what does isTestCoverageEnabled actually do? | <p>I'm configuring an Android multi-module Gradle project that uses Kotlin for both the app AND the Gradle build files (gradle.build.kts).</p>
<p>I'm using Gradle 7.3.3.</p>
<p>First I add the Jacoco plugin to the module-level build.gradle.kts:</p>
<pre><code>...
plugins {
...
jacoco
}
...
</code></pre>
<p>Then... | I'm configuring an Android multi-module Gradle project that uses Kotlin for both the app AND the Gradle build files (gradle.build.kts). I'm using Gradle 7.3.3. First I add the Jacoco plugin to the module-level build.gradle.kts: [CODE] Then I click the icon in Android Studio to "sync project with gradle files."... | android|jacoco|gradle-kotlin-dsl|jacoco-plugin|android-jacoco | 0 | 2022-08-03T15:01:08.847Z | 2,022 | 8 | 15 | 2 | 190 | 1 | 1,288 | 101 | 5 | 1 | true | false | false | false | false | false | zero |
73,223,744 | Does Autofill work in other Apps with my App? | <p>I want to create a password app. I'm now at the end of my development and thought about adding the function "Autofill". I need this for an Android application, but if there is also a solution for Ios I would take both. I saw a few Blogs where this them is mentioned, but I'm not sure if this is what I searc... | I want to create a password app. I'm now at the end of my development and thought about adding the function "Autofill". I need this for an Android application, but if there is also a solution for Ios I would take both. I saw a few Blogs where this them is mentioned, but I'm not sure if this is what I search f... | xamarin|xamarin.forms|xamarin.android|passwords|password-autofill | 0 | 2022-08-03T15:10:35.100Z | 2,022 | 8 | 15 | 2 | 65 | 0 | 916 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
73,223,860 | Why is the subscription not updating correctly, Android? | <p>I have two subscriptions in the application, each of them individually works correctly. But when I try to do an Update/Downgrade, problems arise:</p>
<ol>
<li>I have two subscriptions in the application, each of them individually works correctly. But when I try to do an <strong>Update/Downgrade</strong>, problems ar... | I have two subscriptions in the application, each of them individually works correctly. But when I try to do an Update/Downgrade, problems arise: I have two subscriptions in the application, each of them individually works correctly. But when I try to do an Update/Downgrade , problems arise: When I try to change one su... | android|in-app-billing|subscription|android-billing|play-billing-library | 0 | 2022-08-03T15:23:29.643Z | 2,022 | 8 | 15 | 2 | 37 | 0 | 1,463 | 56 | 5 | 2 | true | true | false | false | false | false | zero |
73,223,926 | How to prevent scrolling or any user input on a RecyclerView in viewpager2 | <p>The recyclerview is in a fragment (1) and work perfectly fine but when I'm using a ViewPager2 to show another fragment (2) on top of the previous fragment (1), the recyclerview from fragment (1) still react (to scrolling for example).</p>
<p>How I can prevent that on a viewpager2 structure? I'm afraid if later I add... | The recyclerview is in a fragment (1) and work perfectly fine but when I'm using a ViewPager2 to show another fragment (2) on top of the previous fragment (1), the recyclerview from fragment (1) still react (to scrolling for example). How I can prevent that on a viewpager2 structure? I'm afraid if later I add listener ... | android|android-recyclerview|android-viewpager2 | 0 | 2022-08-03T15:28:03.923Z | 2,022 | 8 | 15 | 2 | 32 | 1 | 406 | 74 | 3 | 0 | false | false | false | false | false | false | zero |
73,223,990 | kotlin flow call list item details async | <p>let us say I have
//roomdb</p>
<pre><code>@Query("SELECT * FROM Dog")
fun getAllDogs(): Flow<List<Dog>>
</code></pre>
<p>// getDogDetails</p>
<pre><code>suspend fun getDogDetils(id:Int) :DogDetails
</code></pre>
<p>I want to hit endpoint to get dog details, however room,sqldelight return Flow&l... | let us say I have //roomdb [CODE] // getDogDetails [CODE] I want to hit endpoint to get dog details, however room,sqldelight return Flow<List> as Oneshot, I want to call getDogDetils for all dogs async and return the result as Flow<List<DogDetails>> | android|kotlin|kotlin-flow|sqldelight|roomdb | 0 | 2022-08-03T15:32:56.953Z | 2,022 | 8 | 15 | 2 | 53 | 1 | 249 | 40 | 5 | 2 | true | false | false | false | false | false | zero |
73,224,025 | How to schedule a notification for several hours | <p>I try to schedule a notification for several hours but I receive it a few seconds after I scheduled it.</p>
<p>NotificationReceiver.java:</p>
<pre><code>public void onReceive(Context context, Intent intent) {
Intent i = new Intent(context, MainActivity.class);
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | ... | I try to schedule a notification for several hours but I receive it a few seconds after I scheduled it. NotificationReceiver.java: [CODE] Method to create a notification in MainActivity.java: [CODE] I get the difference between the current time and the next day then I convert it to long and I add it as a parameter of t... | java|android|android-studio|android-notifications | 0 | 2022-08-03T15:35:14.697Z | 2,022 | 8 | 15 | 2 | 14 | 0 | 492 | 48 | 4 | 4 | true | true | false | false | false | false | zero |
73,224,026 | How do I remove the QUERY_ALL_PACKAGES permission from my android app? | <p>My Google Play Update releases have been rejected 3 times due to this feedback from Google.</p>
<p>"Less broad app-visibility method should be used
We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because the declared task can be done with a less broad app-visibility method."</p>
<p... | My Google Play Update releases have been rejected 3 times due to this feedback from Google. "Less broad app-visibility method should be used We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because the declared task can be done with a less broad app-visibility method." My app doesn't n... | android|android-manifest|android-permissions | 7 | 2022-08-03T15:35:19.843Z | 2,022 | 8 | 15 | 2 | 2,454 | 3 | 654 | 70 | 3 | 2 | true | false | false | false | false | false | medium |
73,224,121 | Need to be able to draw with only one finger (Xamarin.Forms, SkiaSharp) | <p>I have an intermittent error (System.ArgumentException: 'An item with the same key has already been added. Key: 1') when I draw with multiple fingers. I found out that it is related to the enabled MIUI optimization on my device. I would like everything to work correctly even when optimization is enabled, so I want t... | I have an intermittent error (System.ArgumentException: 'An item with the same key has already been added. Key: 1') when I draw with multiple fingers. I found out that it is related to the enabled MIUI optimization on my device. I would like everything to work correctly even when optimization is enabled, so I want the ... | c#|android|xamarin.forms|skiasharp | 0 | 2022-08-03T15:41:40.593Z | 2,022 | 8 | 15 | 2 | 49 | 0 | 541 | 71 | 4 | 3 | true | true | false | false | false | false | zero |
73,224,129 | android BLE write command with response, no response receive | <p>i'm developping an android app that communicate with a BLE device(in kotlin).</p>
<p>i'm sending a command to the ble device, the device usually give the following response:
-OK(confirming the command was received and valid)
-one or multiple line of data
-Done</p>
<p>in <code>onCharacteristicWrite</code> i tryed to ... | i'm developping an android app that communicate with a BLE device(in kotlin). i'm sending a command to the ble device, the device usually give the following response: -OK(confirming the command was received and valid) -one or multiple line of data -Done in onCharacteristicWrite i tryed to show this.value to read the re... | android|kotlin|bluetooth-lowenergy | 0 | 2022-08-03T15:42:21.627Z | 2,022 | 8 | 15 | 2 | 108 | 1 | 567 | 60 | 3 | 0 | false | false | false | false | false | false | zero |
73,224,132 | Different between Bindable property and Livedata | <p>I made one checkbox and a button. if you check:on, the button shows up.</p>
<pre><code>val useButton= MutableLiveData(false)
</code></pre>
<p>and in View, I wrote two-way binding for the checkbox.</p>
<pre><code><CheckBox android:checked="@={viewmodel.useButton}"/>
<Button visibleIf="@{viewmo... | I made one checkbox and a button. if you check:on, the button shows up. [CODE] and in View, I wrote two-way binding for the checkbox. [CODE] visibleIf is a custom Converter between Visibility and Boolean [CODE] But, the BindingAdapter visibleIf couldn't catch the changes of the livedata useButton So what I have done is... | android|mvvm|android-livedata|bindable | 0 | 2022-08-03T15:42:37.747Z | 2,022 | 8 | 15 | 2 | 9 | 0 | 575 | 48 | 4 | 4 | true | true | false | false | false | false | zero |
73,224,198 | Clear ROOM Database Entries using Android Studio Database Inspector | <p>I'm experimenting with <code>ROOM Database Inspector</code> on Android Studio.</p>
<p>I <em>want to clear all entries from the database</em> using a query on the inspector instead of having to uninstall and then reinstall the app to clear the data. I also know I could manually clear the cache from AppData but I jus... | I'm experimenting with ROOM Database Inspector on Android Studio. I want to clear all entries from the database using a query on the inspector instead of having to uninstall and then reinstall the app to clear the data. I also know I could manually clear the cache from AppData but I just need to run a simple query inst... | android|android-room | 0 | 2022-08-03T15:47:16.077Z | 2,022 | 8 | 15 | 2 | 52 | 2 | 690 | 67 | 2 | 0 | false | false | false | false | false | false | zero |
73,224,312 | How to get data from Native Android Activity to Flutter route library? | <p>Flutter allows you to create a library that can be integrated into an Android Native project. As it is shown in the <a href="https://docs.flutter.dev/development/add-to-app/android/project-setup" rel="nofollow noreferrer">official documentation</a>. However it does not contain any information about sharing data betw... | Flutter allows you to create a library that can be integrated into an Android Native project. As it is shown in the official documentation . However it does not contain any information about sharing data between the two modules. I was able to find in another page this piece of code witch is supposedly able to share dat... | android|flutter|android-studio|kotlin|dart | 0 | 2022-08-03T15:56:28.967Z | 2,022 | 8 | 15 | 2 | 56 | 1 | 593 | 70 | 5 | 2 | true | false | false | false | false | false | zero |
73,224,361 | Flutter flutter_screenutil package safearea pixel | <p>I am building an e-commerce app with flutter. It should be responsive and adaptive that's why I'm using the package flutter_screenutil. Also, I need to remove the top padding because of the design file that I use. So, I'm wrapping all pages with safearea. Whenever I do it, I saw that the rest of the body is not reca... | I am building an e-commerce app with flutter. It should be responsive and adaptive that's why I'm using the package flutter_screenutil. Also, I need to remove the top padding because of the design file that I use. So, I'm wrapping all pages with safearea. Whenever I do it, I saw that the rest of the body is not recalcu... | android|flutter|mobile|responsive-design|flutter-layout | 0 | 2022-08-03T15:59:39.917Z | 2,022 | 8 | 15 | 2 | 35 | 0 | 581 | 49 | 5 | 0 | false | true | false | false | false | false | zero |
73,224,450 | Is zygote dependent on surfaceflinger in android | <p>If i disable surfaceflinger in aosp, zygote is getting crashed. Is zygote dependent on surfaceflinger? If it is how is dependent?</p> | If i disable surfaceflinger in aosp, zygote is getting crashed. Is zygote dependent on surfaceflinger? If it is how is dependent? | android|embedded|android-source|porting | 0 | 2022-08-03T16:06:07.607Z | 2,022 | 8 | 16 | 2 | 48 | 0 | 129 | 48 | 4 | 0 | false | true | false | false | false | false | zero |
73,224,561 | How can I keep the total number of people the user is talking to? | <p>I have a mobile app where users can talk to each other. I am using firebase real time database in my application. In the application, I keep and show the total number of people the users are talking to. My method is to send the uid of that user to the "Contact" table when each user presses the send messag... | I have a mobile app where users can talk to each other. I am using firebase real time database in my application. In the application, I keep and show the total number of people the users are talking to. My method is to send the uid of that user to the "Contact" table when each user presses the send message bu... | java|android|firebase|firebase-realtime-database | 0 | 2022-08-03T16:15:02.597Z | 2,022 | 8 | 16 | 2 | 43 | 0 | 508 | 65 | 4 | 2 | true | true | false | false | false | false | zero |
73,224,570 | How to change the content inside a Scaffold that exists inside drawer in Jetpack Compose? | <p>I have this drawer:</p>
<pre><code>val drawerState = rememberDrawerState(DrawerValue.Closed)
val scope = rememberCoroutineScope()
val items = listOf(Icons.Default.Favorite, Icons.Default.Face, Icons.Default.Email)
val selectedItem = remember { mutableStateOf(items[0]) }
ModalNavigationDrawer(
drawerState = draw... | I have this drawer: [CODE] Now, when I run the app, I get the correct TopBar and right under it a Text that holds the value of "Favorites". The problem is that I always want to have the same TopBar, and only change the Scaffold's content. So instead of "Favorites" I want to display "Face",... | android|kotlin|navigation-drawer|android-jetpack-compose|android-jetpack-compose-material3 | 1 | 2022-08-03T16:15:55.057Z | 2,022 | 8 | 16 | 2 | 190 | 2 | 954 | 89 | 5 | 1 | true | false | false | false | false | false | low |
73,224,729 | How can I diff Android manifest files? | <p>Android manifest files are XML files, but the order of elements (and attributes) doesn't matter.</p>
<p>The usual diff tools don't work, because (specially with generated Android manifest files, like when building from Unity) the elements of the XML document can be put in very different orders.</p>
<p>Do you know an... | Android manifest files are XML files, but the order of elements (and attributes) doesn't matter. The usual diff tools don't work, because (specially with generated Android manifest files, like when building from Unity) the elements of the XML document can be put in very different orders. Do you know any way to diff two... | android|xml|unity3d | 0 | 2022-08-03T16:28:26.273Z | 2,022 | 8 | 16 | 2 | 22 | 1 | 354 | 38 | 3 | 0 | false | false | false | false | false | false | zero |
73,224,853 | How to Use Styles from the Resources Folder in XAML Files (Xamarin.Forms, Android) | <p>In my project (only for Android), in the Resources/values/styles.xml folder, I created a style with the following code:</p>
<pre><code><style name="MyAppTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:windowEnableSplitTouch">false</item>
... | In my project (only for Android), in the Resources/values/styles.xml folder, I created a style with the following code: [CODE] I would like to know how it can be used in a XAML file outside of the Resources folder. I plan to use this style in the biggest Grid of the following code (to disable multi-touch on it): [COD... | c#|android|xamarin.forms | 0 | 2022-08-03T16:39:06.837Z | 2,022 | 8 | 16 | 2 | 57 | 2 | 322 | 82 | 3 | 2 | true | false | false | false | false | false | zero |
73,224,898 | Why is my named routing is not working as expected In flutter? | <p>I created the named routes in my main but its not navigating.
Inside the mainbutton widget i'm passing the navigator it accepts three parameters all of them are required...</p>
<pre><code>import 'package:flutter/material.dart';
import 'package:texty/screens/welcome_screen.dart';
import 'package:texty/screens/login_s... | I created the named routes in my main but its not navigating. Inside the mainbutton widget i'm passing the navigator it accepts three parameters all of them are required... [CODE] my welcome screen -> [CODE] | android|flutter|mobile | 0 | 2022-08-03T16:42:27.473Z | 2,022 | 8 | 16 | 2 | 28 | 1 | 207 | 62 | 3 | 2 | true | false | false | false | false | false | zero |
73,225,158 | How to run flutter app on a real device without having to install the sdk on your phone evrytime | <p>I use my mobile device to run my flutter applications. I know all about the hot reload but I'm so tired of having to wait every time I connect back to my phone again maybe the next day and then the app has to be re installed and the gradle task assembler has to be built again. Please I want to ask if there is a way ... | I use my mobile device to run my flutter applications. I know all about the hot reload but I'm so tired of having to wait every time I connect back to my phone again maybe the next day and then the app has to be re installed and the gradle task assembler has to be built again. Please I want to ask if there is a way to ... | android|flutter|dart|visual-studio-code | 0 | 2022-08-03T17:02:19.767Z | 2,022 | 8 | 17 | 2 | 116 | 1 | 437 | 96 | 4 | 0 | false | false | false | false | false | false | zero |
73,225,241 | How to control the "progressive download size" in exoplayer for progressive downloadable media | <p>I'm using <a href="https://exoplayer.dev/progressive.html" rel="nofollow noreferrer">Exoplayer</a> to play a progressive downloadable audio/video.</p>
<p>Suppose that the duration can be 2mins, but actually only 30s will be used in my app. I know that by default media player will "progressively" download s... | I'm using Exoplayer to play a progressive downloadable audio/video. Suppose that the duration can be 2mins, but actually only 30s will be used in my app. I know that by default media player will "progressively" download some data and buffer it, but in my case those data might never be used (e.g. out of the 30... | android|exoplayer | 0 | 2022-08-03T17:09:31.920Z | 2,022 | 8 | 17 | 2 | 26 | 0 | 479 | 94 | 2 | 0 | false | true | false | false | false | false | zero |
73,225,277 | React Native : Find device rotation angle (Orientation) | <p>I'm trying to get the device rotation angle for <strong>Android</strong> in <strong>React Native</strong>.</p>
<p>Is there any useful library? I found some for only iOS, and some not worked for me, checked the Stack Overflow but the questions about it is kinda old.</p>
<p>Thanks in advance.</p> | I'm trying to get the device rotation angle for Android in React Native . Is there any useful library? I found some for only iOS, and some not worked for me, checked the Stack Overflow but the questions about it is kinda old. Thanks in advance. | android|reactjs|react-native|mobile|orientation | 0 | 2022-08-03T17:12:11.627Z | 2,022 | 8 | 17 | 2 | 29 | 0 | 244 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
73,225,312 | Parse XML from URL into Java Array List with Async Task | <p>I know this question has been answered, but I have been at this for hours to no avail. For this project I have to take the xml file from <a href="http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml" rel="nofollow noreferrer">http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml</a> and then show it in a list... | I know this question has been answered, but I have been at this for hours to no avail. For this project I have to take the xml file from http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml and then show it in a listView with async task. I have done this with JSON before, but never with xml. When I go to the above ... | java|android|xml|parsing | 0 | 2022-08-03T17:15:08.393Z | 2,022 | 8 | 17 | 2 | 40 | 0 | 705 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,225,356 | what is the best way to dispose resources in GetX flutter? | <p>I'm building a project using GetX flutter. What is the best way to dispose app resources (such as Text Editing Controllers and Animation Controllers)? as I know I can override the super method <code>onClose()</code> to dispose these resources, but we have also another super method, <code>dispose()</code>, so which o... | I'm building a project using GetX flutter. What is the best way to dispose app resources (such as Text Editing Controllers and Animation Controllers)? as I know I can override the super method onClose() to dispose these resources, but we have also another super method, dispose() , so which one of these two method shoul... | android|flutter|flutter-getx | 0 | 2022-08-03T17:19:32.850Z | 2,022 | 8 | 17 | 2 | 32 | 1 | 328 | 58 | 3 | 0 | false | false | false | false | false | false | zero |
73,225,616 | How to unit test Glide configuration | <p>I have some code that uses Glide to load images. I want to verify that I'm calling Glide with the correct configuration (I trust Glide itself to do what it's told to do).</p>
<p>This <a href="https://stackoverflow.com/questions/46251526/unit-test-glide-make-sure-imageview-has-correct-image#">question</a> and <a hre... | I have some code that uses Glide to load images. I want to verify that I'm calling Glide with the correct configuration (I trust Glide itself to do what it's told to do). This question and answer comes really close to my issue, but just misses it. The answer says: Instead, a better test would be to make sure, that imag... | android|unit-testing|android-glide | 0 | 2022-08-03T17:40:50.017Z | 2,022 | 8 | 17 | 2 | 23 | 0 | 925 | 36 | 3 | 1 | true | true | false | false | false | false | zero |
73,225,636 | Compose components in native view | <p>I have an epoxy recycler view, and I want to create some of this views by using jetpack compose.
My question is that, Is it good to do that and I have no Idea about this page performance, because this screen is very important for my application.thanks</p> | I have an epoxy recycler view, and I want to create some of this views by using jetpack compose. My question is that, Is it good to do that and I have no Idea about this page performance, because this screen is very important for my application.thanks | android|performance|kotlin|android-jetpack-compose|epoxy | 0 | 2022-08-03T17:42:19.090Z | 2,022 | 8 | 17 | 2 | 46 | 0 | 251 | 33 | 5 | 0 | false | true | false | false | false | false | zero |
73,225,640 | app functions not getting executed (performGlobalAction(AccessibilityService.GLOBAL_ACTION_HOME)) | <p>I have designed an application which automatically returns to android home page when ever a particular application is opened and prompts an error</p>
<pre><code>if (value.startsWith("1"))
{
AccessibilityEvent accessibilityEvent = null;
if ((accessibility... | I have designed an application which automatically returns to android home page when ever a particular application is opened and prompts an error [CODE] | java|android|kotlin|android-layout | 0 | 2022-08-03T17:42:38.100Z | 2,022 | 8 | 17 | 2 | 15 | 0 | 152 | 97 | 4 | 1 | true | true | false | false | false | false | zero |
73,225,641 | load SDK inside SDK in production in Android | <p>Looking for solution to load SDK inside my SDK in production. I have a SDK which is getting integrated in many Android Applications with in my org.</p>
<p>I need to have a packaging structure where App A needs certain features of my SDK & App B needs certain features of my SDK via other SDKs inside my SDK.</p>
<... | Looking for solution to load SDK inside my SDK in production. I have a SDK which is getting integrated in many Android Applications with in my org. I need to have a packaging structure where App A needs certain features of my SDK & App B needs certain features of my SDK via other SDKs inside my SDK. I can not enable ev... | android|sdk|packaging | 0 | 2022-08-03T17:42:46.383Z | 2,022 | 8 | 17 | 2 | 18 | 0 | 429 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
73,225,676 | android how to run alerts to explain the activity components? | <p>i need to run a list of pop ups (alerts) one after one to explain each component of my activity to the user when first run the activity. So after running the activity, user can see :</p>
<ol>
<li>first alert which shoot at one view in the activity and explain the purpose of it(like a view hint).</li>
<li>after click... | i need to run a list of pop ups (alerts) one after one to explain each component of my activity to the user when first run the activity. So after running the activity, user can see : first alert which shoot at one view in the activity and explain the purpose of it(like a view hint). after clicking OK on first alert, a ... | android|android-alertdialog | 0 | 2022-08-03T17:45:42.887Z | 2,022 | 8 | 17 | 2 | 15 | 1 | 446 | 61 | 2 | 0 | false | false | false | false | false | false | zero |
73,225,714 | Import OpenCV sdk to Android Studio Chipmunk | <p>I'm trying to import OpenCV 4.1.0 sdk in Android Studio, but I'm getting an error from Android Studio. I searched for the solution for this issue but didn't found any solution. I followed so many tutorial and they followed same step to integrate the OpenCV. At last I am following this url to integrate it but getting... | I'm trying to import OpenCV 4.1.0 sdk in Android Studio, but I'm getting an error from Android Studio. I searched for the solution for this issue but didn't found any solution. I followed so many tutorial and they followed same step to integrate the OpenCV. At last I am following this url to integrate it but getting th... | android|android-studio|opencv|image-processing | 0 | 2022-08-03T17:48:35.630Z | 2,022 | 8 | 17 | 2 | 120 | 1 | 526 | 44 | 4 | 0 | false | false | false | false | false | false | zero |
73,225,753 | I cannot get fragment to work in a Kotlin project | <p>I have a Java project with three fragments that works perfectly. I am trying to translate the project into Kotlin. Everything works so far, except the first (and only complete so far) fragment. The fragments do load as they should but the first fragment's adapter's functions</p>
<pre><code>onCreateViewHolder(parent:... | I have a Java project with three fragments that works perfectly. I am trying to translate the project into Kotlin. Everything works so far, except the first (and only complete so far) fragment. The fragments do load as they should but the first fragment's adapter's functions [CODE] and [CODE] never execute so the empty... | android|kotlin|fragment|adapter | 0 | 2022-08-03T17:51:39.500Z | 2,022 | 8 | 17 | 2 | 45 | 1 | 609 | 49 | 4 | 8 | true | false | false | false | false | false | zero |
73,225,755 | Create an object using one of the constructor in Kotlin | <p>I'm new to the Android app development and OOP. I created a Kotlin class file in my java folder as I'm using Kotlin to develop my app.</p>
<p>The Kotlin class file contains the code below <code>class Users (FirstName : String , LastName : String?, UserName : String, PassWord : String, Phone : Int, Age : Int , Weight... | I'm new to the Android app development and OOP. I created a Kotlin class file in my java folder as I'm using Kotlin to develop my app. The Kotlin class file contains the code below class Users (FirstName : String , LastName : String?, UserName : String, PassWord : String, Phone : Int, Age : Int , Weight : Int, Height :... | android|kotlin|class|object|constructor | 1 | 2022-08-03T17:52:01.217Z | 2,022 | 8 | 17 | 2 | 58 | 1 | 504 | 55 | 5 | 0 | false | false | false | false | false | false | low |
73,225,796 | Execution failed for task ':app:checkDebugDuplicateClasses' in react-native | <p>I am getting duplicate class error while run two packages "react-native-marketingcloudsdk": "^7.4.3" and "@dyneti/react-native-dyscan": "^1.1.15" and unable to solve the issue.</p>
<p>I have tried every thing like enbale jetify and androidx but unable to solve the problem.</p>... | I am getting duplicate class error while run two packages "react-native-marketingcloudsdk": "^7.4.3" and "@dyneti/react-native-dyscan": "^1.1.15" and unable to solve the issue. I have tried every thing like enbale jetify and androidx but unable to solve the problem. Here is the e... | android|react-native|gradle|salesforce | 0 | 2022-08-03T17:55:57.330Z | 2,022 | 8 | 17 | 2 | 32 | 0 | 728 | 75 | 4 | 0 | false | true | false | false | false | false | zero |
73,225,811 | React Native CLI android app is not run in mac android studio | <pre class="lang-none prettyprint-override"><code>FAILURE: Build failed with an exception.
* What went wrong:
Could not add entry '/Users/<--username-->/Documents/myReactNativeApp/node_modules/react-native/android/com/facebook/react/react-native/0.69.3/react-native-0.69.3.pom' to cache md5-checksums.bin (/Users/... | [CODE] package dependencies: "react": "16.11.0", "react-native": "0.62.2", current version: "react": "18.0.0", "react-native": "0.69.3" node Version: v16.16.0 react-native-cli Version: 2.0.1 cocoapods Version: 1.11.3 Macbook Air (Mac m1) | android|reactjs|react-native|react-native-cli | 0 | 2022-08-03T17:57:19.200Z | 2,022 | 8 | 17 | 2 | 56 | 0 | 317 | 61 | 4 | 1 | true | true | false | false | false | false | zero |
73,225,987 | FabricJS Canvas black screen on chrome mobile (Android) but works on desktop chrome | <p>Here is the JSFiddle - <a href="https://jsfiddle.net/1ruxhe3a/19/" rel="nofollow noreferrer">https://jsfiddle.net/1ruxhe3a/19/</a></p>
<pre><code><div class="container-wrapper">
<div class="inner-wrapper">
<div class="container" id="chart-... | Here is the JSFiddle - https://jsfiddle.net/1ruxhe3a/19/ [CODE] Here is working on chrome desktop browser with scrollable container - Version 103.0.5060.134 (Official Build) (64-bit) And here is chrome mobile android version On chrome android it shows canvas black screen, Can you please help me with this issue?- | javascript|android|canvas|html5-canvas|fabricjs | 0 | 2022-08-03T18:13:20.987Z | 2,022 | 8 | 18 | 2 | 32 | 0 | 313 | 83 | 5 | 1 | true | true | false | false | false | false | zero |
73,226,003 | Connecting Firebase to my Flutter App ChromeProxyService: Failed to evaluate expression 'FireBase.initializeApp':InternalError: No frame with index 14 | <p>I have connected my firebase project successfully because it was running and then I added other screens and changed navigation to <code>namedRoute</code> and now my app won't run I have received this error: "ChromeProxyService: Failed to evaluate expression 'callback': InternalError: No frame with index 14.&quo... | I have connected my firebase project successfully because it was running and then I added other screens and changed navigation to namedRoute and now my app won't run I have received this error: "ChromeProxyService: Failed to evaluate expression 'callback': InternalError: No frame with index 14." please help B... | android|flutter|firebase|dart | 0 | 2022-08-03T18:14:56.360Z | 2,022 | 8 | 18 | 2 | 48 | 2 | 839 | 150 | 4 | 2 | true | false | false | false | false | false | zero |
73,226,165 | How to keep single APK when leveraging asset pack from Play Asset Delivery? | <p>I am adopting Play Asset Delivery and try to make some of the assets an asset pack. However, it seems I can no longer produce a single <code>apk</code> for a device to test. Instead, I have to use the format <code>apks</code>.</p>
<p>Is there a way I can produce a single <code>apk</code> when having asset pack?</p> | I am adopting Play Asset Delivery and try to make some of the assets an asset pack. However, it seems I can no longer produce a single apk for a device to test. Instead, I have to use the format apks . Is there a way I can produce a single apk when having asset pack? | android|google-play | 0 | 2022-08-03T18:28:32.110Z | 2,022 | 8 | 18 | 2 | 26 | 0 | 267 | 75 | 2 | 0 | false | true | false | false | false | false | zero |
73,226,223 | Android Encrypt CC Using RSA JWK | <p>I'm trying to create an RSAPublicKeySpec with the JWK modulus and exponent provided by CyberSource. The goal is to use it to encrypt a given credit card number. I'm stuck with this error "RSA Exponent is even"</p>
<p>Example JWK:</p>
<pre><code>{
"kty": "RSA",
"use": "enc... | I'm trying to create an RSAPublicKeySpec with the JWK modulus and exponent provided by CyberSource. The goal is to use it to encrypt a given credit card number. I'm stuck with this error "RSA Exponent is even" Example JWK: [CODE] Android Kotlin code: [CODE] Example of expected result: [CODE] | android|kotlin|encryption|rsa|jwk | -1 | 2022-08-03T18:34:23.613Z | 2,022 | 8 | 18 | 2 | 79 | 2 | 302 | 32 | 5 | 3 | true | false | false | false | false | true | negative |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.