id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,309,224 | Flutter speech_to_text not listening on device | <p>I'm building a flutter voice to text app and using the <strong>speech_to_text: ^5.5.0</strong> plugin, but when I run the code on the android emulator I get the error:</p>
<p><code>onError: SpeechRecognitionError msg: error_speech_timeout, permanent: true</code></p>
<p>I have made the changes to the AndroidManifest ... | I'm building a flutter voice to text app and using the speech_to_text: ^5.5.0 plugin, but when I run the code on the android emulator I get the error: onError: SpeechRecognitionError msg: error_speech_timeout, permanent: true I have made the changes to the AndroidManifest file according to the documentation (API 32). C... | android|flutter|dart | 0 | 2022-05-19T18:04:55.137Z | 2,022 | 5 | 18 | 3 | 26 | 0 | 429 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
72,309,238 | Androind linechart displaying X amount of values per Range | <p>My questions is that I would like to display X amount of values per range so lets say I have range of 1000 values and I would like to display only 100 of them so It would make some sort of averages between them and display them is that possible ?</p> | My questions is that I would like to display X amount of values per range so lets say I have range of 1000 values and I would like to display only 100 of them so It would make some sort of averages between them and display them is that possible ? | android|charts|linechart | 0 | 2022-05-19T18:06:06.017Z | 2,022 | 5 | 18 | 3 | 7 | 0 | 246 | 58 | 3 | 0 | false | true | false | false | false | false | zero |
72,309,249 | Generate different artifactId when publish library in android | <p>Hey I am publish library in kotlin multiplatform. I used this command <code>./gradlew clean assemble publish</code> my three package is generated. I given the name <code>var libraryArtifactId = "kmm-module"</code> but I don't understand why other name is coming from.</p>
<p>1st package name is <code>com.vi... | Hey I am publish library in kotlin multiplatform. I used this command ./gradlew clean assemble publish my three package is generated. I given the name var libraryArtifactId = "kmm-module" but I don't understand why other name is coming from. 1st package name is com.vivek.kmm-module 2nd package name is com.viv... | android|gradle|android-gradle-plugin|kotlin-multiplatform|kotlin-multiplatform-mobile | 0 | 2022-05-19T18:07:18.273Z | 2,022 | 5 | 18 | 3 | 69 | 1 | 620 | 61 | 5 | 1 | true | false | false | false | false | false | zero |
72,309,266 | How to resize Image in ImageView without affecting the TableRow android | <p>I am trying change image size in TableRow, always when i use padding or margin
the edited column row always changes size compared to the others rows. I'm without ideas
trying LinearLayout and ConstraintLayout and always column row change size.</p>
<p><img src="https://i.imgur.com/hRJ5UPi.png" alt="result" /></p>
<p>... | I am trying change image size in TableRow, always when i use padding or margin the edited column row always changes size compared to the others rows. I'm without ideas trying LinearLayout and ConstraintLayout and always column row change size. My code: [CODE] | android | 0 | 2022-05-19T18:08:28.087Z | 2,022 | 5 | 18 | 3 | 25 | 0 | 259 | 71 | 1 | 1 | true | true | false | false | false | false | zero |
72,309,290 | Are Android Package Names Copyrighted? | <p>I am currently making an android app but I noticed that the domain in my package name is already taken, like if my package name is <code>com.mycompany.myapp</code> and the domain <code>mycompany.com</code> is taken, is it ok to leave it like that or will I get into problems for it?</p> | I am currently making an android app but I noticed that the domain in my package name is already taken, like if my package name is com.mycompany.myapp and the domain mycompany.com is taken, is it ok to leave it like that or will I get into problems for it? | android|package-name | 0 | 2022-05-19T18:10:43.300Z | 2,022 | 5 | 18 | 3 | 24 | 0 | 256 | 38 | 2 | 0 | false | true | false | false | false | false | zero |
72,309,344 | How to display a notification on the lock screen on Android | <p>After looking at the official document of the Android studio, I created a program that alerts me according to the situation I wanted.(Actually, I just copied and pasted it.)</p>
<p>However, notifications only appear in the top bar now.
I'd like to have a notification window appear on the lock screen where my phone i... | After looking at the official document of the Android studio, I created a program that alerts me according to the situation I wanted.(Actually, I just copied and pasted it.) However, notifications only appear in the top bar now. I'd like to have a notification window appear on the lock screen where my phone is turned o... | java|android | 0 | 2022-05-19T18:14:36.090Z | 2,022 | 5 | 18 | 3 | 43 | 0 | 575 | 59 | 2 | 1 | true | true | false | false | false | false | zero |
72,309,354 | How to implement both setOnClickListener and onTouchListener to a single CardView? | <p>I'm a novice and this is my first Android app. I'm building a card game where the player should be able to tap to move a card (onClick) and also drag a card to a new location (onTouch).</p>
<p>I'm using CardViews for the cards.</p>
<p>I've built the setOnClickListener with no issues. I'm not having the same luck wit... | I'm a novice and this is my first Android app. I'm building a card game where the player should be able to tap to move a card (onClick) and also drag a card to a new location (onTouch). I'm using CardViews for the cards. I've built the setOnClickListener with no issues. I'm not having the same luck with the onTouchList... | android|android-custom-view|ontouchlistener|ontouch | 0 | 2022-05-19T18:15:43.100Z | 2,022 | 5 | 18 | 3 | 29 | 0 | 1,871 | 82 | 4 | 3 | true | true | false | false | false | false | zero |
72,309,414 | RecyclerView items to different coordinates on Google Map | <p>I connected <code>RecyclerView</code> with <code>MapFragment</code> (click on any <code>RecyclerView</code> item opens a <code>GoogleMap</code>). Data displayed in <code>RecyclerView</code> is coming from <code>Firebase</code>.</p>
<p>Currently map displays multiple markers that represent different locations (hardco... | I connected RecyclerView with MapFragment (click on any RecyclerView item opens a GoogleMap ). Data displayed in RecyclerView is coming from Firebase . Currently map displays multiple markers that represent different locations (hardcoded lat and lng values inside onMapReady() in MapActivity ). I want a map to zoom to s... | java|android|firebase|google-maps | 0 | 2022-05-19T18:22:07.793Z | 2,022 | 5 | 18 | 3 | 27 | 0 | 803 | 57 | 4 | 2 | true | true | false | false | false | false | zero |
72,309,423 | Kotlin collections for SQLDelight file are not importing (KMM) | <p>In my KMM project I'm using SQLdelight. My sample table has a List.
Table:</p>
<pre><code>CREATE TABLE profile (
nikName TEXT,
secretKey TEXT,
description TEXT,
tagList TEXT AS List<String>
);
</code></pre>
<p>According to documentation I created adapter:</p>
<pre><code>//TODO we cant use comas in this string.... | In my KMM project I'm using SQLdelight. My sample table has a List. Table: [CODE] According to documentation I created adapter: [CODE] It compiles and works, but Android Studio marks import and List with red: Unresolved reference: kotlin Can I fix this somehow? | android-studio|kotlin|kmm|sqldelight | 3 | 2022-05-19T18:22:42.797Z | 2,022 | 5 | 18 | 3 | 88 | 0 | 261 | 62 | 4 | 2 | true | true | false | false | false | false | low |
72,309,495 | How to trigger Kotlin Flow sequentially and combine the result together? | <p>As title, I got two flows and need to trigger them sequentially first then combine the result.</p>
<pre><code>data class User(
val name: String,
val age: Int,
)
data class UserStatus(
val status: String,
)
fun flow1() = flow {
delay(300L)
emit(User("Tony Stuck", 50))
}
fun flow2(ag... | As title, I got two flows and need to trigger them sequentially first then combine the result. [CODE] I'v tried using flatMapMerge , but it will map to flow2 finally, what I expect to get is Pair(User, UserStatus), is there any better way to deliver this ? | android|kotlin|coroutine|kotlin-flow | 0 | 2022-05-19T18:30:00.920Z | 2,022 | 5 | 18 | 3 | 540 | 2 | 256 | 72 | 4 | 1 | true | false | false | false | false | false | zero |
72,309,560 | App does not build after upgrading to 3.0.0 | <p>I got a problem with the <a href="https://pub.dev/packages/qr_code_scanner" rel="nofollow noreferrer">qr_code_scanner</a> library after upgrading my flutter to the new 3.0.0</p>
<pre><code>e: /home/kalheeso/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/qr_code_scanner-0.7.0/android/src/main/kotlin/n... | I got a problem with the qr_code_scanner library after upgrading my flutter to the new 3.0.0 [CODE] | android|flutter|flutter-dependencies | 3 | 2022-05-19T18:36:31.210Z | 2,022 | 5 | 18 | 3 | 332 | 2 | 99 | 43 | 3 | 1 | true | false | false | false | false | false | low |
72,309,714 | What is the correct way to handle UnAuthenticated response (401) in Android retrofit | <p>I want to take the user to the login screen whenever I encounter a 401 response from the server.</p>
<p>I am currently handling 401 like this:</p>
<pre><code>public abstract class BaseCallback<T> implements Callback<T> {
private final Context context;
public BaseCallback(Context context) {
... | I want to take the user to the login screen whenever I encounter a 401 response from the server. I am currently handling 401 like this: [CODE] Courtesy of https://stackoverflow.com/a/49789543/6341943 But this way, I have to pass context from my ViewModel(my ViewModel is inherited from AndroidViewModel ) whenever I make... | android|retrofit|okhttp|http-status-code-401 | 1 | 2022-05-19T18:51:24.793Z | 2,022 | 5 | 18 | 3 | 39 | 0 | 644 | 84 | 4 | 1 | true | true | false | false | false | false | low |
72,309,728 | how to return to the original backgroundtint colour for edittext | <p>Hi I have an edit text and I want to change the backgroundtint to the original color.</p>
<p>this way I am changing to the red colour but want to return to the original colour, how can I do that please</p>
<pre><code> etCostLimit.backgroundTintList = ColorStateList.valueOf(resources.getColor(
... | Hi I have an edit text and I want to change the backgroundtint to the original color. this way I am changing to the red colour but want to return to the original colour, how can I do that please [CODE] Thanks in advance R | android|android-edittext|android-xml | 0 | 2022-05-19T18:52:24.097Z | 2,022 | 5 | 18 | 3 | 30 | 0 | 221 | 64 | 3 | 1 | true | true | false | false | false | false | zero |
72,309,741 | Android room data relations | <p>I have multiple object tyes inside a parent class.Say I have a College class as below</p>
<pre><code>data class College(
@PrimaryKey
val id:String,
val name: String? = null,
val description: String? = null,
val groups: List<Group>? = null,
val status: String? = null,
)
data class Group... | I have multiple object tyes inside a parent class.Say I have a College class as below [CODE] The problem here is there is not relational id in child tables.I mean JSON received don't give relation of groups inside college with collegeId in Groups table or relation of students in group table. The JSON received is as bel... | gson|android-room | 0 | 2022-05-19T18:53:35.823Z | 2,022 | 5 | 18 | 3 | 15 | 1 | 703 | 27 | 2 | 2 | true | false | false | false | false | false | zero |
72,309,764 | Customising the default device access permission dialog in Android | <p>I have a business requirement wherein when user is working on his mobile phone and access my app then I need to show a single custom permission dialog to allow/deny the permission.
Is it possible to overwrite the text of the default permission popup.
I tried searching but everyone says its not possible, is it possib... | I have a business requirement wherein when user is working on his mobile phone and access my app then I need to show a single custom permission dialog to allow/deny the permission. Is it possible to overwrite the text of the default permission popup. I tried searching but everyone says its not possible, is it possible ... | android | 0 | 2022-05-19T18:55:29.083Z | 2,022 | 5 | 18 | 3 | 72 | 1 | 522 | 66 | 1 | 0 | false | false | false | false | false | false | zero |
72,309,887 | E/AndroidRuntime: FATAL EXCEPTION: main Process Unable to instantiate activity | <p>my application crashes when starting on my mobile phone but when building it in android studio it doesn't give me any errors</p>
<blockquote>
<p>2022-05-19 12:53:52.306 6130-6130/com.gruponuevosol.nuevosolapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.gruponuevosol.nuevosolapp, PID: 6130
java.lang.RuntimeE... | my application crashes when starting on my mobile phone but when building it in android studio it doesn't give me any errors 2022-05-19 12:53:52.306 6130-6130/com.gruponuevosol.nuevosolapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.gruponuevosol.nuevosolapp, PID: 6130 java.lang.RuntimeException: Unable to ins... | java|android|firebase|android-studio | 0 | 2022-05-19T19:05:21.663Z | 2,022 | 5 | 19 | 3 | 10 | 0 | 3,647 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
72,310,005 | Flutter - how to wait for async call to finish in initState | <p><strong>tldr:</strong> Trying to call an async Future (network call) method in <code>initState</code>, and based on return value of this method trying to do some other stuff. A check on this value fails because the check is executed before the async method is able to set its value.</p>
<hr />
<p>I am trying to build... | tldr: Trying to call an async Future (network call) method in initState , and based on return value of this method trying to do some other stuff. A check on this value fails because the check is executed before the async method is able to set its value. I am trying to build an app that will: [CODE] Not sure if its the ... | android|flutter|dart | 0 | 2022-05-19T19:16:08.217Z | 2,022 | 5 | 19 | 3 | 29 | 0 | 1,246 | 59 | 3 | 2 | true | true | false | false | false | false | zero |
72,310,080 | React Native signed build crash immediately after open on device | <p>My app is crashing when I try to run on my device with the signed release build. For some reason the release build works, the singed don't.</p>
<p>After testing multiple times adb logcat throw me this error::</p>
<pre><code>2022-05-19 16:10:10.769 734-734/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.rasystem.ECC p... | My app is crashing when I try to run on my device with the signed release build. For some reason the release build works, the singed don't. After testing multiple times adb logcat throw me this error:: [CODE] I've been looking for a solution for days and still can't find nothing related to this error. My project files:... | android|reactjs|react-native | 0 | 2022-05-19T19:24:43.940Z | 2,022 | 5 | 19 | 3 | 724 | 2 | 386 | 64 | 3 | 4 | true | false | false | false | false | false | zero |
72,310,118 | In what situations is it convenient to use an expo:publish to update my app or release a new version? | <p>I've been wondering when it's reasonable to use expo:publish or release a new version.</p>
<p>the question, I have an app in the playstore and they asked me to make some small changes, for example (remove certain images and upload a pdf where those images would be).</p>
<p>in this kind of situation is it enough to u... | I've been wondering when it's reasonable to use expo:publish or release a new version. the question, I have an app in the playstore and they asked me to make some small changes, for example (remove certain images and upload a pdf where those images would be). in this kind of situation is it enough to use an expo:publis... | android|react-native | 0 | 2022-05-19T19:27:36.960Z | 2,022 | 5 | 19 | 3 | 15 | 1 | 356 | 101 | 2 | 0 | false | false | false | false | false | false | zero |
72,310,125 | Android Broadcast not triggering Receiver | <p>I've been trying to figure out this bug for days...</p>
<p><strong>Issue: <code>sendBroadcast(intent)</code> isn't triggering <code>BroadcastReceiver</code>.</strong></p>
<p>My code successfully starts a foreground <strong>service</strong>... This is supposed to broadcast to a receiver in an <strong>activity</strong... | I've been trying to figure out this bug for days... Issue: sendBroadcast(intent) isn't triggering BroadcastReceiver . My code successfully starts a foreground service ... This is supposed to broadcast to a receiver in an activity , but the intent never makes it to the Receiver. I've tried writing the code out exactly a... | android|android-fragments|android-activity|service|broadcastreceiver | 0 | 2022-05-19T19:28:00.813Z | 2,022 | 5 | 19 | 3 | 54 | 1 | 762 | 41 | 5 | 3 | true | false | false | false | false | false | zero |
72,310,162 | How do I request push notification permissions for android 13? | <p>I've looked through this guide for android 13 push notifications</p>
<p><a href="https://developer.android.com/about/versions/13/changes/notification-permission#user-choice" rel="nofollow noreferrer">https://developer.android.com/about/versions/13/changes/notification-permission#user-choice</a></p>
<p>And I've looke... | I've looked through this guide for android 13 push notifications https://developer.android.com/about/versions/13/changes/notification-permission#user-choice And I've looked at the guide for requesting permissions https://developer.android.com/training/permissions/requesting#java I've updated my compile and target to ap... | android | 2 | 2022-05-19T19:31:19.967Z | 2,022 | 5 | 19 | 3 | 2,092 | 1 | 588 | 62 | 1 | 1 | true | false | false | false | false | false | low |
72,310,183 | How to show AlertDialog as permission rationale | <p>I have two activities: a <code>Main</code>, as well a <code>RuntimePermissionManager</code>, which is started first whenever my app is opened.</p>
<p>The app works as expected when the user allows the runtime permission, but when they deny it, instead of the <code>AlertDialog</code> showing up with the permission ra... | I have two activities: a Main , as well a RuntimePermissionManager , which is started first whenever my app is opened. The app works as expected when the user allows the runtime permission, but when they deny it, instead of the AlertDialog showing up with the permission rationale, the permission dialog is closed comple... | java|android|android-alertdialog|android-permissions | 1 | 2022-05-19T19:33:07.423Z | 2,022 | 5 | 19 | 3 | 74 | 0 | 747 | 47 | 4 | 1 | true | true | false | false | false | false | low |
72,310,186 | How can I share file with ACTION_SEND? | <p>I get a pdf file from the API using Retrofit</p>
<p>Then I write the received request to a file. Now I want to share this file using <code>Intent.ACTION_SEND</code>, but I don't understand how to pass data to it for sharing</p>
<pre class="lang-kotlin prettyprint-override"><code>api.getPDF(1, "aaa", "... | I get a pdf file from the API using Retrofit Then I write the received request to a file. Now I want to share this file using Intent.ACTION_SEND , but I don't understand how to pass data to it for sharing [CODE] | android|kotlin | 0 | 2022-05-19T19:33:23.447Z | 2,022 | 5 | 19 | 3 | 18 | 0 | 211 | 38 | 2 | 1 | true | true | false | false | false | false | zero |
72,310,642 | What is the Faster way to track users current location periodically? | <p>I have finished the product I was developing, but currently, we track the users ( passenger ) location as well as the drivers too slowly.
This is the code I use to track and update the map with the passangers/ drivers icon as it moves :</p>
<pre><code>import android.Manifest
import android.content.Context
import and... | I have finished the product I was developing, but currently, we track the users ( passenger ) location as well as the drivers too slowly. This is the code I use to track and update the map with the passangers/ drivers icon as it moves : [CODE] and heres how i implement it in my Activity: [CODE] at the moment, I get pas... | android|location|heremaps|heremaps-android-sdk | 0 | 2022-05-19T20:19:57.983Z | 2,022 | 5 | 20 | 3 | 46 | 1 | 801 | 68 | 4 | 2 | true | false | false | false | false | false | zero |
72,310,898 | How would I store a byte[] array across reboots without SharedPreferences? | <p>This question is in a similar vein to my recent question (<a href="https://stackoverflow.com/questions/72264771/how-would-i-store-an-arrayliststring-in-order-to-compare-it-to-a-new-one-lat">How would I store an ArrayList<String[]> in order to compare it to a new one later?</a>), except I actually ended up comi... | This question is in a similar vein to my recent question ( How would I store an ArrayList<String[]> in order to compare it to a new one later? ), except I actually ended up coming up with a solution for that. The solution was to use MessageDigest to convert each part of each contact into a byte[] array, instead of tryi... | android|arrays|sharedpreferences|storage|persistence | 0 | 2022-05-19T20:48:04.280Z | 2,022 | 5 | 20 | 3 | 28 | 0 | 1,665 | 74 | 5 | 0 | false | true | false | false | false | false | zero |
72,310,910 | How do I clear Callback stack | <p>Main_thread starts an Activity-A which has a method called Callback. Main also starts a service that runs and sends a Broadcast and execution goes to Callback in Activity-A; however Activity-A had also called Activity-B which was executing when the event occurred. How does Activity-A get Activity-B off the Callback ... | Main_thread starts an Activity-A which has a method called Callback. Main also starts a service that runs and sends a Broadcast and execution goes to Callback in Activity-A; however Activity-A had also called Activity-B which was executing when the event occurred. How does Activity-A get Activity-B off the Callback sta... | android|kotlin|callback|lifecycle | 0 | 2022-05-19T20:49:08.363Z | 2,022 | 5 | 20 | 3 | 25 | 0 | 323 | 29 | 4 | 0 | false | true | false | false | false | false | zero |
72,310,944 | How to sort increment buttons in android studio | <p>i have a voter app which has 5 increment buttons in mainactivity. lets say btn1 has 140 votes ,btn2 has 101 votes,btn3 has 155 votes ,btn4 has 133 votes and btn5 has 199.</p>
<p>now in other activity which is called result activity in that activity i want above votes by ascending order. meaning in this activity i wa... | i have a voter app which has 5 increment buttons in mainactivity. lets say btn1 has 140 votes ,btn2 has 101 votes,btn3 has 155 votes ,btn4 has 133 votes and btn5 has 199. now in other activity which is called result activity in that activity i want above votes by ascending order. meaning in this activity i want to disp... | android | 0 | 2022-05-19T20:52:29.253Z | 2,022 | 5 | 20 | 3 | 21 | 0 | 428 | 47 | 1 | 1 | true | true | false | false | false | false | zero |
72,310,964 | How to set cardView Gravity in RecyclerView Programatically | <p>I'm trying here to set the layout gravity of certain elements in recycler view to RIGHT so i did this in the recycler view adapter</p>
<pre><code>@Override
public void onBindViewHolder(@NonNull MessagesViewHolder holder, int position) {
Message message = messagesList.get(position);
if (message.getSenderId()... | I'm trying here to set the layout gravity of certain elements in recycler view to RIGHT so i did this in the recycler view adapter [CODE] But it didn't works the recycler view looks like this | java|android|android-recyclerview|gravity|cardview | 1 | 2022-05-19T20:55:09.683Z | 2,022 | 5 | 20 | 3 | 32 | 1 | 191 | 59 | 5 | 1 | true | false | false | false | false | false | low |
72,310,974 | Maps SDK - Set floating text besides a marker (Android Studio) | <p>How can I achieve setting a floating text besides a marker, just like any point of interest you can see in Google Map? (see below picture)</p>
<p>"Info Window" is not what I'm looking for.</p>
<p><a href="https://i.stack.imgur.com/FsFiB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FsF... | How can I achieve setting a floating text besides a marker, just like any point of interest you can see in Google Map? (see below picture) "Info Window" is not what I'm looking for. | android|android-studio|google-maps|google-maps-api-3 | 1 | 2022-05-19T20:56:15.370Z | 2,022 | 5 | 20 | 3 | 30 | 0 | 191 | 62 | 4 | 0 | false | true | false | false | false | false | low |
72,311,068 | Android Pass Variables From Activity To Webview Php/Html Form | <p>I am able to pass <code>username</code>, <code>userphone</code> , <code>useremail</code> and <code>userpass</code> from an android activity to another activity via intent which has a php form. However i am unable to set them in the php form. In simple terms i want to automatically set the passed variables into the p... | I am able to pass username , userphone , useremail and userpass from an android activity to another activity via intent which has a php form. However i am unable to set them in the php form. In simple terms i want to automatically set the passed variables into the php input text fields in the form. ANDROID WEBVIEWACTIV... | php|android|android-intent|android-webview | 0 | 2022-05-19T21:05:42.433Z | 2,022 | 5 | 21 | 3 | 43 | 0 | 685 | 61 | 4 | 2 | true | true | false | false | false | false | zero |
72,311,107 | The problem is: Expected BEGIN_ARRAY but was BEGIN_OBJECT | <p>my problem is kinda common. After checking tons of resources i still cant find any solutions.
In some cases people saying to use List of models, instead of models. But the problem existed with List of models. In this case i work with MVVM pattern.
Let me show.</p>
<p><em>Asnwer which i will get if example word: poli... | my problem is kinda common. After checking tons of resources i still cant find any solutions. In some cases people saying to use List of models, instead of models. But the problem existed with List of models. In this case i work with MVVM pattern. Let me show. Asnwer which i will get if example word: policeman [CODE] T... | android|kotlin|retrofit2 | 0 | 2022-05-19T21:09:48.410Z | 2,022 | 5 | 21 | 3 | 686 | 0 | 670 | 57 | 3 | 8 | true | true | false | false | false | false | zero |
72,311,151 | Layout won't inflate in RecyclerView Adapter | <p>I am making an e-commerce app which uses recycler view to show cart items in the cart dialog. The adapter carries out other functions like adding up the total price, etc. but won't inflate the cart items in the dialog. Code isn't showing any error either, so I'm not sure about what's wrong.</p>
<p><a href="https://i... | I am making an e-commerce app which uses recycler view to show cart items in the cart dialog. The adapter carries out other functions like adding up the total price, etc. but won't inflate the cart items in the dialog. Code isn't showing any error either, so I'm not sure about what's wrong. What it should look like Wha... | java|android|android-recyclerview | 0 | 2022-05-19T21:14:21.767Z | 2,022 | 5 | 21 | 3 | 41 | 0 | 487 | 44 | 3 | 4 | true | true | false | false | false | false | zero |
72,311,154 | How to read only once from Android build in Accelerometer per second? | <p>With help of sensorManager I am reading accelerometer reading. Currently slowest setting ie SENSOR_DELEY_NORMAL ,accelerometer reads around 10 times every second. Is there any way by which it can reduce sending reading , may be once every second.</p>
<pre><code> @Override
public void onSensorChanged(SensorEvent... | With help of sensorManager I am reading accelerometer reading. Currently slowest setting ie SENSOR_DELEY_NORMAL ,accelerometer reads around 10 times every second. Is there any way by which it can reduce sending reading , may be once every second. [CODE] | java|android|accelerometer|android-sensors|sensormanager | 0 | 2022-05-19T21:14:43.357Z | 2,022 | 5 | 21 | 3 | 53 | 1 | 253 | 69 | 5 | 1 | true | false | false | false | false | false | zero |
72,311,233 | Android Studio Layout Inspector stuck on Loading | <p>I haven't been able to get the Android Studio Layout Inspector to work for some time on a specific project. I have tried few things found from searching around, like upgrading AS and restoring to the default settings. I am currently using the inspector image for "API 31 and T" I have also tried the othe... | I haven't been able to get the Android Studio Layout Inspector to work for some time on a specific project. I have tried few things found from searching around, like upgrading AS and restoring to the default settings. I am currently using the inspector image for "API 31 and T" I have also tried the others. Lo... | android|android-studio|layout-inspector | 2 | 2022-05-19T21:24:12.333Z | 2,022 | 5 | 21 | 3 | 207 | 1 | 403 | 48 | 3 | 1 | true | false | false | false | false | false | low |
72,311,278 | Android: how to play two videos in web views | <p>is my first question on the website, so i hope to post it in the right way.</p>
<p><strong>Context</strong><br />
I'm developing an <strong>application that plays two web videos at the same time</strong>.
To do so I have two web views in my activity, each showing a different website (each website contains a video). ... | is my first question on the website, so i hope to post it in the right way. Context I'm developing an application that plays two web videos at the same time . To do so I have two web views in my activity, each showing a different website (each website contains a video). If one of the video is muted i can play both of t... | android|android-webview|chromium|android-audiomanager | 0 | 2022-05-19T21:29:47.877Z | 2,022 | 5 | 21 | 3 | 59 | 0 | 1,107 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
72,311,306 | Google Play - Android TV release type Installation Issues Rejection Notice | <p>Context:</p>
<ul>
<li>Made a game in unity and did all the neccessary configurations for it to work on Android TV</li>
<li>Built and then sideloaded said app onto my own android tv device.</li>
<li>I am able to click on the app from the home screen and play it perfectly fine, without error</li>
</ul>
<p>Problem:
Aft... | Context: Made a game in unity and did all the neccessary configurations for it to work on Android TV Built and then sideloaded said app onto my own android tv device. I am able to click on the app from the home screen and play it perfectly fine, without error Problem: After opting in for Android TV support in the googl... | android | 0 | 2022-05-19T21:32:56.027Z | 2,022 | 5 | 21 | 3 | 46 | 0 | 966 | 74 | 1 | 1 | true | true | false | false | false | false | zero |
72,311,364 | App crashes when sending image to Firebase storage | <p>So in my app i need profile images but when i select one it crashes my app. I added all the sdk's also tried fixing it by adding permission for Google photo's but that didn't help. I really have no idea what could have caused this problem I also added my bucket url so that doesn't give a problem or maybe I did this ... | So in my app i need profile images but when i select one it crashes my app. I added all the sdk's also tried fixing it by adding permission for Google photo's but that didn't help. I really have no idea what could have caused this problem I also added my bucket url so that doesn't give a problem or maybe I did this wro... | android|firebase|kotlin|firebase-storage | -2 | 2022-05-19T21:41:34.040Z | 2,022 | 5 | 21 | 3 | 72 | 1 | 474 | 50 | 4 | 4 | true | false | false | false | false | true | negative |
72,311,429 | Define a font for each flavor on Android Studio | <p>I've encouter a very weird behaviour on Android Studio and hope find the answer.<br/>
So let's say I have 10 TextViews, each one declared with one of two types :<br/></p>
<pre><code><TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=&quo... | I've encouter a very weird behaviour on Android Studio and hope find the answer. So let's say I have 10 TextViews, each one declared with one of two types : [CODE] and [CODE] where I've defined the "first_font" and "second_font" on a resource file (I don't know if it is a correct way) through [CODE]... | android|android-studio|fonts|android-resources | 1 | 2022-05-19T21:49:54.547Z | 2,022 | 5 | 21 | 3 | 39 | 0 | 980 | 47 | 4 | 4 | true | true | false | false | false | false | low |
72,311,469 | Flutter doesn't update launcher icon | <p>I created a new icon for my app and I used flutter launcher icons for generate the launcher icon.
In the midmap folders there is the ic_launcher.png and if I open it is my new launcher icon.
But if I install the app via android studio on my phone it shows the old icon.</p>
<p>It happened to me even when I created th... | I created a new icon for my app and I used flutter launcher icons for generate the launcher icon. In the midmap folders there is the ic_launcher.png and if I open it is my new launcher icon. But if I install the app via android studio on my phone it shows the old icon. It happened to me even when I created the first ic... | android|flutter|icons|launcher | 0 | 2022-05-19T21:56:01.450Z | 2,022 | 5 | 21 | 3 | 169 | 2 | 861 | 36 | 4 | 0 | false | false | false | false | false | false | zero |
72,311,694 | Fragment Transition Animation | <p>I am trying to animate 2 Fragments [Splash Fragment , Fragment 1]</p>
<p>While the transition there is a white blank screen for small milli Secs which should not be there</p>
<p>The code of Animation Resource File : -</p>
<pre><code><set xmlns:android="http://schemas.android.com/apk/res/android">
&l... | I am trying to animate 2 Fragments [Splash Fragment , Fragment 1] While the transition there is a white blank screen for small milli Secs which should not be there The code of Animation Resource File : - [CODE] This file I was adding in Navigation file for a action in the field of enter Anim The navigation from my spla... | kotlin|android-fragments|android-animation | 0 | 2022-05-19T22:25:09.843Z | 2,022 | 5 | 22 | 3 | 133 | 1 | 546 | 29 | 3 | 2 | true | false | false | false | false | false | zero |
72,311,825 | Firebase Firestore storing data in Realtime Frestore for same collection ID | <p>I have a form which insert record with multiple values for <code>userID</code> logged in .</p>
<p>Whenever I am submitting a second time form, it's updating existing record rather than inserting new record .</p>
<p>I need to be able to insert multiple records for same <code>documentID(collectionID)</code> rather tha... | I have a form which insert record with multiple values for userID logged in . Whenever I am submitting a second time form, it's updating existing record rather than inserting new record . I need to be able to insert multiple records for same documentID(collectionID) rather than updating existing record [CODE] Firebase | java|android|firebase|google-cloud-firestore | 0 | 2022-05-19T22:44:58.580Z | 2,022 | 5 | 22 | 3 | 43 | 1 | 319 | 75 | 4 | 1 | true | false | false | false | false | false | zero |
72,311,924 | How to filter item in RecyclervView connected to firebase with onclick listener android | <p>I am creating an app where users can search items on the search view bar. Firebase Realtime Database, RecyclerView, and SearchView are already set up but I am having a problem. So when the app opens, the items on the firebase database are shown to the RecyclerViewwithout problems. When I click on the item, it shows ... | I am creating an app where users can search items on the search view bar. Firebase Realtime Database, RecyclerView, and SearchView are already set up but I am having a problem. So when the app opens, the items on the firebase database are shown to the RecyclerViewwithout problems. When I click on the item, it shows add... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-05-19T23:01:21.657Z | 2,022 | 5 | 23 | 3 | 49 | 1 | 1,558 | 87 | 5 | 2 | true | false | false | false | false | false | zero |
72,312,026 | How to revert to a previous version of kotling plugin in android studio? | <p>Recently I updated a kotlin plugin version in Android Studio and I get error : "Unresolved reference: synthetic ", Actually Im migrating to binding the app, so I have some parts with xml and binding, some parts with just synthetic, and some parts with compose, What Can I do?</p> | Recently I updated a kotlin plugin version in Android Studio and I get error : "Unresolved reference: synthetic ", Actually Im migrating to binding the app, so I have some parts with xml and binding, some parts with just synthetic, and some parts with compose, What Can I do? | android|kotlin|synthetic | 0 | 2022-05-19T23:20:18.653Z | 2,022 | 5 | 23 | 3 | 50 | 0 | 285 | 72 | 3 | 0 | false | true | false | false | false | false | zero |
72,312,131 | Screen lighting on Kotlin when Push notification arrives | <p>When the application is closed, and the phone screen is off, the phone receives push notifications. At this time, Android phones can receive push notifications, but they donโt turn the screen on.</p>
<p>Please tell me how to turn the screen on of a turned off phone screen when push notifications from the application... | When the application is closed, and the phone screen is off, the phone receives push notifications. At this time, Android phones can receive push notifications, but they donโt turn the screen on. Please tell me how to turn the screen on of a turned off phone screen when push notifications from the application come in. | android|notifications|push|alert|screen | 0 | 2022-05-19T23:39:00.127Z | 2,022 | 5 | 23 | 3 | 113 | 1 | 319 | 56 | 5 | 0 | false | false | false | false | false | false | zero |
72,312,343 | How to create the video timeline in video editing app | <p>I am currently developing a small video editing app that uses flutter for UI development and I am struggling with the video timeline. I tried using <code>Row</code> for display images and wrapping it with a <code>SingleChildScrollView</code> and then I tried to use the <code>ScrollController</code> to indicate the c... | I am currently developing a small video editing app that uses flutter for UI development and I am struggling with the video timeline. I tried using Row for display images and wrapping it with a SingleChildScrollView and then I tried to use the ScrollController to indicate the current playing position, seeking the speci... | android|flutter|android-layout|flutter-layout|video-processing | 0 | 2022-05-20T00:24:44.670Z | 2,022 | 5 | 0 | 4 | 255 | 1 | 464 | 53 | 5 | 0 | false | false | false | false | false | false | zero |
72,312,345 | How to check unknown source is enabled or not on Android 7(Nougat)? | <p>I'm trying to install an APK on Android 7 Nougat(API 24) now. and i faced a weird issue. the Unknown source system pop-up appears in all Android version. when installing an APK, if i haven't enabled the unknown source before, the Android system asks me to enable it or not. until now, it's fine. but the problem is, r... | I'm trying to install an APK on Android 7 Nougat(API 24) now. and i faced a weird issue. the Unknown source system pop-up appears in all Android version. when installing an APK, if i haven't enabled the unknown source before, the Android system asks me to enable it or not. until now, it's fine. but the problem is, righ... | android|apk | 0 | 2022-05-20T00:25:32.870Z | 2,022 | 5 | 0 | 4 | 33 | 1 | 942 | 67 | 2 | 1 | true | false | false | false | false | false | zero |
72,312,360 | button doesn't work on a condition android | <p>i am working on an app which have a login page ,i am trying to login to another activity but the button doesn't work on condition which has admin.i tried multiple solution but the problem is the same ,the condition doesn't work at all.</p>
<p>Login.java:</p>
<pre><code>private ImageView back;
private String Name,Pas... | i am working on an app which have a login page ,i am trying to login to another activity but the button doesn't work on condition which has admin.i tried multiple solution but the problem is the same ,the condition doesn't work at all. Login.java: [CODE] activity_login.xml: [CODE] </androidx.constraintlayout.widget.Con... | android | 0 | 2022-05-20T00:28:11.857Z | 2,022 | 5 | 0 | 4 | 51 | 2 | 334 | 42 | 1 | 2 | true | false | false | false | false | false | zero |
72,312,365 | Flutter: Why is my app giving a source error when trying to play back an audio file? | <p>I have an app that records audio when the user taps a button. It writes a temporary file to the mobile device, then runs some FFMPEG code to change the pitch.</p>
<p>The normal way a user would use it is:</p>
<ol>
<li>Tap the button</li>
<li>Record the audio (10 seconds)</li>
<li>After recording is done, play back t... | I have an app that records audio when the user taps a button. It writes a temporary file to the mobile device, then runs some FFMPEG code to change the pitch. The normal way a user would use it is: Tap the button Record the audio (10 seconds) After recording is done, play back the audio with the pitch modified This wor... | android|ios|flutter|dart|audio-player | 1 | 2022-05-20T00:28:40.777Z | 2,022 | 5 | 0 | 4 | 344 | 0 | 983 | 84 | 5 | 3 | true | true | false | false | false | false | low |
72,312,589 | Close bottomsheet and when open it again the changes will still be there | <p>I made a bottomsheet with a couple of items, I make some changes into it and apply (it will close the bottomsheet), but when I open it again the bottomsheet resets, how can I keep the values that I chose before? It's a bottomSheetFragment.
I want to save selected value from recyclerView and a number, how can I do it... | I made a bottomsheet with a couple of items, I make some changes into it and apply (it will close the bottomsheet), but when I open it again the bottomsheet resets, how can I keep the values that I chose before? It's a bottomSheetFragment. I want to save selected value from recyclerView and a number, how can I do it? | android|kotlin|android-fragments|bottom-sheet | 0 | 2022-05-20T01:13:56.833Z | 2,022 | 5 | 1 | 4 | 189 | 1 | 318 | 72 | 4 | 0 | false | false | false | false | false | false | zero |
72,312,624 | Which is the best approach for dynamic drawing in Android? | <p>I want to make a waveform drawing for an audio recorder in Android. The usual one with lines/bars, like this one:</p>
<p><a href="https://i.stack.imgur.com/5VDbw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5VDbw.png" alt="enter image description here" /></a></p>
<p>More importantly, I want it ... | I want to make a waveform drawing for an audio recorder in Android. The usual one with lines/bars, like this one: More importantly, I want it live, while the song is being recorded. My app already computes the RMS through AudioRecord . But I am not sure which is the best approach for the actual drawing in terms of proc... | android|audio|canvas|waveform | 0 | 2022-05-20T01:20:53.650Z | 2,022 | 5 | 1 | 4 | 63 | 2 | 1,722 | 58 | 4 | 2 | true | false | false | false | false | false | zero |
72,312,674 | android studio issues, I can't open new activity with java | <p>when I open a new activity, the android studio allows me to write on Kotlin only, I want java, and I don't know the solution</p> | when I open a new activity, the android studio allows me to write on Kotlin only, I want java, and I don't know the solution | android-studio | 0 | 2022-05-20T01:33:23.663Z | 2,022 | 5 | 1 | 4 | 16 | 1 | 124 | 58 | 1 | 0 | false | false | false | false | false | false | zero |
72,312,711 | Android Bottom Sheet is not working in Fragment | <p>I have added the bottom sheet dialog on a fragment.<br />
Right now I can't open it.<br />
Whenever I click on the show button it doesn't work at all.<br />
How can I fix this problem?</p>
<p><strong>CreateFragment.kt</strong></p>
<pre><code>class CreateFragment : Fragment() {
lateinit var binding: FragmentCrea... | I have added the bottom sheet dialog on a fragment. Right now I can't open it. Whenever I click on the show button it doesn't work at all. How can I fix this problem? CreateFragment.kt [CODE] | kotlin|android-bottomsheetdialog|bottomsheetdialogfragment|kotlin-android | 0 | 2022-05-20T01:40:36.407Z | 2,022 | 5 | 1 | 4 | 323 | 0 | 191 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
72,312,889 | Why does this code display a blank screen when running? | <p>Before displaying the code, here are the things that I checked to avoid similar answers :</p>
<ul>
<li><p>android:extratNativeLibs="true"</p>
</li>
<li><p>Jsonfile firebase connected</p>
</li>
<li><p>routegenerator and initialroute checked in the main file and<br />
generatorfile</p>
</li>
</ul>
<p>.I like... | Before displaying the code, here are the things that I checked to avoid similar answers : android:extratNativeLibs="true" Jsonfile firebase connected routegenerator and initialroute checked in the main file and generatorfile .I like to avoid mediaQuery and work with percentages, that is why I use Fractionally... | android|firebase|flutter|dart | 0 | 2022-05-20T02:16:59.943Z | 2,022 | 5 | 2 | 4 | 42 | 1 | 376 | 55 | 4 | 1 | true | false | false | false | false | false | zero |
72,312,947 | Can't build apk because of Cordova plugin that seems to overwrite Theme.AppCompat | <p>I'm having an issue with a plugin called cordova-plugin-kiosk. I did not have this issue before but I'm unable to build the apk successfully or the app crashes in the emulator. It seems it has something to do with the following setting in the AndroidManifest.xml <code>android:theme="@android:style/Theme.DeviceD... | I'm having an issue with a plugin called cordova-plugin-kiosk. I did not have this issue before but I'm unable to build the apk successfully or the app crashes in the emulator. It seems it has something to do with the following setting in the AndroidManifest.xml android:theme="@android:style/Theme.DeviceDefault.No... | java|android|cordova|apk|cordova-plugins | 0 | 2022-05-20T02:28:18.227Z | 2,022 | 5 | 2 | 4 | 87 | 1 | 456 | 81 | 5 | 1 | true | false | false | false | false | false | zero |
72,313,149 | flutter.gradle' line: 1070 | <p>I can not run my build</p>
<p>I have this code</p>
<p>can you help?</p>
<pre class="lang-none prettyprint-override"><code>/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_platform_interface-4.1.0/lib/src/method_channel/utils/exception.dart:19:11: Error: Member not found: 'Error.throwWithStackTrace'.
... | I can not run my build I have this code can you help? [CODE] | flutter|android-studio|dart | 0 | 2022-05-20T03:06:18.727Z | 2,022 | 5 | 3 | 4 | 138 | 0 | 60 | 26 | 3 | 1 | true | true | false | false | false | false | zero |
72,313,181 | How to make TabLayout in Arc shape? | <p>I am trying to achieve to make the tabLayout in arc shape</p>
<p><a href="https://i.stack.imgur.com/Rqylu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rqylu.png" alt="In the given Image" /></a></p>
<p>I tried many ways but did not make like that. How can I make my tabLayout like in the image?</... | I am trying to achieve to make the tabLayout in arc shape I tried many ways but did not make like that. How can I make my tabLayout like in the image? | java|android|xml|kotlin | -2 | 2022-05-20T03:11:46.113Z | 2,022 | 5 | 3 | 4 | 34 | 1 | 150 | 35 | 4 | 0 | false | false | false | false | false | true | negative |
72,313,220 | android studio not download gradle | <p>When I create a new project with Android studio, gradle can't be downloaded locally, <a href="https://services.gradle.org" rel="nofollow noreferrer">https://services.gradle.org</a> can't be connected. I don't know why, but when I click the gradle link, Mac can download gradle soon,I'll take it You can't delete all t... | When I create a new project with Android studio, gradle can't be downloaded locally, https://services.gradle.org can't be connected. I don't know why, but when I click the gradle link, Mac can download gradle soon,I'll take it You can't delete all the contents in the .gradle folder | android|android-studio | 0 | 2022-05-20T03:17:36.653Z | 2,022 | 5 | 3 | 4 | 72 | 0 | 282 | 34 | 2 | 0 | false | true | false | false | false | false | zero |
72,313,255 | java.lang.IllegalArgumentException: Cannot copy from a TensorFlowLite tensor with shape [1, 2535, 4] to a Java object with shape [1, 10, 4] | <p>I want to make application using opencv for phone camera using and tensorflow lite to detect objects. So I found nice code from github <a href="https://github.com/bendahouwael/Vehicle-Detection-App-Android" rel="nofollow noreferrer">https://github.com/bendahouwael/Vehicle-Detection-App-Android</a> that uses opencv f... | I want to make application using opencv for phone camera using and tensorflow lite to detect objects. So I found nice code from github https://github.com/bendahouwael/Vehicle-Detection-App-Android that uses opencv for camera and tensorflow lite. To test my own tensorflow lite files, I changed objectDetectorClass=new ob... | java|android|android-studio|tensor|tensorflow-lite | 0 | 2022-05-20T03:25:08.313Z | 2,022 | 5 | 3 | 4 | 298 | 0 | 1,310 | 139 | 5 | 5 | true | true | false | false | false | false | zero |
72,313,422 | Adjusting PixelRatio in React Native Manually | <p>I have developed an according to my phone. But on other phones, due to different PixelRatio, it seems radically different.</p>
<p>I know we can only get the PixelRatio of a particular device but is there any way to set/adjust it?</p> | I have developed an according to my phone. But on other phones, due to different PixelRatio, it seems radically different. I know we can only get the PixelRatio of a particular device but is there any way to set/adjust it? | android|ios|reactjs|react-native|expo | 0 | 2022-05-20T03:55:42.807Z | 2,022 | 5 | 3 | 4 | 22 | 1 | 222 | 45 | 5 | 0 | false | false | false | false | false | false | zero |
72,313,473 | For Which API call I should use bloc? | <p>I'm new to flutter, I have some questions about bloc and I'm working on small projects to develop skills. Could you help me to know about bloc and improve?</p>
<p>I used bloc on every screen (every API call - GET,POST)</p>
<ol>
<li><p>From the backend, I'm only getting machineID to select machines - Here I used bloc... | I'm new to flutter, I have some questions about bloc and I'm working on small projects to develop skills. Could you help me to know about bloc and improve? I used bloc on every screen (every API call - GET,POST) From the backend, I'm only getting machineID to select machines - Here I used bloc (Just for machineID I use... | android|ios|flutter|bloc|state-management | 0 | 2022-05-20T04:03:36.407Z | 2,022 | 5 | 4 | 4 | 71 | 1 | 646 | 37 | 5 | 0 | false | false | false | false | false | false | zero |
72,313,513 | The argument type 'List<int>' can't be assigned to the parameter type 'Uint8List' | <p>Im using this code to send data via bluetooth with flutter and i have two questions.</p>
<p>First of all I am getting this error message which I dont know how to fix, the erros is this:</p>
<p>"The argument type 'List' can't be assigned to the parameter type 'Uint8List'".</p>
<p>here is the code:</p>
<pre>... | Im using this code to send data via bluetooth with flutter and i have two questions. First of all I am getting this error message which I dont know how to fix, the erros is this: "The argument type 'List' can't be assigned to the parameter type 'Uint8List'". here is the code: [CODE] the compiler highlights ut... | flutter|android-studio|dart|bluetooth|data-transfer | 0 | 2022-05-20T04:09:05.877Z | 2,022 | 5 | 4 | 4 | 761 | 1 | 433 | 81 | 5 | 1 | true | false | false | false | false | false | zero |
72,313,514 | I keep getting 404 error in socket.io connection | <p>I am trying to connect my android app to NodeJS server.</p>
<h2>ANDROID PART</h2>
<p>First I include the <strong>Socket.io</strong> library to my dependency</p>
<pre><code>implementation('io.socket:socket.io-client:2.0.0') {
exclude group: 'org.json', module: 'json'
}
</code></pre>
<p><strong>My JAVA code</stron... | I am trying to connect my android app to NodeJS server. ANDROID PART First I include the Socket.io library to my dependency [CODE] My JAVA code [CODE] SERVER SIDE [CODE] Now the problem is after starting the Server, and I try to connect my android app to it, I keep getting an error from Socket.io connection, like the i... | java|android|node.js|socket.io | 0 | 2022-05-20T04:09:31.260Z | 2,022 | 5 | 4 | 4 | 49 | 1 | 477 | 48 | 4 | 3 | true | false | false | false | false | false | zero |
72,313,587 | How to convert Manifest.mf file into XML file in Android | <p>How to edit **</p>
<blockquote>
<p>MANIFEST.MF
** Convert **
MANIFEST.MF
** to **
MANIFEST.XML[enter image description here][1]
** in <strong>Android</strong> [1]: https://i.stack.imgur.com/yMkFF.jpg</p>
</blockquote> | How to edit ** MANIFEST.MF ** Convert ** MANIFEST.MF ** to ** MANIFEST.XML[enter image description here][1] ** in Android [1]: https://i.stack.imgur.com/yMkFF.jpg | android-manifest|manifest.mf | 0 | 2022-05-20T04:25:50.747Z | 2,022 | 5 | 4 | 4 | 15 | 0 | 162 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
72,313,635 | .Net MAUI Android can't talk to API localhost | <p>I've downloaded the latest sample MAUI here: <a href="https://github.com/microsoft/dotnet-podcasts" rel="nofollow noreferrer">https://github.com/microsoft/dotnet-podcasts</a> and copied the exact way they make requests but I can't get passed an 'unexpected end of stream error':</p>
<pre><code>System.Net.WebException... | I've downloaded the latest sample MAUI here: https://github.com/microsoft/dotnet-podcasts and copied the exact way they make requests but I can't get passed an 'unexpected end of stream error': [CODE] I'm initialising the HttpClient in the MauiProgram.cs via the AddHttpClient factory method like so (note the different ... | android|.net|maui|.net-maui | 3 | 2022-05-20T04:36:35.070Z | 2,022 | 5 | 4 | 4 | 1,709 | 1 | 1,098 | 45 | 4 | 6 | true | false | false | false | false | false | low |
72,313,744 | how to save custom view state in android studio | <p>I'm developing an application which has drawing functionality. I want to save my drawing in the room database with the view(whatever users draw). It should be restored when the user clicks on his drawing from their history.</p>
<pre><code>if (stateBundleFromDb!=null){
super.onCreate(stateBundleFromDb)
mySavedS... | I'm developing an application which has drawing functionality. I want to save my drawing in the room database with the view(whatever users draw). It should be restored when the user clicks on his drawing from their history. [CODE] When I click one of the history items I get stateBundleFromDb but when I open the activit... | android|state|android-room|android-custom-view | 0 | 2022-05-20T04:55:29.303Z | 2,022 | 5 | 4 | 4 | 69 | 0 | 464 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
72,313,754 | How to find the permissions used by dependencies? - Android | <p>I'm trying to upload my Android app to the Play Store, but keep being refused because of background location permission: "<em><strong>Feature does not meet requirements for background location access</strong></em>".</p>
<p>My manifest declares ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION, but <strong>do... | I'm trying to upload my Android app to the Play Store, but keep being refused because of background location permission: " Feature does not meet requirements for background location access ". My manifest declares ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION, but does not include ACCESS_BACKGROUND_LOCATION.... | android|google-play|android-permissions|google-play-console | 3 | 2022-05-20T04:57:02.567Z | 2,022 | 5 | 4 | 4 | 192 | 0 | 677 | 59 | 4 | 0 | false | true | false | false | false | false | low |
72,313,763 | How to disable Clipboard editor overlay Android Emulator API 33? | <p>How can i disable <strong>Clipboard editor overlay,</strong> that is enabled by default in Android Emulator API 33?.
It is very annoying while debugging apps.It always popup over my debugging apps, and i have to close this every time to do something in my debugging app.</p>
<p><a href="https://i.stack.imgur.com/CNkE... | How can i disable Clipboard editor overlay, that is enabled by default in Android Emulator API 33?. It is very annoying while debugging apps.It always popup over my debugging apps, and i have to close this every time to do something in my debugging app. | android|android-12|clipboardmanager | 1 | 2022-05-20T04:58:35.397Z | 2,022 | 5 | 4 | 4 | 303 | 1 | 253 | 64 | 3 | 0 | false | false | false | false | false | false | low |
72,313,764 | Update Timer interval time in Kotlin for Android | <p>I am learning Kotlin/Android and I created a <code>TimerTask</code> to call an API every x seconds depending on user's choice in a dropdown menu. I can create the task, but when the user updates the interval(x) value in the menu, a new task is created and the previous keeps running.</p>
<p>I tried using <code>cancel... | I am learning Kotlin/Android and I created a TimerTask to call an API every x seconds depending on user's choice in a dropdown menu. I can create the task, but when the user updates the interval(x) value in the menu, a new task is created and the previous keeps running. I tried using cancel on the timer but the app cra... | android|kotlin|timertask | 0 | 2022-05-20T04:58:45.127Z | 2,022 | 5 | 4 | 4 | 282 | 1 | 535 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
72,314,126 | How to trigger JS code when a link inside Android WebView is clicked? | <p>I have run into a problem and couldn't find a working solution. I want to hide <strong>Download Mobile App</strong> button in my Andriod webview app with the following code:</p>
<pre><code> final String javascript = "var myClasses = document.querySelectorAll('.mobileBTN'),i = 0,l = myClasses.length; for ... | I have run into a problem and couldn't find a working solution. I want to hide Download Mobile App button in my Andriod webview app with the following code: [CODE] The code works just fine and hides the Download Mobile App buttons on the app (homepage) but when a link inside the webview is clicked, say for example, the... | javascript|android|android-webview | 0 | 2022-05-20T05:52:16.823Z | 2,022 | 5 | 5 | 4 | 133 | 0 | 692 | 69 | 3 | 2 | true | true | false | false | false | false | zero |
72,314,128 | Intent filter with navigation component to Receiving image data from other app | <p>My Android application uses the navigation component to navigate between fragments.</p>
<p>And the project only has a single Activity and all the others are fragments.</p>
<p>My application is a social media application. I want to share an image from my phone gallery with my application. When a user clicks the share... | My Android application uses the navigation component to navigate between fragments. And the project only has a single Activity and all the others are fragments. My application is a social media application. I want to share an image from my phone gallery with my application. When a user clicks the share button on the ga... | android|kotlin|fragment|intentfilter|android-deep-link | 1 | 2022-05-20T05:52:26.207Z | 2,022 | 5 | 5 | 4 | 128 | 1 | 828 | 78 | 5 | 2 | true | false | false | false | false | false | low |
72,314,236 | Error while using flutter background_location package | <p>I just imported the package <a href="https://pub.dev/packages/background_location" rel="nofollow noreferrer">background_location</a>, and didn't use it. Even though I get this error</p>
<pre><code>
* What went wrong:
Execution failed for task ':background_location:compileDebugKotlin'.
> Compilation error. See log... | I just imported the package background_location , and didn't use it. Even though I get this error [CODE] Tried changing kotlin version, changed minSdkVersion but no change. | android|flutter|dart | 0 | 2022-05-20T06:05:21.310Z | 2,022 | 5 | 6 | 4 | 91 | 1 | 172 | 53 | 3 | 1 | true | false | false | false | false | false | zero |
72,314,258 | How to distribute an Android and iOS app with one country-specific version? | <p>We have 2 apps (iOS and Android) currently available globally (no country restrictions).</p>
<p>Our growth team is launching a new campaign affecting only one country.</p>
<p>The app has to be available on one market with the new country-specific marketing campaign
But we still want to run the apps in the rest of th... | We have 2 apps (iOS and Android) currently available globally (no country restrictions). Our growth team is launching a new campaign affecting only one country. The app has to be available on one market with the new country-specific marketing campaign But we still want to run the apps in the rest of the world (but with... | android|ios | 0 | 2022-05-20T06:07:39.323Z | 2,022 | 5 | 6 | 4 | 26 | 0 | 702 | 75 | 2 | 0 | false | true | false | false | false | false | zero |
72,314,328 | "This app has no Android key hashses configured. Configure your app key hashes at ~~ | <p>I tried to use Facebook login in my app.
But I have this problem only on my physical android device. (not a virtual device)</p>
<p><a href="https://i.stack.imgur.com/riTM7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/riTM7.jpg" alt="enter image description here" /></a></p>
<p>How can I fix it?<... | I tried to use Facebook login in my app. But I have this problem only on my physical android device. (not a virtual device) How can I fix it? | android|firebase|facebook-login | 1 | 2022-05-20T06:15:14.837Z | 2,022 | 5 | 6 | 4 | 45 | 1 | 141 | 84 | 3 | 0 | false | false | false | false | false | false | low |
72,314,355 | How to change the width of a container by a boolean value? | <p>I am trying to change the width of a container dynamically. I have four containers in a row. I hide other three when a user selects a value (taps on a filter icon having bool value). The problem is that when I hide the other three (using visibility), the remaining container takes the space of full row.</p>
<p>What I... | I am trying to change the width of a container dynamically. I have four containers in a row. I hide other three when a user selects a value (taps on a filter icon having bool value). The problem is that when I hide the other three (using visibility), the remaining container takes the space of full row. What I want is t... | flutter|android-studio|containers|media-queries | 0 | 2022-05-20T06:18:46.630Z | 2,022 | 5 | 6 | 4 | 186 | 2 | 479 | 58 | 4 | 0 | false | false | false | false | false | false | zero |
72,314,430 | Futter Driver Automation Testing not working due upgrade in version of Flutter Driver | <p>Can some one help where our app is not showing in Appium inspector and even not working for Automation code in intellij after upgrade to Flutter driver version 3.0</p>
<p>getting error: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error o... | Can some one help where our app is not showing in Appium inspector and even not working for Automation code in intellij after upgrade to Flutter driver version 3.0 getting error: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred wh... | appium|flutter-test|appium-android|automation-testing|appium-java | 0 | 2022-05-20T06:27:16.760Z | 2,022 | 5 | 6 | 4 | 333 | 1 | 490 | 85 | 5 | 0 | false | false | false | false | false | false | zero |
72,314,453 | How to show list of images in grid view builder if list is not empty | <p>i have a list which contains list of images, i want to show these in my grid view builder if list if not empty other wise i just want to show static + symbol in my grid view builder.</p>
<p>it is my list</p>
<pre><code>var otherPersonOfferList = <Inventory>[].obs;
</code></pre>
<p>and this is my grid view buil... | i have a list which contains list of images, i want to show these in my grid view builder if list if not empty other wise i just want to show static + symbol in my grid view builder. it is my list [CODE] and this is my grid view builder which i have extracted as a widget and using it in my screen [CODE] and this is my ... | android|list|flutter|dart|gridview | 0 | 2022-05-20T06:28:51.607Z | 2,022 | 5 | 6 | 4 | 48 | 1 | 460 | 68 | 5 | 3 | true | false | false | false | false | false | zero |
72,314,516 | How can I import an entire project in Android Studio | <p>I'm trying to import an entire project in Android Studio to my actual one.
However, when I choose File->Import Project, it just opens new window with this
project I need import,
without anything importing in. What's wrong ?</p>
<p>Also I do not know how to reference to the imported project.</p>
<p><strong>EDIT</s... | I'm trying to import an entire project in Android Studio to my actual one. However, when I choose File->Import Project, it just opens new window with this project I need import, without anything importing in. What's wrong ? Also I do not know how to reference to the imported project. EDIT I have now imported my old mod... | java|android-studio|import | 0 | 2022-05-20T06:33:48.010Z | 2,022 | 5 | 6 | 4 | 40 | 2 | 451 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
72,314,636 | error when updating kotlin version 1.4.32 to kotlin version 1.6.10 | <p>So I updated the Kotlin Version to support Jetpack Compose.</p>
<p>I updated from Version 1.4.30 to Version 1.6.10.</p>
<p>While updating I got two problems.</p>
<p>Which one is the first problem:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet... | So I updated the Kotlin Version to support Jetpack Compose. I updated from Version 1.4.30 to Version 1.6.10. While updating I got two problems. Which one is the first problem: [CODE] The second problem: [CODE] After I did a stacktrace : [CODE] I've tried to update Version also for some Libraries but I also haven't foun... | android|kotlin|gradle | 0 | 2022-05-20T06:43:36.127Z | 2,022 | 5 | 6 | 4 | 112 | 0 | 596 | 66 | 3 | 3 | true | true | false | false | false | false | zero |
72,314,724 | HMS Toolkit cannot be found in Android Studio Marketplace | <p>I am trying to Install HUAWEI HMS Toolkit by doing this:</p>
<p>Windows: Start Android Studio, go to File > Settings > Plugins > Marketplace, enter HMS Toolkit in the search box..</p>
<p>But nothing found in the list.!</p>
<p>Any help will be appreciated.</p> | I am trying to Install HUAWEI HMS Toolkit by doing this: Windows: Start Android Studio, go to File > Settings > Plugins > Marketplace, enter HMS Toolkit in the search box.. But nothing found in the list.! Any help will be appreciated. | android|android-studio|huawei-developers | 2 | 2022-05-20T06:52:22.483Z | 2,022 | 5 | 6 | 4 | 457 | 1 | 234 | 57 | 3 | 0 | false | false | false | false | false | false | low |
72,314,780 | Flutter - How to set playback timer in audio_service? | <p>I am using <code>audio_service</code> package for playing background audio.Now, I want to stop the currently playing playlist or audio after certain time set by the user. Is there any better approach of doing this?</p>
<p>I have implemented the code provided in the <a href="https://github.com/ryanheise/audio_service... | I am using audio_service package for playing background audio.Now, I want to stop the currently playing playlist or audio after certain time set by the user. Is there any better approach of doing this? I have implemented the code provided in the example folder by the author. | android|ios|flutter|audio-service | 0 | 2022-05-20T06:57:21.713Z | 2,022 | 5 | 6 | 4 | 33 | 0 | 275 | 53 | 4 | 0 | false | true | false | false | false | false | zero |
72,315,025 | when click notification, if app was in background, android create new instance | <p>I have a application. if my app was in background and receive notification, when click on notification, new instance of app launch and when this new instance finished, first instance come foreground and launch from last activity.
I want when click on notification my app restart and first instance finish.</p> | I have a application. if my app was in background and receive notification, when click on notification, new instance of app launch and when this new instance finished, first instance come foreground and launch from last activity. I want when click on notification my app restart and first instance finish. | android|notifications|background | 0 | 2022-05-20T07:22:52.477Z | 2,022 | 5 | 7 | 4 | 123 | 0 | 305 | 78 | 3 | 0 | false | true | false | false | false | false | zero |
72,315,140 | Rxjava crashing in release build with error "java.lang.AbstractMethodError: abstract method void io.reactivex.rxjava3.core.Observer.onSubscribe" | <p>I have written a RxDownloader class to download items from a predefined list. The downloader is working fine when exporting as debug aar(sdk) file but getting crashed in relase build with following stacktrace:-</p>
<pre><code>java.lang.AbstractMethodError: abstract method "void io.reactivex.rxjava3.core.Observe... | I have written a RxDownloader class to download items from a predefined list. The downloader is working fine when exporting as debug aar(sdk) file but getting crashed in relase build with following stacktrace:- [CODE] Following is RxDownloader class code:- [CODE] Anyone knows how to resolve this error? | java|android|rx-java|rx-java3 | 0 | 2022-05-20T07:33:48.297Z | 2,022 | 5 | 7 | 4 | 46 | 0 | 303 | 144 | 4 | 2 | true | true | false | false | false | false | zero |
72,315,190 | Android TextView underline has strange thickness | <p>Android TextView underline has strange thickness.
I want my TextView has underline. so I call <code>setUnderlineText(true)</code> of my TextView's paint. Now My TextView has underline, but, but, but, TextView's underline thickness is big when the text is start with '*'.
<a href="https://i.stack.imgur.com/0GsJm.png" ... | Android TextView underline has strange thickness. I want my TextView has underline. so I call setUnderlineText(true) of my TextView's paint. Now My TextView has underline, but, but, but, TextView's underline thickness is big when the text is start with '*'. How to avoid this odd appearance? ps: Don't let me draw a line... | android|textview|underline | 0 | 2022-05-20T07:38:21.407Z | 2,022 | 5 | 7 | 4 | 34 | 0 | 330 | 48 | 3 | 0 | false | true | false | false | false | false | zero |
72,315,207 | what's the solution for andoid studio crashing after new update | <p>**Hi there after the latest update for android studio while finishing the update I had an internet issue and the update didn't complete after i tried to open android studio again error message below poped up I even tried to reinstall android studio and start over scratch but another error message shown says that I d... | **Hi there after the latest update for android studio while finishing the update I had an internet issue and the update didn't complete after i tried to open android studio again error message below poped up I even tried to reinstall android studio and start over scratch but another error message shown says that I didn... | android|flutter|android-studio|dart|flutter-dependencies | 0 | 2022-05-20T07:39:49.030Z | 2,022 | 5 | 7 | 4 | 27 | 1 | 476 | 63 | 5 | 0 | false | false | false | false | false | false | zero |
72,315,240 | Fragment backStackEntryCount always returns 0 | <p>Code I am using in the Activity:</p>
<pre><code>private fun addFragmentToActivity(fragment: Fragment?) {
if (fragment == null) return
val ft = supportFragmentManager.beginTransaction()
ft.replace(R.id.container, fragment)
ft.addToBackStack(null)
ft.commit()
checkForBackStack()
}
private fun ... | Code I am using in the Activity: [CODE] I want to set visibility of back button based on backStackEntryCount , but it is always returning 0. Is there anything wrong I am doing? | android|kotlin | 0 | 2022-05-20T07:42:44.130Z | 2,022 | 5 | 7 | 4 | 45 | 1 | 176 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
72,315,309 | How to write md5 signature apk to upload on xiaomi store | <p>I just wanted to upload my app on xiaomi app store and steps to create a signature build is not clear on develop dashboard there.
I googled but couldn't fine anything useful, can someone please help me to find any doc or steps I need to follow in order to create a xiaomi app store compatible apk file.</p> | I just wanted to upload my app on xiaomi app store and steps to create a signature build is not clear on develop dashboard there. I googled but couldn't fine anything useful, can someone please help me to find any doc or steps I need to follow in order to create a xiaomi app store compatible apk file. | android|apk|md5|xiaomi | 0 | 2022-05-20T07:46:47.460Z | 2,022 | 5 | 7 | 4 | 75 | 1 | 302 | 56 | 4 | 0 | false | false | false | false | false | false | zero |
72,315,336 | Uploading pdf file crashes the emulator | <p>I'm trying to upload a pdf file to the server in my android app with java.<br />
Using the emulator, the app keeps crashing when I try to upload the file</p>
<p>The error I get:<br />
<strong>Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.lastIndexOf(java.lang.Strin... | I'm trying to upload a pdf file to the server in my android app with java. Using the emulator, the app keeps crashing when I try to upload the file The error I get: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.lastIndexOf(java.lang.String)' on a null object reference... | java|android|android-studio|file-upload|android-emulator | 0 | 2022-05-20T07:49:07.670Z | 2,022 | 5 | 7 | 4 | 27 | 0 | 675 | 39 | 5 | 1 | true | true | false | false | false | false | zero |
72,315,380 | My problem is i using video call service and i am using stack to view local camera preview | <p><strong>Here is my code</strong></p>
<pre><code> class BroadCaster extends StatelessWidget {
BroadCaster({Key? key}) : super(key: key);
final height = Get.size.height;
final width = Get.size.width;
final arg = Get.arguments;
late ZegoEngineProfile profile;
late ZegoUser user;
late ZegoRoomConfig con... | Here is my code [CODE] } so my problem is when i tap on textfield due to auto resizing my localpreview get squizzed like this i had also tired resizeToAvoidBottomInset: false, but because of this textfiel gets hide under keyboard this is normal actually i wanted to make fit localview to screen height and width while us... | java|android|flutter|dart|widget | 0 | 2022-05-20T07:53:08.080Z | 2,022 | 5 | 7 | 4 | 34 | 0 | 342 | 90 | 5 | 1 | true | true | false | false | false | false | zero |
72,315,410 | Customize Android Studios "New File"-Dialog | <p>I recently upgraded to Android Studio Chipmunk.
While i'm pretty happy feature & performance-wise, there's one change driving me nuts:</p>
<p>Whenever i create a new file the c++ options are sorted to the very top - see screenshot. In previous versions Java / Kotlin were at the top, which i prefer.</p>
<p><a hre... | I recently upgraded to Android Studio Chipmunk. While i'm pretty happy feature & performance-wise, there's one change driving me nuts: Whenever i create a new file the c++ options are sorted to the very top - see screenshot. In previous versions Java / Kotlin were at the top, which i prefer. Is there any chance to cust... | android-studio | 0 | 2022-05-20T07:55:45.947Z | 2,022 | 5 | 7 | 4 | 13 | 0 | 436 | 43 | 1 | 0 | false | true | false | false | false | false | zero |
72,315,427 | Any way to detect android device type (phone/pad) in firefox | <p>The userAgent of Chrome and Edge, both contains a 'Mobile' word on android phone.
And don't contains it on android pad.</p>
<p>But the Firefox userAgent on phone is exactly alike it on pad.</p>
<p>So, is there any accurate way to detect the android device type for Firefox?</p> | The userAgent of Chrome and Edge, both contains a 'Mobile' word on android phone. And don't contains it on android pad. But the Firefox userAgent on phone is exactly alike it on pad. So, is there any accurate way to detect the android device type for Firefox? | javascript|firefox-android | 1 | 2022-05-20T07:57:14.517Z | 2,022 | 5 | 7 | 4 | 35 | 1 | 259 | 60 | 2 | 0 | false | false | false | false | false | false | low |
72,315,460 | How to correctly scale and move an ImageView to an absolute position using ObjectAnimator | <p>I am trying to move an ImageView after scaling it down, but for some reason, the position does not match the destinated position. First I calculate the scaling factors and the difference between the new and old positions. Then I started the animation, but the ImageView moves to far to the left and to the bottom and ... | I am trying to move an ImageView after scaling it down, but for some reason, the position does not match the destinated position. First I calculate the scaling factors and the difference between the new and old positions. Then I started the animation, but the ImageView moves to far to the left and to the bottom and I h... | java|android|animation|view | 1 | 2022-05-20T07:59:13.837Z | 2,022 | 5 | 7 | 4 | 31 | 1 | 343 | 89 | 4 | 1 | true | false | false | false | false | false | low |
72,315,492 | some device showing "conflict'error when sign up from an app. cause behind it? | <p>Conflict comes only some time when sign up. When he comes to my office then it works fine on trying. But after going to home he faces same problem. Please let me know the reason behind it.</p> | Conflict comes only some time when sign up. When he comes to my office then it works fine on trying. But after going to home he faces same problem. Please let me know the reason behind it. | android|firebase|web-applications | 0 | 2022-05-20T08:02:12.800Z | 2,022 | 5 | 8 | 4 | 12 | 0 | 188 | 78 | 3 | 0 | false | true | false | false | false | false | zero |
72,315,614 | Android Geocoder returns an empty array as a response on Unit Testing | <p>I have implemented some unit tests using:</p>
<pre><code>testImplementation "junit:junit:4.13.2"
testImplementation "androidx.test:core-ktx:1.4.0"
testImplementation "org.robolectric:robolectric:4.8"
</code></pre>
<p>Here is the Unit Test code:</p>
<pre><code>@RunWith(RobolectricTestRun... | I have implemented some unit tests using: [CODE] Here is the Unit Test code: [CODE] And here is getLocationAddress(hex: Hex) function: [CODE] The issue is that: [CODE] Always returns an empty array as a response. How should I fix this? Does this happen because these tests are local unit tests so the only real solution ... | android|unit-testing|junit4|robolectric|google-geocoder | 0 | 2022-05-20T08:13:39.290Z | 2,022 | 5 | 8 | 4 | 20 | 0 | 405 | 69 | 5 | 4 | true | true | false | false | false | false | zero |
72,315,733 | Jetpack Compose wrong screen reader order when using Modifier.testTags | <p>I have an issue with screen reader and jetpack compose</p>
<p>Imagine following scenario:</p>
<p>I have 2 Composables, Home and Detail:</p>
<pre><code>@Composable
fun Home(navController: NavController) {
Column(
modifier = Modifier.testTag("hometag")
) {
Text("home1")
... | I have an issue with screen reader and jetpack compose Imagine following scenario: I have 2 Composables, Home and Detail: [CODE] The button in Home() just navigates to the Detail composable via compose navigation. When I use the app via Talkback and will click on the next button - the Detail screen gets opened. But ins... | android|accessibility|android-jetpack-compose|screen-readers|talkback | 2 | 2022-05-20T08:23:06.107Z | 2,022 | 5 | 8 | 4 | 173 | 0 | 827 | 70 | 5 | 2 | true | true | false | false | false | false | low |
72,315,818 | Pass Values to Webview From Intent | <p>How can i set the passed username, userphone , useremail and userpass from an android activity to the php form.
WebActivity.java</p>
<pre><code>public class WebViewActivity extends AppCompatActivity {
private WebView webView;
public static final String USER_PHONE = "userphoneKey";
public stat... | How can i set the passed username, userphone , useremail and userpass from an android activity to the php form. WebActivity.java [CODE] The form i want the username, userphone , useremail and userpass automatically set. login.php Form [CODE] | php|android|android-webview | 0 | 2022-05-20T08:30:27.697Z | 2,022 | 5 | 8 | 4 | 10 | 0 | 241 | 34 | 3 | 2 | true | true | false | false | false | false | zero |
72,315,822 | App Attest and Play Integrity Pricing quotes and where to find it | <p>App Attest and Play Integrity daily quote is 10,000 requests but I want to know how much would be if it reaches 100,000 or 1,000,000? I can't find it because it wants me to fill up the quote form. Just need rough estimate.</p> | App Attest and Play Integrity daily quote is 10,000 requests but I want to know how much would be if it reaches 100,000 or 1,000,000? I can't find it because it wants me to fill up the quote form. Just need rough estimate. | android|ios | 0 | 2022-05-20T08:30:40.740Z | 2,022 | 5 | 8 | 4 | 78 | 0 | 222 | 65 | 2 | 0 | false | true | false | false | false | false | zero |
72,315,882 | Create a collection inside users document: Cloud Firestore | <p>I'm trying to create an "Orders" collection inside the user document so that I can be able to get the orders that a specific user has made. This is what I tried:</p>
<pre><code>if(firebaseUser!=null){
String userID= firebaseUser.getUid();
DocumentReference userDoc= db.collection("users").... | I'm trying to create an "Orders" collection inside the user document so that I can be able to get the orders that a specific user has made. This is what I tried: [CODE] But it's creating the document in the users collection as opposed to creating it inside a document. What am I doing wrong? Here's my database... | android|firebase|google-cloud-firestore | 0 | 2022-05-20T08:35:19.747Z | 2,022 | 5 | 8 | 4 | 25 | 0 | 365 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
72,315,936 | Offline login only when a valid user login online | <p>I am developing an app. My goal is that user can login online and offline both, but for the first time user should login online enters their credentials (userid and password) and save the user's credentials when user is valid for offline mode(remote location where internet is not available). To check the credentials... | I am developing an app. My goal is that user can login online and offline both, but for the first time user should login online enters their credentials (userid and password) and save the user's credentials when user is valid for offline mode(remote location where internet is not available). To check the credentials I ... | android|authentication|android-sqlite|okhttp | 0 | 2022-05-20T08:38:56.723Z | 2,022 | 5 | 8 | 4 | 32 | 0 | 1,076 | 49 | 4 | 3 | true | true | false | false | false | false | zero |
72,316,053 | Android notifications not prompting on device, they show in silent section, (using FCM) | <p>I receive push notifications on my android app, but they are always in the silent section and when I am in a different app and a notifications comes through it does not show up like this</p>
<p><a href="https://i.stack.imgur.com/REsgd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/REsgd.png" alt=... | I receive push notifications on my android app, but they are always in the silent section and when I am in a different app and a notifications comes through it does not show up like this Only if i scroll from the top and look in the notifications section I find it in the silent section like this From code perspective, ... | android|firebase-cloud-messaging|android-notifications | 0 | 2022-05-20T08:47:16.250Z | 2,022 | 5 | 8 | 4 | 24 | 0 | 779 | 87 | 3 | 1 | true | true | false | false | false | false | zero |
72,316,077 | Why does the setTheme() function not work? | <p>I am making an android app and would like to implement a dark mode. Therefore, I have created a settings activity in which you can turn the dark mode on and off with the help of a toggle switch. The logic behind the switch works perfectly because I first implemented the whole thing with the help of a toggle switch. ... | I am making an android app and would like to implement a dark mode. Therefore, I have created a settings activity in which you can turn the dark mode on and off with the help of a toggle switch. The logic behind the switch works perfectly because I first implemented the whole thing with the help of a toggle switch. The... | java|android|xml | -1 | 2022-05-20T08:49:22.450Z | 2,022 | 5 | 8 | 4 | 42 | 1 | 779 | 42 | 3 | 1 | true | false | false | false | false | true | negative |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.