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
71,234,425
The app has not responded to the network requests below
<p>Hi I am getting below error when I run from bitrise to do the detox testing with Android Emulator. Pasted partials codes below along with error. I tried to add --debug-synchronization with detox test command and expo helpers and hook in package json. Nothing seems to be working. Pls let me know if you need more info...
Hi I am getting below error when I run from bitrise to do the detox testing with Android Emulator. Pasted partials codes below along with error. I tried to add --debug-synchronization with detox test command and expo helpers and hook in package json. Nothing seems to be working. Pls let me know if you need more informa...
android|react-native|android-emulator|detox|bitrise
0
2022-02-23T09:32:35.187Z
2,022
2
9
2
284
0
406
55
5
4
true
true
false
false
false
false
zero
71,098,267
Current duration not updating properly with seek bar
<p>So I have set a media player here and it fetches the audio from a url that's available from the internet but the problem is when I play the music the current duration is not updating properly, only when I move the seekbar thumb back and forth it updates. I tried many ways to fix the problem but it's not working so i...
So I have set a media player here and it fetches the audio from a url that's available from the internet but the problem is when I play the music the current duration is not updating properly, only when I move the seekbar thumb back and forth it updates. I tried many ways to fix the problem but it's not working so if a...
java|android|android-studio|mobile-application|android-music-player
0
2022-02-13T05:53:56.390Z
2,022
2
5
6
29
0
419
52
5
1
true
true
false
false
false
false
zero
71,108,962
Creating Pdf file with graphs
<p>I'm want to build a pdf with a few graphs in java in android studio.</p> <pre><code>PdfDocument myPdfDocument; Paint myPaint; Canvas canvas; File file; </code></pre> <p>those are the class that I use to create pdf. do you know how can I add a few graphs? do you know a library for this purpose?</p> <pre><code>private...
I'm want to build a pdf with a few graphs in java in android studio. [CODE] those are the class that I use to create pdf. do you know how can I add a few graphs? do you know a library for this purpose? [CODE] the code works perfectly but I don't know how to add graphs. if you know a video which can help me, it will be ...
java|android-studio|pdf|graph
0
2022-02-14T08:28:40.277Z
2,022
2
8
0
29
0
332
29
4
2
true
true
false
false
false
false
zero
71,141,231
asp.net webapi not getting retrofit data when using post
<p>I posting to a c# webapi from an Android app using retrofit2 and having trouble receiving the data.</p> <p>Here is my test. I have populated the ScenarioRun object and it has an id of -1 indicating it is a test:</p> <pre><code> Log.d(TAG, &quot;sync: id is &quot; + inputDto.getId()); Call&lt;ScenarioRunDTO&gt...
I posting to a c# webapi from an Android app using retrofit2 and having trouble receiving the data. Here is my test. I have populated the ScenarioRun object and it has an id of -1 indicating it is a test: [CODE] The Retrofit interface is: [CODE] I am using an interceptor for authentication, but added Content-Type to se...
android|asp.net-web-api2|retrofit2
0
2022-02-16T11:43:16.760Z
2,022
2
11
2
29
0
987
56
3
7
true
true
false
false
false
false
zero
71,142,975
Selendroid standalone Command 'aapt' was not found inside the Android SDK:
<p>I tried to check selendroid after installing and run the command:</p> <pre><code>java -jar selendroid-standalone-0.17.0-with-dependencies.jar -app selendroid-test-app-0.17.0.apk </code></pre> <p>And get next output:</p> <pre><code>евр. 16, 2022 4:30:46 PM io.selendroid.standalone.SelendroidLauncher main INFO: ######...
I tried to check selendroid after installing and run the command: [CODE] And get next output: [CODE] According to http://selendroid.io/setup.html#getAut I installed all stuff which was needed. And path /opt/android-sdk/build-tools has aapt: [CODE] How can I solve my problem? Google couldn't help me( My system ManjaroLi...
java|android|testing|automated-tests|selendroid
0
2022-02-16T13:43:59.637Z
2,022
2
13
2
29
0
330
74
5
3
true
true
false
false
false
false
zero
71,176,473
Apply dark mode only to a specific view / fragment?
<p>I need something like a theme preview for a small part of the UI. Is it possible to reinflate and replace a specific view in dark mode when the rest of the UI is in light mode?</p>
I need something like a theme preview for a small part of the UI. Is it possible to reinflate and replace a specific view in dark mode when the rest of the UI is in light mode?
android
0
2022-02-18T16:03:52.690Z
2,022
2
16
4
29
0
176
51
1
0
false
true
false
false
false
false
zero
71,182,834
couldn't allow check for network connecting in developer mode
<p><a href="https://i.stack.imgur.com/h1HoH.jpg" rel="nofollow noreferrer">enter image description here</a></p> <p>getting error while trying to turn on the install via USB , and tried turn off the mobile data and restarting phone , nothing worked ,, still getting the error</p>
enter image description here getting error while trying to turn on the install via USB , and tried turn off the mobile data and restarting phone , nothing worked ,, still getting the error
android|android-studio|apk|android-developer-api
0
2022-02-19T06:48:30.713Z
2,022
2
6
5
29
0
188
61
4
0
false
true
false
false
false
false
zero
71,191,600
MutableLiveData containing List<> always passed by reference. Want to pass it by value
<p>I have a seperate class for my sqlite operations named <code>DBOperations.java</code> which fetch data and pass all data to my ViewModel named <code>HomeActivityViewModel.java</code> through a interface named DBOperationsListener</p> <pre><code>public interface DBOperationsListener { void itemDataLoaded(List&lt;...
I have a seperate class for my sqlite operations named DBOperations.java which fetch data and pass all data to my ViewModel named HomeActivityViewModel.java through a interface named DBOperationsListener [CODE] my HomeActivityViewModel.java [CODE] on my FirstFragment [CODE] then later on the same fragment I get an item...
java|android|android-studio|mvvm|mutablelivedata
0
2022-02-20T05:29:02.160Z
2,022
2
5
6
29
0
872
86
5
5
true
true
false
false
false
false
zero
71,202,821
How can I use 'openssl_random_pseudo_bytes(32)' in react native?
<p>PHP code:</p> <pre><code>$key = openssl_random_pseudo_bytes(32); $iv = openssl_random_pseudo_bytes(12); </code></pre> <p>How can I render in <code>React native</code>?</p>
PHP code: [CODE] How can I render in React native ?
php|android|react-native
0
2022-02-21T07:51:37.510Z
2,022
2
7
0
29
0
51
64
3
1
true
true
false
false
false
false
zero
71,219,082
android Google map update listerner when all data is loaded
<p>I want to take a snapshot and save it when google map loads all of the map data. I know about and use the map camera-related listener. But a camera update listener is not required in my case. Why do I need an update listener? Because of low bandwidth, it takes time to load map data or routes paths. So I need to know...
I want to take a snapshot and save it when google map loads all of the map data. I know about and use the map camera-related listener. But a camera update listener is not required in my case. Why do I need an update listener? Because of low bandwidth, it takes time to load map data or routes paths. So I need to know wh...
android|google-maps-android-api-2
0
2022-02-22T09:49:37.087Z
2,022
2
9
1
29
0
376
59
2
1
true
true
false
false
false
false
zero
71,292,443
How to draw series of curved triangles in given x and y point using canvas android?
<p>I need to draw series of curved triangles between two points like the image I attached below.<a href="https://i.stack.imgur.com/vC5wp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vC5wp.png" alt="enter image description here" /></a></p>
I need to draw series of curved triangles between two points like the image I attached below.
android|canvas|triangle
0
2022-02-28T08:44:31.390Z
2,022
2
8
0
29
0
93
83
3
0
false
true
false
false
false
false
zero
71,351,787
How to Pixelate may containers with flutter
<p>My question is related to flutter which is about pixelate the container that i want to animate the <em><strong>containers in pixelate effect</strong></em> i will show my image that what i want i hope it will helps. i tried this method but didn't works.</p> <p><a href="https://pub.dev/documentation/image/latest/image...
My question is related to flutter which is about pixelate the container that i want to animate the containers in pixelate effect i will show my image that what i want i hope it will helps. i tried this method but didn't works. https://pub.dev/documentation/image/latest/image/pixelate.html i want this small containers p...
android|flutter|dart|animation|flutter-animation
0
2022-03-04T12:57:53.660Z
2,022
3
12
4
29
0
362
43
5
0
false
true
false
false
false
false
zero
71,371,310
AlertLog didn't display in OnClick method
<p>I want to display an AlertLog after click the button,and dismiss the AlertLog when calculation in OnClick method is completed. So I wrote a method named ProgressDialogUtil.showProgressDialog(MainActivity.this)&amp;ProgressDialogUtil.dismiss(). But it didn't work when I put thme into the OnClick.The TextView will dis...
I want to display an AlertLog after click the button,and dismiss the AlertLog when calculation in OnClick method is completed. So I wrote a method named ProgressDialogUtil.showProgressDialog(MainActivity.this)&ProgressDialogUtil.dismiss(). But it didn't work when I put thme into the OnClick.The TextView will display th...
java|android|android-studio
0
2022-03-06T14:49:11.160Z
2,022
3
14
6
29
0
445
41
3
2
true
true
false
false
false
false
zero
71,317,913
Tried to get a plugin before it was configured. Make sure you call Amplify.configure() first
<p>I am trying to use AWS Amplify's AmplifyStorageS3,AmplifyAPI and AmplifyAuthCognito with my flutter app. I follow the documentation and everything is working fine but some time app crashes on Android 10 with following error</p> <blockquote> <p>Fatal Exception: java.lang.IllegalStateException: Tried to get a plugin b...
I am trying to use AWS Amplify's AmplifyStorageS3,AmplifyAPI and AmplifyAuthCognito with my flutter app. I follow the documentation and everything is working fine but some time app crashes on Android 10 with following error Fatal Exception: java.lang.IllegalStateException: Tried to get a plugin before it was configured...
android|flutter|aws-amplify|flutteramplify
3
2022-03-02T05:37:26.170Z
2,022
3
5
2
285
0
1,353
92
4
1
true
true
false
false
false
false
low
71,097,814
purchases.subscriptions.get RESET API response returns 'developerPayload' key data null in android In-app purchase
<p>In-app purchase purchases.subscriptions.get RESET API response returns 'developerPayload' key data null sometimes,why I am getting null?</p> <p>Following is url: <a href="https://androidpublisher.googleapis.com/androidpublisher/v3/applications/%7BpackageName%7D/purchases/subscriptions/%7BsubscriptionId%7D/tokens/%7B...
In-app purchase purchases.subscriptions.get RESET API response returns 'developerPayload' key data null sometimes,why I am getting null? Following is url: https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token} Following is response:...
java|android|in-app-purchase|in-app-subscription
0
2022-02-13T04:01:22.403Z
2,022
2
4
6
30
0
903
114
4
0
false
true
false
false
false
false
zero
71,125,847
Android: Click listener of a view not working when parent viewgroup position is changed
<p>I have relative layout inside which I have 2 linearlayouts aligned one below the other. In first linear layout I have 2 buttons User can drag and change position of my first linear layout. The first linear layout can either be placed at top or bottom of screen. When user places it on top,second linear layout moves t...
I have relative layout inside which I have 2 linearlayouts aligned one below the other. In first linear layout I have 2 buttons User can drag and change position of my first linear layout. The first linear layout can either be placed at top or bottom of screen. When user places it on top,second linear layout moves to b...
android|animation|viewgroup
0
2022-02-15T11:44:20.283Z
2,022
2
11
1
30
0
646
87
3
0
false
true
false
false
false
false
zero
71,126,280
Matrix I can't set in textureView
<p>I got the information in <a href="https://www.hellsoft.se/textureview-transforms-on-android/" rel="nofollow noreferrer">https://www.hellsoft.se/textureview-transforms-on-android/</a> Where I did wrong?</p> <pre><code>//создаем предварительный просмотр камеры, ширина, высота устройства и что поменялось private vo...
I got the information in https://www.hellsoft.se/textureview-transforms-on-android/ Where I did wrong? [CODE] and [CODE] My camera 2 don't work. I want my camera will be 50% screen, portrait view. And image view normal, not stretched. And when I added .setTransform that's my camera nothing show, but without that's meth...
android|matrix|android-camera2|textureview
0
2022-02-15T12:16:28.880Z
2,022
2
12
1
30
0
333
33
4
2
true
true
false
false
false
false
zero
71,183,392
react native - run ./gradlew assembleRelease and got Could not resolve all artifacts for configuration ':app:debugCompileClasspath'
<p>os : windows 10 build.gradle :</p> <p>error:</p> <p>Could not determine the dependencies of task ':app:lintVitalRelease'.</p> <blockquote> <p>Could not resolve all artifacts for configuration ':app:debugCompileClasspath'. Could not download firebase-analytics-18.0.3.aar (com.google.firebase:firebase-analytics:18.0.3...
os : windows 10 build.gradle : error: Could not determine the dependencies of task ':app:lintVitalRelease'. Could not resolve all artifacts for configuration ':app:debugCompileClasspath'. Could not download firebase-analytics-18.0.3.aar (com.google.firebase:firebase-analytics:18.0.3) > Could not get resource 'https://d...
android|react-native
0
2022-02-19T08:37:39.657Z
2,022
2
8
5
30
0
8,085
131
2
0
false
true
false
false
false
false
zero
71,227,244
Is there a way to customize the android accessibility service button?
<p>I have created my own accessibility service that is overriding the accessibility button and wanted to see if there was a way to customize the button?</p> <p>Thanks in advance</p>
I have created my own accessibility service that is overriding the accessibility button and wanted to see if there was a way to customize the button? Thanks in advance
android|accessibilityservice
0
2022-02-22T19:30:00.130Z
2,022
2
19
1
30
0
167
69
2
0
false
true
false
false
false
false
zero
71,249,179
Creating Kotlin time format depends on language
<p>How can I generate something like this: &quot;1h 43min&quot; but depends on the language (local) in Kotlin? So for English, it will be 1h 43min, for german 1z 43min, etc.</p>
How can I generate something like this: &quot;1h 43min&quot; but depends on the language (local) in Kotlin? So for English, it will be 1h 43min, for german 1z 43min, etc.
android|kotlin|time|translation|simpledateformat
0
2022-02-24T08:37:29.963Z
2,022
2
8
3
30
0
170
47
5
0
false
true
false
false
false
false
zero
71,286,542
how to save screen actions that user do in a text file with kotlin android
<p>I am a new kotlin android developer, I am trying to recode all activities that user do on screen on a text file , for example the coordinates of position that user touches on screen and time , I know how to deal with text file and I have the following code :</p> <pre><code> mRelativeLayout.setOnTouchListener { _, mo...
I am a new kotlin android developer, I am trying to recode all activities that user do on screen on a text file , for example the coordinates of position that user touches on screen and time , I know how to deal with text file and I have the following code : [CODE] the problem is that in this code saves only the last t...
android|kotlin
0
2022-02-27T16:34:11.687Z
2,022
2
16
6
30
0
423
74
2
1
true
true
false
false
false
false
zero
71,296,180
Not able to fetch data in react-native app from firebase after generating signed apk
<p>I have recently generated apk from my react-native application project, I have used firebase to store data and authentication, before the generation of apk, I was able to fetch data from firebase to my application but after I generated apk, it is not fetching data.</p> <p>The problem is most probably related to sha ...
I have recently generated apk from my react-native application project, I have used firebase to store data and authentication, before the generation of apk, I was able to fetch data from firebase to my application but after I generated apk, it is not fetching data. The problem is most probably related to sha key which ...
android|firebase|react-native
0
2022-02-28T14:02:37.693Z
2,022
2
14
0
30
0
379
84
3
0
false
true
false
false
false
false
zero
71,369,652
Can't Install an Android Application ERROR "Installation did not succeed"
<p>I was Working to my project suddly while I was testing this Error Apears:</p> <blockquote> <p>Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED</p> </blockquote> <p>This Is the Android Manifest:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot...
I was Working to my project suddly while I was testing this Error Apears: Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED This Is the Android Manifest: [CODE] I Didn't change any thing with the manifest file
java|android|android-studio|android-activity|android-manifest
0
2022-03-06T11:01:01.770Z
2,022
3
11
6
30
0
269
73
5
1
true
true
false
false
false
false
zero
71,374,430
External links not opening in Android
<p>Folks,</p> <p>I'm facing a problem here that I can't find a solution for it.</p> <p>In my app I offer external links that the user can click on and open websites in browser.</p> <p>They work fine in both IOS and Android emulator, but do not work in real Android phones.</p> <p>Here the code that operates that:</p> <...
Folks, I'm facing a problem here that I can't find a solution for it. In my app I offer external links that the user can click on and open websites in browser. They work fine in both IOS and Android emulator, but do not work in real Android phones. Here the code that operates that: [CODE] Any idea what can be happening...
android|ios|flutter|dart
0
2022-03-06T21:38:21.380Z
2,022
3
21
6
30
0
340
37
4
1
true
true
false
false
false
false
zero
71,392,183
What can I find the implement of "imagedecoder.h" of NDK
<p>by reading the NDK guild, I link the libjnigraphics.so in my project, and I successfully run the demo using such function below.</p> <p>... AImageDecoder_getHeaderInfo AImageDecoder_decodeImage ...</p> <p>However I can not debug these function(can not step into functions) I want to learn how these functions works.</...
by reading the NDK guild, I link the libjnigraphics.so in my project, and I successfully run the demo using such function below. ... AImageDecoder_getHeaderInfo AImageDecoder_decodeImage ... However I can not debug these function(can not step into functions) I want to learn how these functions works. By search the head...
android|bitmap|android-ndk|decode
0
2022-03-08T08:45:28.283Z
2,022
3
8
1
30
0
585
56
4
0
false
true
false
false
false
false
zero
71,409,692
Saving and displaying Room entity with a 1-to-1 relationship to a PendingIntent Alarm
<p>I have a Room <em>@Entity Document</em> which I need to associate with an alarm that will trigger a notification at a certain point in time. The alarm should be toggleable/changeable on the <em>Document</em>, and has to be associated with exactly that <em>Document</em>. So that an alarm is persisted, and can be ...
I have a Room @Entity Document which I need to associate with an alarm that will trigger a notification at a certain point in time. The alarm should be toggleable/changeable on the Document , and has to be associated with exactly that Document . So that an alarm is persisted, and can be disabled at a later point in tim...
kotlin|entity|android-room|alarmmanager|android-pendingintent
0
2022-03-09T12:53:40.793Z
2,022
3
12
2
30
0
1,722
85
5
4
true
true
false
false
false
false
zero
71,421,435
Unable to open camera Camerax android (Comparison method violates its general contract!)
<p>getting unusual exception when invoking camera on camerax Exception is as below</p> <pre><code>Exception: java.lang.IllegalArgumentException: Comparison method violates its general contract! at androidx.camera.lifecycle.LifecycleCameraRepository.bindToLifecycleCamera(LifecycleCameraRepository.java:266) ...
getting unusual exception when invoking camera on camerax Exception is as below [CODE]
android|android-camerax
0
2022-03-10T09:05:21.343Z
2,022
3
9
3
30
0
86
88
2
1
true
true
false
false
false
false
zero
71,100,461
Android studio crashes everytime i try to run the app
<p>When i try to run app on my laptop, android studio crashes and laptop gets freezed everytime. I always have to build the app and then run on my phone. I created new virtual device today and it got crashed again (shown in below image).</p> <p><a href="https://i.stack.imgur.com/tz8vW.png" rel="nofollow noreferrer">and...
When i try to run app on my laptop, android studio crashes and laptop gets freezed everytime. I always have to build the app and then run on my phone. I created new virtual device today and it got crashed again (shown in below image). android studio got freeze here on running the app
java|android-studio
0
2022-02-13T12:07:05.573Z
2,022
2
12
6
31
0
284
53
2
0
false
true
false
false
false
false
zero
71,108,173
how implement search view from menu in fragments?
<p>I am trying to implement search in my fragment but its not working. no results shown up with search text. Also all the items are gone from the view when search text is removed and does not load the items on clicking menu item again from bottom navigation bar. I am very new to android development and struggling with ...
I am trying to implement search in my fragment but its not working. no results shown up with search text. Also all the items are gone from the view when search text is removed and does not load the items on clicking menu item again from bottom navigation bar. I am very new to android development and struggling with sea...
java|android|android-fragments|search|android-recyclerview
0
2022-02-14T07:00:15.320Z
2,022
2
7
0
31
0
436
49
5
3
true
true
false
false
false
false
zero
71,111,239
How do I color constants and final members for Dart in Android Studio?
<p>I am trying to set up Android studio so that constant fields are syntactically-colored differently from variable fields.</p> <p>In File &gt; Settings &gt; Editor &gt; Color Scheme, some languages allow it (like Java for example, under Class Fields) but I haven't found the same for Dart. Is it possible (maybe through...
I am trying to set up Android studio so that constant fields are syntactically-colored differently from variable fields. In File > Settings > Editor > Color Scheme, some languages allow it (like Java for example, under Class Fields) but I haven't found the same for Dart. Is it possible (maybe through a workaround ?) De...
android-studio|dart|text-coloring
0
2022-02-14T11:37:45.197Z
2,022
2
11
0
31
0
410
70
3
0
false
true
false
false
false
false
zero
71,135,100
Accessibility (keyboard input/navigation) support for ARCore Scene Viewer or SceneForm on Android
<p>Does ARCore support keyboard input/navigation for accessibility? I tried to use the keyboard when viewing this 3D model in ARCore Scene Viewer on Android, but the 3D model isn't selectable and does not respond to the input from the arrow keys on the keyboard.</p> <p>Not sure if this is the best place to post my issu...
Does ARCore support keyboard input/navigation for accessibility? I tried to use the keyboard when viewing this 3D model in ARCore Scene Viewer on Android, but the 3D model isn't selectable and does not respond to the input from the arrow keys on the keyboard. Not sure if this is the best place to post my issue/question...
android|accessibility|arcore
0
2022-02-16T00:37:07.937Z
2,022
2
0
2
31
0
415
97
3
0
false
true
false
false
false
false
zero
71,136,553
Can raspberry detect camera with Android OS?
<p>I have Android OS on my Rpi. <strong>Purpose:</strong> I would like to use the cam ( which is connected to Rpi ) the same way as my phone uses the phone cam.</p> <p>The question is: Does the android OS identify the cam which is connected to Rpi?</p> <p>The cam can be Rpi cam or USB webcam.</p>
I have Android OS on my Rpi. Purpose: I would like to use the cam ( which is connected to Rpi ) the same way as my phone uses the phone cam. The question is: Does the android OS identify the cam which is connected to Rpi? The cam can be Rpi cam or USB webcam.
android|raspberry-pi|android-camera|raspberry-pi3|webcam
0
2022-02-16T04:49:19.777Z
2,022
2
4
2
31
0
259
44
5
0
false
true
false
false
false
false
zero
71,168,821
Error ctx.require not function when i give comman " "cordova build android"
<p>I'm just learning to use ionic cordova.</p> <p>I want to ask, why when giving &quot;cordova build android&quot; or &quot;cordova run android&quot; command always get an error &quot;ctx.require is not a function&quot; ?</p> <p>Please help me, thanks</p> <p><a href="https://i.stack.imgur.com/WWikk.png" rel="nofollow n...
I'm just learning to use ionic cordova. I want to ask, why when giving &quot;cordova build android&quot; or &quot;cordova run android&quot; command always get an error &quot;ctx.require is not a function&quot; ? Please help me, thanks enter image description here and here my ionic info enter image description here
android|cordova|ionic-framework|ionic3|cordova-plugins
0
2022-02-18T05:37:05.720Z
2,022
2
5
4
31
0
315
75
5
0
false
true
false
false
false
false
zero
71,196,327
How to install the Google engine in android studio ,so that it supports the Arabic language,
<p>Is there a way in Android Studio by which I can install the Google engine so that it supports the Arabic language, because I tried it does not support unless I downloaded the Google engine application, but I want to include the Google engine in the application itself so, become automatically supported by the applica...
Is there a way in Android Studio by which I can install the Google engine so that it supports the Arabic language, because I tried it does not support unless I downloaded the Google engine application, but I want to include the Google engine in the application itself so, become automatically supported by the applicatio...
android-studio|installation|sdk|arabic-support
0
2022-02-20T16:21:09.767Z
2,022
2
16
6
31
0
364
92
4
0
false
true
false
false
false
false
zero
71,207,332
Android notifications not always delivered
<p>I'm writing my android application, which should always show a notification every day at 10:00 AM, no matter what. I use an alarm service to fire notifications at a specific time.</p> <p>I set notifications to fire in two cases:</p> <ul> <li>when I open the app, I set the alarm service to fire at the nearest 10:00 A...
I'm writing my android application, which should always show a notification every day at 10:00 AM, no matter what. I use an alarm service to fire notifications at a specific time. I set notifications to fire in two cases: when I open the app, I set the alarm service to fire at the nearest 10:00 AM when I receive notifi...
android|push-notification
0
2022-02-21T13:41:44.317Z
2,022
2
13
0
31
0
1,005
42
2
1
true
true
false
false
false
false
zero
71,218,789
is there limit for android group notification?
<p>I have a question for group notifications. I want to use group notification to package the notifications. Before I notify the single notification , i will notify a groupNotifcation. But i found that the packed notification numbers is limited to 8, the newst comes, the oldest cancel. I don't know its my mistake or sy...
I have a question for group notifications. I want to use group notification to package the notifications. Before I notify the single notification , i will notify a groupNotifcation. But i found that the packed notification numbers is limited to 8, the newst comes, the oldest cancel. I don't know its my mistake or syste...
android|firebase|android-notifications
0
2022-02-22T09:28:26.313Z
2,022
2
9
1
31
0
400
46
3
1
true
true
false
false
false
false
zero
71,228,762
Image not showing up in launch screen Android Studio
<p>I have a project to do that involves downloading images from the internet with asyncTask with a progressbar at the bottom of the image and an infinite loop so it continues to through the images. When I run my code it says it was successful but the images are not showing up in the Android Emulator. If anyone could he...
I have a project to do that involves downloading images from the internet with asyncTask with a progressbar at the bottom of the image and an infinite loop so it continues to through the images. When I run my code it says it was successful but the images are not showing up in the Android Emulator. If anyone could help ...
while-loop|bitmap|android-asynctask|android-imageview|imagedownload
0
2022-02-22T21:52:15.157Z
2,022
2
21
1
31
0
411
52
5
1
true
true
false
false
false
false
zero
71,245,132
ImageView is crashing devices below android 9
<p>So I made an app and my users with android 8 and below said in feedback that they can't open the app here is the problem when I tried my app with my old phone</p> <p>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pg3d.myapplication/com.pg3d.myapplication.MainActivity}: android.view.InflateExc...
So I made an app and my users with android 8 and below said in feedback that they can't open the app here is the problem when I tried my app with my old phone java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pg3d.myapplication/com.pg3d.myapplication.MainActivity}: android.view.InflateException: Bi...
image|android-studio|crash|imageview|drawable
0
2022-02-23T23:13:47.943Z
2,022
2
23
2
31
0
905
45
5
0
false
true
false
false
false
false
zero
71,254,719
How can a golang code get the value of the variable defined in Makefile
<p>In Android's soong build system, how can a golang code get the value of the variable defined in Makefile</p>
In Android's soong build system, how can a golang code get the value of the variable defined in Makefile
android|makefile|build
0
2022-02-24T15:51:42.953Z
2,022
2
15
3
31
0
104
71
3
0
false
true
false
false
false
false
zero
71,260,530
How do I avoid an ELFCLASS64 error when building Android 8 from source?
<p>I have an old tablet I'm toying around with for the fun of it. I'm trying to build Android 8 from source just to tinker with it and see if I can install it on the tablet. I'm using Lubuntu 20.04 LTS.</p> <p>So far, all I've done is set up my environment, sync to the android-8.1.0_r81 repo, and run <code>m</code>, al...
I have an old tablet I'm toying around with for the fun of it. I'm trying to build Android 8 from source just to tinker with it and see if I can install it on the tablet. I'm using Lubuntu 20.04 LTS. So far, all I've done is set up my environment, sync to the android-8.1.0_r81 repo, and run m , all per the instructions...
python|android|android-source
0
2022-02-25T03:01:30.957Z
2,022
2
3
4
31
0
1,451
71
3
1
true
true
false
false
false
false
zero
71,267,918
Any SDK for Integration of Amazon Halo to Mobile Apps, Android, iOS, Flutter
<p>I want to fetch data from the Amazon Halo. For Apple Watch we have the HealthKit Package and Similarly we have for other devices as well.</p>
I want to fetch data from the Amazon Halo. For Apple Watch we have the HealthKit Package and Similarly we have for other devices as well.
android|ios|flutter|amazon
0
2022-02-25T15:15:15.193Z
2,022
2
15
4
31
0
137
76
4
0
false
true
false
false
false
false
zero
71,285,761
notification doesn't cancel in android 6
<p>notification in nexus 5 android 6 don't cancel and go away from it. but when i run it on diffrenet device with android 9 or more, notification goes away. please help me.</p> <pre><code>public void showNotification(int playPauseBtn) { Intent intent = new Intent(this, PlayerActivity.class); intent....
notification in nexus 5 android 6 don't cancel and go away from it. but when i run it on diffrenet device with android 9 or more, notification goes away. please help me. [CODE]
java|android|notifications
0
2022-02-27T14:52:12.987Z
2,022
2
14
6
31
0
176
40
3
1
true
true
false
false
false
false
zero
71,325,353
How i can display specific (pdf or mp3) files in a widget available in the root Directory
<p>In this method I can see in which directory i in</p> <pre><code>Widget _buildDirectories( BuildContext context, AsyncSnapshot&lt;List&lt;Directory&gt;?&gt; snapshot) { Text text = const Text(''); if (snapshot.connectionState == ConnectionState.done) { if (snapshot.hasError) { text = Text(&quot;Error: ${snaps...
In this method I can see in which directory i in [CODE] } and I also enable the storage permissions [CODE] } but i want to display the files in a widget such as in GridView.builder or ListView.build. and i wanna root directory files not the application document directory or anything.. If anyone could help me out i woul...
android|flutter|android-studio|dart|widget
0
2022-03-02T15:37:39.740Z
2,022
3
15
2
31
0
337
89
5
2
true
true
false
false
false
false
zero
71,355,291
Should the app be the default handler for app indexing?
<p>There are plenty of web URLs (as deep-link) defined in the manifest. For app-indexing, I added an App Link. It seems <strong>verified</strong>, but not working as the default handler. Disambiguation dialog appears on link click.</p> <p>I notice the documentation says that:</p> <blockquote> <p>Note: On Android 11 (AP...
There are plenty of web URLs (as deep-link) defined in the manifest. For app-indexing, I added an App Link. It seems verified , but not working as the default handler. Disambiguation dialog appears on link click. I notice the documentation says that: Note: On Android 11 (API level 30) and lower, the system doesn't veri...
android|kotlin|android-app-links|digital-assets-links
0
2022-03-04T17:43:09.700Z
2,022
3
17
4
31
0
921
55
4
0
false
true
false
false
false
false
zero
71,371,731
set ripple color from MainActivity
<p>my android app have a MaterialCardView with ripple effect.</p> <p>activity_main.xml:</p> <pre><code>&lt;com.google.android.material.card.MaterialCardView android:id=&quot;@+id/text_card&quot; android:layout_width=&quot;0dp&quot; android:layout_height=&quot;0dp&quot; android:layout_gr...
my android app have a MaterialCardView with ripple effect. activity_main.xml: [CODE] My app has different &quot;Themes&quot; so i would like to set the rippleColor like other properties of the MaterialCardView but i didn't found any solution for this. Part of MainActivity.java for example how i set other properties: [C...
android|ripple|ripple-effect
0
2022-03-06T15:39:40.327Z
2,022
3
15
6
31
0
349
34
3
2
true
true
false
false
false
false
zero
71,391,918
How to copy image information to clipboard on my android app?
<p>I need to copy all the information of an image which are rendered on my app to the clipboard on longpressing the image. Need suggestions to that.</p>
I need to copy all the information of an image which are rendered on my app to the clipboard on longpressing the image. Need suggestions to that.
android|image|clipboardmanager
0
2022-03-08T08:22:13.220Z
2,022
3
8
1
31
0
145
61
3
0
false
true
false
false
false
false
zero
71,425,566
Is there a way to redirect the `console.log()` output on Chrome Android to Android Logcat?
<p>For the default android browser, the <code>console.log()</code> output redirects to the android logcat. Is there a functionality to do the same for Chrome Android?</p>
For the default android browser, the console.log() output redirects to the android logcat. Is there a functionality to do the same for Chrome Android?
android|google-chrome
0
2022-03-10T14:12:46.377Z
2,022
3
14
3
31
0
150
90
2
0
false
true
false
false
false
false
zero
71,434,097
Kotlin stdlib files missing from the apk during runtime
<p>I am using a library which has several kotlin dependencies such as kotlin_Stdlib_jdk7</p> <p>My app also has other kotlin dependencies such as kotlin_Stdlib_jdk8</p> <p>When i try to call an api from the library i get this exception</p> <p>java.lang.NoSuchMethodError: No interface method load(): ...internal/XU</p> <...
I am using a library which has several kotlin dependencies such as kotlin_Stdlib_jdk7 My app also has other kotlin dependencies such as kotlin_Stdlib_jdk8 When i try to call an api from the library i get this exception java.lang.NoSuchMethodError: No interface method load(): ...internal/XU where internal/XU is kotlin.U...
android|kotlin|gradle
0
2022-03-11T05:41:17.563Z
2,022
3
5
4
31
0
510
55
3
0
false
true
false
false
false
false
zero
71,439,885
Hotkey script working in windows but not in android
<p>I had set up a Tampermonkey script below where if I press the <code>Backspace</code> key for more than 1 second in the URL <code>https://www.google.com</code>, I get a pop up notification. This works perfectly in the desktop Chrome browser for Windows. But in the Kiwi browser (android) with the same Tampermonkey scr...
I had set up a Tampermonkey script below where if I press the Backspace key for more than 1 second in the URL https://www.google.com , I get a pop up notification. This works perfectly in the desktop Chrome browser for Windows. But in the Kiwi browser (android) with the same Tampermonkey script, pressing the backspace ...
javascript|android
0
2022-03-11T14:18:00.720Z
2,022
3
14
4
31
0
431
51
2
1
true
true
false
false
false
false
zero
71,093,176
Make the texture view displayed in a ratio of 1:1 (now 3:4)
<p>I have a code that cuts the image and displays it on the whole screen, how do I make the image occupy 50% of the screen, that is, it was 1:1 ?</p> <pre><code>float cameraAspectRatio = (float) 0.75; //Preparation DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMet...
I have a code that cuts the image and displays it on the whole screen, how do I make the image occupy 50% of the screen, that is, it was 1:1 ? [CODE] I am displaying a preview image from a smartphone camera
android|size|screen|android-camera2|textureview
0
2022-02-12T15:21:36.097Z
2,022
2
15
5
32
0
206
59
5
1
true
true
false
false
false
false
zero
71,163,346
nonpersistant location permission in facebook webview android
<p>I developed an application that uses the geolocation of the user.</p> <p>Everything works well everywhere, the permission request is well requested from users and remains persistent in browsers or android webviews.</p> <p>On the other hand, in the webview of the facebook application on android, (but I think on iOs t...
I developed an application that uses the geolocation of the user. Everything works well everywhere, the permission request is well requested from users and remains persistent in browsers or android webviews. On the other hand, in the webview of the facebook application on android, (but I think on iOs too) the page cons...
android|facebook|webview|permissions|location
0
2022-02-17T18:12:33.920Z
2,022
2
18
3
32
0
764
61
5
0
false
true
false
false
false
false
zero
71,175,000
Android SurfaceTexture getTransformMatrix
<p>Who can knows, by what formula the transform matrix are calculated in Android SurfaceTexture getTransformMatrix()?</p>
Who can knows, by what formula the transform matrix are calculated in Android SurfaceTexture getTransformMatrix()?
android|opengl-es|surface
0
2022-02-18T14:20:48.467Z
2,022
2
14
4
32
0
114
41
3
0
false
true
false
false
false
false
zero
71,179,745
Run Cucumber tests for Android Room ORM framework
<p>I want to try BDD using Cucumber on Android. I have succeeded running Cucumber tests on plain Java/Kotlin objects but I'm not able to run Instrumentational tests for the database objects. This is an example of my androidTest classes:</p> <pre><code>@RunWith(AndroidJUnit4::class) class AccountDaoTest { private l...
I want to try BDD using Cucumber on Android. I have succeeded running Cucumber tests on plain Java/Kotlin objects but I'm not able to run Instrumentational tests for the database objects. This is an example of my androidTest classes: [CODE] On the previous example, I get an exception that says: No instrumentation regis...
android|cucumber|android-room
0
2022-02-18T20:56:28.950Z
2,022
2
20
4
32
0
424
49
3
1
true
true
false
false
false
false
zero
71,181,327
Gold: reorder sections using a linker script?
<p>I'm trying to write a linker script that will put the <code>.tdata</code> and <code>.tbss</code> sections beside each other. I'm trying to do this by passing a ld file with the following contents:</p> <pre><code>SECTIONS { .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } .tbss : { *(.tbss .tbss.* .gnu.lin...
I'm trying to write a linker script that will put the .tdata and .tbss sections beside each other. I'm trying to do this by passing a ld file with the following contents: [CODE] This linker script doesn't appear to have the desired effect. The .tdata and .tbss sections aren't beside each other in the outputted shared l...
android-ndk|linker|ld|linker-scripts
0
2022-02-19T00:29:05.720Z
2,022
2
0
5
32
0
327
45
4
1
true
true
false
false
false
false
zero
71,207,071
How to customize SeekBarPreference colors?
<p>I'm beginner in Android development. I'd like to change the colors of SeekBarPreferences.</p> <pre><code>&lt;PreferenceScreen xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt; &lt;PreferenceCategory android:key=&quot;@string/prefs_settings_calendar_category_key&quot; a...
I'm beginner in Android development. I'd like to change the colors of SeekBarPreferences. [CODE] Can it be done ? I unsuccessfully tried theme. [CODE] Thanks a lot for your help !
android|android-theme|seekbarpreference
0
2022-02-21T13:23:01.257Z
2,022
2
13
0
32
0
179
42
3
2
true
true
false
false
false
false
zero
71,227,477
image path from android to php web interface
<p>I have an android app that captures images and sends them to firebase storage. In my web interface I retrieve the url of these images and make it like a video, but this way the image transitions are too slow. What would be the best way for me to pass the url of these images from the android app to the php web interf...
I have an android app that captures images and sends them to firebase storage. In my web interface I retrieve the url of these images and make it like a video, but this way the image transitions are too slow. What would be the best way for me to pass the url of these images from the android app to the php web interface...
java|android|firebase
0
2022-02-22T19:50:54.210Z
2,022
2
19
1
32
0
375
44
3
1
true
true
false
false
false
false
zero
71,239,054
Google Glass and HC-05 Bluetooth Module
<p>In one of my projects, I am collecting data from sensors and sending them with a system composed of an Arduino Nano and a Bluetooth HC-05 module. The data is sent as a string. The first step was to make an Android application on the phone to acquire the data by Bluetooth and display them (this application works).</p...
In one of my projects, I am collecting data from sensors and sending them with a system composed of an Arduino Nano and a Bluetooth HC-05 module. The data is sent as a string. The first step was to make an Android application on the phone to acquire the data by Bluetooth and display them (this application works). The s...
android|bluetooth|google-glass
0
2022-02-23T14:46:03.157Z
2,022
2
14
2
32
0
779
39
3
0
false
true
false
false
false
false
zero
71,248,850
Openconnection and connect showing Inappropriate blocking method call error
<p>When I’m using flow the function openconnection and connect showing Inappropriate blocking method call error</p> <pre><code>fun writeFileToDisk(fileName: String, fileUrl: String, fileDir: File? = null): Flow&lt;Long&gt;? = flow { var inputStream: InputStream? = null var outputStream: OutputStream? = null ...
When I’m using flow the function openconnection and connect showing Inappropriate blocking method call error [CODE]
android|kotlin|outputstream|kotlin-flow
0
2022-02-24T08:05:27.073Z
2,022
2
8
3
32
0
115
75
4
1
true
true
false
false
false
false
zero
71,304,986
How to download history data from ANT+ HRM device with memory
<p>Hi fellow developers,</p> <p>I have a Garmin HRM Pro device and <strong>I'm trying to get to the data stored in the device memory</strong> (with Android App).</p> <p><strong>I'm able to find the device with MultiDeviceSearch and listen to RT data with AntPlusHeartRatePcc. However I'd like to also somehow get to the ...
Hi fellow developers, I have a Garmin HRM Pro device and I'm trying to get to the data stored in the device memory (with Android App). I'm able to find the device with MultiDeviceSearch and listen to RT data with AntPlusHeartRatePcc. However I'd like to also somehow get to the data stored in the device memory (up to 18...
android|kotlin|antplus
0
2022-03-01T07:22:17.623Z
2,022
3
7
1
32
0
613
61
3
0
false
true
false
false
false
false
zero
71,307,654
Gridlayout - How to redistribute cells automatically to the line below?
<p>I'm a bit new in coding and I'm using android Studio. So your help would really be precious to me! Thanks!</p> <p><strong>Here is the question:</strong> How can I make the cells or elements (of the Grid Layout) redistribute themselves automatically below, anytime the amount of cells exceed the left side of the Grid...
I'm a bit new in coding and I'm using android Studio. So your help would really be precious to me! Thanks! Here is the question: How can I make the cells or elements (of the Grid Layout) redistribute themselves automatically below, anytime the amount of cells exceed the left side of the Grid Layout (so the next cell ca...
android-studio|grid-layout|android-gridlayout
0
2022-03-01T11:16:49.590Z
2,022
3
11
1
32
0
1,182
71
3
0
false
true
false
false
false
false
zero
71,345,500
width of child layout not matching parent layout
<pre><code>&lt;com.android.systemui.statusbar.phone.NotificationsQuickSettingsContainer android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; android:layout_gravity=&quot;@integer/notification_panel_layout_gravity&quot; android:id=&quot;@+id/notific...
[CODE] The code from SystemUI, which android version is 11. Layout NotificationsQuickSettingsContainer take up the width of the screen, why is layout qs_frame only part of the screen width? Image click here The green background is NotificationsQuickSettingsContainer , i want qs_frame to cover the screen.
android|android-source
0
2022-03-04T00:57:54.507Z
2,022
3
0
4
32
0
305
48
2
1
true
true
false
false
false
false
zero
71,363,112
SearchActivity not starting search from intent automatically
<p>In my app there is a function to open the Search Google app with a request:</p> <pre><code> Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setClassName(&quot;com.google.android.googlequicksearchbox&quot;, &quot;com.google.android.googlequicksearchbox.SearchActivity&quot;); intent.putExtra(Sea...
In my app there is a function to open the Search Google app with a request: [CODE] The code above used to work, I remember it, now it does not work the same because the search activity opens but the search field is just populated with the string value, but the search is not started, so the user has to hit the Enter but...
android|android-intent|start-activity|android-searchmanager|web-search
0
2022-03-05T14:41:18.347Z
2,022
3
14
5
32
0
891
60
5
1
true
true
false
false
false
false
zero
71,372,711
Android Emulator Glitchs
<p>I am new in using Android Studio and Android Emulator. It works well but sometimes when I turn on the emulator there are some icons glitched. If I restart it sometimes it is fixed and sometimes it is not.</p> <p>Here are some examples (it is the buttons bar and the Chrome icon) <a href="https://i.stack.imgur.com/ZzQ...
I am new in using Android Studio and Android Emulator. It works well but sometimes when I turn on the emulator there are some icons glitched. If I restart it sometimes it is fixed and sometimes it is not. Here are some examples (it is the buttons bar and the Chrome icon) As I said, It only happens sometimes, so I don't...
android|android-emulator
0
2022-03-06T17:36:51.050Z
2,022
3
17
6
32
0
439
24
2
0
false
true
false
false
false
false
zero
71,394,310
UIAutomatorViewer in appium automation not recognizing the keypad keys and the tickmark button on it
<p>I want to select alphabets, numbers and the tick mark from mobile keypad . User name and password is identified by uiautomatorview in the login page, but the alphabets, numbers and the tick mark on the keypad is not getting recognized.</p> <p>Please find the attached image, where these are all not recognized.</p> <p...
I want to select alphabets, numbers and the tick mark from mobile keypad . User name and password is identified by uiautomatorview in the login page, but the alphabets, numbers and the tick mark on the keypad is not getting recognized. Please find the attached image, where these are all not recognized. please let me kn...
android|maven|testng|appium|uiautomatorviewer
0
2022-03-08T11:29:44.443Z
2,022
3
11
1
32
0
431
100
5
0
false
true
false
false
false
false
zero
71,413,844
Android studio connect sql
<p>I'm making an e-commerce application with android studio/kotlin. I want to connect database and it's gonna have the datas like signup, profile, products, accounts and the other things used for e-commerce databases. I install MySQL database but I can't find enough sources about how to connect it with my application. ...
I'm making an e-commerce application with android studio/kotlin. I want to connect database and it's gonna have the datas like signup, profile, products, accounts and the other things used for e-commerce databases. I install MySQL database but I can't find enough sources about how to connect it with my application. I a...
mysql|sql|android-studio|kotlin|e-commerce
0
2022-03-09T17:50:22.953Z
2,022
3
17
2
32
0
491
26
5
0
false
true
false
false
false
false
zero
71,433,432
How could RK3399 firefly Android system be waked up from early suspend state by HID over I2C device?
<p>I tried to set RK3399 Android system into early suspend state, and wanted it to be waked up by HID over I2C device. The system information is as in followings: adb command to enter early suspend: input keyevent 26 Android version: 8.1.0 Kernel : 4.4.126 Model: Firefly-RK3399 Note: It can wake up by mouse input devi...
I tried to set RK3399 Android system into early suspend state, and wanted it to be waked up by HID over I2C device. The system information is as in followings: adb command to enter early suspend: input keyevent 26 Android version: 8.1.0 Kernel : 4.4.126 Model: Firefly-RK3399 Note: It can wake up by mouse input device f...
android|wakeup
0
2022-03-11T03:46:42.747Z
2,022
3
3
4
32
0
605
100
2
0
false
true
false
false
false
false
zero
71,438,826
Give authorization to some one else
<p>I am now making an application connected to the firebase. Every person has his own account and has a list of data. He adds it, so I want someone to send invitation to you, please, so that he has access to see this list and amend it, and you hear at the two, whoever was the person who amended it. I mean, someone X, I...
I am now making an application connected to the firebase. Every person has his own account and has a list of data. He adds it, so I want someone to send invitation to you, please, so that he has access to see this list and amend it, and you hear at the two, whoever was the person who amended it. I mean, someone X, I so...
java|android|firebase|firebase-realtime-database|firebase-authentication
1
2022-03-11T12:53:11.253Z
2,022
3
12
4
32
0
606
35
5
0
false
true
false
false
false
false
low
71,125,080
How do I deploy Python on Android Studio?
<p>I am using visual studio code to work on my python and Android studio for the android app. I have create a machine learning to recommend user restaurants based on their favourite restaurant. I use <strong>sklearn.feature_extraction</strong> and <strong>cosine_similarity</strong> to give the recommendation.<a href="h...
I am using visual studio code to work on my python and Android studio for the android app. I have create a machine learning to recommend user restaurants based on their favourite restaurant. I use sklearn.feature_extraction and cosine_similarity to give the recommendation. pythoncode1 The next step is to deploy it to A...
python|android-studio
1
2022-02-15T10:47:21.833Z
2,022
2
10
1
33
0
486
41
2
0
false
true
false
false
false
false
low
71,230,247
Resize Layout to ImageView real size
<p>I have a FrameLayout inside a ConstraintLayout.<br /> The FrameLayout is constrained to different elements of the screen and has no hardcoded size.</p> <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas....
I have a FrameLayout inside a ConstraintLayout. The FrameLayout is constrained to different elements of the screen and has no hardcoded size. [CODE] With [CODE] I'm waiting for the FrameLayout to get his final size to set an ImageView by using .setImageBitmap(bitmap). After the ImageView was set i want to resize the Fr...
android|kotlin|layout|imageview|constraints
0
2022-02-23T01:12:02.227Z
2,022
2
1
2
33
0
850
36
5
3
true
true
false
false
false
false
zero
71,246,234
Dsd tech ble 5.0 Hm19 cannot be connected from long distance
<p>I have one gate security project with dsd tech hm19, which is working good at office. I can connect from more than 30 feet with my android app. But when I put it in metal keypad box, it won't be connected from 6 feet. It is configured with AT+POWE9 and AT+GAIN1 but the same thing happens. I have tested with samsung ...
I have one gate security project with dsd tech hm19, which is working good at office. I can connect from more than 30 feet with my android app. But when I put it in metal keypad box, it won't be connected from 6 feet. It is configured with AT+POWE9 and AT+GAIN1 but the same thing happens. I have tested with samsung gal...
android|bluetooth
0
2022-02-24T02:06:18.867Z
2,022
2
2
3
33
0
408
60
2
0
false
true
false
false
false
false
zero
71,294,642
error package MediaLoadRequestData does not exist Chromecast Codelab error
<p>I am following Google Codelab to setup a Chromecast sender app. In section 6 -&gt; casting video content They provide me following code.</p> <p><a href="https://developers.google.com/cast/codelabs/cast-videos-android#5" rel="nofollow noreferrer">https://developers.google.com/cast/codelabs/cast-videos-android#5</a></...
I am following Google Codelab to setup a Chromecast sender app. In section 6 -> casting video content They provide me following code. https://developers.google.com/cast/codelabs/cast-videos-android#5 To build MediaInfo object to model my item, which is going to be displayed they provide buildMediaInfo() [CODE] and also...
java|android|chromecast
0
2022-02-28T11:54:27.533Z
2,022
2
11
0
33
0
520
74
3
2
true
true
false
false
false
false
zero
71,314,104
App to sending multiple SMS doesn't work correct
<p>I created my first app, and I have a small problem with my app I created an app sending multiple SMS with the same text to over 150 phone numbers. In my app, I use the default android app to send SMS. Only in my app, do I have many phone numbers and message texts.</p> <p>In my app I have a few buttons, when I click ...
I created my first app, and I have a small problem with my app I created an app sending multiple SMS with the same text to over 150 phone numbers. In my app, I use the default android app to send SMS. Only in my app, do I have many phone numbers and message texts. In my app I have a few buttons, when I click on them th...
java|android|sms
0
2022-03-01T20:09:34.963Z
2,022
3
20
1
33
0
813
48
3
2
true
true
false
false
false
false
zero
71,321,595
Expo Android Open Source Project (AOSP, Graphene OS) notifications
<p>Is there a way to reliably deliver notifications to a managed expo application that is run on a &quot;google free&quot; Android distribution, such as Graphene OS?</p>
Is there a way to reliably deliver notifications to a managed expo application that is run on a &quot;google free&quot; Android distribution, such as Graphene OS?
react-native|expo|android-source
1
2022-03-02T11:05:17.763Z
2,022
3
11
2
33
0
162
66
3
0
false
true
false
false
false
false
low
71,349,412
Android Add blur to shadow
<p>I have to add shadow to text view. Here is the parameters of shadow: x=0 y=1 blur=4 spread = 0</p> <p>Is it possible to add blur to textview shadow somehow in android?</p>
I have to add shadow to text view. Here is the parameters of shadow: x=0 y=1 blur=4 spread = 0 Is it possible to add blur to textview shadow somehow in android?
android|uitextview|shadow
0
2022-03-04T09:42:08.463Z
2,022
3
9
4
33
0
160
26
3
0
false
true
false
false
false
false
zero
71,363,081
Why some Accessibility Services in Android trigger random onItemClick events on spinners despite on setSelection animate: false?
<p>we've been having this issue in our app for some time and after a long search the only thing I found is this commentary saying that this is expected behavior: <a href="https://stackoverflow.com/a/17125287/18272600">https://stackoverflow.com/a/17125287/18272600</a></p> <p>Unfortunately it was not marked as the main s...
we've been having this issue in our app for some time and after a long search the only thing I found is this commentary saying that this is expected behavior: https://stackoverflow.com/a/17125287/18272600 Unfortunately it was not marked as the main solution, and it also doesn't explain the why of this I am asking in pa...
android|random|triggers|accessibility|spinner
0
2022-03-05T14:37:22.993Z
2,022
3
14
5
33
0
938
128
5
0
false
true
false
false
false
false
zero
71,367,468
How to update the map properly using canvas and a button when the players relocate to a new location?
<p><a href="https://i.stack.imgur.com/EcgGl.jpg" rel="nofollow noreferrer">My game snapshot Attachment</a>&gt; Blockquote</p> <blockquote> <p>My canvas constructs</p> </blockquote> <pre><code> public class DrawingView4 extends View{ DrawingView4(Context context4) { super(context4); } @Override protected ...
My game snapshot Attachment > Blockquote My canvas constructs [CODE] Blockquote My Relocate button //I use sharepreference called AllObjects rather than a list and I Only update the path of objects in specific tile in sharedpreference such as in variable 1, 2, etc. and then re-draw using this code below, next time I up...
android-canvas
1
2022-03-06T03:23:24.980Z
2,022
3
3
6
33
0
757
101
1
2
true
true
false
false
false
false
low
71,383,842
How to get control frames, management frames and data frames from WLAN using android studio
<p>I am trying to build an application that will need 802.11 control frames, management frames and data frames together. And how can i get these data in android studio</p>
I am trying to build an application that will need 802.11 control frames, management frames and data frames together. And how can i get these data in android studio
android-studio|wifi
0
2022-03-07T15:58:15.417Z
2,022
3
15
0
33
0
164
91
2
0
false
true
false
false
false
false
zero
71,403,314
Refresh Get HTTP Request to Textview (Android Studio)
<p>I have to receive information from a server created by ESP32 and then continuously display this value in real-time as it changes on my Android Studio Application.</p> <p>Is there a way to refresh an HTTP GET Request and display to textview? Any recommendations on how to do this would be appreciated.</p>
I have to receive information from a server created by ESP32 and then continuously display this value in real-time as it changes on my Android Studio Application. Is there a way to refresh an HTTP GET Request and display to textview? Any recommendations on how to do this would be appreciated.
java|android
0
2022-03-09T01:29:42.540Z
2,022
3
1
2
33
0
293
53
2
0
false
true
false
false
false
false
zero
71,093,389
Fragment incide AppCompatDialog
<p>I have simple DialogWindow XML:</p> <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;300dp&quot; android:layout_height=&quot;150dp&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; android:orientation=&quot;v...
I have simple DialogWindow XML: [CODE] Code: [CODE] In which i have some fragments for example the Main one: [CODE] It works perfectly for the first time i start Dialog Window, but when i close it and start again, i got this llegalArgumentException: Binary XML file line #20: Duplicate id 0x7f080136, tag null, or parent...
android|kotlin|android-fragments|android-dialog
1
2022-02-12T15:50:43.663Z
2,022
2
15
5
34
0
425
31
4
3
true
true
false
false
false
false
low
71,097,168
rxAndroid Subscribing while app is in the background
<p>I am currently working on an App which relies on a Wifi Connection to some devices. We have a subscribe set up in a view model to detect the device connection status from an observable, e.g. Connected or Not Connected.</p> <p>This is done through setting up an observable which will update whenever the connection is ...
I am currently working on an App which relies on a Wifi Connection to some devices. We have a subscribe set up in a view model to detect the device connection status from an observable, e.g. Connected or Not Connected. This is done through setting up an observable which will update whenever the connection is lost/gaine...
java|android|kotlin|background-process|rx-android
0
2022-02-13T01:16:49.363Z
2,022
2
1
6
34
0
1,020
52
5
0
false
true
false
false
false
false
zero
71,102,976
Login on web site asp.net with a app android
<p>I am working on an app to signin an ASP.NET website of the CFE Mexico to download my electric service payment, the website does not have an API. My question is, if it is possible to introduce my username and my password to the CFE server without using an API since it does not exist? If possible, could you tell me wh...
I am working on an app to signin an ASP.NET website of the CFE Mexico to download my electric service payment, the website does not have an API. My question is, if it is possible to introduce my username and my password to the CFE server without using an API since it does not exist? If possible, could you tell me what ...
android|asp.net|authentication
0
2022-02-13T17:00:48.083Z
2,022
2
17
6
34
0
429
44
3
1
true
true
false
false
false
false
zero
71,103,389
I can't output bluetooth pairing dialog
<p>I need to create Rfcomm socket. For this I use <code>createInsecureRfcommSocketToServiceRecord()</code>. Android Studio marks this as an error, because permission which may be rejected by user. To request permission from the user, I use the code:</p> <pre><code>if (ContextCompat.checkSelfPermission(MainActivity.this...
I need to create Rfcomm socket. For this I use createInsecureRfcommSocketToServiceRecord() . Android Studio marks this as an error, because permission which may be rejected by user. To request permission from the user, I use the code: [CODE] But nothing appears and the device forbids my program to create a socket.
java|android|android-studio|bluetooth|dialog
0
2022-02-13T17:53:01.497Z
2,022
2
17
6
34
0
315
39
5
1
true
true
false
false
false
false
zero
71,110,144
Getting crash on LocationListener onStatusChanged. But I have already implemented function in code
<p><a href="https://i.stack.imgur.com/NrEHj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NrEHj.png" alt="enter image description here" /></a>Getting this error in crashlytics</p> <p>Fatal Exception: java.lang.AbstractMethodError abstract method &quot;void android.location.LocationListener.onStatus...
Getting this error in crashlytics Fatal Exception: java.lang.AbstractMethodError abstract method &quot;void android.location.LocationListener.onStatusChanged(java.lang.String, int, android.os.Bundle)&quot; Even after implementing onStatusChanged in code.
java|android
0
2022-02-14T10:12:28.580Z
2,022
2
10
0
34
0
254
98
2
0
false
true
false
false
false
false
zero
71,132,471
Nav Bar Icons not changing to gray on apps with light theme
<p>I have used adb to add working volume buttons to the nav bar on my Fire tablet (Pie version of Fire OS), but I'm running into a few problems:</p> <ul> <li><p>The volume icons I used (Google Fonts Icons) do not automatically change to gray (like the stock back,home,recent buttons do) in apps that change the nav bar t...
I have used adb to add working volume buttons to the nav bar on my Fire tablet (Pie version of Fire OS), but I'm running into a few problems: The volume icons I used (Google Fonts Icons) do not automatically change to gray (like the stock back,home,recent buttons do) in apps that change the nav bar to white/light theme...
android|adb
0
2022-02-15T19:46:08Z
-1
-1
-1
-1
34
0
982
59
2
0
false
true
false
false
false
false
zero
71,148,632
Can we now access the mobile data usage stats with NetworkStatsManager with Q or above?
<p>Previously before Q, it was programmatically impossible to access the &quot;Settings &gt; Data Usage&quot; value for the amount of mobile data used.</p> <p><a href="https://stackoverflow.com/questions/36371735/how-do-i-access-mobile-data-usage-stats-in-android">Previously answered years ago as a NO.</a></p> <p>With ...
Previously before Q, it was programmatically impossible to access the &quot;Settings > Data Usage&quot; value for the amount of mobile data used. Previously answered years ago as a NO. With the advent of NetworkStatsManager or any other recent API addition, can we now retrieve that value?
android
0
2022-02-16T20:08:00.820Z
2,022
2
20
2
34
0
289
87
1
0
false
true
false
false
false
false
zero
71,152,837
How to get the active fragment id in fragment for navcontroller?
<p>Im using a Base Fragment and need to call a method(with Boolean true) for specific fragment when its active. and call the same method(with Boolean false) when other fragments are active.</p>
Im using a Base Fragment and need to call a method(with Boolean true) for specific fragment when its active. and call the same method(with Boolean false) when other fragments are active.
android|kotlin|navigation
0
2022-02-17T05:15:48.580Z
2,022
2
5
3
34
0
186
64
3
0
false
true
false
false
false
false
zero
71,177,967
Creating a "screen" that opens on the side of an activity
<p>I am creating a tower defense game for one of my classes. It is being built in vanilla android studio so no external libraries/etc. A few elements of my game are inspired by Bloons Tower Defense 2D and one of the aspects I am trying to implement is a shop on the main game screen. More specifically I currently have a...
I am creating a tower defense game for one of my classes. It is being built in vanilla android studio so no external libraries/etc. A few elements of my game are inspired by Bloons Tower Defense 2D and one of the aspects I am trying to implement is a shop on the main game screen. More specifically I currently have an a...
java|android|android-studio|android-fragments|game-development
0
2022-02-18T18:00:09.867Z
2,022
2
18
4
34
0
2,473
57
5
4
true
true
false
false
false
false
zero
71,213,415
Android Camera2 Image Buffer Value Not Predictable
<p>I am manually controlling the SENSOR_SENSITIVITY, SENSOR_FRAME_DURATION, SENSOR_EXPOSURE_TIME, COLOR_CORRECTION_GAINS, COLOR_CORRECTION_TRANSFORM, and COLOR_CORRECTION_MODE for image collection. Also, I am using <code>onImageAvailable</code> to analyze the image.</p> <p>However, I found the pixel value from Y channe...
I am manually controlling the SENSOR_SENSITIVITY, SENSOR_FRAME_DURATION, SENSOR_EXPOSURE_TIME, COLOR_CORRECTION_GAINS, COLOR_CORRECTION_TRANSFORM, and COLOR_CORRECTION_MODE for image collection. Also, I am using onImageAvailable to analyze the image. However, I found the pixel value from Y channel is unpredictable. Whe...
android|kotlin|image-processing|android-camera2|yuv
0
2022-02-21T21:49:12.117Z
2,022
2
21
0
34
0
660
50
5
0
false
true
false
false
false
false
zero
71,237,036
TileLoader failed to load tile due to mWriter being null (map shutdown?)
<p>Good afternoon. Yesterday I decided to split my project into several tabs. Decided to use ViewPager2. In one of the fragments (tabs) I have an OpenSreetMap map. When I open it for the first time, everything works great, but if I scroll through the tab and then go back, the map becomes empty, and the message is repea...
Good afternoon. Yesterday I decided to split my project into several tabs. Decided to use ViewPager2. In one of the fragments (tabs) I have an OpenSreetMap map. When I open it for the first time, everything works great, but if I scroll through the tab and then go back, the map becomes empty, and the message is repeatin...
android|kotlin|dictionary|openstreetmap|android-viewpager2
0
2022-02-23T12:35:30.100Z
2,022
2
12
2
34
0
784
72
5
5
true
true
false
false
false
false
zero
71,290,198
How to test callback (interface) from a Custom Dialog to fragment using Robolectric and mockito in android?
<p>I have a custom dialog class in android something like this</p> <pre><code>class MyDialog extends Dialog { MyCallback callback; private Button mBtn; public MyDialog(MyCallback callback) { this.callback = callback; } void onCreate() { //inits everything mBtn.setOnClickListen...
I have a custom dialog class in android something like this [CODE] now inside of fragment I am showing this dialog [CODE] now in my showDialog test I want to invoke this callback this is what i am currently doing inside of test [CODE] this invokes the showDialog method and creates an instance of it but i want to execut...
android|junit|mockito|powermock|robolectric
0
2022-02-28T02:59:05.637Z
2,022
2
2
0
34
0
362
107
5
3
true
true
false
false
false
false
zero
71,359,334
Best practice for uploading images from Android to Cloud Hosting (DigitalOcean or Hostinger)
<p>I'm trying to find a way on how to upload images to digitalOcean Spaces from my kotlin android application. Here is what I want to do:</p> <ol> <li>Let the user Upload images to a Cloud Storage.</li> <li>Create an Node.js GraphQL API to store the name, username, image-url etc on a MySQL Database.</li> </ol> <p>Numbe...
I'm trying to find a way on how to upload images to digitalOcean Spaces from my kotlin android application. Here is what I want to do: Let the user Upload images to a Cloud Storage. Create an Node.js GraphQL API to store the name, username, image-url etc on a MySQL Database. Number 2 is finished and working fine, the o...
php|android|node.js|kotlin|graphql
1
2022-03-05T03:50:41.070Z
2,022
3
3
5
34
0
1,118
92
5
0
false
true
false
false
false
false
low
71,365,171
This Error Force close my app when I'm inspecting my table : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
<p>I have table in my application and I'm Running my app on Huawei y9 and this error pops up after a 30 sec and force close my application. I <a href="https://stackoverflow.com/questions/71333876/android-room-id-value-get-duplicate-on-each-app-test-run">link</a> my other question that I put the code of my table btw Im ...
I have table in my application and I'm Running my app on Huawei y9 and this error pops up after a 30 sec and force close my application. I link my other question that I put the code of my table btw Im ussing implementation &quot;androidx.room:room-runtime:2.3.0&quot; and annotationProcessor &quot;androidx.room:room-com...
java|android|android-room
0
2022-03-05T19:01:59.327Z
2,022
3
19
5
34
0
396
119
3
1
true
true
false
false
false
false
zero
71,369,439
android: ellipSize behave differently for google-Chip and TextView
<p>I am debugging one issue related to <code>ellipSize</code> (middle) while using <code>com.google.android.material.chip.Chip</code>. For that, I have created a small application to isolate the issue.</p> <p>If I use <code>TextView</code>, then I get the desired truncation behavior (ellipsis in middle) with long text....
I am debugging one issue related to ellipSize (middle) while using com.google.android.material.chip.Chip . For that, I have created a small application to isolate the issue. If I use TextView , then I get the desired truncation behavior (ellipsis in middle) with long text. But if I just replace TextView with Chip in th...
android|android-layout|textview|truncate|ellipsize
0
2022-03-06T10:27:05.347Z
2,022
3
10
6
34
0
538
66
5
1
true
true
false
false
false
false
zero
71,369,808
nested recyclerview to open a new activity
<p>I am new to Android developing and I am stuck and can't find solution how can I do <code>onClick()</code> event to open new activity for nested <code>RecyclerView</code></p> <p>this is <code>MainActivity.kt</code></p> <pre><code>package com.example.recyclerviewmultitypeexample import android.os.Bundle import androi...
I am new to Android developing and I am stuck and can't find solution how can I do onClick() event to open new activity for nested RecyclerView this is MainActivity.kt [CODE] this is RecyclerViewAdapter.kt [CODE] this is Data.kt [CODE]
android|android-studio|kotlin|android-recyclerview|nestedrecyclerview
1
2022-03-06T11:22:55.950Z
2,022
3
11
6
34
0
235
42
5
3
true
true
false
false
false
false
low
71,395,449
Firebase crashlytics error with msal library in android manifest
<p>I have weird issue happens only on one phone, but it application was working for months on this phone Samsung Galaxy s8 for a long time. Reinstalls doesn't give the solution. Install previous version doesn't work as well. It works on other phones. What happens, how to fix it?</p> <p>error from crashlytics:</p> <pre>...
I have weird issue happens only on one phone, but it application was working for months on this phone Samsung Galaxy s8 for a long time. Reinstalls doesn't give the solution. Install previous version doesn't work as well. It works on other phones. What happens, how to fix it? error from crashlytics: [CODE] My androidma...
android|android-manifest
0
2022-03-08T12:56:11.880Z
2,022
3
12
1
34
0
428
64
2
2
true
true
false
false
false
false
zero
71,411,337
Animation between bottom nav bar elements
<p>I am trying to understand how the animations in the new NavigationUI works. I am utilising the <a href="https://github.com/android/architecture-components-samples/tree/main/NavigationAdvancedSample" rel="nofollow noreferrer">NavigationAdvancedSample</a> and added fragment animations to the actions in the form and li...
I am trying to understand how the animations in the new NavigationUI works. I am utilising the NavigationAdvancedSample and added fragment animations to the actions in the form and list nav_graphs. The end result is this: form.xml [CODE] list.xml [CODE] Now my question: When I navigate in both nav graphs using the abov...
android|android-architecture-navigation|android-navigation|android-navigation-graph
0
2022-03-09T14:56:42.953Z
2,022
3
14
2
34
0
712
41
4
2
true
true
false
false
false
false
zero
71,426,779
how to don't allow to user to delete push notification on android studio
<p>I am developing an app and I am using firebase push notification and I want disable the ability to delete push notification by user. I can do it when my app in foreground . But I am struggling to do it when my app is in background. Any one know how to do it .</p>
I am developing an app and I am using firebase push notification and I want disable the ability to delete push notification by user. I can do it when my app in foreground . But I am struggling to do it when my app is in background. Any one know how to do it .
android|firebase|push-notification|android-notification-bar
0
2022-03-10T15:33:30.040Z
2,022
3
15
3
34
0
259
72
4
0
false
true
false
false
false
false
zero
71,114,095
Jetpack Compose Swipe right to go back
<p>How to use JC to swipe back to the right, similar to the following effect:</p> <p>Most likely to utilize the <a href="https://google.github.io/accompanist/navigation-animation/" rel="nofollow noreferrer">Accompanist</a> library, since it includes animations and just need to add gestures</p> <p><a href="https://i.sta...
How to use JC to swipe back to the right, similar to the following effect: Most likely to utilize the Accompanist library, since it includes animations and just need to add gestures
android|android-jetpack-compose|android-jetpack-navigation
0
2022-02-14T15:17:16.393Z
2,022
2
15
0
290
0
181
38
3
0
false
true
false
false
false
false
zero
71,141,692
How to make a binary (*.so-file) trusted in Android?
<p>I'm executing a binary *.so file from my base android app. The logs indicate that the binary is running fine. However it is not possible to get a socket connection between the base app and the binary as I get:</p> <pre><code>W/libtor.so: type=1400 audit(0.0:48): avc: denied { ioctl } for path=&quot;socket:[45018]&qu...
I'm executing a binary *.so file from my base android app. The logs indicate that the binary is running fine. However it is not possible to get a socket connection between the base app and the binary as I get: [CODE] So it seems that the binary is not allowed (untrusted app) to have an socket connection with my base ap...
java|android|executable
0
2022-02-16T12:15:04.847Z
2,022
2
12
2
35
0
533
52
3
1
true
true
false
false
false
false
zero
71,165,415
Divider colors not showing
<p>I'm trying to add attr and use it on divider so that divider color will automatically change on switching to dark mode but the color is not showing.</p> <p>This is my <strong>attrs.xml</strong> file:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; </code></pre> <pre><code>&lt;!-- Oth...
I'm trying to add attr and use it on divider so that divider color will automatically change on switching to dark mode but the color is not showing. This is my attrs.xml file: [CODE] [CODE] This is the colors.xml file (now focus on divider colors only): [CODE] #202020 #BFBFBF themes.xml file: [CODE] activity.xml file: ...
android|xml|android-studio
0
2022-02-17T21:12:56.590Z
2,022
2
21
3
35
0
394
26
3
5
true
true
false
false
false
false
zero