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,757,364 | Build failed with an exception using flutter flavors | <p><strong>When I use the Flutter flavor the app gets an error</strong></p>
<p>My <code>app/build.gradle</code></p>
<pre><code>android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility... | When I use the Flutter flavor the app gets an error My app/build.gradle [CODE] error throw in line 28 I Have already used Flutter doctor, it perfectly works on google chrome but it doesn't support mobile and emulator attach my errors I don't use any other firebase JSON files attach my project folder | flutter|gradle|android-productflavors | 0 | 2022-09-17T18:06:29.560Z | 2,022 | 9 | 18 | 5 | 23 | 0 | 300 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
73,757,366 | The APK file or Android app bundle must be signed with a certificate for now | <p>You've uploaded an APK file or Android App Bundle, one of which is signed with an invalid certificate yet. The APK file or Android App Bundle must be signed with a certificate that is currently valid. Learn more about signing files or packages
It's been two days and I've been trying to upload the app to Google Play ... | You've uploaded an APK file or Android App Bundle, one of which is signed with an invalid certificate yet. The APK file or Android App Bundle must be signed with a certificate that is currently valid. Learn more about signing files or packages It's been two days and I've been trying to upload the app to Google Play but... | android | 0 | 2022-09-17T18:06:33.820Z | 2,022 | 9 | 18 | 5 | 25 | 0 | 512 | 76 | 1 | 1 | true | true | false | false | false | false | zero |
73,757,450 | Manifest Merger failed with multiple errors, suggest solution does not work | <p>There are already many items on this topic and i have read a lot of them but without any succes.</p>
<p>In my Merged Menifest the following error</p>
<pre><code>Merging Errors:
Warning Package name 'android.support.graphics.drawable' used in: AndroidManifest.xml, AndroidManifest.xml.
animated-vector-drawable:28.0.... | There are already many items on this topic and i have read a lot of them but without any succes. In my Merged Menifest the following error [CODE] Now the warning annoy me but lets leave them for now. The error is the problem and i have no clue what the problem is. It suggests to add a "tools:replace..." but w... | android|android-manifest | 0 | 2022-09-17T18:18:25.113Z | 2,022 | 9 | 18 | 5 | 24 | 0 | 885 | 75 | 2 | 2 | true | true | false | false | false | false | zero |
73,757,473 | Android problem with class connected to response from API | <p>i messed up with some api.
For example im getting the response like:</p>
<pre><code>"items": [
{
"metalSymbol": "ABC",
"weightOverall": 4.529,
"weightPerKilo": 3.6
},
{
"metalSymbol": "CBA... | i messed up with some api. For example im getting the response like: [CODE] as you can see sometime the weightOverall and weightPerKilo is just a 0. My problem is that, i have the class file responds to this response but with Double variables. And always when i hit the item with 0 in some place im getting weird error. ... | android|request|retrofit2|response | -1 | 2022-09-17T18:21:38.367Z | 2,022 | 9 | 18 | 5 | 23 | 2 | 572 | 57 | 4 | 3 | true | false | false | false | false | true | negative |
73,757,614 | Send keyboard input to a specific app on Android? Java | <p>I want to send keyboard inputs to a specific app, mostly it will be tab presses.
Do you think this is possible? If so, how?</p>
<p>Note that <strong>Root Access is no problem</strong>.</p>
<p>I just need to make it press tab presses.
That's all.</p>
<p>It would send it to another Android app, that is not mine.</p> | I want to send keyboard inputs to a specific app, mostly it will be tab presses. Do you think this is possible? If so, how? Note that Root Access is no problem . I just need to make it press tab presses. That's all. It would send it to another Android app, that is not mine. | java|android|input|root|superuser | 0 | 2022-09-17T18:42:14.823Z | 2,022 | 9 | 18 | 5 | 21 | 0 | 274 | 54 | 5 | 0 | false | true | false | false | false | false | zero |
73,757,679 | android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: Model.uuuid (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY) | <p>I don't know how to share the code. That's why I'm sorry. The error is detailed in the picture. can you help me please? I'm getting this error when using the Kotlin room database</p>
<p><a href="https://i.stack.imgur.com/w6F2R.png" rel="nofollow noreferrer">enter image description here</a></p>
<p><a href="https://i.... | I don't know how to share the code. That's why I'm sorry. The error is detailed in the picture. can you help me please? I'm getting this error when using the Kotlin room database enter image description here enter image description here enter image description here enter image description here enter image description h... | android-studio|kotlin|android-room | -1 | 2022-09-17T18:54:59.947Z | 2,022 | 9 | 18 | 5 | 42 | 1 | 352 | 129 | 3 | 0 | false | false | false | false | false | true | negative |
73,757,761 | Xamarin forms background stay white | <p>I tried to change background in xamarin.Forms to gray for android, but it still stays white in my phone. Only in Simulator it is gray.
I directly set backgroundcolor Attribute in page xaml item and also in First stackpanel.</p> | I tried to change background in xamarin.Forms to gray for android, but it still stays white in my phone. Only in Simulator it is gray. I directly set backgroundcolor Attribute in page xaml item and also in First stackpanel. | c#|xamarin|xamarin.forms|xamarin.android|background | 0 | 2022-09-17T19:07:24.543Z | 2,022 | 9 | 19 | 5 | 22 | 0 | 223 | 35 | 5 | 0 | false | true | false | false | false | false | zero |
73,757,877 | After upgrading to Flutter 3.3.2. can not buld app due to 'open_file' plugin using a deprecated version of the Android embedding | <p>Upon upgrading to Flutter 3.3.2 I"m not able to build my application due to 'open_file' plugin using a deprecated version of Android embedding. Is there a way to migrate said plugin to Android V2 embedding as recommended in the below warning message? Or I have to downgrate to Flutter 2.x.x?</p>
<pre><code>The ... | Upon upgrading to Flutter 3.3.2 I"m not able to build my application due to 'open_file' plugin using a deprecated version of Android embedding. Is there a way to migrate said plugin to Android V2 embedding as recommended in the below warning message? Or I have to downgrate to Flutter 2.x.x? [CODE] Flutter doctor o... | android|flutter | 0 | 2022-09-17T19:25:06.257Z | 2,022 | 9 | 19 | 5 | 122 | 2 | 332 | 128 | 2 | 2 | true | false | false | false | false | false | zero |
73,757,886 | NO SCREEN ANDROID - BOOT into recovery mode | <p>Hi guys I am trying to follow this tutorial: <a href="https://forum.xda-developers.com/t/bypass-secure-usb-debugging-prompt-on-phone-with-broken-screen.2965462/#post-72808986" rel="nofollow noreferrer">https://forum.xda-developers.com/t/bypass-secure-usb-debugging-prompt-on-phone-with-broken-screen.2965462/#post-728... | Hi guys I am trying to follow this tutorial: https://forum.xda-developers.com/t/bypass-secure-usb-debugging-prompt-on-phone-with-broken-screen.2965462/#post-72808986 . Can anyone tell me how to boot my android device into recovery mode WHEN IT DOES NOT HAVE A SCREEN fixed? It broke sometime ago. I have a 2017 J5 PRO, i... | android|adb | 0 | 2022-09-17T19:26:46.120Z | 2,022 | 9 | 19 | 5 | 16 | 0 | 381 | 43 | 2 | 0 | false | true | false | false | false | false | zero |
73,757,900 | Microsfot app (oneNote) not compatible with mobile device , even technically has enough android version | <ul>
<li>App : Microsfot oneNote</li>
<li>tecnically requirements : Android 6.0+</li>
</ul>
<p>And</p>
<ul>
<li>Mobile: Samsung Galaxy Note Edge (N91FY)</li>
<li>Android dVersion 6.0.1 (last update seems to be 2021.02.23)</li>
</ul>
<p>Matematically 6.0.1 > 6.0+ , isnt it?</p>
<p>On PlayStore: app doesn't show, if e... | App : Microsfot oneNote tecnically requirements : Android 6.0+ And Mobile: Samsung Galaxy Note Edge (N91FY) Android dVersion 6.0.1 (last update seems to be 2021.02.23) Matematically 6.0.1 > 6.0+ , isnt it? On PlayStore: app doesn't show, if enter from link: -> Your device isn't compatible with this version. - PlayProte... | android|onenote | -1 | 2022-09-17T19:28:20.707Z | 2,022 | 9 | 19 | 5 | 14 | 0 | 731 | 103 | 2 | 0 | false | true | false | false | false | true | negative |
73,757,904 | FCM working in emulator, but not on real device | <p>Main Activity</p>
<pre><code>package com.example.pone
import android.content.ContentValues.TAG
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.TextUtils
import android.util.Log
import com.google.firebase.messaging.FirebaseMessaging
import c... | Main Activity [CODE] Firebase Service Class [CODE] PushNotification Data Class [CODE] NotificationAPI interface [CODE] Notification Data Class [CODE] RetroFitIntance class [CODE] Constants [CODE] I am receiving messages on emulator but not real device. I am able to send messages to emulator from real device but not rec... | android|firebase|kotlin|firebase-cloud-messaging | 0 | 2022-09-17T19:28:52.087Z | 2,022 | 9 | 19 | 5 | 38 | 2 | 448 | 47 | 4 | 8 | true | false | false | false | false | false | zero |
73,757,929 | cant resolve symbols settings.gradle - Android Studio | <p>I started by creating a project and I'm trying to use liquid-swipe , I put the appropriate code according to the guide (in the settings.gradle file).</p>
<p>I get an error that I can't solve and I haven't seen a suitable solution (I saw in Flutter that this is a common problem but the solution doesn't work for me)</... | I started by creating a project and I'm trying to use liquid-swipe , I put the appropriate code according to the guide (in the settings.gradle file). I get an error that I can't solve and I haven't seen a suitable solution (I saw in Flutter that this is a common problem but the solution doesn't work for me) When I try ... | android|android-studio|gradle|build.gradle|android-library | 0 | 2022-09-17T19:31:25.050Z | 2,022 | 9 | 19 | 5 | 41 | 0 | 542 | 53 | 5 | 1 | true | true | false | false | false | false | zero |
73,757,965 | Remove "unnamed road" from geocoder result | <p>How do I Remove "unnamed road" from geocoder results? I want this to apply to all languages, not just English</p>
<p>Current code returns unnamed road in other languages such as German ("unbenannte Straße")</p>
<pre><code>val geocoder = Geocoder(this, Locale.ENGLISH)
val addresses: List<Addres... | How do I Remove "unnamed road" from geocoder results? I want this to apply to all languages, not just English Current code returns unnamed road in other languages such as German ("unbenannte Straße") [CODE] | android|kotlin|google-geocoder | 0 | 2022-09-17T19:38:05.323Z | 2,022 | 9 | 19 | 5 | 22 | 1 | 226 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
73,758,298 | Android - VectorDrawable to Bitmap without antialiasing | <p>I'm trying to convert a <code>VectorDrawable</code> into a <code>Bitmap</code>, by doing the following:</p>
<pre><code> public static Bitmap vectorToBitmap(VectorDrawableCompat vector) {
if (vector == null) {
return null;
}
int w = vector.getIntrinsicWidth();
int h = ve... | I'm trying to convert a VectorDrawable into a Bitmap , by doing the following: [CODE] It works, but the issue is, even when disabling all sorts of antialiasing, the final Bitmap still has it. As a proof example, I only used two colors in a certain SVG, but when the file was converted, my program detected dozens of diff... | android|bitmap|antialiasing|android-vectordrawable | 0 | 2022-09-17T20:26:48.620Z | 2,022 | 9 | 20 | 5 | 29 | 0 | 1,664 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,758,389 | How to pause a timer Object in Kotlin | <p>I use this fragment of code in an activity to display a timer countdown:</p>
<pre><code>//SET COUNTDOWN TIMER in onCreate()
//var tempo is a :Long number
var textView = findViewById<TextView>(R.id.countdownTimer)
object : CountDownTimer(tempo, 1000) {
override fun onTick(milli... | I use this fragment of code in an activity to display a timer countdown: [CODE] If possible I'd like to implement the possibility to pause this CountDownTimer in onBackPressed() and resume it again? [CODE] My idea would be to edit var tempo differentitate it everytime OnBackPressed and copy the section of this 1st code... | android|kotlin|android-activity|time|android-lifecycle | 0 | 2022-09-17T20:42:04.177Z | 2,022 | 9 | 20 | 5 | 28 | 1 | 440 | 37 | 5 | 2 | true | false | false | false | false | false | zero |
73,758,511 | Android setOnItemSelectedListener (spinner) inside a CustomListViewAdapter | <p>I'm going to try and explain what I want to achieve.
So I currently have a customlistviewadapter, each row can have a different view.
The user will then click on any row to change the value of that specific row. When the user clicks on a row, then an alert dialog pops up where the content of that row can be changed,... | I'm going to try and explain what I want to achieve. So I currently have a customlistviewadapter, each row can have a different view. The user will then click on any row to change the value of that specific row. When the user clicks on a row, then an alert dialog pops up where the content of that row can be changed, wh... | java|android-spinner | 0 | 2022-09-17T21:03:13.027Z | 2,022 | 9 | 21 | 5 | 18 | 0 | 2,214 | 74 | 2 | 1 | true | true | false | false | false | false | zero |
73,758,622 | How to change the Default value of a variable after some time? | <p>Is it possible in KOTLIN or by remember in Jetpack Compose to change the value of a variable after some seconds?</p>
<p>For example, I have a variable <code>var currentResult1 = remember { mutableStateOf(true) }</code>.
How can I say that after my activity opens, this currentResult1.value change to false after 1 sec... | Is it possible in KOTLIN or by remember in Jetpack Compose to change the value of a variable after some seconds? For example, I have a variable var currentResult1 = remember { mutableStateOf(true) } . How can I say that after my activity opens, this currentResult1.value change to false after 1 second? | kotlin|android-jetpack-compose|android-jetpack|jetpack | 0 | 2022-09-17T21:23:39.257Z | 2,022 | 9 | 21 | 5 | 26 | 1 | 302 | 62 | 4 | 0 | false | false | false | false | false | false | zero |
73,758,671 | How to make SearchView always on top in NestedScrollView? | <p>I need to fix the place of searchView to the top. Even if user scrolls searchView must stay on the top. My xml is like that:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"... | I need to fix the place of searchView to the top. Even if user scrolls searchView must stay on the top. My xml is like that: [CODE] How can I implement a solution for this? I tried it with toolbar but I don't know if it's right to do that in a fragment. (This is a fragment's layout and I'm on Kotlin) | android|xml|kotlin | 0 | 2022-09-17T21:31:03.777Z | 2,022 | 9 | 21 | 5 | 13 | 0 | 301 | 57 | 3 | 1 | true | true | false | false | false | false | zero |
73,758,694 | onDataChange() method not working even though everything is setup correctly (the model class , DB connection and adapter) | <p>The Adapter is working perfectly for the fact that i have tested it with a manually created list
, but when debugging the onDataChange() is never entered.</p>
<p>Here's where I attach the event listener :</p>
<pre><code>//The initialized list to test the adapter:
list = new ArrayList<Worker>(Arrays.asList(
... | The Adapter is working perfectly for the fact that i have tested it with a manually created list , but when debugging the onDataChange() is never entered. Here's where I attach the event listener : [CODE] dependencies : [CODE] My database and model class look like the following : [CODE] Model class: public class Worker... | java|android|firebase-realtime-database | 0 | 2022-09-17T21:34:50.740Z | 2,022 | 9 | 21 | 5 | 41 | 0 | 813 | 121 | 3 | 4 | true | true | false | false | false | false | zero |
73,758,761 | How to create a nested recycler view from Firestore document lists with two document items field values as Titles to the nested Recycler view | <p>I have an object class named Orders and want to create a nested recycler view where items' Phone number and Date timestamp as their titles of the nested recyclerview to only display documents list stored by a particular phone number at a specific timestamp value respectively. What method should I use in java, partic... | I have an object class named Orders and want to create a nested recycler view where items' Phone number and Date timestamp as their titles of the nested recyclerview to only display documents list stored by a particular phone number at a specific timestamp value respectively. What method should I use in java, particula... | java|android|arrays|android-recyclerview | 0 | 2022-09-17T21:46:52.780Z | 2,022 | 9 | 21 | 5 | 11 | 0 | 405 | 141 | 4 | 0 | false | true | false | false | false | false | zero |
73,758,848 | Why do the rounded corners of a card view dissapear when using Material transitions? | <p>I use Material transitions when switching between fragments, in this case a SharedZAxisTransition, but my problem is that if an image is wrapped inside a cardview, the corners of that cardview somehow dissapear as soon as the transition starts. <a href="https://i.stack.imgur.com/tGwoT.jpg" rel="nofollow noreferrer"... | I use Material transitions when switching between fragments, in this case a SharedZAxisTransition, but my problem is that if an image is wrapped inside a cardview, the corners of that cardview somehow dissapear as soon as the transition starts. image I don't know why that is happening, i've been struggeling with this f... | android|material-design|rounded-corners|android-transitions|cardview | 0 | 2022-09-17T22:03:43.327Z | 2,022 | 9 | 22 | 5 | 15 | 1 | 345 | 84 | 5 | 0 | false | false | false | false | false | false | zero |
73,758,853 | Change an ImageView height in Android Studio | <p>I have an app I am building in Android Studio. I get a value from MQTT and want to use the value to change the height of an imageView.
My imageView is</p>
<pre><code>val imagea = view.findViewById<ImageView>(R.id.imageView2)
</code></pre>
<p>and the value I get from my MQTT feed is</p>
<pre><code>val msgl = &... | I have an app I am building in Android Studio. I get a value from MQTT and want to use the value to change the height of an imageView. My imageView is [CODE] and the value I get from my MQTT feed is [CODE] How can I change the string to a int and then how do I change the height of the imageView2? | string|android-studio|integer|imageview | 0 | 2022-09-17T22:04:29.113Z | 2,022 | 9 | 22 | 5 | 11 | 1 | 297 | 44 | 4 | 2 | true | false | false | false | false | false | zero |
73,758,893 | Write file with root access in Android Java? | <p>Is it possible to write to places like /, /system/, etc. Just paths you wouldn't normally be able to without root.</p>
<p>I have Root Access on my device, so rooting is no problem.</p>
<p>How would I be able to make this script ask for su permissions and write to any locations with no problems like access denied?</p... | Is it possible to write to places like /, /system/, etc. Just paths you wouldn't normally be able to without root. I have Root Access on my device, so rooting is no problem. How would I be able to make this script ask for su permissions and write to any locations with no problems like access denied? [CODE] | java|android|file|web | 0 | 2022-09-17T22:12:52.953Z | 2,022 | 9 | 22 | 5 | 20 | 0 | 307 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
73,758,916 | android emulator becomes unusable after swiping without clicking, only cursor movements | <p>On Ubuntu, after opening my docked laptop screen to use the camera, and changing the setting to connect the emulator camera to my webcam.</p>
<p>Now the emulator is unusable because interacting with it using the mouse becomes impossible due to it swiping on simple cursor movements (no clicking).</p>
<p>This means si... | On Ubuntu, after opening my docked laptop screen to use the camera, and changing the setting to connect the emulator camera to my webcam. Now the emulator is unusable because interacting with it using the mouse becomes impossible due to it swiping on simple cursor movements (no clicking). This means simply moving the c... | ubuntu|android-emulator | 0 | 2022-09-17T22:18:20.060Z | 2,022 | 9 | 22 | 5 | 8 | 1 | 477 | 87 | 2 | 0 | false | false | false | false | false | false | zero |
73,759,026 | How to open a video file from the device and extract frames in android studio (java + opencv) | <p>I am working on a project which includes opening a video from the device local storage and extract some frames from it.I am new to android studio. I have searched solution for this problem but couldn't find any. Can any one help</p> | I am working on a project which includes opening a video from the device local storage and extract some frames from it.I am new to android studio. I have searched solution for this problem but couldn't find any. Can any one help | java|android|opencv | 0 | 2022-09-17T22:46:53.640Z | 2,022 | 9 | 22 | 5 | 25 | 0 | 228 | 93 | 3 | 0 | false | true | false | false | false | false | zero |
73,759,106 | Does the phone need to be rooted to use libimobiledevice on android? | <p>I want to connect android and iphone. How can I do this on a non-rooted phone?
I've been working on this for a while. But usbmuxd is not starting on android. After some research, I found that the phone must be rooted. Does the phone need to be rooted? If necessary, how can I get around this and run it on a non-roote... | I want to connect android and iphone. How can I do this on a non-rooted phone? I've been working on this for a while. But usbmuxd is not starting on android. After some research, I found that the phone must be rooted. Does the phone need to be rooted? If necessary, how can I get around this and run it on a non-rooted p... | android|virtual-machine|libusb|rooted-device|libimobiledevice | 0 | 2022-09-17T23:09:35.333Z | 2,022 | 9 | 23 | 5 | 18 | 0 | 370 | 68 | 5 | 0 | false | true | false | false | false | false | zero |
73,759,204 | Kotlin failed to start emulator - ViewModel issue | <p>Hello I am trying to run a BMI calculator with a ViewModel, yet I haven't had a successful run. I am new to coding in kotlin and android studio. Any help would be much appreciated. I am hoping it is just a small bug. I think the issue lies in the ViewModel code yet, I am un sure. As in my logcat is
Caused by: kotlin... | Hello I am trying to run a BMI calculator with a ViewModel, yet I haven't had a successful run. I am new to coding in kotlin and android studio. Any help would be much appreciated. I am hoping it is just a small bug. I think the issue lies in the ViewModel code yet, I am un sure. As in my logcat is Caused by: kotlin.Un... | android|kotlin|android-viewmodel | 0 | 2022-09-17T23:38:01.350Z | 2,022 | 9 | 23 | 5 | 29 | 1 | 450 | 49 | 3 | 2 | true | false | false | false | false | false | zero |
73,759,282 | Getting OpenGL camera forward vector from Android ensors | <p>How can I get a <strong>direction vector</strong> representing the direction the back of the device is pointing <strong>relative to world coordinates</strong> from sensor data?</p>
<p>Registering for events:</p>
<pre><code>fun attach() {
sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER)?.let {
se... | How can I get a direction vector representing the direction the back of the device is pointing relative to world coordinates from sensor data? Registering for events: [CODE] Storing values: [CODE] Updating the direction in native code: [CODE] I am trying to grab the rotation matrix according to sensors, and then I am t... | android|accelerometer|sensors|virtual-reality | 0 | 2022-09-18T00:03:06.380Z | 2,022 | 9 | 0 | 6 | 29 | 0 | 553 | 56 | 4 | 3 | true | true | false | false | false | false | zero |
73,759,283 | I have files on a usb drive that I want to access via html on an adroid tablet | <p>I have an recipe.html app that is on a usb drive. It has two folders that contain recipes and videos. I plug the usb drive into my Galaxy tablet and the html open fine but it can't find the files residing in the picture and videos folders. My question is how do I specify the file paths in the html file so they can... | I have an recipe.html app that is on a usb drive. It has two folders that contain recipes and videos. I plug the usb drive into my Galaxy tablet and the html open fine but it can't find the files residing in the picture and videos folders. My question is how do I specify the file paths in the html file so they can be a... | android|html | 0 | 2022-09-18T00:03:47.377Z | 2,022 | 9 | 0 | 6 | 20 | 0 | 371 | 78 | 2 | 1 | true | true | false | false | false | false | zero |
73,759,330 | ADB "install-multiple" Unknown command: install-multiple | <p>I'm trying to simply install a multi-apk app on my non-rooted Samsung tablet via ADB, I think I'm not doing something right.</p>
<p>I first made sure my device was connected/authorized when using ADB. Then, I successfully pushed the apks to <code>/sdcard/</code>:</p>
<pre><code>adb push E:\PopupFactory2\. /sdcard/
... | I'm trying to simply install a multi-apk app on my non-rooted Samsung tablet via ADB, I think I'm not doing something right. I first made sure my device was connected/authorized when using ADB. Then, I successfully pushed the apks to /sdcard/ : [CODE] Then, I tried installing using -r and -d switches (to install an old... | android|adb | 0 | 2022-09-18T00:16:05.927Z | 2,022 | 9 | 0 | 6 | 26 | 0 | 861 | 56 | 2 | 2 | true | true | false | false | false | false | zero |
73,759,331 | How to rewrite DocumentFile completely | <p>I want to open/create a document file and rewrite it completely if it exists.<br />
Using <a href="https://stackoverflow.com/questions/51855122/how-to-rewrite-documentfile">How to rewrite DocumentFile</a> does not help (at least in API 32). In fact,<br />
OutputStream os = getContentResolver().openOutputStream(docum... | I want to open/create a document file and rewrite it completely if it exists. Using How to rewrite DocumentFile does not help (at least in API 32). In fact, OutputStream os = getContentResolver().openOutputStream(documentFile.getUri(), "w"); does not clear the rest of the file if the new stream is shorter. An... | android|outputstream|documentfile | 0 | 2022-09-18T00:16:20.163Z | 2,022 | 9 | 0 | 6 | 27 | 1 | 637 | 38 | 3 | 0 | false | false | false | false | false | false | zero |
73,759,339 | Android runtime language changes not working when language is not present in the Add a language section | <p>I am attempting to change my app language locally using the following code. If English and French are present in the <strong>Add a language</strong> of my phone's Settings, and then go into my app and change the language, the language change is successful, but if I remove the language from the <strong>Add a language... | I am attempting to change my app language locally using the following code. If English and French are present in the Add a language of my phone's Settings, and then go into my app and change the language, the language change is successful, but if I remove the language from the Add a language in the phone's settings, th... | android|kotlin|localization|internationalization | 1 | 2022-09-18T00:18:33.563Z | 2,022 | 9 | 0 | 6 | 41 | 0 | 1,032 | 103 | 4 | 3 | true | true | false | false | false | false | low |
73,759,463 | App keep crashing (Login function is used) | <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>--------- beginning of system
--------- beginning of main
--------- beginning of crash
09-19 18:33:08.542 8788 8788 E AndroidRunti... | [CODE] [CODE] I'm currently working on a login and sign up app (PHP backend). After dragging the function"logIn()" and the list of edit text and buttons are inside "onCreate" function, the app crashes. On the Logcat, the error indicates that it starts from line 42. After cutting and pasting line 42 ... | java|android | 0 | 2022-09-18T01:00:45.833Z | 2,022 | 9 | 1 | 6 | 51 | 2 | 838 | 42 | 2 | 3 | true | false | false | false | false | false | zero |
73,759,516 | How to prevent initial onFocus trigger on TextField during first composition | <p>Is there any way I can prevent <code>onFocus</code> trigger during the initial laying out of a composition?,</p>
<pre><code>.onFocusChanged {
// initial pass triggers un-necessary onFocus callback with just `false` values
Log.e("TextFieldFocusChanged", "${it.isFocused} : ${it.hasFocus}")
}... | Is there any way I can prevent onFocus trigger during the initial laying out of a composition?, [CODE] I have found this Google issue tracker that seems related to such behavior, though the issue is not exactly related to an initial pass of a composition. This thing can be solved by specifying some boolean flag dependi... | focus|android-jetpack-compose|textfield|onfocus|onfocuschangelistener | 0 | 2022-09-18T01:19:35.673Z | 2,022 | 9 | 1 | 6 | 23 | 1 | 548 | 76 | 5 | 1 | true | false | false | false | false | false | zero |
73,759,519 | convert boolean value into MutableLiveData<Boolean> | <pre><code>var booleanresult : MutableLiveData<Boolean>? = null
fun checksubcat() = viewModelScope.launch(Dispatchers.IO) {
val trueorfalse : Boolean = productsDao.getSubCatId(subcat_id)
booleanresult?.value = trueorfalse
Log.e("update","view model"+booleanresult?.value.toString()... | [CODE] Log value for trueorfalse variable : 2022-09-18 06:58:32.305 11820-11849/com.store.pasumainew E/update: trueorfalse : false I got log value of null for booleanresult: 2022-09-18 06:58:32.305 11820-11849/com.store.pasumainew E/update: booleanresult : null I need booleanresult as MutableLiveData ..how to set trueo... | kotlin|data-structures|viewmodel|android-livedata|mutablelivedata | 0 | 2022-09-18T01:20:35.787Z | 2,022 | 9 | 1 | 6 | 23 | 1 | 351 | 51 | 5 | 1 | true | false | false | false | false | false | zero |
73,759,577 | Is it okay to filter firebase data using conditions? Will it affect the speed and accuracy of Firebase realtime database? | <p>Example:</p>
<pre><code>final String campus = "BISU Calape";
private ValueEventListener valueEventListener = new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot snapshot) {
facultyList.clear();
for(DataSnapshot dataSnapshot : snapsho... | Example: [CODE] This code is working so far, but what if this code will have to fetch/filter millions of records? | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-09-18T01:36:36.433Z | 2,022 | 9 | 1 | 6 | 34 | 1 | 113 | 121 | 5 | 1 | true | false | false | false | false | false | zero |
73,759,646 | How to decode android app bundle .pb files | <p>I've found that to decode files like manifest is as simple as:
protoc --decode=aapt.pb.XmlNode Resources.proto < AndroidManifest.xml > output.txt</p>
<p>What im looking for is what would be proto message to decode other files, specifically BundleConfig.pb
Cant manage to find out how to decode this file.</p> | I've found that to decode files like manifest is as simple as: protoc --decode=aapt.pb.XmlNode Resources.proto < AndroidManifest.xml > output.txt What im looking for is what would be proto message to decode other files, specifically BundleConfig.pb Cant manage to find out how to decode this file. | android|apk|protocol-buffers|android-app-bundle | 0 | 2022-09-18T02:00:00.780Z | 2,022 | 9 | 2 | 6 | 23 | 1 | 297 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
73,759,666 | How to get FPS of a video in openCV in android studio | <p>I want extract the frames from a video. When I try to find the FPS, using the below code in android studio, it gives me the following output.</p>
<pre><code>filePath = "/storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20220917-WA0000.mp4";
VideoCapture videocapture = new Vi... | I want extract the frames from a video. When I try to find the FPS, using the below code in android studio, it gives me the following output. [CODE] why it gives FPS = 0. What is the problem in my code ? | java|android-studio|opencv | 0 | 2022-09-18T02:08:12.573Z | 2,022 | 9 | 2 | 6 | 16 | 0 | 203 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
73,759,709 | List divider paired with subheaders to identify grouped content | <p>Does anyone know how to implement a material solution for a list with subheader and group dividers as shown in the Material Design guidelines for dividers <a href="https://material.io/components/dividers#types:%7E:text=above%20a%20subheader-,Dividers%20with%20subheaders,-Dividers%20can%20be" rel="nofollow noreferrer... | Does anyone know how to implement a material solution for a list with subheader and group dividers as shown in the Material Design guidelines for dividers here ? The material guidelines suggests that MaterialDivider supports the divider portion of the problem: "The MaterialDivider is a view that can be used in lay... | java|android|xml|material-components-android|divider | 0 | 2022-09-18T02:18:39.353Z | 2,022 | 9 | 2 | 6 | 21 | 0 | 880 | 63 | 5 | 0 | false | true | false | false | false | false | zero |
73,759,810 | How can i clear my recyclerView data? I have tried a lot of stuff from same type of questions but nothing has helped me | <p><strong>Search Movies Fragment</strong></p>
<pre><code>package com.example.moviemania.views
import android.os.Binder
import android.os.Bundle
import android.text.Editabl
import android.text.TextWatcher
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.vi... | Search Movies Fragment [CODE] MovieAdapter [CODE] I want that when the response result is available meaning that the searched movie does not exist the recyclerview should clear and the screen should be empty. Currently in this scenario it is displaying only the toast but the last successful search data still shows on s... | android|android-fragments|android-recyclerview | 0 | 2022-09-18T02:50:00.303Z | 2,022 | 9 | 2 | 6 | 19 | 1 | 387 | 119 | 3 | 2 | true | false | false | false | false | false | zero |
73,759,840 | When I use retrofit2, the app is just shut down | <p>I used retrofit2 to call API. But, when I called it, my app was just shut down. There are not errors in the Logcat. I googled it, but there is not a solution.
And Retrofit2 and converter-gson version is 2.9.0. I set internet permission in AndroidManifest.xml</p>
<p><strong>MainActivity.kt</strong></p>
<pre><code>pri... | I used retrofit2 to call API. But, when I called it, my app was just shut down. There are not errors in the Logcat. I googled it, but there is not a solution. And Retrofit2 and converter-gson version is 2.9.0. I set internet permission in AndroidManifest.xml MainActivity.kt [CODE] Interface.kt [CODE] Youtube Video | android|kotlin|retrofit|retrofit2 | 0 | 2022-09-18T02:58:54.990Z | 2,022 | 9 | 2 | 6 | 43 | 1 | 315 | 47 | 4 | 2 | true | false | false | false | false | false | zero |
73,759,944 | How to open [Wireless Debugging] of the [Developer Options] by just one touch from the [Home Page]? | <p>Usually, you need to firstly open [Settings], then scroll the setting list to find the [Developer options], scroll the list again and find the [Wireless debugging] if you intend to use the [Wireless debugging].
That's just too many steps. Now, I want to enter the [Wireless debugging] option by just one click one an ... | Usually, you need to firstly open [Settings], then scroll the setting list to find the [Developer options], scroll the list again and find the [Wireless debugging] if you intend to use the [Wireless debugging]. That's just too many steps. Now, I want to enter the [Wireless debugging] option by just one click one an ico... | android | -1 | 2022-09-18T03:28:20.053Z | 2,022 | 9 | 3 | 6 | 13 | 0 | 359 | 99 | 1 | 0 | false | true | false | false | false | true | negative |
73,759,968 | How to force Android app bundle to install all ABIs in google play? | <p>Need to disable split by abis when installed by google play, app is not built using gradle, we build it using apktool.
Basically I need all abis to be downloaded from googleplay.</p> | Need to disable split by abis when installed by google play, app is not built using gradle, we build it using apktool. Basically I need all abis to be downloaded from googleplay. | android|google-play|apk|android-app-bundle | 0 | 2022-09-18T03:38:27.333Z | 2,022 | 9 | 3 | 6 | 30 | 0 | 178 | 67 | 4 | 0 | false | true | false | false | false | false | zero |
73,760,038 | Pdf viewer in android studio | <p>I implemented the (implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1') and (implementation 'com.github.barteksc:android-pdf-viewer:2.8.2') following dependencies in android studio (build.gradle) and synced it, but it didn't appear in the activity_main.xml file, how to fix this? or someone give me t... | I implemented the (implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1') and (implementation 'com.github.barteksc:android-pdf-viewer:2.8.2') following dependencies in android studio (build.gradle) and synced it, but it didn't appear in the activity_main.xml file, how to fix this? or someone give me the ... | java|android-studio|pdfbox|pdfview|androidpdfviewer | 0 | 2022-09-18T04:02:09.993Z | 2,022 | 9 | 4 | 6 | 21 | 0 | 358 | 28 | 5 | 0 | false | true | false | false | false | false | zero |
73,760,049 | Android speech-recognition lag (Motorola) | <p>I've had NO PROBLEMS with speech recognition for the last year. All of a sudden, it started to lag and even stop in the middle of a sentence. I have to keep restarting it. Can someone answer this in simple language, as I am not tech-savvy.</p>
<p>Note: I had to restart the speech recognition 6 times in the paragraph... | I've had NO PROBLEMS with speech recognition for the last year. All of a sudden, it started to lag and even stop in the middle of a sentence. I have to keep restarting it. Can someone answer this in simple language, as I am not tech-savvy. Note: I had to restart the speech recognition 6 times in the paragraph above. Th... | android|speech-recognition|lag | 0 | 2022-09-18T04:03:41.703Z | 2,022 | 9 | 4 | 6 | 14 | 0 | 426 | 41 | 3 | 0 | false | true | false | false | false | false | zero |
73,760,121 | No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() in Flutter | <p>I am using the <code>web (Chrome)</code> to run my application. But, I get an error. Here is the error:</p>
<pre><code>══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following FirebaseException was thrown building App(dirty, dependencies:
[UncontrolledProvide... | I am using the web (Chrome) to run my application. But, I get an error. Here is the error: [CODE] I initialized Firebase in the main() method after WidgetsFlutterBinding.ensureInitialized() like this: [CODE] I never get this error when I run my app with Android Emulator . How can I fix this error? Appreciate if someone... | android|flutter|firebase|dart|google-cloud-firestore | 0 | 2022-09-18T04:26:41.237Z | 2,022 | 9 | 4 | 6 | 65 | 1 | 354 | 87 | 5 | 2 | true | false | false | false | false | false | zero |
73,760,166 | Whats wrong with my h264 MediaCodec implementation? | <p>I'm pulling video from a drone that encodes the video stream in h264. It sends each NAL unit via 1-5 UDP packets. I have code that creates a NAL unit out of those packets and removes the header. It then passes it to MediaCodec which then passes it to a Surface object</p>
<p>The output should be a video feed but for ... | I'm pulling video from a drone that encodes the video stream in h264. It sends each NAL unit via 1-5 UDP packets. I have code that creates a NAL unit out of those packets and removes the header. It then passes it to MediaCodec which then passes it to a Surface object The output should be a video feed but for some reaso... | android|h.264|android-mediacodec | 2 | 2022-09-18T04:41:48.527Z | 2,022 | 9 | 4 | 6 | 31 | 0 | 698 | 51 | 3 | 1 | true | true | false | false | false | false | low |
73,760,168 | ActivityResultLauncher GetContent() pass IP that I want the file to be uploaded to? | <p>Using below: (Mentioned <a href="https://stackoverflow.com/a/68824887/4050083">here</a>):</p>
<pre><code>ActivityResultLauncher<String> imageActivityResultLauncher = registerForActivityResult(
new ActivityResultContracts.GetContent(),
uri ->
//do something with uri (t... | Using below: (Mentioned here ): [CODE] and: [CODE] trying to select and upload a file. How can I pass the IP address that I want the file to be uploaded to and is specific for each request? Thanks in advance... | java|android|startactivityforresult|getcontent | 0 | 2022-09-18T04:42:05.617Z | 2,022 | 9 | 4 | 6 | 24 | 0 | 210 | 83 | 4 | 2 | true | true | false | false | false | false | zero |
73,760,276 | How can I remove the status bar in android studio? | <p>So basically I want to remove the status bar of my app and I've found no solution. I don't want to make my app fullscreen I just want that part to be transparent and have more space for my app. I tried changing the color of the status bar to transparent but nothing works. Any help would be appreciated! I will attach... | So basically I want to remove the status bar of my app and I've found no solution. I don't want to make my app fullscreen I just want that part to be transparent and have more space for my app. I tried changing the color of the status bar to transparent but nothing works. Any help would be appreciated! I will attach a ... | android|kotlin | 1 | 2022-09-18T05:15:07.243Z | 2,022 | 9 | 5 | 6 | 39 | 2 | 418 | 50 | 2 | 0 | false | false | false | false | false | false | low |
73,760,463 | Get user's current location in Jetpack Compose Android | <p><em><strong>Intention:</strong></em>
I am trying to get user's current location after user grants (coarse/fine)location permission. I am using jetpack compose accompanist lib to manager permission.</p>
<p>So when user grants the permission, am using <code>getCurrentLocation</code> of FusedLocationProviderClient to g... | Intention: I am trying to get user's current location after user grants (coarse/fine)location permission. I am using jetpack compose accompanist lib to manager permission. So when user grants the permission, am using getCurrentLocation of FusedLocationProviderClient to get the location object, and fetching lat lang fro... | android|kotlin|android-jetpack-compose|android-fusedlocation|jetpack-compose-accompanist | 0 | 2022-09-18T06:03:50.057Z | 2,022 | 9 | 6 | 6 | 48 | 1 | 495 | 54 | 5 | 2 | true | false | false | false | false | false | zero |
73,760,529 | I'm getting cmake error while installing termuxa opencv | <pre><code>CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:49 (message):
Android SDK: specify path to Android SDK via ANDROID_SDK_ROOT /
ANDROID_HOME / ANDROID_SDK variables
Call Stack (most recent call first):
cmake/android/OpenCVDetectAndroidSDK.cmake:172 (ocv_detect_android_sdk)
CMakeLists.txt:761 ... | [CODE] I will install opencv on termux, but I get such an error, how can I solve it during configuration? If my configuration is [CODE] | python|android|numpy|opencv|cmake | 0 | 2022-09-18T06:18:21.140Z | 2,022 | 9 | 6 | 6 | 29 | 0 | 135 | 55 | 5 | 2 | true | true | false | false | false | false | zero |
73,760,535 | Binding native Android (and iOS) libraries in MAUI | <p>We are working on an Android and iOS (but we want to just get Android working for now) application that needs to rely on some native drivers (.so, .a and some .ini files). The company providing those drivers also provides a Xamarin project to showcase how the drivers are used. They seem to be storing those driver an... | We are working on an Android and iOS (but we want to just get Android working for now) application that needs to rely on some native drivers (.so, .a and some .ini files). The company providing those drivers also provides a Xamarin project to showcase how the drivers are used. They seem to be storing those driver and o... | android|.net|xamarin|xamarin.android|maui | 0 | 2022-09-18T06:19:48.037Z | 2,022 | 9 | 6 | 6 | 43 | 0 | 1,432 | 50 | 5 | 1 | true | true | false | false | false | false | zero |
73,760,560 | Build Gradle Errors - API data issue - Kotlin - Android | <p>Please help!</p>
<p>defaultConfig, buildTypes, and composeOptions are throwing these errors:</p>
<blockquote>
<ul>
<li>public open val defaultConfig: [Error type: Unresolved type for DefaultConfig]</li>
<li>public open val buildTypes: [Error type: Unresolved type for NamedDomainObjectContainer ]<[Error type: Unre... | Please help! defaultConfig, buildTypes, and composeOptions are throwing these errors: public open val defaultConfig: [Error type: Unresolved type for DefaultConfig] public open val buildTypes: [Error type: Unresolved type for NamedDomainObjectContainer ]<[Error type: Unresolved type for BuildType]> public open val comp... | android|android-studio|kotlin|build.gradle|kotlin-coroutines | 0 | 2022-09-18T06:25:00.493Z | 2,022 | 9 | 6 | 6 | 44 | 0 | 936 | 55 | 5 | 2 | true | true | false | false | false | false | zero |
73,760,601 | Handling multi quantity inapp purchase in Google play billing | <p>I am working on an app with inapp purchase that should be able to handle multiple quantity purchase.
I have enable the multiple quantity check box in play console as well as created and activated a template. However, this does not produce the multi quantity in the purchase dialog.
My question is how or what piece of... | I am working on an app with inapp purchase that should be able to handle multiple quantity purchase. I have enable the multiple quantity check box in play console as well as created and activated a template. However, this does not produce the multi quantity in the purchase dialog. My question is how or what piece of co... | android | 0 | 2022-09-18T06:35:00.893Z | 2,022 | 9 | 6 | 6 | 22 | 0 | 416 | 61 | 1 | 0 | false | true | false | false | false | false | zero |
73,760,616 | Setting a different icon for a web app on desktop and on Android without manifest | <p>Round icons look great on Android Chrome, but are smaller and therefore harder to read than square ones on desktop Chrome. I would like to be able to set a different icon for my web app on Android Chrome than on desktop. Is that possible?</p>
<p>My web app is not a PWA, i.e. I don't have a <code>manifest.json</cod... | Round icons look great on Android Chrome, but are smaller and therefore harder to read than square ones on desktop Chrome. I would like to be able to set a different icon for my web app on Android Chrome than on desktop. Is that possible? My web app is not a PWA, i.e. I don't have a manifest.json file, and it doesn't n... | android|html|google-chrome|icons | 0 | 2022-09-18T06:40:03.500Z | 2,022 | 9 | 6 | 6 | 17 | 0 | 753 | 81 | 4 | 1 | true | true | false | false | false | false | zero |
73,760,617 | Error: Could not find the correct Provider<ThemeNotifier> above this VideosYou Widget | <p>I have this error when I try to open a new main.dart For example: I need to open main2.dart from main.dart but still shows Provider(ThemeNotifier).</p>
<p>main.dart</p>
<pre><code>MenuItem(
title: "Click".tr(),
onPressed: (){
Navigator.pus... | I have this error when I try to open a new main.dart For example: I need to open main2.dart from main.dart but still shows Provider(ThemeNotifier). main.dart [CODE] And this is my main2.dart [CODE] but when I try to open a main2.dart the error shows. This happens because you used a BuildContext that does not include th... | android|ios|flutter | 0 | 2022-09-18T06:40:09.613Z | 2,022 | 9 | 6 | 6 | 34 | 1 | 918 | 85 | 3 | 2 | true | false | false | false | false | false | zero |
73,760,632 | Icon location problem with drawable Start in Android Studio | <p>I have an editetext and I used drawable start, but the icon is not in the right place during execution</p>
<p><a href="https://i.stack.imgur.com/aBmSp.jpg" rel="nofollow noreferrer">Inside view of Android Studio</a></p>
<p><a href="https://i.stack.imgur.com/F0AkA.jpg" rel="nofollow noreferrer">Run the program</a></p... | I have an editetext and I used drawable start, but the icon is not in the right place during execution Inside view of Android Studio Run the program First I put a scrollview, then a LinearLayout, inside it is a ConstraintLayout, then editText. [CODE] Inside the execution, the texts have also moved to the right, while t... | java|android | -1 | 2022-09-18T06:42:39.253Z | 2,022 | 9 | 6 | 6 | 38 | 2 | 359 | 59 | 2 | 1 | true | false | false | false | false | true | negative |
73,760,668 | How can i create this pull up recycler list layout in android? | <p>This is the bottom layout I want
[1]: <a href="https://i.stack.imgur.com/Jsdr8.gif" rel="nofollow noreferrer">https://i.stack.imgur.com/Jsdr8.gif</a></p> | This is the bottom layout I want [1]: https://i.stack.imgur.com/Jsdr8.gif | android|xml|kotlin|android-recyclerview | -1 | 2022-09-18T06:51:24.363Z | 2,022 | 9 | 6 | 6 | 18 | 0 | 73 | 62 | 4 | 0 | false | true | false | false | false | true | negative |
73,760,681 | Auto Package Duplication in Test Directory of Android Studio | <p>I was preparing some tests for my module in android studio and everything was working fine, but yesterday when I opened my project again, I found an <strong>auto-generated copy of my test package</strong>. <br><br>
when I tried to delete it, my <strong>original package got deleted with it</strong>. <br><br>
today I ... | I was preparing some tests for my module in android studio and everything was working fine, but yesterday when I opened my project again, I found an auto-generated copy of my test package . when I tried to delete it, my original package got deleted with it . today I tried to create a package again and the problem is st... | android|android-studio|unit-testing|junit|duplicates | 0 | 2022-09-18T06:54:31.843Z | 2,022 | 9 | 6 | 6 | 10 | 0 | 943 | 60 | 5 | 0 | false | true | false | false | false | false | zero |
73,760,697 | mutableStateOf holding the value after the recomposition without remember API in Jetpack Compose | <blockquote>
<p>Any time a state is updated a recomposition takes place.</p>
</blockquote>
<p>but here, I haven't used the remember API, but after the recomposition also it's holding the value, is the <code>mutableStateOf()</code> will remember the value without <code>remember</code> API?</p>
<pre><code>@Composable
fun... | Any time a state is updated a recomposition takes place. but here, I haven't used the remember API, but after the recomposition also it's holding the value, is the mutableStateOf() will remember the value without remember API? [CODE] | kotlin|android-jetpack-compose|android-jetpack|mutablestateof | 2 | 2022-09-18T06:57:51.277Z | 2,022 | 9 | 6 | 6 | 36 | 2 | 233 | 96 | 4 | 1 | true | false | false | false | false | false | low |
73,760,737 | How get conversation list in aosp message | <p>I am a Android noob,I want to modify com.android.messaging to add some new features such as material design</p>
<p>Now I want to get conversation list in com.android.messaging source code,but I cannot find function to provide this data</p>
<p>I see the adapter but I cannot find arraylist that includes conversation d... | I am a Android noob,I want to modify com.android.messaging to add some new features such as material design Now I want to get conversation list in com.android.messaging source code,but I cannot find function to provide this data I see the adapter but I cannot find arraylist that includes conversation data I tried to se... | java|android|android-source | -1 | 2022-09-18T07:07:22.093Z | 2,022 | 9 | 7 | 6 | 22 | 0 | 470 | 41 | 3 | 0 | false | true | false | false | false | true | negative |
73,760,779 | Can we replace all usages of StateFlow.value with StateFlow.update? | <p>Reading the following articles,</p>
<ul>
<li><a href="https://stackoverflow.com/q/72224263/9636037">MutableStateflow Value Vs Update vs Emit</a></li>
<li><a href="https://medium.com/geekculture/atomic-updates-with-mutablestateflow-dc0331724405" rel="nofollow noreferrer">https://medium.com/geekculture/atomic-updates-... | Reading the following articles, MutableStateflow Value Vs Update vs Emit https://medium.com/geekculture/atomic-updates-with-mutablestateflow-dc0331724405 https://proandroiddev.com/make-sure-to-update-your-stateflow-safely-in-kotlin-9ad023db12ba https://www.droidcon.com/2021/08/25/make-sure-to-update-your-stateflow-safe... | android|kotlin|kotlin-stateflow | 0 | 2022-09-18T07:14:09.610Z | 2,022 | 9 | 7 | 6 | 25 | 1 | 687 | 67 | 3 | 0 | false | false | false | false | false | false | zero |
73,760,931 | How to implement SearchView on fragment that is already fetching arrayList from firestore KOTLIN | <p>Please, im trying to implement SearchView on a Fragment which is already fetching list from firestore,whenever i type a text into the searchview it doesnt notify the adapter, the list stays static. The list doesnt change at all and when i tried to redeclare the adapter in the fragement everything was fine till i run... | Please, im trying to implement SearchView on a Fragment which is already fetching list from firestore,whenever i type a text into the searchview it doesnt notify the adapter, the list stays static. The list doesnt change at all and when i tried to redeclare the adapter in the fragement everything was fine till i run th... | android|kotlin|google-cloud-firestore | 0 | 2022-09-18T07:44:18.407Z | 2,022 | 9 | 7 | 6 | 28 | 1 | 452 | 96 | 3 | 3 | true | false | false | false | false | false | zero |
73,760,944 | capacitor-google-maps not showing in Android | <p>I am using ionic 6 and capacitor v3 for the google maps plugin that capacitor launched a few months ago
I am getting this warning in logcat.
I am using this plugin</p>
<pre><code>"@capacitor/google-maps": "^4.2.0",
</code></pre>
<pre><code>
2022-09-18 12:41:32.310 28824-29053/com.learn2earn.acti... | I am using ionic 6 and capacitor v3 for the google maps plugin that capacitor launched a few months ago I am getting this warning in logcat. I am using this plugin [CODE] [CODE] | android|angular|ionic-framework|capacitor|ionic6 | -1 | 2022-09-18T07:47:12.117Z | 2,022 | 9 | 7 | 6 | 26 | 0 | 177 | 44 | 5 | 2 | true | true | false | false | false | true | negative |
73,761,007 | How to find Android keystore file? | <p>I'm building an Android application with flutter, which I already generated a <code>.keystore </code> file for, because I’ve already uploaded it to the Google Play Store.</p>
<p>The problem is, I don’t know where my <code>.keystore</code> file is and I need to look up my SHA256 Fingerprint.</p>
<p>At first I thought... | I'm building an Android application with flutter, which I already generated a .keystore file for, because I’ve already uploaded it to the Google Play Store. The problem is, I don’t know where my .keystore file is and I need to look up my SHA256 Fingerprint. At first I thought that I lost it, but I pushed a update to th... | android|google-play|keystore|android-keystore | 0 | 2022-09-18T07:57:22.173Z | 2,022 | 9 | 7 | 6 | 30 | 0 | 626 | 34 | 4 | 0 | false | true | false | false | false | false | zero |
73,761,036 | How to start STT after TTS ends in android | <p>I'm trying to start STT (SpeechRecognizer) after TTS ends in android.
I tried with <code>UtteranceProgressListener</code> codes shown below.</p>
<pre><code> val speechListener = object : UtteranceProgressListener() {
override fun onError(utteranceId: String?) {
}
override fun onSt... | I'm trying to start STT (SpeechRecognizer) after TTS ends in android. I tried with UtteranceProgressListener codes shown below. [CODE] I checked the onDone method to see if it is called or not by Checking Log , Check1 Log is called, so onDone method itself gets called. But after the line of MyRecognizer.startListening(... | android | 0 | 2022-09-18T08:03:25.247Z | 2,022 | 9 | 8 | 6 | 25 | 0 | 527 | 42 | 1 | 1 | true | true | false | false | false | false | zero |
73,761,042 | Cannot mock response of Hilt injected class: io.mockk.MockKException: Failed matching mocking signature for left matchers: [any(), any()] | <p>I'm trying to perform UI instrumentation tests and mock my repository's return method <strong>loadSensors()</strong>, but it throws me an error in <strong>SensorsTest</strong> class <strong>every { }</strong> call. I could not find an appropriate solution on how to use <strong>MockK</strong> together with <strong>Hi... | I'm trying to perform UI instrumentation tests and mock my repository's return method loadSensors() , but it throws me an error in SensorsTest class every { } call. I could not find an appropriate solution on how to use MockK together with Hilt , when I have fake dependencies injected via TestInstallIn . I have tried @... | android|kotlin|dagger-hilt|mockk | 0 | 2022-09-18T08:04:19.480Z | 2,022 | 9 | 8 | 6 | 28 | 0 | 562 | 137 | 4 | 4 | true | true | false | false | false | false | zero |
73,761,076 | Giving string name to the texts in the code | <p>I want to give string name instead of text like "<strong>just now</strong>" "<strong>a minute ago</strong>" here but it doesn't accept I used <strong>getString</strong> or <strong>R.string</strong> it didn't work</p>
<pre><code>final long diff = now - time;
if (diff < MINUTE_MILLIS) {
... | I want to give string name instead of text like " just now " " a minute ago " here but it doesn't accept I used getString or R.string it didn't work [CODE] What i want to do [CODE] | java|android | -1 | 2022-09-18T08:10:05.287Z | 2,022 | 9 | 8 | 6 | 24 | 1 | 200 | 43 | 2 | 2 | true | false | false | false | false | true | negative |
73,761,088 | is it possible to send message from one project to another project app using fcm | <p>I have <strong>two</strong> <strong>different projects</strong> called APP A and APP B both uses same firebase database I want to send fcm notification from APP A device x to APP B device y
how can i do that?</p> | I have two different projects called APP A and APP B both uses same firebase database I want to send fcm notification from APP A device x to APP B device y how can i do that? | android|firebase|kotlin|firebase-cloud-messaging | 0 | 2022-09-18T08:11:59.363Z | 2,022 | 9 | 8 | 6 | 35 | 0 | 174 | 80 | 4 | 0 | false | true | false | false | false | false | zero |
73,761,119 | How to write a text on the image with coil in Jetpack Compose? | <p>How can we write a text on the image with coil in Jetpack Compose?</p>
<p>For example, I want to write the IMDB score of the movie image that coil is showing in Jetpack Compose. and maybe with a yellow background. is it possible? thanks for help</p>
<p>just for example:</p>
<pre><code> AsyncImage(
... | How can we write a text on the image with coil in Jetpack Compose? For example, I want to write the IMDB score of the movie image that coil is showing in Jetpack Compose. and maybe with a yellow background. is it possible? thanks for help just for example: [CODE] where should I add the text in the code? | android-jetpack-compose|android-jetpack|jetpack|coil | 1 | 2022-09-18T08:17:37.177Z | 2,022 | 9 | 8 | 6 | 36 | 2 | 304 | 62 | 4 | 1 | true | false | false | false | false | false | low |
73,761,176 | Firebase realtime database multipath updates vs firestore database batched write | <p>I have an app that contains millions of documents per Collection.
My app is created using Android Java with Firestore Database.
The problem is that Firestore's batched write can only update up to 500 documents. What if I need to update more than 500 documents?
I cannot create multiple batched write just to solve my ... | I have an app that contains millions of documents per Collection. My app is created using Android Java with Firestore Database. The problem is that Firestore's batched write can only update up to 500 documents. What if I need to update more than 500 documents? I cannot create multiple batched write just to solve my pro... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 1 | 2022-09-18T08:26:29.207Z | 2,022 | 9 | 8 | 6 | 40 | 2 | 1,078 | 80 | 5 | 0 | false | false | false | false | false | false | low |
73,761,182 | How to customise exoplayer XML file to adjust video scaling? | <p><a href="https://i.stack.imgur.com/ywNGb.jpg" rel="nofollow noreferrer">Video content from exoplayer</a></p>
<p>As you can see in top picture, the video is in 18:9 aspect ratio because by default exoplayer adjust video scale to my device screen, I want to disable it to play video content in 16:9 ratio aspect but I d... | Video content from exoplayer As you can see in top picture, the video is in 18:9 aspect ratio because by default exoplayer adjust video scale to my device screen, I want to disable it to play video content in 16:9 ratio aspect but I don't know to do that, I edited exoplayer files but nothing works. Exoplayer is already... | android|xml|exoplayer|exoplayer2.x | 0 | 2022-09-18T08:28:02.333Z | 2,022 | 9 | 8 | 6 | 11 | 0 | 457 | 60 | 4 | 0 | false | true | false | false | false | false | zero |
73,761,267 | How to install .xapk file from local storage programmatically in Flutter? | <p>I want to implement this functionality;</p>
<blockquote>
<p>A Button when pressed will install .xapk file from local storage with the following path.</p>
</blockquote>
<p>String _apkFilePath = '/storage/emulated/0/Download/filename.xapk';</p> | I want to implement this functionality; A Button when pressed will install .xapk file from local storage with the following path. String _apkFilePath = '/storage/emulated/0/Download/filename.xapk'; | java|android|flutter|dart | 0 | 2022-09-18T08:43:44.967Z | 2,022 | 9 | 8 | 6 | 18 | 0 | 197 | 73 | 4 | 0 | false | true | false | false | false | false | zero |
73,761,282 | WorkManager(CoroutineWorker) - running a task periodically every 12 hours doesn't work | <p>I'm working on an android app,</p>
<p>I need to run a task periodically every 12 hours, i don't mind if its not exact, i just need the task to indeed run(I don't care even if it will run once per 15 hours, I just need to make sure it runs about every 12-24 hours)</p>
<p>My task is not very long, takes at most a few ... | I'm working on an android app, I need to run a task periodically every 12 hours, i don't mind if its not exact, i just need the task to indeed run(I don't care even if it will run once per 15 hours, I just need to make sure it runs about every 12-24 hours) My task is not very long, takes at most a few seconds. From wha... | android-workmanager|periodic-task | 0 | 2022-09-18T08:46:13.950Z | 2,022 | 9 | 8 | 6 | 19 | 1 | 1,812 | 86 | 2 | 1 | true | false | false | false | false | false | zero |
73,761,297 | Android java app main activity blank after 2nd run fo app | <p>I am working on some <a href="https://developer.android.com/about" rel="nofollow noreferrer">Android</a> application using <code>Java</code> using <a href="https://developer.android.com/studio" rel="nofollow noreferrer">Android Studio</a> on <code>Windows 10</code> operating system. I have single <a href="https://de... | I am working on some Android application using Java using Android Studio on Windows 10 operating system. I have single Activity with several Fragments . Now, if I use target mobile phone with no previous installation of this app or I uninstall the app on target mobile phone , the main activity shows correct contents ( ... | java|android | 0 | 2022-09-18T08:49:14.227Z | 2,022 | 9 | 8 | 6 | 28 | 1 | 1,080 | 57 | 2 | 4 | true | false | false | false | false | false | zero |
73,761,301 | can't check flutter doctor | <p>I'm installing Androit Studio in the second, but there were no such problems before. I am getting the following error in terminal -</p>
<pre><code> fatal: git repository (or one of parent directories) not found: .git
Building flutter tool...
/home/daniil/snap/flutter/common/flutter/bin/internal/shared.sh: line 24... | I'm installing Androit Studio in the second, but there were no such problems before. I am getting the following error in terminal - [CODE] Also, I tried to create a new flutter project in android studio, and tried to specify the path to the flutter sdk, but I get the message - Flutter SDK is not found in the specified ... | flutter|android-studio|dart | 0 | 2022-09-18T08:50:04.393Z | 2,022 | 9 | 8 | 6 | 39 | 0 | 955 | 26 | 3 | 2 | true | true | false | false | false | false | zero |
73,761,317 | Hilt - cannot be initialized ViewModelFactory in fragment | <p>i'am using retrofit library to get info from internet api , then i put the data in the repository then get it in viewmodel which it will be instatiate by viewmodelfactory ;</p>
<p>so i'am trying to inject HitViewModelFactory by using Dagger-Hilt in Fragment but it show me an error when to inject it in the fragment</... | i'am using retrofit library to get info from internet api , then i put the data in the repository then get it in viewmodel which it will be instatiate by viewmodelfactory ; so i'am trying to inject HitViewModelFactory by using Dagger-Hilt in Fragment but it show me an error when to inject it in the fragment lateinit pr... | android-studio|kotlin|dependency-injection|dagger-hilt | 1 | 2022-09-18T08:52:19.570Z | 2,022 | 9 | 8 | 6 | 36 | 2 | 724 | 57 | 4 | 4 | true | false | false | false | false | false | low |
73,761,596 | Is one visit and one api call is same | <p>I am planning to buy a hosting service for my app api. For one of the plan they said that 10000 visits monthly. What does visit mean. Is it consider one api request as one visit? For eg if a person register in my app and after that he login to app. Here it uses 2 api request. One for login and one for register. Is i... | I am planning to buy a hosting service for my app api. For one of the plan they said that 10000 visits monthly. What does visit mean. Is it consider one api request as one visit? For eg if a person register in my app and after that he login to app. Here it uses 2 api request. One for login and one for register. Is it c... | android|api|rest|hosting|web-hosting | 0 | 2022-09-18T09:36:10.020Z | 2,022 | 9 | 9 | 6 | 14 | 0 | 356 | 37 | 5 | 0 | false | true | false | false | false | false | zero |
73,761,639 | Android with Hilt: Do I have to inject helper classes? | <p>My app includes many helper classes like the next ones:</p>
<blockquote>
<ol>
<li>A class TMHttp with an "DownloadFile" or "IsOnline" methods (among others).</li>
<li>A TMEmail class with a "SendEmail" method.</li>
<li>A ImageHelper class with a "TakeScreenshot" or "CropB... | My app includes many helper classes like the next ones: A class TMHttp with an "DownloadFile" or "IsOnline" methods (among others). A TMEmail class with a "SendEmail" method. A ImageHelper class with a "TakeScreenshot" or "CropBitmap" methods. TMImport/TMExport classes ... | android|kotlin|dependency-injection|dagger-hilt | 0 | 2022-09-18T09:42:04.463Z | 2,022 | 9 | 9 | 6 | 47 | 1 | 823 | 54 | 4 | 0 | false | false | false | false | false | false | zero |
73,761,723 | Glide, override size of placeholder? | <p>I want to override the size of the placeholder and error drawables in Glide. I tried</p>
<pre><code> Glide.with(fragment)
.load(url)
.apply(new RequestOptions()
.placeholder(R.drawable.loading_icon)
.error(R.drawable.loading_error)
.ove... | I want to override the size of the placeholder and error drawables in Glide. I tried [CODE] and [CODE] and none of these two solutions work. While the image is being downloaded, I can clearly see the placeholder image's displayed size is not 200 pixels, as I expect it to be. override() seems to work with into() , but n... | android|android-glide | 0 | 2022-09-18T09:55:30.930Z | 2,022 | 9 | 9 | 6 | 30 | 1 | 406 | 36 | 2 | 3 | true | false | false | false | false | false | zero |
73,761,847 | Issue implementing background processes in react native with headless Js | <p>how are background processes nowadays implemented in react native?
I only find out dated info around the internet and the native headless js docs are very very poor....
I find it strange because I believe many tech companies use it and how there is such a big lack of info about something important like background pr... | how are background processes nowadays implemented in react native? I only find out dated info around the internet and the native headless js docs are very very poor.... I find it strange because I believe many tech companies use it and how there is such a big lack of info about something important like background proce... | android|react-native|mobile|background-process|headless | 0 | 2022-09-18T10:12:32.943Z | 2,022 | 9 | 10 | 6 | 19 | 0 | 327 | 72 | 5 | 0 | false | true | false | false | false | false | zero |
73,761,934 | The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise - java android | <p>I making an app using google drive to store files for user to their google drive
I followed google developer guide in <a href="https://developers.google.com/drive/api/guides/about-sdk" rel="nofollow noreferrer">https://developers.google.com/drive/api/guides/about-sdk</a>
and when i press the button to upload my file... | I making an app using google drive to store files for user to their google drive I followed google developer guide in https://developers.google.com/drive/api/guides/about-sdk and when i press the button to upload my files i got the err in title this is my code : [CODE] error The Application Default Credentials are not ... | java|android|google-drive-api|google-api-java-client | 0 | 2022-09-18T10:26:06.873Z | 2,022 | 9 | 10 | 6 | 30 | 1 | 411 | 135 | 4 | 1 | true | false | false | false | false | false | zero |
73,762,077 | Access to VR Rotation Tracking Without Using XR (Cardboard) | <p>I've recently decided to add VR to my Unity android game so I installed the XR Cardboard plugin from here: <a href="https://developers.google.com/cardboard/develop/unity/quickstart" rel="nofollow noreferrer">https://developers.google.com/cardboard/develop/unity/quickstart</a> and configured it.</p>
<p>There's two pr... | I've recently decided to add VR to my Unity android game so I installed the XR Cardboard plugin from here: https://developers.google.com/cardboard/develop/unity/quickstart and configured it. There's two problems. Firstly, the plugin takes complete control of how the camera renders the scene which is not what I want. Se... | android|unity3d|virtual-reality|google-cardboard | 1 | 2022-09-18T10:46:33.770Z | 2,022 | 9 | 10 | 6 | 18 | 0 | 837 | 59 | 4 | 0 | false | true | false | false | false | false | low |
73,762,111 | What Can I Do To Make Visul Studio 2022 17.3.4 ndroidd Emulator Work? | <p>I try to create my first xamrin app. Unfortunetly my aadnroid emulator doesn't work. When I Press run program button in Visual Studio, emulator is popping up and closing after a second.
<strong>Here is my build output:</strong> <a href="https://i.stack.imgur.com/CM7L3.jpg" rel="nofollow noreferrer"><img src="https:... | I try to create my first xamrin app. Unfortunetly my aadnroid emulator doesn't work. When I Press run program button in Visual Studio, emulator is popping up and closing after a second. Here is my build output: Here is how my sdk looks like: And there is what i installed in Visual Studio Installer: | c#|.net|visual-studio|xamarin|android-emulator | 0 | 2022-09-18T10:51:47.313Z | 2,022 | 9 | 10 | 6 | 36 | 1 | 299 | 69 | 5 | 0 | false | false | false | false | false | false | zero |
73,762,154 | SPLIT_BUNDLE 1555876812: Policy Declaration - Data Safety Section: App Activity Data Type - Apps On Device | <p>I'm a publisher, and 2 days ago, i updated my app, but after like 2 hours I received this message(see the photo), and I don't know how to resolve it. I have tried all ways, but I don't understand how to fix it. Can you help me to resolve the problem, please?</p>
<p><a href="https://i.stack.imgur.com/eLv8e.png" rel="... | I'm a publisher, and 2 days ago, i updated my app, but after like 2 hours I received this message(see the photo), and I don't know how to resolve it. I have tried all ways, but I don't understand how to fix it. Can you help me to resolve the problem, please? | android|android-app-indexing | 1 | 2022-09-18T10:57:42.683Z | 2,022 | 9 | 10 | 6 | 167 | 1 | 258 | 106 | 2 | 0 | false | false | false | false | false | false | low |
73,762,242 | Plyer Vibration Feature makes the app crashes | <p>I am creating a simple app that lets the phone vibrate after pressing a certain button. I am using the plyer python library to implement TTS and Vibration. The TTS feature works well, however the vibration feature doesn't work and makes the app crashes.</p>
<p><strong>main.py:</strong></p>
<pre><code>from kivy.app i... | I am creating a simple app that lets the phone vibrate after pressing a certain button. I am using the plyer python library to implement TTS and Vibration. The TTS feature works well, however the vibration feature doesn't work and makes the app crashes. main.py: [CODE] Main.kv: [CODE] buildozer.spec: [CODE] I tried to ... | python|android|kivy|buildozer | 0 | 2022-09-18T11:10:44.023Z | 2,022 | 9 | 11 | 6 | 24 | 1 | 431 | 45 | 4 | 3 | true | false | false | false | false | false | zero |
73,762,262 | Moving a View in a loop | <p>I'm trying to make my view move in a loop around 4 corners. I did it by having a keyList. Originally my view is constrained to top and left border.
<a href="https://i.stack.imgur.com/cZy0m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cZy0m.png" alt="picture" /></a></p>
<p>After each click, I up... | I'm trying to make my view move in a loop around 4 corners. I did it by having a keyList. Originally my view is constrained to top and left border. After each click, I update the keylist by removing first index of keyList and move it to the last. I have this code currently. The view moves fine for the first 4 corners (... | android|kotlin | 0 | 2022-09-18T11:13:33.080Z | 2,022 | 9 | 11 | 6 | 28 | 1 | 641 | 23 | 2 | 1 | true | false | false | false | false | false | zero |
73,762,450 | Why are all fragments affected when data is updated by using viewpager2? | <p>I'm using viewpager 2 now.</p>
<p>The views of the fragments are all the same, so I'm using the same fragments.</p>
<p>And the data is shown through recyclerview in the fragment.</p>
<p>All fragments set different data list.</p>
<p>OnResume retrieves new data through a network call and performs recyclerviewAdapter.s... | I'm using viewpager 2 now. The views of the fragments are all the same, so I'm using the same fragments. And the data is shown through recyclerview in the fragment. All fragments set different data list. OnResume retrieves new data through a network call and performs recyclerviewAdapter.submitlist. It shows the same da... | android | 1 | 2022-09-18T11:39:01.970Z | 2,022 | 9 | 11 | 6 | 16 | 0 | 444 | 72 | 1 | 3 | true | true | false | false | false | false | low |
73,762,496 | How to fix SearchView not displaying result in Fragment Kotlin | <p>Please, I'm trying to implement SearchView on a Fragment which is already fetching list from firestore,whenever i type a text into the searchview it notifies the adapter but doesnt return result at all, the Fragment becomes empty till i refresh the fragment then the recyclerview items will return with no changes. I ... | Please, I'm trying to implement SearchView on a Fragment which is already fetching list from firestore,whenever i type a text into the searchview it notifies the adapter but doesnt return result at all, the Fragment becomes empty till i refresh the fragment then the recyclerview items will return with no changes. I hav... | android|android-studio|kotlin|android-fragments|google-cloud-firestore | 1 | 2022-09-18T11:44:37.990Z | 2,022 | 9 | 11 | 6 | 20 | 0 | 538 | 62 | 5 | 4 | true | true | false | false | false | false | low |
73,762,541 | setColorFilter(int,Mode) is deprecated | <p>I have been using this method: public void setColorFilter <code>(int color, PorterDuff.Mode mode)</code> but I have seen that it is deprecated. In the Android documentation I have seen that I can use this instead:</p>
<pre><code>This method was deprecated in API level 29.
use setColorFilter(android.graphics.ColorFil... | I have been using this method: public void setColorFilter (int color, PorterDuff.Mode mode) but I have seen that it is deprecated. In the Android documentation I have seen that I can use this instead: [CODE] I have tried to solve it but I have not achieved to use thes newer methods. I have also seen other posts as dupl... | java|android|android-layout|colors|drawable | 0 | 2022-09-18T11:50:30.917Z | 2,022 | 9 | 11 | 6 | 28 | 0 | 440 | 38 | 5 | 1 | true | true | false | false | false | false | zero |
73,762,548 | How do I chain together layout change animations with the LayoutTransition class or otherwise? | <p>I have a <a href="https://developer.android.com/reference/android/view/ViewGroup" rel="nofollow noreferrer">ViewGroup</a> on which I have set the <code>android:animateLayoutChanges</code> property to <code>true</code>.</p>
<p>As a result, when I toggle the visibility of one of the Views in the <a href="https://devel... | I have a ViewGroup on which I have set the android:animateLayoutChanges property to true . As a result, when I toggle the visibility of one of the Views in the ViewGroup between View.VISIBLE and View.GONE , I get a nice layout change animation as follows: I'd like to take this idea a step further and chain together a s... | android|android-animation | 0 | 2022-09-18T11:50:50.517Z | 2,022 | 9 | 11 | 6 | 10 | 1 | 428 | 94 | 2 | 0 | false | false | false | false | false | false | zero |
73,762,568 | Android Studio - Run App not showing on device | <p>I installed Android Studio, connected the phone to the computer with a USB cable, and Android Studio shows my phone model on the modal when clicking <b>Run</b>. when I click to run the app on my device, it doesn't show me any errors. What it says to me in the console is:</p>
<pre><code>09/18 13:47:00: Launching 'app... | I installed Android Studio, connected the phone to the computer with a USB cable, and Android Studio shows my phone model on the modal when clicking Run . when I click to run the app on my device, it doesn't show me any errors. What it says to me in the console is: [CODE] When I click again play button I got only this ... | android|android-studio | 0 | 2022-09-18T11:53:26.963Z | 2,022 | 9 | 11 | 6 | 26 | 0 | 407 | 46 | 2 | 2 | true | true | false | false | false | false | zero |
73,762,615 | Saving files to public Download directory | <p>Before Android Q below code worked fine (this has now been deprecated) to access downloads public storage directory:</p>
<pre><code>var publicExternalFilesDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)
</code></pre>
<p>This referred to below path on emulator:</p>
<blockquote>
<p... | Before Android Q below code worked fine (this has now been deprecated) to access downloads public storage directory: [CODE] This referred to below path on emulator: /mnt/sdcard/Download/ Is there any way we can refer to above path safely on Android Q and above | android|file|kotlin | 0 | 2022-09-18T12:00:19.407Z | 2,022 | 9 | 12 | 6 | 21 | 0 | 260 | 41 | 3 | 1 | true | true | false | false | false | false | zero |
73,762,617 | (Android Studio) Moshi - Failed to find the generated JsonAdapter constructor | <p>Good morning everyone,</p>
<p>I have a problem with Android Studio's Moshi library for Kotlin. I don't quite understand why, but it tells me that the constructor of the JsonAdapter class for the adapter that is going to be populated with JSON data cannot be instantiated.</p>
<pre><code>com.sanz.mbtigrid.mbtidataclas... | Good morning everyone, I have a problem with Android Studio's Moshi library for Kotlin. I don't quite understand why, but it tells me that the constructor of the JsonAdapter class for the adapter that is going to be populated with JSON data cannot be instantiated. [CODE] The code fails at line 499 of MainActivity.kt: [... | android|json|android-studio|kotlin|moshi | -1 | 2022-09-18T12:00:42.410Z | 2,022 | 9 | 12 | 6 | 18 | 0 | 542 | 77 | 5 | 6 | true | true | false | false | false | true | negative |
73,762,718 | Android GetPhysicalAddress is returning null | <p>When trying to query the PhysicalAddress of a NetworkInterface in C# (in Unity) specifically on Android, it returns empty rather than the mac address. On Windows (In the Unity Editor) it works properly. How can I actually get the physical address?</p>
<pre class="lang-cs prettyprint-override"><code>public static voi... | When trying to query the PhysicalAddress of a NetworkInterface in C# (in Unity) specifically on Android, it returns empty rather than the mac address. On Windows (In the Unity Editor) it works properly. How can I actually get the physical address? [CODE] This returns the following in the log on Android (Samsung, specif... | c#|android|unity3d|networking|mac-address | 0 | 2022-09-18T12:15:27.943Z | 2,022 | 9 | 12 | 6 | 21 | 0 | 425 | 44 | 5 | 2 | true | true | false | false | false | false | zero |
73,762,936 | How to add .get(position) in alert dialog box | <p>I am using Realtime database and I want to get the position of the selected recycler view item and delete it, the only problem is in this part " String id = list.get(position).getId();" I can't seem to get the position of my selected item.</p>
<p>The error: "Cannot resolve symbol 'position'".</p>... | I am using Realtime database and I want to get the position of the selected recycler view item and delete it, the only problem is in this part " String id = list.get(position).getId();" I can't seem to get the position of my selected item. The error: "Cannot resolve symbol 'position'". My dialog cod... | java|android|firebase-realtime-database | 0 | 2022-09-18T12:53:23.103Z | 2,022 | 9 | 12 | 6 | 23 | 1 | 329 | 45 | 3 | 1 | true | false | false | false | false | false | zero |
73,762,939 | Thingspeak to Flutter | <p>So I planned to create an Android app using the Flutter plugin in Android Studio. I'm still a beginner, so I'm trying a few codes, but I'm not sure if I would be able to transmit the data from my Arduino sensors to the ThingSpeak IoT platform and then to my app. I saw answers about this, maybe on java, I think, but ... | So I planned to create an Android app using the Flutter plugin in Android Studio. I'm still a beginner, so I'm trying a few codes, but I'm not sure if I would be able to transmit the data from my Arduino sensors to the ThingSpeak IoT platform and then to my app. I saw answers about this, maybe on java, I think, but I h... | flutter|android-studio|iot | 0 | 2022-09-18T12:53:46.543Z | 2,022 | 9 | 12 | 6 | 21 | 0 | 500 | 21 | 3 | 0 | false | true | false | false | false | false | zero |
73,763,064 | Flutter status bar text color doesn't turn dark no matter what | <p>No matter what I do I can't seem to change the text color of the Status Bar in my Flutter App. The Status Bar Background Color does change to white successfully, but the text color does not change.</p>
<p><strong>Here are the things I've already tried:</strong></p>
<p>I've tried to set the Overlay Style to the AppBa... | No matter what I do I can't seem to change the text color of the Status Bar in my Flutter App. The Status Bar Background Color does change to white successfully, but the text color does not change. Here are the things I've already tried: I've tried to set the Overlay Style to the AppBarTheme: [CODE] I have also tried d... | android|flutter|statusbar|appbar|flutter-appbar | 0 | 2022-09-18T13:12:23.587Z | 2,022 | 9 | 13 | 6 | 32 | 2 | 795 | 62 | 5 | 3 | true | false | false | false | false | false | zero |
73,763,071 | How to improve the Pikashow APK performance | <p>Can a developer tell us how we can increase the performance of the <a href="https://sabhindimai.net/pikashow-apk-download/" rel="nofollow noreferrer">Pikashow</a> APK? Many users who use this app say that there is a problem related to performance in using the app.</p> | Can a developer tell us how we can increase the performance of the Pikashow APK? Many users who use this app say that there is a problem related to performance in using the app. | android|web-applications|apk|live-streaming | 0 | 2022-09-18T13:13:39.530Z | 2,022 | 9 | 13 | 6 | 67 | 0 | 177 | 43 | 4 | 0 | false | true | false | false | false | false | zero |
73,763,076 | How to create Android White Bar Notification? Android Java | <p>I don't know where to find the documents of this, probably because I don't know the correct words for it.</p>
<p>I do not mean a casual notification, I mean a text in a white bar.</p>
<p><a href="https://i.stack.imgur.com/YgeLq.png" rel="nofollow noreferrer">I mean like this</a></p>
<p>Does anyone have the simplest ... | I don't know where to find the documents of this, probably because I don't know the correct words for it. I do not mean a casual notification, I mean a text in a white bar. I mean like this Does anyone have the simplest code example for this? On how to do this with the text "Hello"? | java|android|notifications | 0 | 2022-09-18T13:14:19.633Z | 2,022 | 9 | 13 | 6 | 13 | 0 | 293 | 58 | 3 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.