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,119,567
Flutter SDK is not found in the specified location, but flutter doctor shows no issues
<p>I'm trying to set up my environment to work with flutter and dash with android studio.</p> <p>I click &quot;New Flutter Project&quot;, and then I browse to where I've extracted the flutter 3.0.5 stable build. But android studio informs me that &quot;Flutter SDK is not found in the specified location&quot;. I opened ...
I'm trying to set up my environment to work with flutter and dash with android studio. I click &quot;New Flutter Project&quot;, and then I browse to where I've extracted the flutter 3.0.5 stable build. But android studio informs me that &quot;Flutter SDK is not found in the specified location&quot;. I opened up flutter...
flutter|android-studio
0
2022-07-26T07:49:35.213Z
2,022
7
7
1
56
2
553
86
2
0
false
false
false
false
false
false
zero
73,119,587
Is it possible to add multiple mlkit api implementation in one project?
<p><a href="https://i.stack.imgur.com/AujsH.png" rel="nofollow noreferrer">gradle code where two implementations are included</a></p> <p><a href="https://i.stack.imgur.com/YjRgH.png" rel="nofollow noreferrer">Im getting this error if i implement face detection and text detection in one project</a></p>
gradle code where two implementations are included Im getting this error if i implement face detection and text detection in one project
android
0
2022-07-26T07:51:30.550Z
2,022
7
7
1
26
0
136
71
1
0
false
true
false
false
false
false
zero
73,119,604
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'java.lang.String base.Utility.m3043r()'
<p>I am a beginner in Java, and I try to use a java code from an android apk.</p> <p>I am getting an error on the &quot;m3043r()&quot; function, here is the message I get :</p> <pre><code>Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: 'java.lang.String base.Utility.m3043r()' at base.Utility.m3...
I am a beginner in Java, and I try to use a java code from an android apk. I am getting an error on the &quot;m3043r()&quot; function, here is the message I get : [CODE] This is the java file where I get the error : [CODE] I shrinked the code so they are only the error appears. It's been hours I try to find why it don'...
java|android|unsatisfiedlinkerror
0
2022-07-26T07:52:45.043Z
2,022
7
7
1
31
0
583
99
3
2
true
true
false
false
false
false
zero
73,119,701
TextView's text is not updated in UI
<p>I have an activity with onTouch method that uses <code>setContentView()</code> to change between layouts when user swipes. When swipe is detected the following code changes the content of the activity:</p> <pre><code>override fun onTouchEvent(event: android.view.MotionEvent): Boolean { when (event.getAction()) {...
I have an activity with onTouch method that uses setContentView() to change between layouts when user swipes. When swipe is detected the following code changes the content of the activity: [CODE] neither invalidate() nor postInvalidate() does anything. I tried to change text inside a handler, but that didn't work eithe...
android|textview
0
2022-07-26T08:00:36.460Z
2,022
7
8
1
32
0
595
36
2
2
true
true
false
false
false
false
zero
73,119,759
How can I change editType inputType just one character?
<p>I want help you guys thx</p> <p>I just change my <code>EditText</code> in first character</p> <pre><code>&lt;EditText android:id=&quot;@+id/password&quot; style=&quot;@style/TextBase&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;match_parent&quot; android:backgro...
I want help you guys thx I just change my EditText in first character [CODE] this EditType for real-time change for [0] inputType numberPassword to number [CODE] ex ) ●●●●●● -> 8●●●●● How can I change that real-time? Thanks
kotlin|android-edittext
0
2022-07-26T08:05:34.593Z
2,022
7
8
1
44
0
223
55
2
2
true
true
false
false
false
false
zero
73,119,780
Pass Application to singleton directly in Android
<p>I'm a beginner to Android development.</p> <p>When making a singleton in the Application Context, here is my code.</p> <p>I pass the application context to the instantiation</p> <pre><code>class Blah{ companion object { @Volatile private var INSTANCE: Blah? = null //Singleton fun ge...
I'm a beginner to Android development. When making a singleton in the Application Context, here is my code. I pass the application context to the instantiation [CODE] Can I pass the application directly to the instantiation? Like so: [CODE] Will this present memory leaks?
android|kotlin|mobile|android-context
1
2022-07-26T08:07:05.353Z
2,022
7
8
1
32
1
272
49
4
2
true
false
false
false
false
false
low
73,119,909
Flutter TextField vs TextFormField
<p>What is the difference between TextField and TextFormField in flutter? Both look the same. Which one should i use? Which one do you recommend? I use TextField like this:</p> <pre><code>const TextField( obscureText: true, decoration: InputDecoration( border: OutlineInputBorder(), labelText: 'Password', ...
What is the difference between TextField and TextFormField in flutter? Both look the same. Which one should i use? Which one do you recommend? I use TextField like this: [CODE]
android|flutter|dart|textfield|textformfield
1
2022-07-26T08:17:13.760Z
2,022
7
8
1
123
2
176
34
5
1
true
false
false
false
false
false
low
73,119,933
mapper 3.x is not supported and flutter app not showing new changes
<p>The changes I am making in my app are not getting visible and the previous state is loading up... I changed the home to another screen in <code>main.dart</code> but the app is not opening on that screen. I am getting this in my debug console:</p> <pre><code>W/Gralloc3(16231): mapper 3.x is not supported E/ (1...
The changes I am making in my app are not getting visible and the previous state is loading up... I changed the home to another screen in main.dart but the app is not opening on that screen. I am getting this in my debug console: [CODE]
android|flutter|dart|visual-studio-code|sdk
0
2022-07-26T08:19:05.850Z
2,022
7
8
1
144
0
236
67
5
1
true
true
false
false
false
false
zero
73,120,013
Java2OP interface with generic parameters
<p>I try to build a Delphi bridge file to access an Android library written in Kotlin. The decompiled .jar has the following declarations:</p> <pre class="lang-java prettyprint-override"><code>public interface Function&lt;R&gt; {} public interface Function2&lt;P1, P2, R&gt; extends Function&lt;R&gt; { R invoke(P1 ...
I try to build a Delphi bridge file to access an Android library written in Kotlin. The decompiled .jar has the following declarations: [CODE] The best result I can get with Java2OP is this Delphi declaration: [CODE] You see that it has generated Function2 , but without its generic parameters. The invoke method is ther...
java|android|kotlin|delphi|generics
1
2022-07-26T08:26:30.680Z
2,022
7
8
1
58
1
442
41
5
2
true
false
false
false
false
false
low
73,120,055
React Native and Android module with libVLC - "Can't load vlcjni library"
<p>I have React Native application that is implementing native Android module. In this module I have libVLC implemented and everything is working correctly. Unfortunately after importing this module to React Native application at first I had problem with building application:</p> <pre><code> More than one file was foun...
I have React Native application that is implementing native Android module. In this module I have libVLC implemented and everything is working correctly. Unfortunately after importing this module to React Native application at first I had problem with building application: [CODE] After that I added this lines to build ...
android|react-native|vlc|libvlc
1
2022-07-26T08:29:36.120Z
2,022
7
8
1
59
0
647
73
4
3
true
true
false
false
false
false
low
73,120,233
Can I install/publish non google play store apps on devices using AMA
<p>I have stored an android apk in private ftp server. Can I publish this apk on devices using Android Management Api.</p>
I have stored an android apk in private ftp server. Can I publish this apk on devices using Android Management Api.
android-management-api
-1
2022-07-26T08:40:38.710Z
2,022
7
8
1
80
1
115
69
1
0
false
false
false
false
false
true
negative
73,120,255
try to upgrade gradle and getting error Could not resolve all files for configuration ':app:debugCompileClasspath'
<p>Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugCompileClasspath'.</p>
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugCompileClasspath'.
java|android-studio|kotlin|gradle
0
2022-07-26T08:42:13.250Z
2,022
7
8
1
91
1
185
114
4
0
false
false
false
false
false
false
zero
73,120,412
How to enable / disable Bluetooth in all android versions via ADB
<p>looking for a way to enable / disable BT through ADB in all versions of android (or just to know from which version it was changed and to do accordingly). What I did is :</p> <p>(get android version is function I wrote to get the android version).</p> <p>private final String disableBT = &quot; shell am broadcast -a ...
looking for a way to enable / disable BT through ADB in all versions of android (or just to know from which version it was changed and to do accordingly). What I did is : (get android version is function I wrote to get the android version). private final String disableBT = &quot; shell am broadcast -a io.appium.setting...
java|android|adb
0
2022-07-26T08:52:55.930Z
2,022
7
8
1
29
0
463
65
3
1
true
true
false
false
false
false
zero
73,120,428
Android Webview Check Camera Permission
<p>I am using WebView for my PWA which has an input type file to upload images from either storage or camera. Is there a way in PWA without any Native JavascriptInterface, I can find out if the application or WebView has the camera permission or not. And if not make the webview prompt for the camera permission</p>
I am using WebView for my PWA which has an input type file to upload images from either storage or camera. Is there a way in PWA without any Native JavascriptInterface, I can find out if the application or WebView has the camera permission or not. And if not make the webview prompt for the camera permission
android|webview|permissions|progressive-web-apps
0
2022-07-26T08:54:27.540Z
2,022
7
8
1
44
0
308
39
4
0
false
true
false
false
false
false
zero
73,120,794
Why user id section not show in Firebase Crashlytics dashboard sometime?
<p>I set the user id value as below code. (flutter) in ios section Crashlytics dashboard alway show user id but why android section show user id only sometime. Is there a way to make it alway show?</p> <pre><code>Future&lt;void&gt; handleError(Object error, StackTrace? stack) async { if (!error.toString().contains('I...
I set the user id value as below code. (flutter) in ios section Crashlytics dashboard alway show user id but why android section show user id only sometime. Is there a way to make it alway show? [CODE] 1. image for Crashlytics dashboard show user id 2.image for Crashlytics dashboard not show user id
firebase|crashlytics|crashlytics-android
0
2022-07-26T09:19:50.570Z
2,022
7
9
1
62
0
300
72
3
1
true
true
false
false
false
false
zero
73,120,869
Use AndroidX Library without enabling AndroidX to true
<p>I have a huge codebase which indeed will take a lot of time to shift to AndroidX support, now there is a library that I hugely depend on with which I need to integrate inside my android app.</p> <p>I have tried several methods like changing the min SDK version but still, my app won't build until I enable AndroidX to...
I have a huge codebase which indeed will take a lot of time to shift to AndroidX support, now there is a library that I hugely depend on with which I need to integrate inside my android app. I have tried several methods like changing the min SDK version but still, my app won't build until I enable AndroidX to true. I w...
android|androidx
0
2022-07-26T09:25:47.613Z
2,022
7
9
1
22
0
482
54
2
0
false
true
false
false
false
false
zero
73,120,873
How to distribute an android library package privately?
<p>I have developed an android library this is for private usage. I want to distribute it to one of my client and also I have to prevent redistribution of the package by the client. I can use AWS codeArtifact or jfrog for private distribution but here the redistribution cannot be prevented as the client can share those...
I have developed an android library this is for private usage. I want to distribute it to one of my client and also I have to prevent redistribution of the package by the client. I can use AWS codeArtifact or jfrog for private distribution but here the redistribution cannot be prevented as the client can share those de...
android|maven|android-library|aws-codeartifact
0
2022-07-26T09:26:06.837Z
2,022
7
9
1
29
2
450
55
4
0
false
false
false
false
false
false
zero
73,120,906
Several instance of FirebaseApp in the same asp.net core project
<p>I am using Firebase to push notification with an asp.net core project to a flutter android project.</p> <p>I am using the Firebase.DefaultInstance and FirebaseMessaging methode to push the notifications.</p> <p>But I was wondering is there a way to create several different FirebaseApp instances instead of the defau...
I am using Firebase to push notification with an asp.net core project to a flutter android project. I am using the Firebase.DefaultInstance and FirebaseMessaging methode to push the notifications. But I was wondering is there a way to create several different FirebaseApp instances instead of the default one. (For examp...
firebase|asp.net-core|push-notification|android-push-notification
0
2022-07-26T09:28:13.160Z
2,022
7
9
1
39
0
806
64
4
3
true
true
false
false
false
false
zero
73,121,026
Why is populating the BindingAdapter empty / null with complex case. MVVM
<p>When I run the app, the fragments content is blank. <br> Even though the log statements show, the list is populated. I tried implementing a favorite post feature. You can add/remove a favorite post to your list. This works fine. <br> The goal:</p> <blockquote> <p>I want to display the favorite posts in FavoritePosts...
When I run the app, the fragments content is blank. Even though the log statements show, the list is populated. I tried implementing a favorite post feature. You can add/remove a favorite post to your list. This works fine. The goal: I want to display the favorite posts in FavoritePostsOverViewFragment. Using a recycle...
android|kotlin|android-recyclerview|kotlin-coroutines|android-databinding
0
2022-07-26T09:37:08.407Z
2,022
7
9
1
69
1
1,558
73
5
7
true
false
false
false
false
false
zero
73,121,154
Flutter audio ilbrary audioplayer.seek doesn't work on only iOS
<p>I am using <a href="https://pub.dev/packages/audioplayers" rel="nofollow noreferrer">audioplayers</a> for flutter.</p> <p><code>audioPlayer.seek()</code> works on Android, however it doesn't work on iOS.</p> <p>For example I try like this below.</p> <pre><code>audioPlayer = AudioPlayer() int result = await audioPla...
I am using audioplayers for flutter. audioPlayer.seek() works on Android, however it doesn't work on iOS. For example I try like this below. [CODE] On Android this shows success message and this ,start from 0:01 On iOS this show seek success message, but start from the beginning. On iOS and Android exactly the same cod...
android|ios|flutter
0
2022-07-26T09:44:41.477Z
2,022
7
9
1
21
0
358
63
3
1
true
true
false
false
false
false
zero
73,121,300
Not able to log in into react native app on android version 6
<p>My react native app is installed on Android 6. But whenever I try to login into the app, the app shows the following error:</p> <pre><code>Error: Network Error createError@http://10.0.2.2:8081/index.bundle?platform=android&amp;dev=true&amp;minify=false&amp;app=com.&lt;app-name&gt;&amp;modulesOnly=false&amp;runModule...
My react native app is installed on Android 6. But whenever I try to login into the app, the app shows the following error: [CODE] Is there a way to make the app sign-in on Android 6 version?
javascript|android|react-native|axios
0
2022-07-26T09:53:52.807Z
2,022
7
9
1
42
0
191
61
4
1
true
true
false
false
false
false
zero
73,121,361
Using webview callbacks in coroutines
<p>I have a situation where I have a suspend function in which I want to call a webview and receive data in its shouldOverrideUrlLoading and continue the coroutine after receiving the response in the webview URL.</p> <p>I have not found anything useful yet. So I am confused as to how to implement this. Also, how will I...
I have a situation where I have a suspend function in which I want to call a webview and receive data in its shouldOverrideUrlLoading and continue the coroutine after receiving the response in the webview URL. I have not found anything useful yet. So I am confused as to how to implement this. Also, how will I switch th...
android|kotlin-coroutines|coroutinescope
1
2022-07-26T09:58:28.553Z
2,022
7
9
1
37
1
405
37
3
1
true
false
false
false
false
false
low
73,121,414
How i can link the button listener with the enter in the keyboard in kotlin
<p>I want when the user click &quot;Enter&quot; on the keyboard the actions happening in pressing a Button happens</p>
I want when the user click &quot;Enter&quot; on the keyboard the actions happening in pressing a Button happens
android|kotlin
0
2022-07-26T10:02:08.270Z
2,022
7
10
1
26
0
111
75
2
0
false
true
false
false
false
false
zero
73,121,429
Check if user is authenticated for the first time in Firebase Google Authentication in Unity(Android)
<p>How can I know if the user is signed in to the application for the first time or not?</p> <p>There was a similar question.</p> <p><a href="https://stackoverflow.com/questions/39550149/check-if-user-is-authenticated-for-the-first-time-in-firebase-google-authenticat">Check if user is authenticated for the first time i...
How can I know if the user is signed in to the application for the first time or not? There was a similar question. Check if user is authenticated for the first time in Firebase Google Authentication in Android But I don't know how to do it when using Unity&c# as development tools.
c#|android|firebase|unity3d
0
2022-07-26T10:03:17.337Z
2,022
7
10
1
40
0
282
101
4
0
false
true
false
false
false
false
zero
73,121,650
Make domain module pure kotlin
<p>I developed a modular android application, but i have a problem in making domain module pure kotlin. I mean, i want my domain module be a kotlin (or java) library, not an android library. everything is ok till i use hilt to inject my repository interface into my usecase. Here i face some error.because hilt is an and...
I developed a modular android application, but i have a problem in making domain module pure kotlin. I mean, i want my domain module be a kotlin (or java) library, not an android library. everything is ok till i use hilt to inject my repository interface into my usecase. Here i face some error.because hilt is an androi...
android|kotlin|mvvm|dns|dagger-hilt
0
2022-07-26T10:20:50.553Z
2,022
7
10
1
104
1
583
30
5
1
true
false
false
false
false
false
zero
73,121,654
how to change paddings in dialog window in jetpack compose?
<p>I need to write a composable function that, like a dialog window, will be displayed over the rest of the screen elements. I wrap the contents of my composable function in Dialog(). But there are paddings on all sides of the screen. How can they be removed?</p> <p><a href="https://i.stack.imgur.com/WtjnO.jpg" rel="no...
I need to write a composable function that, like a dialog window, will be displayed over the rest of the screen elements. I wrap the contents of my composable function in Dialog(). But there are paddings on all sides of the screen. How can they be removed? screenshot of problem , red lines are paddings that need to be ...
android|kotlin|dialog|android-alertdialog|android-jetpack-compose
0
2022-07-26T10:20:59.030Z
2,022
7
10
1
39
1
383
59
5
1
true
false
false
false
false
false
zero
73,121,673
Android Webview Websocket only works on localhost
<p>I'm creating an app which use websocket connection to send/receive message and Wamp as server with Ratchet.</p> <p>All works if I use my local ip</p> <pre><code>socket = new WebSocket('ws://192.168.1.15:8080') </code></pre> <p>but when I enter my wan ip, WebSocket always show error {&quot;isTrusted&quot;:true}, it ...
I'm creating an app which use websocket connection to send/receive message and Wamp as server with Ratchet. All works if I use my local ip [CODE] but when I enter my wan ip, WebSocket always show error {&quot;isTrusted&quot;:true}, it does not want to start. I added port forwarding on my modem: Wan Port 8080 Local Port...
android|websocket|webview
0
2022-07-26T10:23:02.960Z
2,022
7
10
1
37
1
463
49
3
1
true
false
false
false
false
false
zero
73,121,690
How to run react-native expo app on multiple emulators?
<p>Does anyone know how to run an expo react-native app on multiple android emulators at once? I have tried to run the app after running the emulators but it would run only on one emulator. When I tried 'shift+a' it shows a list of emulators but when I choose the desired emulator it doesn't work. This is the error 'Cou...
Does anyone know how to run an expo react-native app on multiple android emulators at once? I have tried to run the app after running the emulators but it would run only on one emulator. When I tried 'shift+a' it shows a list of emulators but when I choose the desired emulator it doesn't work. This is the error 'Couldn...
android|react-native|android-emulator|expo
0
2022-07-26T10:24:23.327Z
2,022
7
10
1
71
1
571
55
4
0
false
false
false
false
false
false
zero
73,121,695
*No active connections* logback-android SocketAppender connection to Lilith log viewer
<p>It has been stated <a href="https://stackoverflow.com/questions/11643872/any-good-tutorials-on-lilith-log-viewer-for-logback">before</a> that Lilith log viewer lacks documentation and tutorials. I have checked the <a href="https://github.com/huxi/lilith#lilith---" rel="nofollow noreferrer">readme</a> and <a href="ht...
It has been stated before that Lilith log viewer lacks documentation and tutorials. I have checked the readme and this tutorial but I haven't found any solution to my problem. I'm creating a very simple android app that logs some information when some buttons are pressed. I want to store the logs in a local file and al...
android|logging|logback|appender|logback-classic
0
2022-07-26T10:24:39.277Z
2,022
7
10
1
14
0
1,112
86
5
2
true
true
false
false
false
false
zero
73,121,713
Play store warning to migrate to Play Integrity API: Critical issues for com.google.android.gms:play-services-safetynet:18.0.1
<p>We got a warning that we should migrate to Play Integrity API. We use only recaptcha from this dependency. In docs I didn't find anything in Play Integrity API which replaces recaptcha from safetynet. Do you have any idea what should we do in this case?</p> <p><a href="https://i.stack.imgur.com/799GC.png" rel="noref...
We got a warning that we should migrate to Play Integrity API. We use only recaptcha from this dependency. In docs I didn't find anything in Play Integrity API which replaces recaptcha from safetynet. Do you have any idea what should we do in this case?
android|sdk|google-play|warnings|safetynet
5
2022-07-26T10:25:52.493Z
2,022
7
10
1
465
1
253
126
5
0
false
false
false
false
false
false
low
73,121,730
android development java searchManager OnCancelListener fails to start activity onCancel method
<p>I am trying to trigger an onCancel() when the user exit of the search dialog by pressing the left arrow button, but this never occurs. I tried register the cancel listener in the main activity OnCreate(), or in onViewCreated() ; also in the fragment using the search box. The code :</p> <pre><code>final SearchManager...
I am trying to trigger an onCancel() when the user exit of the search dialog by pressing the left arrow button, but this never occurs. I tried register the cancel listener in the main activity OnCreate(), or in onViewCreated() ; also in the fragment using the search box. The code : [CODE] The Log.e line is never called...
java|android|android-searchmanager
0
2022-07-26T10:27:04.333Z
2,022
7
10
1
21
1
328
95
3
1
true
false
false
false
false
false
zero
73,121,800
How do I use realm with react-native correctly?
<p>I have a &quot;small&quot; problem trying to use realm in combination with my react-native app. I just started with react native and I have installed and updated everything I need for development.</p> <p>I installed first realm with the command</p> <pre><code>npm install realm </code></pre> <p>after that I followed ...
I have a &quot;small&quot; problem trying to use realm in combination with my react-native app. I just started with react native and I have installed and updated everything I need for development. I installed first realm with the command [CODE] after that I followed the tutorial given by MongoDB . But all I get is this...
android|react-native|realm
0
2022-07-26T10:31:46.117Z
2,022
7
10
1
67
0
707
47
3
3
true
true
false
false
false
false
zero
73,121,877
How to open two emulators in Android Studio _in two different windows_?
<p>I know how to run two different emulators but I can't have them in foreground at the same time. If I choose one, the other is hidden as window tab. It would be useful for ping-pong communication app testing. I don't find the way.</p>
I know how to run two different emulators but I can't have them in foreground at the same time. If I choose one, the other is hidden as window tab. It would be useful for ping-pong communication app testing. I don't find the way.
android-studio
0
2022-07-26T10:37:12.417Z
2,022
7
10
1
35
1
229
71
1
0
false
false
false
false
false
false
zero
73,121,917
Anyone using htmx to build a mobile app (Cordova/Ionic)?
<p>I am really interested in bringing the productivity of htmx to when I write mobile apps. Anyone have experience with using htmx in Ionic or Cordova? Any feedback from app store?</p>
I am really interested in bringing the productivity of htmx to when I write mobile apps. Anyone have experience with using htmx in Ionic or Cordova? Any feedback from app store?
android|ios|mobile|htmx
2
2022-07-26T10:40:08.993Z
2,022
7
10
1
66
0
177
56
4
0
false
true
false
false
false
false
low
73,122,003
Mapbox: How many tiles were requested by this api key/account
<p>is there a way to request how many tiles were already requested this month for a given API key?<br> Or would I need a backend, to keep track?<br> On this side, I can see the requested tiles: <a href="https://account.mapbox.com/" rel="nofollow noreferrer">https://account.mapbox.com/</a> <br> But it only updates daily...
is there a way to request how many tiles were already requested this month for a given API key? Or would I need a backend, to keep track? On this side, I can see the requested tiles: https://account.mapbox.com/ But it only updates daily, not live. Any help is appreciated.
mapbox|mapbox-android
-1
2022-07-26T10:47:14.347Z
2,022
7
10
1
32
1
272
61
2
0
false
false
false
false
false
true
negative
73,122,074
"kotlin-kapt" vs "annotationProcessor()"?
<p>What is the basic core difference between:</p> <ul> <li><code>kotlin-kapt</code></li> <li><code>annotationProcessor()</code></li> </ul> <p>Also, what's the working behavior of these in <em>Kotlin/Java</em>?</p> <p>I researched a lot about this topic but I'm a little bit confused. So, I need to learn more to clear my...
What is the basic core difference between: kotlin-kapt annotationProcessor() Also, what's the working behavior of these in Kotlin/Java ? I researched a lot about this topic but I'm a little bit confused. So, I need to learn more to clear my concepts.
android|annotation-processing|kapt
0
2022-07-26T10:52:57.600Z
2,022
7
10
1
144
1
250
41
3
0
false
false
false
false
false
false
zero
73,122,110
android Bluetooth develop about uuid
<p>i currently learn bluetooth and know android connect bluetooth device, it need uuid for read / write or more. But i don't know uuid mean such as &quot;0000fff4-0000-1000-8000-00805f9b34fb&quot;, i found it can use in get blood pressure value. But it is standard of Bluetooth? And, it has website to search the uuid an...
i currently learn bluetooth and know android connect bluetooth device, it need uuid for read / write or more. But i don't know uuid mean such as &quot;0000fff4-0000-1000-8000-00805f9b34fb&quot;, i found it can use in get blood pressure value. But it is standard of Bluetooth? And, it has website to search the uuid and t...
android|bluetooth|bluetooth-lowenergy
0
2022-07-26T10:55:56.897Z
2,022
7
10
1
47
1
529
36
3
0
false
false
false
false
false
false
zero
73,122,136
Adding, updating and erasing elements from nested json
<p>I'm currently working on a diagram / tree graph generator, to achieve this I'm using two libraries: <a href="https://github.com/oss-bandb/GraphView" rel="nofollow noreferrer"><strong>GraphView</strong></a> to generate the graph and <a href="https://github.com/natario1/ZoomLayout" rel="nofollow noreferrer"><strong>Zo...
I'm currently working on a diagram / tree graph generator, to achieve this I'm using two libraries: GraphView to generate the graph and ZoomLayout to move around the view. The main idea of this project is to save all JSON's within an AWS database and then load a list of all the created graphs. Since the GraphView libra...
java|android|json|android-studio|kotlin
0
2022-07-26T10:57:41.813Z
2,022
7
10
1
59
1
2,098
54
5
3
true
false
false
false
false
false
zero
73,122,148
How can get when user turn on Display Over Other Apps from Settings?
<p>It intent settings and specific permission settings for <code>Display Over Other Apps</code>. But, want to just to get when user click allow and then return the progam without user don't have to click back to program.</p> <p>I have searching on the google I didn't do any solution for it. I was thinking it will be ma...
It intent settings and specific permission settings for Display Over Other Apps . But, want to just to get when user click allow and then return the progam without user don't have to click back to program. I have searching on the google I didn't do any solution for it. I was thinking it will be maked with Broadcast Rec...
android|kotlin|broadcastreceiver|android-permissions|android-app-ops
0
2022-07-26T10:58:55.860Z
2,022
7
10
1
46
0
593
68
5
1
true
true
false
false
false
false
zero
73,124,428
Runtime Resource Overlay can't be enabled
<p>I was following some tutorials on how to create custom Runtime Resource Overlay (RRO) APKs, but I am not able to enable mine.</p> <pre class="lang-none prettyprint-override"><code>adb shell cmd overlay list ... com.example.mytarget --- com.example.myoverlay </code></pre> <p>Google said that <code>---</code> mean t...
I was following some tutorials on how to create custom Runtime Resource Overlay (RRO) APKs, but I am not able to enable mine. [CODE] Google said that --- mean that it is installed, but has errors and can’t be enabled. [CODE] The documentation said that mState.................: STATE_MISSING_TARGET means that &quot;Your...
android|android-resources|android-overlay
0
2022-07-26T11:06:42.330Z
2,022
7
11
1
97
0
623
41
3
5
true
true
false
false
false
false
zero
73,122,272
How can I find when Android Java thread finishes its task?
<p>I have start a thread in my Android Apllication - in Java like bellow</p> <pre><code>new Thread(new Runnable() { @Override public void run() { for (int i = 0; i &lt; 10; i++) { try { Log.d(TAG, &quot;startThread: &quot; + i); ...
I have start a thread in my Android Apllication - in Java like bellow [CODE] How I can find when the thread finishes its task when written like this.
java|android|multithreading
2
2022-07-26T11:06:55.690Z
2,022
7
11
1
32
1
149
58
3
1
true
false
false
false
false
false
low
73,122,342
Android Whether the file exists File.isFile() / flie.exists() Advantages and disadvantages Which one is recommended
<p>Which scheme is recommended for judging the existence of files</p> <p>1.</p> <pre><code> if(new File(path).isFile()){ Log.i(TAG, &quot;path: YES&quot;); }else { Log.i(TAG, &quot;path: NO&quot;); } </code></pre> <ol start="2"> <li></li> </ol> <pre><code> if(new File(path).exist...
Which scheme is recommended for judging the existence of files 1. [CODE] [CODE]
java|android
-2
2022-07-26T11:12:44.790Z
2,022
7
11
1
28
1
79
115
2
2
true
false
false
false
false
true
negative
73,122,561
How to get time zone from offset
<p>I am getting offset time like 180000 from API, but what I need is time zone like newYork/America ,how can I get time zone from offset , is there any method. Any help would be appreciated. I am calculating time from time Epoch like this</p> <pre><code>fun Int.currentConverter(): String { val time = SimpleDateForm...
I am getting offset time like 180000 from API, but what I need is time zone like newYork/America ,how can I get time zone from offset , is there any method. Any help would be appreciated. I am calculating time from time Epoch like this [CODE]
android|kotlin|timezone|timezone-offset
0
2022-07-26T11:27:24.303Z
2,022
7
11
1
53
2
242
32
4
1
true
false
false
false
false
false
zero
73,122,692
Getting resource link error while parsing the xml file while building the android APK
<p>Getting below error while compiling the project</p> <pre><code>/libsmfims_appcompat_intermediates/aar/res/color/abc_btn_colored_borderless_text_material.xml:20: error: attribute alpha (aka androidx.appcompat:alpha) not found. out-winglm/target/common/obj/JAVA_LIBRARIES/libsmfims_appcompat_intermediates/aar/res/color...
Getting below error while compiling the project [CODE] I tried by adding all the dependencies. But still getting the same error If you guys have faced this error, please help me resolve this error Note: I am using make (Andoid.mk) file build not gradle build.
android|xml|parsing|hyperlink|resources
0
2022-07-26T11:37:48.337Z
2,022
7
11
1
39
0
259
85
5
1
true
true
false
false
false
false
zero
73,122,753
E/AndroidRuntime(30378): Process: com.google.android.gms, PID: 30378
<pre><code>E/AndroidRuntime(30378): FATAL EXCEPTION: main E/AndroidRuntime(30378): Process: com.google.android.gms, PID: 30378 E/AndroidRuntime(30378): java.lang.RuntimeException: Using WebView from more than one process at once with the same data directory is not supported. https://crbug.com/558377 : Lock owner com.go...
[CODE]
android|flutter|dart
0
2022-07-26T11:42:28.440Z
2,022
7
11
1
32
0
6
68
3
1
true
true
false
false
false
false
zero
73,122,768
Facing D/skia: --- Failed to create image decoder with message 'unimplemented' while trying to decode image by BitmapFactory
<p>I'm trying to set an image to ImageView from URL, but getting that error:</p> <pre><code>D/skia: --- Failed to create image decoder with message 'unimplemented' </code></pre> <p>The code is:</p> <pre class="lang-java prettyprint-override"><code>public class ImageRequestTask extends AsyncTask&lt;String, Void, Bitmap&...
I'm trying to set an image to ImageView from URL, but getting that error: [CODE] The code is: [CODE] For example, I call this like that: [CODE] Tried to use Picasso and Drawable.createFromStream() insted of BitmapFactory.decodeStream() , but faced the same issue. I don't understand what I do wrong.
java|android|bitmapfactory
0
2022-07-26T11:43:38.253Z
2,022
7
11
1
96
0
299
124
3
3
true
true
false
false
false
false
zero
73,122,906
How to make Button on top of Surfaceview in android
<p>I am creating a QR code scanner and facing an issue where my button is blurr because of surface view overlay. i want my button on top of surface-view. any way of doing it?</p> <p><a href="https://i.stack.imgur.com/1JHM5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1JHM5.jpg" alt="enter image de...
I am creating a QR code scanner and facing an issue where my button is blurr because of surface view overlay. i want my button on top of surface-view. any way of doing it? my layout [CODE]
android|android-camera|android-camerax
0
2022-07-26T11:52:25.557Z
2,022
7
11
1
45
1
188
51
3
1
true
false
false
false
false
false
zero
73,123,056
Old NFC reader-writer program fails building because of Gradle/old android-apt
<p>I had an old application which was an NFC Card content editor. It was working fine, in older versions of android, but i want to update it to be compatible with newer versions. I only know the basics of the plugins which are new, but i saw an article about it, but im not quite sure how that works</p> <p><a href="http...
I had an old application which was an NFC Card content editor. It was working fine, in older versions of android, but i want to update it to be compatible with newer versions. I only know the basics of the plugins which are new, but i saw an article about it, but im not quite sure how that works Error:android-apt plugi...
android|gradle|android-apt
0
2022-07-26T12:02:43.083Z
2,022
7
12
1
13
0
432
78
3
0
false
true
false
false
false
false
zero
73,123,157
In a firebase array how to search by value of one element?
<p>I am using Firebase in Android. I have country name , cityname , latitude and longitude in the following structure.</p> <p><a href="https://i.stack.imgur.com/1hU6m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1hU6m.png" alt="enter image description here" /></a></p> <p>I am trying to search base...
I am using Firebase in Android. I have country name , cityname , latitude and longitude in the following structure. I am trying to search based on name with the following code: for example Afghanisthan as country and just b as my search text. [CODE] but the dataSnapshot is is empty like {key: AfganSthan: value: null}. ...
android|firebase|firebase-realtime-database
0
2022-07-26T12:09:12.650Z
2,022
7
12
1
29
1
347
58
3
1
true
false
false
false
false
false
zero
73,123,219
I am developing an app and it asks for multiple permissions when I install it. Is there a way to grant them all in a single click?
<p>I am a React Native Developer and developing a banking app. It asks for multiple permissions including camera and location. There are 4-5 pop-ups when I install the app initially asking for permissions which gets pretty annoying for the client as well. They have placed a requirement to use a single pop-up.</p> <p>Is...
I am a React Native Developer and developing a banking app. It asks for multiple permissions including camera and location. There are 4-5 pop-ups when I install the app initially asking for permissions which gets pretty annoying for the client as well. They have placed a requirement to use a single pop-up. Is there a w...
javascript|android|ios|react-native|mobile
0
2022-07-26T12:14:25.060Z
2,022
7
12
1
45
0
496
130
5
0
false
true
false
false
false
false
zero
73,123,266
is there any internal call for requireContext() in android
<p>I'm using <code>getContext()</code> directly without using the <code>requireContext()</code>, but I got crash with</p> <pre><code>Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=26316532, result=-1, data=Intent { act=android.content.pm.actio...
I'm using getContext() directly without using the requireContext() , but I got crash with [CODE] and here I added the usage of the function [CODE] my question is: is there any possibility to have a crash while I'm not using requierContext() By the way I added the part of the Fragment source-code that caused for this cr...
android|android-activity|fragment|android-context
0
2022-07-26T12:18:02.280Z
2,022
7
12
1
52
0
331
58
4
3
true
true
false
false
false
false
zero
73,123,309
Deploy failed to android device when I add MODIFY_AUDIO_SETTINGS permission in Xamarin Forms
<p>When I start a new Xamarin Forms solution (Android, Ios) on Visual Studio 2022 and add <code>MODIFY_AUDIO_SETTINGS</code> permission to the manifest and try to deploy the app to my Google Pixel 6 device - I see this:</p> <pre><code>========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== =========...
When I start a new Xamarin Forms solution (Android, Ios) on Visual Studio 2022 and add MODIFY_AUDIO_SETTINGS permission to the manifest and try to deploy the app to my Google Pixel 6 device - I see this: [CODE] And there are no any error in the output or error list. Device: Google Pixel 6 Target Android version in mani...
android|xamarin.forms
0
2022-07-26T12:21:38.967Z
2,022
7
12
1
26
0
381
92
2
1
true
true
false
false
false
false
zero
73,123,323
Put ImageView on top of 3d object Android
<p>I'm looking for a library or something else that will allow me to use some image view as &quot;background&quot; to another image view. The idea is that the background will be let's say a cup of coffee and i want to replace the front side of the cup with custom Image View. I'm not talking put one image on top of anot...
I'm looking for a library or something else that will allow me to use some image view as &quot;background&quot; to another image view. The idea is that the background will be let's say a cup of coffee and i want to replace the front side of the cup with custom Image View. I'm not talking put one image on top of another...
android|android-layout|3d|imageview
0
2022-07-26T12:22:49.553Z
2,022
7
12
1
21
1
399
41
4
0
false
false
false
false
false
false
zero
73,123,346
not getting the value from activity button click to adapter class
<p>I'm building a project where i have to change the value of the textview property like color,text and the drawable.I've used a button click which is in activity and the textview is from recyclerview adapter class,the problem is that when i pass the flag from activity to notify adapter that button is clicked inside o...
I'm building a project where i have to change the value of the textview property like color,text and the drawable.I've used a button click which is in activity and the textview is from recyclerview adapter class,the problem is that when i pass the flag from activity to notify adapter that button is clicked inside onbin...
android|kotlin|android-recyclerview
0
2022-07-26T12:24:09.790Z
2,022
7
12
1
31
1
614
65
3
2
true
false
false
false
false
false
zero
73,123,399
Scroll two dirreferent viewpagers same time in android
<p>i need scroll my view pagers same time when scroll one view pager. also those viewpagers has different item width. bottom view pager is full width content and top view pager smaller than bottom view pager item.</p>
i need scroll my view pagers same time when scroll one view pager. also those viewpagers has different item width. bottom view pager is full width content and top view pager smaller than bottom view pager item.
java|android|android-viewpager
-1
2022-07-26T12:28:11.327Z
2,022
7
12
1
16
1
210
54
3
0
false
false
false
false
false
true
negative
73,123,412
Updating SQlite file on Android
<p>I am trying to develop an App for Android which uses SQLite to store and manage data (which also includes User generated data). My Question would be how do I update the db file when I update the App? My Understanding is that everything that is in the installation Folder gets overwritten (which makes it impossible to...
I am trying to develop an App for Android which uses SQLite to store and manage data (which also includes User generated data). My Question would be how do I update the db file when I update the App? My Understanding is that everything that is in the installation Folder gets overwritten (which makes it impossible to pr...
python|android|kivy|android-sqlite
0
2022-07-26T12:29:41.020Z
2,022
7
12
1
40
1
791
31
4
0
false
false
false
false
false
false
zero
73,123,541
Android set text of TextInputLayout in listener
<p>I have a form in a dialog fragment. One of the fields open a custom date picker dialog, which returns the selected date via <code>setFragmentResult()</code>. I want to set this date as the value of the given text field.</p> <p>When I create the dialog fragment, which contains the form, I can change the value of the ...
I have a form in a dialog fragment. One of the fields open a custom date picker dialog, which returns the selected date via setFragmentResult() . I want to set this date as the value of the given text field. When I create the dialog fragment, which contains the form, I can change the value of the given field using getE...
android|android-textinputlayout
0
2022-07-26T12:39:51.873Z
2,022
7
12
1
51
1
505
47
2
2
true
false
false
false
false
false
zero
73,123,570
Print output of PING command as it is running in Android Studio
<p><a href="https://stackoverflow.com/questions/23608005/execute-shell-commands-and-get-output-in-a-textview">Execute shell commands and get output in a TextView</a></p> <p>I found the above solution while searching for answers but this just outputs the result of the ping command for me. My idea is similar to when you ...
Execute shell commands and get output in a TextView I found the above solution while searching for answers but this just outputs the result of the ping command for me. My idea is similar to when you are executing PING on command prompt/terminal where you get a line by line output of statistics like latency, etc.
android
0
2022-07-26T12:41:56.043Z
2,022
7
12
1
13
0
313
63
1
0
false
true
false
false
false
false
zero
73,123,573
Android Studio gives error on local internet
<p>Plugin [id: 'org.jetbrains.kotlin.android', version: '1.5.31', apply: false] was not found in any of the following sources:</p> <p>Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.android', version: '1.5.31', apply: false] was not found in any of the following sources:</...
Plugin [id: 'org.jetbrains.kotlin.android', version: '1.5.31', apply: false] was not found in any of the following sources: Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.android', version: '1.5.31', apply: false] was not found in any of the following sources: Gradle Core...
android|kotlin
0
2022-07-26T12:42:15.510Z
2,022
7
12
1
38
1
587
44
2
0
false
false
false
false
false
false
zero
73,123,575
Screen recording interrupted
<p>I'm screen recording MP4 videos (with audio) while app is on background but whenever I have heavy memory usage (usually file system) Android kills my app or purge memory cache, leading to a &quot;soft reboot&quot;. Issue is when I go back to foreground my recording is only recorded until that part.</p> <p>Anyone alr...
I'm screen recording MP4 videos (with audio) while app is on background but whenever I have heavy memory usage (usually file system) Android kills my app or purge memory cache, leading to a &quot;soft reboot&quot;. Issue is when I go back to foreground my recording is only recorded until that part. Anyone already had t...
java|android|video|kill|mediarecorder
0
2022-07-26T12:42:22.930Z
2,022
7
12
1
30
0
454
28
5
0
false
true
false
false
false
false
zero
73,123,653
Connection errors when inspecting network traffic of Android mobile game with HTTP Toolkit
<p>I wanted to spy the network traffic of the android game &quot;State of Survival&quot;. I have installed it on an android emulator and it works but when I start the HTTP toolkit the game is disconnected and as long as HTTP toolkit is running the game can't connect to the server. I was wondering what could it be?</p> ...
I wanted to spy the network traffic of the android game &quot;State of Survival&quot;. I have installed it on an android emulator and it works but when I start the HTTP toolkit the game is disconnected and as long as HTTP toolkit is running the game can't connect to the server. I was wondering what could it be? I can i...
android|debugging|reverse-engineering|http-toolkit
1
2022-07-26T12:48:09.617Z
2,022
7
12
1
130
1
606
90
4
0
false
false
false
false
false
false
low
73,123,681
Is it possible to copy a file from gradle library in project with a gradle task?
<p>I need to copy a file from a gradle library to my android project.</p> <p>I create a gradle task like that but I don't know what to write for the from part because I don't know where or if the gradle library is in the project :</p> <pre><code>task copyFile(type: Copy){ from '' to 'core/src/main/jniLibs/armea...
I need to copy a file from a gradle library to my android project. I create a gradle task like that but I don't know what to write for the from part because I don't know where or if the gradle library is in the project : [CODE] The gradle file that I tried to copy is imported by doing [CODE] Thank you for your answer. ...
android|gradle|android-gradle-plugin|build.gradle
0
2022-07-26T12:50:40.127Z
2,022
7
12
1
22
0
333
80
4
2
true
true
false
false
false
false
zero
73,123,718
Custom class for holding multiple states in Jetpack Compose
<p>I have been learning Jetpack Compose for a few days and I am stuck in this scenario. I have two <code>TextField</code>s (username and password) and a <code>CheckBox</code> (remember me) in a login page. Now, if I make three different mutable states for these three, it works fine. But I want to make a single class fo...
I have been learning Jetpack Compose for a few days and I am stuck in this scenario. I have two TextField s (username and password) and a CheckBox (remember me) in a login page. Now, if I make three different mutable states for these three, it works fine. But I want to make a single class for holding these states and t...
android|kotlin|android-jetpack-compose|stateful
0
2022-07-26T12:53:40.893Z
2,022
7
12
1
89
1
605
59
4
1
true
false
false
false
false
false
zero
73,123,756
Sending Data from Alert Dialog to New Activity
<p>I am new to Android development and I am trying to send data via EditText to TextView from an alert dialog inflated in the MainActivity to a different activity (NewGame.java). I have tried intent.putExtra (see below) however I am getting null pointer exceptions as it seems I cannot access the views from the dialog l...
I am new to Android development and I am trying to send data via EditText to TextView from an alert dialog inflated in the MainActivity to a different activity (NewGame.java). I have tried intent.putExtra (see below) however I am getting null pointer exceptions as it seems I cannot access the views from the dialog layo...
java|android|xml|android-intent|android-alertdialog
-1
2022-07-26T12:56:05.033Z
2,022
7
12
1
28
1
549
46
5
4
true
false
false
false
false
true
negative
73,123,781
How to save the text filed data automatically in Flutter?
<p>There are two text fields in one screen. After giving the inputs to text filed, with out clicking the done button if you go back to the previous screen and come back to this text filed screen the text got erased!!</p> <p>can we get this? Please let me know if its possible.</p> <p>Thanks in advance.</p>
There are two text fields in one screen. After giving the inputs to text filed, with out clicking the done button if you go back to the previous screen and come back to this text filed screen the text got erased!! can we get this? Please let me know if its possible. Thanks in advance.
android|flutter|user-interface
1
2022-07-26T12:57:39.957Z
2,022
7
12
1
37
3
285
57
3
0
false
false
false
false
false
false
low
73,123,880
Is it possible to create a "hidable" TextView in AlertDialog in Android Studio?
<p>I want to create an AlertDialog in my app which would have some sort of a block of text that would be hidden at first but user could open it and see it.</p> <p>Is there a way to do it? I couldn't really find anything similar on the Internet. Thanks in advance.</p> <p><a href="https://i.stack.imgur.com/sXyIM.jpg" rel...
I want to create an AlertDialog in my app which would have some sort of a block of text that would be hidden at first but user could open it and see it. Is there a way to do it? I couldn't really find anything similar on the Internet. Thanks in advance.
java|android-studio|textview|android-alertdialog
0
2022-07-26T13:03:43.343Z
2,022
7
13
1
37
0
253
79
4
0
false
true
false
false
false
false
zero
73,123,933
Add Meta Audience Network as an AdMob Mediation Network in Flutter
<p>I'm trying to integrate AdMob mediation networks (specifically Meta Audience Network) into Flutter, I added the &quot;google_mobile_ads&quot; package (<a href="https://pub.dev/packages/google_mobile_ads" rel="nofollow noreferrer">https://pub.dev/packages/google_mobile_ads</a>).</p> <p>There are two things I would li...
I'm trying to integrate AdMob mediation networks (specifically Meta Audience Network) into Flutter, I added the &quot;google_mobile_ads&quot; package ( https://pub.dev/packages/google_mobile_ads ). There are two things I would like to ask: I followed the initial integration documentation ( https://developers.google.com...
android|flutter|admob|build.gradle|facebook-audience-network
0
2022-07-26T13:07:17.477Z
2,022
7
13
1
115
1
1,659
66
5
2
true
false
false
false
false
false
zero
73,123,936
Java: OpenCV TemplateMatching Assertion failed ((depth == CV_8U || depth == CV_32F)
<p>I am making an Android application, which should detect checkers pawns according to template using the mobile camera. I am using OpenCV library to implement <code>matchTemplate()</code> method, however, I am receiving following error message: <code>E/cv::error(): OpenCV(3.4.3) Error: Assertion failed ((depth == CV_8...
I am making an Android application, which should detect checkers pawns according to template using the mobile camera. I am using OpenCV library to implement matchTemplate() method, however, I am receiving following error message: E/cv::error(): OpenCV(3.4.3) Error: Assertion failed ((depth == CV_8U || depth == CV_32F) ...
java|android|opencv
0
2022-07-26T13:07:31.710Z
2,022
7
13
1
58
0
1,778
83
3
1
true
true
false
false
false
false
zero
73,124,037
During Jitsi meet screen share from android capture sound of audio/video files playing in mobile
<p>We can share the screen from android devices during a Jitsi meet. but If we are playing a video on screen, the sound/audio of the video is not shared with the participants. How can I implement this?</p>
We can share the screen from android devices during a Jitsi meet. but If we are playing a video on screen, the sound/audio of the video is not shared with the participants. How can I implement this?
android|jitsi|screensharing|jitsi-meet|video-conferencing
0
2022-07-26T13:13:39.010Z
2,022
7
13
1
44
0
198
96
5
0
false
true
false
false
false
false
zero
73,124,067
Crashing on Selection of the TextView
<p>So i'm using custom TextView, were i'm using <code>PrecomputedTextCompat</code> on which i'm getting following exception.</p> <pre><code> java.lang.IllegalArgumentException: PrecomputedText's Parameters don't match the parameters of this TextView.Consider using setTextMetricsParams(precomputedText.getParams()) to ov...
So i'm using custom TextView, were i'm using PrecomputedTextCompat on which i'm getting following exception. [CODE] Following is the Code in CustomTextView Class. [CODE] Steps to Recreate the Crash. Long Press on the text, you will have the selected block of text. Long Press on the selected block of text. App Crashes. ...
android|crash
0
2022-07-26T13:15:22.420Z
2,022
7
13
1
52
0
359
37
2
2
true
true
false
false
false
false
zero
73,124,098
How to set footer height same as items in LazyRow?
<p>I have a few a list of items, I want to attach a footer to it. The content of items is different from footer and that is why they have different heights.</p> <pre class="lang-kotlin prettyprint-override"><code>LazyRow() { items(myList) { item -&gt; RowItem(item) } item { Footer() ...
I have a few a list of items, I want to attach a footer to it. The content of items is different from footer and that is why they have different heights. [CODE] I want the footer to be of the same height as other items.
android|android-jetpack-compose
1
2022-07-26T13:16:40.513Z
2,022
7
13
1
39
1
219
50
2
1
true
false
false
false
false
false
low
73,124,188
How to create service in react native for both android and ios to detect call incoming and out coming call to record user calls
<p>I'm working on react native app where I need to detect users' calls and record the user calls. To record the call first I need to detect calls and for that, I need a service that runs all time even app is in the background or closed. I used this library for calls recording</p> <pre><code>import CallRecord from 'reac...
I'm working on react native app where I need to detect users' calls and record the user calls. To record the call first I need to detect calls and for that, I need a service that runs all time even app is in the background or closed. I used this library for calls recording [CODE]
javascript|android|ios|reactjs|react-native
0
2022-07-26T13:21:33.113Z
2,022
7
13
1
34
0
280
127
5
1
true
true
false
false
false
false
zero
73,124,203
How to position an imageview 1/3 of the way down the screen?
<p>I'm trying to make an image view be placed about 1/3 of the way down the screen, and, on top of that, I need it to work on multiple devices, so it can't just be a set dp value. I don't mind wether it's using a RelativeLayout of a ConstraitLayout. Here's the image code:</p> <pre><code> &lt;ImageView androi...
I'm trying to make an image view be placed about 1/3 of the way down the screen, and, on top of that, I need it to work on multiple devices, so it can't just be a set dp value. I don't mind wether it's using a RelativeLayout of a ConstraitLayout. Here's the image code: [CODE] Does anyone know how to achive this? Let me...
android|android-layout
0
2022-07-26T13:22:20.343Z
2,022
7
13
1
38
2
561
60
2
2
true
false
false
false
false
false
zero
73,124,343
Display the text of a button when clicked in Kotlin
<p>I have a table made of buttons and each button has a text on it. However, I want that text to be invisible unless the button is clicked. The buttons look like this:</p> <pre><code>&lt;Button android:background=&quot;@drawable/roundstyle&quot; android:backgroundTint=&quot;@color/c1&quot; ...
I have a table made of buttons and each button has a text on it. However, I want that text to be invisible unless the button is clicked. The buttons look like this: [CODE] In MainActivity, I tried to implement a function to display the text: [CODE] I think the easiest thing to do would be to use &quot;if&quot;, so that...
android|kotlin|button
1
2022-07-26T13:31:31.713Z
2,022
7
13
1
104
2
622
51
3
2
true
false
false
false
false
false
low
73,124,624
Kivy log viewer on windows
<p>I'm building apps with kivy and kivymd, and i want to see the log that happens in my kivy app when i run it on my Android phone,i know about linux method ,but is there any method to view log on windows?</p>
I'm building apps with kivy and kivymd, and i want to see the log that happens in my kivy app when i run it on my Android phone,i know about linux method ,but is there any method to view log on windows?
python|android|kivy|kivymd
0
2022-07-26T13:50:29.600Z
2,022
7
13
1
40
1
202
26
4
0
false
false
false
false
false
false
zero
73,124,653
Fingerprint Icon as a Progressbar. Android Project
<p>I want to set the fingerprint icon color as per the strength like if the fingerprint strength is 40% then only 40% of the icon should be colored(Like a progressbar). How can I achieve it?</p>
I want to set the fingerprint icon color as per the strength like if the fingerprint strength is 40% then only 40% of the icon should be colored(Like a progressbar). How can I achieve it?
android-studio|android-layout|progress-bar|fingerprint|biometrics
0
2022-07-26T13:52:15.830Z
2,022
7
13
1
10
0
187
50
5
0
false
true
false
false
false
false
zero
73,124,762
Can Flutter create an undeletable file or Unique Device ID?
<p>I want use the unique device id in my app but i learned Android doesn't give any unique id. I studied for find alternative way for that and found that. I'll create an encrypted file and it'll contain a unique integer data. When my app is installed first time i'll check my undeletable file is exist. I'l know my app i...
I want use the unique device id in my app but i learned Android doesn't give any unique id. I studied for find alternative way for that and found that. I'll create an encrypted file and it'll contain a unique integer data. When my app is installed first time i'll check my undeletable file is exist. I'l know my app inst...
android|flutter|kotlin|dart
0
2022-07-26T13:59:20.723Z
2,022
7
13
1
17
0
433
59
4
0
false
true
false
false
false
false
zero
73,124,769
Flutter - Stripe valid for unlocking some functionalities of Apps without in-app purchase
<p>I am building an App using Flutter(this is my first App in Flutter) for Android and iOS platforms. Some of the functionalities of the App are locked. Users can unlock these functionalities either with a one-time payment or a subscription.</p> <p>Below are the exact features which will be paid one:</p> <ul> <li>to up...
I am building an App using Flutter(this is my first App in Flutter) for Android and iOS platforms. Some of the functionalities of the App are locked. Users can unlock these functionalities either with a one-time payment or a subscription. Below are the exact features which will be paid one: to upload more files after t...
android|ios|flutter|in-app-purchase
0
2022-07-26T13:59:49.897Z
2,022
7
13
1
26
0
860
89
4
0
false
true
false
false
false
false
zero
73,125,071
react-native-batch not building android
<p>I am using react 17 and react-native 0.68.2 and <a href="https://github.com/bamlab/react-native-batch-push" rel="nofollow noreferrer">react-native-batch</a> not building on android. I have done all the setup for android and iOS part (editing all build.gradle etc.) I didn't implemented anything yet of this library. T...
I am using react 17 and react-native 0.68.2 and react-native-batch not building on android. I have done all the setup for android and iOS part (editing all build.gradle etc.) I didn't implemented anything yet of this library. This give me an error while building on fresh install. It gives me this error: [CODE] If someo...
android|reactjs|react-native
1
2022-07-26T14:19:12.343Z
2,022
7
14
1
33
1
353
39
3
1
true
false
false
false
false
false
low
73,125,082
React native "Unexpected identifier 'React' import call expects exactly one argument"
<p>I have error in react native app</p> <p><code>Unexpected identifier 'React' import call expects exactly one argument</code>.</p> <p>In metro there are no any errors. During compilation too.</p> <p>I suddenly deleted 'Recent' folder on my Mac and now i am facing this errors.</p> <p>I already removed node_modules fold...
I have error in react native app Unexpected identifier 'React' import call expects exactly one argument . In metro there are no any errors. During compilation too. I suddenly deleted 'Recent' folder on my Mac and now i am facing this errors. I already removed node_modules folder and installed all modules again. &quot;r...
android|react-native|android-studio
0
2022-07-26T14:19:47.623Z
2,022
7
14
1
58
1
397
85
3
0
false
false
false
false
false
false
zero
73,125,169
How to define values in code block uses data class with room?
<p>I fetch data from API and I would like to reuse it in data class like this (ItemStateRoom is data with String, Int etc.):</p> <pre><code>@Entity(tableName = &quot;item&quot;) data class ItemRoom( @PrimaryKey(autoGenerate = true) var id: Int = 0, var type: String = &quot;&quot;, var title: String = &quot;...
I fetch data from API and I would like to reuse it in data class like this (ItemStateRoom is data with String, Int etc.): [CODE] When I set state to null of course I have null, but program compiles well. If it is like at the top error occurs: [CODE] I also tried to do like this: [CODE] Then I have errors: [CODE] EDIT1:...
android|database|kotlin|android-room
0
2022-07-26T14:25:48.873Z
2,022
7
14
1
54
1
712
61
4
8
true
false
false
false
false
false
zero
73,125,208
Terminate outgoing call
<p>Is there any way to terminate outgoing call automaticaly when android device is in ringig state ? Right now I am using TM (TelephonyManager.EXTRA_STATE) To get device state. I have found lot of tutorials how to make A call, but not how to terminate the call.</p> <p>I want to make an app that will make A call to xxx...
Is there any way to terminate outgoing call automaticaly when android device is in ringig state ? Right now I am using TM (TelephonyManager.EXTRA_STATE) To get device state. I have found lot of tutorials how to make A call, but not how to terminate the call. I want to make an app that will make A call to xxx number and...
java|android|kotlin
0
2022-07-26T14:27:48.220Z
2,022
7
14
1
32
0
357
23
3
0
false
true
false
false
false
false
zero
73,125,286
How to increase double tap priority in GestureDetector?
<p>I have video player with like button. Double tap event have to perform click by like. Single tap triggers pause method. How to make double tap without pause using gesture detector?</p>
I have video player with like button. Double tap event have to perform click by like. Single tap triggers pause method. How to make double tap without pause using gesture detector?
android
0
2022-07-26T14:33:14.617Z
2,022
7
14
1
12
0
180
55
1
0
false
true
false
false
false
false
zero
73,125,363
Adjust notification sound volume on android
<p>Is there any way to adjust notification sound volume without adjusting media / call volume?</p> <p>I want to set notification volume to the max level while keeping current media / call volume level.</p> <p>Thanks in advance!</p> <p>Currently using Java on Android Studio</p>
Is there any way to adjust notification sound volume without adjusting media / call volume? I want to set notification volume to the max level while keeping current media / call volume level. Thanks in advance! Currently using Java on Android Studio
java|android|android-studio|android-audiomanager
0
2022-07-26T14:37:09.630Z
2,022
7
14
1
38
1
249
43
4
0
false
false
false
false
false
false
zero
73,125,611
My app closes on physical device as soon as startup
<p>I am testing a demo of an integration, it is an ionic application (with cordova) I created the android platform and when I run it on emulators with API 26, 30 or 31, it works correctly; but I find that when testing on a physical device (API 31) as soon as I open it, it loads the splash and then closes.</p> <p>I add ...
I am testing a demo of an integration, it is an ionic application (with cordova) I created the android platform and when I run it on emulators with API 26, 30 or 31, it works correctly; but I find that when testing on a physical device (API 31) as soon as I open it, it loads the splash and then closes. I add the code t...
android|android-studio|cordova|ionic-framework
0
2022-07-26T14:54:41.467Z
2,022
7
14
1
52
1
433
51
4
1
true
false
false
false
false
false
zero
73,125,625
How implement new `.getSerializable()` method to deserialize data into hashmap from saved instance bundle?
<p>I was using <code>bundle.getSerializable(&quot;data&quot;) as HashMap&lt;Int, Int&gt;</code></p> <p>but after changing <code>sdkVersion</code> to <code>33</code> <a href="https://developer.android.com/reference/android/os/Bundle#getSerializable(java.lang.String,%20java.lang.Class%3CT%3E)" rel="nofollow noreferrer"><...
I was using bundle.getSerializable(&quot;data&quot;) as HashMap<Int, Int> but after changing sdkVersion to 33 .getSerializable() API is updated . I am unable to implement it for HashMap<Int, Int> I tried - savedInstanceState.getSerializable(&quot;answer&quot;, HashMap<Int, Int>::class.java)!! but it gives warning - Onl...
android|kotlin|generics|deserialization
0
2022-07-26T14:55:20.347Z
2,022
7
14
1
26
1
571
106
4
0
false
false
false
false
false
false
zero
73,125,650
How can I test my app after it is uploaded to the Play Store?
<p>So I like always to test my app after it is uploaded to the Play Store to see what the users are downloading. But, I am afraid that downloading my own app could be a reason of ban or limitation of my app ( I guess that downloading your own app is like buying your own product as it will count as +1 download, so it is...
So I like always to test my app after it is uploaded to the Play Store to see what the users are downloading. But, I am afraid that downloading my own app could be a reason of ban or limitation of my app ( I guess that downloading your own app is like buying your own product as it will count as +1 download, so it is li...
android|testing|mobile|google-play|google-play-console
0
2022-07-26T14:57:38.883Z
2,022
7
14
1
40
1
469
61
5
0
false
false
false
false
false
false
zero
73,125,682
Only add new document to Firestore if it doesn't exists previously (Android)
<p>I am trying to add a document to Firestore but only if it doesn't exist before. I tried finding some existing answers on SO but they talk about having security rules for Firebase. But I want to do it programmatically.</p> <p>What I have done so far :</p> <p>I have a simple layout which have one edit text called as <...
I am trying to add a document to Firestore but only if it doesn't exist before. I tried finding some existing answers on SO but they talk about having security rules for Firebase. But I want to do it programmatically. What I have done so far : I have a simple layout which have one edit text called as etDeviceCode . I a...
android|firebase|kotlin|google-cloud-firestore
0
2022-07-26T15:00:08.267Z
2,022
7
15
1
21
0
1,186
76
4
4
true
true
false
false
false
false
zero
73,125,716
Tensorflow Lite Android: Both GPU delegate and NNAPI delegate are slower than CPU
<p>I am currently evaluating and comparing the performance of some tensorflow models on different smartphones. I am testing the MNIST and CIFAR10 databases. The strange thing is, when i try to speed up the inference times with hardware acceleration, they always perform worse than before. For example, these are the resu...
I am currently evaluating and comparing the performance of some tensorflow models on different smartphones. I am testing the MNIST and CIFAR10 databases. The strange thing is, when i try to speed up the inference times with hardware acceleration, they always perform worse than before. For example, these are the results...
java|android|tensorflow-lite|hardware-acceleration|nnapi
0
2022-07-26T15:01:58.123Z
2,022
7
15
1
146
1
1,152
81
5
1
true
false
false
false
false
false
zero
73,125,846
OneTap Credential Saving failure on some devices
<p>Having an issue on some devices when trying to Save Password with the Identity Credential service. We make this call:</p> <pre><code>Identity.getCredentialSavingClient(activity).savePassword(savePasswordRequest) </code></pre> <p>We have an onCompleteListener that is not getting fired at all, the failure seems to hap...
Having an issue on some devices when trying to Save Password with the Identity Credential service. We make this call: [CODE] We have an onCompleteListener that is not getting fired at all, the failure seems to happen within the Task and never communicates back out, causing our process to stall. Here's the stack from th...
android|google-play|google-one-tap
2
2022-07-26T15:11:16.690Z
2,022
7
15
1
67
0
851
48
3
2
true
true
false
false
false
false
low
73,125,857
Get current location using workers
<p>I have an application similar to Cabify (drivers) and I try to get the current location of the driver, I had done this with IntentService, but now I want to use workers, but I don't know why when I try to get the location, this is null, any ideas ?</p> <p>My doWork function is something like this</p> <pre><code>over...
I have an application similar to Cabify (drivers) and I try to get the current location of the driver, I had done this with IntentService, but now I want to use workers, but I don't know why when I try to get the location, this is null, any ideas ? My doWork function is something like this [CODE]
android|kotlin|android-workmanager
0
2022-07-26T15:12:06.890Z
2,022
7
15
1
41
1
297
34
3
1
true
false
false
false
false
false
zero
73,125,886
Android api 29 and more Request permissions locations allow all the time
<p>I want to get Android API 29 and above background location permissions and open the Android application location settings section and I want it to select &quot;Allow all the time&quot;. But it gives an &quot;ActivityNotFoundException&quot; error, I tried a lot but I couldn't solve it, can anyone write an idea?</p> <...
I want to get Android API 29 and above background location permissions and open the Android application location settings section and I want it to select &quot;Allow all the time&quot;. But it gives an &quot;ActivityNotFoundException&quot; error, I tried a lot but I couldn't solve it, can anyone write an idea? [CODE] }...
android
0
2022-07-26T15:14:10.847Z
2,022
7
15
1
45
0
431
72
1
2
true
true
false
false
false
false
zero
73,125,909
I need help starting Apache server with PHP on Android with Termux
<p><strong>Hi everyone!</strong> <em>It's my first question here XD...</em></p> <p>I'm trying to start a web server on my LAN, but there are some problems. Can't set Default Charset to UTF-8 on my site or enable .htaccess for setting it. Tried adding <code>AddDefaultCharset UTF-8</code> to the end of apache's httpd.con...
Hi everyone! It's my first question here XD... I'm trying to start a web server on my LAN, but there are some problems. Can't set Default Charset to UTF-8 on my site or enable .htaccess for setting it. Tried adding AddDefaultCharset UTF-8 to the end of apache's httpd.conf file, without success,my phone is rooted, this ...
php|android|apache|localhost|termux
0
2022-07-26T15:15:46.893Z
2,022
7
15
1
167
0
1,233
66
5
0
false
true
false
false
false
false
zero
73,125,940
I'm trying to use RecyclerView in Android Studio and getting this error E/RecyclerView: No adapter attached; skipping layout
<pre><code>add.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { System.out.println(&quot;pressed&quot;); if (selectedRadioButton() == R.id.RB_byAmount){ setTransactionsByAmount(); }else ...
[CODE] This is the only place in my code that I'm using RecyclerView but it doesn't seem to show the results on my screen and I think its because of the error I keep getting: E/RecyclerView: No adapter attached; skipping layout. Any suggestion on how to fix this?
java|android-recyclerview
1
2022-07-26T15:17:41.863Z
2,022
7
15
1
8
0
263
124
2
1
true
true
false
false
false
false
low
73,125,962
TextView - Selected text pop up cut text below
<p>I decided to add selected option in my TextView, but when it was selected and addition menu pop up - it cut TextView down below. Before selection:</p> <p>Before selection: <a href="https://i.stack.imgur.com/9jbMN.png" rel="nofollow noreferrer">https://i.stack.imgur.com/9jbMN.png</a></p> <p>After selection: <a href="...
I decided to add selected option in my TextView, but when it was selected and addition menu pop up - it cut TextView down below. Before selection: Before selection: https://i.stack.imgur.com/9jbMN.png After selection: https://i.stack.imgur.com/C3XWh.png How can I fix it? activity_main: [CODE]
android
0
2022-07-26T15:18:47.530Z
2,022
7
15
1
44
2
293
46
1
1
true
false
false
false
false
false
zero
73,126,091
How to modify unity game data
<p>How can i modify the timer of this unity game with gg.? every 10 seconds equals 1 point i want to alter the points without actually playing <a href="https://i.stack.imgur.com/HcFXb.jpg" rel="nofollow noreferrer">click to see game image</a></p>
How can i modify the timer of this unity game with gg.? every 10 seconds equals 1 point i want to alter the points without actually playing click to see game image
java|android|unity3d
0
2022-07-26T15:26:54.993Z
2,022
7
15
1
27
0
163
29
3
0
false
true
false
false
false
false
zero
73,126,134
file.exists() always returns true no matter what
<p>I have this function that searches a directory for a file based on a given filename. My problem is that it always returns true (file exists) no matter what.</p> <p>Here's the function:</p> <pre><code>public boolean searchFile(String name) { File localStorage = Environment.getExternalStoragePublicDirectory(Enviro...
I have this function that searches a directory for a file based on a given filename. My problem is that it always returns true (file exists) no matter what. Here's the function: [CODE] This doesn't really make sense as I read that File f = new File(blah) only creates an Object of the File and doesn't actually create th...
java|android|android-studio|file
-1
2022-07-26T15:31:08.450Z
2,022
7
15
1
78
1
342
48
4
1
true
false
false
false
false
true
negative
73,126,275
How to transfer the selected day from the calendar with the selected day to the text?
<p>I'm using a third party calendar library. I tried to do it through the current date, but it didn’t work out. Maybe someone knows how to transfer data from a function to another function? I need the date that the user has selected in the calendar to display as text, but I don't know how to do it (</p> <p><strong>Grad...
I'm using a third party calendar library. I tried to do it through the current date, but it didn’t work out. Maybe someone knows how to transfer data from a function to another function? I need the date that the user has selected in the calendar to display as text, but I don't know how to do it ( Gradle [CODE] DatePick...
android|kotlin|android-jetpack-compose
-1
2022-07-26T15:41:43.357Z
2,022
7
15
1
59
1
438
85
3
6
true
false
false
false
false
true
negative
73,126,292
Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException)
<p>I am using <code>video_player: any</code> in flutter. I am using https server url. All things are working fine, I am able to call api, load images but when I try to load video, I am getting this errors.</p> <pre><code>E/ExoPlayerImplInternal: Playback error com.google.android.exoplayer2.ExoPlaybackException: Sourc...
I am using video_player: any in flutter. I am using https server url. All things are working fine, I am able to call api, load images but when I try to load video, I am getting this errors. [CODE] I have added security config as follows [CODE] and in Manifest file, I have added following command [CODE] Still I am getti...
java|android|flutter|exoplayer|video-player
1
2022-07-26T15:43:11.197Z
2,022
7
15
1
180
0
375
125
5
3
true
true
false
false
false
false
low
73,126,334
No adapter attached; skipping layout / on a null object reference
<p>I was following a tutorial about a comic reading app, and while almost everything works, the last part of my code does not work, it says that my RecylcerView has no adapter attached to it, but it does, and because of that my textview cant be set resulting in a app crash</p> <p>Here is the fragment.xml where the erro...
I was following a tutorial about a comic reading app, and while almost everything works, the last part of my code does not work, it says that my RecylcerView has no adapter attached to it, but it does, and because of that my textview cant be set resulting in a app crash Here is the fragment.xml where the error happens!...
java|android|android-recyclerview|android-adapter
0
2022-07-26T15:46:10.917Z
2,022
7
15
1
25
1
476
65
4
2
true
false
false
false
false
false
zero