id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
72,293,696
Creating and populating HardwareBuffer for junit tests
<p>I'm working with an Android 10 Java application that collects YUV_420_888 images from the camera, then calls</p> <p><code>processImage(image.getHardwareBuffer())</code></p> <p>where <code>processImage</code> is implemented in C and executed in TEE.</p> <p>I would like to create a junit test that calls <code>processI...
I'm working with an Android 10 Java application that collects YUV_420_888 images from the camera, then calls processImage(image.getHardwareBuffer()) where processImage is implemented in C and executed in TEE. I would like to create a junit test that calls processImage on static images loaded from disk instead of from t...
android|android-ndk|android-camera
0
2022-05-18T17:39:03.183Z
2,022
5
17
2
30
0
1,061
54
3
0
false
true
false
false
false
false
zero
72,293,737
Redirect_uri issues with spotify api on flutter
<p>I need your help. I'm trying to get a token from the spotify api.</p> <pre><code>String url = &quot;https://accounts.spotify.com/authorize?client_id=MyClientId&amp;response_type=code&amp;redirect_uri=http://127.0.0.1:8888/callback&amp;scope=user-read-playback-state user-read-private user-read-currently-playing strea...
I need your help. I'm trying to get a token from the spotify api. [CODE] The request work properly except the redirect_uri. &quot;the webpage at ... could not be loaded because : net::ERR_CONECTION_REFUSED&quot; i have tried to enable deep link on the manifest : [CODE] But the app doesn't build cause to the [CODE] Also...
android|flutter|api|spotify|redirect-uri
0
2022-05-18T17:42:33.600Z
2,022
5
17
2
103
0
680
47
5
3
true
true
false
false
false
false
zero
72,293,769
IONIC 6 'UploadMappingFileTask' property 'googleServicesResourceRoot' doesn't have a configured value
<p>When I try to build an android with command <strong>ionic cordova build android --prod --release</strong> build is failing with the error shown below :</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li><p>What went wrong: A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFil...
When I try to build an android with command ionic cordova build android --prod --release build is failing with the error shown below : FAILURE: Build failed with an exception. What went wrong: A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask'). T...
android|angular|cordova|ionic-framework|ionic6
1
2022-05-18T17:45:32.713Z
2,022
5
17
2
55
0
2,033
101
5
1
true
true
false
false
false
false
low
72,293,779
How to play/prepare a video in the background during displaying another video?
<p>I want to play/prepare a video in the background during displaying another video. To prevent black loading before video start. First I describe my code and then the problem.</p> <p>I use a RelativeLayout as container. Which has an event and hides the added view in the onChildViewAdded method.</p> <pre><code>Relative...
I want to play/prepare a video in the background during displaying another video. To prevent black loading before video start. First I describe my code and then the problem. I use a RelativeLayout as container. Which has an event and hides the added view in the onChildViewAdded method. [CODE] A layout is created in a l...
android|android-mediaplayer|surfaceview
0
2022-05-18T17:46:37.953Z
2,022
5
17
2
23
0
1,414
78
3
3
true
true
false
false
false
false
zero
72,293,960
Fatal Exception: java.lang.IllegalStateException: No definition found for d with Usabilla. Has anyone faced this crash before?
<pre><code>Fatal Exception: java.lang.IllegalStateException: No definition found for d at com.usabilla.sdk.ubform.di.Component.getProvider(Component.java:30) at com.usabilla.sdk.ubform.di.Component.get(Component.java) at com.usabilla.sdk.ubform.di.Component.access$get(Component.java) at com....
[CODE] Sorry I'm not providing much information but that's all I got from Crashlytics and I couldn't reproduce the crash neither
java|android|kotlin|crashlytics|illegalstateexception
0
2022-05-18T18:02:23.530Z
2,022
5
18
2
49
0
128
126
5
1
true
true
false
false
false
false
zero
72,293,988
date difference in millis to localdatetime
<p>I need to print date again after i calculated difference between two dates.</p> <p>here is what I tried:</p> <pre><code> fun getRemainingTime(endTime: ZonedDateTime): Long { val currentTime = ZonedDateTime.now(ZoneId.systemDefault()) return dateUtils.durationDifference(currentTime, endTime).toMillis...
I need to print date again after i calculated difference between two dates. here is what I tried: [CODE] but when I try to convert it to localdate like below again it starts with 1970 . So I need to actual date which was calculated. for example: difference between 2022-10-10 and 2022-10-12 should be 2022-10-02 [CODE]
java|android
1
2022-05-18T18:04:39.187Z
2,022
5
18
2
66
1
318
42
2
2
true
false
false
false
false
false
low
72,294,060
How can I fix the 'error to install app" and when running '$npx react-native run-android'?[FIXED]
<ul> <li>node version v16.14.2</li> <li>react 17.0.2 -react-native 0.68.2 I can run the app with '$npm start' using the expo quickstart method. I've have tried every solution I can find but I am clearly missing something. Running '$npx react-native run-android' however gives me the following errors</li> </ul> <blockquo...
node version v16.14.2 react 17.0.2 -react-native 0.68.2 I can run the app with '$npm start' using the expo quickstart method. I've have tried every solution I can find but I am clearly missing something. Running '$npx react-native run-android' however gives me the following errors Task :react-native-gradle-plugin:compi...
react-native|android-studio|ubuntu|expo
0
2022-05-18T18:11:20.587Z
2,022
5
18
2
276
0
1,665
97
4
2
true
true
false
false
false
false
zero
72,294,114
Android - Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10
<p>I have recently upgraded to Flutter 3.0. And later I encountered an issue after trying to run. After it finished downloading Gradle 6.7 and on starting Gradle Daemon, I got this error</p> <blockquote> <p>Could not resolve all artifacts for configuration ':classpath'. Could not resolve org.jetbrains.kotlin:kotlin-gra...
I have recently upgraded to Flutter 3.0. And later I encountered an issue after trying to run. After it finished downloading Gradle 6.7 and on starting Gradle Daemon, I got this error Could not resolve all artifacts for configuration ':classpath'. Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10. Requ...
java|android|kotlin|gradle
0
2022-05-18T18:15:21.533Z
2,022
5
18
2
449
1
945
76
4
0
false
false
false
false
false
false
zero
72,294,118
Method name is not showing
<p>We got another problem. When we type init it does not show initState method in possible match list. In fact it doesn't show any matching list. <a href="https://i.stack.imgur.com/jOyFf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jOyFf.png" alt="MyCode" /></a> <a href="https://i.stack.imgur.com/...
We got another problem. When we type init it does not show initState method in possible match list. In fact it doesn't show any matching list. Inside a statefulWidget if we typed the keyword &quot;set&quot; a list of possible match shows up. In the list there was a method named setState((){}) to trigger rebuild to upda...
flutter|android-studio
0
2022-05-18T18:15:32.137Z
2,022
5
18
2
77
4
499
26
2
0
false
false
false
false
false
false
zero
72,294,282
Why is PyDroid 3 so slow lately?
<p>I was creating a code for a game on my cell phone with pygame and pydroid it was running super smooth so I updated it and it got super slow and with a lot of fps drop when I try to downgrade the pydroid version can't download python and consequently pydroid doesn't work i don't want to lose my game so if anyone can ...
I was creating a code for a game on my cell phone with pygame and pydroid it was running super smooth so I updated it and it got super slow and with a lot of fps drop when I try to downgrade the pydroid version can't download python and consequently pydroid doesn't work i don't want to lose my game so if anyone can hel...
python|android|pygame|lag
0
2022-05-18T18:28:25.373Z
2,022
5
18
2
46
0
349
32
4
0
false
true
false
false
false
false
zero
72,294,585
Expandable Card Lazy Vertical Grid in Compose
<p>How to make a Lazy vertical grid with expandable card. While card expanding, The grid should look like a staggered grid view.</p> <p><a href="https://i.stack.imgur.com/JY0J4.png" rel="nofollow noreferrer">While card expanding, White space should be avoid.</a></p> <p><a href="https://i.stack.imgur.com/V3HGN.png" rel=...
How to make a Lazy vertical grid with expandable card. While card expanding, The grid should look like a staggered grid view. While card expanding, White space should be avoid. Grid view should be look like this
android|android-jetpack-compose
0
2022-05-18T18:54:39.123Z
2,022
5
18
2
68
0
211
45
2
0
false
true
false
false
false
false
zero
72,294,614
How to write into a file picked by user in Android 12
<p>I encounter a problem only on Android 12, I try to add some lines into a file localized in a folder that the user pick. I worked on a Samsung A70 (Android 11), and to accomplish that I launch an <code>Intent.ACTION_OPEN_DOCUMENT_TREE</code>, check all to have to be checked (not null, file existing etc).</p> <p>After...
I encounter a problem only on Android 12, I try to add some lines into a file localized in a folder that the user pick. I worked on a Samsung A70 (Android 11), and to accomplish that I launch an Intent.ACTION_OPEN_DOCUMENT_TREE , check all to have to be checked (not null, file existing etc). After that, i launch an get...
java|security|android-12
0
2022-05-18T18:57:24.513Z
2,022
5
18
2
180
0
1,780
53
3
2
true
true
false
false
false
false
zero
72,294,634
default options on android peap connection
<p>Is there any way to leave the &quot;do not validate&quot; option marked as default in the connection options in a peap wifi network?</p> <p><a href="https://i.stack.imgur.com/rBCLA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rBCLA.png" alt="enter image description here" /></a></p>
Is there any way to leave the &quot;do not validate&quot; option marked as default in the connection options in a peap wifi network?
android|freeradius|ntlm-authentication
0
2022-05-18T19:00:07.383Z
2,022
5
19
2
9
0
132
42
3
0
false
true
false
false
false
false
zero
72,294,708
Android studio downloading invalid lower external library dependency
<p>I am seeing a gradle dependency of <code>com.squareup.javapoet:1.10.0</code> in the External Libraries section of Android Studio.</p> <p><a href="https://i.stack.imgur.com/zIiFN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zIiFN.png" alt="enter image description here" /></a></p> <p>However, whe...
I am seeing a gradle dependency of com.squareup.javapoet:1.10.0 in the External Libraries section of Android Studio. However, when I resolve the gradle dependencies task I don't even see that version, either 1.11 or 1.13 is resolved. This is causing me problems because when I compile the project it is not finding the l...
android|android-studio|gradle|gradle-dependencies|javapoet
0
2022-05-18T19:06:37.850Z
2,022
5
19
2
20
0
341
68
5
1
true
true
false
false
false
false
zero
72,294,850
Creating an alarm in android to fire at a particular date and time
<p>actually i got some while i am creating my application . In this application i want to send the notification to the user at a particular date and time which he was already choosen . For that I had used alarm manager class and created a seperate broadcast receiver class too but the broadcast receiver is not triggerin...
actually i got some while i am creating my application . In this application i want to send the notification to the user at a particular date and time which he was already choosen . For that I had used alarm manager class and created a seperate broadcast receiver class too but the broadcast receiver is not triggering ....
java|android|broadcastreceiver|alarmmanager|android-alarms
0
2022-05-18T19:19:53.243Z
2,022
5
19
2
26
0
770
66
5
2
true
true
false
false
false
false
zero
72,294,981
Facing Appium error: Error getting device API level
<p>These are the errors I got, as a test is done on cucumber, appium for mobile testing. I used windows and eclipse (cucumber) and I got these errors, before it was running</p> <pre><code>Failed to Create Session. The session identified by fca400..... is not known </code></pre> <p>and when I ran adb uninstall io.appium...
These are the errors I got, as a test is done on cucumber, appium for mobile testing. I used windows and eclipse (cucumber) and I got these errors, before it was running [CODE] and when I ran adb uninstall io.appium.uiautomator2.server; adb uninstall io.appium.uiautomator2.server.test; adb uninstall io.appium.unlock (w...
cucumber|appium|appium-android
0
2022-05-18T19:31:11.917Z
2,022
5
19
2
92
0
854
51
3
1
true
true
false
false
false
false
zero
72,295,511
Gradle won't allow multiple includeBuild statements with the same endpoint name in their paths
<p>I'm trying to include modules from my own library in <code>settings.gradle</code>:</p> <pre><code>rootProject.name = &quot;MyApp&quot; include ':app' includeBuild '/usr/local/library/Android/Event/code' includeBuild '/usr/local/library/Android/Location/code' includeBuild '/usr/local/library/Android/Widget/code' </c...
I'm trying to include modules from my own library in settings.gradle : [CODE] But gradle complains: Included build /usr/local/library/Android/Event/code has build path :code which is the same as included build /usr/local/library/Android/Location/code I'd really like to keep all Android/gradle related files in code for ...
android-studio|gradle|android-gradle-plugin|include
2
2022-05-18T20:22:51.150Z
2,022
5
20
2
173
0
628
94
4
1
true
true
false
false
false
false
low
72,295,605
ConnectivityService: ConnectivityService NetworkRequestInfo binderDied - application dies after lost internet connection
<p>I have following permissions in AndroidManifest.xml</p> <pre><code>&lt;uses-permission android:name=&quot;android.permission.MANAGE_EXTERNAL_STORAGE&quot; /&gt; &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt; &lt;uses-permission android:name=&quot;android.permission.ACCESS...
I have following permissions in AndroidManifest.xml [CODE] Then I have this BroadcastReceiver: [CODE] I have Android TV box with Android 11, exactly I have two boxes from different vendors, on both is there only ethernet, not wifi, but on one of them is all working well, but on the other app start, starts foreground se...
android|android-source|android-binder
0
2022-05-18T20:30:04.840Z
2,022
5
20
2
180
1
604
120
3
3
true
false
false
false
false
false
zero
72,295,714
Socket not transfer data while app in background
<p>I have foreground service running on my app, the service execute thread that send data to other device on the same network with socket.</p> <p>When I run the service everything works fine. But, when I tap on home button, the app start to run on background and the data not sent to Other device for few seconds. After ...
I have foreground service running on my app, the service execute thread that send data to other device on the same network with socket. When I run the service everything works fine. But, when I tap on home button, the app start to run on background and the data not sent to Other device for few seconds. After few second...
android|kotlin|sockets|foreground-service
0
2022-05-18T20:39:54.287Z
2,022
5
20
2
74
0
535
48
4
0
false
true
false
false
false
false
zero
72,295,944
Android convert pdf pages to images error: java.io.IOException: cannot create document: File not in PDF format or corrupted
<p>I'm developing an app to display pdf documents received from server using this library:</p> <pre><code>https://github.com/barteksc/AndroidPdfViewer </code></pre> <p>Everything works fine, I can render the pdf using input streams like below:</p> <pre><code>reportsViewModel.inputStreamResponse.observe(getViewLifecycle...
I'm developing an app to display pdf documents received from server using this library: [CODE] Everything works fine, I can render the pdf using input streams like below: [CODE] Now I want to convert each pdf pages to images, I tried something like this: [CODE] But the code throws an exception: [CODE] My document is pd...
java|android|pdf
0
2022-05-18T21:01:46.580Z
2,022
5
21
2
83
0
626
123
3
5
true
true
false
false
false
false
zero
72,296,031
Retrofit2 and Moshi problem: Failed to find the generated JsonAdapter class for class - Failed to find the generated JsonAdapter class for class
<p>I don't know why get this exception, I generated the data classes from json with a converter and all of the fields are nullable, also added JsonClass annotation and I don't use upper case characters.</p> <p><em>java.lang.RuntimeException: Failed to find the generated JsonAdapter class for class com.example.movieappl...
I don't know why get this exception, I generated the data classes from json with a converter and all of the fields are nullable, also added JsonClass annotation and I don't use upper case characters. java.lang.RuntimeException: Failed to find the generated JsonAdapter class for class com.example.movieapplication.data.n...
android|kotlin|retrofit2|moshi
0
2022-05-18T21:11:30.253Z
2,022
5
21
2
220
0
557
144
4
3
true
true
false
false
false
false
zero
72,296,079
React Native: Text onPress not working on android
<p>I have the following code:</p> <pre><code>&lt;Text onPress={() =&gt; console.log('this won\'t print')}&gt;Dumb text&lt;/Text&gt; </code></pre> <p>According to React Native's documentation, this works great in both iOS and Android, however when I run it myself, it only works on iOS, while Android acts as if the <code...
I have the following code: [CODE] According to React Native's documentation, this works great in both iOS and Android, however when I run it myself, it only works on iOS, while Android acts as if the onPress prop doesn't exist at all. I know I can use TouchableOpacity (all other questions talk about this), but I just n...
android|react-native
0
2022-05-18T21:16:26.860Z
2,022
5
21
2
91
1
444
49
2
1
true
false
false
false
false
false
zero
72,296,168
Question regarding android 12 foreground service launch restriction
<p>I have app update broadcast revceiver. i know that it is in list of exception for starting a foreground service in background. but here is what i am doing.</p> <ol> <li>calling startForegroundService in app update receiver</li> <li>in the newly created service calling startForeground() to show a notification which u...
I have app update broadcast revceiver. i know that it is in list of exception for starting a foreground service in background. but here is what i am doing. calling startForegroundService in app update receiver in the newly created service calling startForeground() to show a notification which updates the alarms from da...
android|broadcastreceiver|foreground-service|android-12|foregroundnotification
0
2022-05-18T21:25:58.690Z
2,022
5
21
2
127
0
515
67
5
0
false
true
false
false
false
false
zero
72,296,352
How to Serializable as nested custom attribute as object in gson, retrofit
<p>Lets take a look</p> <pre><code>&quot;hashtags_vs_categories&quot;: { &quot;cinema&quot;: { &quot;category&quot;: &quot;bangladeshi_trends&quot; }, &quot;avengers&quot;: { &quot;category&quot;: &quot;bangladeshi_trends&quot; }, ...
Lets take a look [CODE] here hashtags_vs_categories need to pass as object. cinema, avengers, tonydies all are hashtags. They could be anything. Here I tried.. [CODE] Here I know has a problem. Actually I don't know how to how to add this type of object.
java|android|gson|retrofit2
0
2022-05-18T21:44:25.097Z
2,022
5
21
2
17
0
254
74
4
2
true
true
false
false
false
false
zero
72,296,543
Could not GET 'https://dl.bintray.com/samanjafaridotir/easyCountDownTimerTextview/'
<p>Could not GET 'https://dl.bintray.com/samanjafaridotir/easyCountDownTimerTextview/com/google/maps/android/android-maps-utils/maven-metadata.xml'. Received status code 502 from server: Bad Gateway Disable Gradle 'offline mode' and sync project</p>
Could not GET 'https://dl.bintray.com/samanjafaridotir/easyCountDownTimerTextview/com/google/maps/android/android-maps-utils/maven-metadata.xml'. Received status code 502 from server: Bad Gateway Disable Gradle 'offline mode' and sync project
java|android|bintray|jcenter
0
2022-05-18T22:08:54.997Z
2,022
5
22
2
20
0
242
83
4
0
false
true
false
false
false
false
zero
72,296,556
Could not create domain object 'gpr' (MavenPublication) in build.gradle.kts
<p>Hey I am trying to publish kmm library in github packages. I followed this <a href="https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry#example-using-kotlin-dsl-for-a-single-package-in-the-same-repository" rel="nofollow noreferrer">doc</a>. But I don't underst...
Hey I am trying to publish kmm library in github packages. I followed this doc . But I don't understand what is project.findProperty(&quot;gpr.user&quot;) and (&quot;gpr.key&quot;) ? I used macos so System.getenv(&quot;USERNAME&quot;) and System.getenv(&quot;TOKEN&quot;) is relevant ? build.gradle.kts [CODE] Error [COD...
android|build.gradle|gradle-kotlin-dsl|kotlin-multiplatform|maven-publish
3
2022-05-18T22:10:36.073Z
2,022
5
22
2
219
0
322
75
5
2
true
true
false
false
false
false
low
72,296,609
Bad notification for startForeground when sound started play
<p>I'm trying to make an alarm clock, but it gives an error when the ringtone is about to play. an error &quot; android.app.RemoteServiceException: Bad notification for startForeground&quot; When I tested on Android 8 everything worked correctly, only on higher Android this problem occurs.................................
I'm trying to make an alarm clock, but it gives an error when the ringtone is about to play. an error &quot; android.app.RemoteServiceException: Bad notification for startForeground&quot; When I tested on Android 8 everything worked correctly, only on higher Android this problem occurs.....................................
java|android|android-studio
1
2022-05-18T22:18:02.630Z
2,022
5
22
2
21
0
379
60
3
2
true
true
false
false
false
false
low
72,296,645
send data from a fragment to an activity xamarin android
<p>I'm sorry I'm using google translate.</p> <p>I am trying to send data from a Fragment to an Activity with no success, the purpose of this is to update a TextView. I can't validate that the Intent brings the data and if I eliminate the validation they have a null value, I detail my code.</p> <p>Fragment</p> <pre><cod...
I'm sorry I'm using google translate. I am trying to send data from a Fragment to an Activity with no success, the purpose of this is to update a TextView. I can't validate that the Intent brings the data and if I eliminate the validation they have a null value, I detail my code. Fragment [CODE] Invoked [CODE] Activity...
android|xamarin|android-intent|android-activity|fragment
1
2022-05-18T22:24:40.747Z
2,022
5
22
2
60
2
327
56
5
3
true
false
false
false
false
false
low
72,296,727
How to test ViewModel when extended by AndroidViewModel
<p>I am testing the ViewModel which is extended by <code>AndroidViewModel(application)</code>.</p> <p>Below is my <code>ViewModel</code></p> <pre><code>@RequiresApi(Build.VERSION_CODES.M) @HiltViewModel class HomeFragmentViewModel @Inject constructor( private val repository: MoviesRepository, application: Appli...
I am testing the ViewModel which is extended by AndroidViewModel(application) . Below is my ViewModel [CODE] Now I want this application class to be mocked in the test to initialize the viewmodel to write the test case. Below is my test which I have written : [CODE] Now while running the test I am getting below error :...
android-studio|unit-testing|kotlin|mockito
0
2022-05-18T22:38:25.517Z
2,022
5
22
2
248
1
513
55
4
3
true
false
false
false
false
false
zero
72,296,916
Espresso: No views in hierarchy found matching when using nested layouts
<p>I am bit frustrated why Expresso cannot find my nested layout, but if I do it manually it works.</p> <p>I looked at this thread and it seems like this is the solution, but I simply can't get it to work.</p> <p><a href="https://stackoverflow.com/questions/27890101/espresso-select-children-of-included-layout">Espresso...
I am bit frustrated why Expresso cannot find my nested layout, but if I do it manually it works. I looked at this thread and it seems like this is the solution, but I simply can't get it to work. Espresso select children of included layout I have layout with few nested layouts, so more or less this is the relevant part...
android-layout|android-espresso
0
2022-05-18T23:10:11.093Z
2,022
5
23
2
26
0
791
72
2
5
true
true
false
false
false
false
zero
72,296,973
Frame CornerRadius just bottom corners from code xamarin
<p>I have a frame created from code and my objective is just round bottom corners.</p> <pre><code> Frame frm = new Frame { CornerRadius = 30, BackgroundColor = Color.FromHex(&quot;#FBB519&quot;), HasShadow = t...
I have a frame created from code and my objective is just round bottom corners. [CODE] I've tried [CODE] but doesn't worked. I've tried too use PancakeView to round corners, but I don't know how to use PancakeView from code. Thanks to all the people for trying to help me.
xamarin|xamarin.forms|xamarin.android
0
2022-05-18T23:19:33.560Z
2,022
5
23
2
28
0
272
56
3
2
true
true
false
false
false
false
zero
72,297,022
Is it necessary to create two tables in SQLite and two modal classes to store and retrieve two ViewHolder classes in recyclerview?
<p>Here I am talking about multiview types RecyclerView in android studio. Or let us say, what is the best approach?</p>
Here I am talking about multiview types RecyclerView in android studio. Or let us say, what is the best approach?
java|android-studio|android-recyclerview
0
2022-05-18T23:27:30.187Z
2,022
5
23
2
15
0
113
130
3
0
false
true
false
false
false
false
zero
72,297,098
Task :react-native-splash-screen:processDebugAndroidTestManifest FAILED
<p>command i'm trying to run:</p> <p><code>./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug</code></p> <p>Most of the progress works without failure, but near 90% I get an error message</p> <p>Error Message:</p> <pre><code>Task :react-native-splash-screen:processDebugAndroidTestManifest FAILED [android...
command i'm trying to run: ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug Most of the progress works without failure, but near 90% I get an error message Error Message: [CODE] build.gradle [CODE] I'm having trouble understanding the error message as my minSdkVersion is 21 which should be higher than ...
android|reactjs|react-native|detox
0
2022-05-18T23:38:41.830Z
2,022
5
23
2
169
1
417
71
4
2
true
false
false
false
false
false
zero
72,297,149
Is there any way to wait for a task to complete and then resume the execution of my code? Android Studio Java
<p>I'm doing a carpooling android app in which users can request and offer rides. My problem is in searching the results for the rides as a passenger. My goal is to display all rides taking into consideration: date, time, source and destination. I'm testing to check if the source and destination coordinates of the pass...
I'm doing a carpooling android app in which users can request and offer rides. My problem is in searching the results for the rides as a passenger. My goal is to display all rides taking into consideration: date, time, source and destination. I'm testing to check if the source and destination coordinates of the passeng...
java|android|android-asynctask|wait
1
2022-05-18T23:49:41.733Z
2,022
5
23
2
95
0
653
109
4
3
true
true
false
false
false
false
low
72,297,262
Splash Screen gradient Color in flutter
<p>How Can I make Splash Screen with gradient colors in flutter?</p> <p>I use <a href="https://pub.dev/packages/splash_screen_view" rel="nofollow noreferrer">splash_screen_view: ^3.0.0</a> and I'm trying to add this code ti its <code>Container</code> but it's make an error</p> <pre><code>decoration: BoxDecoration( gr...
How Can I make Splash Screen with gradient colors in flutter? I use splash_screen_view: ^3.0.0 and I'm trying to add this code ti its Container but it's make an error [CODE] and another code doesn't work [CODE]
android|flutter|android-layout|flutter-layout|flutter-dependencies
0
2022-05-19T00:09:44.513Z
2,022
5
0
3
192
1
210
39
5
2
true
false
false
false
false
false
zero
72,297,335
Error: Not found: 'dart:html' import 'dart:html';
<p>I am trying to launch my flutter app, but I encounter the Error: Not found: 'dart:html'. I have tried to import the 'dart.html' with no success. <a href="https://i.stack.imgur.com/Vkwjr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vkwjr.png" alt="enter image description here" /></a></p>
I am trying to launch my flutter app, but I encounter the Error: Not found: 'dart:html'. I have tried to import the 'dart.html' with no success.
android|flutter|dart
1
2022-05-19T00:24:00.107Z
2,022
5
0
3
281
1
144
49
3
0
false
false
false
false
false
false
low
72,297,480
How to parse this particular date format? 2022-05-18T14:00:00+00:00/PT3H
<p>I have been trying for a while, but I cannot figure out how to parse this time format in android, bonus if you can convert it to the devices actual timezone.</p> <pre><code>{ &quot;validTime&quot;: &quot;2022-05-18T14:00:00+00:00/PT3H&quot;, &quot;value&quot;: 5.55555555555555...
I have been trying for a while, but I cannot figure out how to parse this time format in android, bonus if you can convert it to the devices actual timezone. [CODE] I tried Instant, SimpleDateFormat, DateTimeFormatter and I just cannot get it right. Thank you for your time.
android|date|time|timezone
0
2022-05-19T00:50:27.530Z
2,022
5
0
3
35
0
274
72
4
1
true
true
false
false
false
false
zero
72,297,568
java.lang.ClassNotFoundException: Didn't find class "com.vonage.webrtc.voiceengine.BuildInfo"
<p>I tried to install opentok library using dependencies but it's filed so I downloaded a library and added it inside the libs folder after that I got this error</p> <blockquote> <p>W/System.err: java.lang.ClassNotFoundException: Didn't find class<br /> &quot;com.vonage.webrtc.voiceengine.BuildInfo&quot; on path: DexPa...
I tried to install opentok library using dependencies but it's filed so I downloaded a library and added it inside the libs folder after that I got this error W/System.err: java.lang.ClassNotFoundException: Didn't find class &quot;com.vonage.webrtc.voiceengine.BuildInfo&quot; on path: DexPathList[[zip file &quot;/data/...
android|kotlin|opentok
1
2022-05-19T01:09:22.553Z
2,022
5
1
3
78
0
1,104
93
3
0
false
true
false
false
false
false
low
72,297,593
Is <profileable> safe in the production build?
<p>For using <a href="https://developer.android.com/topic/performance/benchmarking/macrobenchmark-overview" rel="nofollow noreferrer">macrobenchmark</a>, we need to add <code>&lt;profileable&gt;</code> to AndroidManifest.</p> <pre class="lang-xml prettyprint-override"><code>&lt;profileable android:shell=&quot;true&...
For using macrobenchmark , we need to add <profileable> to AndroidManifest. [CODE] Is it safe to include <profileable> in the production build?
android|android-manifest
1
2022-05-19T01:14:07.667Z
2,022
5
1
3
169
1
143
46
2
1
true
false
false
false
false
false
low
72,297,722
Is there a way to get scheme url of an installed app? (Android)
<p>From the mobile web, I am trying to open an application that I installed from the store.</p> <p>So far, I found out that apps can be opened by scheme URLs and deep links, but couldn't find out a way to get the scheme URL of the app implemented by others.</p> <p>The best I can do for now is open the google play store...
From the mobile web, I am trying to open an application that I installed from the store. So far, I found out that apps can be opened by scheme URLs and deep links, but couldn't find out a way to get the scheme URL of the app implemented by others. The best I can do for now is open the google play store link. Is there a...
android|url-scheme|mobile-chrome
0
2022-05-19T01:39:19.713Z
2,022
5
1
3
287
1
350
63
3
0
false
false
false
false
false
false
zero
72,297,885
Camera image rotated 90 degrees when taken in landscape mode
<p>I have recently upgraded to flutter 2.10.5 and the camera plugin to 0.9.5. After this upgrade, taking a picture in landscape mode displays it 90 degrees rotated. Any ideas if this is a common issue now? I can reproduce on my Galaxy S10 and also on the android emulator in Android Studio. The FlutterExifRotation plugi...
I have recently upgraded to flutter 2.10.5 and the camera plugin to 0.9.5. After this upgrade, taking a picture in landscape mode displays it 90 degrees rotated. Any ideas if this is a common issue now? I can reproduce on my Galaxy S10 and also on the android emulator in Android Studio. The FlutterExifRotation plugin d...
flutter|android-camera
0
2022-05-19T02:07:49.113Z
2,022
5
2
3
103
0
372
60
2
0
false
true
false
false
false
false
zero
72,297,889
Kotlin Firestore Timestamp Add Time
<p>Is there a way to add time to a <code>Timestamp</code> formatted time without having to convert it multiple times?</p> <pre class="lang-kt prettyprint-override"><code> val seconds: Long = Timestamp.now().seconds val utcDT = LocalDateTime.ofEpochSecond(seconds, 0, ZoneOffset.UTC) val withTwo: LocalD...
Is there a way to add time to a Timestamp formatted time without having to convert it multiple times? [CODE] This is the mess that I went through just to add two hours and return it to Timestamp format two hours in the future. [CODE] I do not want to use the local system time in case the time on the device is incorrect...
android|firebase|kotlin|google-cloud-firestore
0
2022-05-19T02:08:57.857Z
2,022
5
2
3
80
1
361
35
4
2
true
false
false
false
false
false
zero
72,297,933
How to create a "Switch Camera" button for an Android App
<p>Hello stackoverflow people, as an EE student with minimal knowledge in app development, I have been assigned the task of &quot;fixing&quot; an unfinished app for my research group. My first task is to implement a toggle button which flips the camera from front to back. I have some ideas, but I'm not sure how to impl...
Hello stackoverflow people, as an EE student with minimal knowledge in app development, I have been assigned the task of &quot;fixing&quot; an unfinished app for my research group. My first task is to implement a toggle button which flips the camera from front to back. I have some ideas, but I'm not sure how to impleme...
java|android
0
2022-05-19T02:18:20.197Z
2,022
5
2
3
32
1
826
57
2
1
true
false
false
false
false
false
zero
72,298,119
Android Studio: MIME Type for TTF Font Files Not Working [Android 11]
<p>I tried both of these MIME Type for opening TTF file:</p> <pre><code>ActionGetIntent.setType(&quot;application/font-sfnt&quot;); </code></pre> <pre><code>ActionGetIntent.setType(&quot;application/x-font-ttf&quot;); </code></pre> <p>But none of these MIME Type work on Android 11. &quot;application/x-font-ttf&quot; on...
I tried both of these MIME Type for opening TTF file: [CODE] [CODE] But none of these MIME Type work on Android 11. &quot;application/x-font-ttf&quot; only work on Google Drive, but not on Android 11 default File Manager (Google Files).
android|android-studio|mime-types|mime|filechooser
0
2022-05-19T02:59:03.720Z
2,022
5
2
3
69
0
236
69
5
2
true
true
false
false
false
false
zero
72,298,159
How to run different apps on the same device flutter, vs code
<p>I am running a client app and a admin app, both apps i want to run in the vs code using the same device , how to achieve .</p> <p>So far, I just ran the left app using the <code>run without debug mode</code> but it is even reflected in the second app's screen as you can see the image below.(right side)</p> <p>I want...
I am running a client app and a admin app, both apps i want to run in the vs code using the same device , how to achieve . So far, I just ran the left app using the run without debug mode but it is even reflected in the second app's screen as you can see the image below.(right side) I want two instances of run without ...
flutter|android-emulator|visual-studio-debugging|terminal-emulator
0
2022-05-19T03:05:13.077Z
2,022
5
3
3
65
0
368
61
4
0
false
true
false
false
false
false
zero
72,298,284
How to find the size of files in kotlin - Android studio
<p>I was trying to find the size of the file in kotlin, using path.file size . It is crashing with file not found exception.</p> <p>file.getname is working find and is giving me the file name.</p> <p>any leads would be appreciated.</p>
I was trying to find the size of the file in kotlin, using path.file size . It is crashing with file not found exception. file.getname is working find and is giving me the file name. any leads would be appreciated.
android|file|kotlin|filesize
0
2022-05-19T03:25:27.457Z
2,022
5
3
3
129
2
214
56
4
0
false
false
false
false
false
false
zero
72,298,391
how to disable including Android.mk when compile a single AOSP module?
<p>I am developing SystemUI on AOSP(Android 11), I found that &quot;make SystemUI&quot; was really slow, a third of time(maybe more) was cost in including Android.mk(product.mk...), which is useless in most case, for example, I just modify some java code, there is no need to include Android.mk. so how to disbale includ...
I am developing SystemUI on AOSP(Android 11), I found that &quot;make SystemUI&quot; was really slow, a third of time(maybe more) was cost in including Android.mk(product.mk...), which is useless in most case, for example, I just modify some java code, there is no need to include Android.mk. so how to disbale including...
android|makefile|android-source
0
2022-05-19T03:45:20.957Z
2,022
5
3
3
59
0
369
70
3
0
false
true
false
false
false
false
zero
72,298,548
./gradlew connectedVariantNameAndroidTest failed
<p>At Android studio's terminal key in &quot;./gradlew connectedVariantNameAndroidTest&quot;. Result with following error message:</p> <blockquote> <blockquote> <p>Task :app:connectedDebugAndroidTest FAILED</p> </blockquote> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Execution failed for ...
At Android studio's terminal key in &quot;./gradlew connectedVariantNameAndroidTest&quot;. Result with following error message: Task :app:connectedDebugAndroidTest FAILED FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:connectedDebugAndroidTest'. com.android.builder.testing.api...
android-studio|gradle|instrumented-test
0
2022-05-19T04:14:17.443Z
2,022
5
4
3
912
1
364
48
3
0
false
false
false
false
false
false
zero
72,298,670
Why does my button run both the onTap function and the onLongPressDown function at the same time?
<p>I'm using a gesture detector to do 2 different things:</p> <ol> <li>onTap: record audio for a fixed 10 seconds</li> <li>on long press: record audio until the user releases the button, up to a maximum of 10 seconds</li> </ol> <p>Long pressing the button is working fine, but when I do a regular tap my Logcat says that...
I'm using a gesture detector to do 2 different things: onTap: record audio for a fixed 10 seconds on long press: record audio until the user releases the button, up to a maximum of 10 seconds Long pressing the button is working fine, but when I do a regular tap my Logcat says that it's running both the regular tap reco...
android|ios|flutter|dart|mobile-application
0
2022-05-19T04:32:42.693Z
2,022
5
4
3
61
1
513
97
5
2
true
false
false
false
false
false
zero
72,298,673
Deep link not working in Android 12 after publish assetlinks.json to domain and also put autoverify true in intent filter Android
<p>I know this question is asked before but I didn't find any correct answer that solve my issue</p> <p>Deep link is working on android 11 or lower device but not working in android 12 device</p> <p>Here example.com is for understanding</p> <p>Pls check below code for open activity by deep link</p> <pre><code>&lt;activ...
I know this question is asked before but I didn't find any correct answer that solve my issue Deep link is working on android 11 or lower device but not working in android 12 device Here example.com is for understanding Pls check below code for open activity by deep link [CODE] I also put meta data thing for deep link ...
android|kotlin|android-deep-link
2
2022-05-19T04:32:55.913Z
2,022
5
4
3
548
1
812
129
3
4
true
false
false
false
false
false
low
72,298,695
Adding metadata to a m4a/mp4 AAC container
<p>I am encoding my PCM audio recorded data into AAC inside a m4a (mp4) container. It works fine, and now I want to add some metadata.</p> <p>The ever-quoted documentation for this is <a href="https://developer.android.com/reference/android/media/MediaMuxer#metadata-track" rel="nofollow noreferrer">this one</a>. Yet, I...
I am encoding my PCM audio recorded data into AAC inside a m4a (mp4) container. It works fine, and now I want to add some metadata. The ever-quoted documentation for this is this one . Yet, I do not understand this code: what is the condition for the while ? What is KEY_MIME ? How to set bufferSize ? How to get the cur...
android|metadata|mp4|m4a
0
2022-05-19T04:35:54.713Z
2,022
5
4
3
86
0
594
42
4
1
true
true
false
false
false
false
zero
72,298,727
How to open audio output settings dialog in Flutter?
<p>I am working on an app that plays audio with <a href="https://pub.dev/packages/audio_service" rel="nofollow noreferrer">just_audio</a> &amp; <a href="https://pub.dev/packages/audio_service" rel="nofollow noreferrer">audio_service</a>.</p> <p>I need to open following dialog in both Android and iOS. In audio-playback ...
I am working on an app that plays audio with just_audio & audio_service . I need to open following dialog in both Android and iOS. In audio-playback notification, there is a button to open this dialog. How can I open this dialog programmatically? I am comfortable with solution in Flutter or Android/iOS natively. I have...
android|flutter|just-audio
0
2022-05-19T04:40:33.137Z
2,022
5
4
3
48
0
489
52
3
0
false
true
false
false
false
false
zero
72,298,799
React Native Failed to Build: NDK not installed, even after adding ndk.dir to local.properties
<p>I try to run my react native project, but got <code>NDK not installed</code> error. I already add ndk.dir on local.properties but still the error occurs. <a href="https://i.stack.imgur.com/tjbGt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tjbGt.png" alt="enter image description here" /></a></p...
I try to run my react native project, but got NDK not installed error. I already add ndk.dir on local.properties but still the error occurs. This is the error: Any idea what's wrong with my project. Thanks!
android|reactjs|react-native|android-ndk
0
2022-05-19T04:52:59.730Z
2,022
5
4
3
100
0
206
94
4
0
false
true
false
false
false
false
zero
72,298,817
My game size is larger than 150 MB and I am struggling to upload on both platforms. (Unity)
<p>I have a question regarding the upload of my game on Android playstore and iOS appstore. My game size is larger than 150 MB and I am struggling to upload on both platforms. I am writing this to you to ask how you manage to upload larger files or do you have any particular techniques that I may be able to use? Thank ...
I have a question regarding the upload of my game on Android playstore and iOS appstore. My game size is larger than 150 MB and I am struggling to upload on both platforms. I am writing this to you to ask how you manage to upload larger files or do you have any particular techniques that I may be able to use? Thank you...
android|ios|visual-studio|unity3d|unity-container
1
2022-05-19T04:56:32.277Z
2,022
5
4
3
375
1
331
91
5
0
false
false
false
false
false
false
low
72,298,900
Redefine ABI architecture default folder structure for native libs in Gradle for Android
<p>By default jniLibs.srcDirs parses libs directory as</p> <pre><code>libs |-- armeabi | `-- libA.so |-- armeabi-v7a | `-- libA.so `-- x64 `-- libA.so ... </code></pre> <p>and using different libs folders for debug and release.<br /> My project has libs folder structure as</p> <pre><code>libs |-- libA.so |-- li...
By default jniLibs.srcDirs parses libs directory as [CODE] and using different libs folders for debug and release. My project has libs folder structure as [CODE] where *_d.so debug versions of libs and armeabi placed in root of libs. Is it possible to somehow redefine structure for jniLibs.srcDirs parser or manually se...
android|android-studio|gradle|native|lib
0
2022-05-19T05:08:41.687Z
2,022
5
5
3
28
0
521
88
5
2
true
true
false
false
false
false
zero
72,299,045
How can I parse JSON data from URL in a background thread in Android (Preferably using Work Manager)?
<p>I've tried many different solutions such as using asyncTask and Work Manager but I can't seem to be able to transfer the parsed data from the background thread to my activity/class. I even tried working around it by attempting to write the parsed string into SharedPreferences, but I wasn't able to do it in the backg...
I've tried many different solutions such as using asyncTask and Work Manager but I can't seem to be able to transfer the parsed data from the background thread to my activity/class. I even tried working around it by attempting to write the parsed string into SharedPreferences, but I wasn't able to do it in the backgrou...
java|android|json|rest|background
0
2022-05-19T05:26:43.807Z
2,022
5
5
3
131
0
713
101
5
2
true
true
false
false
false
false
zero
72,299,078
Android 12 HIDL/AIDL error No more HIDL interfaces can be added to Android. Please use AIDL
<p>I am trying to create new HIDL in android 12,I have done below steps:</p> <ol> <li>Added new HAL file in hardware/interfaces/logreader/1.0</li> <li>generated impl and bp file using hidl-gen</li> <li>added rc file, sepolicy,manifest and compatibility as well while building it getting below error : No more HIDL interf...
I am trying to create new HIDL in android 12,I have done below steps: Added new HAL file in hardware/interfaces/logreader/1.0 generated impl and bp file using hidl-gen added rc file, sepolicy,manifest and compatibility as well while building it getting below error : No more HIDL interfaces can be added to Android. Plea...
android|android-source|aidl|hidl
0
2022-05-19T05:30:28.960Z
2,022
5
5
3
356
1
628
91
4
0
false
false
false
false
false
false
zero
72,299,152
Android: Can't import class from another module
<p>I have an Android app module, an Android library module <code>:foo</code>, and a pure java module <code>:bar</code>. In <code>:foo</code>, I have a <code>Foo</code> class, and in <code>:bar</code>, I have a <code>Bar</code> class.</p> <p>I would like to reference <code>Foo</code> from my <code>Bar</code> class. When...
I have an Android app module, an Android library module :foo , and a pure java module :bar . In :foo , I have a Foo class, and in :bar , I have a Bar class. I would like to reference Foo from my Bar class. When I hover over the Foo variable, Android Studio gives me the following suggestion: Add dependency on module 'My...
android
0
2022-05-19T05:38:18.250Z
2,022
5
5
3
172
1
685
47
1
1
true
false
false
false
false
false
zero
72,299,274
Getting Error after using Applovin plugin Android Studio
<p>My App was working perfectly and smoothly without adding the applovin SDK, how do I solve the issue of the problem that I encountered?</p> <p>Here's my Gradle file (Root)</p> <pre><code>buildscript { repositories { maven { url 'https://artifacts.applovin.com/android' } google() } dependencies { ...
My App was working perfectly and smoothly without adding the applovin SDK, how do I solve the issue of the problem that I encountered? Here's my Gradle file (Root) [CODE] Here's my Gradle app level [CODE] android { compileSdk 31 [CODE] } [CODE] This is the error that i am getting when trying to run the app [CODE] To ma...
android|android-studio|firebase-realtime-database|mobile-ad-mediation|applovin
1
2022-05-19T05:53:05.853Z
2,022
5
5
3
420
0
414
56
5
7
true
true
false
false
false
false
low
72,299,278
How to handle alert or popup in Java appium automation
<p>I have been automating the FB application, after login, I am getting this pop-up, how to handle this in appium using java.</p> <p><a href="https://i.stack.imgur.com/cF6hd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cF6hd.png" alt="FaceBook pop-up" /></a></p>
I have been automating the FB application, after login, I am getting this pop-up, how to handle this in appium using java.
java|selenium-webdriver|appium-android
0
2022-05-19T05:53:24.093Z
2,022
5
5
3
83
1
122
54
3
0
false
false
false
false
false
false
zero
72,299,369
Recyleview No Adapter attached; skipping layout error
<p>Trying to implement recyclerview into my project that has bottom navigation bar that has 3 item and each item has its each fragment.</p> <p>But I keep getting error No adapter attached, skipping layout error.</p> <p>This is my adapter</p> <pre><code>public class CategoryAdapter extends BaseAdapter { private Lis...
Trying to implement recyclerview into my project that has bottom navigation bar that has 3 item and each item has its each fragment. But I keep getting error No adapter attached, skipping layout error. This is my adapter [CODE] This is the main activity [CODE] as you can see I've tried a lot of stuff but it just wouldn...
android|recycleview
0
2022-05-19T06:03:48.520Z
2,022
5
6
3
34
1
326
53
2
2
true
false
false
false
false
false
zero
72,299,496
android.content.ActivityNotFoundException: Unable to find explicit activity class have you declared this activity in your AndroidManifest.xml?
<p>Error message</p> <blockquote> <p>android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.book/com.github.barteksc.pdfviewer.PDFView}; have you declared this activity in your AndroidManifest.xml?</p> </blockquote> <p>Manifest</p> <pre><code>&lt;?xml version=&quot;1.0&quot; enco...
Error message android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.book/com.github.barteksc.pdfviewer.PDFView}; have you declared this activity in your AndroidManifest.xml? Manifest [CODE]
android
-1
2022-05-19T06:18:49.110Z
2,022
5
6
3
1,195
1
230
142
1
1
true
false
false
false
false
true
negative
72,299,516
Firebase Admin SDK and AppCheck
<p>I am using Java admins SDK to connect my firebase + I am using App check.</p> <p>When I try to read or write data using admin SDK the action fail, because of App check.</p> <p>so my question is how to check admin SDK?</p> <pre><code> FirebaseOptions options = new FirebaseOptions.Builder().setCredentials(GoogleCre...
I am using Java admins SDK to connect my firebase + I am using App check. When I try to read or write data using admin SDK the action fail, because of App check. so my question is how to check admin SDK? [CODE]
android|firebase|firebase-app-check
2
2022-05-19T06:20:47.283Z
2,022
5
6
3
56
0
210
31
3
1
true
true
false
false
false
false
low
72,299,832
Why is LazyColumn not recomposing?
<p>Link to the video of the problem: <a href="https://drive.google.com/file/d/1BYINXdOhHleBlU6L4Pxnbf9Ji_fgXWUW/view?usp=sharing" rel="nofollow noreferrer">Video Link</a>`</p> <p>Sometimes many notes delete at once and the add functionality is not working. When I swipe the Lazy Column does not recompose and put everyth...
Link to the video of the problem: Video Link ` Sometimes many notes delete at once and the add functionality is not working. When I swipe the Lazy Column does not recompose and put everything in order again. This is my code: NoteButton: [CODE] NoteInputText: [CODE] NoteItem: [CODE] NoteList: [CODE] Note: [CODE] NoteVie...
android|kotlin|android-jetpack-compose|lazycolumn
0
2022-05-19T06:47:54.173Z
2,022
5
6
3
60
1
442
34
4
12
true
false
false
false
false
false
zero
72,299,894
How to Resolve/Change "Needs investigation" status in firebase?
<p>&quot;Needs investigation&quot; message show in firebase analytics dashboard. How to change the status on firebase.</p> <p><a href="https://i.stack.imgur.com/wTSAP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wTSAP.png" alt="enter image description here" /></a></p>
&quot;Needs investigation&quot; message show in firebase analytics dashboard. How to change the status on firebase.
android|firebase
0
2022-05-19T06:53:30.027Z
2,022
5
6
3
91
1
115
63
2
0
false
false
false
false
false
false
zero
72,299,910
Cannot resolve production code in tests after Android Studio Chipmunk automatically created modules
<p>I'm currently using Android Studio to develop a multi-module project by test-driven-development methods. It went well until I updated my IDE to Android Studio Chipmunk from previous Bumblebee. When I opened the project after the update, it seemed that AS automatically generated some modules for me. As you can see in...
I'm currently using Android Studio to develop a multi-module project by test-driven-development methods. It went well until I updated my IDE to Android Studio Chipmunk from previous Bumblebee. When I opened the project after the update, it seemed that AS automatically generated some modules for me. As you can see in th...
java|android|android-studio|intellij-idea
5
2022-05-19T06:55:19.693Z
2,022
5
6
3
556
1
1,617
99
4
0
false
false
false
false
false
false
low
72,299,923
Scope Function Implementation
<p>what is the specific purpose of Scope function in android Kotlin. where we practically implemented.Any one can discuss in detail i have red documentation from below mentioned link</p> <p><a href="https://kotlinlang.org/docs/scope-functions.html#function-selection" rel="nofollow noreferrer">https://kotlinlang.org/doc...
what is the specific purpose of Scope function in android Kotlin. where we practically implemented.Any one can discuss in detail i have red documentation from below mentioned link https://kotlinlang.org/docs/scope-functions.html#function-selection although there is defined in details a key difference. (Let, with , run)...
android|android-studio|kotlin|android-layout|kotlin-android-extensions
0
2022-05-19T06:56:20.843Z
2,022
5
6
3
62
0
563
29
5
0
false
true
false
false
false
false
zero
72,299,963
Value of mutableState captured by remember with keys doesn't get updated if remember keys change
<p>I have an offset value that is calculated or reset as</p> <pre><code>var offset by remember(key1 = contentScale, key2 = imageBitmap) { mutableStateOf(Offset.Unspecified) } </code></pre> <p>This is basically a color detector from an <code>Image</code> but when <code>ContentScale</code> of the custom <code>Image</...
I have an offset value that is calculated or reset as [CODE] This is basically a color detector from an Image but when ContentScale of the custom Image I wrote or ImageBitmap changes I want to reset it to Offset.Unspecified so it doesn't draw markers outside of area that is image being drawn, the grey area in gif. This...
android|android-jetpack-compose
1
2022-05-19T06:59:37.623Z
2,022
5
6
3
246
1
780
96
2
3
true
false
false
false
false
false
low
72,300,069
How to handle autolink click event of android textview?
<p><strong>Here is my xml code for autolink in textview.</strong></p> <pre><code> &lt;TextView style=&quot;@style/statusTextList&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:autoLink=&quot;web&q...
Here is my xml code for autolink in textview. [CODE] Code works perfectly fine. Web url in TextView are auto highlighted and able to click. But on clicking in hyperlink it ends with an error. Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you wa...
android|kotlin|android-recyclerview|textview|autolink
0
2022-05-19T07:08:34.377Z
2,022
5
7
3
81
1
468
55
5
1
true
false
false
false
false
false
zero
72,300,109
How to stop Jetpack Compose Navigation executing composable twice per click and why
<p>I have created a Jetpack compose navigation as follows:</p> <pre><code>val navController = rememberNavController() Scaffold( bottomBar = { /* BottomBar code here */ } ){ innerPadding -&gt; NavHost( navController = navController, startDestination = &quot;navigation&quot;, modifier...
I have created a Jetpack compose navigation as follows: [CODE] My problem is when ever I click on a nav item, the log message on the composable() function is printed twice per click in logcat. I may have missed something on the documentation. Why is this happening & how can I fix it?
android|navigation|android-jetpack-compose
1
2022-05-19T07:10:51.723Z
2,022
5
7
3
422
0
284
83
3
1
true
true
false
false
false
false
low
72,300,119
How to program an ACR122U NFC reader?
<p>I am having an NFC ACR122U device which I want to program in a way that If I tap a tag/card/mobile phone on it, payment records in database should be updated by $5 on each tap. The problem is that this is my first time programming a hardware device and I am not sure which tool/technology I should use to achieve the ...
I am having an NFC ACR122U device which I want to program in a way that If I tap a tag/card/mobile phone on it, payment records in database should be updated by $5 on each tap. The problem is that this is my first time programming a hardware device and I am not sure which tool/technology I should use to achieve the des...
android|nfc|nfc-p2p|acr122|lib-nfc
0
2022-05-19T07:11:20.917Z
2,022
5
7
3
59
0
380
37
5
0
false
true
false
false
false
false
zero
72,300,135
An Inbuilt function to find Difference Between Two Images for Android (Kotlin Preferred)
<p>In my app, I want to find the difference between two Images, almost similar but with a slight difference. The function should extract the difference and should give out an image that contains the difference it extracted. Input should be two images. (I saw another related question in StackOverflow but it was posted 8...
In my app, I want to find the difference between two Images, almost similar but with a slight difference. The function should extract the difference and should give out an image that contains the difference it extracted. Input should be two images. (I saw another related question in StackOverflow but it was posted 8 ye...
android|kotlin
0
2022-05-19T07:12:21.367Z
2,022
5
7
3
54
1
464
88
2
0
false
false
false
false
false
false
zero
72,300,153
how to exit the app if the device back button is pressed flutter
<p>I want to display a dialog when the device back button is pressed.... if user press no then nothing will happens...... but if the user press yes then the application shall close..... I have tried willpopscope but it is not working......</p> <p>Can anyone help me with this???</p> <p>this is my main.dart</p> <pre><cod...
I want to display a dialog when the device back button is pressed.... if user press no then nothing will happens...... but if the user press yes then the application shall close..... I have tried willpopscope but it is not working...... Can anyone help me with this??? this is my main.dart [CODE]
android|ios|firebase|flutter|dart
0
2022-05-19T07:13:38.470Z
2,022
5
7
3
47
3
296
64
5
1
true
false
false
false
false
false
zero
72,300,186
IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected
<p><a href="https://i.stack.imgur.com/K63D2.png" rel="nofollow noreferrer">error</a> --&gt; error picture</p> <p>When ı try to process my model ı have an error &quot; java.lang.IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected&quot;</p> <p>I have a mobilenet tflite model w...
error --> error picture When ı try to process my model ı have an error &quot; java.lang.IncompatibleClassChangeError: Found interface org.tensorflow.lite.Tensor, but class was expected&quot; I have a mobilenet tflite model which is I trained, and I created a function to convert bitmap to bytebuffe and ı try to process ...
java|android|tensorflow|model|mobilenet
1
2022-05-19T07:16:32.633Z
2,022
5
7
3
286
0
628
96
5
2
true
true
false
false
false
false
low
72,300,205
How to upload image file to heroku
<p>I am currently doing android app for plant recognition using machine learning model which is deployed in Heroku. I capture image using camera implemented in my app and I want to send that image into api deployed in heroku, which will then predict the image and send me back the response in a string format which tells...
I am currently doing android app for plant recognition using machine learning model which is deployed in Heroku. I capture image using camera implemented in my app and I want to send that image into api deployed in heroku, which will then predict the image and send me back the response in a string format which tells us...
java|android|heroku|android-volley|mobile-application
1
2022-05-19T07:17:29.300Z
2,022
5
7
3
83
1
659
34
5
2
true
false
false
false
false
false
low
72,300,295
Pulling HLS stream using expo-av generates -1008 error
<p>using</p> <pre><code>import { Video } from &quot;expo-av&quot;; </code></pre> <p>to embed a video player I generate HLS url with digest that works fine with VLC player (for testing)</p> <p>when implementing it in I log the following error on iOS when video.status changes:</p> <pre><code>Object { &quot;error&quot;:...
using [CODE] to embed a video player I generate HLS url with digest that works fine with VLC player (for testing) when implementing it in I log the following error on iOS when video.status changes: [CODE] and the following for Android: [CODE] Trying to generate mp4 from the same server generates the following error for...
android|ios|react-native|expo|expo-av
0
2022-05-19T07:23:52.133Z
2,022
5
7
3
283
0
413
54
5
5
true
true
false
false
false
false
zero
72,300,306
How to start culebratester2 server on more than one device?
<p>I want to start culebratester2 server on multiple devices at the same time in order to use <code>uiautomatorhelper</code> with <code>AndroidViewClient</code> in Python to test the same app on many devices. I don't know if it possible because I'm not able to specify a different forward port using the command <code>./...
I want to start culebratester2 server on multiple devices at the same time in order to use uiautomatorhelper with AndroidViewClient in Python to test the same app on many devices. I don't know if it possible because I'm not able to specify a different forward port using the command ./culebratester2 start-server and usi...
android|androidviewclient
1
2022-05-19T07:24:24.117Z
2,022
5
7
3
92
1
375
59
2
0
false
false
false
false
false
false
low
72,300,352
How to set a Background of layout programmatically from another java class
<p>I have layout.xml file with no java class and i want to change the background of this layout from another java file So how can we connect two xml to single java file , i tried to do with layout inflator but cannot achieved that</p> <p><strong>I want to change the background of this xml</strong></p> <pre><code> &l...
I have layout.xml file with no java class and i want to change the background of this layout from another java file So how can we connect two xml to single java file , i tried to do with layout inflator but cannot achieved that I want to change the background of this xml [CODE] I want to change the background from this...
java|android|xml|android-layout
0
2022-05-19T07:28:13.147Z
2,022
5
7
3
32
0
402
74
4
3
true
true
false
false
false
false
zero
72,300,397
MP3 livestream distorted on Android devices
<p>We're developing some Google Actions for local and national radios.</p> <p>We're using the MediaResponse to play an MP3 livestream (via icecast). The livestream is fine on Google Nest or iOS devices, but it is distorted on Android devices using the &quot;Google Assistant&quot; app. During the playback we hear a lot ...
We're developing some Google Actions for local and national radios. We're using the MediaResponse to play an MP3 livestream (via icecast). The livestream is fine on Google Nest or iOS devices, but it is distorted on Android devices using the &quot;Google Assistant&quot; app. During the playback we hear a lot of clips a...
android|actions-on-google|google-home
0
2022-05-19T07:32:04.453Z
2,022
5
7
3
18
0
797
43
3
0
false
true
false
false
false
false
zero
72,300,401
Android HttpsURLConnection: getErrorStream works but not getInputStream
<p>I want to get a json string from my remote server.</p> <p>I have a very weird problem as I manage to get my json string only thanks to getErrorStream but not thanks to getInputStream.</p> <p>Here is my code:</p> <pre><code>URL url = new URL(&quot;my_https_url&quot;); HttpsURLConnection connection = (HttpsURLConnect...
I want to get a json string from my remote server. I have a very weird problem as I manage to get my json string only thanks to getErrorStream but not thanks to getInputStream. Here is my code: [CODE] If I remove my 'if statement' and try to do only: [CODE] I get a fileNotFoundException. Anybody has a clue how to solve...
java|android|inputstream|httpurlconnection|httpsurlconnection
0
2022-05-19T07:32:20.607Z
2,022
5
7
3
17
0
340
71
5
2
true
true
false
false
false
false
zero
72,300,477
How to solve SCAN_FAILED_APPLICATION_REGISTRATION_FAILED
<p>I am trying to perform BLE scans in a foreground service (Android 12) after some start scan end stop scan I receive the error <code>SCAN_FAILED_APPLICATION_REGISTRATION_FAILED</code>, I cannot figure out what is the reason of the error.</p> <p>I do startScan and stopScan in sequence (the scan is a long-running scan)...
I am trying to perform BLE scans in a foreground service (Android 12) after some start scan end stop scan I receive the error SCAN_FAILED_APPLICATION_REGISTRATION_FAILED , I cannot figure out what is the reason of the error. I do startScan and stopScan in sequence (the scan is a long-running scan) The app target SDK 32...
android|bluetooth-lowenergy|android-12
0
2022-05-19T07:38:06.723Z
2,022
5
7
3
129
1
1,109
56
3
0
false
false
false
false
false
false
zero
72,300,598
map is loading but can't see the map in my application
<p>I am learning Android development.</p> <p>I am using the Google map API, to display a map. I have done all the steps according to the tutorial.</p> <p>when i try to view the application in my device, the application loads I can see the Google logo but map is not visible. (i see the white background with Google logo ...
I am learning Android development. I am using the Google map API, to display a map. I have done all the steps according to the tutorial. when i try to view the application in my device, the application loads I can see the Google logo but map is not visible. (i see the white background with Google logo at the bottom). I...
java|android|android-studio|google-maps
0
2022-05-19T07:47:18.380Z
2,022
5
7
3
68
1
565
54
4
3
true
false
false
false
false
false
zero
72,300,657
I have imported the project and while running it on Android Emulator through VS code, I ended up getting the below error:
<p>info Running jetifier to migrate libraries to AndroidX. You can disable it using &quot;--no-jetifier&quot; flag. Jetifier found 863 file(s) to forward-jetify. Using 4 workers... info JS server already running. info Launching emulator... info Successfully launched emulator. info Installing the app...</p> <p><strong>F...
info Running jetifier to migrate libraries to AndroidX. You can disable it using &quot;--no-jetifier&quot; flag. Jetifier found 863 file(s) to forward-jetify. Using 4 workers... info JS server already running. info Launching emulator... info Successfully launched emulator. info Installing the app... FAILURE: Build fail...
android|react-native
0
2022-05-19T07:52:13.600Z
2,022
5
7
3
13
0
665
121
2
0
false
true
false
false
false
false
zero
72,300,669
How to open https:localhost for testing inside WebView app in emulator as getting ssl handshake issue
<p>I am working on a website which will open inside WebView of android app. I wanted to test my website in emulator during development but since my website having https://localhost:3000, Emulator WebView App is unable to open it. Given error <strong>[ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, ...
I am working on a website which will open inside WebView of android app. I wanted to test my website in emulator during development but since my website having https://localhost:3000, Emulator WebView App is unable to open it. Given error [ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error c...
android|ssl|webview
0
2022-05-19T07:52:58.820Z
2,022
5
7
3
116
1
424
101
3
0
false
false
false
false
false
false
zero
72,300,680
How can I save my Xamarin Forms MainPage.xaml as PDF using a button?
<p>On the front screen of the mobile app I have entries that I filled with info, now I want to make a button that saves the page as PDF with all the info I entered inside the entries. Help?</p>
On the front screen of the mobile app I have entries that I filled with info, now I want to make a button that saves the page as PDF with all the info I entered inside the entries. Help?
c#|xamarin|pdf|xamarin.forms|xamarin.android
0
2022-05-19T07:53:40.777Z
2,022
5
7
3
110
2
186
68
5
0
false
false
false
false
false
false
zero
72,300,757
Cordova plugin PictureInPicture for ios
<p>I am finding any cordova plugin to PictureInPicture for IOS. There is one plugin only for PictureInPicture which is only developed for android and working fine but I need one for ios as well.</p> <p>For android I have used the plugin <a href="https://www.npmjs.com/package/cordova-plugin-pip" rel="nofollow noreferrer...
I am finding any cordova plugin to PictureInPicture for IOS. There is one plugin only for PictureInPicture which is only developed for android and working fine but I need one for ios as well. For android I have used the plugin https://www.npmjs.com/package/cordova-plugin-pip . Please let me know if there is any plugin ...
android|ios|cordova|ionic-framework|ionic4
0
2022-05-19T07:59:02.523Z
2,022
5
7
3
45
0
356
39
5
0
false
true
false
false
false
false
zero
72,300,889
Remember Variable gets reset once I press on the second Button
<p>I click on first Button multiple times which changes text Variable and once I press second button changed text Variable is shown with changed value.</p> <p>But if I uncomment Text View text Variable gets reset once I press on the second Button.</p> <p>Can someone explain what is going on?</p> <p>Commented Text View ...
I click on first Button multiple times which changes text Variable and once I press second button changed text Variable is shown with changed value. But if I uncomment Text View text Variable gets reset once I press on the second Button. Can someone explain what is going on? Commented Text View (WORKING) Uncommented Te...
android|kotlin|android-jetpack-compose
1
2022-05-19T08:10:32.993Z
2,022
5
8
3
17
0
348
62
3
1
true
true
false
false
false
false
low
72,300,994
Build Android App with Old Manifest Package Name
<p>When I build an Android app, there's an error message shown like this</p> <blockquote> <p>Package 'grwe.android.package' from AndroidManifest.xml is not a valid Java package name as 'package' is a Java keyword</p> </blockquote> <p>but, I've already had an app that was published on Google Play Store before with that ...
When I build an Android app, there's an error message shown like this Package 'grwe.android.package' from AndroidManifest.xml is not a valid Java package name as 'package' is a Java keyword but, I've already had an app that was published on Google Play Store before with that manifest package name, So, what should I do ...
android|react-native|expo
0
2022-05-19T08:18:24.280Z
2,022
5
8
3
56
1
382
48
3
0
false
false
false
false
false
false
zero
72,301,034
How to paint on Bitmap using canvas drawPath or Path? I tried several tutorials but failed
<p>So this is my current code which uses canvas <strong>drawLine</strong>, where I'm trying to modify it into <strong>drawPath</strong>.</p> <p>My Declared Variables in Main Activity :</p> <pre><code>ImageView imageResult; final int RQS_IMAGE1 = 1; Paint paint; Uri source; Bitmap bitmap; Canvas canvas; Path path; </co...
So this is my current code which uses canvas drawLine , where I'm trying to modify it into drawPath . My Declared Variables in Main Activity : [CODE] My code in On Create method : [CODE] Where selected image pass into imageResult variable and then converted into bitmap, and that bitmap will be place into the canvas : [...
java|android|canvas
0
2022-05-19T08:21:24.703Z
2,022
5
8
3
35
1
996
90
3
6
true
false
false
false
false
false
zero
72,301,094
Trying to connect Google Play app to Firebase, but get "No matching Play apps found"
<p>I want to connect app from Google Play to Firebase, but it's saying</p> <blockquote> <p>No matching Play apps found. Please check Play Console to make sure you have access to an app with the same package name, and that a package has been uploaded to Play.</p> </blockquote> <p>Usually the problem is mismatch of packa...
I want to connect app from Google Play to Firebase, but it's saying No matching Play apps found. Please check Play Console to make sure you have access to an app with the same package name, and that a package has been uploaded to Play. Usually the problem is mismatch of package name, but I tripple checked that it's the...
android|firebase|google-play
3
2022-05-19T08:25:49.503Z
2,022
5
8
3
187
1
984
84
3
0
false
false
false
false
false
false
low
72,301,179
How To Ask For User Consent In Android 11
<p>It works perfectly fine for android 10 but does not work in android 11 after some research I found out that we must ask for user consent, so I have gone through some video and I didn't understand how to so can anyone help me out here!</p> <pre><code> File file = new File(childItem.getPath()); ...
It works perfectly fine for android 10 but does not work in android 11 after some research I found out that we must ask for user consent, so I have gone through some video and I didn't understand how to so can anyone help me out here! [CODE]
android|android-studio|permissions|android-11
0
2022-05-19T08:32:31.680Z
2,022
5
8
3
141
1
241
41
4
1
true
false
false
false
false
false
zero
72,301,238
Class referenced in the manifest, was not found in the project or libraries
<p>I wonder why in the manifest it has error at the com.yalantis.ucrop.UCropActivity although I've put the dependencies and repositories correctly. What went wrong?</p> <pre><code>&lt;activity android:name=&quot;*com.yalantis.ucrop.UCropActivity*&quot; android:screenOrientation=&quot;portrait&qu...
I wonder why in the manifest it has error at the com.yalantis.ucrop.UCropActivity although I've put the dependencies and repositories correctly. What went wrong? [CODE]
java|android|android-studio
1
2022-05-19T08:36:44.003Z
2,022
5
8
3
499
2
168
75
3
1
true
false
false
false
false
false
low
72,301,254
Spinner causing an AppCompat error, but can't figure out what class change
<p>I'm working on a Dialog and getting this error that I'm not sure how to fix. Of course I've searched for others with the same, but the solution given was to change the parent class of the activity. My parent activity is a pretty complicated form with a lot of other dialogs and I really really don't want to touch cha...
I'm working on a Dialog and getting this error that I'm not sure how to fix. Of course I've searched for others with the same, but the solution given was to change the parent class of the activity. My parent activity is a pretty complicated form with a lot of other dialogs and I really really don't want to touch changi...
android|android-spinner|android-appcompat
1
2022-05-19T08:37:40.477Z
2,022
5
8
3
67
1
1,250
74
3
3
true
false
false
false
false
false
low
72,301,255
Firebase getDownloadURL returns null - android
<p>I'm using Firebase storage and firebase firestore and I want to add uploaded image's url to firestore document's PostImageURL field. But when I tried it gets null value not it's download url.</p> <pre><code>private FirebaseFirestore firebaseFirestore; private FirebaseStorage firebaseStorage; private Map&lt;String,Ob...
I'm using Firebase storage and firebase firestore and I want to add uploaded image's url to firestore document's PostImageURL field. But when I tried it gets null value not it's download url. [CODE] It's my upload method to firebase storage [CODE] And it's my method that adds post info to firestore and post image's dow...
android|google-cloud-firestore|firebase-storage
0
2022-05-19T08:37:47.360Z
2,022
5
8
3
39
0
367
46
3
3
true
true
false
false
false
false
zero
72,301,280
Fragment to Activity Shiffting
<p>I am using this as my code it is a fragment as I want to add OnClickListener on my button Login How to do it and what I should do so that it works. New at Java day -03. Do I have to import any classes? Please clarify it with more and more clarification</p> <p>//This is my code</p> <pre><code>public class LoginTabFra...
I am using this as my code it is a fragment as I want to add OnClickListener on my button Login How to do it and what I should do so that it works. New at Java day -03. Do I have to import any classes? Please clarify it with more and more clarification //This is my code [CODE]
java|android-studio|android-fragments|android-activity
0
2022-05-19T08:39:38.230Z
2,022
5
8
3
18
0
277
30
4
1
true
true
false
false
false
false
zero
72,301,378
How to run a background task in android when the app is killed
<p>I am very new to Android app development paradigm. To teach myself, I am trying to build an app which shows a notification when user receives a call. So far I have been able to do this using <code>BroadcastReceiver</code></p> <pre><code>public void onReceive(Context context, Intent intent) { String state = inten...
I am very new to Android app development paradigm. To teach myself, I am trying to build an app which shows a notification when user receives a call. So far I have been able to do this using BroadcastReceiver [CODE] I have not shown the entire code here, since I am coding in Flutter , I have created a Event Channel tha...
java|android|flutter|dart
1
2022-05-19T08:47:11.660Z
2,022
5
8
3
212
0
2,437
62
4
1
true
true
false
false
false
false
low
72,301,440
Value is remembered without using remember
<p>Eventough I haven't used remember keyword values are still remembered between recomposition. While tutorials say that it shouldn't. I am trying to understand all this mess around Compose State Variables but things work differently then explained.</p> <p><a href="https://i.stack.imgur.com/50pJc.png" rel="nofollow nor...
Eventough I haven't used remember keyword values are still remembered between recomposition. While tutorials say that it shouldn't. I am trying to understand all this mess around Compose State Variables but things work differently then explained. [CODE]
android|kotlin
0
2022-05-19T08:50:45.137Z
2,022
5
8
3
41
2
253
42
2
1
true
false
false
false
false
false
zero
72,301,445
Why is setContent{} being called twice?
<p>I've recently started my first project using Jetpack Compose (with minimal Android dev experience). For checking performance, I logged each call to any function / composable, with some unexpected behavior at startup or orientation change (but without further interacting with the app): <a href="https://i.stack.imgur....
I've recently started my first project using Jetpack Compose (with minimal Android dev experience). For checking performance, I logged each call to any function / composable, with some unexpected behavior at startup or orientation change (but without further interacting with the app): I do understand oncreate / super b...
kotlin|android-jetpack-compose
0
2022-05-19T08:51:02.417Z
2,022
5
8
3
204
1
648
39
2
2
true
false
false
false
false
false
zero
72,301,575
Appium functional tests Code Coverage for react native app
<p>We are currently using Appium for react native app. We would require to get code coverage for Appium functional tests. I couldn't find any documentation regarding the same. I appreciate some help here. Thank You</p> <p>Appium Version: 1.22.3 React native version: 0.64 Currently we are running on android using UiAuto...
We are currently using Appium for react native app. We would require to get code coverage for Appium functional tests. I couldn't find any documentation regarding the same. I appreciate some help here. Thank You Appium Version: 1.22.3 React native version: 0.64 Currently we are running on android using UiAutomator2
react-native|appium|appium-android
0
2022-05-19T09:00:16.380Z
2,022
5
9
3
39
0
316
58
3
0
false
true
false
false
false
false
zero
72,301,606
Why did Google deprecate ProgressDialog class?
<p>While browsing to find an alternative to PrgressDialog class I found <a href="https://therajanmaurya.medium.com/progress-bar-instead-progress-dialog-baa5d72c2860" rel="nofollow noreferrer">this article</a> and the writer mentioned this:</p> <blockquote> <p>As we know Progress Dialog is depreciated in API level 26</p...
While browsing to find an alternative to PrgressDialog class I found this article and the writer mentioned this: As we know Progress Dialog is depreciated in API level 26 because It prevents the user to interact with the app. Let me explain to you why this is bad. As we show the Progress Dialog It runs and blocks the U...
android|progressdialog|android-dialog|android-8.0-oreo
-1
2022-05-19T09:02:18.747Z
2,022
5
9
3
60
2
1,241
46
4
0
false
false
false
false
false
true
negative