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,054,443 | How to solve the gradle caching ANDROID_SERIAL problem? | <p>In order to run android test on different devices, I'm using the following command</p>
<pre><code>ANDROID_SERIAL=ZY22F757TO ./gradlew -Pandroid.testInstrumentationRunnerArguments.class=com.example.id.Debug#debug connectedAndroidTest
</code></pre>
<p>But there's an error like:</p>
<pre><code>Device FQQ336X28100 not ... | In order to run android test on different devices, I'm using the following command [CODE] But there's an error like: [CODE] Because I just tested [CODE] And it seems that gradle cached the ANDROID_SERIAL , here's my solution: [CODE] It did work, but in this case, I can't run multiple devices at the same time. Just wond... | android|gradle | 0 | 2022-04-29T07:44:33.397Z | 2,022 | 4 | 7 | 4 | 27 | 0 | 351 | 55 | 2 | 4 | true | true | false | false | false | false | zero |
72,054,801 | Problem retrieving List out of the Flow while testing room database in android | <p>I'm trying to test the insert operation in my room database. I have written the following code.</p>
<pre><code>@Test
fun test() = runTest {
val testString = "hello"
dao.insert(testString)
val allStrings = dao.getAllStrings()
assertThat(allStrings).contains(testString)
}
</code></pre>
<p>The prob... | I'm trying to test the insert operation in my room database. I have written the following code. [CODE] The problem is dao.getAllStrings() returns a flow i.e. Flow<List<String>> so assertThat function written here does not work. Does anyone know how to efficiently handle the Flow here and get the List<String> out from t... | android|android-room|android-testing | 0 | 2022-04-29T08:13:22.830Z | 2,022 | 4 | 8 | 4 | 27 | 0 | 389 | 78 | 3 | 1 | true | true | false | false | false | false | zero |
72,063,865 | How to scroll to the next/previous view inside scrollview | <p>I want to create a custom scrollview to redefine accessibility actions for scrolling,because if i scroll scrollview with talkback and if i have visible view with alot of text,i should swipe left/right alot of times. So the main question is how get top/left coordinates view,which exists after last visible view and vi... | I want to create a custom scrollview to redefine accessibility actions for scrolling,because if i scroll scrollview with talkback and if i have visible view with alot of text,i should swipe left/right alot of times. So the main question is how get top/left coordinates view,which exists after last visible view and view,... | java|android|accessibility|scrollview|talkback | 0 | 2022-04-29T21:30:06.613Z | 2,022 | 4 | 21 | 4 | 27 | 0 | 547 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
72,069,877 | How can I make Handshake between client and https server | <p>I'm working on project that requires secure connection between <strong>Client</strong> (which is Android Device) and <strong>Server</strong> which is (Nestjs app) <br/>
and for generating my certificate I'm using openSSl this is the link I followed <br/>
Link : <a href="https://www.section.io/engineering-education/h... | I'm working on project that requires secure connection between Client (which is Android Device) and Server which is (Nestjs app) and for generating my certificate I'm using openSSl this is the link I followed Link : Tuto openSSL I configured main.ts as shown below : [CODE] and this is my gateway.ts file [CODE] Finally ... | android|android-studio|https|openssl|nestjs | 0 | 2022-04-30T15:40:15.660Z | 2,022 | 4 | 15 | 5 | 27 | 0 | 785 | 56 | 5 | 3 | true | true | false | false | false | false | zero |
72,073,970 | What's the kivy equivalent of cv2.VideoCapture.read() | <p>I am trying to capture images from an android phone camera and process them with opencv. I followed <a href="https://stackoverflow.com/questions/58752956/convert-a-kivy-texture-to-opencv-image">this thread</a> for capturing images with kivy:</p>
<pre><code>from kivy.uix.camera import Camera
import numpy as np
camer... | I am trying to capture images from an android phone camera and process them with opencv. I followed this thread for capturing images with kivy: [CODE] But error message says: [CODE] As a newbie with kivy, I am wondering what is wrong here and how to fix it. | android|kivy | 0 | 2022-05-01T04:21:48.730Z | 2,022 | 5 | 4 | 6 | 27 | 0 | 257 | 53 | 2 | 2 | true | true | false | false | false | false | zero |
72,102,160 | How to Add Auto Comment In Activity and Resource files | <p>I already set the comment through Setting in "File and Code Templates > Includes > Fille Header.java" but it only work if I create class files.</p>
<pre><code>#set ($USER = "XXX")
/**
${DATE} | ${USER}
*/
</code></pre>
<p>I see <code>#parse("File Header.java")</code> in &quo... | I already set the comment through Setting in "File and Code Templates > Includes > Fille Header.java" but it only work if I create class files. [CODE] I see #parse("File Header.java") in "Other > Activity.java" but seems not work for the comment? | android|android-studio|comments | 0 | 2022-05-03T15:56:16.223Z | 2,022 | 5 | 15 | 1 | 27 | 0 | 276 | 54 | 3 | 1 | true | true | false | false | false | false | zero |
72,106,580 | Android resource linking failure when building signed bundle | <p>I have a problem when I try to build a signed bundle in Android Studio: <code>Android resource linking failed</code>.
The error apparently is from <code>AndroidManifest.xml</code>, on this line:</p>
<pre><code><meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
androi... | I have a problem when I try to build a signed bundle in Android Studio: Android resource linking failed . The error apparently is from AndroidManifest.xml , on this line: [CODE] What can I do to fix this issue? The issue only occurs when I try to build a signed release bundle, if I build a signed debug bundle, no error... | android|gradle|build | 0 | 2022-05-03T23:51:33.363Z | 2,022 | 5 | 23 | 1 | 27 | 0 | 346 | 60 | 3 | 1 | true | true | false | false | false | false | zero |
72,112,041 | Find MPAndroidChart width without Y-Axis labels | <p>How is the best way to determine the width of a chart (without labels)</p>
<p><a href="https://i.stack.imgur.com/ocNXj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ocNXj.png" alt="enter image description here" /></a></p> | How is the best way to determine the width of a chart (without labels) | android|kotlin|mpandroidchart | 0 | 2022-05-04T11:16:47.443Z | 2,022 | 5 | 11 | 2 | 27 | 0 | 70 | 47 | 3 | 0 | false | true | false | false | false | false | zero |
71,810,650 | Difference between res and res (generated) or java and java (generated) in an Android app? | <p>I am trying to understand the difference between res and res (generated) or java and java (generated) in an Android app.</p> | I am trying to understand the difference between res and res (generated) or java and java (generated) in an Android app. | android | 0 | 2022-04-09T18:06:26.593Z | 2,022 | 4 | 18 | 5 | 28 | 0 | 120 | 90 | 1 | 0 | false | true | false | false | false | false | zero |
71,853,305 | How to make Android Studio IDE's background transaprent / blurry like this image? | <p>I am just being curious here but I haven't found a way to set my IDE's background like this:</p>
<p><a href="https://i.stack.imgur.com/HwNXP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HwNXP.png" alt="enter image description here" /></a></p>
<p>Is there a way to do it? Thank you in advance. :)... | I am just being curious here but I haven't found a way to set my IDE's background like this: Is there a way to do it? Thank you in advance. :) | android-studio|background|ide|effect | 0 | 2022-04-13T07:09:29.183Z | 2,022 | 4 | 7 | 2 | 28 | 0 | 142 | 81 | 4 | 0 | false | true | false | false | false | false | zero |
71,892,101 | Flutter: Execution failed for task ':app:processDebugMainManifest | <p>I am facing the issue when using <code>flutter run</code>. Seems like some gradle issue. I am using Java 11 and this project was working fine from 2 months ago , I started working again after two months and things seem to fail.</p>
<p><a href="https://i.stack.imgur.com/HuOON.png" rel="nofollow noreferrer"><img src="... | I am facing the issue when using flutter run . Seems like some gradle issue. I am using Java 11 and this project was working fine from 2 months ago , I started working again after two months and things seem to fail. Summary of Flutter doctor | android|flutter|gradle|android-gradle-plugin|build.gradle | 0 | 2022-04-16T07:56:17.197Z | 2,022 | 4 | 7 | 5 | 28 | 0 | 241 | 65 | 5 | 0 | false | true | false | false | false | false | zero |
71,901,004 | Registering to appear in "media picks" new feature in Android Auto | <p>For the past year Google has been deploying a new feature for Android Auto, where the system can present the user with a list of suggestions compiled from different media apps installed on his device (Such as Spotify, Youtube Music, etc)</p>
<p>I have a Media app designed for Android Auto as well, and since this fea... | For the past year Google has been deploying a new feature for Android Auto, where the system can present the user with a list of suggestions compiled from different media apps installed on his device (Such as Spotify, Youtube Music, etc) I have a Media app designed for Android Auto as well, and since this feature has s... | android|android-auto | 0 | 2022-04-17T10:10:42.373Z | 2,022 | 4 | 10 | 6 | 28 | 0 | 634 | 66 | 2 | 0 | false | true | false | false | false | false | zero |
71,913,970 | How can I wipe data on Android emulators without launching the emulators after? | <p>I am using this command to wipe the data from the emulators:</p>
<pre class="lang-sh prettyprint-override"><code>emulator -avd <emulator name> -wipe-data
</code></pre>
<p>It wipes the data in about a millisecond, and then spends the next minute or so launching the emulator unnecessarily. How can I avoid that?<... | I am using this command to wipe the data from the emulators: [CODE] It wipes the data in about a millisecond, and then spends the next minute or so launching the emulator unnecessarily. How can I avoid that? Using the UI to wipe the data is not feasible. This is running on automated builds, and we don't yet have the te... | android|android-emulator | 0 | 2022-04-18T15:42:56.123Z | 2,022 | 4 | 15 | 0 | 28 | 0 | 412 | 79 | 2 | 1 | true | true | false | false | false | false | zero |
71,927,333 | How To SolveMemoryLeakMonitor.jar is not exist! Error | <p>I'm Trying to register a user's details and save it in firebase RealTime Database . Each time I build my Project and try registering ,it shows a Toast with inscription "some error occured." when I check my logcat it shows the error message : MemoryLeakMonitor.jar is not exist!.
Please how do i fix it ?.<... | I'm Trying to register a user's details and save it in firebase RealTime Database . Each time I build my Project and try registering ,it shows a Toast with inscription "some error occured." when I check my logcat it shows the error message : MemoryLeakMonitor.jar is not exist!. Please how do i fix it ?. below... | android|firebase|kotlin|firebase-realtime-database | 0 | 2022-04-19T15:16:31.750Z | 2,022 | 4 | 15 | 1 | 28 | 0 | 7,811 | 53 | 4 | 2 | true | true | false | false | false | false | zero |
71,967,401 | How to load data into the database and get it back | <p>When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in which, if necessary, I change them and they immediately get into the database. And when loading the screen, so that t... | When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in which, if necessary, I change them and they immediately get into the database. And when loading the screen, so that they... | android|flutter|dart | 0 | 2022-04-22T10:38:28.797Z | 2,022 | 4 | 10 | 4 | 28 | 0 | 475 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
71,986,114 | I need to send bottom sheet check boxes data to firebase and update the red right mark as shown below. How can I do that | <p><a href="https://i.stack.imgur.com/gnH79.jpg" rel="nofollow noreferrer">enter image description here</a>
When a user wants to set their working days, they can tap over the "set Days" button . Below that those are the working days. Sunday, Monday ...... There is a "red right" IN front of each imag... | enter image description here When a user wants to set their working days, they can tap over the "set Days" button . Below that those are the working days. Sunday, Monday ...... There is a "red right" IN front of each image. By clicking "set Days" button they navigate to the image 2 . They ... | android|firebase|android-studio|checkbox|bottom-sheet | 0 | 2022-04-24T06:45:27.680Z | 2,022 | 4 | 6 | 6 | 28 | 0 | 954 | 120 | 5 | 0 | false | true | false | false | false | false | zero |
71,989,487 | Android studio emulator running, but after some action it disperse with no message | <p>When I start up my android studio emulator all seems to work fine, but randomly (often when screen is swiped) the emulator disperse from the window, and a message: "No emulators are currently running" is displayed. However, the emulator still seems to be running in the background.</p>
<p>(shouldn't be a co... | When I start up my android studio emulator all seems to work fine, but randomly (often when screen is swiped) the emulator disperse from the window, and a message: "No emulators are currently running" is displayed. However, the emulator still seems to be running in the background. (shouldn't be a code problem... | android|android-studio|android-emulator | 0 | 2022-04-24T14:41:08.380Z | 2,022 | 4 | 14 | 6 | 28 | 0 | 561 | 82 | 3 | 0 | false | true | false | false | false | false | zero |
71,997,337 | Status bar take up not same space on different devices in andorid emulator? | <p>When i am using Pixel 4;</p>
<p><a href="https://i.stack.imgur.com/u5N6jm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u5N6jm.png" alt="enter image description here" /></a></p>
<p>when i am using Pixel 3;</p>
<p><a href="https://i.stack.imgur.com/ZbesAm.png" rel="nofollow noreferrer"><img src="... | When i am using Pixel 4; when i am using Pixel 3; Why is that happening? | android|android-emulator | 0 | 2022-04-25T09:30:49Z | -1 | -1 | -1 | -1 | 28 | 0 | 72 | 75 | 2 | 0 | false | true | false | false | false | false | zero |
72,003,711 | Forgot password from keystore | <p>It looks like I forgot the password from my keystore, and when I try to generate a signed build, I get an error :
Failed to read key replay7zkey from store "/Users/vaceslavkolisnicenko/Documents/key-store": keystore password was incorrect</p>
<p>I tried to look at it in the executionHistory.bin file, but i... | It looks like I forgot the password from my keystore, and when I try to generate a signed build, I get an error : Failed to read key replay7zkey from store "/Users/vaceslavkolisnicenko/Documents/key-store": keystore password was incorrect I tried to look at it in the executionHistory.bin file, but instead of ... | android|gradle|keystore | 0 | 2022-04-25T17:51:52.813Z | 2,022 | 4 | 17 | 0 | 28 | 0 | 408 | 29 | 3 | 0 | false | true | false | false | false | false | zero |
72,029,937 | Is it possible to develop an android app using firestore (firebase db) while frontend implemented in JS? | <p>Im new to android dvelopment and trying to develop an android app. I tried to use Firebase and its firestore db.
I implemented my app's frontend (client side) with JS and React-Native.</p>
<ol>
<li>while running <code>expo run:android</code> (build is ok) and running the android emulator nothing happens and it seems... | Im new to android dvelopment and trying to develop an android app. I tried to use Firebase and its firestore db. I implemented my app's frontend (client side) with JS and React-Native. while running expo run:android (build is ok) and running the android emulator nothing happens and it seems like its stuck (the addDoc f... | android|firebase|google-cloud-firestore|android-emulator|expo | 0 | 2022-04-27T13:47:05.447Z | 2,022 | 4 | 13 | 2 | 28 | 0 | 870 | 104 | 5 | 1 | true | true | false | false | false | false | zero |
72,041,718 | Refresh page in WebView anroid | <p>I need to add refreh page in my fragment, is it possible somehow?
I'm not good familiar with java and I tryed to put code for refresh in public class.</p>
<p>It's my fragment.java file:</p>
<pre><code>package com.example.bottomnavigationview;
import android.app.AlertDialog;
import android.content.Context;
import and... | I need to add refreh page in my fragment, is it possible somehow? I'm not good familiar with java and I tryed to put code for refresh in public class. It's my fragment.java file: [CODE] | java|android-studio|android-webview|refresh | 0 | 2022-04-28T10:00:57.533Z | 2,022 | 4 | 10 | 3 | 28 | 0 | 185 | 30 | 4 | 1 | true | true | false | false | false | false | zero |
72,057,742 | keystorePropertiesFile - Gradle task assembleDebug failed with exit code 1 | <p>I am getting this error after trying to run the app in an emulator.</p>
<pre><code>FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Projects\news-app\news\main_files\source\wordpress_app\android\app\build.gradle' line: 33
* What went wrong:
A problem occurred evaluating project ':app'.
> Malform... | I am getting this error after trying to run the app in an emulator. [CODE] Here is the build.gradle file line 31: [CODE] I tried to fix this error but could not do it, and I am still learning. Someone, please tell me how to fix this error? | swift|xcode|flutter|android-studio|dart | 0 | 2022-04-29T12:07:39.443Z | 2,022 | 4 | 12 | 4 | 28 | 0 | 239 | 74 | 5 | 2 | true | true | false | false | false | false | zero |
72,084,688 | How to leave Internal Beta for an Android app? | <p>I made myself a beta tester for one of my Android apps, using my Android developer account. Now, whenever I view the app in the Play store, the listing says "<App Name> (Internal Beta)", and below the Install button, it says "You're an internal tester. This app may be unsecure or unstable."... | I made myself a beta tester for one of my Android apps, using my Android developer account. Now, whenever I view the app in the Play store, the listing says "<App Name> (Internal Beta)", and below the Install button, it says "You're an internal tester. This app may be unsecure or unstable." I would ... | android | 0 | 2022-05-02T09:19:42.217Z | 2,022 | 5 | 9 | 0 | 28 | 0 | 785 | 46 | 1 | 0 | false | true | false | false | false | false | zero |
72,099,200 | Second method runs only after I press button twice | <p>The problem is that the method runs only after I press button second time, but the goal is to work for both methods one after another when I press button for the first time.</p>
<p>The first method is runThreadWork(); and after that runThreadRest(); when the first is completed.</p>
<p>This is the part for the button... | The problem is that the method runs only after I press button second time, but the goal is to work for both methods one after another when I press button for the first time. The first method is runThreadWork(); and after that runThreadRest(); when the first is completed. This is the part for the button. [CODE] That's i... | java|android|methods | 0 | 2022-05-03T12:10:56.290Z | 2,022 | 5 | 12 | 1 | 28 | 0 | 581 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
72,100,885 | Change the background color of the keyboard | <p>How can I change the color of the keyboard?
I am working on an Android TV app and I want to have a keyboard with a blue background color, but I don't know how to do that.</p> | How can I change the color of the keyboard? I am working on an Android TV app and I want to have a keyboard with a blue background color, but I don't know how to do that. | android|keyboard|android-tv|leanback|gboard | 0 | 2022-05-03T14:23:52.223Z | 2,022 | 5 | 14 | 1 | 28 | 0 | 170 | 43 | 5 | 0 | false | true | false | false | false | false | zero |
72,113,465 | Android Kotlin ValueAnimator doesn't show the right number | <p>I'm trying to make an animation when my silver's user is updated. The problem is that the animation doesn't stop on the right number.
I'm working with firestore so I retreive the silver value from a Snapchat listener.</p>
<p>Since the ValueAnimator doesn't work proprely with big number I don't want animation for num... | I'm trying to make an animation when my silver's user is updated. The problem is that the animation doesn't stop on the right number. I'm working with firestore so I retreive the silver value from a Snapchat listener. Since the ValueAnimator doesn't work proprely with big number I don't want animation for number biger ... | android|kotlin | 0 | 2022-05-04T13:04:57.880Z | 2,022 | 5 | 13 | 2 | 28 | 0 | 569 | 58 | 2 | 2 | true | true | false | false | false | false | zero |
71,803,607 | "Google hasnt verified this app" - How to get this screen back? | <p>I have an app which has been getting this screen. But I need to check if it has gone or not on a new device.</p>
<p>Is it possible to clear cache and get that error multiple times on same device to understand the verification status?</p>
<p>While I have submitted the app for verification and it went through, some us... | I have an app which has been getting this screen. But I need to check if it has gone or not on a new device. Is it possible to clear cache and get that error multiple times on same device to understand the verification status? While I have submitted the app for verification and it went through, some users complain they... | android|flutter|google-oauth | 0 | 2022-04-08T22:09:27.667Z | 2,022 | 4 | 22 | 4 | 29 | 0 | 507 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
71,822,600 | restart kivy app to run in background on android? | <p>I found many links to the question but i couldnt really follow the solutions to implement it correctly in my code, i have this in my main.py which runs the main app and other threads inside.</p>
<pre><code>def func_chat_send_socket():
## code
def func_chat_recv_socket():
## code
def update_socket():
## c... | I found many links to the question but i couldnt really follow the solutions to implement it correctly in my code, i have this in my main.py which runs the main app and other threads inside. [CODE] How can restart the app with all these threads after its closed to keep it working on the background. there are different ... | python|android|kivy|background-process|buildozer | 0 | 2022-04-11T04:02:47.203Z | 2,022 | 4 | 4 | 0 | 29 | 0 | 416 | 49 | 5 | 1 | true | true | false | false | false | false | zero |
71,823,029 | Android - PendingIntent.getActivities() API not working as intended in Xiomi devices | <p>I am working with an Android API in my app and it is not working properly on Redmi phones. On all other phones it is working fine. I have tested it on Google pixel, Samsung and OnePlus phones.</p>
<p>It is probably the issue with the custom Android OS on Redmi phones. I have tested it on Redmi devices with Android O... | I am working with an Android API in my app and it is not working properly on Redmi phones. On all other phones it is working fine. I have tested it on Google pixel, Samsung and OnePlus phones. It is probably the issue with the custom Android OS on Redmi phones. I have tested it on Redmi devices with Android OS 7, 9 and... | android|android-pendingintent|redmi-device | 0 | 2022-04-11T05:25:10.880Z | 2,022 | 4 | 5 | 0 | 29 | 0 | 1,076 | 84 | 3 | 0 | false | true | false | false | false | false | zero |
71,823,268 | How to use ndk-gdb debug executable ELF without AndroidManifest.xml on android? | <p>I used cmake & ndk build below hello.cpp and run it on android.</p>
<pre class="lang-cpp prettyprint-override"><code>#include <stdio.h>
int main() {
printf("Hello World!\n");
return 0;
}
</code></pre>
<p>Follow the gdb instruction. run <code>gdbserver :1234 hello</code> on android device... | I used cmake & ndk build below hello.cpp and run it on android. [CODE] Follow the gdb instruction. run gdbserver :1234 hello on android device. When run $NDK/ndk-gdb on macOS encounter error msg ERROR: Could not find AndroidManifest.xml in current directory or a parent directory. Launch this script from inside a projec... | android|android-ndk|gdb | 1 | 2022-04-11T06:00:34.567Z | 2,022 | 4 | 6 | 0 | 29 | 0 | 428 | 79 | 3 | 1 | true | true | false | false | false | false | low |
71,827,219 | How many clients are connected to Android 10 hotspot? | <p>I need to display number of devices that are connected to hotspot in a java Android applic.</p>
<p>Running shell commands "/proc/net/arp" or "ip neighbor" are not working in Android 9 and later versions.</p>
<p>Please help me.</p> | I need to display number of devices that are connected to hotspot in a java Android applic. Running shell commands "/proc/net/arp" or "ip neighbor" are not working in Android 9 and later versions. Please help me. | java|android|hotspot | 0 | 2022-04-11T11:42:32.907Z | 2,022 | 4 | 11 | 0 | 29 | 0 | 232 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
71,840,703 | Native bottomsheet barrierColor - Flutter | <p>I'm using this plugin <a href="https://pub.dev/packages/esys_flutter_share_plus" rel="nofollow noreferrer">https://pub.dev/packages/esys_flutter_share_plus</a> to share text between apps. Is there any way to change the barrier color of the bottomsheet which appears natively? The plugin doesn't have a barrierColor pa... | I'm using this plugin https://pub.dev/packages/esys_flutter_share_plus to share text between apps. Is there any way to change the barrier color of the bottomsheet which appears natively? The plugin doesn't have a barrierColor param, so maybe I can change the theme of the app or something? So Theme(barrierColor: Colors.... | android|ios|flutter|plugins | 0 | 2022-04-12T10:01:44.980Z | 2,022 | 4 | 10 | 1 | 29 | 0 | 408 | 41 | 4 | 0 | false | true | false | false | false | false | zero |
71,857,227 | APK upload on play store through gmail alert | <p>I have uploaded apk on google play console using one of my gmail account, But i that day i got notification that "We noticed a new sign-in to your Google Account on a Linux device." But i didn't logged from Linux device ,its from windows.</p>
<p><strong>I want to know is this login related to google play c... | I have uploaded apk on google play console using one of my gmail account, But i that day i got notification that "We noticed a new sign-in to your Google Account on a Linux device." But i didn't logged from Linux device ,its from windows. I want to know is this login related to google play console or google c... | android|google-cloud-platform | 1 | 2022-04-13T12:05:07.850Z | 2,022 | 4 | 12 | 2 | 29 | 0 | 475 | 44 | 2 | 0 | false | true | false | false | false | false | low |
71,882,690 | After some time in background my app wont go in foreground with intent callback | <p>My app start navigation app, after a while when user click button in navigation with api callback my app should go in front. Problem is, in first 30 secconds everything work properly, after some callback is still trigiered but my app wont go in front.</p>
<p>Code for bringing my app to foreground is:</p>
<pre><code>... | My app start navigation app, after a while when user click button in navigation with api callback my app should go in front. Problem is, in first 30 secconds everything work properly, after some callback is still trigiered but my app wont go in front. Code for bringing my app to foreground is: [CODE] Code for starting ... | android|android-intent | 0 | 2022-04-15T10:04:47.853Z | 2,022 | 4 | 10 | 4 | 29 | 0 | 340 | 79 | 2 | 2 | true | true | false | false | false | false | zero |
71,884,196 | Not able to catch an uncaught error in Android | <p>I have been trying to implement a catch-all type of error handler just so that I can log the error by using the error event API provided by GameAnalytics SDK.</p>
<p>I added the error handler on both the UI thread and the GL thread so that I'm not missing out on anything. But to my surprise, both the handlers aren't... | I have been trying to implement a catch-all type of error handler just so that I can log the error by using the error event API provided by GameAnalytics SDK. I added the error handler on both the UI thread and the GL thread so that I'm not missing out on anything. But to my surprise, both the handlers aren't triggerin... | java|android|cocoscreator | 0 | 2022-04-15T12:45:29.957Z | 2,022 | 4 | 12 | 4 | 29 | 0 | 516 | 46 | 3 | 2 | true | true | false | false | false | false | zero |
71,908,942 | Room DAO function always returns null - Solved.. I forget .start() for thread. :-) | <p>I have a DAO function as</p>
<blockquote>
<p>Blockquote</p>
</blockquote>
<p>@Query("SELECT DISTINCT name as pname FROM bevlista ORDER BY 1")
fun getaruk():MutableList<Product</p>
<blockquote>
<p>Blockquote</p>
</blockquote>
<p>and a class as</p>
<p>data class Product (
@ColumnInfo(name = "pname&qu... | I have a DAO function as Blockquote @Query("SELECT DISTINCT name as pname FROM bevlista ORDER BY 1") fun getaruk():MutableList<Product Blockquote and a class as data class Product ( @ColumnInfo(name = "pname") var pname:String ) When I test the Query in App Inspector , then the query result real : I... | sqlite|select|android-room|dao | 0 | 2022-04-18T07:40:56.183Z | 2,022 | 4 | 7 | 0 | 29 | 0 | 512 | 82 | 4 | 1 | true | true | false | false | false | false | zero |
71,911,448 | Android : How to call ExternalBativeBuild task manually | <p>I am working on an Android project that use native <code>C++</code> source code. There are a lot of <code>C++</code> sub-modules. So when I import project in Android Studio, IDE takes a lot of memory in <code>externalNativeBuild</code> task and system becomes very slow.</p>
<pre><code>externalNativeBuild {
... | I am working on an Android project that use native C++ source code. There are a lot of C++ sub-modules. So when I import project in Android Studio, IDE takes a lot of memory in externalNativeBuild task and system becomes very slow. [CODE] So, I don't want IDE to start externalNativeBuild task. What I want is to call ex... | android|gradle|android-ndk|android-gradle-plugin | 0 | 2022-04-18T11:51:28.843Z | 2,022 | 4 | 11 | 0 | 29 | 0 | 430 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
71,917,059 | Flutter: local_image_provider is not showing all images | <p>I was looking for a way to display a phone's gallery in a GridView. Came across the local_image_provider library. It does it's job pretty well. Not a lot of problems except the fact that using the "findLatest" method on the LocalImageProvider does not return the newest images from the gallery (it is the on... | I was looking for a way to display a phone's gallery in a GridView. Came across the local_image_provider library. It does it's job pretty well. Not a lot of problems except the fact that using the "findLatest" method on the LocalImageProvider does not return the newest images from the gallery (it is the only ... | android|flutter|dart | 0 | 2022-04-18T21:04:11.193Z | 2,022 | 4 | 21 | 0 | 29 | 0 | 878 | 55 | 3 | 1 | true | true | false | false | false | false | zero |
71,954,558 | How to save ArrayList<Webview> Objects in local database in android | <p>I have a requirement of staying logged in with multiple emails for the same website. So, when i open app for 1st time, I create a new webview instance and login with email-1, then i create another webview instance and login in same website with email-2 and so on.</p>
<p>Before i close my app, I am trying to save tho... | I have a requirement of staying logged in with multiple emails for the same website. So, when i open app for 1st time, I create a new webview instance and login with email-1, then i create another webview instance and login in same website with email-2 and so on. Before i close my app, I am trying to save those objects... | android|object|arraylist|serialization|webview | 0 | 2022-04-21T12:34:02.150Z | 2,022 | 4 | 12 | 3 | 29 | 0 | 650 | 67 | 5 | 1 | true | true | false | false | false | false | zero |
71,963,572 | Can't locate files at Application Support/Google/AndroidStudioPreview | <p>I have an issue regarding Android Studio installation. I accidentally disabled all plugins and Android Studio suggested me to reinstall it from scratch. Based on the previous posts, before the installation, I have to delete the file: disabled_pulgins.txt which located at: ~/Library/Application Support/Google/Android... | I have an issue regarding Android Studio installation. I accidentally disabled all plugins and Android Studio suggested me to reinstall it from scratch. Based on the previous posts, before the installation, I have to delete the file: disabled_pulgins.txt which located at: ~/Library/Application Support/Google/AndroidStu... | android-studio | 0 | 2022-04-22T04:43:52.037Z | 2,022 | 4 | 4 | 4 | 29 | 0 | 575 | 69 | 1 | 0 | false | true | false | false | false | false | zero |
71,974,185 | Android: OnClickListener not working when I click on the button | <pre><code>@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
binding.signUpButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
... | [CODE] If I click on the button, nothing happens. In another app, there is no problem with this approach. Where is my mistake? | android|onclick | 0 | 2022-04-22T20:19:05.900Z | 2,022 | 4 | 20 | 4 | 29 | 0 | 126 | 63 | 2 | 1 | true | true | false | false | false | false | zero |
72,021,376 | Flutter Audio with Multiple audio streams and Gapless Loops | <p>Is there any way to do play at least 3 Audio Streams from assets(files) and do a gapless loop of these audio files?</p>
<p>Note:
I searched the entire Pub.Dev Directory and didn't find any widget that could help me.</p> | Is there any way to do play at least 3 Audio Streams from assets(files) and do a gapless loop of these audio files? Note: I searched the entire Pub.Dev Directory and didn't find any widget that could help me. | android|flutter|dart | 0 | 2022-04-26T22:49:31.630Z | 2,022 | 4 | 22 | 1 | 29 | 0 | 208 | 59 | 3 | 0 | false | true | false | false | false | false | zero |
72,066,694 | Android Studio deletes gradle files and re-downloads them every time I run the project | <p>Welcome
I installed android studio on my device and it downloaded Gradle files 7.2 when creating my project,</p>
<p>Now, every time I run the project it reloads all the Gradle files and asks me to delete the old one,
This takes about half an hour depending on my internet speed.</p>
<p>I'm starting to hate Android St... | Welcome I installed android studio on my device and it downloaded Gradle files 7.2 when creating my project, Now, every time I run the project it reloads all the Gradle files and asks me to delete the old one, This takes about half an hour depending on my internet speed. I'm starting to hate Android Studio and Google I... | android|android-studio|gradle|android-gradle-plugin | 0 | 2022-04-30T07:59:19.737Z | 2,022 | 4 | 7 | 5 | 29 | 0 | 345 | 86 | 4 | 0 | false | true | false | false | false | false | zero |
72,096,342 | Application actions with shortcuts | <p>I'm trying to test app actions with google assistent.</p>
<p>in my shortcuts.xml i have :</p>
<pre><code><shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<!--1-->
<capability android:name="actions.intent.OPEN_APP_FEATURE">
<intent
android:tar... | I'm trying to test app actions with google assistent. in my shortcuts.xml i have : [CODE] The second intent "GET_THING" works ok for "search history on myApp"; but also responds to "show me history on myApp" - for this one i was expending for the first intent to respond "OPEN_APP_FEAT... | android|action|google-assistant-sdk | 0 | 2022-05-03T07:56:00.303Z | 2,022 | 5 | 7 | 1 | 29 | 0 | 826 | 34 | 3 | 1 | true | true | false | false | false | false | zero |
72,118,650 | android - Firebase phone authentication recaptch | <p>I'm working on an android app which require Firebase phone authentication, When I released my app, a recapture still required as in debug mode, I enabled <code> Android Device Verification</code> in google cloud console, also I added google play console <code>SHA-256</code>, <code>SHA-1</code> to Firebase project se... | I'm working on an android app which require Firebase phone authentication, When I released my app, a recapture still required as in debug mode, I enabled Android Device Verification in google cloud console, also I added google play console SHA-256 , SHA-1 to Firebase project setting. Bellow my Kotlin code of Firebase a... | android|kotlin|authentication|firebase-authentication|sha256 | 2 | 2022-05-04T19:47:11.193Z | 2,022 | 5 | 19 | 2 | 29 | 0 | 467 | 48 | 5 | 3 | true | true | false | false | false | false | low |
72,131,088 | Shuffle the content of an ArrayList and display it in real time without change activity | <p>I was creating a simple memory game in which you had a list of colors that you had to memorize within a certain time, then the list with the colors disappeared and you had to choose the colors in order from a second list as in the photo:</p>
<p><a href="https://i.stack.imgur.com/ftqmB.png" rel="nofollow noreferrer">... | I was creating a simple memory game in which you had a list of colors that you had to memorize within a certain time, then the list with the colors disappeared and you had to choose the colors in order from a second list as in the photo: I have structured the game in three difficulty levels in which the time to memoriz... | java|android-studio|arraylist|android-intent|shuffle | 0 | 2022-05-05T17:07:19.923Z | 2,022 | 5 | 17 | 3 | 29 | 0 | 859 | 87 | 5 | 1 | true | true | false | false | false | false | zero |
71,812,991 | How to add markers to google maps using latitude and longitude from rss feed | <p>Im trying to add markers to a google map application using the xml from this source <a href="https://trafficscotland.org/rss/feeds/plannedroadworks.aspx" rel="nofollow noreferrer">https://trafficscotland.org/rss/feeds/plannedroadworks.aspx</a></p>
<p>Currently this is how i'm parsing the xml</p>
<pre><code>private v... | Im trying to add markers to a google map application using the xml from this source https://trafficscotland.org/rss/feeds/plannedroadworks.aspx Currently this is how i'm parsing the xml [CODE] the data from this xml is stored in this class called trafficInfos [CODE] } and this is how im trying to retrive the lat and lo... | android|google-maps|xml-parsing | 0 | 2022-04-10T00:51:30.753Z | 2,022 | 4 | 0 | 6 | 30 | 0 | 544 | 76 | 3 | 3 | true | true | false | false | false | false | zero |
71,862,523 | How to find which AudioManager Stream is active? | <p>There are different kind of streams for fine grained controlling in Android AudioManager API.</p>
<p>I can check is a music is being played or not using <a href="https://developer.android.com/reference/android/media/AudioManager#isMusicActive()" rel="nofollow noreferrer">isMusicActive</a> API</p>
<blockquote>
<p>Aud... | There are different kind of streams for fine grained controlling in Android AudioManager API. I can check is a music is being played or not using isMusicActive API AudioManager().isMusicActive() However, I wonder if there is any way to know the status of supported stream unlike a coarse grained generic API as above? or... | android|android-mediaplayer|android-audiomanager | 0 | 2022-04-13T18:50:16.410Z | 2,022 | 4 | 18 | 2 | 30 | 0 | 336 | 48 | 3 | 0 | false | true | false | false | false | false | zero |
71,893,877 | How to use ARCore-android-java sdk to add hat to human in camera? | <p>The requirement is use ARCore-android-java sdk to add a hat to human in camera. The sample code from google is add fox ear and fox nose, I want to know how to change the code to meet the requirement. Could anyone give me some tutorial?</p> | The requirement is use ARCore-android-java sdk to add a hat to human in camera. The sample code from google is add fox ear and fox nose, I want to know how to change the code to meet the requirement. Could anyone give me some tutorial? | android|arcore | 0 | 2022-04-16T12:27:42.443Z | 2,022 | 4 | 12 | 5 | 30 | 0 | 235 | 65 | 2 | 0 | false | true | false | false | false | false | zero |
71,896,975 | Unable to perform second ViewInteraction which depends on first ViewInteraction | <p>I'm trying to validate trickplay window (i.e. current frame) which appears when user perform fast forward on video seek bar using finger (i.e. drag the slider).</p>
<p>The problem here I'm facing is as soon as my first operation completes the trickplay window gets disappear thats why my second operation (i.e. assert... | I'm trying to validate trickplay window (i.e. current frame) which appears when user perform fast forward on video seek bar using finger (i.e. drag the slider). The problem here I'm facing is as soon as my first operation completes the trickplay window gets disappear thats why my second operation (i.e. assertion is fai... | android-espresso | 0 | 2022-04-16T19:41:26.823Z | 2,022 | 4 | 19 | 5 | 30 | 0 | 495 | 79 | 1 | 1 | true | true | false | false | false | false | zero |
71,918,061 | Checking OS Flutter developing environment for my SDK | <p>I have developed a native SDK for Android using Flutter FFI (sdk.so).
This SDK needs to check in which OS environment the developer is on (Windows, Linux or MacOS), so I can check its license.
If I add these tages below, to my sdk.so library it will always return ANDROID, because the sdk.so library, is running in an... | I have developed a native SDK for Android using Flutter FFI (sdk.so). This SDK needs to check in which OS environment the developer is on (Windows, Linux or MacOS), so I can check its license. If I add these tages below, to my sdk.so library it will always return ANDROID, because the sdk.so library, is running in an An... | android|c++|flutter|cross-platform|dart-ffi | 0 | 2022-04-18T23:26:55.350Z | 2,022 | 4 | 23 | 0 | 30 | 0 | 641 | 53 | 5 | 0 | false | true | false | false | false | false | zero |
71,922,657 | Can't Read phone number from content Provider query | <p>I used start activity with intent for select contact and receive data from <code>onActivityResult</code> method. <code>onActivityResult</code> method is deprecated and have to use <code>registerForActivityResult</code> solution.</p>
<p>Before:</p>
<pre><code>val intent = Intent(Intent.ACTION_PICK).apply {
... | I used start activity with intent for select contact and receive data from onActivityResult method. onActivityResult method is deprecated and have to use registerForActivityResult solution. Before: [CODE] When I use [CODE] I can't access phone number, can't query on DataProvider with [CODE] or [CODE] I get an exception... | android|android-contentprovider|activityresultcontracts | 1 | 2022-04-19T09:29:50.990Z | 2,022 | 4 | 9 | 1 | 30 | 0 | 513 | 51 | 3 | 4 | true | true | false | false | false | false | low |
71,932,935 | How to use library aar used by another library? | <p>An app project's structure is like the following:</p>
<pre><code>Foo
app
mylibrary
libs
somelib.aar
</code></pre>
<p>The app uses mylibrary as follows in build.gradle:</p>
<pre><code> implementation project(path: ':mylibrary')
</code></pre>
<p>Is it possible for the code of the app to reference classes in ... | An app project's structure is like the following: [CODE] The app uses mylibrary as follows in build.gradle: [CODE] Is it possible for the code of the app to reference classes in somelib.aar directly? I want to avoid adding somelib.aar to both app and mylibrary. | android-library|aar|android-module | 0 | 2022-04-20T00:56:22.843Z | 2,022 | 4 | 0 | 2 | 30 | 0 | 261 | 47 | 3 | 2 | true | true | false | false | false | false | zero |
71,941,955 | how can I add cppFlag in gradle for specific build type | <p>I have the following buildType block in my build.gradle. As you can see I would like to add the DEBUG_BUILD flag to the "debug" build type ONLY!</p>
<pre><code> buildTypes {
release {
sourceSets
minifyEnabled false
proguardFiles getDefaultProguardFile('proguar... | I have the following buildType block in my build.gradle. As you can see I would like to add the DEBUG_BUILD flag to the "debug" build type ONLY! [CODE] unfortunately, no matter what build type variant I choose in android studio both blocks are executed. I have seen other posts here about this issue, but non o... | android|gradle|android-ndk|build.gradle | 0 | 2022-04-20T15:01:33.787Z | 2,022 | 4 | 15 | 2 | 30 | 0 | 530 | 55 | 4 | 2 | true | true | false | false | false | false | zero |
71,951,296 | How to declare attr for layout_gravity property | <p>I have a project which comes with two flavors.</p>
<ul>
<li>In Flavor1 I want to have the NavigationDrawer with the menu on the left side.</li>
<li>In Flavor2 I want to have the NavigationDrawer with the menu on the right side.</li>
</ul>
<p>My current solution is to define an attribute in the apps attrs.xml:</p>
<p... | I have a project which comes with two flavors. In Flavor1 I want to have the NavigationDrawer with the menu on the left side. In Flavor2 I want to have the NavigationDrawer with the menu on the right side. My current solution is to define an attribute in the apps attrs.xml: [CODE] The attribute is referenced in my XML ... | android|android-layout|android-build-flavors | 1 | 2022-04-21T08:34:52.263Z | 2,022 | 4 | 8 | 3 | 30 | 0 | 752 | 47 | 3 | 6 | true | true | false | false | false | false | low |
71,957,296 | Get And Control Currently Playing Songs/Audio in Android Studio | <p>I'm currently making a motorcycle riding app and trying to implement some type of music control to the app. I would like to replicate something like this from my phone notifications: <a href="https://i.stack.imgur.com/YKU6z.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YKU6z.jpg" alt="enter imag... | I'm currently making a motorcycle riding app and trying to implement some type of music control to the app. I would like to replicate something like this from my phone notifications: I'm, currently playing the song from spotify as visible but this card shows in my notifications if I play from music library or any other... | java|android-studio | 0 | 2022-04-21T15:46:48.027Z | 2,022 | 4 | 15 | 3 | 30 | 0 | 658 | 63 | 2 | 0 | false | true | false | false | false | false | zero |
71,959,137 | Flutter : Error: Entrypoint isn't within the current project | <p>When i try to run projects of flutter for android not able to run and geeting errors like <strong>Error: Entrypoint isn't within the current project</strong></p>
<p>tried Invalidate Caches and Restart, clean, change target version Android Studio are some options</p>
<p>Please help me out.</p>
<p>[√] Flutter (Channel... | When i try to run projects of flutter for android not able to run and geeting errors like Error: Entrypoint isn't within the current project tried Invalidate Caches and Restart, clean, change target version Android Studio are some options Please help me out. [√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Ver... | android|flutter|android-studio | 0 | 2022-04-21T18:16:24.590Z | 2,022 | 4 | 18 | 3 | 30 | 0 | 879 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
71,974,223 | How to load ZeroOneZeroR Auido Mixer Dependency in Android project | <p>I'm very new to Androind and Java programming and have a basic issue with loading dependencies.</p>
<p>I want to use ZeroOneZero <a href="https://github.com/ZeroOneZeroR/android_audio_mixer" rel="nofollow noreferrer">android_audio_mixer library</a>. I add lines to my gradle files according to the guidlines in the RE... | I'm very new to Androind and Java programming and have a basic issue with loading dependencies. I want to use ZeroOneZero android_audio_mixer library . I add lines to my gradle files according to the guidlines in the README. ./build.gradle [CODE] ./app/build.gradle [CODE] There's one difference - in a modern Android st... | java|android|android-studio|gradle | 1 | 2022-04-22T20:22:15.853Z | 2,022 | 4 | 20 | 4 | 30 | 0 | 728 | 66 | 4 | 3 | true | true | false | false | false | false | low |
71,998,110 | SharedPreferences forgets day - night mode after a while | <p>I ask for a little attention and dedication to my problem. Namely, I have a defined color themes (white and black) in Style for day and night mode. Then, with the help of the switch, I choose which topic will be visible. With the help of SharedPreferences I remember which topic was chosen and that's where the proble... | I ask for a little attention and dedication to my problem. Namely, I have a defined color themes (white and black) in Style for day and night mode. Then, with the help of the switch, I choose which topic will be visible. With the help of SharedPreferences I remember which topic was chosen and that's where the problem h... | java|android|switch-statement|sharedpreferences|appcompatdelegate | 0 | 2022-04-25T10:30:30.090Z | 2,022 | 4 | 10 | 0 | 30 | 0 | 659 | 56 | 5 | 2 | true | true | false | false | false | false | zero |
72,010,192 | android mvvm and livedata: list not observed in activity | <p>I am developing an android app that has an activity with a recyclerview and an add button. When add button is clicked, a FragmentDialog is launched. the user enters the name of the book which will be stored in a greendao database. The list of books is displayed in the recyclerview.
I am using mvvm and livedata . the... | I am developing an android app that has an activity with a recyclerview and an add button. When add button is clicked, a FragmentDialog is launched. the user enters the name of the book which will be stored in a greendao database. The list of books is displayed in the recyclerview. I am using mvvm and livedata . the pr... | mvvm|android-recyclerview|viewmodel|android-livedata | 0 | 2022-04-26T07:46:50.910Z | 2,022 | 4 | 7 | 1 | 30 | 0 | 879 | 56 | 4 | 3 | true | true | false | false | false | false | zero |
72,020,556 | Build successful model but wont convert to TFLITE | <p>So I have finished my model. It is pretty simple but right I want to convert to TFLITE so I can use it in ANDROID studio and use the OCR in application.</p>
<p>My only issue I want to convert it to TFLITE. How do I do that ?</p>
<p>Here is my code:</p>
<pre><code>!pip install ArabicOcr
from ArabicOcr import arabicoc... | So I have finished my model. It is pretty simple but right I want to convert to TFLITE so I can use it in ANDROID studio and use the OCR in application. My only issue I want to convert it to TFLITE. How do I do that ? Here is my code: [CODE] So what line of code do I use to convert this whole result to TFLITE and save ... | android|tensorflow|tensorflow-lite | 0 | 2022-04-26T21:09:56.607Z | 2,022 | 4 | 21 | 1 | 30 | 0 | 358 | 49 | 3 | 1 | true | true | false | false | false | false | zero |
72,023,932 | How retrieve DialogFragment by tag on screen rotate? | <p>I have created a simple android app that shows a dialog with <code>DialogFragment</code>:</p>
<pre><code>public class MainActivity extends AppCompatActivity {
Handler handler = new Handler();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... | I have created a simple android app that shows a dialog with DialogFragment : [CODE] The problem I come across is that after screen rotation I can't retrieve my dialog with the fragment tag. After some digging, I can use either setRetainInstance(true); that is deprecated or android:configChanges="orientation"... | java|android | 0 | 2022-04-27T06:01:16.013Z | 2,022 | 4 | 6 | 2 | 30 | 0 | 459 | 52 | 2 | 1 | true | true | false | false | false | false | zero |
72,026,756 | Printing svg line have same stroke-width show different result on android and ios | <p>I have a bug that the line have same stype on preview and on the actual print is different between android device and ios device. Specially the line on Android is thinner than the line on iOS</p>
<pre><code> .line {
fill:#000000;
fill-opacity:1;
stroke:#000000;
stroke-opacity:1;
stroke-widt... | I have a bug that the line have same stype on preview and on the actual print is different between android device and ios device. Specially the line on Android is thinner than the line on iOS [CODE] Can I ask why that happen? and are there anyway to fix so that every OS show and print the same? | javascript|android|ios|cordova|svg | 0 | 2022-04-27T09:54:57.607Z | 2,022 | 4 | 9 | 2 | 30 | 0 | 295 | 81 | 5 | 1 | true | true | false | false | false | false | zero |
72,053,999 | WaypointMission curved dont work as expected | <p>I currently have:<br />
Aircraft: Matrice 300 RTK<br />
Mobile SDK: 4.16</p>
<p>I have waypoints A, B and C for simplicity. I need the drone to go from A to B and then to C and without stopping, searching the internet I found the solution, <code>flightPathMode(WaypointMissionFlightPathMode.CURVED);</code> . So far s... | I currently have: Aircraft: Matrice 300 RTK Mobile SDK: 4.16 I have waypoints A, B and C for simplicity. I need the drone to go from A to B and then to C and without stopping, searching the internet I found the solution, flightPathMode(WaypointMissionFlightPathMode.CURVED); . So far so good, the problem is when I want ... | java|android|dji-sdk | 0 | 2022-04-29T07:03:58.770Z | 2,022 | 4 | 7 | 4 | 30 | 0 | 811 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
72,055,367 | How to check classifier declaration in lint rule android | <p>I want to include some additional lint rules in my Android project. when setting up our modules & their corresponding dependencies I need a rule that we always need to add a classifier declaration. This makes things crystal clear when we revisit the modules. So for example instead of</p>
<pre><code>viewModel { C... | I want to include some additional lint rules in my Android project. when setting up our modules & their corresponding dependencies I need a rule that we always need to add a classifier declaration. This makes things crystal clear when we revisit the modules. So for example instead of [CODE] we would have [CODE] Just ma... | android|gradle|android-lint|ktlint | 0 | 2022-04-29T08:57:22.350Z | 2,022 | 4 | 8 | 4 | 30 | 0 | 414 | 56 | 4 | 2 | true | true | false | false | false | false | zero |
72,069,878 | How to make a coachmark that can fill the screen 100%? | <p>I need a coachmark that can follow size as an activity. But the coachmark dialog that I made is always blocked by the bar at the top of the screen. How do I get my dialog to cover the screen up to 100%?
Here's what i mean :
<a href="https://i.stack.imgur.com/1v77P.jpg" rel="nofollow noreferrer">my coachmark cant fit... | I need a coachmark that can follow size as an activity. But the coachmark dialog that I made is always blocked by the bar at the top of the screen. How do I get my dialog to cover the screen up to 100%? Here's what i mean : my coachmark cant fit this screen 100% Here's my kotlin's code : [CODE] Here's my xml : [CODE] | java|android|xml|kotlin|dialog | 1 | 2022-04-30T15:40:23.527Z | 2,022 | 4 | 15 | 5 | 30 | 0 | 318 | 54 | 5 | 2 | true | true | false | false | false | false | low |
72,073,408 | How to specify wait while iterating through the loop in Android? | <p>I have an <strong>event queue</strong> in one of my module classes in my android project which has registered to receive events from the other modules.</p>
<p>I have to launch new activity based on the events that I get in the <strong>event queue</strong>.</p>
<p>The problem is that when I start iterating the <stron... | I have an event queue in one of my module classes in my android project which has registered to receive events from the other modules. I have to launch new activity based on the events that I get in the event queue . The problem is that when I start iterating the event queue , the other events can be received asynchron... | java|android|concurrency|thread-safety|android-handler | 0 | 2022-05-01T01:34:18.033Z | 2,022 | 5 | 1 | 6 | 30 | 0 | 669 | 64 | 5 | 1 | true | true | false | false | false | false | zero |
72,075,306 | Saved video not showing in gallery android 9 | <p>I am storing video in internal storage but the saved video is not showing up in gallery. To see that first i have to open my file manager then come back to gallery. I stored the same video in android Q using media store but in</p>
<pre><code> ContentResolver contentResolver = getContentResolve... | I am storing video in internal storage but the saved video is not showing up in gallery. To see that first i have to open my file manager then come back to gallery. I stored the same video in android Q using media store but in [CODE] Exception got from Catch in android 9 [CODE] | android|android-9.0-pie | 0 | 2022-05-01T08:53:21Z | -1 | -1 | -1 | -1 | 30 | 0 | 278 | 44 | 2 | 2 | true | true | false | false | false | false | zero |
72,076,808 | Android | Lose animation on minimizing app | <p>I have a simple animation of opening an activity with a search:</p>
<pre><code> Intent searchActivity = new Intent(this, SearchActivity.class);
ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(this,
Pair.create(searchEditText, "searchTransition"));
startActivity... | I have a simple animation of opening an activity with a search: [CODE] But when I minimizing and reopening the app, the animation is lost, and the search activity closes with the standard animation. Is it supposed to work like this, or should I somehow re-establish the connection between the activities? vid's here [COD... | java|android | 0 | 2022-05-01T12:41:29.890Z | 2,022 | 5 | 12 | 6 | 30 | 0 | 322 | 42 | 2 | 2 | true | true | false | false | false | false | zero |
72,086,200 | Flutter App loses SoundController when it was in the background for a while | <p>i am trying to learn Flutter, so i wanted to make a really simple app that just plays a simple sound from a given frequency.
I use the package surround sound (<a href="https://pub.dev/packages/surround_sound" rel="nofollow noreferrer">https://pub.dev/packages/surround_sound</a>).</p>
<p>It works really well, in the ... | i am trying to learn Flutter, so i wanted to make a really simple app that just plays a simple sound from a given frequency. I use the package surround sound ( https://pub.dev/packages/surround_sound ). It works really well, in the State Object i declare final controller = SoundController(); in the init method i call c... | android|ios|flutter|dart|mobile | 0 | 2022-05-02T11:46:19.587Z | 2,022 | 5 | 11 | 0 | 30 | 0 | 1,183 | 75 | 5 | 0 | false | true | false | false | false | false | zero |
72,096,843 | Calculate the resolution of a android phone | <p>I want to calculate the resolution of android phones. In some phones have navigation bar and some phone have not navigation bar. When I run this code in android devices then I'm getting exact resolution 1520x720 but In other devices it returns 1461x720(exact resolution 1480x720) so how to get resolution in all devic... | I want to calculate the resolution of android phones. In some phones have navigation bar and some phone have not navigation bar. When I run this code in android devices then I'm getting exact resolution 1520x720 but In other devices it returns 1461x720(exact resolution 1480x720) so how to get resolution in all devices.... | android|kotlin | 0 | 2022-05-03T08:43:00.320Z | 2,022 | 5 | 8 | 1 | 30 | 0 | 327 | 43 | 2 | 1 | true | true | false | false | false | false | zero |
71,828,856 | Can't Get The Json Data From Google Maps API Return NULL Object | <p>I'm trying to retrieve data like address from maps api.
The Problem that when I call JSONObject `jsonObject = new JSONObject(response.body().toString()); It return NULL the reponse is NULL But I don't know why??</p>
<p>I thought it was because it's using http instead of https.</p>
<p>The Result that I want to do tha... | I'm trying to retrieve data like address from maps api. The Problem that when I call JSONObject `jsonObject = new JSONObject(response.body().toString()); It return NULL the reponse is NULL But I don't know why?? I thought it was because it's using http instead of https. The Result that I want to do that drawing A route... | java|api|android-studio|google-maps|retrofit2 | 0 | 2022-04-11T13:39:01.757Z | 2,022 | 4 | 13 | 0 | 31 | 0 | 781 | 63 | 5 | 4 | true | true | false | false | false | false | zero |
71,869,840 | How to handle multiple timers in RecyclerView using Runnable | <p>I'm using a Runnable which is updating a TextView every second (counting up) inside a ViewHolder in a RecyclerViewAdapter. What would be the best way to keep/get a reference of current time so that the time is correct (counting when the view is in background) when returning to the Fragment? The solution should work ... | I'm using a Runnable which is updating a TextView every second (counting up) inside a ViewHolder in a RecyclerViewAdapter. What would be the best way to keep/get a reference of current time so that the time is correct (counting when the view is in background) when returning to the Fragment? The solution should work wit... | android|android-recyclerview|runnable|android-handler | 0 | 2022-04-14T10:04:50.303Z | 2,022 | 4 | 10 | 3 | 31 | 0 | 391 | 60 | 4 | 1 | true | true | false | false | false | false | zero |
71,870,124 | How to stop the exposed dropdown menu closing after cancel last letter in the AutoCompleteTextView | <p>I need help to change a behavior of exposed dropdown menu in android.<br />
I am looking to find a way to stop the auto-closing of the dropdown menu whene i cancel all the letters that i inserted in the dropdown menu. The desired behavior is to show all the selectable options in that specific case.<br />
The dropdow... | I need help to change a behavior of exposed dropdown menu in android. I am looking to find a way to stop the auto-closing of the dropdown menu whene i cancel all the letters that i inserted in the dropdown menu. The desired behavior is to show all the selectable options in that specific case. The dropdown menu that i i... | java|android | 0 | 2022-04-14T10:28:04.273Z | 2,022 | 4 | 10 | 3 | 31 | 0 | 502 | 98 | 2 | 1 | true | true | false | false | false | false | zero |
71,887,599 | Android navigation controller navigations are overriden | <p>I am currently building an application. I am using a single activity and multiple fragments to represent different layouts and functionalities. I am using Navigation Controller and the animations are not consistent. I have 3 fragments, let's say A, B and C. I can go to C from both A and B. B actually provides more i... | I am currently building an application. I am using a single activity and multiple fragments to represent different layouts and functionalities. I am using Navigation Controller and the animations are not consistent. I have 3 fragments, let's say A, B and C. I can go to C from both A and B. B actually provides more info... | android|xml|kotlin|android-fragments|navigation | 0 | 2022-04-15T18:25:35.953Z | 2,022 | 4 | 18 | 4 | 31 | 0 | 992 | 55 | 5 | 3 | true | true | false | false | false | false | zero |
71,899,105 | Please Let me know where can I find redirect_uri in react-native webview | <p>I am currently developing an app using React Native.</p>
<p>We're going to do the login process in web view format on our app</p>
<p>How can I log in from the web and callback to the app?</p>
<p>backend provided me with the login url and told me to input redirect_uri after the url.</p>
<p>but they doesn't know redir... | I am currently developing an app using React Native. We're going to do the login process in web view format on our app How can I log in from the web and callback to the app? backend provided me with the login url and told me to input redirect_uri after the url. but they doesn't know redirect_uri. It's probably up to th... | android|ios|reactjs|react-native | 0 | 2022-04-17T03:38:38.740Z | 2,022 | 4 | 3 | 6 | 31 | 0 | 534 | 72 | 4 | 0 | false | true | false | false | false | false | zero |
71,902,779 | expected beginArray but was beginObject gson error | <p>I have a hosted json api which is</p>
<pre><code>{
"s": "S1_Server",
"code": "200",
"msg": [
{
"tp": 0,
"uid": "49VsjdXy",
"liked": 0,
"score": 10050,
"status": "... | I have a hosted json api which is [CODE] I created a pojo classes accordingly using this website https://jsonschema2pojo.org/ in Mainactivity.java i have written volley String code [CODE] when i try to run this i get a error Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $. | java|android|gson | 0 | 2022-04-17T14:36:10.490Z | 2,022 | 4 | 14 | 6 | 31 | 0 | 293 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
71,924,864 | Upload Image in Firebase after select image url | <p>How to use this code to choose a picture from a gallery and upload it to firebase?</p>
<p>note :This code works well, but it doesn't upload a picture on firebase.</p>
<p>This code is a picture selection that stores image information such as the start time and end time of an image, as well as the url in real time fir... | How to use this code to choose a picture from a gallery and upload it to firebase? note :This code works well, but it doesn't upload a picture on firebase. This code is a picture selection that stores image information such as the start time and end time of an image, as well as the url in real time firebase, and stores... | java|android|firebase-realtime-database|firebase-storage | 1 | 2022-04-19T12:21:09.393Z | 2,022 | 4 | 12 | 1 | 31 | 0 | 365 | 47 | 4 | 1 | true | true | false | false | false | false | low |
71,932,467 | Android get real time screen display stream | <p>I am working on a project that requires me to stream screen between two android devices over wifi-direct.
so is it possible to just grab android screen stream and then perform processing/sharing with it.</p> | I am working on a project that requires me to stream screen between two android devices over wifi-direct. so is it possible to just grab android screen stream and then perform processing/sharing with it. | android|video-streaming|screensharing|android-mediaprojection | 1 | 2022-04-19T23:36:31.467Z | 2,022 | 4 | 23 | 1 | 31 | 0 | 203 | 43 | 4 | 0 | false | true | false | false | false | false | low |
71,934,150 | Mitsubishi CNC Controller(M700V/M70V;700/70) MTP via USB Android device | <p>has anyone tried and succeeded in connecting Mitsubishi CNC controllers to android devices via USB, to be accepted in similar fashion to an USB thumbdrive.
As such possibility would be interesting, because some of these controllers can read and run CNC programs from USB thumbdrives.
But the ability to utilize androi... | has anyone tried and succeeded in connecting Mitsubishi CNC controllers to android devices via USB, to be accepted in similar fashion to an USB thumbdrive. As such possibility would be interesting, because some of these controllers can read and run CNC programs from USB thumbdrives. But the ability to utilize android d... | android|distributed-computing|cnc | 0 | 2022-04-20T04:35:43.727Z | 2,022 | 4 | 4 | 2 | 31 | 0 | 376 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
71,965,851 | Android flutter project's Firebase notifications working in "test on device" mode but not in production | <p>I'm pretty new to mobile development and took over a project based on flutter 5 months ago. I fixed couple of bugs of the application and published it on markets afterwards.</p>
<p>For a good period of time, I was able to send notifications for both iOS and Android versions of our app before updating flutter and fir... | I'm pretty new to mobile development and took over a project based on flutter 5 months ago. I fixed couple of bugs of the application and published it on markets afterwards. For a good period of time, I was able to send notifications for both iOS and Android versions of our app before updating flutter and firebase libr... | android|firebase|flutter|push-notification | 0 | 2022-04-22T08:42:35.263Z | 2,022 | 4 | 8 | 4 | 31 | 0 | 1,586 | 103 | 4 | 0 | false | true | false | false | false | false | zero |
71,977,871 | Handle common navigations in multiple backstack navigation android? | <p>My goal is to implement Instagram-like navigation for my fragments.
Like the screenshots I attached, When the user navigates to the <code>Profile</code> fragment from <code>Home</code>, <code>BottomNavigationView</code> doesn't switch to the <code>Profile</code> section. (I can navigate to <code>Profile</code> in ea... | My goal is to implement Instagram-like navigation for my fragments. Like the screenshots I attached, When the user navigates to the Profile fragment from Home , BottomNavigationView doesn't switch to the Profile section. (I can navigate to Profile in each navigation backstack and the state saves!) What should I do abou... | java|android|kotlin|android-jetpack-navigation | 0 | 2022-04-23T07:56:52.070Z | 2,022 | 4 | 7 | 5 | 31 | 0 | 444 | 67 | 4 | 0 | false | true | false | false | false | false | zero |
71,989,647 | Would it be possible to add dual screen support on Android 11 for Capacitorjs? | <p>I'm trying to figure out how to use DisplayManager on Android 11 into Capacitorjs to implement multi screen display.</p>
<p>Does anyone knows how the Main capacitor activity is created so I can reproduce it ?</p> | I'm trying to figure out how to use DisplayManager on Android 11 into Capacitorjs to implement multi screen display. Does anyone knows how the Main capacitor activity is created so I can reproduce it ? | android|capacitor | 0 | 2022-04-24T15:03:44.083Z | 2,022 | 4 | 15 | 6 | 31 | 0 | 201 | 78 | 2 | 0 | false | true | false | false | false | false | zero |
72,012,244 | Binary XML file line Error inflating class ImageButton | <p>Caused by android.view.InflateException: Binary XML file line #51: Binary XML file line #51: Error inflating class ImageButton.<br />
why i recived this? i have image in all drawable-hdpi,drawable-mdpi,drawable-xhdpi, drawable-xxhdpi,drawable-xxxhdpi but not in drawable. all other ImageButton. same like working fin... | Caused by android.view.InflateException: Binary XML file line #51: Binary XML file line #51: Error inflating class ImageButton. why i recived this? i have image in all drawable-hdpi,drawable-mdpi,drawable-xhdpi, drawable-xxhdpi,drawable-xxxhdpi but not in drawable. all other ImageButton. same like working fine . i use ... | android | 0 | 2022-04-26T10:18:53.210Z | 2,022 | 4 | 10 | 1 | 31 | 0 | 356 | 54 | 1 | 1 | true | true | false | false | false | false | zero |
72,012,477 | Can FragmentResultListener used with the same request key in multiple fragments? | <p>I have FragmentA(nav_graph_a), which navigates to FragmentB(nav_graph_b).
FragmentB navigates to a DialogFragment, which call setFragmentResult(RK_SHARED).
<strong>Both</strong> FragmentA and FragmentB registers a FragmentResultListener with request key <strong>RK_SHARED</strong>.</p>
<p>The problem is that in this ... | I have FragmentA(nav_graph_a), which navigates to FragmentB(nav_graph_b). FragmentB navigates to a DialogFragment, which call setFragmentResult(RK_SHARED). Both FragmentA and FragmentB registers a FragmentResultListener with request key RK_SHARED . The problem is that in this case, the fragmentResultListener callback i... | android-fragments|fragment|fragmentmanager | 0 | 2022-04-26T10:35:34.567Z | 2,022 | 4 | 10 | 1 | 31 | 0 | 543 | 80 | 3 | 0 | false | true | false | false | false | false | zero |
72,109,986 | WSA com.android.vending bad component name but already installed | <p>unable to run the google play store on WSA attempt to install via apk returns already installed</p>
<p>WSA Version 2203.40000.3.0</p>
<p>[1] [stacktrace][2] [system information][3]</p>
<p>[1]: <a href="https://i.stack.imgur.com/PZTx0.png" rel="nofollow noreferrer">https://i.stack.imgur.com/PZTx0.png</a> [2]: <a h... | unable to run the google play store on WSA attempt to install via apk returns already installed WSA Version 2203.40000.3.0 [1] [stacktrace][2] [system information][3] [1]: https://i.stack.imgur.com/PZTx0.png [2]: https://i.stack.imgur.com/lPoVt.png [3]: https://i.stack.imgur.com/tgDlN.png | google-play|windows-subsystem-for-android | 0 | 2022-05-04T08:31:17.043Z | 2,022 | 5 | 8 | 2 | 31 | 0 | 289 | 64 | 2 | 0 | false | true | false | false | false | false | zero |
72,115,140 | Android: TextInputEditText used for IP | <p>Good Morning everyone.</p>
<p>In my android app, I have a <code>TextInputEditText</code> (<code>com.google.android.material.textfield.TextInputEditText</code>) that I use for IP. I added the attributes:</p>
<pre><code> android:inputType="number|numberDecimal"
android:digits=&... | Good Morning everyone. In my android app, I have a TextInputEditText ( com.google.android.material.textfield.TextInputEditText ) that I use for IP. I added the attributes: [CODE] Usually everything works fine on smartphones, the user can write the ip and I have a TextWatcher that will validate the ip. If the ip is not ... | android|android-textinputedittext | 0 | 2022-05-04T14:55:53.183Z | 2,022 | 5 | 14 | 2 | 31 | 0 | 1,066 | 38 | 2 | 1 | true | true | false | false | false | false | zero |
72,000,446 | Android TalkBack inconsistency in TextInputLayout | <p>I'm attempting to work around a TalkBack accessibility event issue with a <code>TextInputLayout</code> and <code>TextInputEditText</code>, and I've noticed what gets read, greatly depends on different unrelated factors.</p>
<h3>tl;dr (for the lazy)</h3>
<ul>
<li>I need to override the text spoken by TalkBack when a ... | I'm attempting to work around a TalkBack accessibility event issue with a TextInputLayout and TextInputEditText , and I've noticed what gets read, greatly depends on different unrelated factors. tl;dr (for the lazy) I need to override the text spoken by TalkBack when a TextInputLayout/TextInputEditText combo is read (d... | android|accessibility|talkback | 1 | 2022-04-25T13:33:42.530Z | 2,022 | 4 | 13 | 0 | 287 | 0 | 5,198 | 49 | 3 | 6 | true | true | false | false | false | false | low |
71,821,344 | RecyclerView wrong info in position layout | <p>Im coding a chat for android and right now im adding messages when the user scrolls up, kind of like discord and most other chats out there. Every message loads up fine. So in my code you can click on the message and it will display the time it was posted. So if it was a few secs ago it would show 30secs, or 40secs.... | Im coding a chat for android and right now im adding messages when the user scrolls up, kind of like discord and most other chats out there. Every message loads up fine. So in my code you can click on the message and it will display the time it was posted. So if it was a few secs ago it would show 30secs, or 40secs. So... | java|android | 0 | 2022-04-10T23:37:58.907Z | 2,022 | 4 | 23 | 6 | 32 | 0 | 622 | 42 | 2 | 1 | true | true | false | false | false | false | zero |
71,855,886 | Unknown pirate? version of my app in Firebase Analytics | <p>Welcome all</p>
<p>In Google Analytics, I can see installs from a 1.3.0 version of my app, coming from all the world, including my own country, but the most part of the installs for that pirate version comes from Indonesia, Egypt, etc... and other countries from Africa or Asia. My app is still on <code>1.1.X</code> ... | Welcome all In Google Analytics, I can see installs from a 1.3.0 version of my app, coming from all the world, including my own country, but the most part of the installs for that pirate version comes from Indonesia, Egypt, etc... and other countries from Africa or Asia. My app is still on 1.1.X so that 1.3.0 must be a... | android|google-analytics|google-play|firebase-analytics|piracy | 0 | 2022-04-13T10:23:11.170Z | 2,022 | 4 | 10 | 2 | 32 | 0 | 1,133 | 55 | 5 | 0 | false | true | false | false | false | false | zero |
71,858,572 | Flutter How Can I Use Multiple Radial Gradients | <p>I want to use multiple radial gradients like that photo :</p>
<p><a href="https://i.stack.imgur.com/VWGgs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VWGgs.png" alt="enter image description here" /></a></p>
<p>I dont know is it seenable in picture but in right has a bluish gradient and left si... | I want to use multiple radial gradients like that photo : I dont know is it seenable in picture but in right has a bluish gradient and left side has a pink radial gradients. How can i use multiple gradient like that ? How can i add positioned gradients like this ? I Using custom appbar like : [CODE] Thanks for help :) | android|ios|flutter|dart|mobile | 0 | 2022-04-13T13:44:11.060Z | 2,022 | 4 | 13 | 2 | 32 | 0 | 319 | 47 | 5 | 1 | true | true | false | false | false | false | zero |
71,889,762 | Android BLE Adafruit Bluefruit 32u4 Read Problems | <p>I am trying to connect to my Bluetooth module and receive the data from the UART Service but I'm having trouble. I'll include the MainActivity for my test code below, the problem is while I am able to read the device name, address, etc on the ScanCallBack function, I'm trying to implement the BluetotthGattCallback i... | I am trying to connect to my Bluetooth module and receive the data from the UART Service but I'm having trouble. I'll include the MainActivity for my test code below, the problem is while I am able to read the device name, address, etc on the ScanCallBack function, I'm trying to implement the BluetotthGattCallback in o... | java|android|adafruit | 0 | 2022-04-15T23:12:18.567Z | 2,022 | 4 | 23 | 4 | 32 | 0 | 632 | 49 | 3 | 1 | true | true | false | false | false | false | zero |
71,899,076 | ROOM: how to display one to many relation data into recyclerview using lifecycle | <p>I've tried to display the join data from two entity into the recyclerview. However, when I add new data that has the same idBarang (FK) as the old data that has the same idBarang, recyclerview display the same data row.</p>
<p><a href="https://i.stack.imgur.com/YCiC0.gif" rel="nofollow noreferrer"><img src="https://... | I've tried to display the join data from two entity into the recyclerview. However, when I add new data that has the same idBarang (FK) as the old data that has the same idBarang, recyclerview display the same data row. This is the code snippet: ENTITY [CODE] DAO [CODE] VIEWMODEL [CODE] LIST FRAGMENT [CODE] LIST ADAPTE... | android|android-recyclerview|android-room|one-to-many | 0 | 2022-04-17T03:28:26.853Z | 2,022 | 4 | 3 | 6 | 32 | 0 | 352 | 80 | 4 | 6 | true | true | false | false | false | false | zero |
71,923,648 | Avoid hiding software keyboard after appium perform action | <p>I am using appium for automation testing of android application. And faced one problem:</p>
<ul>
<li>after using <code>new TouchAction(appiumDriver).Tap(webElement).Perform();</code> software keyboard always hiding. That happens only in automation mode. Manually keyboard always shown.</li>
</ul>
<p>After some more i... | I am using appium for automation testing of android application. And faced one problem: after using new TouchAction(appiumDriver).Tap(webElement).Perform(); software keyboard always hiding. That happens only in automation mode. Manually keyboard always shown. After some more investigation - looks like any perform actio... | selenium|appium-android|android-uiautomator|automation-testing | 0 | 2022-04-19T10:46:24.183Z | 2,022 | 4 | 10 | 1 | 32 | 0 | 582 | 58 | 4 | 0 | false | true | false | false | false | false | zero |
71,963,448 | FLUTTER ANDROID ONLY: sent location data to REST API continuously even when my app is minimized/closed | <p>I want to continuously send location data to REST API (PATCH METHODS) even when my app is minimized/closed. I put my function on InitState, but when I minimized the app.. the function is gone,</p>
<p>How can I avoid this so I can Patch my data continually?</p>
<p>Thanks!</p> | I want to continuously send location data to REST API (PATCH METHODS) even when my app is minimized/closed. I put my function on InitState, but when I minimized the app.. the function is gone, How can I avoid this so I can Patch my data continually? Thanks! | android|flutter|rest|dart|http | 1 | 2022-04-22T04:22:24.040Z | 2,022 | 4 | 4 | 4 | 32 | 0 | 257 | 102 | 5 | 0 | false | true | false | false | false | false | low |
71,964,523 | How can we migrate log4j 1.2.x to 2.17.x in android? After upgrading the log4j dependency to latest version, some classes not present in new version | <p>After upgrading the log4j dependency to latest version i.e <strong>2.17.2</strong>, some classes not present in new version like <strong>AppenderSkeleton, Logger and LogLog</strong>. A class named as <strong>PatternLayout</strong> is present but with final keyword resulting in private constructor and we cant call su... | After upgrading the log4j dependency to latest version i.e 2.17.2 , some classes not present in new version like AppenderSkeleton, Logger and LogLog . A class named as PatternLayout is present but with final keyword resulting in private constructor and we cant call super from any other child class. | java|android|log4j | 0 | 2022-04-22T06:48:57.527Z | 2,022 | 4 | 6 | 4 | 32 | 0 | 299 | 148 | 3 | 0 | false | true | false | false | false | false | zero |
72,030,655 | How to start activity on imported module by button from my base project's main activity | <p>How to start intent activity for <code>MainActivity</code> in app folder (imported module into base project) and i just need to start activity on source folder's <code>MainActivity</code> (which will default) When the app start click button to start the intent from source folder's Main Activity to app folders activi... | How to start intent activity for MainActivity in app folder (imported module into base project) and i just need to start activity on source folder's MainActivity (which will default) When the app start click button to start the intent from source folder's Main Activity to app folders activity by clicking button. And th... | java|android|android-studio|kotlin | 0 | 2022-04-27T14:37:28.427Z | 2,022 | 4 | 14 | 2 | 32 | 0 | 432 | 87 | 4 | 0 | false | true | false | false | false | false | zero |
72,034,111 | One image atop another while maitaining correct size and position in Jetpack Compose? | <p><a href="https://i.stack.imgur.com/Zq5Nx.png" rel="nofollow noreferrer">first image</a></p>
<p><a href="https://i.stack.imgur.com/iXG5w.png" rel="nofollow noreferrer">second image</a></p>
<p><a href="https://i.stack.imgur.com/BB6gI.png" rel="nofollow noreferrer">desired result</a></p>
<p>I figured out how to do it i... | first image second image desired result I figured out how to do it in XML using guidelines, but now im switching to jetpack and have a hard time. Here's what I did in XML: [CODE] | android|kotlin|android-constraintlayout|android-jetpack | 0 | 2022-04-27T19:11:11.767Z | 2,022 | 4 | 19 | 2 | 32 | 0 | 178 | 85 | 4 | 1 | true | true | false | false | false | false | zero |
72,038,215 | Android Download PDF in WebView with session (Logged In) | <p>Good day! I'm having a problem when it comes to downloading the pdf generated in my website. In browser it works just fine, but in android app it becomes .bin file and notified me that it couldn't download the file.</p>
<p>in MainActivity.java, I already implemented the request permission which is working just fine.... | Good day! I'm having a problem when it comes to downloading the pdf generated in my website. In browser it works just fine, but in android app it becomes .bin file and notified me that it couldn't download the file. in MainActivity.java, I already implemented the request permission which is working just fine. [CODE] } ... | android | 0 | 2022-04-28T04:55:38.767Z | 2,022 | 4 | 4 | 3 | 32 | 0 | 349 | 56 | 1 | 2 | true | true | false | false | false | false | zero |
72,051,407 | Google Calendar API mobile | <p>I'm trying to add multiple events to Google Calendar, but I only can launch one event at a time.</p>
<pre><code> val intent = Intent(Intent.ACTION_INSERT)
.setData(CalendarContract.Events.CONTENT_URI)
.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, startMillis)
.putExtra(CalendarContract.... | I'm trying to add multiple events to Google Calendar, but I only can launch one event at a time. [CODE] Now, how can a create an intent that can add multiple days? (recurrent event doesn't for this approach) | android|kotlin|android-calendar | 0 | 2022-04-28T23:55:38.323Z | 2,022 | 4 | 23 | 3 | 32 | 0 | 207 | 26 | 3 | 1 | true | 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.