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,773,401
How can i achieve In-App update with Custom UI
<p>I have to install app updates without redirecting user to play store. I am able achieve it through default UI provided by google. My issue is that Can I use custom UI with In-app updates? or is there any other way instead of in-app update, to update apk without redirect user to play store.</p> <p>Thanks in Advance!!...
I have to install app updates without redirecting user to play store. I am able achieve it through default UI provided by google. My issue is that Can I use custom UI with In-app updates? or is there any other way instead of in-app update, to update apk without redirect user to play store. Thanks in Advance!!
android|google-play|in-app-update|app-update
0
2022-09-19T12:32:03.107Z
2,022
9
12
0
19
0
310
46
4
0
false
true
false
false
false
false
zero
73,773,478
Read default values from firebase remote config in js gives error resource not found
<p>when my app is not connected to internet would like the default values to be read from the file downloaded from the firebase console and not the default values specified within the code.</p> <p>Went through the following documentation - <a href="https://firebase.google.com/docs/remote-config/get-started?platform=web...
when my app is not connected to internet would like the default values to be read from the file downloaded from the firebase console and not the default values specified within the code. Went through the following documentation - https://firebase.google.com/docs/remote-config/get-started?platform=web#firebase-console_1...
android|ios|firebase|react-native|firebase-remote-config
0
2022-09-19T12:39:10.120Z
2,022
9
12
0
31
1
1,372
84
5
2
true
false
false
false
false
false
zero
73,773,510
Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libreanimated.so" not found
<p>I am receiving this error when building an Android application after upgrading my react native version from 0.67 to 0.69. Is there anyone who can help me with this problem?</p> <blockquote> <p>Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library &quot;libreanimated.so&quot; not fo...
I am receiving this error when building an Android application after upgrading my react native version from 0.67 to 0.69. Is there anyone who can help me with this problem? Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library &quot;libreanimated.so&quot; not found
android|react-native|react-native-reanimated
0
2022-09-19T12:41:58.970Z
2,022
9
12
0
36
0
300
117
3
0
false
true
false
false
false
false
zero
73,773,564
Kotlin Ignoring header X-Firebase-Locale because its value was null
<p>hey guys im stuck with a problem in Android Studio , my app worked fine before but suddenly there is an issue when im trying to log in or register to the app throgh FireBase Auth,</p> <p>i tried to reset the firebase console and opend a new one , connected the app to firebase by the book , all the implementation are...
hey guys im stuck with a problem in Android Studio , my app worked fine before but suddenly there is an issue when im trying to log in or register to the app throgh FireBase Auth, i tried to reset the firebase console and opend a new one , connected the app to firebase by the book , all the implementation are up to dat...
firebase|android-studio|kotlin
0
2022-09-19T12:45:52.487Z
2,022
9
12
0
50
0
1,137
67
3
5
true
true
false
false
false
false
zero
73,773,681
How to rotate drawOval() in android canvas on touch and drag it?
<p>I'm able to draw oval on canvas and figured it out touch on 4 co-ordinates on it (left, right, top bottom). I need to rotate whole oval on touch of respective point and drag on canvas.</p> <p>Current code:</p> <pre><code>override fun draw(canvas: Canvas, paint: Paint) { canvas.drawOval(rectF, paint) } override ...
I'm able to draw oval on canvas and figured it out touch on 4 co-ordinates on it (left, right, top bottom). I need to rotate whole oval on touch of respective point and drag on canvas. Current code: [CODE]
android|kotlin|android-canvas
0
2022-09-19T12:55:54.287Z
2,022
9
12
0
20
0
205
64
3
1
true
true
false
false
false
false
zero
73,773,689
Jetpack Compose correct accessing of data from ViewModel
<p>today I'm trying about Jetpack compose and the ViewModel class. Everything seems to be logic but I got some problems understanding the encapsulation.</p> <pre><code>// ViewModel class MyViewModel: ViewModel() { var uiStateList = mutableStateListOf(1,2,3) privat set private var _uiStateList2 = mutableStateLi...
today I'm trying about Jetpack compose and the ViewModel class. Everything seems to be logic but I got some problems understanding the encapsulation. [CODE] The first var is like in the Compose tutorials. The construction of the second var looks like using MutableLiveData. [CODE] In the first case it's possible to modi...
kotlin|android-jetpack-compose
0
2022-09-19T12:56:25.137Z
2,022
9
12
0
27
1
1,162
56
2
2
true
false
false
false
false
false
zero
73,773,693
When I run my app in android studio it runs a different app
<p>I have two different projects (for simplicity I will call them project 1 and project 2). When I run project 1 it runs just fine. However when I run project 2 for some reason it runs project 1. How may I be able to fix this.</p>
I have two different projects (for simplicity I will call them project 1 and project 2). When I run project 1 it runs just fine. However when I run project 2 for some reason it runs project 1. How may I be able to fix this.
android-studio
0
2022-09-19T12:56:41.240Z
2,022
9
12
0
26
1
223
59
1
0
false
false
false
false
false
false
zero
73,773,722
Android Emulator version 8.1 configure in xml file
<p>I am working with Android Version 8.1.0 emulator from Android Studio the script i am running is from <a href="https://github.com/mspreitz/ADEL/blob/master/xml/phone_configs.xml" rel="nofollow noreferrer">https://github.com/mspreitz/ADEL/blob/master/xml/phone_configs.xml</a> this script contains configuration for NeX...
I am working with Android Version 8.1.0 emulator from Android Studio the script i am running is from https://github.com/mspreitz/ADEL/blob/master/xml/phone_configs.xml this script contains configuration for NeXus Device Android Version 4.4 Now it is deprecated. Where do I get the information to configure the properties...
python-3.x|xml|android-studio|sdk|adb
0
2022-09-19T12:58:22.397Z
2,022
9
12
0
17
0
728
50
5
0
false
true
false
false
false
false
zero
73,773,748
Animating Drawer inside Scaffold in Compose
<p>I need to achieve the visuals shown in the example for my drawer when it is opened. However I could not find any luck with default drawer properties in Scaffold since you can only change elevation, shape and corners of the drawable? Is there any way to do this? <a href="https://i.stack.imgur.com/QAvTW.png" rel="nofo...
I need to achieve the visuals shown in the example for my drawer when it is opened. However I could not find any luck with default drawer properties in Scaffold since you can only change elevation, shape and corners of the drawable? Is there any way to do this?
android|kotlin|android-jetpack-compose|drawer|scaffold
0
2022-09-19T13:00:26.267Z
2,022
9
13
0
23
0
261
43
5
0
false
true
false
false
false
false
zero
73,773,839
How to add back arrow in NavigationUi prpject
<p>I've started to create my project made by an Activity, with Nav Drawer, NavigationUi who call two fragments and also three Activities. After a lot of errors, I understand a lot about Navigation. I understand that I need to use instead of calls, in navigation, and also include the proper navigation of the activity....
I've started to create my project made by an Activity, with Nav Drawer, NavigationUi who call two fragments and also three Activities. After a lot of errors, I understand a lot about Navigation. I understand that I need to use instead of calls, in navigation, and also include the proper navigation of the activity. Also...
java|android|kotlin|android-layout|android-fragments
0
2022-09-19T13:07:58.920Z
2,022
9
13
0
17
0
843
45
5
0
false
true
false
false
false
false
zero
73,773,860
After I upgraded my Flutter, this message appeared: Flutter: A problem occurred evaluating project ':app'
<p>I have an issue after I upgraded my Flutter version to the latest version, on where it tells me that something wrong with my Gradle. I've checked all over Stack Overflow, and I also join the flutterdev on Discord, I tried one of the potential solutions like, reinstall my SDK tools, flutter clean, but none of them wo...
I have an issue after I upgraded my Flutter version to the latest version, on where it tells me that something wrong with my Gradle. I've checked all over Stack Overflow, and I also join the flutterdev on Discord, I tried one of the potential solutions like, reinstall my SDK tools, flutter clean, but none of them worke...
flutter|android-studio|visual-studio-code|gradle
0
2022-09-19T13:09:03.723Z
2,022
9
13
0
28
0
957
105
4
1
true
true
false
false
false
false
zero
73,773,883
Are there way to find format errors in localized strings for translated strings android res xml?
<p>I am working on Crowdin client js api to fetch translated strings from Crowdin. I have implemented upload of strings from res dir to crowdin, download of translated strings from Crowdin and update of localized strings to android res dir.</p> <p>But the issues I am trying to fix is that how the strings format errors ...
I am working on Crowdin client js api to fetch translated strings from Crowdin. I have implemented upload of strings from res dir to crowdin, download of translated strings from Crowdin and update of localized strings to android res dir. But the issues I am trying to fix is that how the strings format errors can be fou...
android|gradle|crowdin
0
2022-09-19T13:10:48.940Z
2,022
9
13
0
17
0
497
96
3
1
true
true
false
false
false
false
zero
73,773,982
How to publish Android App above 100 MB on Google Play store
<p>How can I publish my Android application, as it is not possible to upload an application that</p> <p>exceeds 100 MB on the Google Play store,</p> <p>My application contains audio files in Assats Folder exceeding 100 MB in size, how can I</p> <p>upload an application that is 800 MB in size on Google Play store</p>
How can I publish my Android application, as it is not possible to upload an application that exceeds 100 MB on the Google Play store, My application contains audio files in Assats Folder exceeding 100 MB in size, how can I upload an application that is 800 MB in size on Google Play store
java|android|android-studio|kotlin
0
2022-09-19T13:17:36.297Z
2,022
9
13
0
40
1
289
60
4
0
false
false
false
false
false
false
zero
73,773,986
Android RecyclerView height problem inside view pager2 inside NestedScrollView with TabLayout
<p>I have a problem. I want hiding TopLayout when view pager scrolling. I had been successfully this but recycler views heights are wrong when NestedScrollView scrolling.</p> <h3>HomeFragment.kt</h3> <p>Main fragment is here</p> <pre><code> private var fragments = mutableListOf(FirstFragment(), SecondFragment()) ...
I have a problem. I want hiding TopLayout when view pager scrolling. I had been successfully this but recycler views heights are wrong when NestedScrollView scrolling. HomeFragment.kt Main fragment is here [CODE] home_fragment.xml [CODE] FirstFragment.kt [CODE] fragment_first.xml [CODE] SecondFragment.kt [CODE] fragmen...
java|android|xml|kotlin|android-viewpager
2
2022-09-19T13:18:00.173Z
2,022
9
13
0
27
1
369
93
5
7
true
false
false
false
false
false
low
73,774,058
Set Entry Cursor visibility // color
<p>i want to create like a &quot;hidden entry&quot; which I use in a data loading screen to preload debit cards after going through a band reader.</p> <p>My problem it's that i cannot hidden the entry cursor and they see on the screen that &quot;someone it's typing&quot; when they read the card with the band reader.</p...
i want to create like a &quot;hidden entry&quot; which I use in a data loading screen to preload debit cards after going through a band reader. My problem it's that i cannot hidden the entry cursor and they see on the screen that &quot;someone it's typing&quot; when they read the card with the band reader. My code: [CO...
android|maui|.net-maui
0
2022-09-19T13:22:48.993Z
2,022
9
13
0
42
1
589
36
3
2
true
false
false
false
false
false
zero
73,774,122
how to change textview color upon entering something in edittext
<p>when the user has put something according to written on the <a href="https://i.stack.imgur.com/qCgIt.jpg" rel="nofollow noreferrer">enter image description here</a>text I want that text color to change like in this image</p>
when the user has put something according to written on the enter image description here text I want that text color to change like in this image
java|android|xml|textview|android-edittext
-2
2022-09-19T13:26:47.387Z
2,022
9
13
0
22
1
145
64
5
0
false
false
false
false
false
true
negative
73,774,131
GridLayout with variable row height in Xamarin
<p>I have a fairly simple Xamarin app with a primary interface that consists of two ImageViews, one overlayed on the other. The images are the same size, and I want them to expand to fill the screen. Except that I want the bottom 100 pixels (about) reserved for a banner ad.</p> <p>Without the ad, I found this simple....
I have a fairly simple Xamarin app with a primary interface that consists of two ImageViews, one overlayed on the other. The images are the same size, and I want them to expand to fill the screen. Except that I want the bottom 100 pixels (about) reserved for a banner ad. Without the ad, I found this simple. I used a Re...
android-layout|xamarin|xamarin.android|android-gridlayout
0
2022-09-19T13:27:14.847Z
2,022
9
13
0
43
1
1,287
46
4
1
true
false
false
false
false
false
zero
73,774,225
Database of images and description of cities
<p>I am building an app where I would like to display the cities near me according the number of kilometers walked by a user. So if I do 200 km, the app should be able to display major cities within 200 kilometers.</p> <p>I found an open data base where I have all the lattitude and longitude of the cities. Next I would...
I am building an app where I would like to display the cities near me according the number of kilometers walked by a user. So if I do 200 km, the app should be able to display major cities within 200 kilometers. I found an open data base where I have all the lattitude and longitude of the cities. Next I would like to k...
android|sql|database|encoding
0
2022-09-19T13:32:23.857Z
2,022
9
13
0
9
0
708
44
4
0
false
true
false
false
false
false
zero
73,774,271
How to get colors from color.xml in values-night folder even in light theme?
<p>I have one page where I need to use colors from night mode regardless of current app/phone theme.</p> <p>Let's say I have <code>colorAppBg</code> declared in both <code>values/colors.xml</code> and <code>values-night/colors.xml</code> with different hex.</p> <p>How can I get <code>colorAppBg</code> from <code>values...
I have one page where I need to use colors from night mode regardless of current app/phone theme. Let's say I have colorAppBg declared in both values/colors.xml and values-night/colors.xml with different hex. How can I get colorAppBg from values-night folder for 1 specific fragment?
android|colors|styles|android-theme|android-styles
0
2022-09-19T13:35:56.243Z
2,022
9
13
0
19
0
283
76
5
0
false
true
false
false
false
false
zero
73,774,293
Firestore: When do I have to remove SnapshotListeners?
<p>I am working on an Android App and a few of my activities are listening to a Firestore-Database with the help of the function <code>addSnapshotListener</code>. When an activity that called the <code>addSnapshotListener</code> function gets finished (by calling <code>finish()</code> or pressing the back button): Is t...
I am working on an Android App and a few of my activities are listening to a Firestore-Database with the help of the function addSnapshotListener . When an activity that called the addSnapshotListener function gets finished (by calling finish() or pressing the back button): Is the listener removed automatically or do I...
android|firebase|kotlin|google-cloud-firestore
0
2022-09-19T13:37:53.873Z
2,022
9
13
0
23
1
487
54
4
0
false
false
false
false
false
false
zero
73,774,321
ImageButton image not shown/updated at runtime after fragment transition
<p>I am working on some <a href="https://developer.android.com/about" rel="nofollow noreferrer">Android app</a> with single <a href="https://developer.android.com/reference/android/app/Activity" rel="nofollow noreferrer">Activity</a>, named <code>MainActivity</code> and several <a href="https://developer.android.com/re...
I am working on some Android app with single Activity , named MainActivity and several Fragments . Now, through application usage at some point the application fetches images from target device local storage and shows them for selection in PhotoPickerFragment , like shown in following screenshot: PhotoPickerFragment al...
java|android
1
2022-09-19T13:40:04.113Z
2,022
9
13
0
31
0
1,503
72
2
3
true
true
false
false
false
false
low
73,774,342
GPL/LGPL-Licensed Dependencies In Kotlin?
<p>We have used Android's documentation to <a href="https://developers.google.com/android/guides/opensource" rel="nofollow noreferrer">include open source notices</a> in our app. After using this, an activity can be shown presumably listing all the open-source software (OSS) dependencies in our app. Clicking on any of ...
We have used Android's documentation to include open source notices in our app. After using this, an activity can be shown presumably listing all the open-source software (OSS) dependencies in our app. Clicking on any of these dependencies shows the relevant OSS license. The problem: In this list of OSS dependencies th...
android|kotlin|licensing|android-app-licensing
0
2022-09-19T13:41:45.120Z
2,022
9
13
0
30
0
2,268
41
4
0
false
true
false
false
false
false
zero
73,774,346
Failed to read or create install properties file after 10% installing
<p>The below error is seen in command prompt when executing the command</p> <p>sdkmanager &quot;platform-tools&quot; &quot;platforms;android-29&quot;</p> <h1>Error :</h1> <p>Accept? (y/N): y Warning: Failed to read or create install properties file. [=== ] 10% Installing Android SDK P...
The below error is seen in command prompt when executing the command sdkmanager &quot;platform-tools&quot; &quot;platforms;android-29&quot; Error : Accept? (y/N): y Warning: Failed to read or create install properties file. [=== ] 10% Installing Android SDK Platform 29
android
0
2022-09-19T13:41:56.563Z
2,022
9
13
0
18
1
269
69
1
0
false
false
false
false
false
false
zero
73,774,429
How to automate android phone
<p>I want to create an app that clears it's own cache. I want to automate the user process like Ccleaner. To press a button and then the phone to go to Settings-&gt;Apps-&gt;My App-&gt;Storage-&gt;Clear Cache and then comeback to the app. I know Appium and Selenium for testing but it's not what I want. I want to automa...
I want to create an app that clears it's own cache. I want to automate the user process like Ccleaner. To press a button and then the phone to go to Settings->Apps->My App->Storage->Clear Cache and then comeback to the app. I know Appium and Selenium for testing but it's not what I want. I want to automate this process...
android|automation
-1
2022-09-19T13:47:37.427Z
2,022
9
13
0
22
0
374
29
2
0
false
true
false
false
false
true
negative
73,774,514
How to use Google Cloud API Speech To Text In Android Studio
<p>I am using Java in android Studio . I am Interested in Google cloud Speech to Text . How can i use it in android studio .</p>
I am using Java in android Studio . I am Interested in Google cloud Speech to Text . How can i use it in android studio .
java|android-studio|speech-to-text|google-speech-to-text-api
0
2022-09-19T13:53:15.520Z
2,022
9
13
0
24
0
121
60
4
0
false
true
false
false
false
false
zero
73,774,518
How to set constant animation after EditText reach target length?
<p>I want to set animation on ImageView when user put more than 3 characters. I wrote a code to do this. Main problem is when I keep putting more than 3 characters the animation starts again from 0 position always when new character is added, so it doesn't looks good.</p> <pre><code>protected void onCreate(Bundle saved...
I want to set animation on ImageView when user put more than 3 characters. I wrote a code to do this. Main problem is when I keep putting more than 3 characters the animation starts again from 0 position always when new character is added, so it doesn't looks good. [CODE] So the question is, what changes I need to make...
java|android
0
2022-09-19T13:53:32.737Z
2,022
9
13
0
20
1
405
65
2
1
true
false
false
false
false
false
zero
73,774,666
react native how to open a link in default browser from android and ios without using Linking.openURL
<p>I have a website, an ios app and android app.</p> <p>Some deeplinks to the website I catch in the deeplink handling. However some I can't handle in the app so have to redirect the user back to the website. but in doing this I retrigger the deeplinks because for android the intent filter catches it again and in ios t...
I have a website, an ios app and android app. Some deeplinks to the website I catch in the deeplink handling. However some I can't handle in the app so have to redirect the user back to the website. but in doing this I retrigger the deeplinks because for android the intent filter catches it again and in ios the same ur...
android|ios|reactjs|react-native|deep-linking
0
2022-09-19T14:03:50.240Z
2,022
9
14
0
35
0
1,238
101
5
0
false
true
false
false
false
false
zero
73,774,716
Android UnknownHostException even there is an active and working internet connection
<p>I am having a lot of <code>UnknownHostException</code> thrown and the app is disconnected from the internet completely, this issue is happening in multiple apps I am working on the issue happens on Samsung and Xiaomi devices mainly</p> <p><a href="https://i.stack.imgur.com/kHHDf.png" rel="nofollow noreferrer"><img s...
I am having a lot of UnknownHostException thrown and the app is disconnected from the internet completely, this issue is happening in multiple apps I am working on the issue happens on Samsung and Xiaomi devices mainly this issue happens when the user leave the app in the background for a long time for example 12 hours...
android|retrofit2|okhttp|dagger-hilt|android-memory
0
2022-09-19T14:08:23.997Z
2,022
9
14
0
32
0
1,050
84
5
3
true
true
false
false
false
false
zero
73,774,821
Could not found plugin: 'com.google.gms.google-services'
<p>I'm new in Android. I am working on firebase app project. I have already added google services plugin. But It showing me this error: Could not found plugin: 'com.google.gms.google-services'.</p> <p>app:gradle</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 32 defaultConfig { ...
I'm new in Android. I am working on firebase app project. I have already added google services plugin. But It showing me this error: Could not found plugin: 'com.google.gms.google-services'. app:gradle [CODE]
java|android|gradle
1
2022-09-19T14:16:47.643Z
2,022
9
14
0
36
2
208
56
3
1
true
false
false
false
false
false
low
73,774,861
Does anyone know why I am getting a null object reference when trying to push firebase data into android studio
<p>I am currently working on a project to push data from a firebase real time database into an android application using android studio. I have already been successfully able to display data from other certain parts of the database but I am having trouble displaying data from a portion of the database labeled &quot;TH&...
I am currently working on a project to push data from a firebase real time database into an android application using android studio. I have already been successfully able to display data from other certain parts of the database but I am having trouble displaying data from a portion of the database labeled &quot;TH&quo...
java|android|firebase|firebase-realtime-database
0
2022-09-19T14:19:49.050Z
2,022
9
14
0
14
0
888
111
4
2
true
true
false
false
false
false
zero
73,774,888
How to disable detectTransfromGestures() on horizontall scroll?
<p>I have the HorizontalPager with images. If the image has detectTransformGestures, the HorizontalPager will not scroll. If it's not there, then everything works. How can detectTransformGestures be disabled when scrolling horizontally.</p> <pre><code> var size by remember { mutableStateOf(Size.Zero) } v...
I have the HorizontalPager with images. If the image has detectTransformGestures, the HorizontalPager will not scroll. If it's not there, then everything works. How can detectTransformGestures be disabled when scrolling horizontally. [CODE]
android|android-studio|kotlin|android-jetpack-compose
0
2022-09-19T14:22:19.380Z
2,022
9
14
0
23
1
240
63
4
1
true
false
false
false
false
false
zero
73,774,893
Could not HEAD 'https://giphy.bintray.com/giphy-sdk/com/github/MasayukiSuda/GPUVideo-android/v0.1.2/GPUVideo-android-v0.1.2.pom'
<p>Im having this error :-</p> <pre><code> Could not HEAD 'https://giphy.bintray.com/giphy-sdk/com/github/MasayukiSuda/GPUVideo-android/v0.1.2/GPUVideo-android-v0.1.2.pom'. Received status code 502 from server: Bad Gateway Disable Gradle 'offline mode' and sync project </code></pre> <p>Also this as the main error in...
Im having this error :- [CODE] Also this as the main error in logcat:- [CODE] I opened this project after sometime and when I tried to built a release it started showing this error to me I tried some other stuff but didnt work. Can someone help me out here. It will be really helpfull.
android
0
2022-09-19T14:22:40.703Z
2,022
9
14
0
14
1
285
128
1
2
true
false
false
false
false
false
zero
73,775,051
How to get back logcat before dolphin version on android studio?
<p>The logcat change on the version Android Studio Dolphin 2021.3.1</p> <p>In my little screen this new logcat is not adapted at all.</p> <p>How can keep the old one ?</p>
The logcat change on the version Android Studio Dolphin 2021.3.1 In my little screen this new logcat is not adapted at all. How can keep the old one ?
android-studio|logcat
3
2022-09-19T14:33:19.920Z
2,022
9
14
0
209
1
150
64
2
0
false
false
false
false
false
false
low
73,775,057
How to fix Android Emulator Wi-Fi with no Internet?
<p>There are 2 ways to fix this bug.</p> <ol> <li>You should turn off android emulator and [cold boot] again.</li> </ol> <p>If the first method doesn't work ...</p> <ol start="2"> <li>You should turn on [Plane Mode] (on top menu of screen) and after a sec turn off again. Then Wi-Fi will connect to the internet.</li> </...
There are 2 ways to fix this bug. You should turn off android emulator and [cold boot] again. If the first method doesn't work ... You should turn on [Plane Mode] (on top menu of screen) and after a sec turn off again. Then Wi-Fi will connect to the internet.
android-emulator|wifi|android-wifi
0
2022-09-19T14:33:33.547Z
2,022
9
14
0
13
0
259
51
3
0
false
true
false
false
false
false
zero
73,775,106
Tesseract4Android - Could not initialize Tesseract API with language=eng
<p>I'm working on an android app that uses <a href="https://github.com/adaptech-cz/Tesseract4Android" rel="nofollow noreferrer">Tesseract4Android</a> and followed the steps yet this error keeps occurring</p> <p>I've made a folder &quot;tesseract&quot; in &quot;sdcard/&quot; and it contains &quot;tessdata&quot; with the...
I'm working on an android app that uses Tesseract4Android and followed the steps yet this error keeps occurring I've made a folder &quot;tesseract&quot; in &quot;sdcard/&quot; and it contains &quot;tessdata&quot; with the *.traineddata files. Added install-time permission in the android manifest: [CODE] together with r...
android|kotlin|tesseract|tess4j
0
2022-09-19T14:37:00.070Z
2,022
9
14
0
44
1
518
72
4
2
true
false
false
false
false
false
zero
73,775,464
Can`t create a view with drag&drop, on click, on long click and on double click listener
<p>I have a RecyclerView in which the elements will have the following logic: when clicked, the title of the element is shown, when dragged, the element is dragged, when long pressed, the description of the element is shown, when double-clicked, the element is used</p> <p>Here is my code:</p> <pre><code>@Override p...
I have a RecyclerView in which the elements will have the following logic: when clicked, the title of the element is shown, when dragged, the element is dragged, when long pressed, the description of the element is shown, when double-clicked, the element is used Here is my code: [CODE] When drag_item() function is call...
java|android|android-recyclerview|drag|gesturelistener
0
2022-09-19T14:58:34.950Z
2,022
9
14
0
25
0
520
88
5
2
true
true
false
false
false
false
zero
73,775,493
Can't build a build on AndroidSDK API 31 level Unity version 2019.4.31f1
<p>connoisseurs! Please be understanding of my post, as I will probably ask trivial things, but I am a newbie and cannot solve this problem( A problem here is what - I have in the project, such libraries as - FacebookSDK-11, appflayer-6.3.5, OneSignal-3.0.4, WebView-4.13.0, UniTask-2.2.5. On the androidSDK 30 level bui...
connoisseurs! Please be understanding of my post, as I will probably ask trivial things, but I am a newbie and cannot solve this problem( A problem here is what - I have in the project, such libraries as - FacebookSDK-11, appflayer-6.3.5, OneSignal-3.0.4, WebView-4.13.0, UniTask-2.2.5. On the androidSDK 30 level builds...
c#|android|unity3d|gradle|android-api-31
1
2022-09-19T15:00:57.197Z
2,022
9
15
0
51
1
1,262
72
5
6
true
false
false
false
false
false
low
73,775,584
Android Sygic Custom URL
<p>I follwed the sygic documentation <a href="https://www.sygic.com/developers/professional-navigation-sdk/android/api-examples/custom-url" rel="nofollow noreferrer">here</a> for getting a navigation on sygic app via intent but i am getting this error</p> <p><a href="https://i.stack.imgur.com/i9jAg.jpg" rel="nofollow ...
I follwed the sygic documentation here for getting a navigation on sygic app via intent but i am getting this error here is my code [CODE]
android-intent|sygic|sygic-maps
0
2022-09-19T15:07:33.373Z
2,022
9
15
0
9
0
138
24
3
1
true
true
false
false
false
false
zero
73,775,662
Singleton class in Android application using synchronized initalizer
<p>I need a single instance of one class to be used across my whole Android application. I am using the following code to achieve this and I want to be sure that doing it like this is correct, thread-safe and doesn't have an impact on performance.</p> <pre><code> public class MyClass { private static MyClas...
I need a single instance of one class to be used across my whole Android application. I am using the following code to achieve this and I want to be sure that doing it like this is correct, thread-safe and doesn't have an impact on performance. [CODE] Whenever I need an instance of MyClass in the application, I call: [...
java|android|performance|thread-safety|singleton
-1
2022-09-19T15:13:53.297Z
2,022
9
15
0
31
1
498
68
5
2
true
false
false
false
false
true
negative
73,775,765
when i use animation in Android,it clip my Imageview,how to solve it?
<p>i'm attemp to implement a animation,which is saw like below <a href="https://i.stack.imgur.com/boioF.gif" rel="nofollow noreferrer">it can change picture automatically when turn upside down once </a></p> <pre><code>valueAnimator.addListener(new Animator.AnimatorListener() { @Override public void onAn...
i'm attemp to implement a animation,which is saw like below it can change picture automatically when turn upside down once [CODE] but the piture doesn't work as i want. it's cliped,can't see entirely. i guess it was i change my picture when it go down and the height of it is changed.but the ImageView force it to center...
android|animation|imageview
0
2022-09-19T15:21:14.310Z
2,022
9
15
0
9
0
360
69
3
1
true
true
false
false
false
false
zero
73,775,776
Android: How to simulate CursorWindowAllocationException crash
<p>I want to simulate <code>android.database.CursorWindowAllocationException</code> crash. I am working on a huge codebase with a lot of room database queries in each screen. I am not sure in which database query this crash occurs and in which scenario this crash occurs. So is there any way to <code>simulate</code> thi...
I want to simulate android.database.CursorWindowAllocationException crash. I am working on a huge codebase with a lot of room database queries in each screen. I am not sure in which database query this crash occurs and in which scenario this crash occurs. So is there any way to simulate this crash? I tried keeping almo...
android|android-room|android-database
0
2022-09-19T15:22:30.113Z
2,022
9
15
0
35
1
455
62
3
1
true
false
false
false
false
false
zero
73,775,836
How to get flutter's textfield trigger?
<p>i want to change my container's border color when the TextField is on focus. Is in Flutter this thing is ilegal? i've tried several way and it color can't be change when TextField is on focus or loss focus.</p> <p>open it <a href="https://i.postimg.cc/767RT4qW/Screenshot-45.png" rel="nofollow noreferrer">https://i.p...
i want to change my container's border color when the TextField is on focus. Is in Flutter this thing is ilegal? i've tried several way and it color can't be change when TextField is on focus or loss focus. open it https://i.postimg.cc/767RT4qW/Screenshot-45.png here's my container and textfield code: [CODE]
android|ios|flutter
0
2022-09-19T15:27:22.140Z
2,022
9
15
0
31
2
309
39
3
1
true
false
false
false
false
false
zero
73,775,849
can i know if my app can start an activity?
<p>since Android 10, there are restrictions on starting activity:</p> <p><a href="https://developer.android.com/guide/components/activities/background-starts" rel="nofollow noreferrer">https://developer.android.com/guide/components/activities/background-starts</a></p> <p>is there a way to know if my app can start an a...
since Android 10, there are restrictions on starting activity: https://developer.android.com/guide/components/activities/background-starts is there a way to know if my app can start an activity or need to display a notification? my tests only show logcat message ActivityTaskManager: Background activity start but there ...
android-activity
0
2022-09-19T15:28:08.303Z
2,022
9
15
0
10
1
412
43
1
0
false
false
false
false
false
false
zero
73,775,852
Problem with Regex password verification with default android keyboard layouts such as Japanese and Russian keyboards
<p>I used Regex to verify a password with a minimum of 8 characters containing 1 uppercase, 1 lowercase, 1 special character, and 1 numeric value. The problem I encountered is that if people from Russia or any other country whose language is different from English try to enter the password using the default keyboard, i...
I used Regex to verify a password with a minimum of 8 characters containing 1 uppercase, 1 lowercase, 1 special character, and 1 numeric value. The problem I encountered is that if people from Russia or any other country whose language is different from English try to enter the password using the default keyboard, it w...
java|android|regex
2
2022-09-19T15:28:16.760Z
2,022
9
15
0
35
1
911
117
3
1
true
false
false
false
false
false
low
73,775,854
Set Up Maven Archetype in existing application in Android Studio
<p>I want to use Google Cloud Speech to Text Api. In their Documentation they are saying to create a project using terminal.and use below code to create a project.</p> <pre><code>mvn archetype:generate \ -DgroupId=com.example.app \ -DartifactId=speech-to-text-java \ -DarchetypeVersion=1.4 \ -Dinteracti...
I want to use Google Cloud Speech to Text Api. In their Documentation they are saying to create a project using terminal.and use below code to create a project. [CODE] But in android studio How can i do it. And i aslo want to use it in my existing app.
java|android-studio|google-cloud-platform|maven-archetype|google-speech-to-text-api
0
2022-09-19T15:28:25.110Z
2,022
9
15
0
16
0
252
64
5
1
true
true
false
false
false
false
zero
73,776,395
How to check if something was saved or not to a DataStore flow in Android Studio?
<p>I am building an app in which I need to save a piece of data (a boolean) to DataStore. But I only need to save it once (when the app runs for the very first time). How can I start the app for the first time, check if that boolean was or wasn't saved, and if it wasn't, save the data and prevent it from saving again n...
I am building an app in which I need to save a piece of data (a boolean) to DataStore. But I only need to save it once (when the app runs for the very first time). How can I start the app for the first time, check if that boolean was or wasn't saved, and if it wasn't, save the data and prevent it from saving again next...
android|android-studio|kotlin|kotlin-coroutines|android-jetpack-datastore
0
2022-09-19T16:15:14.410Z
2,022
9
16
0
21
1
344
81
5
0
false
false
false
false
false
false
zero
73,776,600
A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable error
<p>I am trying to generate a signed app bundle from my flutter app to upload to the Play Store. However when I run <code>Flutter build appbundle</code> I get the following error.</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Execution failed for task ':app:signReleaseBundle'.</li> </ul...
I am trying to generate a signed app bundle from my flutter app to upload to the Play Store. However when I run Flutter build appbundle I get the following error. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:signReleaseBundle'. A failure occurred while executing com.android....
android|flutter|gradle|keystore
1
2022-09-19T16:32:15.893Z
2,022
9
16
0
19
0
575
118
4
1
true
true
false
false
false
false
low
73,776,613
Undefined name '_LoginController' Flutter - Dart
<p>I'm new with flutter and Dart, I'm trying to use a method that's on my controller called LoginController, i already imported it but when i call the instance of my controller in a widget method theres an error that says Undefined name '_LoginController, need some help, pls!</p> <p>Here my code:</p> <p>The error messa...
I'm new with flutter and Dart, I'm trying to use a method that's on my controller called LoginController, i already imported it but when i call the instance of my controller in a widget method theres an error that says Undefined name '_LoginController, need some help, pls! Here my code: The error message: [CODE] Androi...
android|ios|flutter|dart
0
2022-09-19T16:32:59.943Z
2,022
9
16
0
33
3
566
48
4
4
true
false
false
false
false
false
zero
73,776,658
How to show an Alert Dialog on Android with jnius
<p>I'm trying to show a simple dialog on Android with jnius.<br /> I did first try the following :</p> <pre><code>AlertDialog = autoclass('android.app.AlertDialog') </code></pre> <p>and then use the builder to build it :</p> <pre><code>PythonActivity = autoclass('org.renpy.android.PythonActivity') ctx = cast('android.c...
I'm trying to show a simple dialog on Android with jnius. I did first try the following : [CODE] and then use the builder to build it : [CODE] However, jnius says AlertDialog does not have Builder. So, I tried by another way : [CODE] However, It still doesn't work &quot;jnius.jnius.JavaException: No methods matching yo...
android|python-2.7|pyjnius
0
2022-09-19T16:37:54.403Z
2,022
9
16
0
6
0
412
49
3
3
true
true
false
false
false
false
zero
73,776,764
Error: The method isn't defined for the class in Flutter and Module was compiled with an icompatible version
<p>I was just trying out a source code that I have seen online, and I wanted to test it, however, it is giving me multiple errors because of the new update on widgets.</p> <p><strong>The source code that I am trying to run and execute is:</strong> <a href="https://github.com/themaaz32/phone_verification" rel="nofollow ...
I was just trying out a source code that I have seen online, and I wanted to test it, however, it is giving me multiple errors because of the new update on widgets. The source code that I am trying to run and execute is: https://github.com/themaaz32/phone_verification The errors being displayed when I run the applicati...
flutter|android-studio|dart
0
2022-09-19T16:47:41.283Z
2,022
9
16
0
39
1
359
108
3
1
true
false
false
false
false
false
zero
73,776,812
How to Implement Sticky header with fast scroll in RecyclerView
<p>I want to enable fast scrolling in my sticky header recyclerview</p> <p>I have below type of recyclerview with sticky header</p> <p><a href="https://i.stack.imgur.com/alYBB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/alYBB.png" alt="enter image description here" /></a></p> <p>I'm using <a href...
I want to enable fast scrolling in my sticky header recyclerview I have below type of recyclerview with sticky header I'm using https://github.com/Codewaves/Sticky-Header-Grid for sticky header view implementation now i want enable fast scrolling in my recyclerview I'm using below code [CODE] Adapter code [CODE] Till n...
android|kotlin|android-recyclerview|fastscroll|sectionedrecyclerviewadapter
0
2022-09-19T16:52:17.870Z
2,022
9
16
0
28
0
913
63
5
2
true
true
false
false
false
false
zero
73,776,862
resolveActivity() doesn't find an activity
<p>I have an intent</p> <pre><code>final Intent pickContact = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); mSuspectButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startActivityForResult(pickContact, REQUEST_CONTACT); } });...
I have an intent [CODE] and checking existing of the activities that can handle it [CODE] When i run this app on an emulator with API 32, because it has a contact app, resolveActivity() can find the needed activity to run. But then i tried to run this app on my phone with API 30 and resolveActivity() didn't find any ac...
android
0
2022-09-19T16:57:51.783Z
2,022
9
16
0
24
0
698
42
1
3
true
true
false
false
false
false
zero
73,777,053
YouTubeAndroidPlayerApi library plays YouTube videos without a real GCP Api key
<p>I am using the YouTubeAndroidPlayerApi library to show a YouTube video playback in my Android application. (Specification-Version: 1.2.2)</p> <p><strong>gradle dependency:</strong></p> <pre><code>implementation files('libs/YouTubeAndroidPlayerApi.jar') </code></pre> <p>I noticed some strange behavior with the librar...
I am using the YouTubeAndroidPlayerApi library to show a YouTube video playback in my Android application. (Specification-Version: 1.2.2) gradle dependency: [CODE] I noticed some strange behavior with the library. The documentation says that you need to use the API key created in the GCP Console. But during testing it ...
android|android-studio|kotlin|android-youtube-api
0
2022-09-19T17:17:41.903Z
2,022
9
17
0
34
0
676
79
4
3
true
true
false
false
false
false
zero
73,777,097
The certificate used to sign the APK or Android App Bundle is not valid yet. Please provide a valid certificate
<p>I am trying to publish my game to Play Market, but it says this: &quot;The certificate used to sign the APK or Android App Bundle is not valid yet. Please provide a valid certificate.&quot; Tell me, please, how to fix it?</p>
I am trying to publish my game to Play Market, but it says this: &quot;The certificate used to sign the APK or Android App Bundle is not valid yet. Please provide a valid certificate.&quot; Tell me, please, how to fix it?
unity3d|admob|android-app-bundle
0
2022-09-19T17:21:46.630Z
2,022
9
17
0
11
0
221
111
3
0
false
true
false
false
false
false
zero
73,777,117
How to set rowspan in itext using do while loop in android studio
<p>My datas in PDF consists of 20 rows. I'm using do while loop for getting this 20 values from database. I trying to set rowspan for the last set of datas, which am unable to do so, as the last values are getting broken. Below is my codings...</p> <pre><code>PdfPTable tablel = new PdfPTable(3); tablel.setWidthPercenta...
My datas in PDF consists of 20 rows. I'm using do while loop for getting this 20 values from database. I trying to set rowspan for the last set of datas, which am unable to do so, as the last values are getting broken. Below is my codings... [CODE] I have also tried to put if loop to get first set of values and for the...
java|android|itext
0
2022-09-19T17:23:28.623Z
2,022
9
17
0
14
0
490
65
3
2
true
true
false
false
false
false
zero
73,777,121
How to move position of ZoomControls in google map android?
<p>I'm implementing google maps in my Android app, I have managed to implement google map up and running. Now the problem is current design of the application that I'm getting overlap of the zoom control in google map. How do I move this zoom control to another position? Thanks</p>
I'm implementing google maps in my Android app, I have managed to implement google map up and running. Now the problem is current design of the application that I'm getting overlap of the zoom control in google map. How do I move this zoom control to another position? Thanks
java|android|google-maps
0
2022-09-19T17:23:55.897Z
2,022
9
17
0
22
1
275
59
3
0
false
false
false
false
false
false
zero
73,777,204
How to upload documents to Firestore
<p>There was a question about loading data from Firebase Firestore Cloud. There is a simple query:</p> <pre class="lang-kotlin prettyprint-override"><code>val firestore = Firebase.firestore suspend fun getDocuments(timestamp: Timestamp): List&lt;Entity&gt; = firestore .collection(&quot;collection&quot;) ...
There was a question about loading data from Firebase Firestore Cloud. There is a simple query: [CODE] What happens if something goes wrong while uploading documents? Will I receive incomplete data or an error? In what order are the documents loaded? Does orderBy affect the load order?
android|firebase|kotlin|google-cloud-platform|google-cloud-firestore
0
2022-09-19T17:31:39.917Z
2,022
9
17
0
32
1
286
36
5
1
true
false
false
false
false
false
zero
73,777,229
Getting the Bluetooth Pairing Code on Appium
<p>I am trying to automate testing an Android app using Appium that searches for a specific device that is advertising BLE and tries to pair to it. Once the app detects the device, the Bluetooth pairing code will appear on the top. Using Appium Inspector, the accessibility ID for this pairing code shows up as &quot;Nav...
I am trying to automate testing an Android app using Appium that searches for a specific device that is advertising BLE and tries to pair to it. Once the app detects the device, the Bluetooth pairing code will appear on the top. Using Appium Inspector, the accessibility ID for this pairing code shows up as &quot;NavBar...
c#|android|bluetooth|appium
0
2022-09-19T17:33:31.167Z
2,022
9
17
0
23
0
682
44
4
2
true
true
false
false
false
false
zero
73,777,359
Class java.xml parser is causing my app not to work
<p>I am very new to Android studio and I am modifying a project for MQTT for io.adafruit. I was getting a warning about chrome not being able to load so I tried to update it and in so doing updated Android Studio and then started changing some suggested warnings. Now I get the following error and nothing will work.</p...
I am very new to Android studio and I am modifying a project for MQTT for io.adafruit. I was getting a warning about chrome not being able to load so I tried to update it and in so doing updated Android Studio and then started changing some suggested warnings. Now I get the following error and nothing will work. Provid...
java|android-studio
0
2022-09-19T17:44:34.550Z
2,022
9
17
0
23
0
1,521
51
2
3
true
true
false
false
false
false
zero
73,777,366
I can't compile anymore: AGPBI: {"kind":"error","text":"java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 0","sources":
<p>For a few days I have not been able to compile my project with the MacBook anymore while I am able to compile it with a Windows PC, despite not having changed anything. Until a few days ago I was able to compile without any problem but now I can no longer compile on MacBook even the previous releases this happens on...
For a few days I have not been able to compile my project with the MacBook anymore while I am able to compile it with a Windows PC, despite not having changed anything. Until a few days ago I was able to compile without any problem but now I can no longer compile on MacBook even the previous releases this happens only ...
android|android-studio|android-gradle-plugin|build.gradle|gradle-plugin
0
2022-09-19T17:45:12.943Z
2,022
9
17
0
30
1
580
145
5
3
true
false
false
false
false
false
zero
73,777,447
I want to put extra text into R.array.****
<pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main2); int value = getIntent().getIntExtra(&quot;key&quot;,0); </code></pre> <p>I want to put this extra text to R.array.<strong>&quot;this extra text&quot;</stron...
[CODE] I want to put this extra text to R.array. &quot;this extra text&quot; [CODE] } Supported image
android
-1
2022-09-19T17:52:45.240Z
2,022
9
17
0
30
1
101
42
1
2
true
false
false
false
false
true
negative
73,777,456
Build failing with androidx.navigation.safeargs.kotlin
<p>I am unable to add navigation components to my project. I am constantly getting following error:</p> <blockquote> <p>An exception occurred applying plugin request [id: 'androidx.navigation.safeargs.kotlin'] Failed to apply plugin 'androidx.navigation.safeargs.kotlin'. safeargs plugin must be used with android plugin...
I am unable to add navigation components to my project. I am constantly getting following error: An exception occurred applying plugin request [id: 'androidx.navigation.safeargs.kotlin'] Failed to apply plugin 'androidx.navigation.safeargs.kotlin'. safeargs plugin must be used with android plugin My build gradle looks ...
android-studio|kotlin|gradle|dependencies
0
2022-09-19T17:53:43.757Z
2,022
9
17
0
18
0
405
54
4
2
true
true
false
false
false
false
zero
73,777,457
Android share intent of copy to clipboard
<p>I want to detect which share action is selected in my app</p> <p>my share method:</p> <pre><code>public void share(String subject, String message) { List&lt;Intent&gt; shareIntentsLists = new ArrayList&lt;Intent&gt;(); Intent shareIntent = new Intent(); shareIntent.setAction(Intent.ACTION_SE...
I want to detect which share action is selected in my app my share method: [CODE] if put url link to message parameter and would show copy button to copy url to clipboard like this How do I detect this copy button is pressed? Because this button is not created in shareIntentsLists
android|android-intent|android-pendingintent
0
2022-09-19T17:53:47.627Z
2,022
9
17
0
21
0
281
41
3
1
true
true
false
false
false
false
zero
73,777,546
CastContext.getSharedInstance(Context) is now deprecated
<p>As the title says, <code>CastContext.getSharedInstance(Context)</code> is now deprecated:</p> <blockquote> <p>getSharedInstance(Context context): This method is deprecated. Use getSharedInstance(Context, Executor) instead to handle the exception when Cast SDK fails to load the internal Cast module. <a href="https://...
As the title says, CastContext.getSharedInstance(Context) is now deprecated: getSharedInstance(Context context): This method is deprecated. Use getSharedInstance(Context, Executor) instead to handle the exception when Cast SDK fails to load the internal Cast module. https://developers.google.com/android/reference/com/g...
android|google-play-services|chromecast|android-cast-api
0
2022-09-19T18:01:27.643Z
2,022
9
18
0
24
0
526
56
4
1
true
true
false
false
false
false
zero
73,777,578
Android Room, relation with polymorphic entities
<p>Here is simplified example of my JSON response :</p> <pre><code>[ { &quot;id&quot;: 1, &quot;accountName&quot;: &quot;Alex Terrible&quot;, &quot;socialNetworks&quot;: [ { &quot;id&quot;: 1, &quot;type&quot;: &quot;instagram&quot;, &quot;instagramUrl&...
Here is simplified example of my JSON response : [CODE] It is array of people with id, accountName and socialNetworks. Social networks have a different type. I already have read about polymorphism with single or separate tables here: https://commonsware.com/Room/pages/chap-poly-001.html . I would like variant with sepa...
android|database|android-room
0
2022-09-19T18:03:43.357Z
2,022
9
18
0
21
0
937
48
3
3
true
true
false
false
false
false
zero
73,777,655
My Home fragment is visible in the compiler but on launch the main activity is blank. What am I missing?
<p>From the resources and tutorials I watched it seemed as if I had done everything correctly. I thought perhaps that I might be missing something that wasn't mentioned or maybe I just overlooked something crucial. If anyone can tell me what it is I'd be beyond grateful.</p> <p><a href="https://drive.google.com/drive/f...
From the resources and tutorials I watched it seemed as if I had done everything correctly. I thought perhaps that I might be missing something that wasn't mentioned or maybe I just overlooked something crucial. If anyone can tell me what it is I'd be beyond grateful. https://drive.google.com/drive/folders/1NVFvnXMbSrN...
java|android|xml|android-studio|navigation
-1
2022-09-19T18:12:37.827Z
2,022
9
18
0
19
1
353
104
5
0
false
false
false
false
false
true
negative
73,777,691
What id of the item we need to put when adding item in SQLite through Room? Android
<p>I have a todo list app that use room for storing data.</p> <p>My data class looks like this</p> <pre><code>@Entity data class ToDoItem( @PrimaryKey val id: Int, val title: String, val description: String ) </code></pre> <p>When I add the new item in the list I am making this way</p> <pre><code> viewMode...
I have a todo list app that use room for storing data. My data class looks like this [CODE] When I add the new item in the list I am making this way [CODE] So it works fine. My question is why I can always send 0 as a primary key value? Why I don't have to get last item primary key value and send it as a parameter? How...
android|sqlite|android-sqlite|android-room
-1
2022-09-19T18:17:23.210Z
2,022
9
18
0
45
3
397
83
4
2
true
false
false
false
false
true
negative
73,777,709
ExoPlayer refuse to run video android
<p>iam using exoPlayer to play video url from realtime database but exoPlayer refuse to run video when i press play button, and i use last version from library implementation 'com.google.android.exoplayer:exoplayer:2.18.1'.</p> <p>this is my first time using ExoPlayer i dont know how fix it.</p> <p>the following error ...
iam using exoPlayer to play video url from realtime database but exoPlayer refuse to run video when i press play button, and i use last version from library implementation 'com.google.android.exoplayer:exoplayer:2.18.1'. this is my first time using ExoPlayer i dont know how fix it. the following error catched in logcat...
java|android|firebase|android-videoview|exoplayer
0
2022-09-19T18:19:20.477Z
2,022
9
18
0
21
0
498
37
5
3
true
true
false
false
false
false
zero
73,777,715
CATEGORY_APP_MESSAGING Does not show all Messaging applications
<p>I am trying to display a list with the messaging applications installed on the device, I am using the following code:</p> <p>In my Activity:</p> <pre><code>packageManager = getPackageManager(); appListMainArrayList = new ArrayList&lt;&gt;(); Intent intent = new Intent(Intent.ACTION_MAIN, null); ...
I am trying to display a list with the messaging applications installed on the device, I am using the following code: In my Activity: [CODE] In AndroidManifest.xml [CODE] I only tested on Android 12 and the only app on the list is the phone's Messages app, but I have many more installed (WhatsApp, Line, Facebok Messeng...
java|android
0
2022-09-19T18:19:43.430Z
2,022
9
18
0
15
0
805
63
2
2
true
true
false
false
false
false
zero
73,777,721
Activation Of android phones
<p>I’ve stuck in a issue and I’m researching on this about part of code in android is responsible for pinging the manufacturer that the mobile phone is activated. When the phone is first time is activated the manufacturer knows the phone is activated</p>
I’ve stuck in a issue and I’m researching on this about part of code in android is responsible for pinging the manufacturer that the mobile phone is activated. When the phone is first time is activated the manufacturer knows the phone is activated
android
-3
2022-09-19T18:20:29.717Z
2,022
9
18
0
14
0
247
28
1
0
false
true
false
false
false
true
negative
73,777,765
How to implement this Behavior?
<p>how can I make the icon on the right have the same movement effect as the Title? Here is the code how I use it. I know that I need to implement a <strong>Behavior</strong>, but how do I do it?</p> <p><a href="https://drive.google.com/file/d/1HcLo7jmbkh580L6ICiHGnr7n31Rw12at/view?usp=sharing" rel="nofollow noreferrer...
how can I make the icon on the right have the same movement effect as the Title? Here is the code how I use it. I know that I need to implement a Behavior , but how do I do it? Video Demo
java|android|material-design
-3
2022-09-19T18:24:44.930Z
2,022
9
18
0
24
0
187
31
3
0
false
true
false
false
false
true
negative
73,777,994
How to prevent racing condition in Android RecyclerView's Adapter?
<p>I have a classic implementation of a recycler view that, when I click on an item inside the recycler view, that item gets deleted.</p> <p>The problem is that, when I <em>successively</em> click <em>twice</em> one after another (without any noticeable delay between the clicks) on an item in that recycler view, then t...
I have a classic implementation of a recycler view that, when I click on an item inside the recycler view, that item gets deleted. The problem is that, when I successively click twice one after another (without any noticeable delay between the clicks) on an item in that recycler view, then the second click on that same...
android|kotlin|onclicklistener|race-condition
0
2022-09-19T18:45:37.770Z
2,022
9
18
0
43
2
974
66
4
2
true
false
false
false
false
false
zero
73,778,025
Android Windows VPN
<p>I dont really know that is that the right place but i ask my question:</p> <p>I have a phone -LG K41S Android- And a PC -Win7-</p> <p>I want to connect them in a VPN, so that they can use LAN advantages. If you have a good way, tell me. Everything that is free, even not official but works, is fine.</p> <p>The PC is ...
I dont really know that is that the right place but i ask my question: I have a phone -LG K41S Android- And a PC -Win7- I want to connect them in a VPN, so that they can use LAN advantages. If you have a good way, tell me. Everything that is free, even not official but works, is fine. The PC is behind an uncofigurable ...
android|vpn|lan
0
2022-09-19T18:49:34.907Z
2,022
9
18
0
14
0
773
19
3
0
false
true
false
false
false
false
zero
73,778,046
ANDROİD APK UYGULAMASINDA E MAİL İ SABİT YAPMAK
<p>**MERHABA ARKADAŞLAR BİR ANDROİD UYGULAMASI VAR VE RESİMDE DE GÖRÜLDÜĞÜ ÜZERE E MAİL YAZMA ALANI VAR BENİM YAPMAK İSTEDİĞİM İSE BU YAZMA ALANI DEĞİL DE EMAİLİ UYGULAMANIN IÇİNDE KURULU BİR ŞEKİLDE OLMASI YAANİ UYGULAMAYI İLK DEFA YUKLEYİP ACTIĞIMIZDA EMAİL ZATEN YAZILI ENTEGRE BİR ŞEKİLDE OLACAK BİLGİSİ OLAN VARMI E...
**MERHABA ARKADAŞLAR BİR ANDROİD UYGULAMASI VAR VE RESİMDE DE GÖRÜLDÜĞÜ ÜZERE E MAİL YAZMA ALANI VAR BENİM YAPMAK İSTEDİĞİM İSE BU YAZMA ALANI DEĞİL DE EMAİLİ UYGULAMANIN IÇİNDE KURULU BİR ŞEKİLDE OLMASI YAANİ UYGULAMAYI İLK DEFA YUKLEYİP ACTIĞIMIZDA EMAİL ZATEN YAZILI ENTEGRE BİR ŞEKİLDE OLACAK BİLGİSİ OLAN VARMI EMAİ...
android|apk
-2
2022-09-19T18:51:14.837Z
2,022
9
18
0
16
0
399
47
2
0
false
true
false
false
false
true
negative
73,778,070
Problem with LaunchedEffect in composables of HorizontalPager
<p>I'm creating a project with <code>Compose</code>, but I ran into a situation that I couldn't solve.</p> <p><strong>View Model</strong>:</p> <pre class="lang-kotlin prettyprint-override"><code>data class OneState( val name: String = &quot;&quot;, val city: String = &quot;&quot; ) sealed class OneChannel { ...
I'm creating a project with Compose , but I ran into a situation that I couldn't solve. View Model : [CODE] This ViewModel has a MutableStateFlow , a StateFlow to be collected on composable screens and a Channel / Flow for &quot; one time events &quot;. The first two methods are to change a respective state and the las...
android|kotlin|android-jetpack-compose|jetpack-compose-accompanist
2
2022-09-19T18:53:30.840Z
2,022
9
18
0
54
1
1,372
61
4
5
true
false
false
false
false
false
low
73,778,151
Pressing buttons without entering any values make the calculator app crashes. How to fix that?
<p>I'm trying to create a calculator app. The app is working fine when I enter values before the operations. But when I <strong>press the operation buttons without entering any values, my app keeps crashing</strong>.</p> <p>Here is my MainActivity.java File.</p> <pre><code>package com.example.calculatortwovalues; impo...
I'm trying to create a calculator app. The app is working fine when I enter values before the operations. But when I press the operation buttons without entering any values, my app keeps crashing . Here is my MainActivity.java File. [CODE] This log shows in the logcat. Logcat Info Screenshot 1 Logcat Info Screenshot 2
java|android|android-studio
-1
2022-09-19T19:00:44.727Z
2,022
9
19
0
35
0
319
94
3
1
true
true
false
false
false
true
negative
73,778,222
myDrawable.colorFilter is not recognied in my project
<p>I have used the folowing function to set color filter: public void setColorFilter <code>(int color, PorterDuff.Mode mode)</code> but recently, I have seen that it is deprecated. I have seen in the documentation the following warning to solve the deprecated method:</p> <pre><code> This method was deprecated in API le...
I have used the folowing function to set color filter: public void setColorFilter (int color, PorterDuff.Mode mode) but recently, I have seen that it is deprecated. I have seen in the documentation the following warning to solve the deprecated method: [CODE] I have noticed that there was a post were it was said to use ...
java|android|android-layout|colors|drawable
0
2022-09-19T19:08:40.273Z
2,022
9
19
0
15
0
573
53
5
2
true
true
false
false
false
false
zero
73,778,353
How do I load React Native Project in Android Studio with an emulator?
<p>My react native project is failing to launch in Android Studio. I am running Metro (ran command line 'npx react-native start' in the project root directory) but the below message appears.</p> <p><a href="https://i.stack.imgur.com/rRW2d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rRW2d.png" al...
My react native project is failing to launch in Android Studio. I am running Metro (ran command line 'npx react-native start' in the project root directory) but the below message appears. I am able to launch the project with no issues using terminal with the command line 'npx react-native run-android'. Can someone plea...
android|react-native|android-studio|npx
-1
2022-09-19T19:23:50.027Z
2,022
9
19
0
40
1
1,617
70
4
0
false
false
false
false
false
true
negative
73,778,388
How to reduce the release file (apk) size in dotnet MAUI
<p>Is there any simplified version to follow to reduce the release file size other than <a href="https://youtu.be/Wsizdg3xnf4" rel="nofollow noreferrer">this attached link</a>? I'm badly in want of some guidance as being a novice this has loads of information beyond my grasp for now!</p> <p>I've developed my first app ...
Is there any simplified version to follow to reduce the release file size other than this attached link ? I'm badly in want of some guidance as being a novice this has loads of information beyond my grasp for now! I've developed my first app following James Montemagno's four-hour workshop . But the keystone signed rele...
compression|apk|maui|.net-maui|android-r8
-1
2022-09-19T19:27:02.663Z
2,022
9
19
0
42
0
431
56
5
0
false
true
false
false
false
true
negative
73,778,503
Finding a specific app functionality by examining the source code
<p>I want to know when an in-app offer updates, the app has daily offers which i would like to claim. The problem and the reason i'm asking this question is that these offers are extremely limited and therfore gone in a second. I obviously do not have the time to be glued to my phone 24/7 and the chances of them being ...
I want to know when an in-app offer updates, the app has daily offers which i would like to claim. The problem and the reason i'm asking this question is that these offers are extremely limited and therfore gone in a second. I obviously do not have the time to be glued to my phone 24/7 and the chances of them being in ...
android
-3
2022-09-19T19:40:15.673Z
2,022
9
19
0
19
0
950
65
1
0
false
true
false
false
false
true
negative
73,778,552
Inconsistency with Authenitcaiton User-Creation in Firebase React Native
<p>I am trying to incorporate the Firebase JS SDK into a managed Expo React Native project. I installed Firebase through npm i firebase and I am using the latest version.</p> <p>The problem is that whenever I start the expo app, through an Android emulator, I, when passing the input from formik into createUserWithEmail...
I am trying to incorporate the Firebase JS SDK into a managed Expo React Native project. I installed Firebase through npm i firebase and I am using the latest version. The problem is that whenever I start the expo app, through an Android emulator, I, when passing the input from formik into createUserWithEmailAndPasswor...
firebase|react-native|firebase-authentication|android-emulator
0
2022-09-19T19:46:54.047Z
2,022
9
19
0
14
1
1,695
72
4
2
true
false
false
false
false
false
zero
73,778,619
How to connect windows and android device over internet programmatically on Non-Local network
<p>I want to connect android with windows so that i can send my custom data. so far i have only seen localhost examples. but i want to connect my android which is on Sim-internet with windows connected through Ethernet.</p> <p>this is android's code so far(client)</p> <pre><code>socket = Socket(address, port) outputStr...
I want to connect android with windows so that i can send my custom data. so far i have only seen localhost examples. but i want to connect my android which is on Sim-internet with windows connected through Ethernet. this is android's code so far(client) [CODE] and this is C# windows(server) [CODE] as you can see it is...
c#|android|windows|kotlin|sockets
0
2022-09-19T19:53:51.200Z
2,022
9
19
0
23
1
483
93
5
2
true
false
false
false
false
false
zero
73,778,942
Showing different content to different people from different countries
<p>I write the solution in <a href="https://stackoverflow.com/questions/11293642/how-can-i-get-my-android-device-country-code-without-using-gps">this link</a></p> <pre><code> context.getResources().getConfiguration().getLocales().get(0).getDisplayCountry() </code></pre> <p>but it doesn't get the user's country. it ...
I write the solution in this link [CODE] but it doesn't get the user's country. it always shows my own country. when as a user, I use VPN from other countries and println the result, the result doesn't change. am I writing the correct code? besides, I'm using KOTLIN. is the code the same in KOTLIN and JAVA in this case...
java|android|kotlin
1
2022-09-19T20:29:17.857Z
2,022
9
20
0
46
1
441
70
3
1
true
false
false
false
false
false
low
73,779,240
How to click on focused element by sending keyboard action in Android?
<p>I am trying to design simple universal controller in Android. I have created left, right, up, down, pause, resume and selection buttons to perform the selection,navigation and some media control tasks.</p> <p>When I focus on the pause button with the TAB key on my physical keyboard, I click the selection button I cr...
I am trying to design simple universal controller in Android. I have created left, right, up, down, pause, resume and selection buttons to perform the selection,navigation and some media control tasks. When I focus on the pause button with the TAB key on my physical keyboard, I click the selection button I created in m...
java|android|keyevent
0
2022-09-19T20:59:40.527Z
2,022
9
20
0
18
0
713
70
3
3
true
true
false
false
false
false
zero
73,779,269
Whatsapp NodeId AccessibilityNodeInfoCompat after select the PickerRow
<p>Within the new Whatsapp version, after the ACTION_CLICK at the &quot;Picker Row Name&quot; a new menu with a &quot;Button --&gt;&quot; is shown!</p> <p>Can someone help to identify the &quot;com.whatsapp:id/ of this new menu &quot;Button --&gt;&quot;? ??? List menuBarNextButton = rootNodeinfo.findAccessibilityNodeIn...
Within the new Whatsapp version, after the ACTION_CLICK at the &quot;Picker Row Name&quot; a new menu with a &quot;Button -->&quot; is shown! Can someone help to identify the &quot;com.whatsapp:id/ of this new menu &quot;Button -->&quot;? ??? List menuBarNextButton = rootNodeinfo.findAccessibilityNodeInfosByViewId(&quo...
android-studio|accessibility|whatsapp
0
2022-09-19T21:03:10.573Z
2,022
9
21
0
9
0
649
70
3
1
true
true
false
false
false
false
zero
73,779,373
expo run:android failed gradle
<p>I'm trying to run my React-Native (Expo) app on Android device. First of all i ran an <code>expo prebuild</code> command, <a href="https://i.stack.imgur.com/GYgSf.png" rel="nofollow noreferrer">and i got this traceback</a></p> <p>ok, i did not attach much importance to the error and after that i ran <code>expo run:a...
I'm trying to run my React-Native (Expo) app on Android device. First of all i ran an expo prebuild command, and i got this traceback ok, i did not attach much importance to the error and after that i ran expo run:android and i got this error: [CODE] this is my setting.gradle file: [CODE] What have I done wrong? Please...
android|react-native|gradle|expo
1
2022-09-19T21:16:15.830Z
2,022
9
21
0
29
0
339
30
4
2
true
true
false
false
false
false
low
73,779,396
Difference between 2 dates ( timestamps ) Android Studio and Cloud Firestore
<p>I want to make the difference between the current date and the users' birth date in order to display how many days remained until their birthday. I have a recyclerView in which I put the users and an Adapter for this recyclerView but for some reason, the days aren't computed as I want.</p> <p>The birth date is store...
I want to make the difference between the current date and the users' birth date in order to display how many days remained until their birthday. I have a recyclerView in which I put the users and an Adapter for this recyclerView but for some reason, the days aren't computed as I want. The birth date is stored in Fires...
java|android|firebase|google-cloud-platform|google-cloud-firestore
0
2022-09-19T21:19:24.097Z
2,022
9
21
0
26
1
569
76
5
1
true
false
false
false
false
false
zero
73,779,431
Is the AsyncTask most productive technique for slow background tasks?
<p>There are few techniques to execute slow code that returns some data in Android. By slow code I mean network, file, database access etc.</p> <ol> <li><p><code>Thread</code> and <code>Runnable</code> can be used, but I found that getting produced data from a <code>Runnable</code> is hard/not productive.</p> </li> <li...
There are few techniques to execute slow code that returns some data in Android. By slow code I mean network, file, database access etc. Thread and Runnable can be used, but I found that getting produced data from a Runnable is hard/not productive. We can use Service with Broadcast , but I found that this is also not p...
android|android-asynctask|background-task
0
2022-09-19T21:23:13.300Z
2,022
9
21
0
23
0
525
69
3
0
false
true
false
false
false
false
zero
73,779,522
How to open my app documents directory with Android File Manager
<p>I've been trying to figure out a way to open the Android File Manager directly in my app's Documents directory so the user can select a JSON file among several without requiring the user to go search for the file path /storage/emulated/0/Android/data/com.company.app/files/Documents/. So far, I can make the &quot;go...
I've been trying to figure out a way to open the Android File Manager directly in my app's Documents directory so the user can select a JSON file among several without requiring the user to go search for the file path /storage/emulated/0/Android/data/com.company.app/files/Documents/. So far, I can make the &quot;go fin...
android|select|getjson|file-manager|getfiles
0
2022-09-19T21:34:02.247Z
2,022
9
21
0
29
0
1,290
64
5
3
true
true
false
false
false
false
zero
73,779,550
Error publishing .net maui android app - XA5300)
<p>I finished a .net maui android app, but now I can't publish it to build the abb package.</p> <p>If deply to my test phone everything goes fine.</p> <p>I'm using this command:</p> <pre><code>dotnet publish -f:net6.0-android -c:Release </code></pre> <p>My results:</p> <pre><code>C:\Program Files\dotnet\packs\Microsoft...
I finished a .net maui android app, but now I can't publish it to build the abb package. If deply to my test phone everything goes fine. I'm using this command: [CODE] My results: [CODE] al Studio shows a valid installation. To use a custom SDK path for a command line build, set the 'AndroidSdkDirectory' MSBuild proper...
android|maui
0
2022-09-19T21:37:41.287Z
2,022
9
21
0
34
0
606
48
2
2
true
true
false
false
false
false
zero
73,779,653
SSL Cert issued by Windows CA, exported by OpenSSL works on Windows but not Android
<p>I'm setting up a pipeline for an android device to request a certificate like so:</p> <pre><code>var subjectName = $&quot;CN={GetFQDN()},O=My Org,OU=Test,T=Test,ST=OK,C=US&quot;; // Create new Object for Issuer and Subject var subject = new X509Name(subjectName); // Generate the...
I'm setting up a pipeline for an android device to request a certificate like so: [CODE] The csr is sent to a Windows CA server, then the resulting .cer is combined with the private key using the following openssl command (on Windows 11): [CODE] Regardless of what the password is set to, including blank, the certificat...
android|xamarin|ssl|xamarin.android|openssl
0
2022-09-19T21:52:25.680Z
2,022
9
21
0
23
1
752
83
5
4
true
false
false
false
false
false
zero
73,779,667
How can I download an app from the Play Store after previously modding an apk of it?
<p>Previously, I have downloaded a modded version of an app (minion rush, yeah hilarious) and want to be able to download the Google Play Store version afterwards, but instead it gives me an error message which someone has told me it was a signature error.</p> <p>I've been trying to sign a different APK, that I found o...
Previously, I have downloaded a modded version of an app (minion rush, yeah hilarious) and want to be able to download the Google Play Store version afterwards, but instead it gives me an error message which someone has told me it was a signature error. I've been trying to sign a different APK, that I found off a websi...
android|google-play|apk|digital-signature|mod
1
2022-09-19T21:55:14.230Z
2,022
9
21
0
21
1
1,053
84
5
0
false
false
false
false
false
false
low
73,779,696
How To Get Data From Array in Firestore Collection Android Java
<p>I want to get the data from an array of a map from a Firestore collection. I m attaching an image to better understand my problem, I want to get the <em><strong>data in red</strong></em>, while <em><strong>the yellow is an Array</strong></em> and <em><strong>blue is Map.</strong></em> Tried many things, but not work...
I want to get the data from an array of a map from a Firestore collection. I m attaching an image to better understand my problem, I want to get the data in red , while the yellow is an Array and blue is Map. Tried many things, but not working. Any help will be appreciated. Thanks in advance. Image of Firestore Collect...
java|android|firebase|google-cloud-platform|google-cloud-firestore
0
2022-09-19T21:58:56.847Z
2,022
9
21
0
22
1
323
63
5
0
false
false
false
false
false
false
zero
73,779,752
android studio times out installing the app
<p>I have a question about running an app through the emulator on android studio.</p> <p>My emulator device is able to turn on, but when running the app, install never completes so the app times out. I have tried invalidating cache and restarting, and I have installed the sdk platforms that are the same as the emulator...
I have a question about running an app through the emulator on android studio. My emulator device is able to turn on, but when running the app, install never completes so the app times out. I have tried invalidating cache and restarting, and I have installed the sdk platforms that are the same as the emulators and proj...
android|android-studio
0
2022-09-19T22:08:08.660Z
2,022
9
22
0
21
1
1,080
43
2
0
false
false
false
false
false
false
zero
73,779,753
Why I receive this error while running react-native run-android?
<p>I receive these error although I followed exactly react native guidance, I launch the emulator manually then I run these command (react-native run-android) although run-ios works perfectly</p> <p><a href="https://i.stack.imgur.com/M79dO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M79dO.jpg" al...
I receive these error although I followed exactly react native guidance, I launch the emulator manually then I run these command (react-native run-android) although run-ios works perfectly
android|react-native
0
2022-09-19T22:08:18.627Z
2,022
9
22
0
19
0
188
64
2
0
false
true
false
false
false
false
zero
73,779,922
How show and hide image in radiogroup with animation when a radiobutton is pushed
<p>I am trying to make a radio group. Make an image show when its respective radio button is pressed, as well as hide it when another radio button is pressed. And so on with the radio buttons you have...</p> <p>The problem that arises for me is that the image is not hidden and still does its animation when I press anot...
I am trying to make a radio group. Make an image show when its respective radio button is pressed, as well as hide it when another radio button is pressed. And so on with the radio buttons you have... The problem that arises for me is that the image is not hidden and still does its animation when I press another button...
android|kotlin
1
2022-09-19T22:38:32.137Z
2,022
9
22
0
25
1
453
81
2
4
true
false
false
false
false
false
low
73,779,994
How can I make a music player app with xamarin or .Net MAUI Android
<p>Hello sorry for my bad english I want to make a simple music player app with xamarin or .Net MAUI</p> <ul> <li>All mp3 files on the Android phone will be listed and displayed on the screen as a list.</li> <li>mp3 file selected from the list will be played</li> </ul> <p>I couldn't find enough information on the inter...
Hello sorry for my bad english I want to make a simple music player app with xamarin or .Net MAUI All mp3 files on the Android phone will be listed and displayed on the screen as a list. mp3 file selected from the list will be played I couldn't find enough information on the internet can you help me
c#|android|.net|xamarin|.net-maui
-2
2022-09-19T22:51:15.280Z
2,022
9
22
0
46
0
300
67
5
0
false
true
false
false
false
true
negative
73,779,995
Android not responding when running Random().nextInt(x)
<p>I am - fairly frequently - seeing my app using Random().nextInt(x) producing an &quot;Android Not Responding&quot; error when generating random numbers (x = 10, so it's not particularly high either). ANR of course means it has basically paused the app for several seconds, which seems unnecessary given that this is j...
I am - fairly frequently - seeing my app using Random().nextInt(x) producing an &quot;Android Not Responding&quot; error when generating random numbers (x = 10, so it's not particularly high either). ANR of course means it has basically paused the app for several seconds, which seems unnecessary given that this is just...
android|kotlin|random
0
2022-09-19T22:51:33.950Z
2,022
9
22
0
31
0
463
55
3
0
false
true
false
false
false
false
zero
73,780,001
ANDROID: How do I get information about connected USB mass storage devices?
<p>I am creating an Android application that accesses a connected USB Mass Storage device and saves files to it. Part of the functionality that I want for my app is for the user to be able to see how much space is left on the connected device. I am able to access the device and copy files to and from the device just fi...
I am creating an Android application that accesses a connected USB Mass Storage device and saves files to it. Part of the functionality that I want for my app is for the user to be able to see how much space is left on the connected device. I am able to access the device and copy files to and from the device just fine....
java|android
1
2022-09-19T22:52:29.457Z
2,022
9
22
0
35
0
886
75
2
0
false
true
false
false
false
false
low
73,780,082
Android Studio Kotlin variables
<p>ok, brand new to android studio and kotlin (not programming in general)</p> <p>installed Android Studio, set up a couple of hardware profiles (and enabled dev mode). Here is my issue:</p> <p>Simple app, 'every time you click the button, the number above doubles.'</p> <p>in the first_fragment.xml file, I rename the I...
ok, brand new to android studio and kotlin (not programming in general) installed Android Studio, set up a couple of hardware profiles (and enabled dev mode). Here is my issue: Simple app, 'every time you click the button, the number above doubles.' in the first_fragment.xml file, I rename the ID to 'textDisplayedValue...
android|kotlin
0
2022-09-19T23:05:40.817Z
2,022
9
23
0
34
1
715
31
2
2
true
false
false
false
false
false
zero