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,720,590
Is there a way to still have full-screen Splash images in Cordova-Android 11+?
<p>It appears that starting with Android 11, you are now required to include a <code>AndroidWindowSplashScreenAnimatedIcon</code> preference in your Cordova <code>config.xml</code> that includes a path to a path to a png/xml file and the <code>&lt;splash&gt;</code> tags are no longer supported.</p> <p>This appears to m...
It appears that starting with Android 11, you are now required to include a AndroidWindowSplashScreenAnimatedIcon preference in your Cordova config.xml that includes a path to a path to a png/xml file and the <splash> tags are no longer supported. This appears to mean that we are now required to use an icon for the Spl...
android|cordova
2
2022-09-14T16:53:21.277Z
2,022
9
16
2
43
1
656
78
2
0
false
false
false
false
false
false
low
73,720,604
How To Resolve Issue With Google User Data Policy
<p>My app keeps getting rejected from Google Play, for more than 3 times now. Below is the message I keep getting from Google Play console.</p> <blockquote> <p>APK HAS A PRIVACY POLICY​ BUT IT IS NOT ADEQUATE</p> <p>Privacy Policy in Play Distributed App Your app is uploading users' Contact list and Media information t...
My app keeps getting rejected from Google Play, for more than 3 times now. Below is the message I keep getting from Google Play console. APK HAS A PRIVACY POLICY​ BUT IT IS NOT ADEQUATE Privacy Policy in Play Distributed App Your app is uploading users' Contact list and Media information to without posting a privacy po...
android|google-play|google-play-console|policy|privacy-policy
0
2022-09-14T16:54:43.133Z
2,022
9
16
2
52
1
2,371
49
5
0
false
false
false
false
false
false
zero
73,720,612
Two Way Binding on Double Android
<p>I read a few posts to convert from String to Integer and tried to do the same to convert string to double using two-way binding but was unable to do it.</p> <h2>SampleViewModel.kt</h2> <pre><code>class SampleViewModel: ViewModel() { val weight = MutableLiveData&lt;Double&gt;() fun validateFields() { ...
I read a few posts to convert from String to Integer and tried to do the same to convert string to double using two-way binding but was unable to do it. SampleViewModel.kt [CODE] TypeConverters.kt [CODE] fragment_sample.xml [CODE] The example above does not let me enter the proper value on UI like &quot;56.78&quot;. I ...
android|double|two-way-binding|kotlin-android
0
2022-09-14T16:55:16.400Z
2,022
9
16
2
15
0
513
33
4
3
true
true
false
false
false
false
zero
73,720,655
Unable to Access YouTube API with Android Emulator
<p>I am currently following along with Naweed Akram's .NET MAUI tutorial creating a YouTube clone. I'm developing on a Windows machine and testing using an Android emulator. I'm running Visual Studio 2022 v17.3.3. I've run into an issue where the application will timeout when calling the YouTube API. But, and this is t...
I am currently following along with Naweed Akram's .NET MAUI tutorial creating a YouTube clone. I'm developing on a Windows machine and testing using an Android emulator. I'm running Visual Studio 2022 v17.3.3. I've run into an issue where the application will timeout when calling the YouTube API. But, and this is the ...
c#|android|.net|visual-studio|maui
1
2022-09-14T16:58:50.390Z
2,022
9
16
2
35
0
1,055
50
5
3
true
true
false
false
false
false
low
73,720,755
How to build an AR application for a custom board running Android 7+?
<p>I'm trying to find a foolproof workflow for implementing augmented reality (AR) applications on a kiosk-style device, which has custom hardware running Android 7 or higher. The manufacturer of the hardware advised me to pre-plan the AR development workflow since there might be hurdles in developing AR applications f...
I'm trying to find a foolproof workflow for implementing augmented reality (AR) applications on a kiosk-style device, which has custom hardware running Android 7 or higher. The manufacturer of the hardware advised me to pre-plan the AR development workflow since there might be hurdles in developing AR applications for ...
android|augmented-reality|android-augmented-reality
1
2022-09-14T17:09:20.753Z
2,022
9
17
2
11
0
1,265
69
3
0
false
true
false
false
false
false
low
73,720,882
Could not initialize class org.jetbrains.kotlin.gradle.plugin.KotlinGradleBuildServices Android Studio on Mac Machine
<p>I am using a Mac machine and getting below error while synching the project</p> <p>Error: Could not initialize class org.jetbrains.kotlin.gradle.plugin.KotlinGradleBuildServices</p> <p>I have tried reinstalling the Android Studio and Enabled the Kotlin plugin but did not work. Is there anyone who got this kind of is...
I am using a Mac machine and getting below error while synching the project Error: Could not initialize class org.jetbrains.kotlin.gradle.plugin.KotlinGradleBuildServices I have tried reinstalling the Android Studio and Enabled the Kotlin plugin but did not work. Is there anyone who got this kind of issue before? The A...
android|kotlin|gradle
0
2022-09-14T17:20:10.647Z
2,022
9
17
2
46
2
396
117
3
0
false
false
false
false
false
false
zero
73,720,920
Android Studio, Chipmunk, Bluetooth, Java
<p>I am new to Stackoverflow.</p> <p>I get the following error and do not understand why:</p> <p>incompatible types: cannot be converted to Context</p> <p>Code snippet:</p> <pre><code> if (BluetoothDevice.ACTION_FOUND.equals(action)) { // Get the BluetoothDevice object from the Intent ...
I am new to Stackoverflow. I get the following error and do not understand why: incompatible types: cannot be converted to Context Code snippet: [CODE] The error line did not show up! The error line is: if (PackageManager.PERMISSION_GRANTED != ActivityCompat.checkSelfPermission(this, Manifest.permission.BLUETOOTH_CONNE...
java|android-studio
0
2022-09-14T17:23:28.727Z
2,022
9
17
2
25
1
1,212
41
2
1
true
false
false
false
false
false
zero
73,720,927
Retrofit Bad Request Error: How to do Retrofit POST the right way
<p>I am having a problem executing a post request using Retrofit. I keep getting the Bad Request error log <code>response.message()</code></p> <p>This is the response from Postman GET request to my API:</p> <pre class="lang-json prettyprint-override"><code>{ &quot;data&quot;: [ { &quot;id&quot;:...
I am having a problem executing a post request using Retrofit. I keep getting the Bad Request error log response.message() This is the response from Postman GET request to my API: [CODE] I am able to perform the Retrofit GET and DELETE. The problem comes when am trying to execute a POST. This is the request body that i...
java|android|post|retrofit2|bad-request
0
2022-09-14T17:24:02.353Z
2,022
9
17
2
32
1
697
65
5
8
true
false
false
false
false
false
zero
73,720,986
How to write unit test for null object using kotlin scope function
<p>I am writing unit test for the <code>onLifecycleResumed()</code>. I want to write test if my randomId is null. As you can see in the code snippet that I have used scope function. I would like to have some insight on how to write unit test for the nullable object.</p> <pre><code>private var randomId: String? = null ...
I am writing unit test for the onLifecycleResumed() . I want to write test if my randomId is null. As you can see in the code snippet that I have used scope function. I would like to have some insight on how to write unit test for the nullable object. [CODE]
android|unit-testing|kotlin|android-junit|android-unit-testing
-1
2022-09-14T17:27:57.477Z
2,022
9
17
2
21
0
258
66
5
1
true
true
false
false
false
true
negative
73,721,014
Execution failed for task ':app:processReleaseMainManifest', while building flutter apk
<p>I have an app that was building fine before I formated my PC. I installed everything flutter needs and what I had in my previous install and tried to build my app after cloning from github. It results in failure.</p> <pre><code>PS D:\flutter_projects\uni-access&gt; flutter build apk Running &quot;flutter pub get&quo...
I have an app that was building fine before I formated my PC. I installed everything flutter needs and what I had in my previous install and tried to build my app after cloning from github. It results in failure. [CODE] My flutter env. [CODE] I have java 17 and my build.gradle in android/app is the following. [CODE] Th...
android|flutter|gradle
0
2022-09-14T17:29:42.400Z
2,022
9
17
2
23
0
445
87
3
3
true
true
false
false
false
false
zero
73,721,091
Why doesn't my ImageView as a button work?
<p>I'm trying to make an ImageView button inside a fragment to open another fragment in a navigation drawer but I have encountered a problem where I can't set an OnCliCkListener to my ImageView button. I tried searching fixes on youtube but I can't seem to find a fix to my problem.</p> <p><a href="https://i.stack.imgur...
I'm trying to make an ImageView button inside a fragment to open another fragment in a navigation drawer but I have encountered a problem where I can't set an OnCliCkListener to my ImageView button. I tried searching fixes on youtube but I can't seem to find a fix to my problem. Here's the error Here's the error as tex...
java|android|android-fragments|imageview|navigation-drawer
0
2022-09-14T17:38:00.167Z
2,022
9
17
2
47
2
429
42
5
2
true
false
false
false
false
false
zero
73,721,181
Flutter Build Error : Dart snapshot generator failed with exit code 254
<p>When i runned the app its fine but when i build apk, it gives me error</p> <blockquote> <p>Dart snapshot generator failed with exit code 254 Error: 'package:app/screens/address_add_view.dart': error: lib/screens/address_add_view.dart:72:15: Error: This couldn't be parsed. apiKey: ,</p> </blockquote> <p>Here is my co...
When i runned the app its fine but when i build apk, it gives me error Dart snapshot generator failed with exit code 254 Error: 'package:app/screens/address_add_view.dart': error: lib/screens/address_add_view.dart:72:15: Error: This couldn't be parsed. apiKey: , Here is my code : [CODE] I tried to flutter clean & delet...
flutter|android-studio|dart
0
2022-09-14T17:47:29.190Z
2,022
9
17
2
56
0
377
71
3
2
true
true
false
false
false
false
zero
73,721,206
How to make ListView to scroll horizontally in android studio?
<p>I have a Listview and array of data which will shows in Listview vertically. But I want to make that Listview to scroll horizontally. How to do that.</p> <p><strong>xml</strong></p> <pre><code>&lt;ListView android:id=&quot;@+id/filter_list&quot; android:layout_width=&quot;120dp&quot; android:layout...
I have a Listview and array of data which will shows in Listview vertically. But I want to make that Listview to scroll horizontally. How to do that. xml [CODE] Java [CODE] R.layout.row_white_text [CODE]
java|android|android-listview|horizontal-scrolling
0
2022-09-14T17:49:24.800Z
2,022
9
17
2
25
0
203
62
4
3
true
true
false
false
false
false
zero
73,721,268
Flutter: Exception: Android toolchain - develop for Android devices exceeded maximum allowed duration of 0:10:00.000000
<p><code>flutter doctor</code> gives the following error:</p> <pre><code>Checking Android licenses is taking an unexpectedly long time...[☠] Android toolchain - develop for Android devices (the doctor check crashed) ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please ...
flutter doctor gives the following error: [CODE] I have installed the latest Android SDK Command-line Tools in Android Studio I have tried setting the location of SDK via flutter config --android-sdk /Users/mooreihu/Library/Android/sdk I have tried running flutter doctor --android-licenses, and it hangs indefinitely. I...
flutter|android-studio
0
2022-09-14T17:54:35.247Z
2,022
9
17
2
56
2
526
119
2
2
true
false
false
false
false
false
zero
73,721,335
Load video thumbnail in jetpack compose using coil
<p>I'm using coil <code>2.2.0</code> with compose <code>1.2.1</code>. I've tried below code to load video thumbnail from remote url but it's not working. Any solution?</p> <p>I've tried below code but it's not working. Any solution?</p> <pre><code>val painter = rememberAsyncImagePainter( model = ImageRequest.Builde...
I'm using coil 2.2.0 with compose 1.2.1 . I've tried below code to load video thumbnail from remote url but it's not working. Any solution? I've tried below code but it's not working. Any solution? [CODE]
android|android-jetpack-compose|coil
0
2022-09-14T18:01:28.957Z
2,022
9
18
2
26
0
204
50
3
1
true
true
false
false
false
false
zero
73,721,421
Is there any way to programmatically interact with android UI elements to fill out forms in an app?
<p>In a similar way that I could use javascript in a browser's developer console to write text in input fields, check radio buttons, and click buttons in a webpage, I would like to interact with an app to automatically fill out some forms (not a web form in a mobile browser, but a native app with text fields, radio but...
In a similar way that I could use javascript in a browser's developer console to write text in input fields, check radio buttons, and click buttons in a webpage, I would like to interact with an app to automatically fill out some forms (not a web form in a mobile browser, but a native app with text fields, radio button...
android
0
2022-09-14T18:08:27.030Z
2,022
9
18
2
27
1
360
99
1
0
false
false
false
false
false
false
zero
73,721,663
Why RecyclerviewItemBinding Class can not be found in android studio?
<p>I am trying to use the ViewBinding in the MainAdapter Class but Android Studio can not find the <strong>RecyclerviewItemBinding Class</strong>.(I also used the buildFeatures)</p> <pre><code>class MainAdapter(val taskList: List&lt;TaskModel&gt;) : RecyclerView.Adapter&lt;MainAdapter.MainViewHolder&gt;() { in...
I am trying to use the ViewBinding in the MainAdapter Class but Android Studio can not find the RecyclerviewItemBinding Class .(I also used the buildFeatures) [CODE]
android|kotlin|android-recyclerview
0
2022-09-14T18:32:08.083Z
2,022
9
18
2
23
0
165
69
3
1
true
true
false
false
false
false
zero
73,721,672
android studio gives the "GooglePlayServices not available due to error 9 " error
<p>When using Firestore Database on Firebase in Android Studio, it gives the error <strong>&quot;E/GooglePlayServicesUtil: GooglePlayServices not available due to error 9&quot;</strong>, it does not write the data. I changed the simulation a few times, but it didn't work. Can you help me? Thank you.</p>
When using Firestore Database on Firebase in Android Studio, it gives the error &quot;E/GooglePlayServicesUtil: GooglePlayServices not available due to error 9&quot; , it does not write the data. I changed the simulation a few times, but it didn't work. Can you help me? Thank you.
android|firebase|performance|android-studio|google-cloud-firestore
0
2022-09-14T18:33:07.040Z
2,022
9
18
2
33
0
281
81
5
0
false
true
false
false
false
false
zero
73,721,852
How can I reduce code duplication for multiple tables?
<p>I am making an app with questions and answers, a knowledge game if you will. I created a database schema and a Question object.</p> <p>There is an enormous amount of duplicate code. It was fine when I had 2 tables, but I added 4 more and now it's almost 400 lines of code. Aside from the final strings which are SQLit...
I am making an app with questions and answers, a knowledge game if you will. I created a database schema and a Question object. There is an enormous amount of duplicate code. It was fine when I had 2 tables, but I added 4 more and now it's almost 400 lines of code. Aside from the final strings which are SQLite code, ho...
java|android|android-sqlite|boilerplate
0
2022-09-14T18:50:09.143Z
2,022
9
18
2
44
1
632
54
4
2
true
false
false
false
false
false
zero
73,721,930
How to show nearby locations from current location android studio?
<p>I have been trying to display nearby locations from my current location. But when i run it and click the button to view the nearby locations nothing appears. The first time i ran it, it displayed but when i backed out and came back in, it didnt display anything. i tried cleaning the project and other methods.</p> <p...
I have been trying to display nearby locations from my current location. But when i run it and click the button to view the nearby locations nothing appears. The first time i ran it, it displayed but when i backed out and came back in, it didnt display anything. i tried cleaning the project and other methods. this is t...
android-studio
0
2022-09-14T18:58:10.087Z
2,022
9
18
2
29
1
424
66
1
1
true
false
false
false
false
false
zero
73,721,993
Tensorflow Lite,YOLO Step By Step Error Finding
<p><a href="https://i.stack.imgur.com/zUi9h.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zUi9h.jpg" alt="enter image description here" /></a></p> <p><a href="https://i.stack.imgur.com/xX7fi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xX7fi.jpg" alt="enter image description h...
Console Error MainActivity.java [CODE] yolov5s-fp16.tflite [CODE] continuation of this question I want to make an application that guesses the name of the selected food image.I used yolov5 for training. Test images in colab are successful I did step by step debugging.It gives error on this line. Please help me. [CODE] ...
android|tensorflow|tensorflow-lite|yolo
0
2022-09-14T19:03:48.890Z
2,022
9
19
2
52
0
338
47
4
3
true
true
false
false
false
false
zero
73,722,004
How to get color which is defined as attribute for different themes in Android [Kotlin]
<p>In my case I have defined a scenario I have a FAB and I want it to have three different colors across three different themes ( I have 3 themes - dark, light, plain).</p> <p>So I am using the attribute and changing the colors of FAB across all the themes (for the same attribute). Now I want to do this thing programma...
In my case I have defined a scenario I have a FAB and I want it to have three different colors across three different themes ( I have 3 themes - dark, light, plain). So I am using the attribute and changing the colors of FAB across all the themes (for the same attribute). Now I want to do this thing programmatically an...
android|kotlin|styles|floating-action-button|attr
0
2022-09-14T19:05:32.063Z
2,022
9
19
2
27
1
787
87
5
0
false
false
false
false
false
false
zero
73,722,019
Android Java not deleting files even with Root Access
<p>I've been making an Android app that clears the Cache &amp; Data of my application. Don't forget, my device is rooted. So why doesn't this piece of code work? It clearly has Root permissions and full paths. What's the problem behind this?</p> <pre><code> try { Process p = Runtime.getRuntime().ex...
I've been making an Android app that clears the Cache & Data of my application. Don't forget, my device is rooted. So why doesn't this piece of code work? It clearly has Root permissions and full paths. What's the problem behind this? [CODE]
java|android|linux
0
2022-09-14T19:06:28.187Z
2,022
9
19
2
35
2
241
53
3
1
true
false
false
false
false
false
zero
73,722,079
Android - How to have multiple pages/section in a fragment? (No viewPager)
<p>For better Understanding check this sample design</p> <p><a href="https://i.stack.imgur.com/DKSck.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DKSck.png" alt="Image" /></a></p> <p>What I want to achieve is a sign up mechanism. Where when a user done filling page 1 and click next then</p> <ul> <...
For better Understanding check this sample design What I want to achieve is a sign up mechanism. Where when a user done filling page 1 and click next then The next button stays at the fixed location The indicator do an animation and change The two field (&quot;Full Name&quot; and &quot;Select your gender&quot;) get swa...
android
0
2022-09-14T19:12:39.243Z
2,022
9
19
2
22
0
849
74
1
0
false
true
false
false
false
false
zero
73,722,130
What is the best practice using dp and sp dimensions in Jetpack Compose?
<p>I would like to understand how is better to use dp and sp values in the Compose project. I checked several open-source Compose projects, and most of them are hardcoding the dimensions. But it's definitely not a way to support flexibility and different screen sizes. I see a few ways for now:</p> <ol> <li>Using the ol...
I would like to understand how is better to use dp and sp values in the Compose project. I checked several open-source Compose projects, and most of them are hardcoding the dimensions. But it's definitely not a way to support flexibility and different screen sizes. I see a few ways for now: Using the old way with dimen...
android|android-jetpack-compose|android-resources|android-jetpack|dimension
3
2022-09-14T19:18:17.370Z
2,022
9
19
2
77
1
790
72
5
2
true
false
false
false
false
false
low
73,722,133
Unsynchronization on Send/Receive package by Bluetooth
<p>I am trying to develop a Bluetooth application for Android devices. I have implemented the connection between the devices and I have checked the devices send and receive messages respectivately, but when I tried to send several messages fast, I receive less messages which I sent.</p> <p>For example: Send --&gt; 0 1 ...
I am trying to develop a Bluetooth application for Android devices. I have implemented the connection between the devices and I have checked the devices send and receive messages respectivately, but when I tried to send several messages fast, I receive less messages which I sent. For example: Send --> 0 1 2 3 4 5 6 Rec...
java|android|android-studio|bluetooth
0
2022-09-14T19:18:31.290Z
2,022
9
19
2
17
0
814
54
4
3
true
true
false
false
false
false
zero
73,722,765
Oculus Builds Not Running(Crashing)
<p>I have made a unity physics based Jetski Game and am having trouble with getting it onto my Oculus Quest 2 and it actually working. For me I am stuck in a place that doesn't have good enough Wi-Fi to run air link and don't have the cable link. These has caused me to build it straight onto the headset itself. When ru...
I have made a unity physics based Jetski Game and am having trouble with getting it onto my Oculus Quest 2 and it actually working. For me I am stuck in a place that doesn't have good enough Wi-Fi to run air link and don't have the cable link. These has caused me to build it straight onto the headset itself. When runni...
android|unity3d|unityscript|android-keystore|oculus
0
2022-09-14T20:20:25.770Z
2,022
9
20
2
16
0
1,374
35
5
1
true
true
false
false
false
false
zero
73,722,819
Group Notifications using flutter_local_notifications package (android)
<p>I am building a mobile app using flutter and I a struggling with grouping the notifications on android. I have it working fine on ios but not on android. Here is the code I am working with below for groupchats:</p> <pre><code>flutterLocalNotificationsPlugin.show( notificationId++, response.messag...
I am building a mobile app using flutter and I a struggling with grouping the notifications on android. I have it working fine on ios but not on android. Here is the code I am working with below for groupchats: [CODE] And here is the code i am working with for one on one messaging: [CODE] The cid is the channel id and ...
android|flutter|push-notification|flutter-local-notification
2
2022-09-14T20:26:12.497Z
2,022
9
20
2
35
0
655
71
4
2
true
true
false
false
false
false
low
73,722,907
ViewModel is not recreated after full destroy of the Fragment (Jetpack Navigation + Dagger 2)
<p>I have the following situation: there's a bottom navigation in the app's activity. Each tab of the navigation contains it's own graph. It looks in the following way:</p> <pre><code> A --- C | | \ / \ / \/ \/ B D </code></pre> <p>A and C in this case - roots of the graphs, B and D - nested scre...
I have the following situation: there's a bottom navigation in the app's activity. Each tab of the navigation contains it's own graph. It looks in the following way: [CODE] A and C in this case - roots of the graphs, B and D - nested screens. The problem is that when I switch to tab C, then navigate to screen D, than g...
android|dagger-2|android-jetpack-navigation
0
2022-09-14T20:34:57.913Z
2,022
9
20
2
19
0
953
93
3
3
true
true
false
false
false
false
zero
73,722,935
i have media player app i have problem with option rename video player from app get rename failed! what is wrong about code?
<pre><code>rename.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { dialog.dismiss(); final EditText oldname = new EditText(getActivity()); oldname.setText( foldersList.get(posi...
[CODE] // this is code help //how can rename video any wrongs in code //i coding media player for videos and music i'm trying many mehtods but not working
java|android|mobile|media-player
-1
2022-09-14T20:38:44.087Z
2,022
9
20
2
22
0
154
124
4
1
true
true
false
false
false
true
negative
73,722,997
React native photo editor apk size
<p>I´m using the follow lib to work with photo edition on my app</p> <p><a href="https://github.com/prscX/react-native-photo-editor" rel="nofollow noreferrer">https://github.com/prscX/react-native-photo-editor</a></p> <p>Everything works great, but my apk went from 60mb to 200mg after installing the lib. I have seen th...
I´m using the follow lib to work with photo edition on my app https://github.com/prscX/react-native-photo-editor Everything works great, but my apk went from 60mb to 200mg after installing the lib. I have seen the follow folders with many another big libs inside arm64-v8a, armeabi-v7a, x86 and x86_64 Someone knows what...
android|reactjs|react-native|apk
0
2022-09-14T20:46:00.487Z
2,022
9
20
2
12
0
370
34
4
0
false
true
false
false
false
false
zero
73,723,130
How do I make a EditText invisible programmatically
<p>I have a exitText in my app which starts out invisible that I set that way in the xml file. How do I make it become visible when a button is tapped?</p> <pre><code> &lt;EditText android:id=&quot;@+id/edittext_username&quot; android:layout_width=&quot;328dp&quot; android:layout_height=&quot;52dp&quot; ...
I have a exitText in my app which starts out invisible that I set that way in the xml file. How do I make it become visible when a button is tapped? [CODE] this is the button [CODE] how do I make the editView invisible in the button?
android|android-edittext|invisible
-1
2022-09-14T21:02:42.563Z
2,022
9
21
2
20
1
233
51
3
2
true
false
false
false
false
true
negative
73,723,195
unresolved reference in id, anim, drawble, strings in login activity
<p>Respected, I am not a android developer but as per documentation I am reskining an app source code. But every time when I am am changing app name, package name then am facing problem of unresolved reference for id, anim, drawable, strings. Please help me. Thank you</p>
Respected, I am not a android developer but as per documentation I am reskining an app source code. But every time when I am am changing app name, package name then am facing problem of unresolved reference for id, anim, drawable, strings. Please help me. Thank you
android|string|kotlin|animation|reference
0
2022-09-14T21:09:17.833Z
2,022
9
21
2
15
0
265
68
5
0
false
true
false
false
false
false
zero
73,723,232
How do I load detail content when row/ column is clicked
<p>I'm practicing Jetpack Compose, I'm trying to create a screen that load texts and image content when navigated to.</p> <p>Here's what I mean;</p> <p><a href="https://i.stack.imgur.com/dU6mD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dU6mD.jpg" alt="Android Developers Soothe App Home Image" />...
I'm practicing Jetpack Compose, I'm trying to create a screen that load texts and image content when navigated to. Here's what I mean; [Referencing the android developer soothe app.] If I make the rows clickable. And I want to navigate to a screen containing details of Inversions, quick yoga or stretching, depending on...
kotlin|navigation|android-jetpack-compose|android-jetpack|jetpack-compose-navigation
0
2022-09-14T21:13:06.263Z
2,022
9
21
2
24
1
617
56
5
1
true
false
false
false
false
false
zero
73,723,327
Module not found when running an old react-native app
<p>I am trying to revive an older react-native project. It was built on react-native version 0.63.3 and react version 16.13.1.</p> <p>When trying to run the app on android emulator, I get the following error:</p> <pre><code>error: Error: Unable to resolve module @unimodules/react-native-adapter from C:\Users\hrithvik\D...
I am trying to revive an older react-native project. It was built on react-native version 0.63.3 and react version 16.13.1. When trying to run the app on android emulator, I get the following error: [CODE] When I run npx react-native info , I get the following output: [CODE] I checked and the module exists. When I try ...
android|reactjs|react-native
0
2022-09-14T21:26:36.413Z
2,022
9
21
2
16
0
560
53
3
2
true
true
false
false
false
false
zero
73,723,350
How to open external file in Android.js
<p>I am trying to open up a .nds ROM (Homebrew) game in a android.js emulator I am making. And the <code>&lt;input type=&quot;file&quot;&gt;&lt;/input&gt;</code> isn't opening a open file dialog thing, even when reading files is enabled in the permissions.</p> <p>How would I do this?</p>
I am trying to open up a .nds ROM (Homebrew) game in a android.js emulator I am making. And the <input type=&quot;file&quot;></input> isn't opening a open file dialog thing, even when reading files is enabled in the permissions. How would I do this?
javascript|android|node.js
0
2022-09-14T21:28:55.707Z
2,022
9
21
2
10
0
249
39
3
0
false
true
false
false
false
false
zero
73,723,449
Its possible to make a local webserver be worldwide vía Android Studio and a API of a third party?
<p>i need to broadcast a local Webserver to internet, i know of services like ngrok that can do that, but the big problem of that service is that needs to be executed in an external application. I was wondering if i can do something similar internally in Android Studio (With an API of a third party or something). To gi...
i need to broadcast a local Webserver to internet, i know of services like ngrok that can do that, but the big problem of that service is that needs to be executed in an external application. I was wondering if i can do something similar internally in Android Studio (With an API of a third party or something). To give ...
android|arduino|ngrok
1
2022-09-14T21:39:25.557Z
2,022
9
21
2
27
2
1,074
98
3
0
false
false
false
false
false
false
low
73,723,654
How to implement implicit intent to open another app from my app in kotlin?
<p>Not able to find any source where it is clear about adding implicit intent to open another app from my app in kotlin.</p> <p>Manifest.xml</p> <pre><code>&lt;intent-filter&gt; &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt; &lt;action android:name=&quot;an...
Not able to find any source where it is clear about adding implicit intent to open another app from my app in kotlin. Manifest.xml [CODE] MainActivity.kt [CODE] It opens WhatsApp directly in playstore instead of opening the app.
android|kotlin|android-implicit-intent
0
2022-09-14T22:05:23.590Z
2,022
9
22
2
30
0
228
75
3
2
true
true
false
false
false
false
zero
73,723,705
Error onFailure: Expected Begin_Array but was Begin_Object at line 4 column 2 path $
<p>Android Studio/Kotlin. I'm assuimng the issue is coming from it not being able to convert the json to gson. But I'm not sure if that the case. But based on what I could uncover myself before giving up and asking for help is it might be a error from the rockService. Because I can connent to the network fine and it do...
Android Studio/Kotlin. I'm assuimng the issue is coming from it not being able to convert the json to gson. But I'm not sure if that the case. But based on what I could uncover myself before giving up and asking for help is it might be a error from the rockService. Because I can connent to the network fine and it does ...
json|android-studio|kotlin|networking
0
2022-09-14T22:13:35.570Z
2,022
9
22
2
16
0
552
84
4
7
true
true
false
false
false
false
zero
73,723,730
Android comand line tools avdmanager error
<p>Running the following avdmanager command produces the following error:</p> <pre><code>/usr/local/android-sdk/cmdline-tools/tools/bin/avdmanager -v create avd -n &quot;test&quot; -k &quot;system-images;android-25;google_apis;armeabi-v7a&quot; --abi google_apis/armeabi-v7a </code></pre> <p>Error:</p> <pre><code>Error:...
Running the following avdmanager command produces the following error: [CODE] Error: [CODE] We are currently migrating from Java 8 to Java 11 and this command used to work before under Java 8 (OpenJdk). I have gotten the latest command line tools from Google [CODE] Java version [CODE] This problem occurs if I run any a...
android
1
2022-09-14T22:16:20.657Z
2,022
9
22
2
27
0
567
42
1
8
true
true
false
false
false
false
low
73,723,821
Dropdown size adjust according to displayed results
<p>I use autoComplete in my project. Here is the usage of autoComplete:</p> <p>In Code:</p> <pre><code> val arrayAdapter = context?.let { ArrayAdapter&lt;String&gt;( it, // Context android.R.layout.simple_list_item_1, autocompleteOptions // Array ) } autoC...
I use autoComplete in my project. Here is the usage of autoComplete: In Code: [CODE] In XML: [CODE] My question is there any way to adjust the size of the dropdown list according to the current options displayed in the dropdown?
java|android|kotlin|autocomplete
0
2022-09-14T22:29:27.587Z
2,022
9
22
2
18
1
228
51
4
2
true
false
false
false
false
false
zero
73,723,838
Flutter Bulding Error :Execution failed for task ':app:checkDebugAarMetadata'
<p>The problem seems to be my PC, because in my other pc , there is no problem with Build. Tried everything but the problem still exist. pls help!!</p> <p>Erros:</p> <ul> <li>What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.</li> </ul> <blockquote> <p>Could not resolve all files for configuration...
The problem seems to be my PC, because in my other pc , there is no problem with Build. Tried everything but the problem still exist. pls help!! Erros: What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find andr...
android|flutter|dart|cross-platform
0
2022-09-14T22:31:47.187Z
2,022
9
22
2
18
0
886
77
4
2
true
true
false
false
false
false
zero
73,723,878
how to set raw mp3 as ringtone, notification and alarm?
<p>i am trying to create a soundboard app...but the problem is i want to give it more function. Like long clicked a menu will show and there will be a button called save as...and after clicking save as 3 more button will show like set as ringtone, set as notification and alarm...</p> <p>i can do the upper work by conte...
i am trying to create a soundboard app...but the problem is i want to give it more function. Like long clicked a menu will show and there will be a button called save as...and after clicking save as 3 more button will show like set as ringtone, set as notification and alarm... i can do the upper work by context menu......
android|android-studio|ringtone|ringtonemanager
0
2022-09-14T22:39:01.307Z
2,022
9
22
2
11
0
587
55
4
0
false
true
false
false
false
false
zero
73,723,969
Is there a way to recompile project only if gradle dependency changed a public class that is used in my project?
<p>Let's say there are modules <strong>A</strong> &amp; <strong>B</strong>.</p> <p>A depends on B <code>implementation(project(&quot;:B&quot;))</code>, let's say by using <code>bClassObj.doSomething(&quot;hello&quot;)</code>.</p> <p>So we have:</p> <pre><code> BClass.kt `fun doSomething(salute: String)` </code></pre> ...
Let's say there are modules A & B . A depends on B implementation(project(&quot;:B&quot;)) , let's say by using bClassObj.doSomething(&quot;hello&quot;) . So we have: [CODE] If B modifies ANY class, then it will force A to be recompiled, which is not desired because nothing changed for the matter of A. Is there a defau...
android|gradle|dependencies|dependency-management|gradle-dependencies
1
2022-09-14T22:52:09.497Z
2,022
9
22
2
12
0
470
112
5
1
true
true
false
false
false
false
low
73,724,046
How to prevent the disappearance of autocomplete dropdown when white space is added during the search?
<p>I use AutoCompleteTextView in my project.</p> <p>XML:</p> <p></p> <pre><code>&lt;AutoCompleteTextView android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; android:id=&quot;@+id/textfield&quot; android:hint=&quot;Search...&quot;/&gt; </code></pre> <p>Kotlin:</p...
I use AutoCompleteTextView in my project. XML: [CODE] Kotlin: [CODE] The problem here is that when I add white space in the autocomplete text field during the search the dropdown disappears. It looks like the search does not recognize the white space character as part of the searched string. For example, if I start to ...
java|android|kotlin|mobile|autocomplete
0
2022-09-14T23:07:33.723Z
2,022
9
23
2
14
0
659
102
5
2
true
true
false
false
false
false
zero
73,724,057
Jetpack Compose: changes/state of the List in LazyList is broken after returning to the screen
<p>I'm struggling with some strange problem and hope that anyone can help with some advice.</p> <p>I have a combination of a Compose View and a ViewModel in my architecture.</p> <p>Consider following example - I have a collection of Pokemon Cards. I may sell some (remove from the list), buy a new one (add to the list),...
I'm struggling with some strange problem and hope that anyone can help with some advice. I have a combination of a Compose View and a ViewModel in my architecture. Consider following example - I have a collection of Pokemon Cards. I may sell some (remove from the list), buy a new one (add to the list), or borrow some (...
android|kotlin|android-jetpack-compose
0
2022-09-14T23:09:29.263Z
2,022
9
23
2
55
0
993
94
3
3
true
true
false
false
false
false
zero
73,724,093
Declare array of versions in implementation gradle
<p>I would like to understand how the issue of an array of versions in gradle works. An example is the OneSignal library. The official documentation <strong>(<a href="https://documentation.onesignal.com/v7.0/docs/android-sdk-setup" rel="nofollow noreferrer">https://documentation.onesignal.com/v7.0/docs/android-sdk-setu...
I would like to understand how the issue of an array of versions in gradle works. An example is the OneSignal library. The official documentation ( https://documentation.onesignal.com/v7.0/docs/android-sdk-setup ) does not say that to add this dependency, just include the code below in the gradle file: [CODE] But what ...
android|gradle|groovy|notifications|onesignal
0
2022-09-14T23:17:15.940Z
2,022
9
23
2
15
0
639
50
5
1
true
true
false
false
false
false
zero
73,724,126
Android java, sharing files between services of the same app
<p>I am starting a few days to use android and java. I need help with my doubt. I have an app that has two services Service1 and Service2. both services work on the same &quot;file.txt&quot; file. Service1, if the &quot;file.txt&quot; exists, opens it, reads the content, closes it, and deletes it. Service2 opens in app...
I am starting a few days to use android and java. I need help with my doubt. I have an app that has two services Service1 and Service2. both services work on the same &quot;file.txt&quot; file. Service1, if the &quot;file.txt&quot; exists, opens it, reads the content, closes it, and deletes it. Service2 opens in append...
java|android
0
2022-09-14T23:22:23.457Z
2,022
9
23
2
21
0
679
60
2
0
false
true
false
false
false
false
zero
73,724,142
JDB doesn't work when attaching to a running Android process
<p>I want to attach debugger to running android application on a physical device connected through USB. The device is rooted using magisk. The <code>ro.debuggable</code> property also set to <code>1</code> using <code>resetprop</code> to make all apps debuggable.</p> <p>For example, the app will be calculator (<code>co...
I want to attach debugger to running android application on a physical device connected through USB. The device is rooted using magisk. The ro.debuggable property also set to 1 using resetprop to make all apps debuggable. For example, the app will be calculator ( com.android.calculator2 ). The exact steps I did: adb ki...
java|android|debugging|adb
0
2022-09-14T23:25:34.033Z
2,022
9
23
2
17
0
2,094
60
4
1
true
true
false
false
false
false
zero
73,724,226
android How to update ui
<p>I've been wondering for a long time when updating the ui</p> <pre><code> viewModel.playbackState.observe(viewLifecycleOwner) { binding.btnPlaynstop.isSelected = viewModel.isPlay(it) } </code></pre> <p>How to change the fragment by attaching an observer like this</p> <pre><code> &lt;ImageButton ...
I've been wondering for a long time when updating the ui [CODE] How to change the fragment by attaching an observer like this [CODE] How to change the viewModel by putting it in xml like this What method do you usually use
android|android-layout
0
2022-09-14T23:46:56.493Z
2,022
9
23
2
23
0
222
24
2
2
true
true
false
false
false
false
zero
73,724,235
Flutter command works locally but not on Github Actions
<p>I have a problem where a command that works on my local machine isn't working on GitHub Actions.</p> <p>The command I'm using on my local machine is:</p> <pre><code>flutter build appbundle --obfuscate --split-debug-info=build/app/outputs/ --flavor Production --dart-define=&quot;ENVIRONMENT=PRODUCTION&quot; </code></...
I have a problem where a command that works on my local machine isn't working on GitHub Actions. The command I'm using on my local machine is: [CODE] This command exists in the yml. If I change it to flutter build apk then it works with no problem. However, when trying to build the aab I get the error: [CODE] I'm not s...
flutter|command-line|github-actions|android-app-bundle
0
2022-09-14T23:49:06.360Z
2,022
9
23
2
22
0
608
55
4
2
true
true
false
false
false
false
zero
73,724,342
I am trying to show my firebase realtime database items in recycleview Kotlin
<p>I can't seem to figure out what to do to get my RecycleView to show the data as of now it makes the number of views I want but it doesn't show the data assigned to each it just shows white space.</p> <p>My ListPage class:</p> <pre><code>class ListsPage : AppCompatActivity() { private lateinit var dbRef : DatabaseRef...
I can't seem to figure out what to do to get my RecycleView to show the data as of now it makes the number of views I want but it doesn't show the data assigned to each it just shows white space. My ListPage class: [CODE] MY ADAPTER CLASS [CODE] ITEM DATA CLASS [CODE] GRADLE [CODE] Database Json file structure [CODE] I...
android|firebase|kotlin|google-cloud-platform|firebase-realtime-database
0
2022-09-15T00:13:03.450Z
2,022
9
0
3
57
1
569
77
5
5
true
false
false
false
false
false
zero
73,724,425
How to add back arrow to preferences screen Android?
<p>Does anyone know how I could add a back arrow to a preferences in Android Kotlin? Any help would be greatly appreciated</p>
Does anyone know how I could add a back arrow to a preferences in Android Kotlin? Any help would be greatly appreciated
android|kotlin
-1
2022-09-15T00:34:25.920Z
2,022
9
0
3
11
0
119
52
2
0
false
true
false
false
false
true
negative
73,724,477
How to start game over activity? (android studio)
<p><strong>Goal</strong> display Game over screen when health = 0;</p> <p><strong>Steps</strong></p> <ol> <li>create new activity (GameOver.class)</li> <li>create layout for GameOver activity</li> <li>create new activity in AndroidManifest.xml</li> </ol> <pre><code> &lt;activity android:name=&quot;.Gam...
Goal display Game over screen when health = 0; Steps create new activity (GameOver.class) create layout for GameOver activity create new activity in AndroidManifest.xml [CODE] when player dies new activity is called [CODE] Error However I get this error... [CODE] Maybe I missed some step?
java|android-studio|2d-games
0
2022-09-15T00:44:45.663Z
2,022
9
0
3
19
0
289
49
3
3
true
true
false
false
false
false
zero
73,724,487
Save QR code into Google Spreadsheet with Android Studio
<p>im developing an app to create products and save them directly to a Google Spreadsheet. My problem is that the name and brand are saving correctly, but i cant find a way to also save the QR code. The QR code is encrypted using AES encryption.</p> <p>Here is the CreateProduct.java activity:</p> <pre><code>public clas...
im developing an app to create products and save them directly to a Google Spreadsheet. My problem is that the name and brand are saving correctly, but i cant find a way to also save the QR code. The QR code is encrypted using AES encryption. Here is the CreateProduct.java activity: [CODE] And the AppScript code: [CODE...
android|database|google-sheets|qr-code
0
2022-09-15T00:47:34.660Z
2,022
9
0
3
22
0
321
56
4
2
true
true
false
false
false
false
zero
73,724,523
How to use flowOn and launchIn methods to collect from a Kotlin SharedFlow in a test
<p>Consider the following test. <code>test shared flow A</code> will pass, but <code>test shared flow B</code> will fail.</p> <p>I was under the impression that these were equivalent statements.</p> <p>Why does <code>test shared flow B</code> fail?<br /> Is there a way to make it pass, while still using the <code>laun...
Consider the following test. test shared flow A will pass, but test shared flow B will fail. I was under the impression that these were equivalent statements. Why does test shared flow B fail? Is there a way to make it pass, while still using the launchIn method? [CODE]
android|kotlin|kotlin-coroutines|android-testing|kotlin-flow
0
2022-09-15T00:53:05.850Z
2,022
9
0
3
30
0
270
84
5
1
true
true
false
false
false
false
zero
73,724,526
How can I rewrite build.gradle files when I use Android Studio Chipmunk?
<p>I create an project based the wizard <em>Empty Compose Activity</em> of Android Studio Chipmunk | 2021.2.1 Patch 1, and the wizard generate two build.gradle files, you can see Code A and Code B.</p> <p>Code C and Code D are two build.gradle files from an old project.</p> <p>1: What does <code>apply false</code> in ...
I create an project based the wizard Empty Compose Activity of Android Studio Chipmunk | 2021.2.1 Patch 1, and the wizard generate two build.gradle files, you can see Code A and Code B. Code C and Code D are two build.gradle files from an old project. 1: What does apply false in id 'com.android.library' version '7.2.0'...
android|android-studio|gradle
0
2022-09-15T00:53:53.263Z
2,022
9
0
3
39
1
735
72
3
4
true
false
false
false
false
false
zero
73,724,627
How do I manually compile an Android App that requires AppCompatActivity?
<p>I am compiling an android application from scratch without a dedicated IDE such as <em>android studio</em>. But I am using the necessary <em>android tools</em>. The application compiles fine when I have created a basic application that extends <code>Activity.class</code>. But, once I attempt to</p> <p><code>import a...
I am compiling an android application from scratch without a dedicated IDE such as android studio . But I am using the necessary android tools . The application compiles fine when I have created a basic application that extends Activity.class . But, once I attempt to import androidx.appcompat.app.AppCompatActivity and ...
android|android-activity|development-environment|extends|appcompatactivity
0
2022-09-15T01:16:14.973Z
2,022
9
1
3
15
0
1,216
73
5
0
false
true
false
false
false
false
zero
73,724,642
My app has been reject by Console Playstore on ANDROID TV version, because "according to them" is not navigable using a 5-way D-pad controller
<p>My app (aab) has been accepted on the original playstore, but has been reject by Console Playstore FOR <strong>ANDROID TV</strong> version, because &quot;according to them&quot; is not navigable using a 5-way D-pad controller, but in the practice, IS WORKING the D-pad controller.</p> <p><a href="https://i.stack.imgu...
My app (aab) has been accepted on the original playstore, but has been reject by Console Playstore FOR ANDROID TV version, because &quot;according to them&quot; is not navigable using a 5-way D-pad controller, but in the practice, IS WORKING the D-pad controller. The email that they send me I need help, really my ackno...
xml|apk|google-play-console|google-developers-console|android-app-bundle
0
2022-09-15T01:19:54.680Z
2,022
9
1
3
41
1
612
142
5
0
false
false
false
false
false
false
zero
73,724,699
Cannot resolve CardEntry
<p>When attempting to implement the <a href="https://developer.squareup.com/docs/in-app-payments-sdk/what-it-does" rel="nofollow noreferrer">Square In-App Payments SDK</a> into my Android application, I cannot resolve the CardEntry class. I have tried to import it but it's not importable. I followed the <a href="https:...
When attempting to implement the Square In-App Payments SDK into my Android application, I cannot resolve the CardEntry class. I have tried to import it but it's not importable. I followed the Install SDK and &quot;Build On Android&quot; guides but still not able to import the CardEntry class: Cannot resolve 'CardEntry...
android
0
2022-09-15T01:32:26.937Z
2,022
9
1
3
14
0
665
24
1
2
true
true
false
false
false
false
zero
73,724,715
Only the original thread that created a view hierarchy can touch its views. When running animation
<p>I can't figure out what is wrong in here, looks like Timer is causing this issue but even if I remove Timer line completely it still crashing with error like thi &quot;Only the original thread that created a view hierarchy can touch its views.&quot;</p> <p>Maybe you guys can suggest a different way to run animations...
I can't figure out what is wrong in here, looks like Timer is causing this issue but even if I remove Timer line completely it still crashing with error like thi &quot;Only the original thread that created a view hierarchy can touch its views.&quot; Maybe you guys can suggest a different way to run animations inside of...
android|kotlin|animation|kotlin-coroutines
0
2022-09-15T01:35:17.657Z
2,022
9
1
3
43
2
524
98
4
2
true
false
false
false
false
false
zero
73,724,792
Responsive layout position in Android Studio
<p>I just want to change the position of my Image and button if I select <code>no</code> in my spinner,the asset should automatically goes up if selects <code>no</code>, the thing is it remains steady since I used <code>android:layout_below=&quot;@+id/sample&quot;</code> and my Idea is when selecting <code>no</code> t...
I just want to change the position of my Image and button if I select no in my spinner,the asset should automatically goes up if selects no , the thing is it remains steady since I used android:layout_below=&quot;@+id/sample&quot; and my Idea is when selecting no the layout_below=&quot;@+id/ will change pragmatically, ...
java|android|android-studio|mobile
0
2022-09-15T01:50:15.953Z
2,022
9
1
3
39
1
440
44
4
3
true
false
false
false
false
false
zero
73,724,988
Overwrite certs in otacerts.zip folder
<p>Apologies for wrong question as I am very new to Android and TIA for your response.</p> <p>I am trying to override the otacerts.zip which contains the default testkeys with the one I generated. I copied the newly generated .x509.pem and .pk8 files under /vendors/newkey. I also created an Android.mk under /vendor/key...
Apologies for wrong question as I am very new to Android and TIA for your response. I am trying to override the otacerts.zip which contains the default testkeys with the one I generated. I copied the newly generated .x509.pem and .pk8 files under /vendors/newkey. I also created an Android.mk under /vendor/keys with lin...
android|android-source|ninja
0
2022-09-15T02:26:45.510Z
2,022
9
2
3
19
0
850
38
3
2
true
true
false
false
false
false
zero
73,725,118
Why can't I use Modifier.padding(top = 20.dp) to increase space in AlertDialog when I use JetPack Compose?
<p>The Code A displays a dialog box based <code>AlertDialog</code>, and I get Image A when I run Code A.</p> <p>I find the space between <code>title = { Text(text = dialogTitle) }</code> and <code>text = {...}</code> is too closer in Image A.</p> <p>So I set <code>Modifier.padding(top = 100.dp)</code> to wish to incr...
The Code A displays a dialog box based AlertDialog , and I get Image A when I run Code A. I find the space between title = { Text(text = dialogTitle) } and text = {...} is too closer in Image A. So I set Modifier.padding(top = 100.dp) to wish to increase the space between the two controls, but I only get Image B, it se...
android|android-jetpack-compose
0
2022-09-15T02:50:09.717Z
2,022
9
2
3
40
3
433
106
2
1
true
false
false
false
false
false
zero
73,725,122
II can't add SearchableSpinner
<p><a href="https://i.stack.imgur.com/YEfZx.png" rel="nofollow noreferrer">enter image description here</a>I can't add SearchableSpinner in my project, Although i am adding the dependency in the gradle file</p> <p>am I adding something incorrect?</p> <p>build.gradle (app)</p> <pre><code>plugins { id 'com.android.ap...
enter image description here I can't add SearchableSpinner in my project, Although i am adding the dependency in the gradle file am I adding something incorrect? build.gradle (app) [CODE] build.gradle project [CODE] Here are the codes in the build gradle. The implementation&quot;com.toptoche.searchablespinner:searchabl...
java|android|xml|kotlin
0
2022-09-15T02:50:36.713Z
2,022
9
2
3
20
0
470
30
4
3
true
true
false
false
false
false
zero
73,725,168
how to detect if the user have a bigger font setting in the browser OR in the mobile phone settings
<p>This question is about detecting if the user changed his font size on his device or browser</p> <p>CONTEXT :</p> <ul> <li>a normal website</li> <li>this website viewed with a <ul> <li>desktop (regular browser)</li> <li>mobile in chrome or safari</li> <li>within a webview on a mobile app</li> <li>etc</li> </ul> </li>...
This question is about detecting if the user changed his font size on his device or browser CONTEXT : a normal website this website viewed with a desktop (regular browser) mobile in chrome or safari within a webview on a mobile app etc ISSUE CONTEXT : When the user decide to activate mobility settings like a bigger fon...
android|css|webview|font-size|mobility
0
2022-09-15T02:59:07.290Z
2,022
9
2
3
7
0
924
99
5
1
true
true
false
false
false
false
zero
73,725,177
getOutputStream() not working in android studio
<p>I've been trying to send a post request to my XAMPP server to a php file via android studio and I havent been able to get GetOutputStream() to work. Heres my code for android studio:</p> <pre><code>public class Connect extends AsyncTask&lt;String, Void, String&gt; { private Context context; public Connect(C...
I've been trying to send a post request to my XAMPP server to a php file via android studio and I havent been able to get GetOutputStream() to work. Heres my code for android studio: [CODE] Heres the code to my php file: [CODE] I've tried many different things and nothing has worked, I'm not sure what to do at this poi...
java|php|android|mysql
-1
2022-09-15T03:00:38.413Z
2,022
9
3
3
31
1
476
47
4
2
true
false
false
false
false
true
negative
73,725,191
How to add header with recycler view in liner layout scroll horizontal
<p><a href="https://i.stack.imgur.com/zV2zC.jpg" rel="nofollow noreferrer">output of my code</a> header take space like other items in recycler view item I want header to stuck in top and other item scroll horizontal</p> <p><a href="https://i.stack.imgur.com/cLXuA.png" rel="nofollow noreferrer"> output require like thi...
output of my code header take space like other items in recycler view item I want header to stuck in top and other item scroll horizontal output require like this
android|android-recyclerview
0
2022-09-15T03:02:23.283Z
2,022
9
3
3
21
0
162
70
2
0
false
true
false
false
false
false
zero
73,725,357
How do I connect webapp with android app?
<p>So for a personal project I'm building a task management webapp using laravel framework, I've hooked it up to hosting so I can use it any time. but for the future I want to improve the application so that it can be used anywhere with a smartphone, I want to make the application but with an android application based....
So for a personal project I'm building a task management webapp using laravel framework, I've hooked it up to hosting so I can use it any time. but for the future I want to improve the application so that it can be used anywhere with a smartphone, I want to make the application but with an android application based. so...
java|php|android|laravel|web-applications
0
2022-09-15T03:35:18.410Z
2,022
9
3
3
40
1
505
41
5
0
false
false
false
false
false
false
zero
73,725,435
How to prevent gradle.properties from being overwritten in Cordova Android?
<p>In a Cordova (11.0.0) project, when building for the Android <code>(&quot;cordova-android&quot;: &quot;^10.1.2&quot;)</code> platform, I'm getting this error from gradle(7.4.2): <code>Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not &quot;opens java.io&quot;...
In a Cordova (11.0.0) project, when building for the Android (&quot;cordova-android&quot;: &quot;^10.1.2&quot;) platform, I'm getting this error from gradle(7.4.2): Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not &quot;opens java.io&quot; to unnamed module . A...
cordova|cordova-android
1
2022-09-15T03:50:33.180Z
2,022
9
3
3
14
0
876
75
2
0
false
true
false
false
false
false
low
73,725,500
Decrypt and verify locally Play Integrity API Token
<p>I'm trying to implement Play Integrity API in my project. I already implement the logic in an Android app and send the token to my server. I want to decrypt and verify locally because the server don't and won't have internet connection. So I'm following the <a href="https://developer.android.com/google/play/integrit...
I'm trying to implement Play Integrity API in my project. I already implement the logic in an Android app and send the token to my server. I want to decrypt and verify locally because the server don't and won't have internet connection. So I'm following the official guide , but I'm struggling when getting the payload o...
java|android|jwe|google-play-integrity-api
0
2022-09-15T04:02:34.083Z
2,022
9
4
3
49
0
657
51
4
2
true
true
false
false
false
false
zero
73,725,540
Warning: Use Nullable Dialog to wrap dialog, to prevent Bad Token etc
<p>I use custom dialog but get warning:</p> <p><code>Use Nullable Dialog to wrap dialog, to prevent Bad Token etc</code> <a href="https://i.stack.imgur.com/LWABb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LWABb.png" alt="enter image description here" /></a> TestDialog.kt</p> <pre><code>class Tes...
I use custom dialog but get warning: Use Nullable Dialog to wrap dialog, to prevent Bad Token etc TestDialog.kt [CODE] I know that I can add @SuppressLint(&quot;DialogShow&quot;) to prevent warning but how is the corrent way to prevent from it.
android|kotlin|dialog
0
2022-09-15T04:09:02.300Z
2,022
9
4
3
19
0
244
69
3
1
true
true
false
false
false
false
zero
73,725,576
Error: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference in Android studio
<p>i hope anyone can help me with this because i am new to android studio. Im trying to make a button that takes the main activity to the second window, which was working fine at first, but i also had to import data from the first to second activity, which is where i started getting errors. Without importing the data, ...
i hope anyone can help me with this because i am new to android studio. Im trying to make a button that takes the main activity to the second window, which was working fine at first, but i also had to import data from the first to second activity, which is where i started getting errors. Without importing the data, the...
java|android
-3
2022-09-15T04:16:30.287Z
2,022
9
4
3
32
0
632
147
2
3
true
true
false
false
false
true
negative
73,725,629
How to legally prevent notification get removed in Android
<p>I'm working on an app and want to provide a shortcut of a function to user by adding a ongoing notification. It's a little bit like some of dictionary app doing that they provide a shortcut as notification for quick search.<br /> The problem is even I have setOngoing(true) and setAutoCancel(false), it's still get re...
I'm working on an app and want to provide a shortcut of a function to user by adding a ongoing notification. It's a little bit like some of dictionary app doing that they provide a shortcut as notification for quick search. The problem is even I have setOngoing(true) and setAutoCancel(false), it's still get removed onc...
android|notifications
0
2022-09-15T04:24:45.040Z
2,022
9
4
3
21
0
401
58
2
1
true
true
false
false
false
false
zero
73,725,633
How to access PluginDependenciesSpecScope while create custom gradle plugin
<p>I am creating a <strong>custom gradle plugin</strong> and I need to add a pluginId with version</p> <p>in .gradle files we do it like</p> <pre><code>plugins{ id(&quot;com.google.devtools.ksp&quot;) version &quot;1.7.0-1.0.6&quot; } //plugins block has PluginDependenciesSpecScope </code></pre> <p>I want to achie...
I am creating a custom gradle plugin and I need to add a pluginId with version in .gradle files we do it like [CODE] I want to achieve the same while extending from Plugin, not sure how to access PluginDependenciesSpecScope to achieve the same [CODE]
android|android-gradle-plugin|build.gradle
2
2022-09-15T04:26:02.843Z
2,022
9
4
3
34
0
250
75
3
2
true
true
false
false
false
false
low
73,725,665
Android: keybord should not accept non-text characters while entering input string
<p>Android keybord should not accept non-text characters such as space, enter, return etc while entering input string.</p> <p>I tried with few, as shown below -</p> <p>this is for the regex.</p> <ol> <li>the \b is to find word boundary.</li> <li>the positive look ahead (?=\w) is here to avoid spaces.</li> </ol> <pre><c...
Android keybord should not accept non-text characters such as space, enter, return etc while entering input string. I tried with few, as shown below - this is for the regex. the \b is to find word boundary. the positive look ahead (?=\w) is here to avoid spaces. [CODE] but in my case first character space is not accept...
android|regex|kotlin|android-jetpack-compose
1
2022-09-15T04:31:19.877Z
2,022
9
4
3
71
2
881
82
4
2
true
false
false
false
false
false
low
73,725,763
How to resolve this AnnotationAreNotAllowedHere error in android studio while making portfolio app?
<p>I was making portfolio app in android studio but this error is showing. Help</p> <pre><code>@Override protected void onActivityResult(int requestCode,int resultCode,@Nullable Intent data){ super.onActivityResult(requestCode, resultCode, data); if(requestCode==REQUEST_DETAILS_C...
I was making portfolio app in android studio but this error is showing. Help [CODE]
java|android-studio
0
2022-09-15T04:49:13.020Z
2,022
9
4
3
13
0
83
99
2
1
true
true
false
false
false
false
zero
73,725,764
Copying or moving a file inside Internal storage on Android
<p>In an Android app the user can record his voice. The sound recording is saved in a file defined by:</p> <pre><code>audioTempFile = File(getFilesDir(), &quot;Audio_Temp_File&quot;) </code></pre> <p>Then I want to give the user the choice of the final folder and file name for the file to be saved. So the audioTempFile...
In an Android app the user can record his voice. The sound recording is saved in a file defined by: [CODE] Then I want to give the user the choice of the final folder and file name for the file to be saved. So the audioTempFile above can be used for a possible next recording without destroying the current one. For exam...
android|kotlin|internal-storage
0
2022-09-15T04:49:22.620Z
2,022
9
4
3
39
1
519
59
3
2
true
false
false
false
false
false
zero
73,725,806
Appium/Python - Issue with automating spotify app
<p>I was trying to automate the spotify music app on my android device using appium/python.</p> <p>The goal is to automate the functionalities like play, pause, previous and next.</p> <p>The app is launched and clicking on play button is successful. <strong>But for the next action(pause/next/prev) its taking too much t...
I was trying to automate the spotify music app on my android device using appium/python. The goal is to automate the functionalities like play, pause, previous and next. The app is launched and clicking on play button is successful. But for the next action(pause/next/prev) its taking too much time(more than 1 minute). ...
python|android|appium|spotify
0
2022-09-15T04:56:48.503Z
2,022
9
4
3
15
0
875
49
4
0
false
true
false
false
false
false
zero
73,725,819
How to detect if two views(composables) are overlapping in jetpack compose?
<p>I'm creating a 2D game with simple animations in jetpack compose. The game is simple, a balloon will float on top, a cannon will shoot arrow towards balloon. If the arrow hits balloon, player gets a point. I'm able to animate all of the above things but one. How would I detect when the arrow and balloon areas inters...
I'm creating a 2D game with simple animations in jetpack compose. The game is simple, a balloon will float on top, a cannon will shoot arrow towards balloon. If the arrow hits balloon, player gets a point. I'm able to animate all of the above things but one. How would I detect when the arrow and balloon areas intersect...
android|android-jetpack-compose|android-animation|jetpack-compose-animation
0
2022-09-15T04:58:59.510Z
2,022
9
4
3
17
0
691
75
4
2
true
true
false
false
false
false
zero
73,725,842
Android studio cant find some settings in layouts attributes
<p>I created a layout file for recycler view, but I can't find most of the required settings for the views in the <strong>attributes</strong>.I can't even set the <em>textSize</em> in the attributes!<br /> So i have to set them by xml code: (Even when writing the code, AndroidStudio does not offer suggestions)</p> <pre...
I created a layout file for recycler view, but I can't find most of the required settings for the views in the attributes .I can't even set the textSize in the attributes! So i have to set them by xml code: (Even when writing the code, AndroidStudio does not offer suggestions) [CODE]
android|android-studio|android-layout
0
2022-09-15T05:03:01.010Z
2,022
9
5
3
33
1
284
60
3
1
true
false
false
false
false
false
zero
73,725,846
Is it possible to connect to android emulator on one system while flutter codding is on another system
<p>I'm building my flutter code in a windows system and it gets slows down when running an android emulator so can anyone clarify for me if is it possible to connect to the android emulator on another system through LAN/WIFI while building the code on one system</p>
I'm building my flutter code in a windows system and it gets slows down when running an android emulator so can anyone clarify for me if is it possible to connect to the android emulator on another system through LAN/WIFI while building the code on one system
android|flutter
0
2022-09-15T05:03:24.493Z
2,022
9
5
3
20
0
259
102
2
0
false
true
false
false
false
false
zero
73,725,884
Tell me how to control microphone's volume on ChromeOS automatically
<p>Thank you for your help. We are developing an Android application that records and analyzes the voice input from the microphone for elementary school students who are learning English. We are using the headset by pointing the voice input/output terminal on the Chromebook device.</p> <p>However, immediately after in...
Thank you for your help. We are developing an Android application that records and analyzes the voice input from the microphone for elementary school students who are learning English. We are using the headset by pointing the voice input/output terminal on the Chromebook device. However, immediately after inserting the...
android|audio|webrtc-android|androidappsonchromeos
0
2022-09-15T05:09:08.883Z
2,022
9
5
3
18
0
1,863
68
4
0
false
true
false
false
false
false
zero
73,725,886
How to know whether any link was copied even when the app is closed?
<p>Currently making a URL shortener, I wanted to add functionality to show a notification when a URL was copied even when the app is in the background or closed.</p> <p>Using a service class can be a good idea but it has some disadvantages:</p> <ol> <li><p>Some devices like MI and OnePlus don't allow running services f...
Currently making a URL shortener, I wanted to add functionality to show a notification when a URL was copied even when the app is in the background or closed. Using a service class can be a good idea but it has some disadvantages: Some devices like MI and OnePlus don't allow running services for more than 30 seconds. W...
java|android|android-notifications|clipboard
-1
2022-09-15T05:09:22.560Z
2,022
9
5
3
35
1
583
68
4
1
true
false
false
false
false
true
negative
73,725,946
How to change Android Studio Quick Fixes default suggesstion?
<p>In Android Studio when there is an error, and you hover over it, the Android studio shows the lint error and suggests <code>Quick fixes</code>.</p> <p>In flutter development when a class is not imported, the quick fix suggests to import the class. <a href="https://i.stack.imgur.com/X8wo8.png" rel="nofollow noreferre...
In Android Studio when there is an error, and you hover over it, the Android studio shows the lint error and suggests Quick fixes . In flutter development when a class is not imported, the quick fix suggests to import the class. The default suggestion is to import the class in relative path. If you click 'More actions'...
flutter|android-studio|dart|syntax-error|lint
0
2022-09-15T05:18:28.307Z
2,022
9
5
3
15
0
631
61
5
0
false
true
false
false
false
false
zero
73,725,975
What is the event for hiding the address bar on mobile Android?
<p>So when you start scrolling on an Android browser, the address bar slowly slides up and it becomes fullscreen. Is this an actual fullscreen event?</p> <p>I need to set the height dynamically for a map view so when this address bar slides up, I have a white space at the bottom until I re-render the page by navigatin...
So when you start scrolling on an Android browser, the address bar slowly slides up and it becomes fullscreen. Is this an actual fullscreen event? I need to set the height dynamically for a map view so when this address bar slides up, I have a white space at the bottom until I re-render the page by navigating away. On ...
android|events|mobile|browser|fullscreen
0
2022-09-15T05:21:55.107Z
2,022
9
5
3
20
0
398
63
5
0
false
true
false
false
false
false
zero
73,726,106
flutter has exited unexpectedly FileSystemException :Creation Failed path=directory\lib OS Error: The system cannot find the file specified, errno = 2
<p>I an tring to create a new flutter project with flutter3.3.0 but suddenly came below exception. <a href="https://i.stack.imgur.com/SVkBG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SVkBG.png" alt="enter image description here" /></a> after run flutter doctor, <a href="https://i.stack.imgur.com...
I an tring to create a new flutter project with flutter3.3.0 but suddenly came below exception. after run flutter doctor, not create any directory in project also change variables
flutter|android-studio
0
2022-09-15T05:40:07.593Z
2,022
9
5
3
43
1
179
150
2
0
false
false
false
false
false
false
zero
73,726,140
Android virtual machine in android studio
<p>I installed android studio and unchecked for downloading Android virtual machine.. But it seems Android virtual machine already installed and started installing Android emulator.</p>
I installed android studio and unchecked for downloading Android virtual machine.. But it seems Android virtual machine already installed and started installing Android emulator.
android|android-studio
-3
2022-09-15T05:44:27.467Z
2,022
9
5
3
31
0
178
41
2
0
false
true
false
false
false
true
negative
73,726,474
Why is the beacon scanning happening yet no beacon is detected when app is killed?
<p>I'm working on a React Native app that requires finding beacons even if the app is killed. With my current implementation below, I'm able to detect beacons in the foreground or background, but nothing happens when the app is killed. However, the following logs appear on <code>logcat</code>:</p> <pre><code>2022-09-15...
I'm working on a React Native app that requires finding beacons even if the app is killed. With my current implementation below, I'm able to detect beacons in the foreground or background, but nothing happens when the app is killed. However, the following logs appear on logcat : [CODE] This log appears after approximat...
android|ibeacon|altbeacon|ibeacon-android|android-ibeacon
0
2022-09-15T06:25:39.420Z
2,022
9
6
3
31
0
658
82
5
2
true
true
false
false
false
false
zero
73,726,537
What happens Android after Oreo(API 26), when back to removed Activity
<p>I found difference with After Oreo(API 26) and Under Oreo(API 26)</p> <pre><code>class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) findViewById&lt;Button&gt;(R.id.button...
I found difference with After Oreo(API 26) and Under Oreo(API 26) [CODE] [CODE] When I back to MainActivity removed by OS (I checked &quot;Settings > Developer options > &quot;Don't keep activities&quot; for realize these situation) In Under API 25, SecondActivity will removed by screen at MainActivity onCreate() start...
android
0
2022-09-15T06:31:31.507Z
2,022
9
6
3
16
0
669
70
1
2
true
true
false
false
false
false
zero
73,726,569
Using paddingValues as padding for content makes animated visiblility have jumpy effect
<p>Using PaddingValues for content padding makes Animated visiblility have jumpy effect for a few seconds after Hiding bottom bar. The jumpy effect only goes off only when PaddingValues is not used in the content. but I need to use the padding values in content ex(<code>Modifier.padding(PaddingValues)</code>) to avoi...
Using PaddingValues for content padding makes Animated visiblility have jumpy effect for a few seconds after Hiding bottom bar. The jumpy effect only goes off only when PaddingValues is not used in the content. but I need to use the padding values in content ex( Modifier.padding(PaddingValues) ) to avoid Bottom Bar fro...
android|android-studio|kotlin|android-jetpack-compose|jetpack-compose-animation
0
2022-09-15T06:36:09.657Z
2,022
9
6
3
25
0
439
87
5
2
true
true
false
false
false
false
zero
73,726,580
How to access permission READ_INTERNAL_STORAGE and WRITE_INTERNAL_STORAGE file (pdf docs)in android SDK 33
<p>In Android 13 version or SDK 33 How to access all files in android devices and also give permission of Allow management of all files, I have try requestLegacyExternalStorage, defaultToDeviceProtectedStorage, <code>requestLegacyExternalStorage=&quot;true&quot;</code> and <code>READ_INTERNAL_STORAGE</code>, <code>WRI...
In Android 13 version or SDK 33 How to access all files in android devices and also give permission of Allow management of all files, I have try requestLegacyExternalStorage, defaultToDeviceProtectedStorage, requestLegacyExternalStorage=&quot;true&quot; and READ_INTERNAL_STORAGE , WRITE_INTERNAL_STORAGE permission but ...
java|android|android-studio
1
2022-09-15T06:37:25.083Z
2,022
9
6
3
47
1
412
106
3
1
true
false
false
false
false
false
low
73,726,665
How do you start a Wear App from a connected Mobile
<p>I am trying to get a mobile app to show a companion app on a connected Wear device.</p> <p>Goal</p> <p>When a simple countdown timer is started a message is sent to connected wear device(s) and they show the same countdown as the mobile</p> <p>Problem</p> <p>When the Wear device is in Ambient Mode startActivity() do...
I am trying to get a mobile app to show a companion app on a connected Wear device. Goal When a simple countdown timer is started a message is sent to connected wear device(s) and they show the same countdown as the mobile Problem When the Wear device is in Ambient Mode startActivity() does not result in the Wear Devic...
android|android-activity|android-manifest|wear-os
1
2022-09-15T06:47:11.687Z
2,022
9
6
3
23
1
1,407
51
4
5
true
false
false
false
false
false
low
73,726,667
Jetpack compose show Snackbar below FAB
<ul> <li>I have displayed a snackbar with <code>Floating Action Button</code> but <code>Snackbar</code> shows up above the <code>FAB</code> and it want it show it below the <code>FAB</code>.</li> <li>As per the guidelines snackbar must be above FAB but in the app as per the funtionality I have to display it below.</li>...
I have displayed a snackbar with Floating Action Button but Snackbar shows up above the FAB and it want it show it below the FAB . As per the guidelines snackbar must be above FAB but in the app as per the funtionality I have to display it below. I also tried with Modifier.offset() but Snackbar is sticked with FAB offs...
android|android-jetpack-compose
0
2022-09-15T06:47:14.197Z
2,022
9
6
3
36
0
439
39
2
1
true
true
false
false
false
false
zero
73,726,694
How to await Retrofit call, with Kotlin?
<p>I was thinking, is there any way to build your code, so you could do Retrofit calls like this: <strong><br>For e.g in MainActivity:</strong></p> <pre><code>override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val data = userRepository.getUsers().await() } </code...
I was thinking, is there any way to build your code, so you could do Retrofit calls like this: For e.g in MainActivity: [CODE]
android|kotlin
-2
2022-09-15T06:49:54.363Z
2,022
9
6
3
33
1
126
40
2
1
true
false
false
false
false
true
negative
73,726,713
Can't find installed PWA on mobile device
<p>I have a PWA site, which can be installed on the Web and on Mobile. (The App has been up for 3 years, and works as a PWA)</p> <p>tl;dr If the PWA is not one of the icons on my home screen, where can I find it?!</p> <p><strong>The problem is:</strong> that one of our clients <strong>installed</strong> our PWA as an A...
I have a PWA site, which can be installed on the Web and on Mobile. (The App has been up for 3 years, and works as a PWA) tl;dr If the PWA is not one of the icons on my home screen, where can I find it?! The problem is: that one of our clients installed our PWA as an A2HS (Add to Home Screen) shortcut, but can't find i...
android|google-chrome|mobile|progressive-web-apps|a2hs
0
2022-09-15T06:51:47.080Z
2,022
9
6
3
22
0
614
41
5
0
false
true
false
false
false
false
zero
73,726,802
pressBack() in espresso test is not working
<p>I am a beginner to do the espresso test. I am using pressBack but it is not working it should return to the main activity from the second activity. The problem is that the press back is not working and due to this I get NoMatchingViewException. Can someone please help? I looked at different Solutions but I have not ...
I am a beginner to do the espresso test. I am using pressBack but it is not working it should return to the main activity from the second activity. The problem is that the press back is not working and due to this I get NoMatchingViewException. Can someone please help? I looked at different Solutions but I have not fou...
android|android-espresso
0
2022-09-15T06:59:50.607Z
2,022
9
6
3
21
0
340
43
2
1
true
true
false
false
false
false
zero
73,726,859
Live Data Observer called only once _ Android
<p>Live Data Observer called only once. It is not updating the data from server when api is called again to update UI.</p> <p>Here is my <code>activity</code>:</p> <pre><code>class LoginActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ...
Live Data Observer called only once. It is not updating the data from server when api is called again to update UI. Here is my activity : [CODE] And here is LoginViewModel : [CODE]
android|android-livedata|android-viewmodel
0
2022-09-15T07:04:35.300Z
2,022
9
7
3
24
0
180
45
3
2
true
true
false
false
false
false
zero
73,727,056
How to add an icon to canvas in Jetpack Compose?
<p>I am trying to add and icon from resource in <code>Canvas</code> <code>DrawScope</code>. The nearest solution I found is <code>drawImage()</code>, but it doesn't work for my case. Also I cannot use the normal <code>Icon()</code> composable inside the <code>DrawScope</code>. So is there any work around to display an ...
I am trying to add and icon from resource in Canvas DrawScope . The nearest solution I found is drawImage() , but it doesn't work for my case. Also I cannot use the normal Icon() composable inside the DrawScope . So is there any work around to display an icon inside canvas, similarly to the way we do it with composable...
kotlin|android-jetpack-compose|android-canvas|android-jetpack|kotlin-android
1
2022-09-15T07:21:36.607Z
2,022
9
7
3
37
1
328
48
5
1
true
false
false
false
false
false
low
73,727,097
`stateDescription` feature in SemanticsProperties() fails to read/describe updated state values
<p>Expected behaviour:</p> <ul> <li>When user toggles on any component say a button in this case, then when the state is updated or changed automatically talk back should read/announce the updated state value.</li> </ul> <p>Reproduce steps:</p> <ul> <li>Create a button BookmarkButton using compose.</li> <li>Set false a...
Expected behaviour: When user toggles on any component say a button in this case, then when the state is updated or changed automatically talk back should read/announce the updated state value. Reproduce steps: Create a button BookmarkButton using compose. Set false as default state. Now customize the state to true pro...
android|accessibility|android-jetpack-compose|talkback
0
2022-09-15T07:23:49.723Z
2,022
9
7
3
26
0
736
95
4
1
true
true
false
false
false
false
zero