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,817,832
WorkManager - Unable to create Worker with custom argument and Hilt
<p>I am trying to make a <code>Worker</code> with custom constructor arguments. Moreover, the <code>Worker</code> is in a different module and not in the <code>app</code> module. Here is my code:</p> <p>Module - <code>order</code></p> <pre><code>@HiltWorker class OrderFcmWorker @AssistedInject constructor( @Assiste...
I am trying to make a Worker with custom constructor arguments. Moreover, the Worker is in a different module and not in the app module. Here is my code: Module - order [CODE] Because of the additional argument, I get below error. [CODE] By seeing the above error, my first guess was UserRepo not being able to be constr...
android-workmanager|dagger-hilt
0
2022-09-22T16:16:09.707Z
2,022
9
16
3
17
0
687
67
2
6
true
true
false
false
false
false
zero
73,817,933
Simple way to make animation character by character ( Kotlin )
<p>Show letter by letter in an easy way with kotlin Class Like : A An And Andr Andro Androi Android</p>
Show letter by letter in an easy way with kotlin Class Like : A An And Andr Andro Androi Android
android|kotlin
-1
2022-09-22T16:24:41.930Z
2,022
9
16
3
33
3
96
62
2
0
false
false
false
false
false
true
negative
73,818,000
Android Java Calculator (Clear Button)
<p>So I am working with a simple android calculator, I have made 5 buttons, +, -, /, * and C. C is supposed to reset all the text field so that they get erased. Basically turned null. Here is the java code, but I do not know how to write the code for the null button. Erasing the content that is inside them the text fie...
So I am working with a simple android calculator, I have made 5 buttons, +, -, /, * and C. C is supposed to reset all the text field so that they get erased. Basically turned null. Here is the java code, but I do not know how to write the code for the null button. Erasing the content that is inside them the text fields...
java|android|calculator
0
2022-09-22T16:31:03.597Z
2,022
9
16
3
44
3
653
38
3
1
true
false
false
false
false
false
zero
73,818,032
When we do some changes in the dart code, Is the code in Android, Web,ios etc folder changes?
<p>If I am coding in a main.dart file is there any change created in the windows folder, ios folder, Android folder, web folder. Like, Asking that if I am creating the changes is the changes in other files are implemented automatically or not?</p>
If I am coding in a main.dart file is there any change created in the windows folder, ios folder, Android folder, web folder. Like, Asking that if I am creating the changes is the changes in other files are implemented automatically or not?
flutter|dart|flutter-web|flutter-ios|flutter-android
0
2022-09-22T16:34:02.770Z
2,022
9
16
3
12
0
240
93
5
0
false
true
false
false
false
false
zero
73,818,245
I'm using below code to nevigate to loginActivity from mainActivity but the condition inside if() is getting false
<p>mAuth = FirebaseAuth.getInstance();</p> <p>FirebaseUser user = mAuth.getCurrentUser();</p> <p>if (user == null) {</p> <p>startActivity(new Intent(MainActivity.this, LoginActivity.class));</p> <p>}</p>
mAuth = FirebaseAuth.getInstance(); FirebaseUser user = mAuth.getCurrentUser(); if (user == null) { startActivity(new Intent(MainActivity.this, LoginActivity.class)); }
java|android|firebase
1
2022-09-22T16:54:27.840Z
2,022
9
16
3
30
0
168
114
3
0
false
true
false
false
false
false
low
73,818,252
Iterating over a List with multiple Place AddressComponents - Kotlin
<p>I am receiving a Place Detail (from Google Maps SDK Android) from a specific place. This Place has different Place Details as a Result.</p> <p>The output is the following:</p> <pre><code>Place found: AddressComponents{asList=[AddressComponent{name=58, shortName=58, types=[street_number]}, AddressComponent{name=Schwe...
I am receiving a Place Detail (from Google Maps SDK Android) from a specific place. This Place has different Place Details as a Result. The output is the following: [CODE] I am looking for the specific information of the typ=administrative_area_level_1 and level_2. But i am not able to find a way of iteration. With Kot...
android|kotlin|iterator|maps|google-places-api
1
2022-09-22T16:55:02.340Z
2,022
9
16
3
22
1
696
68
5
3
true
false
false
false
false
false
low
73,818,588
Ionic Zoom Meeting SDK plugin
<p>I’ve got myself into a bit of a bind because of the Ionic plugin and how it is no longer supported by Zoom, and it’s affecting a major client.</p> <p>I'm trying to do the latest &quot;break fix&quot; for the code with the latest Zoom Meeting SDK, but I’ve got myself into a bit of a dead end, so I was wondering if an...
I’ve got myself into a bit of a bind because of the Ionic plugin and how it is no longer supported by Zoom, and it’s affecting a major client. I'm trying to do the latest &quot;break fix&quot; for the code with the latest Zoom Meeting SDK, but I’ve got myself into a bit of a dead end, so I was wondering if anyone has a...
android|ionic-framework|mobile|zoom-sdk
0
2022-09-22T17:25:10.420Z
2,022
9
17
3
11
0
705
29
4
1
true
true
false
false
false
false
zero
73,818,618
How to convert string which have array and string elements inside it, to fetch each element from the array in Kotlin [Android]
<p>My output looks like this :</p> <pre><code>[&quot;Floor 0&quot;,&quot;Floor 1&quot;,&quot;Floor 2&quot;] </code></pre> <p>It comes as a string. But I want to fetch each element of this array. How can I do this using Kotlin ?</p>
My output looks like this : [CODE] It comes as a string. But I want to fetch each element of this array. How can I do this using Kotlin ?
android|arrays|string
-1
2022-09-22T17:27:44.230Z
2,022
9
17
3
57
3
137
126
3
1
true
false
false
false
false
true
negative
73,818,687
Nested for Loop index is not in order
<p>MainActivity.java</p> <pre><code>public class MainActivity extends AppCompatActivity { String server_ip = &quot;192.168.252.100&quot;; String url = &quot;http://&quot;+server_ip+&quot;/lib/androidAPI.php&quot;; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedI...
MainActivity.java [CODE] movie_class.java [CODE] } Output 1: [CODE] Output 2 without changing the codes: [CODE] Question is why the for loop index (x) is not in order or randomly change order when using it inside the movie_class.getJsonResponse? I'm using that technique many times in php but it was different in java.
java|android|for-loop
0
2022-09-22T17:34:29.860Z
2,022
9
17
3
28
1
318
37
3
4
true
false
false
false
false
false
zero
73,818,705
alert dialog button not working when created with generic dialog flutter
<p><a href="https://i.stack.imgur.com/gequv.png" rel="nofollow noreferrer">enter image description here</a></p> <p>i have created a generic dialog that can create buttons that return some values</p> <pre><code>import 'package:flutter/material.dart'; typedef DialogOptionBuilder&lt;T&gt; = Map&lt;String, T?&gt; Function...
enter image description here i have created a generic dialog that can create buttons that return some values [CODE] and when i try to use this generic dialog to create a simple alert dialog that has a button &quot;ok&quot; this &quot;ok&quot; button is not poping out the alert dialog even though i have coded to popout ...
flutter|android-alertdialog
0
2022-09-22T17:36:17.053Z
2,022
9
17
3
21
1
448
72
2
3
true
false
false
false
false
false
zero
73,818,739
How to draw invisible line in Mpandroid chart?
<p>I need to build a line chart based on this Design. Basically when there is 0 value for Y axis the line must be either transparent or not drawn.</p> <p><a href="https://i.stack.imgur.com/YFIci.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YFIci.png" alt="enter image description here" /></a></p> <...
I need to build a line chart based on this Design. Basically when there is 0 value for Y axis the line must be either transparent or not drawn. I tried this approach, making an array of colors and adding a color for every entry: [CODE] But it is not working when line mode is : [CODE] I also tried making two different d...
android|mpandroidchart
0
2022-09-22T17:39:19.430Z
2,022
9
17
3
14
0
448
46
2
2
true
true
false
false
false
false
zero
73,818,757
How to adjust image in android screen under status bar and navigation in android?
<p>I am using an Imageview to show an image. If I set the image in background then its taking full widths and height under status bar and navigation bar. like as in below screen. And the image is streching.</p> <pre><code> &lt;ImageView android:id=&quot;@+id/imgLoginImageSlider&quot; ...
I am using an Imageview to show an image. If I set the image in background then its taking full widths and height under status bar and navigation bar. like as in below screen. And the image is streching. [CODE] In the second case if I set image using Glide then this same image not taking full widths and height. There i...
android|android-imageview|fullscreen|android-fullscreen
0
2022-09-22T17:40:24.477Z
2,022
9
17
3
11
1
518
81
4
2
true
false
false
false
false
false
zero
73,818,765
List of some android application to practice automation testing
<p>I am learning Android automation testing using Selenium Android Driver (Java), Appium, TestNG. I want to know some Android applications which I can automate and practice on, using some of the various functionalities offered by these technologies.</p>
I am learning Android automation testing using Selenium Android Driver (Java), Appium, TestNG. I want to know some Android applications which I can automate and practice on, using some of the various functionalities offered by these technologies.
java|android|selenium-webdriver|appium-android
0
2022-09-22T17:40:57.527Z
2,022
9
17
3
18
0
246
63
4
0
false
true
false
false
false
false
zero
73,818,855
How to catch the moment when the user leaves the app on Android?
<p>We want to execute some code (reset app state) when the user leaves the app (via back or start button tap). At first we tried to override Activity.onPause() for this purpose. However, onPause is also called when the user returns from a child Activity to the main one. So the app state is reset in this case as well. N...
We want to execute some code (reset app state) when the user leaves the app (via back or start button tap). At first we tried to override Activity.onPause() for this purpose. However, onPause is also called when the user returns from a child Activity to the main one. So the app state is reset in this case as well. No g...
android|android-activity|android-lifecycle
0
2022-09-22T17:50:06.067Z
2,022
9
17
3
22
2
472
64
3
0
false
false
false
false
false
false
zero
73,818,858
How to remove all the contacts from a list of call logs?
<p>Is it possible to remove all the contacts from a list of call logs that are populated on a recyclerview? I am building an app in Android Studio that is to only show the contacts when getting the contacts and only show numbers that are not in contacts when getting the call logs.</p>
Is it possible to remove all the contacts from a list of call logs that are populated on a recyclerview? I am building an app in Android Studio that is to only show the contacts when getting the contacts and only show numbers that are not in contacts when getting the call logs.
java|android|android-recyclerview|contacts|calllog
0
2022-09-22T17:50:24.420Z
2,022
9
17
3
14
0
278
56
5
0
false
true
false
false
false
false
zero
73,818,894
why in Huawei-phones Spinner.OnItemSelectedListener is not triggerd after setSelection() called?
<p>I have a <code>Spinner</code> for currencies to choose from, so after selecting the Currency it should trigger the <code>OnItemSelectedListener</code> to do some code.</p> <pre><code>Spinner sp_Curr; @Override protected void onCreate(Bundle savedInstanceState) { ... log.d(TAG, &quot;onCreate Called&quot;); ...
I have a Spinner for currencies to choose from, so after selecting the Currency it should trigger the OnItemSelectedListener to do some code. [CODE] In all kinds of android phones (Samsung, Oppo...) everything it just works fine ✔ But with Huawei phones it selects the item, but OnItemSelectedListener is sometimes trigg...
android|listener|android-spinner|huawei-developers
0
2022-09-22T17:53:09.193Z
2,022
9
17
3
11
0
1,050
96
4
1
true
true
false
false
false
false
zero
73,819,057
Is it possible to decline whatsapp call from my app?
<p>I want to create an app to detect and ignore/decline incoming whatsapp calls. I am able to detect it via notification listener service, but couldn't interact with the calling activity and decline it.</p>
I want to create an app to detect and ignore/decline incoming whatsapp calls. I am able to detect it via notification listener service, but couldn't interact with the calling activity and decline it.
android|whatsapp
0
2022-09-22T18:11:29.493Z
2,022
9
18
3
11
0
199
52
2
0
false
true
false
false
false
false
zero
73,819,076
How to use for loop or any other loop to loop a list while taking specified number of items
<p>I have a list of vehicle makes, while the list is so large and I want to store it in room database in android. The app may crash while performing this operation. I want to loop through the list and take some chunks of items and to store to database. For example for each loop I take 20 items until the list is empty....
I have a list of vehicle makes, while the list is so large and I want to store it in room database in android. The app may crash while performing this operation. I want to loop through the list and take some chunks of items and to store to database. For example for each loop I take 20 items until the list is empty. How...
android|kotlin|for-loop
0
2022-09-22T18:14:08.433Z
2,022
9
18
3
30
1
399
91
3
0
false
false
false
false
false
false
zero
73,819,183
Variable is used by reference when added to Mutable List
<p>I'm adding new items to mutable list by setting header and detail data in val <code>production</code>.</p> <pre><code>val productionList = mutableListOf&lt;ProductionData&gt;() val production = ProductionData() //Assign header data production.dateHeader = headerData.date production.timeHeader = headerData.time //I...
I'm adding new items to mutable list by setting header and detail data in val production . [CODE] The problem is that on second iteration, production.timeDetail is modified but the productionList[0] is also modified. How can I add items by value and not by reference as it is now? What am I doing wrong?
android|kotlin|mutablelist
0
2022-09-22T18:25:10.793Z
2,022
9
18
3
24
1
303
56
3
1
true
false
false
false
false
false
zero
73,819,202
Collapsing toolbar when scrolling through recyclerview
<p>I'd like to achieve collapsing toolbar when scrolling in the RecyclerView items. I've tried many solutions, but the result was not as I'd like to have. What I'd like to get is simply:</p> <p>When user scroll down, then the toolbar should appear, but when user will scroll up, the it should dissapear.</p> <p><strong>c...
I'd like to achieve collapsing toolbar when scrolling in the RecyclerView items. I've tried many solutions, but the result was not as I'd like to have. What I'd like to get is simply: When user scroll down, then the toolbar should appear, but when user will scroll up, the it should dissapear. custom_toolbar [CODE] frag...
android|android-recyclerview
0
2022-09-22T18:27:49.630Z
2,022
9
18
3
22
0
338
54
2
2
true
true
false
false
false
false
zero
73,819,217
Take value data from EditText and store in firebase path android
<p>I created 3 EditText for my signup layout. Username, Email, and password. Instead of storing both the email and username value data in the same path, I want to store all the usernames in one path and all the emails in another path. this is an example of my firebase real-time database: <a href="https://i.stack.imgur....
I created 3 EditText for my signup layout. Username, Email, and password. Instead of storing both the email and username value data in the same path, I want to store all the usernames in one path and all the emails in another path. this is an example of my firebase real-time database: image 1 this is my code: [CODE]
android|firebase|firebase-realtime-database|android-edittext|storing-data
0
2022-09-22T18:29:16.787Z
2,022
9
18
3
10
0
317
64
5
1
true
true
false
false
false
false
zero
73,819,285
RecyclerView only lists first item despite layout changes
<p>I understand this might be a duplicate, but every other solution here didn't work in my case, such as changing the <code>layout_height</code> to <code>wrap_content</code> instead of <code>match_parent</code>.</p> <p>My <code>Firestore</code> database has 2 values stored inside an array, and I want to display both of...
I understand this might be a duplicate, but every other solution here didn't work in my case, such as changing the layout_height to wrap_content instead of match_parent . My Firestore database has 2 values stored inside an array, and I want to display both of them (more in the future) in my RecyclerView, however, it on...
java|android|android-recyclerview
0
2022-09-22T18:36:16.453Z
2,022
9
18
3
37
0
955
57
3
4
true
true
false
false
false
false
zero
73,819,339
where to write the Navigation Component safeArgs dependencies in gradle
<p>I started to learn navigation component library but I cannot figure out where to add the safeargs dependencies. I should add these dependencies in <a href="https://developer.android.com/jetpack/androidx/releases/navigation" rel="nofollow noreferrer">https://developer.android.com/jetpack/androidx/releases/navigation<...
I started to learn navigation component library but I cannot figure out where to add the safeargs dependencies. I should add these dependencies in https://developer.android.com/jetpack/androidx/releases/navigation . I tried many scenarios but none of them worked.here is my app gradle file: [CODE] and here is my project...
android|android-studio|gradle|android-safe-args
0
2022-09-22T18:40:51.273Z
2,022
9
18
3
21
1
340
71
4
2
true
false
false
false
false
false
zero
73,819,469
Android Firebase Messaging calling getToken too soon after starting service?
<p>I think I designed my use of Firebase Messaging in my Android app in a way that recently caused a problem.</p> <p>When a user indicates he wants to receive messages, I then start my FirebaseMessagingService and immediately go get the token in my Activity:</p> <pre><code>Intent i = new Intent(this, myFirebaseMessagin...
I think I designed my use of Firebase Messaging in my Android app in a way that recently caused a problem. When a user indicates he wants to receive messages, I then start my FirebaseMessagingService and immediately go get the token in my Activity: [CODE] A large number of devices recently did not get a token the first...
android|firebase-cloud-messaging|android-service
1
2022-09-22T18:54:15.317Z
2,022
9
18
3
14
0
1,185
76
3
1
true
true
false
false
false
false
low
73,819,509
Android Studio - Generate Signed Bundle or APK - Create New Keystore - Picked up _JAVA_OPTIONS:- Xverify:none
<p>I have written an Android app in Kotlin, using Android Studio. I'm trying to generate a signed Bundle/APK in Android Studio in MacOS, selecting the 'Android App Bundle' option in the first window that appears.</p> <p>I select 'create new key store' in the following window and fill in the appropriate fields, but when...
I have written an Android app in Kotlin, using Android Studio. I'm trying to generate a signed Bundle/APK in Android Studio in MacOS, selecting the 'Android App Bundle' option in the first window that appears. I select 'create new key store' in the following window and fill in the appropriate fields, but when I finish ...
android
0
2022-09-22T18:59:12Z
-1
-1
-1
-1
32
0
557
109
1
2
true
true
false
false
false
false
zero
73,819,582
Recycler View Not scrolled with another view in android studio
<p>Recycler View Not scrolled with another view in android studio. when i scroll with recycler view element , it scrolled well , but when i scrolled from another view . recycler view element not scrolled even if many recycler view elements are remaining.</p> <p>i want to scroll fully from another view too.</p>
Recycler View Not scrolled with another view in android studio. when i scroll with recycler view element , it scrolled well , but when i scrolled from another view . recycler view element not scrolled even if many recycler view elements are remaining. i want to scroll fully from another view too.
android|kotlin|android-recyclerview
0
2022-09-22T19:05:38.813Z
2,022
9
19
3
33
0
297
62
3
0
false
true
false
false
false
false
zero
73,819,638
Unresolved reference error after upgrading gradle
<p>I upgraded Gradle from 4.0 to 5.0. I made this change in the config:</p> <pre><code>build-tools = { 1.0 = { ... Gradle = 5.x; }; </code></pre> <p>After the change I am getting an unresolved reference error in a parent package:</p> <pre><code>&gt; Task :comp...
I upgraded Gradle from 4.0 to 5.0. I made this change in the config: [CODE] After the change I am getting an unresolved reference error in a parent package: [CODE] Any ideas on how I can debug or resolve this issue?
android|gradle
0
2022-09-22T19:13:17.170Z
2,022
9
19
3
18
0
215
49
2
2
true
true
false
false
false
false
zero
73,819,686
Flutter android - notification working in ios testflight does not work when downloaded from app store
<p>I published the &quot;B&amp;B Prosthetic Hair&quot; application that I wrote with Flutter to the app store and google play, androşd receives notifications completely without any problems, it works in testflight and emulator on ios, but when you download it from the app store, the notification does not appear, and th...
I published the &quot;B&B Prosthetic Hair&quot; application that I wrote with Flutter to the app store and google play, androşd receives notifications completely without any problems, it works in testflight and emulator on ios, but when you download it from the app store, the notification does not appear, and there is ...
android|flutter|firebase|firebase-cloud-messaging
0
2022-09-22T19:17:51.040Z
2,022
9
19
3
20
1
392
101
4
0
false
false
false
false
false
false
zero
73,819,690
How to unpack an archive with code in Android Studio Java
<p>I want to make sure that after installing the archive in a specific folder (for example, /storage/emulated/0/App/files), when I click the unpack button, the archive is unpacked to the same folder (/storage/emulated/0/App/files).</p> <p>Help please</p>
I want to make sure that after installing the archive in a specific folder (for example, /storage/emulated/0/App/files), when I click the unpack button, the archive is unpacked to the same folder (/storage/emulated/0/App/files). Help please
android
0
2022-09-22T19:18:23.887Z
2,022
9
19
3
11
0
240
57
1
0
false
true
false
false
false
false
zero
73,819,737
GoogleCredentials: getTokenValue() works on emulator, but not on an actual device
<p>For use on a mobile app, I'm authenticating for a Firebase realtime db. The code for reading the private key and generating an access token works fine on the Android emulator, but generates an error on an actual phone.</p> <p>Here's the code:</p> <pre><code>private String getToken () { try { InputStream ...
For use on a mobile app, I'm authenticating for a Firebase realtime db. The code for reading the private key and generating an access token works fine on the Android emulator, but generates an error on an actual phone. Here's the code: [CODE] When this code is run on the phone, the error generated is: [CODE] The privat...
java|android|firebase|authentication
0
2022-09-22T19:23:00.837Z
2,022
9
19
3
26
0
975
81
4
3
true
true
false
false
false
false
zero
73,819,744
Targeting S+ (version 31 and above) error still after adding android:exported=false
<p>I upgraded the project to targetSDKVersion=&quot;31&quot; and installed that version in VS.</p> <p>I get the following error when trying to run project with a phone with Android 12:</p> <pre><code>Error ADB0010: Mono.AndroidTools.InstallFailedException: Unexpected install output: Failure [INSTALL_PARSE_FAILED_...
I upgraded the project to targetSDKVersion=&quot;31&quot; and installed that version in VS. I get the following error when trying to run project with a phone with Android 12: [CODE] I also tried the instructions from: https://developer.android.com/google/play/requirements/target-sdk One of the main things it mentions i...
android|xamarin.android|intentfilter|android-12|targetsdkversion
0
2022-09-22T19:23:40.073Z
2,022
9
19
3
28
1
456
83
5
3
true
false
false
false
false
false
zero
73,819,833
AES Decryption fails when app is killed and launched again
<p>I'm a beginner working on AES encryption of images in android. So basically, I'm capturing images from the camera intent and encrypting those images and storing them in the file system as .jpg files.</p> <p>The issue is that the entire encryption decryption mechanism seems to work fine on the first launch of the app...
I'm a beginner working on AES encryption of images in android. So basically, I'm capturing images from the camera intent and encrypting those images and storing them in the file system as .jpg files. The issue is that the entire encryption decryption mechanism seems to work fine on the first launch of the application. ...
java|android|android-studio|cryptography|aes
1
2022-09-22T19:34:10.460Z
2,022
9
19
3
33
0
1,161
58
5
3
true
true
false
false
false
false
low
73,819,913
Hide Splashscreen on api versions lower than 31
<p>I am kinda new to java and android studio and I tryed to add a splashscreen to my app, but the problem is that animated drawables - splaschscreens are not supported by older versions of android, so I wanted to hide it for lower versions. I have made an if- condtion to hide it, however it keeps on showing anyways and...
I am kinda new to java and android studio and I tryed to add a splashscreen to my app, but the problem is that animated drawables - splaschscreens are not supported by older versions of android, so I wanted to hide it for lower versions. I have made an if- condtion to hide it, however it keeps on showing anyways and cr...
java|android|android-splashscreen
0
2022-09-22T19:42:32.247Z
2,022
9
19
3
13
0
409
47
3
1
true
true
false
false
false
false
zero
73,819,924
Android app links intent-filter with wildcard subdomain not verified
<p>I have app links in my app for two subdomains.</p> <p>Assetlinks.json is already placed in our host's well-known directory and returns proper json. When I use the following intent-filter, everything works fine.</p> <pre><code>&lt;intent-filter android:autoVerify=&quot;true&quot;&gt; &lt;action androi...
I have app links in my app for two subdomains. Assetlinks.json is already placed in our host's well-known directory and returns proper json. When I use the following intent-filter, everything works fine. [CODE] Verifying IntentFilter. verificationId:27 scheme:&quot;https&quot; hosts:&quot;www.example.com&quot; package:...
android|deep-linking|android-deep-link|android-app-links
0
2022-09-22T19:44:13.600Z
2,022
9
19
3
12
0
906
68
4
2
true
true
false
false
false
false
zero
73,819,947
Retrofit Library is Not importing After Create new project in Android
<p>I create new project and Wants to Use <code>Retrofit</code> library in my Project.</p> <p>I implemented this library for <code>Gson</code> and <code>Retrofit</code> but still I can't import it to my Project.</p> <pre><code>implementation 'com.google.code.gson:gson:2.9.0' implementation 'com.squareup.picasso:picasso:...
I create new project and Wants to Use Retrofit library in my Project. I implemented this library for Gson and Retrofit but still I can't import it to my Project. [CODE] Error to add Retrofit Library
java|android|kotlin|retrofit
0
2022-09-22T19:46:18.413Z
2,022
9
19
3
21
2
198
69
4
1
true
false
false
false
false
false
zero
73,819,948
My app is recognized as a game on Samsung devices
<p>There was no problem in the development phase of my application, but after it was uploaded to the Play Store, I started having problems.</p> <p>When I open the application, Game Booster mode automatically opens on the Samsung Galaxy series.</p> <p>Where should I define that my app is not a game? Play Store, Samsung ...
There was no problem in the development phase of my application, but after it was uploaded to the Play Store, I started having problems. When I open the application, Game Booster mode automatically opens on the Samsung Galaxy series. Where should I define that my app is not a game? Play Store, Samsung Support or code? ...
android|ionic-framework|mobile|samsung-mobile|samsung-galaxy
0
2022-09-22T19:46:26.357Z
2,022
9
19
3
19
0
421
49
5
0
false
true
false
false
false
false
zero
73,819,991
How could I change this dependency for Android custom shadow view?
<p>I was using the following dependency, but I am not going to use it anymore as I have noticed that it is deprecated: <a href="https://github.com/loopeer/shadow" rel="nofollow noreferrer">dependency I was using</a></p> <p>As you can see, the About of this depencency, says the following:</p> <blockquote> <p>Deprecated ...
I was using the following dependency, but I am not going to use it anymore as I have noticed that it is deprecated: dependency I was using As you can see, the About of this depencency, says the following: Deprecated because of the performance not fine. Android custom shadow view, can replace your CardView I am trying t...
java|android|layout|view|android-view
0
2022-09-22T19:51:47.577Z
2,022
9
19
3
14
0
626
66
5
3
true
true
false
false
false
false
zero
73,820,013
Is it possible to only allow SystemUI to access System-Service?
<p>I just added a system-service to my aosp build, using this tutorial: <a href="https://medium.com/android-news/system-service-in-aosp-750007d39555" rel="nofollow noreferrer">https://medium.com/android-news/system-service-in-aosp-750007d39555</a></p> <p>Is it possible only allow access to the &quot;AIDL&quot; or Proxy...
I just added a system-service to my aosp build, using this tutorial: https://medium.com/android-news/system-service-in-aosp-750007d39555 Is it possible only allow access to the &quot;AIDL&quot; or Proxy to a specific process? In my case the SystemUi. Thank you!
java|android|android-source|aidl|system-services
0
2022-09-22T19:54:15.473Z
2,022
9
19
3
15
0
261
63
5
0
false
true
false
false
false
false
zero
73,820,156
Images in cardview not supporting multiple screen sizes in android studio chipmunks
<p>I tried to make app supporting multiple screen size it didn't work..the size of the image looks very large in tablet.</p> <p>So I have created these layouts small,large,X-Large,sw-600dp and sw-700dp..(activity-main). While testing in different mobiles top of the images are slight cut and in tablets the images are la...
I tried to make app supporting multiple screen size it didn't work..the size of the image looks very large in tablet. So I have created these layouts small,large,X-Large,sw-600dp and sw-700dp..(activity-main). While testing in different mobiles top of the images are slight cut and in tablets the images are large (middl...
android|android-recyclerview|cardview|chipmunk
0
2022-09-22T20:09:04.210Z
2,022
9
20
3
19
1
577
83
4
0
false
false
false
false
false
false
zero
73,820,448
how to creat CountDownTimer outside onCreate(Bundle) in android studio java?
<h1>how to creat CountDownTimer outside onCreate(Bundle) in android studio java?</h1> <h2>after I surround object of CountDownTimer class with curly braces ,,the code is working correctly ,, is there any explanation ?</h2> <p>`</p> <pre><code>public class MainActivity extends AppCompatActivity { { new CountDown...
how to creat CountDownTimer outside onCreate(Bundle) in android studio java? after I surround object of CountDownTimer class with curly braces ,,the code is working correctly ,, is there any explanation ? ` [CODE] `
java|android-studio|countdowntimer
-1
2022-09-22T20:40:00.713Z
2,022
9
20
3
18
0
215
76
3
1
true
true
false
false
false
true
negative
73,820,525
The error message is "Only the original thread..." timer schedule
<p>The error message is android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.</p> <p>It appears to me even though I used the corrected code for this problem, but I don't know why</p> <pre><code> private void SparrowTimer() { runOnUiT...
The error message is android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. It appears to me even though I used the corrected code for this problem, but I don't know why [CODE]
android
-1
2022-09-22T20:48:51.593Z
2,022
9
20
3
22
1
255
65
1
1
true
false
false
false
false
true
negative
73,820,576
BottomSheetDialogFragment click to open another BottomSheetDialogFragment android
<p>I have an ChatRoomActivity with a NavHostFragment. Default fragment is ConversatioFragment which can open a MessageChoicesFragment which is a BottomSheetDialogFragment. There we have 3 choices 1) Copy message 2) Read from 3) Delete message.</p> <p>If i click the 2) Read from (where i can see what recipients have...
I have an ChatRoomActivity with a NavHostFragment. Default fragment is ConversatioFragment which can open a MessageChoicesFragment which is a BottomSheetDialogFragment. There we have 3 choices 1) Copy message 2) Read from 3) Delete message. If i click the 2) Read from (where i can see what recipients have read the mess...
android|android-architecture-navigation|bottomsheetdialogfragment|android-navhostfragment
0
2022-09-22T20:54:05.207Z
2,022
9
20
3
26
1
1,078
81
4
4
true
false
false
false
false
false
zero
73,820,632
Flutter set Value to zero when it WOULD fall below zero
<p>I am trying to create a drink tracker where I can track my hydration during the day <a href="https://i.stack.imgur.com/Fe5z8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fe5z8.png" alt="Picture" /></a></p> <p>Therefore I created this app. The problem is: When I press &quot;add&quot; 500ml, then...
I am trying to create a drink tracker where I can track my hydration during the day Therefore I created this app. The problem is: When I press &quot;add&quot; 500ml, then press &quot;remove&quot; 750ml it goes to minus 250ml. I can only manage to set the counter to zero when I press any decrement button again after it ...
android|flutter|dart
0
2022-09-22T21:01:40.293Z
2,022
9
21
3
11
1
438
55
3
1
true
false
false
false
false
false
zero
73,820,653
How to reset file association options in Android Studio's Device File Explorer?
<p>When I first tried to open a file in the Android Device File Explorer, it asked me to choose how to open a file and the encoding, but after choosing to open the file I went back to try to open it another way and I can no longer access this menu for the relevant files:</p> <p><a href="https://i.stack.imgur.com/aiRQ7....
When I first tried to open a file in the Android Device File Explorer, it asked me to choose how to open a file and the encoding, but after choosing to open the file I went back to try to open it another way and I can no longer access this menu for the relevant files: How can I reset the associations and make this menu...
android|android-studio|file-association
0
2022-09-22T21:03:49.643Z
2,022
9
21
3
8
0
655
79
3
0
false
true
false
false
false
false
zero
73,820,866
how can i run AVD it automatically?
<p>I started to learn React Native but I have an error.</p> <p>When I use cd ./project folder and use yarn start(I use EXPO)</p> <p>Console gives me 3 options and I need to click &quot;a&quot; for Android but when I click a I got an error.(Device not found) but If I open project on Android Studio and I select AVD devic...
I started to learn React Native but I have an error. When I use cd ./project folder and use yarn start(I use EXPO) Console gives me 3 options and I need to click &quot;a&quot; for Android but when I click a I got an error.(Device not found) but If I open project on Android Studio and I select AVD device manager in manu...
android|flutter|react-native|sdk
0
2022-09-22T21:28:24.560Z
2,022
9
21
3
16
1
434
35
4
0
false
false
false
false
false
false
zero
73,821,270
Manage External Storage Permission not clickable
<p>So, I am creating an app, with the goal of turning text to pdf, and saving it to the external storage. After running the app with no errors, I encountered a weird bug, the &quot;Manage External Storage Permission&quot; button was not clickable. After reading the stack overflow posts, it seems like I have wrote the p...
So, I am creating an app, with the goal of turning text to pdf, and saving it to the external storage. After running the app with no errors, I encountered a weird bug, the &quot;Manage External Storage Permission&quot; button was not clickable. After reading the stack overflow posts, it seems like I have wrote the prop...
android|kotlin|permissions|android-external-storage
0
2022-09-22T22:30:22.687Z
2,022
9
22
3
23
1
421
48
4
1
true
false
false
false
false
false
zero
73,821,310
Non technical requirement for using google fit
<p>Is there any non technical requirement for using google fit to track steps in an app? Like a specific kind of privacy policy? or some kind of legal register?</p>
Is there any non technical requirement for using google fit to track steps in an app? Like a specific kind of privacy policy? or some kind of legal register?
android|google-fit
0
2022-09-22T22:36:12.423Z
2,022
9
22
3
8
0
157
46
2
0
false
true
false
false
false
false
zero
73,821,335
How To remove unwanted section in kotlin Webview Android Studio
<p>I am converting my wordpress website in to android application using webview in kotlin, and i want to remove(hide) the header of the website in the app version, I have try so many search and i found a way to did it by injecting javascript in the<br /> onpagefinish function, but it didnt work, this is my code with th...
I am converting my wordpress website in to android application using webview in kotlin, and i want to remove(hide) the header of the website in the app version, I have try so many search and i found a way to did it by injecting javascript in the onpagefinish function, but it didnt work, this is my code with the options...
javascript|android|android-studio|kotlin|webview
2
2022-09-22T22:42:25.733Z
2,022
9
22
3
27
0
497
63
5
1
true
true
false
false
false
false
low
73,821,336
How do i get the paste option on my termux platform to work?
<p>[enter image description here][1]</p> <p>This is a screenshot of the problem [1]: <a href="https://i.stack.imgur.com/Is2WV.png" rel="nofollow noreferrer">https://i.stack.imgur.com/Is2WV.png</a></p>
[enter image description here][1] This is a screenshot of the problem [1]: https://i.stack.imgur.com/Is2WV.png
android
0
2022-09-22T22:42:26.943Z
2,022
9
22
3
15
0
110
60
1
0
false
true
false
false
false
false
zero
73,821,446
Android Studio APK Error: Invalid Keystore Format
<p>I am trying to build an app in Flutter but have come across a big issue. In order to enable app check, sign up using Facebook, etc. I need to get my SHA-1 fingerprint. I have tried to get it by running gradlew signingReport in the terminal of Android Studio; however, I get the following error:</p> <p>&quot;failed to...
I am trying to build an app in Flutter but have come across a big issue. In order to enable app check, sign up using Facebook, etc. I need to get my SHA-1 fingerprint. I have tried to get it by running gradlew signingReport in the terminal of Android Studio; however, I get the following error: &quot;failed to read key ...
android|flutter
0
2022-09-22T23:02:36.917Z
2,022
9
23
3
23
1
514
49
2
0
false
false
false
false
false
false
zero
73,821,471
How can an Activity get a result from an ActivityResultContract if there is an third intermediate Activity involved?
<p>I am migrating from the old startActivityForResult(Intent) code to the new Activity Result API (using ActivityResultContract).</p> <p>In the old way of doing things, Activity A can start Activity B, which can in turn start Activity C with</p> <pre><code>intent.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); </code></...
I am migrating from the old startActivityForResult(Intent) code to the new Activity Result API (using ActivityResultContract). In the old way of doing things, Activity A can start Activity B, which can in turn start Activity C with [CODE] which will cause Activity B to be deleted from the back stack and for the result ...
android
0
2022-09-22T23:05:23.060Z
2,022
9
23
3
20
1
564
116
1
1
true
false
false
false
false
false
zero
73,821,485
OnClickListener and OnCompleteListener<AuthResult> apparently not used (AwesomeValidation in Java for Android)
<p>So practicing with AwesomeValidation and Firebase I have tried to make a register for users using this code:</p> <pre><code> btnRegister.setOnClickListener(**new View.OnClickListener()** { @Override public void onClick(View view) { String email = itEmail.getText().toString(); ...
So practicing with AwesomeValidation and Firebase I have tried to make a register for users using this code: [CODE] But it seems that the objects created between ** ** are not used. (If using lambda the registration is not working neither). Any help?
java|android|firebase|firebase-authentication
0
2022-09-22T23:08:37.583Z
2,022
9
23
3
13
0
250
110
4
1
true
true
false
false
false
false
zero
73,821,542
Does FusedLocation ever go beyond GPS and network?
<p>The <a href="https://developers.google.com/location-context/fused-location-provider" rel="nofollow noreferrer">documentation</a> that Google provides for their Fused Location Provider API says that, &quot;The fused location provider manages the underlying location technologies, such as GPS and Wi-Fi, and provides a ...
The documentation that Google provides for their Fused Location Provider API says that, &quot;The fused location provider manages the underlying location technologies, such as GPS and Wi-Fi, and provides a simple API that you can use to specify the required quality of service.&quot; Looking at the source for FusedLocat...
android|location|fusedlocationproviderapi|fusedlocationproviderclient
0
2022-09-22T23:20:42.973Z
2,022
9
23
3
17
0
588
50
4
0
false
true
false
false
false
false
zero
73,821,766
Flutter How to save and show List<Object> to SharedPreferences?
<p>I want to save and read a list of elements called coursesfav.</p> <p>I have the following code where I made the map of the class, but I don't know how to save the elements of the string map inside a List one by one, going through the list and then displaying all the elements in a ListView.</p> <p>This is what I have...
I want to save and read a list of elements called coursesfav. I have the following code where I made the map of the class, but I don't know how to save the elements of the string map inside a List one by one, going through the list and then displaying all the elements in a ListView. This is what I have [CODE] this is h...
android|flutter|dart
0
2022-09-23T00:03:39.183Z
2,022
9
0
4
31
1
336
63
3
2
true
false
false
false
false
false
zero
73,821,928
Why do we have getItemId and getSelectionKey if they do the same thing
<p>Here is the definition of <code>getItemId()</code> when enabling multiselection in a recyclerview:</p> <blockquote> <p>Return the stable ID for the item at position</p> </blockquote> <p>and for <code>getSelectionKey()</code></p> <blockquote> <p>return the selectionkey of an item</p> </blockquote> <p>the <code>select...
Here is the definition of getItemId() when enabling multiselection in a recyclerview: Return the stable ID for the item at position and for getSelectionKey() return the selectionkey of an item the selectionkey is the stable ID, isn't it? Google does not define it or is the definition hidden somewhere?
android|android-recyclerview
0
2022-09-23T00:39:21.130Z
2,022
9
0
4
10
0
302
70
2
0
false
true
false
false
false
false
zero
73,821,931
The instance member 'context' can't be accessed in an initializer. BuildContext Flutter
<p>I'm, trying to make Slider Screen, but it shows me a red line in context. I'm using SDK 2.7.0, I don't know if I need to change the slider. Could you please help me? title: getTranslated(context, 'wel_title1'), Red line: (context).</p> <pre><code>class IntroSliderScreen extends StatefulWidget { @override _Gettin...
I'm, trying to make Slider Screen, but it shows me a red line in context. I'm using SDK 2.7.0, I don't know if I need to change the slider. Could you please help me? title: getTranslated(context, 'wel_title1'), Red line: (context). [CODE]
android|ios|flutter
0
2022-09-23T00:39:30.747Z
2,022
9
0
4
19
0
238
87
3
1
true
true
false
false
false
false
zero
73,821,968
how to not detsroy the fragments opened when switching with bottom navigation buttons
<p>In the belowcode, we have a TrendsFragment and a ProfileFragment as base fragments that will be opened with bottom navigation view. I can open a Blank Fragment and navigate to it from both of these. When I do TrendsFragment-profileFragment-BlankFragment-TrendsFRagment, BlankFragment gets destroyed. I tried a lot of ...
In the belowcode, we have a TrendsFragment and a ProfileFragment as base fragments that will be opened with bottom navigation view. I can open a Blank Fragment and navigate to it from both of these. When I do TrendsFragment-profileFragment-BlankFragment-TrendsFRagment, BlankFragment gets destroyed. I tried a lot of way...
java|android|android-fragments|android-architecture-navigation|fragment-backstack
0
2022-09-23T00:46:26.897Z
2,022
9
0
4
32
1
1,240
85
5
5
true
false
false
false
false
false
zero
73,821,982
Como completar uma variável em java e salvar ela como um todo
<p>Estou desenvolvendo um aplicativo android e preciso que o que for digitado pelo usuario altere apenas uma palavra na linha dessa variavel:</p> <p>exemplo:</p> <p>bomdiamundo</p> <p>bom---mundo</p> <p>onde contém o traço mudaria quando o usuário digitasse</p> <p>usuario digita: noite</p> <p>e a variável muda para bom...
Estou desenvolvendo um aplicativo android e preciso que o que for digitado pelo usuario altere apenas uma palavra na linha dessa variavel: exemplo: bomdiamundo bom---mundo onde contém o traço mudaria quando o usuário digitasse usuario digita: noite e a variável muda para bomnoitemundo Desde já agradeço
java|android
-3
2022-09-23T00:51:03.030Z
2,022
9
0
4
21
0
303
61
2
0
false
true
false
false
false
true
negative
73,822,070
The solution for the picker issue appears loading, how to fix it?
<p><a href="https://i.stack.imgur.com/vzIU4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vzIU4.png" alt="enter image description here" /></a></p> <p>That's my code which was fixed in the previous question, and still the error occurs, the data is not showing just showing loading, how to fix that ?<...
That's my code which was fixed in the previous question, and still the error occurs, the data is not showing just showing loading, how to fix that ? [CODE] Maybe there is another correction for the return part? [CODE] and this is for API , there may be a correction [CODE]
android|react-native|picker
1
2022-09-23T01:13:50.533Z
2,022
9
1
4
35
0
272
65
3
3
true
true
false
false
false
false
low
73,822,082
App status on Play Console is Available but Supported Devices 0
<p>I just trying to publish my android app, now my app status is Available on Play Store, but when I search in play store my app is not found. When I check the release details in the Google Play console, I see devices supported by my app are zero. Any reason why this happened??</p> <p>This is our manifest :</p> <pre><c...
I just trying to publish my android app, now my app status is Available on Play Store, but when I search in play store my app is not found. When I check the release details in the Google Play console, I see devices supported by my app are zero. Any reason why this happened?? This is our manifest : [CODE] I tried lookin...
java|android|android-studio
1
2022-09-23T01:17:13.183Z
2,022
9
1
4
20
1
611
63
3
1
true
false
false
false
false
false
low
73,822,124
Why the compose canvas draw things only show at preview function but not display on the running screen
<h3>Descript</h3> <p>I want to draw a line at the compose with the compose canvas inside a compose widget,but it's just show at the preview! If just copy the canvas part code,it can Correct display!</p> <h3>The compose code</h3> <pre><code>Card( elevation = 6.dp, shape = RoundedCornerShape(15.dp), ...
Descript I want to draw a line at the compose with the compose canvas inside a compose widget,but it's just show at the preview! If just copy the canvas part code,it can Correct display! The compose code [CODE] SceenShot
android|android-jetpack-compose|android-canvas|android-jetpack-compose-canvas
0
2022-09-23T01:25:13.040Z
2,022
9
1
4
23
1
220
102
4
1
true
false
false
false
false
false
zero
73,822,130
How do I remove app from 3rd party website?
<p>I noticed my android app apk is appearing on <a href="https://apkpremier.com/" rel="nofollow noreferrer">https://apkpremier.com/</a></p> <p>Is there anyway to prevent the app from being listed there?</p>
I noticed my android app apk is appearing on https://apkpremier.com/ Is there anyway to prevent the app from being listed there?
android|apk
0
2022-09-23T01:26:50.273Z
2,022
9
1
4
15
1
128
43
2
0
false
false
false
false
false
false
zero
73,822,184
Send a notification without a foreground service
<p>I have an app that does something similar to the classic Clock alarm app.</p> <p>I can set alarm and save them (to Room). I know that I can use WorkManager to start an alarm (which just send a notification) at the time (calculating 24h from the time set on the alarm).</p> <p>However, I have difficulty for setting an...
I have an app that does something similar to the classic Clock alarm app. I can set alarm and save them (to Room). I know that I can use WorkManager to start an alarm (which just send a notification) at the time (calculating 24h from the time set on the alarm). However, I have difficulty for setting an alarm (with noti...
android|android-service|android-notifications|alarmmanager|foreground-service
0
2022-09-23T01:38:32.277Z
2,022
9
1
4
22
0
381
48
5
0
false
true
false
false
false
false
zero
73,822,225
Why my deeplink don't work anymore when I have more than one host?
<p>When I have my deeplink as below defined in AndroidManifest.xml as below</p> <pre><code> &lt;intent-filter &gt; &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt; &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt; ...
When I have my deeplink as below defined in AndroidManifest.xml as below [CODE] I can perform a deeplink using adb shell am start -d my-app://example-host However, after I add another host as below, [CODE] The result is the adb shell am start -d my-app://example-host don't work anymore the adb shell am start -d my-app:...
android|android-intent|android-manifest
0
2022-09-23T01:47:30Z
-1
-1
-1
-1
16
1
499
66
3
2
true
false
false
false
false
false
zero
73,822,283
Can't figure out why I cannot publish Android App From Google Play Console
<h1>The Problem</h1> <p>I cannot figure out why I cannot publish ethier to Google Play or create a closed test. Whenever I try to create a release or publish I get the message your app cannot be published yet. See below. <a href="https://i.stack.imgur.com/lohlR.png" rel="nofollow noreferrer"><img src="https://i.stack.i...
The Problem I cannot figure out why I cannot publish ethier to Google Play or create a closed test. Whenever I try to create a release or publish I get the message your app cannot be published yet. See below. Additional Context There are no steps on the dashboard for me to complete and there is no indication on what I ...
android|google-play|google-play-console
0
2022-09-23T02:00:08.680Z
2,022
9
2
4
21
0
592
74
3
0
false
true
false
false
false
false
zero
73,822,300
Flutter audio player music player time is not showed
<pre><code>import 'package:flutter/material.dart'; import 'package:audioplayers/audioplayers.dart'; import 'dart:ui'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return const Materi...
[CODE] This is flutter music player application using audioplayer. I want to show the time it played and total music time length for example like below. 1.23 ----- slider ----- 3.14 Only when I click the play button, it shows the total music time length. Before clicking the button, it shows 0.0. But I want it to show t...
android|flutter|dart|flutter-dependencies|audio-player
1
2022-09-23T02:03:02.127Z
2,022
9
2
4
18
0
398
52
5
1
true
true
false
false
false
false
low
73,822,360
Android - Create an AutoCompleteTextView Programmatically (no xml at all)
<p>I would like to add an AutoCompleteTextView Programmatically for an app, without referencing any items in a XML layout.</p> <p>This is what I would like to achieve:</p> <p><a href="https://i.stack.imgur.com/HhNQK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HhNQK.png" alt="enter image descripti...
I would like to add an AutoCompleteTextView Programmatically for an app, without referencing any items in a XML layout. This is what I would like to achieve: The XML code is the following: [CODE] ------------- UPDATE --------------------- So this is the state that i reached... its almost there, I just can't get the out...
java|android|android-textinputlayout
1
2022-09-23T02:16:40.410Z
2,022
9
2
4
42
1
451
73
3
2
true
false
false
false
false
false
low
73,822,616
I have put Firebase Analytics into my Android app, but only user properties are not being measured
<p>As the title says, I have the Firebase SDK and Firebase Analytics in my Android app, but the user properties are not being measured.</p> <p>I have the SDK installed and am able to measure screen_view events, logging events, and event parameters with no problem, but only user properties are not being measured. Only u...
As the title says, I have the Firebase SDK and Firebase Analytics in my Android app, but the user properties are not being measured. I have the SDK installed and am able to measure screen_view events, logging events, and event parameters with no problem, but only user properties are not being measured. Only user proper...
android|firebase|firebase-analytics
1
2022-09-23T03:13:20.813Z
2,022
9
3
4
14
0
406
98
3
0
false
true
false
false
false
false
low
73,822,625
How can i share the wifi password from android 5
<p>i have connect my wifi with <strong>WPS&amp;WPA tester</strong>. but i couldn't able to share the password from the <strong>android 5.1</strong></p>
i have connect my wifi with WPS&WPA tester . but i couldn't able to share the password from the android 5.1
android|mobile
0
2022-09-23T03:14:16.487Z
2,022
9
3
4
17
0
107
48
2
0
false
true
false
false
false
false
zero
73,822,635
Flutter facebook share dialog can't open on android 10 or high version device
<p>i use social_share_plugin to share link on facebook, when i test the app on android 8 device, it's run normal. But when i test on android 10 device, that can't open facebook share dialog.</p> <p>my AndroidManifest.xml</p> <pre><code>&lt;queries&gt; &lt;provider android:authorities=&quot;com.facebook.katana.pro...
i use social_share_plugin to share link on facebook, when i test the app on android 8 device, it's run normal. But when i test on android 10 device, that can't open facebook share dialog. my AndroidManifest.xml [CODE] [CODE]
android|flutter|facebook
1
2022-09-23T03:15:38.737Z
2,022
9
3
4
17
0
224
77
3
2
true
true
false
false
false
false
low
73,822,762
Android - Jacoco Coverage Report contains coverage for Unit Test Cases, but for instrument test cases, coverage is 0%
<p>I am trying to generate a global coverage report for my android project, which comprises of both Unit Test Cases and Instrumentation Test Cases. The report contains coverage for Unit Test Cases only, but for Instrumentation Test Cases, it is 0%. Please find below the code and gradle commands.</p> <pre><code>task jac...
I am trying to generate a global coverage report for my android project, which comprises of both Unit Test Cases and Instrumentation Test Cases. The report contains coverage for Unit Test Cases only, but for Instrumentation Test Cases, it is 0%. Please find below the code and gradle commands. [CODE] [CODE] Below is the...
android|unit-testing|kotlin|code-coverage|jacoco
0
2022-09-23T03:42:19.323Z
2,022
9
3
4
19
0
475
117
5
3
true
true
false
false
false
false
zero
73,822,859
Partial Chain When Verifying Certificate
<p>I am using a certificate to sign a jar file. Jarsigner is able to add the signature and it verifies without warning. This is done on a Windows machine. However, on Android, when I try to verify the certificate used to sign the jar file, it reports that only a partial chain is found. The certificate used was issu...
I am using a certificate to sign a jar file. Jarsigner is able to add the signature and it verifies without warning. This is done on a Windows machine. However, on Android, when I try to verify the certificate used to sign the jar file, it reports that only a partial chain is found. The certificate used was issued for ...
xamarin|certificate|keystore|x509|android-keystore
0
2022-09-23T04:02:23.500Z
2,022
9
4
4
11
0
1,081
40
5
0
false
true
false
false
false
false
zero
73,823,667
How do I open the Task List in Android Studio?
<p>How do I open the Task List in Android Studio? Is it the same thing as the Gradle Window? I am trying to run an APP in debug mode and direct the UI to my physical device which is an Android Cell phone.</p>
How do I open the Task List in Android Studio? Is it the same thing as the Gradle Window? I am trying to run an APP in debug mode and direct the UI to my physical device which is an Android Cell phone.
android-studio
0
2022-09-23T04:23:16.547Z
2,022
9
4
4
20
0
201
46
1
0
false
true
false
false
false
false
zero
73,822,992
How to make text spannable in textview in android
<p>I have one textview where i am displaying below String .</p> <p>&quot;I agree to receive recurring automated marketing text messages (e.g. cart reminders) at the phone number provided. Consent is not a condition to purchase. Msg &amp; data rates may apply. Msg frequency varies. Reply HELP for help and STOP to cance...
I have one textview where i am displaying below String . &quot;I agree to receive recurring automated marketing text messages (e.g. cart reminders) at the phone number provided. Consent is not a condition to purchase. Msg & data rates may apply. Msg frequency varies. Reply HELP for help and STOP to cancel. View our Ter...
android
1
2022-09-23T04:28:55.767Z
2,022
9
4
4
30
1
789
49
1
1
true
false
false
false
false
false
low
73,823,020
The signature is missing from the zip file. Upload a new zip file containing a valid signature. (Google Play Console)
<p>So apparently I'm trying to upload a new release for an existing app on google play console. I lost my jks file but I have requested for a new one and I even got them too. Now when I try to generate a signed bundle from android, it generates successfully but when I upload that bundle as a new release, the play conso...
So apparently I'm trying to upload a new release for an existing app on google play console. I lost my jks file but I have requested for a new one and I even got them too. Now when I try to generate a signed bundle from android, it generates successfully but when I upload that bundle as a new release, the play console ...
android|google-play-console|android-app-bundle
2
2022-09-23T04:33:41.017Z
2,022
9
4
4
32
1
1,026
117
3
0
false
false
false
false
false
false
low
73,823,023
Get the index number of ArrayList Kotlin
<p>I wanted to know the index number of an array so tried as shown below.</p> <pre><code>val countryCodeList = arrayListOf(*resources.getStringArray(R.array.countryCodes)) val countryIndex = countryCodeList.indexOf(&quot;+1&quot;) </code></pre> <p>And it only returns true(0) &amp; false(-1). If string <code>&quot;+1&qu...
I wanted to know the index number of an array so tried as shown below. [CODE] And it only returns true(0) & false(-1). If string &quot;+1&quot; locates on the 4th row of the list, I want it to return 3 for the result. How can I receive the index number of an arrayList? Log [CODE]
android|kotlin|arraylist
1
2022-09-23T04:34:22.603Z
2,022
9
4
4
43
3
280
40
3
2
true
false
false
false
false
false
low
73,823,043
Fragment is updating but also having its previous view in stack
<p>I am using a fragment inside an activity. I am using the interfrace from the activity to handle the visibility of a view (specifically a linear progress indicator). I am able to handle it. The fragment view is updated but the previous state of the fragment is still visible in the background.</p> <p>Below is the code...
I am using a fragment inside an activity. I am using the interfrace from the activity to handle the visibility of a view (specifically a linear progress indicator). I am able to handle it. The fragment view is updated but the previous state of the fragment is still visible in the background. Below is the code which is ...
android|android-fragments
1
2022-09-23T04:38:11.117Z
2,022
9
4
4
24
1
626
63
2
1
true
false
false
false
false
false
low
73,823,051
Jetpack compose snackbar action click is not working
<ul> <li>I have displayed a snackbar with specific action in Jetpack compose but click listener on that action is not working.</li> </ul> <p>Here is my code:</p> <pre><code>@Composable fun MySnackBar() { Snackbar( modifier = Modifier.padding(4.dp), action = { TextButton(c...
I have displayed a snackbar with specific action in Jetpack compose but click listener on that action is not working. Here is my code: [CODE]
android|android-jetpack-compose|android-snackbar
1
2022-09-23T04:39:35.307Z
2,022
9
4
4
36
2
141
52
3
1
true
false
false
false
false
false
low
73,823,069
Fragments handling of TextView in an Android app
<p>I am having a hard time dealing with fragments in an Android app of mine. Something seems weird and a look by somebody else might shed some light.</p> <p>Here is the XML for the fragment:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;FrameLayout xmlns:android=&quot;http://schema...
I am having a hard time dealing with fragments in an Android app of mine. Something seems weird and a look by somebody else might shed some light. Here is the XML for the fragment: [CODE] Here is some Kotlin code I have somewhere in the app (namely in the onCreateView() method of the fragment): [CODE] And finally this ...
android|kotlin|android-fragments
1
2022-09-23T04:42:49.737Z
2,022
9
4
4
37
3
800
48
3
3
true
false
false
false
false
false
low
73,823,080
Android Kotlin SingleLiveEvent With Flow
<p>I am using a livedata on viewmodel and flow on repository and data source. when I tried to connect them to each other and get a data stream as below that error occurred</p> <p><strong>Error</strong></p> <pre><code>java.lang.ClassCastException: androidx.lifecycle.CoroutineLiveData cannot be cast to com.versec.verseck...
I am using a livedata on viewmodel and flow on repository and data source. when I tried to connect them to each other and get a data stream as below that error occurred Error [CODE] ViewModel [CODE] Fragment [CODE] SingleLiveEvent [CODE] what is the proper way to use both??
android|kotlin|kotlin-coroutines|android-livedata
0
2022-09-23T04:44:46.203Z
2,022
9
4
4
48
1
274
40
4
4
true
false
false
false
false
false
zero
73,823,098
I still have a lot of space left in my phone memory & storage But on some application its showing error "Your phone memory is Low"
<p><a href="https://i.stack.imgur.com/9Jlk1.jpg" rel="nofollow noreferrer">Your phone's memory is low - error message on my android application using camera</a></p> <p>&quot;<strong>Your phone's memory is low</strong>&quot; notice appears on my Android application (java), which uses a custom camera, at random. Is there...
Your phone's memory is low - error message on my android application using camera &quot; Your phone's memory is low &quot; notice appears on my Android application (java), which uses a custom camera, at random. Is there a way for Android to catch this issue.I need to handle this without user interaction within my progr...
java|android|memory
0
2022-09-23T04:48:34.900Z
2,022
9
4
4
28
0
474
130
3
0
false
true
false
false
false
false
zero
73,823,302
Android SDK. audioManager. setStreamVolume currunt int value
<p>I already used below code for sound mute in my audio player.</p> <p><code>((Activity)mActivity).getAudioManager().setStreamVolume(AudioManager.STREAM_MUSIC, 0, 0);</code></p> <p>Now I need to know how to set unmute and set before volume level.</p>
I already used below code for sound mute in my audio player. ((Activity)mActivity).getAudioManager().setStreamVolume(AudioManager.STREAM_MUSIC, 0, 0); Now I need to know how to set unmute and set before volume level.
android|playsound
1
2022-09-23T05:20:16.613Z
2,022
9
5
4
16
1
216
60
2
0
false
false
false
false
false
false
low
73,823,486
Draw circle with dynamic divided process bar in a circle in android
<p><a href="https://drive.google.com/file/d/14rdpJeX3dKdJ8dmFLHKmsdJtuTlQfust/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/14rdpJeX3dKdJ8dmFLHKmsdJtuTlQfust/view?usp=sharing</a></p> <p>According to video link. kindly give solution in kotlin or java.</p>
https://drive.google.com/file/d/14rdpJeX3dKdJ8dmFLHKmsdJtuTlQfust/view?usp=sharing According to video link. kindly give solution in kotlin or java.
java|android|kotlin
-2
2022-09-23T05:47:55.577Z
2,022
9
5
4
21
0
147
67
3
0
false
true
false
false
false
true
negative
73,823,489
Can't save data in RTDB
<p>With this code I'm supposed to be able to retrieve a value directly from a RTDB (realtime database) and show it in the screen of my app, but nothing happens, app compiles fine. I hope you could help me.</p> <p><a href="https://i.stack.imgur.com/K2hGu.jpg" rel="nofollow noreferrer">On the image lays the simple struc...
With this code I'm supposed to be able to retrieve a value directly from a RTDB (realtime database) and show it in the screen of my app, but nothing happens, app compiles fine. I hope you could help me. On the image lays the simple structure of my RTDB [CODE]
java|android|firebase
0
2022-09-23T05:48:34.770Z
2,022
9
5
4
23
0
259
23
3
1
true
true
false
false
false
false
zero
73,823,566
Make Flutter AppBar's Color Consistent
<p>The screenshot of my flutter app shows the appbar to be in two distinct shades of the same colors. There's a darker grey and then there's a lighter grey. I want it to be in a single color, i.e., completely light grey or completely dark grey.</p> <p><a href="https://i.stack.imgur.com/WyLc3.png" rel="nofollow noreferr...
The screenshot of my flutter app shows the appbar to be in two distinct shades of the same colors. There's a darker grey and then there's a lighter grey. I want it to be in a single color, i.e., completely light grey or completely dark grey.
android|flutter|user-interface
0
2022-09-23T06:02:11.670Z
2,022
9
6
4
29
1
241
38
3
0
false
false
false
false
false
false
zero
73,823,624
Android Studio Customization
<p>Android Studio is my preferred IDE but I've been wanting to customize to my preferences. Two things that I haven't been able to change to my desire is the navigation bar (where there is file, edit, view, navigate,... menus) background color and the sidebar (where the project files are listed) background color in the...
Android Studio is my preferred IDE but I've been wanting to customize to my preferences. Two things that I haven't been able to change to my desire is the navigation bar (where there is file, edit, view, navigate,... menus) background color and the sidebar (where the project files are listed) background color in the Dr...
android-studio|ide
0
2022-09-23T06:08:34.247Z
2,022
9
6
4
11
0
387
28
2
0
false
true
false
false
false
false
zero
73,823,900
Pass Navigation fragments arguments to View Model class
<p>I am new to android app development. Please help. I want to get navigation fragment arguments in my view model class directly. I am using data-binding.</p> <p>Here is my nav fragments argument</p> <pre><code>&lt;fragment&gt; ...... .. &lt;action android:id=&quot;@+id/action_u...
I am new to android app development. Please help. I want to get navigation fragment arguments in my view model class directly. I am using data-binding. Here is my nav fragments argument [CODE] When I click on my recycler view item I pass the argument object with navigation action. So I set on click listener in adapters...
android|kotlin|android-fragments|android-databinding|android-viewmodel
1
2022-09-23T06:45:19.157Z
2,022
9
6
4
37
3
848
55
5
4
true
false
false
false
false
false
low
73,823,993
toLocaleDateString on Android returns wrong format
<p>I use toLocaleDateString to get different date formats for different countries. But on Android then I pass, for example, 'fr-FR' or 'en-GB', it returns 'mm-dd-yyy' format instead of 'dd-mm-yyyy'. On iOS and desktop it works correct.</p> <p>Here is my code:</p> <p><div class="snippet" data-lang="js" data-hide="false"...
I use toLocaleDateString to get different date formats for different countries. But on Android then I pass, for example, 'fr-FR' or 'en-GB', it returns 'mm-dd-yyy' format instead of 'dd-mm-yyyy'. On iOS and desktop it works correct. Here is my code: [CODE]
javascript|android|reactjs|date|format
0
2022-09-23T06:55:23.817Z
2,022
9
6
4
29
0
256
50
5
1
true
true
false
false
false
false
zero
73,824,055
how to add DiffUtil Item callback if we have double adapter
<p>please help guys me to add ListAdapter Diffutil java code in my project because of double adapter i don't know how to deal with it</p> <p><a href="https://github.com/Orgdevelopers/double_adapter_recycler_example" rel="nofollow noreferrer">project GitHub url</a></p>
please help guys me to add ListAdapter Diffutil java code in my project because of double adapter i don't know how to deal with it project GitHub url
android|android-recyclerview|android-adapter|android-diffutils
-1
2022-09-23T07:01:33.827Z
2,022
9
7
4
29
0
149
59
4
0
false
true
false
false
false
true
negative
73,824,093
How to add Dart FileHeader with Android Studio
<p>I am trying to add file header in android studio with dart, able to add in java but not in the dart file. this is what i have done</p> <p><a href="https://i.stack.imgur.com/s6dWE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s6dWE.png" alt="for Dartfile" /></a></p> <p><a href="https://i.stack.im...
I am trying to add file header in android studio with dart, able to add in java but not in the dart file. this is what i have done
android|flutter|android-studio|dart
0
2022-09-23T07:05:41.697Z
2,022
9
7
4
19
1
130
46
4
0
false
false
false
false
false
false
zero
73,824,107
How to properly set up a development workflow for my Firebase and Flutter mobile app
<h1>The short</h1> <p>I can't figure out how to use an environment variable indicating dev or prod environment to automatically choose which firebase project to connect to with my Flutter mobile app.</p> <h1>The long</h1> <p>I am a newbie developer trying to develop an app with Flutter and Firebase's storage service. I...
The short I can't figure out how to use an environment variable indicating dev or prod environment to automatically choose which firebase project to connect to with my Flutter mobile app. The long I am a newbie developer trying to develop an app with Flutter and Firebase's storage service. I am currently trying to set ...
android|ios|flutter|firebase
0
2022-09-23T07:06:38.277Z
2,022
9
7
4
25
0
4,505
84
4
0
false
true
false
false
false
false
zero
73,824,343
How to add a path to project ':app' (How to add a folder in Android view? )? Android Studio
<p>I am testing <strong>ExoPlayer</strong> and decided to create another folder as a backup folder by copy and pasting one of the project folders. It is visible in <strong>Project view</strong> but not in <strong>Android (app) view</strong>.</p> <p><a href="https://i.stack.imgur.com/VMK52.png" rel="nofollow noreferrer"...
I am testing ExoPlayer and decided to create another folder as a backup folder by copy and pasting one of the project folders. It is visible in Project view but not in Android (app) view . Project View , Android View . If I try to ignore it and continue I get this error: [CODE] My research led to: Android view allows y...
android-studio
0
2022-09-23T07:29:42.123Z
2,022
9
7
4
14
0
478
91
1
1
true
true
false
false
false
false
zero
73,824,383
duplicate item in recycleview
<p>I am use recycle view to show a list of item from room database. the recycle view is reside in a fragment, when I navigate to fragment for the first time the items appear duplicated twice, but when I click in a button inside item, all items appear at once as desired. this is my adapter this is my adapter.</p> <pre><...
I am use recycle view to show a list of item from room database. the recycle view is reside in a fragment, when I navigate to fragment for the first time the items appear duplicated twice, but when I click in a button inside item, all items appear at once as desired. this is my adapter this is my adapter. [CODE]
java|android
0
2022-09-23T07:33:45.693Z
2,022
9
7
4
29
0
313
29
2
1
true
true
false
false
false
false
zero
73,824,420
Loading indicator does not hide if api failed to retrieve data
<p>I want to show a loading indicator at the beginning of the first api call when list of items is being fetched from the server. Everything is okay if data is fetched successfully. That means the loading indicator got invisible if data loaded successfully. The code is given bellow.</p> <p>must use this code in view mo...
I want to show a loading indicator at the beginning of the first api call when list of items is being fetched from the server. Everything is okay if data is fetched successfully. That means the loading indicator got invisible if data loaded successfully. The code is given bellow. must use this code in view model [CODE]...
android|kotlin|mobile
0
2022-09-23T07:36:08.143Z
2,022
9
7
4
17
0
338
62
3
2
true
true
false
false
false
false
zero
73,824,429
Add AAR to Android.mk and Android.bp?
<p>I want to include Tensorflow-Lite and Tensorflow_lite-api AAR files to my Android.mk ?</p> <p>can anyone guide me, how to include these two files to Android.mk and Android.bp files?</p>
I want to include Tensorflow-Lite and Tensorflow_lite-api AAR files to my Android.mk ? can anyone guide me, how to include these two files to Android.mk and Android.bp files?
android|android-ndk|tensorflow-lite|android.mk|android-soong
0
2022-09-23T07:37:32.047Z
2,022
9
7
4
12
0
174
37
5
0
false
true
false
false
false
false
zero
73,824,453
How to Mock Android PackageManager for Espresso Test?
<p>I have the following code:</p> <pre><code>fun someFunctionInsideActivity() { val intent = try { packageManager.getLaunchIntentForPackage(&quot;some.app.id&quot;) } catch (e: Exception) { Intent( Intent.ACTION_VIEW, Uri.parse(webSiteUrl) ) } startActivit...
I have the following code: [CODE] I want to write Espresso test for both scenario. I was wondering if its possible to Mock the return of packageManager.getLaunchIntentForPackage(...) so that I could test both scenario in test. Any ideas? Any other way of testing this would be appreciated. Thanks in advance.
android|android-espresso
0
2022-09-23T07:40:11.820Z
2,022
9
7
4
11
0
308
53
2
1
true
true
false
false
false
false
zero
73,824,492
Execution failed for task ':global-core:compileSiteDebugJavaWithJavac'
<p>I am facing one issue, after incrementing targetSdkVersion &amp; compileSdkVersion to 31, I started facing an issue</p> <p><a href="https://i.stack.imgur.com/jLSjD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jLSjD.png" alt="enter image description here" /></a></p> <p>Currently using Java 8 in ...
I am facing one issue, after incrementing targetSdkVersion & compileSdkVersion to 31, I started facing an issue Currently using Java 8 in the code, Could anyone help me how can i resolve it. Thanks in advance.
java|android|gradle
0
2022-09-23T07:44:08.120Z
2,022
9
7
4
17
0
209
70
3
0
false
true
false
false
false
false
zero
73,824,620
react-native-bootsplash windowSplashScreenBackground not working Android 12
<p>After spending a few days on this issue, I'm asking for your help. I upgraded my project to react-native 0.69.5, and react-native-bootsplash 4.3.2.</p> <p>I'm trying to customize the splash screen with an icon and a background color, but only the icon shows up.</p> <p>Here is my styles.xml file:</p> <pre><code>&lt;r...
After spending a few days on this issue, I'm asking for your help. I upgraded my project to react-native 0.69.5, and react-native-bootsplash 4.3.2. I'm trying to customize the splash screen with an icon and a background color, but only the icon shows up. Here is my styles.xml file: [CODE] My colors.xml looks like this:...
android|react-native|android-12|android-splashscreen
1
2022-09-23T07:55:47.257Z
2,022
9
7
4
12
1
656
75
4
4
true
false
false
false
false
false
low
73,824,650
Can ACTION_OPEN_DOCUMENT resolve my problem in Android 11 open failed: EACCES (Permission denied)
<p>Im having a trouble in my project when i click the camera the app crashes in android studio.</p> <p>Note : my app denied in google play because i use MANAGE_EXTERNAL_STORAGE, so im finding a different approach in my project, can someone help me?</p> <p>Here is my code:</p> <p>private fun getPictureFile(): File {</p>...
Im having a trouble in my project when i click the camera the app crashes in android studio. Note : my app denied in google play because i use MANAGE_EXTERNAL_STORAGE, so im finding a different approach in my project, can someone help me? Here is my code: private fun getPictureFile(): File { [CODE] and when i call the ...
android|android-studio|kotlin|android-11
0
2022-09-23T07:58:50.910Z
2,022
9
7
4
23
0
388
97
4
2
true
true
false
false
false
false
zero
73,824,693
Recommended documents folder for storage of permanent app data portable to all Android smartphones?
<p>We are forced to implement SAF as an update to the app is rejected by Google Play. It's a terrible user and developer experience especially if you already have an app in field for years and need to support old smartphones as well.</p> <p>We need to support min API 24.</p> <p><code>minSdkVersion 24</code></p> <p><str...
We are forced to implement SAF as an update to the app is rejected by Google Play. It's a terrible user and developer experience especially if you already have an app in field for years and need to support old smartphones as well. We need to support min API 24. minSdkVersion 24 Aim: I want the user of the app to select...
android|deprecated|android-external-storage|saf
0
2022-09-23T08:02:49.213Z
2,022
9
8
4
19
1
1,894
99
4
3
true
false
false
false
false
false
zero