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,763,079
Android studio: No variants found for ':mauron85_react-native-background-geolocation'
<p>I am working on react native app that will has a background location tracker, I am using this library &quot;https://github.com/mauron85/react-native-background-geolocation&quot;</p> <p>But when I try to build the application on android the gradle failed with the error:</p> <pre><code>No variants found for ':mauron85...
I am working on react native app that will has a background location tracker, I am using this library &quot;https://github.com/mauron85/react-native-background-geolocation&quot; But when I try to build the application on android the gradle failed with the error: [CODE] here is the content of the build.gradle file [CODE...
android|react-native|location|tracking
0
2022-09-18T13:14:31.193Z
2,022
9
13
6
29
1
372
85
4
2
true
false
false
false
false
false
zero
73,763,093
<no devices>devices not detected in VSCode & android studio using Flutter
<p>How to fix device not detected?</p> <pre><code> adb devices List of devices attached 42001d159ac454 device flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.3.2, on Ubuntu 20.04.2 LTS 5.4.0-124-generic, locale en_US.UTF-8) ...
How to fix device not detected? [CODE] Everything is normal when checked by flutter doctor .
android|flutter|android-studio|visual-studio-code|adb
0
2022-09-18T13:16:25.553Z
2,022
9
13
6
32
2
92
73
5
1
true
false
false
false
false
false
zero
73,763,181
aapt error resource drawable/background not found flutter
<p>im trying to execute my flutter app on my android device , when i tap flutter run this error it display to me :</p> <pre><code>AAPT: error: resource drawable/background (aka com.example.radionefzawa:drawable/background) not found. </code></pre> <p>My Manifest.xml :</p> <pre><code> &lt;?xml version=&quot;1.0&quot;...
im trying to execute my flutter app on my android device , when i tap flutter run this error it display to me : [CODE] My Manifest.xml : [CODE] My launch_background.xml [CODE] how can i solve it ?
android|flutter
0
2022-09-18T13:29:54.497Z
2,022
9
13
6
11
0
196
57
2
3
true
true
false
false
false
false
zero
73,763,215
Android White bar, how to make
<p>I'd like to create a android text with the white bar, sorry if you don't understand what i'm saying yet, please look at this picture so you know what I mean correctly <a href="https://i.stack.imgur.com/hHTHT.png" rel="nofollow noreferrer">Click here</a></p> <p>I want to re-create this, just to say &quot;Hello&quot;,...
I'd like to create a android text with the white bar, sorry if you don't understand what i'm saying yet, please look at this picture so you know what I mean correctly Click here I want to re-create this, just to say &quot;Hello&quot;, after clicking a button. How is this possible, what is the correct name for this?
android
0
2022-09-18T13:33:52.210Z
2,022
9
13
6
38
1
316
30
1
0
false
false
false
false
false
false
zero
73,763,223
How can I integrate Java Compiler in Android Studio Application
<p>I was trying to integrate JAVA compiler into my application but was failing everytime.</p> <p>Below is my code which i tried testing but it too failed</p> <pre><code> Looper.prepare(); StringBuilder errors = new StringBuilder(); PrintWriter writer = new PrintWriter( new Out...
I was trying to integrate JAVA compiler into my application but was failing everytime. Below is my code which i tried testing but it too failed [CODE] Here the compiler I am trying to add compiles all the java files which are present in the src directory
java|android-studio|javacompiler
-3
2022-09-18T13:35:20.957Z
2,022
9
13
6
26
0
254
63
3
1
true
true
false
false
false
true
negative
73,763,240
Swipe Delete Removing Different Item Kotlin
<p>I implemented Swipe to Delete Callback on my recyclerview in a Fragment, which the list of items are fetched from firestore. Whenever i swipe to delete an item after opening the app it works but when i try for the second time, it deletes a different item that i did not swiped or doesn't delete any item at all, some...
I implemented Swipe to Delete Callback on my recyclerview in a Fragment, which the list of items are fetched from firestore. Whenever i swipe to delete an item after opening the app it works but when i try for the second time, it deletes a different item that i did not swiped or doesn't delete any item at all, sometime...
android|google-cloud-firestore|android-recyclerview
-1
2022-09-18T13:37:50.447Z
2,022
9
13
6
43
0
493
43
3
4
true
true
false
false
false
true
negative
73,763,300
How to make multiple window in Android app. For example, Gpay touch and hold app icon and create shortcut
<p><a href="https://i.stack.imgur.com/h041W.jpg" rel="nofollow noreferrer">how to make this in Android app. </a></p>
how to make this in Android app.
android
-2
2022-09-18T13:46:44.957Z
2,022
9
13
6
26
0
32
105
1
0
false
true
false
false
false
true
negative
73,763,307
how to install "Android Drawable Import" on Android Studio "Chipmunk"
<p>I am trying to install Batch Drawable importer. But unable to install it. As I am trying to install it externally through Jet Brains official website, but still not be able to install it.</p>
I am trying to install Batch Drawable importer. But unable to install it. As I am trying to install it externally through Jet Brains official website, but still not be able to install it.
android-studio|chipmunk
0
2022-09-18T13:47:59.353Z
2,022
9
13
6
19
0
187
69
2
0
false
true
false
false
false
false
zero
73,763,319
How to pre-cache HLS adaptive stream in ExoPlayer?
<p>I am trying to pre-cache/pre-buffer HLS videos to my app. I used CacheWriter to cache the (.mp4) file, But it was not able to cache segments of HLS video. Basically, I have only URL of the master playlist file which has media playlists of different qualities, and that each media playlist has segments (.ts).</p> <p>S...
I am trying to pre-cache/pre-buffer HLS videos to my app. I used CacheWriter to cache the (.mp4) file, But it was not able to cache segments of HLS video. Basically, I have only URL of the master playlist file which has media playlists of different qualities, and that each media playlist has segments (.ts). So, I have ...
android|http-live-streaming|exoplayer|exoplayer-media-item
1
2022-09-18T13:50:22.960Z
2,022
9
13
6
34
0
617
50
4
1
true
true
false
false
false
false
low
73,763,390
How to Set CountDown Timer By Using Firebase Firestore Time Stamp?
<p>I make my own online earning app. And I want to set a time limit on my daily rewards. Once the user claims the reward, the next reward will be available after 24 hours without using Android phone time. Anyone help me Please.</p>
I make my own online earning app. And I want to set a time limit on my daily rewards. Once the user claims the reward, the next reward will be available after 24 hours without using Android phone time. Anyone help me Please.
java|android|firebase
0
2022-09-18T14:02:34.067Z
2,022
9
14
6
11
0
224
66
3
0
false
true
false
false
false
false
zero
73,763,411
Using Postman from Android Studio
<p>I have recently learnt about <a href="https://www.postman.com/" rel="nofollow noreferrer">Postman</a> and it's ability to create and store GET responses from different URLs. I am trying to use this for testing an android app. Specifically I would like to:</p> <ol> <li>Save some collections to my account via the Post...
I have recently learnt about Postman and it's ability to create and store GET responses from different URLs. I am trying to use this for testing an android app. Specifically I would like to: Save some collections to my account via the Postman online portal. Pull the response bodies into Android Studio and save as a JSO...
android|postman|postman-mocks
2
2022-09-18T14:06:05.867Z
2,022
9
14
6
22
0
636
33
3
0
false
true
false
false
false
false
low
73,763,429
Unresolved reference error when importing library
<p>I'm having trouble importing this library: <a href="https://github.com/javiersantos/MaterialStyledDialogs" rel="nofollow noreferrer">https://github.com/javiersantos/MaterialStyledDialogs</a></p> <p>I added the repository to my project build.gradle:</p> <pre><code>repositories { jcenter() maven { url ...
I'm having trouble importing this library: https://github.com/javiersantos/MaterialStyledDialogs I added the repository to my project build.gradle: [CODE] And added the library to your module build.gradle: [CODE] But I get this error, why? i think the issue is because of jcenter, mavencentral or jitpack or such
java|android|kotlin|jcenter|maven-central
0
2022-09-18T14:08:54.940Z
2,022
9
14
6
39
1
312
49
5
2
true
false
false
false
false
false
zero
73,763,454
Android Studio Designs not visible yet the xml code is present
<p>I am using Android studio Chipmunk</p> <p>I recently checked out to a new branch on Github and tested an app on the emulator. The app ran successfully. But when I looked at the layout resource files. They were completely blank.</p> <p><a href="https://i.stack.imgur.com/Jvhjt.png" rel="nofollow noreferrer">Image of b...
I am using Android studio Chipmunk I recently checked out to a new branch on Github and tested an app on the emulator. The app ran successfully. But when I looked at the layout resource files. They were completely blank. Image of blank blueprint view Image of blank design view Even the component tree is empty. But when...
java|android|android-studio|android-layout|android-studio-chipmunk
0
2022-09-18T14:13:10.877Z
2,022
9
14
6
36
1
955
62
5
0
false
false
false
false
false
false
zero
73,763,455
Your app(s) are vulnerable to Intent Redirection. From com.facebook.CustomTabMainActivity
<p>I get this this notify from google play when I summit my react native app.</p> <p>I have tried many ways, but after 10 time submit to store, it still doesn't work</p> <blockquote> <p>Your app(s) are vulnerable to Intent Redirection.</p> </blockquote> <blockquote> <p>com.facebook.CustomTabMainActivity.sendResult</p> ...
I get this this notify from google play when I summit my react native app. I have tried many ways, but after 10 time submit to store, it still doesn't work Your app(s) are vulnerable to Intent Redirection. com.facebook.CustomTabMainActivity.sendResult I have try add this line to my manifest file, but it not work [CODE]...
android|react-native|android-security
0
2022-09-18T14:13:42.217Z
2,022
9
14
6
26
0
346
89
3
2
true
true
false
false
false
false
zero
73,763,459
How can i create a save location selector in android studio? (kotlin)
<p>Through my app it is possible to download pictures. I want to create an activity that allows the user to select the picture's location, to select where they want to download it. My idea is that they have to select the folder once, in the settings, and after that all of the image will be downloaded to that folder the...
Through my app it is possible to download pictures. I want to create an activity that allows the user to select the picture's location, to select where they want to download it. My idea is that they have to select the folder once, in the settings, and after that all of the image will be downloaded to that folder they s...
android|android-studio|file|kotlin|directory
0
2022-09-18T14:14:08.023Z
2,022
9
14
6
17
0
476
69
5
0
false
true
false
false
false
false
zero
73,763,650
How to create an animated Overlay user instruction
<p>I am developing an android app for kids in which i want to create an overlay in imageView to help user to draw a path. The overlay indicate to user how to draw a line or a random shape.</p> <p>Have you any idea ???</p> <p>Thanks</p> <p><a href="https://i.stack.imgur.com/Nz2S2.jpg" rel="nofollow noreferrer">enter ima...
I am developing an android app for kids in which i want to create an overlay in imageView to help user to draw a path. The overlay indicate to user how to draw a line or a random shape. Have you any idea ??? Thanks enter image description here
android-studio|draw|android-drawable|ontouch
0
2022-09-18T14:41:08.087Z
2,022
9
14
6
10
0
243
50
4
0
false
true
false
false
false
false
zero
73,763,734
Flutter Local route storage
<p>I am developing a mobile application with flutter 3.0.6 and I would like to save the routes locally on the phone so that, the next time the application is restarted, it can bring us back directly to the last window we were in before closing</p>
I am developing a mobile application with flutter 3.0.6 and I would like to save the routes locally on the phone so that, the next time the application is restarted, it can bring us back directly to the last window we were in before closing
android|flutter
-2
2022-09-18T14:51:41.807Z
2,022
9
14
6
32
0
240
27
2
0
false
true
false
false
false
true
negative
73,763,751
Combining two widgets with each other
<p>First, Sorry my English not good enough. Iam new in Android development. I have many widgets. Can I make them in one widget and when I need to add them I just add. Because Iam creating a library and I need to publish it on github.</p> <pre><code>&lt;com.example.custom.view&gt; ... /&gt; </code></pre> <p>These are al...
First, Sorry my English not good enough. Iam new in Android development. I have many widgets. Can I make them in one widget and when I need to add them I just add. Because Iam creating a library and I need to publish it on github. [CODE] These are all the views(widgets) I need them in one widget and I can add it in a l...
java|android|xml|view|widget
2
2022-09-18T14:54:28.523Z
2,022
9
14
6
34
0
333
37
5
2
true
true
false
false
false
false
low
73,763,793
How to make phone verification using flash call
<p>Recently I have sent a lot of messages and they are almost fake.</p> <p>But if not fake, I use SmsRetirever API with app signature in order to read the message content and verify the phone automatically without user interaction.</p> <p>I saw that true caller has a feature something like flash call verification. The ...
Recently I have sent a lot of messages and they are almost fake. But if not fake, I use SmsRetirever API with app signature in order to read the message content and verify the phone automatically without user interaction. I saw that true caller has a feature something like flash call verification. The problem here is t...
android|one-time-password
0
2022-09-18T15:01:35.493Z
2,022
9
15
6
10
0
648
47
2
0
false
true
false
false
false
false
zero
73,763,828
How to get click event for multiple GeoJsonLayers on Google maps
<p>I am trying to add multiple <code>GeoJsonLayer</code>. When user click on 1 polygon I would like to display data of clicked polygon. Those are some of my polygons:</p> <p><a href="https://i.stack.imgur.com/D1ROh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D1ROh.png" alt="![enter image descript...
I am trying to add multiple GeoJsonLayer . When user click on 1 polygon I would like to display data of clicked polygon. Those are some of my polygons: This is my function in which I get data from API and draw geojson layers on google maps. [CODE] I tried to set style.isClickable = false and then add code below, but ev...
java|android|kotlin|geojson
0
2022-09-18T15:06:29.620Z
2,022
9
15
6
27
0
574
64
4
2
true
true
false
false
false
false
zero
73,764,168
Android Android registration and login with firebase
<p>I have a view (activity_SingIn) and its Presenter now in the onCreate method gives me the following error related to &quot;singInPresenter.singInUser(v);&quot; 2022-09-18 17:30:51.785 3811-3811/com.example.Natour21 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.Natour21, PID: 3811 java.lang.NullPointer...
I have a view (activity_SingIn) and its Presenter now in the onCreate method gives me the following error related to &quot;singInPresenter.singInUser(v);&quot; 2022-09-18 17:30:51.785 3811-3811/com.example.Natour21 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.Natour21, PID: 3811 java.lang.NullPointerExc...
firebase|android-studio
0
2022-09-18T15:47:40.713Z
2,022
9
15
6
33
1
590
52
2
3
true
false
false
false
false
false
zero
73,764,192
Check x and y position after or during Fling animation
<p>I have a code that can move an image view using a fling animation based on user input(dragging or swiping).</p> <pre><code>fun listenPuck(goalAchieved: ()-&gt;Unit) { val gestureListener = object : GestureDetector.SimpleOnGestureListener() { override fun onDown(e: MotionEvent): Boolean { retu...
I have a code that can move an image view using a fling animation based on user input(dragging or swiping). [CODE] However, I am still trying to figure out how to check the position of the view during or after the fling animation. For example I wanna check at view.x == 50, I want to set view.x =20. How do I do that? An...
android|kotlin
0
2022-09-18T15:50:59.727Z
2,022
9
15
6
52
1
648
54
2
2
true
false
false
false
false
false
zero
73,764,311
Having error in connecting firebase showing gradle asyn config
<p>Could bot parse the android application module's Gradle config. Resolve Gradle build issues and/or async.</p>
Could bot parse the android application module's Gradle config. Resolve Gradle build issues and/or async.
java|android|firebase-realtime-database
-2
2022-09-18T16:06:27.403Z
2,022
9
16
6
15
0
105
62
3
0
false
true
false
false
false
true
negative
73,764,365
ArrowOs/Android: Failed to generate attestation certificate chain
<p>I'm using ArrowOs on my Moto G5s+ (sanders) to run the Munich's local transport's app &quot;MVG Fahrinfo&quot; [1], which allows to buy tickets for the local bus&amp;subway services. I was able to buy those tickets until at least May 25th, 2022. I remember, there has been an update to the app, but since I needed no ...
I'm using ArrowOs on my Moto G5s+ (sanders) to run the Munich's local transport's app &quot;MVG Fahrinfo&quot; [1], which allows to buy tickets for the local bus&subway services. I was able to buy those tickets until at least May 25th, 2022. I remember, there has been an update to the app, but since I needed no ticket,...
android
0
2022-09-18T16:10:38.677Z
2,022
9
16
6
10
0
1,467
65
1
1
true
true
false
false
false
false
zero
73,764,551
How to get position of the moon on android phone?
<p>Hello I am testing an app that can get position of the moon on the phone. Like for example if my phone is looking up it will circle the moon if I am looking at the moon. How do I even being something like that?</p>
Hello I am testing an app that can get position of the moon on the phone. Like for example if my phone is looking up it will circle the moon if I am looking at the moon. How do I even being something like that?
java|android|physics|astronomy
0
2022-09-18T16:33:09.943Z
2,022
9
16
6
18
0
210
49
4
0
false
true
false
false
false
false
zero
73,764,600
Can ESP32 be the one who starts bluetooth connection to Android device?
<p>I have a M5StickC device, that is basically a battery operated ESP32.</p> <p><strong>What I want to achieve:</strong> I want the M5StickC device to wirelessly cause an Android device do something when a button is pressed on the M5StickC. The M5StickC should only wake up when button is pressed, do the thing and then ...
I have a M5StickC device, that is basically a battery operated ESP32. What I want to achieve: I want the M5StickC device to wirelessly cause an Android device do something when a button is pressed on the M5StickC. The M5StickC should only wake up when button is pressed, do the thing and then sleep and wake up again whe...
android|bluetooth|bluetooth-lowenergy|esp32
0
2022-09-18T16:40:36.887Z
2,022
9
16
6
52
1
1,148
71
4
0
false
false
false
false
false
false
zero
73,764,606
No signature of method: build_bisthgll3x2d9029o7b0aap7i.android() is applicable for argument types: (build_bisthgll3x2d9029o7b0aa
<p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.</li> </ul> <blockquote> <p>Failed to calculate the value of task ':app:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'. Querying the mapped value of map(java...
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'. Failed to calculate the value of task ':app:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'. Querying the mapped value of map(java.io.File property(org.gradle.api.file.Direc...
java|android|android-studio
0
2022-09-18T16:40:46.377Z
2,022
9
16
6
21
0
660
129
3
0
false
true
false
false
false
false
zero
73,764,708
How to load image via URL into BottomNavigationView menu item icon
<p>I followed <a href="https://stackoverflow.com/a/67667798/10733439">this</a> answer, But it showed up like this</p> <p><a href="https://i.stack.imgur.com/talqa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/talqa.png" alt="enter image description here" /></a></p> <p>and this is my code</p> <pre><c...
I followed this answer, But it showed up like this and this is my code [CODE] note: my emulator is Android 7 and I tried it on a phone that contains Android 11, but it doesn't work How can I create this feature? note: I preferred Java , if it kotlin no problem
java|android|kotlin|menu|bottomnavigationview
0
2022-09-18T16:53:55.850Z
2,022
9
16
6
37
0
260
66
5
1
true
true
false
false
false
false
zero
73,764,802
How to store location information of different users from an android app to firebase real-time database?
<p>I am trying to save the location information (Latitude &amp; Longitude) of different users in the firebase real-time database. I have successfully done that for a single user but how to do it for each user who is using my app? I am developing using Java (not Kotlin) in the background so any help in this regard will ...
I am trying to save the location information (Latitude & Longitude) of different users in the firebase real-time database. I have successfully done that for a single user but how to do it for each user who is using my app? I am developing using Java (not Kotlin) in the background so any help in this regard will be very...
android|firebase|firebase-realtime-database
0
2022-09-18T17:04:53.993Z
2,022
9
17
6
20
0
595
104
3
0
false
true
false
false
false
false
zero
73,764,822
Close drawer navigation view on backpressed while using jetpack nagivation ui components
<p>The first thing that I am mentioning is, onBackpressed() is deprecated in the activity scope. And I am facing the problem of closing the drawer layout onthe back button click. I am using the jetpack navigation component. When I click to the hamburger icon, the drawer is opening. After that if I click the back butto...
The first thing that I am mentioning is, onBackpressed() is deprecated in the activity scope. And I am facing the problem of closing the drawer layout onthe back button click. I am using the jetpack navigation component. When I click to the hamburger icon, the drawer is opening. After that if I click the back button it...
android|kotlin|navigation-drawer|drawerlayout|android-jetpack-navigation
1
2022-09-18T17:08:28.053Z
2,022
9
17
6
28
3
766
88
5
2
true
false
false
false
false
false
low
73,764,834
Unable to import library from GitHub
<p>I am trying to use this library in my Android Studio project: <a href="https://github.com/yarolegovich/LovelyDialog" rel="nofollow noreferrer">https://github.com/yarolegovich/LovelyDialog</a></p> <p>I added <code>implementation 'com.yarolegovich:lovely-dialog:1.1.1'</code> in my build.gradle but I'm still not able t...
I am trying to use this library in my Android Studio project: https://github.com/yarolegovich/LovelyDialog I added implementation 'com.yarolegovich:lovely-dialog:1.1.1' in my build.gradle but I'm still not able to use it, why?
java|android|maven|kotlin|github
0
2022-09-18T17:09:40.317Z
2,022
9
17
6
49
1
226
36
5
0
false
false
false
false
false
false
zero
73,764,835
How can i get a specific data in an array in the data class of an youtube api with kotlin
<p><a href="https://i.stack.imgur.com/EHofm.png" rel="nofollow noreferrer">This is the first data class and i can access any data in it</a></p> <p><a href="https://i.stack.imgur.com/CTnPC.png" rel="nofollow noreferrer">This is the data class of the first variable(the array) in the first data class and that is my proble...
This is the first data class and i can access any data in it This is the data class of the first variable(the array) in the first data class and that is my problem i dont know how to access the data in it and this is how i access the data from my main activity So what should i do to access the data in that array?
android|api|kotlin|youtube-data-api
-2
2022-09-18T17:09:42.823Z
2,022
9
17
6
21
0
314
89
4
0
false
true
false
false
false
true
negative
73,764,901
Any App Store/Play Store API To Get Keyword Ranking History
<p>Is there any API that gives data for App keyword rankings history for the App Store and the Play Store.</p> <p>Example keyword - &quot;photos&quot; - USA - where was Instagram back in 10th September, 2021.</p> <p>I know many tools exist, but I need APIs that can be used to build another tool.</p>
Is there any API that gives data for App keyword rankings history for the App Store and the Play Store. Example keyword - &quot;photos&quot; - USA - where was Instagram back in 10th September, 2021. I know many tools exist, but I need APIs that can be used to build another tool.
android|ios|node.js|iphone
-1
2022-09-18T17:17:31.867Z
2,022
9
17
6
13
0
279
59
4
0
false
true
false
false
false
true
negative
73,764,965
Android unit test are failing with initializationError if RunWith RobolectricTestRunner
<p>My Android unit test is failing with initializationError if RunWith RobolectricTestRunner.</p> <pre><code>import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.robolectric.RobolectricTestRunner; import static junit.framework.Assert.assertEquals; @RunWith(RobolectricTes...
My Android unit test is failing with initializationError if RunWith RobolectricTestRunner. [CODE] Here is the entire stacktrace: [CODE] testImplementation in build.gradle for robolectric is 'org.robolectric:robolectric:4.8.1' jdk version 11 api level 31 gradle version 4.10.1 android studio ChipMunk Please help! Thank Y...
android|junit4|java-11|robolectric|android-api-31
0
2022-09-18T17:27:22.300Z
2,022
9
17
6
18
0
323
87
5
2
true
true
false
false
false
false
zero
73,764,984
add two value in one attribute in android
<pre><code>&lt;LinearLayout android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent+?actionBarSize&quot;&gt; </code></pre> <p>you can see 3rd line of code how to add this two value and get the height with adding two vale &quot;android:layout_height=&quot;match_parent+?actionBarSize&qu...
[CODE] you can see 3rd line of code how to add this two value and get the height with adding two vale &quot;android:layout_height=&quot;match_parent+?actionBarSize&quot; in the our program in android studio in java.
java|android|android-studio
1
2022-09-18T17:29:31.833Z
2,022
9
17
6
41
1
215
41
3
1
true
false
false
false
false
false
low
73,765,034
only last version json file is showing in schemas when testing room migrations
<p>I have an old project that uses a room database, I updated some parts of the database and wanted to create some tests for the migration, the problem is that the database is already at version 5, and only version 5 json file is showing in the <code>schemas</code> directory.</p> <p>So, my question is, does schemas on...
I have an old project that uses a room database, I updated some parts of the database and wanted to create some tests for the migration, the problem is that the database is already at version 5, and only version 5 json file is showing in the schemas directory. So, my question is, does schemas only get generated for the...
android|android-room
1
2022-09-18T17:37:54.973Z
2,022
9
17
6
26
1
613
78
2
2
true
false
false
false
false
false
low
73,765,155
Android Studio using Firebase: When I login in my app I should get into the "Main activity", but my app jumps back to the login screen
<p>I wrote a simple authentification:</p> <pre><code> auth.signInWithEmailAndPassword(email, password) .addOnCompleteListener(this, new OnCompleteListener&lt;AuthResult&gt;() { @Override public void onComplete(@NonNull Task&lt;AuthResult&gt; task) { ...
I wrote a simple authentification: [CODE] When the app starts, the onStart-Method checks if the user is logged in or not: [CODE] When the user logs in he jumps back to the login screen. I did it exactly as the Firebase documentation showed. I think the user is still null after the login. Due to that it jumps back to th...
android|firebase|firebase-authentication
0
2022-09-18T17:54:28.620Z
2,022
9
17
6
18
0
370
134
3
2
true
true
false
false
false
false
zero
73,765,214
Making view bounce off border
<p>I'm trying to make my view bounce off border using a fling animation.</p> <p><a href="https://i.stack.imgur.com/CtI2Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CtI2Z.png" alt="enter image description here" /></a></p> <p>Currently my puck works when I fling it. However, the fling is just stuc...
I'm trying to make my view bounce off border using a fling animation. Currently my puck works when I fling it. However, the fling is just stuck on the border and won't bounce. How do I make my puck bounce? Here is my onFling function [CODE] Any help is appreciated!
android|kotlin
0
2022-09-18T18:01:57.143Z
2,022
9
18
6
124
0
265
29
2
1
true
true
false
false
false
false
zero
73,765,215
Active noise cancellation is not working on whatsapp. picking all sort of noise. Work just fine otherwise
<p>I just bought Huawei freebuds pro 2 and used to have the pro 1. When I used to use pro 1 to record voice messages on WhatsApp it used to pick up the surrounding noise terribly to the extent that if not a very quite place then the other side literally hears nothing but noise and barely understand anything from the me...
I just bought Huawei freebuds pro 2 and used to have the pro 1. When I used to use pro 1 to record voice messages on WhatsApp it used to pick up the surrounding noise terribly to the extent that if not a very quite place then the other side literally hears nothing but noise and barely understand anything from the messa...
android|bluetooth|whatsapp|noise|bluetoothheadset
0
2022-09-18T18:02:01.787Z
2,022
9
18
6
11
0
1,477
105
5
0
false
true
false
false
false
false
zero
73,765,238
SaveInstanceOf list character?
<p>Can someone tell me how can I save an instance of a list in the bundle if the only method similar is putCharArray()?</p> <p>Will it work or not really?</p>
Can someone tell me how can I save an instance of a list in the bundle if the only method similar is putCharArray()? Will it work or not really?
java|android|list|onsaveinstancestate
0
2022-09-18T18:05:52.900Z
2,022
9
18
6
12
0
144
30
4
0
false
true
false
false
false
false
zero
73,765,295
sign out and disconnect google account (Firebase)
<p>There is no problem in signing in and signing out. But when I try to sign in again, it automatically login in to the account which i sign in previously. I am trying to switch to other google accounts after signing out. Here is my codes.</p> <p>This is signing in code</p> <pre><code> import android.app.Activity impor...
There is no problem in signing in and signing out. But when I try to sign in again, it automatically login in to the account which i sign in previously. I am trying to switch to other google accounts after signing out. Here is my codes. This is signing in code [CODE] what should i do to disconnect the current google ac...
android|firebase|kotlin|firebase-authentication
0
2022-09-18T18:12:31.520Z
2,022
9
18
6
7
0
454
49
4
1
true
true
false
false
false
false
zero
73,765,306
Kotlin if statement only returning the first if not checking else if
<p>The requirements have the two first fun to be in ViewModel. val f and run are in Main Activity. The loop is stopping. I think there might be an issue toFloat(). Is there something that I am missing? Thank you for the help.</p> <pre><code>val f = bmiViewModel.updatebmi(bmiViewModel.formula(inc, wt, ft)) ...
The requirements have the two first fun to be in ViewModel. val f and run are in Main Activity. The loop is stopping. I think there might be an issue toFloat(). Is there something that I am missing? Thank you for the help. [CODE]
android|kotlin|if-statement|viewmodel
0
2022-09-18T18:13:38.573Z
2,022
9
18
6
47
0
229
68
4
1
true
true
false
false
false
false
zero
73,765,476
I get "Username must not be null!" on android
<p>am new to android programming, am trying to build my project but it gives me error Username must not be null!, it doesn't show any other error than this, I have tried to find for an answer on google but I couldn't find any, it doesn't give me any error than this and I don't know how to save it, you can check for the...
am new to android programming, am trying to build my project but it gives me error Username must not be null!, it doesn't show any other error than this, I have tried to find for an answer on google but I couldn't find any, it doesn't give me any error than this and I don't know how to save it, you can check for the sc...
java|android|kotlin
-4
2022-09-18T18:34:20.967Z
2,022
9
18
6
56
1
345
45
3
0
false
false
false
false
false
true
negative
73,765,556
Error : Cannot convert from 'System.Collections.Generic.List<string>' to 'int'
<pre><code>Android.App.AlertDialog.Builder abc = new AlertDialog.Builder(this.Activity); abc.SetTitle(Resources.GetString(Resource.String.xyz)); abc.SetCancelable(false); abc.SetPositiveButton(GetString(Resource.String.OK), (s, args) =&gt; { }); ArrayAdapter ar...
[CODE] In this below line when i am passing the list it is showing error that : Cannot convert from 'System.Collections.Generic.List' to 'int' ArrayAdapter arrayAdapter = new ArrayAdapter(this.Activity, Android.Resource.Layout.row_listview_layout, list);
c#|android|visual-studio
-2
2022-09-18T18:45:49.203Z
2,022
9
18
6
56
1
254
78
3
1
true
false
false
false
false
true
negative
73,765,673
extended tooltips for Android studio (functions and classes)
<p>In Android studio the pop-up code insight tooltip view is very short and I wonder is there any setting that shows more tooltips e.g. some example, usage erc? <a href="https://i.stack.imgur.com/tMh66.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tMh66.png" alt="enter image description here" /></a...
In Android studio the pop-up code insight tooltip view is very short and I wonder is there any setting that shows more tooltips e.g. some example, usage erc? I meant something like TexStudio Tooltip that is rather complete:
android-studio|tooltip
0
2022-09-18T19:02:25.943Z
2,022
9
19
6
9
0
223
60
2
0
false
true
false
false
false
false
zero
73,765,674
How do I fix "Warning: Dependant package with key emulator not found!" without Android Studio and with command-line tools?
<p>I am trying to create a LittleKT project in Visual Studio Code. I realized that I needed an Android SDK, so I downloaded the command line tools. I realized that I also needed to install build-tools;30.0.2 for my Android SDK. When I tried using the SDK Manager to do this in my Linux terminal, I got the following erro...
I am trying to create a LittleKT project in Visual Studio Code. I realized that I needed an Android SDK, so I downloaded the command line tools. I realized that I also needed to install build-tools;30.0.2 for my Android SDK. When I tried using the SDK Manager to do this in my Linux terminal, I got the following error: ...
visual-studio-code|game-engine|android-sdk-tools|android-sdk-manager|chromebook
0
2022-09-18T19:02:34.713Z
2,022
9
19
6
17
0
583
122
5
1
true
true
false
false
false
false
zero
73,765,745
Connecting RaspberryPi with android by bluetooth
<p>I have to connect the rpi with android and send wifi config file. but there are 3 problems.</p> <p>First: I have to connect only form android</p> <p>Second: I don't have internet on rpi. I have it only at the beginning and when I send the config file. So I can send scripts by ssh only once. I mean in final version.<...
I have to connect the rpi with android and send wifi config file. but there are 3 problems. First: I have to connect only form android Second: I don't have internet on rpi. I have it only at the beginning and when I send the config file. So I can send scripts by ssh only once. I mean in final version. third: I have to ...
android|raspberry-pi|bluetooth
0
2022-09-18T19:13:50.740Z
2,022
9
19
6
29
0
372
48
3
0
false
true
false
false
false
false
zero
73,765,806
How implement Android navigation drawer inside fragment
<p>I made a bottom navigation view using fragments, now i want to make navigation drawer inside one of the fragment .I don't know how to do it.</p>
I made a bottom navigation view using fragments, now i want to make navigation drawer inside one of the fragment .I don't know how to do it.
android
-1
2022-09-18T19:21:50.683Z
2,022
9
19
6
13
0
140
55
1
0
false
true
false
false
false
true
negative
73,765,820
How to fetch data Firestore subcollection Kotlin?
<p>I want to get data from Firebase Firestore subcollection for recyclerView. But I dont know if I write codes correctly or no. I also checked another variant with another collection without any subcollection and I see there I succesfully get data from Firestore. But with subcollection part which is i uploaded it with ...
I want to get data from Firebase Firestore subcollection for recyclerView. But I dont know if I write codes correctly or no. I also checked another variant with another collection without any subcollection and I see there I succesfully get data from Firestore. But with subcollection part which is i uploaded it with ima...
android|firebase|kotlin|google-cloud-firestore|android-recyclerview
0
2022-09-18T19:24:02.343Z
2,022
9
19
6
34
0
521
49
5
1
true
true
false
false
false
false
zero
73,765,850
what is wrong with this ffmpeg command? i am trying to trim a video & apply audio filter(audio disable) to it
<p>i am working on a a command that trim a video, after trim it applies audio filter to some seconds of the trimmed video.</p> <pre><code>-ss 0:00:02.000000 -i &quot;/data/user/0/com.example.cameraapp/cache/REC4972494270640553218.mp4&quot; -t 0:00:14.000000 -avoid_negative_ts make_zero -af volume=enable='between(t,5,1...
i am working on a a command that trim a video, after trim it applies audio filter to some seconds of the trimmed video. [CODE] the af is the audio filter anyone have idea what is wrong here?
android|flutter|ffmpeg|android-ffmpeg|flutter-ffmpeg
-1
2022-09-18T19:29:09.410Z
2,022
9
19
6
59
0
190
109
5
1
true
true
false
false
false
true
negative
73,765,855
Some devices won't center game in landscape orientation
<p><a href="https://docs.godotengine.org/en/stable/tutorials/rendering/multiple_resolutions.html" rel="nofollow noreferrer">As recommended</a> my project's resolution is set to a 1:1 ratio (720 x 720) to accommodate Portrait and Landscape mode. Stretch Mode is &quot;viewport&quot; and Aspect is &quot;expand&quot; to fi...
As recommended my project's resolution is set to a 1:1 ratio (720 x 720) to accommodate Portrait and Landscape mode. Stretch Mode is &quot;viewport&quot; and Aspect is &quot;expand&quot; to fit the screen to any device. GreenScreen and GrayButtons are separate nodes so I can reposition them based on device orientation....
android|orientation|godot
0
2022-09-18T19:29:56.197Z
2,022
9
19
6
28
0
903
55
3
0
false
true
false
false
false
false
zero
73,765,987
Detox launches emulator but can't install the app on it afterwards: DetoxRuntimeError: Aborted detox.init() execution, and now running detox.cleanup()
<p>When I launch a detox test with an emulator(one that I specify in detox config file) already running, detox finds the emulator, attaches it to it, and runs tests on it.</p> <p>When I don't have an emulator running, it helps load the emulator itself. But then when detox tries to install the app on the emulator next, ...
When I launch a detox test with an emulator(one that I specify in detox config file) already running, detox finds the emulator, attaches it to it, and runs tests on it. When I don't have an emulator running, it helps load the emulator itself. But then when detox tries to install the app on the emulator next, it gets st...
react-native|android-emulator|e2e-testing|detox
0
2022-09-18T19:52:21.177Z
2,022
9
19
6
22
0
517
150
4
1
true
true
false
false
false
false
zero
73,766,164
How to set dropdown menu string array according to another dropdown menu (Android)?
<p>I have 2 dropdown menus(1 -&gt; <code>autoCompleteTextProductType</code> 2-&gt; <code>autoCompleteTextProductBrand</code>)</p> <p>I need to get the value of product type(it's a String like: Mobile Phones, Computers etc.) from <code>autoCompleteTextProductType</code>and according to that value I need to change the re...
I have 2 dropdown menus(1 -> autoCompleteTextProductType 2-> autoCompleteTextProductBrand ) I need to get the value of product type(it's a String like: Mobile Phones, Computers etc.) from autoCompleteTextProductType and according to that value I need to change the resources of autoCompleteTextProductBrand For example i...
android|kotlin|drop-down-menu
0
2022-09-18T20:24:41.833Z
2,022
9
20
6
18
0
800
83
3
1
true
true
false
false
false
false
zero
73,769,146
Android Studio isn't generating the correct format for a Gradle file
<p>I have been stuck in the past week on connecting my project to a Firebase database. I watched many tutorials and followed the instructions step by step, and something goes wrong and the database doesn't connect:</p> <pre><code>package com.example.myapplication; &gt;imports DatabaseReference databaseReference; @Over...
I have been stuck in the past week on connecting my project to a Firebase database. I watched many tutorials and followed the instructions step by step, and something goes wrong and the database doesn't connect: [CODE] The code doesn't run through the getInstance for some reason. &quot;hi1&quot;, &quot;hi2&quot;, and &...
android|firebase|firebase-realtime-database
-1
2022-09-18T20:26:17.273Z
2,022
9
20
6
20
0
456
68
3
1
true
true
false
false
false
true
negative
73,766,346
Is there any way to configure emulator in Android Studio?
<p>I am doing a project about Android forensics where I need to dump data from android devices so I am using emulator from android studio. using android version 8.1.0. I am following a repo from github here's the link;<a href="https://github.com/mspreitz/ADEL" rel="nofollow noreferrer">https://github.com/mspreitz/ADEL<...
I am doing a project about Android forensics where I need to dump data from android devices so I am using emulator from android studio. using android version 8.1.0. I am following a repo from github here's the link; https://github.com/mspreitz/ADEL In order to dump file the prerequisite is to add configuration in the x...
python-3.x|android-studio|android-emulator|computer-forensics
0
2022-09-18T20:57:11.893Z
2,022
9
20
6
35
1
1,223
57
4
1
true
false
false
false
false
false
zero
73,766,468
Checkbox ripple and check issues after changing buttonTint
<p>I'm facing a really weird issue and there seems to be no solution on the web. Hope you can help me :). When there is no buttonTint present on the checkbox the animation is fine; the ripple is in the right place and the check is in the correct position. However, if I try to color the checkbox using buttonTint everyth...
I'm facing a really weird issue and there seems to be no solution on the web. Hope you can help me :). When there is no buttonTint present on the checkbox the animation is fine; the ripple is in the right place and the check is in the correct position. However, if I try to color the checkbox using buttonTint everything...
android|android-studio|kotlin
1
2022-09-18T21:17:36.753Z
2,022
9
21
6
28
1
379
58
3
1
true
false
false
false
false
false
low
73,766,480
Paging 3 adapter which needs coroutine data
<p>I'm using paging 3, with a remote mediator.</p> <p>My mediator etc all works (tried with hard coded values), but my problem now is that I need to get a users location from a coroutine scope to pass to my adapter.</p> <p>This is what I'm trying to achieve, but obviously this doesn't work.</p> <pre><code> lateinit ...
I'm using paging 3, with a remote mediator. My mediator etc all works (tried with hard coded values), but my problem now is that I need to get a users location from a coroutine scope to pass to my adapter. This is what I'm trying to achieve, but obviously this doesn't work. [CODE] And then collecting in my composable; ...
android|android-paging-3
0
2022-09-18T21:19:42.190Z
2,022
9
21
6
16
0
660
43
2
4
true
true
false
false
false
false
zero
73,766,616
Add TextView programatically to a layout in onCreateViewHolder
<p>I am new to android developemnt. I have a adapter class where currectly, in onCreateViewHolder method, a fragment(XML) is displayed. I want to add a textView to this fragment only if a 'if condition' is met. This is what i have but I am getting null pointer</p> <pre><code>java.lang.NullPointerException: Attempt to i...
I am new to android developemnt. I have a adapter class where currectly, in onCreateViewHolder method, a fragment(XML) is displayed. I want to add a textView to this fragment only if a 'if condition' is met. This is what i have but I am getting null pointer [CODE] [CODE] [CODE]
java|android|android-recyclerview|android-adapter
0
2022-09-18T21:47:07.380Z
2,022
9
21
6
36
2
278
62
4
3
true
false
false
false
false
false
zero
73,766,735
Kotlin Round Up An Integer
<p>Let's say I have an integer like 588 and I want to round that number up to 590</p> <p>Or:</p> <p>397 -&gt; 400,</p> <p>233 -&gt; 230</p> <p>...</p> <p>Or maybe:</p> <p>388 -&gt; 400</p> <p>77 -&gt; 100</p> <p>Does Kotlin has a function for these kind of situations? Or do I need to create my own algorithm for that? I...
Let's say I have an integer like 588 and I want to round that number up to 590 Or: 397 -> 400, 233 -> 230 ... Or maybe: 388 -> 400 77 -> 100 Does Kotlin has a function for these kind of situations? Or do I need to create my own algorithm for that? I tried using ceil() or roundToInt() but I think those are just for roun...
android|kotlin|math
-1
2022-09-18T22:14:17.633Z
2,022
9
22
6
45
1
333
26
3
0
false
false
false
false
false
true
negative
73,766,847
connecting React Native app with Firebase
<p>I have a React Native app which I want to connect with Firebase. Now, I can do it for an Android app or an iOS app.</p> <p><a href="https://i.stack.imgur.com/kl657.png" rel="nofollow noreferrer">enter image description here</a></p> <p>What would be the way to go if I want to achieve this for a React Native project i...
I have a React Native app which I want to connect with Firebase. Now, I can do it for an Android app or an iOS app. enter image description here What would be the way to go if I want to achieve this for a React Native project i.e. as a single backend for both Android/iOS. Would I have to create separate backend for bot...
android|firebase|react-native
-1
2022-09-18T22:39:59.690Z
2,022
9
22
6
18
0
381
41
3
0
false
true
false
false
false
true
negative
73,766,854
How i can remove marker with a ToogleButton?
<p>I need the &quot;else&quot; part to delete the bookmarks created only by that button.</p> <p>I have used the map.clear() parameter, but it deletes the entire map and since I have other buttons that I want to perform the same function, I need to individually remove the markers that each button creates</p> <pre><code>...
I need the &quot;else&quot; part to delete the bookmarks created only by that button. I have used the map.clear() parameter, but it deletes the entire map and since I have other buttons that I want to perform the same function, I need to individually remove the markers that each button creates [CODE]
android|kotlin|google-maps|google-maps-markers
0
2022-09-18T22:41:58.407Z
2,022
9
22
6
23
0
301
44
4
1
true
true
false
false
false
false
zero
73,766,865
Tablet Samsung Galaxy in bootloop - need to delete something from the storage
<p>The tablet - Samsung Galaxy Tab S4 itself turned off and got into a bootloop - it doesn't boot into the system because there is not enough memory. Before that it worked fine. All on the tablet is stock and official, there is no root.</p> <p>Wipe cache partition tried many times already.</p> <p>The problem is that th...
The tablet - Samsung Galaxy Tab S4 itself turned off and got into a bootloop - it doesn't boot into the system because there is not enough memory. Before that it worked fine. All on the tablet is stock and official, there is no root. Wipe cache partition tried many times already. The problem is that there is not enough...
android|adb|boot|recovery|samsung
0
2022-09-18T22:45:55.627Z
2,022
9
22
6
19
0
1,592
77
5
0
false
true
false
false
false
false
zero
73,766,909
prevent button click from being recognized on underlying composable
<p>I am using Jetpack Compose and have a composable with a video player. When you tap the screen I have a listener that pauses the video.</p> <p>On the top of the screen I have a top AppBar with an icon button.</p> <p>When I tap the icon button the onClick fires but then the click is also consumed by the underlying co...
I am using Jetpack Compose and have a composable with a video player. When you tap the screen I have a listener that pauses the video. On the top of the screen I have a top AppBar with an icon button. When I tap the icon button the onClick fires but then the click is also consumed by the underlying composable, in my ca...
android|android-jetpack-compose|android-jetpack|jetpack
0
2022-09-18T22:57:49.667Z
2,022
9
22
6
35
0
606
67
4
0
false
true
false
false
false
false
zero
73,766,923
Android + Hilt: Cannot inject interface
<p>I have a class that extends an interface as follows:</p> <pre><code>class AWSTestTypeService : IAWSTestTypeService { override fun getTestTypes(): List&lt;TestTypeDTO&gt;? { val pAWS = instance return pAWS!!.getTestTypes() } } </code></pre> <p>And the corresponding interface:</p> <pre><co...
I have a class that extends an interface as follows: [CODE] And the corresponding interface: [CODE] And trying to inject it through the next module: [CODE] And requesting it in: [CODE] But when compiling I get the following Hilt error: [CODE] What's wrong?
android|kotlin|dependency-injection|compiler-errors|dagger-hilt
0
2022-09-18T23:01:13.717Z
2,022
9
23
6
36
1
256
39
5
5
true
false
false
false
false
false
zero
73,767,070
Store edittext into MutableList
<p>I am trying to create a function that store 3 editext values into an object when a button is pressed. These objects are stored into an mutablelist, which will be returned and displayed in a recycleview.</p> <pre><code> fun getWish(): MutableList&lt;Wish&gt;{ val wishes : MutableList&lt;Wish&gt; = ArrayLis...
I am trying to create a function that store 3 editext values into an object when a button is pressed. These objects are stored into an mutablelist, which will be returned and displayed in a recycleview. [CODE] The issue is the list is not displaying in the recycleview. The recycle view adapter is not the issue because ...
android|kotlin
-1
2022-09-18T23:38:28.777Z
2,022
9
23
6
27
1
518
31
2
1
true
false
false
false
false
true
negative
73,767,133
Triggering an event when Google Assistant is finished listening/acting
<p>I'm trying to make network requests (to a simple server on Windows listening over the local network) when Google Assistant is triggered, so I can have Windows pause media when Google Assistant is listening, and then resume media after Google assistant finishes. This is so that my phone, next to my computer, doesn't ...
I'm trying to make network requests (to a simple server on Windows listening over the local network) when Google Assistant is triggered, so I can have Windows pause media when Google Assistant is listening, and then resume media after Google assistant finishes. This is so that my phone, next to my computer, doesn't pic...
android|google-assistant
0
2022-09-18T23:54:44.843Z
2,022
9
23
6
9
0
1,076
70
2
0
false
true
false
false
false
false
zero
73,767,138
Android detect MiFare reader and send data
<p>I've recently bought a MiFare reader as a project for automating my household a little further. The idea was to make an android app, which talks to a server inside the house, and provide rolling keys in order to emit those via NFC to the reader. From either a phone or a watch.</p> <p>I've recently started to wonder ...
I've recently bought a MiFare reader as a project for automating my household a little further. The idea was to make an android app, which talks to a server inside the house, and provide rolling keys in order to emit those via NFC to the reader. From either a phone or a watch. I've recently started to wonder if it is p...
android|nfc|mifare
0
2022-09-18T23:56:27.783Z
2,022
9
23
6
26
1
577
42
3
0
false
false
false
false
false
false
zero
73,767,145
How do I find out which application woke up my device?
<p>I'm relatively new to ADB. I was playing with <code>adb logcat</code> today when I caught my device (Motorola G Pure) waking up for no apparent reason (device wasn't unplugged/plugged back in, no known issue with the power button, no notification/alarms, etc.).</p> <p>This device waking up issue isn't new to me. It ...
I'm relatively new to ADB. I was playing with adb logcat today when I caught my device (Motorola G Pure) waking up for no apparent reason (device wasn't unplugged/plugged back in, no known issue with the power button, no notification/alarms, etc.). This device waking up issue isn't new to me. It sometimes bothers me wh...
android|adb|logcat
0
2022-09-18T23:58:45.610Z
2,022
9
23
6
22
0
692
54
3
1
true
true
false
false
false
false
zero
73,767,217
How I can check array length from google cloud firestore For Android
<p>I am developing an Android app and want to check array length in Cloud Firestore. I have tried many times but could not find a solution. Can you help me?</p> <p>edited below:</p> <p>I want to get the size of the array that which user favorited it. Below is my array in Firestore. Also, I can access document II, becau...
I am developing an Android app and want to check array length in Cloud Firestore. I have tried many times but could not find a solution. Can you help me? edited below: I want to get the size of the array that which user favorited it. Below is my array in Firestore. Also, I can access document II, because I save it when...
android|firebase|kotlin|google-cloud-platform|google-cloud-firestore
0
2022-09-19T00:22:29.557Z
2,022
9
0
0
36
1
470
68
5
0
false
false
false
false
false
false
zero
73,767,389
using Veridex to scan or running debuggable app by watching Accessing Hidden logs can't detect all hidden api calls
<p>I know a crashed APP calling a hidden API,</p> <p>the apk download address: <a href="https://gyxz3.243ty.com/com.vqs.iphoneassess.apk" rel="nofollow noreferrer">https://gyxz3.243ty.com/com.vqs.iphoneassess.apk</a></p> <p>this app call a private method android.content.pm.PackageManager.getPackageInfoAsUserUncached an...
I know a crashed APP calling a hidden API, the apk download address: https://gyxz3.243ty.com/com.vqs.iphoneassess.apk this app call a private method android.content.pm.PackageManager.getPackageInfoAsUserUncached and because of this api changed , so the apk crashed but I can't use veridex or by watching logcat to find t...
android|detection
0
2022-09-19T01:06:05.337Z
2,022
9
1
0
14
0
581
115
2
1
true
true
false
false
false
false
zero
73,767,473
Firebase auth using username instead of email
<p>So, I am creating a simple registration - login screen app, for android, using Kotlin and Firebase. The user should be able to register, by providing his email address, a username and a password. If the email and username are not being used already, the user should be able to login, using his username and password</...
So, I am creating a simple registration - login screen app, for android, using Kotlin and Firebase. The user should be able to register, by providing his email address, a username and a password. If the email and username are not being used already, the user should be able to login, using his username and password The ...
android|firebase|kotlin|firebase-authentication
0
2022-09-19T01:23:54.520Z
2,022
9
1
0
35
1
766
45
4
1
true
false
false
false
false
false
zero
73,767,758
Billing issue about Google Cloud Vision API
<p>Here I have a problem that I want to solve.</p> <p>First at all, I follow this link to enable the feature &quot;Recognize Text&quot; in my Android App of my project. <a href="https://firebase.google.com/docs/ml/android/recognize-text" rel="nofollow noreferrer">https://firebase.google.com/docs/ml/android/recognize-te...
Here I have a problem that I want to solve. First at all, I follow this link to enable the feature &quot;Recognize Text&quot; in my Android App of my project. https://firebase.google.com/docs/ml/android/recognize-text Follow the instructions, I use the Could Functions &quot; annotateImage &quot; to invoke the Cloud Vis...
android|google-cloud-functions|google-cloud-vision
-1
2022-09-19T02:18:06.417Z
2,022
9
2
0
41
0
1,298
43
3
0
false
true
false
false
false
true
negative
73,767,866
Waiting for debugger Attach a debugger or ESC to cancel
<p>when i want to enable emulator i get this</p> <p><a href="https://i.stack.imgur.com/2Jjfx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Jjfx.png" alt="enter image description here" /></a></p> <p>What kind of error how to get rid of it ?</p>
when i want to enable emulator i get this What kind of error how to get rid of it ?
android-studio
-1
2022-09-19T02:38:19.497Z
2,022
9
2
0
36
0
83
55
1
0
false
true
false
false
false
true
negative
73,767,872
Add recycleview inside selected row of parent recycleview
<p>Hi I have this particular use case where in I need to populate the recycle view on selected rows or specified row, on the image below If I need to increase the number of coffee so the button will increase, also only coffee has array list the rest like Sprit and L&amp;P does not have list. Now when I populate the but...
Hi I have this particular use case where in I need to populate the recycle view on selected rows or specified row, on the image below If I need to increase the number of coffee so the button will increase, also only coffee has array list the rest like Sprit and L&P does not have list. Now when I populate the button wit...
android|kotlin
0
2022-09-19T02:38:55.800Z
2,022
9
2
0
29
0
420
57
2
0
false
true
false
false
false
false
zero
73,768,217
How to solve type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'BannersModel'
<p>this is the code to class model <a href="https://i.stack.imgur.com/JQrqs.png" rel="nofollow noreferrer">enter image description here</a></p>
this is the code to class model enter image description here
flutter|android-studio|dart|mobile|flutter-layout
0
2022-09-19T03:35:15.193Z
2,022
9
3
0
11
0
60
99
5
0
false
true
false
false
false
false
zero
73,768,285
How to group buttons in Xamarin
<p>I'm trying to make a normal button behave like a toggle button. In the case of radio buttons, you can set the button group name, and it seems that grouping is possible if they are grouped with the same name.</p> <p>Is there a way to group general buttons into group names like radio buttons?</p>
I'm trying to make a normal button behave like a toggle button. In the case of radio buttons, you can set the button group name, and it seems that grouping is possible if they are grouped with the same name. Is there a way to group general buttons into group names like radio buttons?
xamarin|xamarin.forms|xamarin.android
0
2022-09-19T03:46:12.560Z
2,022
9
3
0
32
0
284
31
3
0
false
true
false
false
false
false
zero
73,768,286
How to enable android studio new logcat in Dolphin | 2021.3.1 Canary 6?
<p><code>In Dolphin | 2021.3.1 Canary 6</code> version Android studio updated with new <a href="https://androidstudio.googleblog.com/2022/03/android-studio-dolphin-canary-6-now.html" rel="nofollow noreferrer">logcat</a>, by default not getting enabled(after the updated to Dolphin), How to enable that?</p> <p><a href="h...
In Dolphin | 2021.3.1 Canary 6 version Android studio updated with new logcat , by default not getting enabled(after the updated to Dolphin), How to enable that?
android|logcat|android-studio-3.1|android-studio-dolphin
2
2022-09-19T03:46:28.913Z
2,022
9
3
0
561
1
161
71
4
0
false
false
false
false
false
false
low
73,768,309
Android: enter or tab keys still enters values into the password input field using jetpack compose
<p>When I enter or tab keys still enters values into the password input field using jetpack compose.</p> <p>Below is my code snippet:</p> <pre><code>val (focusRequester) = FocusRequester.createRefs() TextField( value = text, onValueChange = { text = it }, singleLine = true, keyboardOptions ...
When I enter or tab keys still enters values into the password input field using jetpack compose. Below is my code snippet: [CODE] Tab key and enter key entries from laptop keyboard via Vysor not from android keyboard. Any suggestions are welcome here. Thanks! Update 1: Is there any way we can do for all the function k...
android|keyboard|android-jetpack-compose|android-jetpack|android-inputtype
1
2022-09-19T03:50:34.293Z
2,022
9
3
0
59
3
373
98
5
2
true
false
false
false
false
false
low
73,768,454
Why 160dpi is considered the baseline of the resolution?
<p>In measure of resolution in Android, Photoshop, 160dpi is called mdpi that 1px is equal to 1dp. My question is why 160 not other?</p>
In measure of resolution in Android, Photoshop, 160dpi is called mdpi that 1px is equal to 1dp. My question is why 160 not other?
android
0
2022-09-19T04:17:25.127Z
2,022
9
4
0
23
1
129
56
1
0
false
false
false
false
false
false
zero
73,768,501
How can i change all recyclerview items?
<p>I have a recyclerview and i show the some type of messages in it.<br /> <a href="https://i.stack.imgur.com/TLRFh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TLRFh.png" alt="enter image description here" /></a></p> <p>when user clicked on one item play button, the mediaplayer started and if med...
I have a recyclerview and i show the some type of messages in it. when user clicked on one item play button, the mediaplayer started and if media player running and user click on play button for other items, media player stopped and new sound was playing.\ now this is my problem. when second item clicked, how can i cha...
java|xml|android-studio
0
2022-09-19T04:27:35.610Z
2,022
9
4
0
17
0
386
40
3
0
false
true
false
false
false
false
zero
73,768,537
Task :react-native-gradle-plugin:compileKotlin FAILED, 'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11)
<pre><code>info Running jetifier to migrate libraries to AndroidX. You can disable it using &quot;--no-jetifier&quot; flag. Jetifier found 936 file(s) to forward-jetify. Using 12 workers... info JS server already running. info Installing the app... &gt; Task :react-native-gradle-plugin:compileKotlin FAILED 'compileJav...
[CODE] I have seen solutions which involve changing the classpath() and distribution URL, but I have already done it. from my build.gradle file: [CODE] from gradle-wrapper [CODE] None of this fixes the error, additionally, i have noticed that running gradlew clean also provokes the same error [CODE] I have also tried a...
java|android|react-native|gradle|java-11
1
2022-09-19T04:33:10.273Z
2,022
9
4
0
53
2
543
145
5
5
true
false
false
false
false
false
low
73,768,582
What is the meaning of these keywords in Android ViewBinding?
<p>lateinit keyword is used for late initialization of variables. --&gt;Var is used for creating variable --&gt;binding is a variable name --&gt;What is the meaning of this (: ActivityMainBinding) Some people said that is class and some said that created an object, I am too confused. --&gt;Again write the variable name...
lateinit keyword is used for late initialization of variables. -->Var is used for creating variable -->binding is a variable name -->What is the meaning of this (: ActivityMainBinding) Some people said that is class and some said that created an object, I am too confused. -->Again write the variable name binding and in...
android|android-layout|kotlin-android-extensions|android-viewbinding
1
2022-09-19T04:42:10.243Z
2,022
9
4
0
39
2
662
61
4
0
false
false
false
false
false
false
low
73,768,633
Android Showcase View how to use to one show?
<p>How can I display the Tab Target only once when opening the activity for the first time? This is my code :</p> <pre><code>textView = findViewById(R.id.main_title_activity_text); new TapTargetSequence(this) .targets( TapTarget.forView(textView,&quot;Button 1&quot;,&quot;This is Bu...
How can I display the Tab Target only once when opening the activity for the first time? This is my code : [CODE]
java|android|showcaseview
0
2022-09-19T04:51:24.493Z
2,022
9
4
0
43
1
113
45
3
1
true
false
false
false
false
false
zero
73,768,639
Google One Tap Sign In null reference
<p>I am unable to get Google's one tap sign in implementation to work. The code runs, the button works however, the addOnSuccessListener never runs. I don't understand what the issue could be, as according to the documentation I've done everything correctly. The only information I get is that on failure of the addOnSuc...
I am unable to get Google's one tap sign in implementation to work. The code runs, the button works however, the addOnSuccessListener never runs. I don't understand what the issue could be, as according to the documentation I've done everything correctly. The only information I get is that on failure of the addOnSucces...
android|kotlin|firebase-authentication|android-jetpack-compose|google-identity
1
2022-09-19T04:53:31.703Z
2,022
9
4
0
71
0
708
37
5
2
true
true
false
false
false
false
low
73,768,649
Protocols Needed for Hosting VPN in Windows?
<p>I found an esoteric VPN-hosting feature of Windows but I am having trouble configuring it. (I am following <a href="https://www.howtogeek.com/135996/how-to-create-a-vpn-server-on-your-windows-computer-without-installing-any-software/" rel="nofollow noreferrer">this tutorial</a>.) I am confident in my ability to forw...
I found an esoteric VPN-hosting feature of Windows but I am having trouble configuring it. (I am following this tutorial .) I am confident in my ability to forward the right port, so I am beginning my troubleshooting by looking at possible protocol interface issues. In the &quot;Allow connections to this computer&quot;...
vpn|android-vpn-service
0
2022-09-19T04:55:56.017Z
2,022
9
4
0
10
0
1,206
44
2
0
false
true
false
false
false
false
zero
73,768,727
Animating the action bar in fragment transitions
<p>I have an app which is using the one-activity-multiple-fragments architecture using navigation component.</p> <p>For each fragment, I have a slide in/out animation like so:</p> <p><code>anim_in.xml</code>:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;translate xmlns:android...
I have an app which is using the one-activity-multiple-fragments architecture using navigation component. For each fragment, I have a slide in/out animation like so: anim_in.xml : [CODE] anim_out.xml : [CODE] nav_graph.xml : [CODE] Navigation code in MainFragment : [CODE] The problem with this is that it just animates ...
android|android-fragments
1
2022-09-19T05:08:01.733Z
2,022
9
5
0
16
0
976
48
2
4
true
true
false
false
false
false
low
73,768,750
Why I can't answer command prompt (It just skips to new section before I am able to type y to accept)?
<p>I just run flutter doctor to accept android licenses but the command prompt ain't letting me answer. Here is the screenshot I took. I am genuinely confused. <img src="https://i.stack.imgur.com/QS5i9.png" alt="enter image description here" /></p>
I just run flutter doctor to accept android licenses but the command prompt ain't letting me answer. Here is the screenshot I took. I am genuinely confused.
android|flutter|sdk|command-prompt|android-licenses
1
2022-09-19T05:11:04.207Z
2,022
9
5
0
34
0
156
102
5
0
false
true
false
false
false
false
low
73,768,831
News are not updating In recyclerView when I edit word in search edit text
<p>I am developing NewsApi app. I set a search edit text for searching through articles, but the search works only for the first time. When I write another word in edit text recyclerView still shows articles related to the previous word. Please let me know if I need to post something more.</p> <p>Fragment:</p> <pre><co...
I am developing NewsApi app. I set a search edit text for searching through articles, but the search works only for the first time. When I write another word in edit text recyclerView still shows articles related to the previous word. Please let me know if I need to post something more. Fragment: [CODE] Here is my sAda...
android|api|android-recyclerview|android-edittext|android-adapter
0
2022-09-19T05:24:35.243Z
2,022
9
5
0
34
1
334
74
5
2
true
false
false
false
false
false
zero
73,768,917
Android Studio xml preview issue failed to initialize editor
<p>After Update android studio <strong>dolphin</strong> my old projects xml preview not showing views. Is anyone facing same issue? And have done solution then please share it here. It's run perfectly fine but preview not working.</p> <p>What I did tried?</p> <ul> <li>File -&gt; Invalidate Cashes / Restart</li> <li>Del...
After Update android studio dolphin my old projects xml preview not showing views. Is anyone facing same issue? And have done solution then please share it here. It's run perfectly fine but preview not working. What I did tried? File -> Invalidate Cashes / Restart Delete build , idea , gradle folder Restart PC and andr...
android|android-studio|android-studio-dolphin
7
2022-09-19T05:41:39.027Z
2,022
9
5
0
907
6
366
60
3
0
false
false
false
false
false
false
medium
73,768,922
How to run First Program on Android Studio Emulator
<p>I have installed Android Studio but when running an application on an emulator, I face a problem, please help me with this issue . It shows the screen as below, please help me out <a href="https://i.stack.imgur.com/ZPpPj.png" rel="nofollow noreferrer">Error during during performing emulator</a></p>
I have installed Android Studio but when running an application on an emulator, I face a problem, please help me with this issue . It shows the screen as below, please help me out Error during during performing emulator
android-studio
0
2022-09-19T05:42:10.860Z
2,022
9
5
0
16
1
219
51
1
0
false
false
false
false
false
false
zero
73,768,975
No me deja agragr el SDK de firebase a android studio
<p>when I am creating the project in firebase when adding the SDK in android it asks me to copy and paste lines of code in areas that are in my project, I have seen youtube tutorials but it appears to them in the same way that firebase says it , but not me, I think it's due to an update of android studio, does anyone k...
when I am creating the project in firebase when adding the SDK in android it asks me to copy and paste lines of code in areas that are in my project, I have seen youtube tutorials but it appears to them in the same way that firebase says it , but not me, I think it's due to an update of android studio, does anyone know...
firebase|android-studio|kotlin
-1
2022-09-19T05:52:40.083Z
2,022
9
5
0
11
0
450
53
3
0
false
true
false
false
false
true
negative
73,768,992
Exception during working with external system: java.lang.AssertionError in Android Studio Dolphin | 2021.3.1
<p>I updated the Android Studio to <code>Dolphin | 2021.3.1</code> and built a Java Project, I got the below error, when I was creating the <code>Java</code> Project, How to resolve this ?</p> <pre><code>Exception during working with external system: java.lang.AssertionError at org.jetbrains.plugins.gradle.service....
I updated the Android Studio to Dolphin | 2021.3.1 and built a Java Project, I got the below error, when I was creating the Java Project, How to resolve this ? [CODE]
android|android-studio-3.1|android-studio-dolphin
1
2022-09-19T05:54:20.313Z
2,022
9
5
0
37
1
166
108
3
1
true
false
false
false
false
false
low
73,769,001
How can I set tablerow of differnt width in Tablelayout?
<p><a href="https://i.stack.imgur.com/NUHNk.jpg" rel="nofollow noreferrer">My expected Output</a></p> <p>This is referenced Image of what I want, But im unable to do it, currently im using tablelayout, what i should do? Ofcourse my total requirement are vertical and horizontal scrolling.</p> <p>My current code is below...
My expected Output This is referenced Image of what I want, But im unable to do it, currently im using tablelayout, what i should do? Ofcourse my total requirement are vertical and horizontal scrolling. My current code is below with this I cant even have row of diff width, same width get applied to all below rows of co...
java|android|android-tablelayout
0
2022-09-19T05:55:26.517Z
2,022
9
5
0
28
1
376
56
3
1
true
false
false
false
false
false
zero
73,769,036
null pointer exception and not able show data in listview
<p>I want to retrieve contact data from <strong>Firebase Realtime Database</strong> and show them in a <strong>ListView</strong> in <strong>Android studio.</strong> Problem is my code is getting an Error of null pointer exception. I ran the debugger before this exception it was running fine but suddenly I got this erro...
I want to retrieve contact data from Firebase Realtime Database and show them in a ListView in Android studio. Problem is my code is getting an Error of null pointer exception. I ran the debugger before this exception it was running fine but suddenly I got this error. I might also add that after retrieving data from fi...
java|android|listview|firebase-realtime-database
0
2022-09-19T05:59:35.517Z
2,022
9
5
0
26
0
780
57
4
4
true
true
false
false
false
false
zero
73,769,039
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' in android studio
<p>I get these errors When I run flutter application using android studio.How can I solve this problem</p> <pre><code>* What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. &gt; Failed to install the following Android SDK packages as some licences have not been accepted. ...
I get these errors When I run flutter application using android studio.How can I solve this problem [CODE] enter image description here
flutter|android-studio|dart|mobile-application
0
2022-09-19T06:00:16.337Z
2,022
9
6
0
21
1
135
95
4
1
true
false
false
false
false
false
zero
73,769,141
why tensorflow lite model not working after converting from keras model?
<p>I converted a keras model in to tenserflow lite model using the code</p> <pre><code>model = tf.keras.models.load_model('liveness.model') # Convert the model. converter = tf.lite.TFLiteConverter.from_keras_model(model) tflite_model = converter.convert() # Save the model. with open('model.tflite', 'wb') as f: f.wr...
I converted a keras model in to tenserflow lite model using the code [CODE] But it not working and always giving same output for all inputs. I tried with android i am adding my android code as well. [CODE] This is the model I am using [CODE]
python|android|tensorflow|keras|tensorflow-lite
0
2022-09-19T06:13:54.680Z
2,022
9
6
0
19
0
241
72
5
3
true
true
false
false
false
false
zero
73,769,178
Which is better alarm manager or workmanager
<p>I want to show notification at certain time and day by using retrofit2 networking. But in alarm manager doc. It mentioned that isn't proper fpr networkong job. But in workmanager doc it says for the exact time job use alarm manager. What would be better for me to use? Alarm manager nor work manager</p>
I want to show notification at certain time and day by using retrofit2 networking. But in alarm manager doc. It mentioned that isn't proper fpr networkong job. But in workmanager doc it says for the exact time job use alarm manager. What would be better for me to use? Alarm manager nor work manager
android|alarmmanager|android-workmanager
-1
2022-09-19T06:17:39.597Z
2,022
9
6
0
33
1
299
44
3
0
false
false
false
false
false
true
negative
73,769,187
plugin in android
<p>apply plugin: 'com.android.application' apply plugin: 'androidx.navigation.safeargs'</p> <hr /> <p>errore... A problem occurred evaluating project ':app'.</p> <blockquote> <p>Plugin with id 'com.android.application' not found.</p> </blockquote> <ul> <li>Try:</li> </ul> <blockquote> <p>Run with --stacktrace option to...
apply plugin: 'com.android.application' apply plugin: 'androidx.navigation.safeargs' errore... A problem occurred evaluating project ':app'. Plugin with id 'com.android.application' not found. Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --...
java|xml|android-studio
-1
2022-09-19T06:18:38.880Z
2,022
9
6
0
21
1
346
17
3
0
false
false
false
false
false
true
negative
73,769,209
platform android not found in ionic
<p>I'm trying to run the <code>ionic cap run android</code> command but it showed no device in my list</p> <p><a href="https://i.stack.imgur.com/pWgIF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pWgIF.png" alt="enter image description here" /></a></p> <p>Then in my folder, I can see that there is...
I'm trying to run the ionic cap run android command but it showed no device in my list Then in my folder, I can see that there is an android platform created by using the npx cap add android I'm using capacitor in this project, and following is my capacitor android version:
android|angular|ionic-framework
-1
2022-09-19T06:21:23.033Z
2,022
9
6
0
20
0
274
35
3
0
false
true
false
false
false
true
negative
73,769,242
Can i .odex file on dalvikvm ? Without recompiling the dex to odex everytime?
<p>A followup of this question : <a href="https://android.stackexchange.com/questions/246471/can-i-run-odex-file-on-dalvikvm">https://android.stackexchange.com/questions/246471/can-i-run-odex-file-on-dalvikvm</a></p> <p>As I can run a Dex file on dalvikvm(which is currently art) through a terminal emulator (I'm using t...
A followup of this question : https://android.stackexchange.com/questions/246471/can-i-run-odex-file-on-dalvikvm As I can run a Dex file on dalvikvm(which is currently art) through a terminal emulator (I'm using termux or adb shell) /system/bin/dalvikvm -cp /path/to/classes.dex classname Which runs successfully and I n...
android|dalvik|dex
0
2022-09-19T06:25:04.760Z
2,022
9
6
0
15
0
509
77
3
0
false
true
false
false
false
false
zero