id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
73,134,621
Bottom sheet is not getting closed in react native android
<p>I am using <em><strong>@gorhom/bottom-sheet</strong></em> library to create my bottomsheet which have some weird behaviour in android devices. I am unable to close or swap top bottom the bottomsheet in android only. Also when keyboard appears this bottomsheet keeps transparent background.</p> <p><strong>Component</s...
I am using @gorhom/bottom-sheet library to create my bottomsheet which have some weird behaviour in android devices. I am unable to close or swap top bottom the bottomsheet in android only. Also when keyboard appears this bottomsheet keeps transparent background. Component [CODE] Styles [CODE] What I tried I tried to w...
android|reactjs|react-native
3
2022-07-27T08:30:10.917Z
2,022
7
8
2
300
1
411
58
3
2
true
false
false
false
false
false
low
73,134,639
How to use LogcatFilter in Android Studio?
<p>While using AndroidStudio I accidentally came across feature called LogcatFilter. You can create a file with <code>.lcf</code> extension the following way:</p> <ol> <li>Press <strong>command</strong> + <strong>shift</strong> + <strong>N</strong>. The following dialog will appear <a href="https://i.stack.imgur.com/Nh...
While using AndroidStudio I accidentally came across feature called LogcatFilter. You can create a file with .lcf extension the following way: Press command + shift + N . The following dialog will appear 2. Select LogcatFilter option. An empty file scratch.lcf will be created. From the name of this feature I understand...
android|android-studio|intellij-idea|logcat
0
2022-07-27T08:31:08.877Z
2,022
7
8
2
27
0
540
42
4
0
false
true
false
false
false
false
zero
73,134,657
Android Studio Logcat to read/open saved logs
<p>I saved some logs and would like to open them with Android Studio - Logcat interface and be able to see the colours and apply some filters just as if the phone was connected.</p> <p>Is this possible ?</p>
I saved some logs and would like to open them with Android Studio - Logcat interface and be able to see the colours and apply some filters just as if the phone was connected. Is this possible ?
android|android-studio|kotlin|logging|logcat
1
2022-07-27T08:32:14.417Z
2,022
7
8
2
30
1
193
45
5
0
false
false
false
false
false
false
low
73,134,659
Test coroutines which uses RxJava
<p>I have a function:</p> <pre><code>fun getSomething(){ viewModelScope.launch { withContext(Dispatchers.IO) { _state.value = State.Something(useCase.getSomething().blockingFirst) } } } </code></pre> <p>this use case is written using rxjava:</p> <pre><code>fun getSomething(): Observable&lt;Somet...
I have a function: [CODE] this use case is written using rxjava: [CODE] How to write a test for coroutine which uses RxJava ? I was trying to do something like this: [CODE] But sometimes my test is passed sometimes not - I copied 10 time the same test and I got for example 3 passed 7 failed. I'm not sure If my runTest{...
android|unit-testing|kotlin|rx-java|kotlin-coroutines
0
2022-07-27T08:32:27.507Z
2,022
7
8
2
38
0
395
33
5
3
true
true
false
false
false
false
zero
73,134,767
long running service in specified time with android WorkManager
<p>Imagine there is a switch in my application. when user switch it on, I want to run a Broadcast Receiver after five hours from that moment ,then stop the Broadcast Receiver after 8 hours.</p> <p>for example if user enable the switch at 09:00 , service will enable Broadcast Receiver at 14:00 and will disable it at 22:...
Imagine there is a switch in my application. when user switch it on, I want to run a Broadcast Receiver after five hours from that moment ,then stop the Broadcast Receiver after 8 hours. for example if user enable the switch at 09:00 , service will enable Broadcast Receiver at 14:00 and will disable it at 22:00. in fac...
android|kotlin|broadcastreceiver|android-workmanager
0
2022-07-27T08:39:41.447Z
2,022
7
8
2
86
1
631
63
4
0
false
false
false
false
false
false
zero
73,134,805
Android Range Slider Label Overlaps with one another
<p>I have android material range slider to select price range between two values. But I encountered a design issue that whenever two thumbs are brought closer to select a closer range of value, its label-text located at top of thumb overlaps. <a href="https://i.stack.imgur.com/JP0IB.png" rel="nofollow noreferrer"><img ...
I have android material range slider to select price range between two values. But I encountered a design issue that whenever two thumbs are brought closer to select a closer range of value, its label-text located at top of thumb overlaps. [CODE] I have tried to set custom styles, override material design xml but could...
android|material-design|android-slider
0
2022-07-27T08:42:01.900Z
2,022
7
8
2
78
1
470
52
3
1
true
false
false
false
false
false
zero
73,134,810
Error running TensorFlow in a Kivy-app on Android (Python)
<p>I have written an application for image recognition in Python based on TensorFlow and Kivy and want to build this app for an Android device (aarch64) using buildozer.</p> <p>The build process terminates without any errors and I can install the apk on my Android.</p> <p>However, directly after launching the program, ...
I have written an application for image recognition in Python based on TensorFlow and Kivy and want to build this app for an Android device (aarch64) using buildozer. The build process terminates without any errors and I can install the apk on my Android. However, directly after launching the program, it terminates wit...
python|android|tensorflow|kivy|buildozer
0
2022-07-27T08:42:19.210Z
2,022
7
8
2
58
0
1,179
58
5
2
true
true
false
false
false
false
zero
73,134,819
Device elements overlap ionic header
<p>Since updating to cordova-android 11.0.0 I have the problem, that device elements overlap ion-header.</p> <p>Before the update, it extended the header and made space.</p> <p><a href="https://i.stack.imgur.com/QxMm2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QxMm2.png" alt="enter image descrip...
Since updating to cordova-android 11.0.0 I have the problem, that device elements overlap ion-header. Before the update, it extended the header and made space. Config.xml: [CODE] So far, I found out, that it works, after window.location.replace('/home'); but that's not really a solution. Looks like '--ion-safe-area-top...
cordova|ionic-framework|cordova-android
0
2022-07-27T08:43:24.243Z
2,022
7
8
2
48
0
407
36
3
1
true
true
false
false
false
false
zero
73,134,835
How can I test coroutine flow response in JUnit4?
<p>This is my first time that I test with Flow.</p> <p>I used to write test with LiveData. And I used getOrAwaitValue() like this:</p> <pre><code>@VisibleForTesting(otherwise = VisibleForTesting.NONE) fun &lt;T&gt; LiveData&lt;T&gt;.getOrAwaitValue( time: Long = 2, timeUnit: TimeUnit = TimeUnit.SECONDS, aft...
This is my first time that I test with Flow. I used to write test with LiveData. And I used getOrAwaitValue() like this: [CODE] So, I converted Flow to LiveData to use getOrAwaitValue [CODE] But it always fail since Actual value returns reference value like this: [CODE] How can I solve this issue?
android|kotlin|junit4|android-testing|android-unit-testing
0
2022-07-27T08:44:35.213Z
2,022
7
8
2
23
0
298
49
5
3
true
true
false
false
false
false
zero
73,134,836
Round corners for Dropdown menu compose android
<p>Before, I posted here, I Googled a lot. I found the following: <code>MaterialTheme(shapes = MaterialTheme.shapes.copy(medium = RoundedCornerShape(16.dp))){}</code> from the following SO post: <a href="https://stackoverflow.com/questions/66781028/jetpack-compose-dropdownmenu-with-rounded-corners">Jetpack compose Drop...
Before, I posted here, I Googled a lot. I found the following: MaterialTheme(shapes = MaterialTheme.shapes.copy(medium = RoundedCornerShape(16.dp))){} from the following SO post: Jetpack compose DropdownMenu With rounded Corners EDIT: I am using Material Design v3. [CODE] Currently it produces the following output: The...
android|android-jetpack-compose
1
2022-07-27T08:44:39.507Z
2,022
7
8
2
96
1
486
47
2
1
true
false
false
false
false
false
low
73,134,874
is includePadding not recommended as PlatformTextStyle is deprecated in jetpack compose?
<p>I'm developing with jetpack compose. When I use includePadding = false, in compose, the feature is used like below</p> <pre><code>platformStyle = PlatformTextStyle(includeFontPadding = false) </code></pre> <p>But the jetpack compose docs say like below,</p> <pre><code>includeFontPadding was added to Android in order...
I'm developing with jetpack compose. When I use includePadding = false, in compose, the feature is used like below [CODE] But the jetpack compose docs say like below, [CODE] As above mentioned, I'm confused with whether to use includePadding. Is there other way to use includePadding = false or Is it not recommended to ...
android|android-jetpack-compose
0
2022-07-27T08:48:35.890Z
2,022
7
8
2
110
0
347
88
2
2
true
true
false
false
false
false
zero
73,134,884
Launching Lifecycle and calling Kotlin suspend function from Java file
<p>I'm trying to integrate Google's TensorflowLite Pose Estimation Model in my project, however the <a href="https://github.com/tensorflow/examples/tree/master/lite/examples/pose_estimation/android" rel="nofollow noreferrer">demo</a> they provided is only written in Kotlin. I've never worked with Kotlin before, and the...
I'm trying to integrate Google's TensorflowLite Pose Estimation Model in my project, however the demo they provided is only written in Kotlin. I've never worked with Kotlin before, and the rest of my project is implemented in Java, so I'm trying to re-write the code at least in their MainActivity (link) into Java code....
java|android|tensorflow|kotlin|kotlin-coroutines
0
2022-07-27T08:49:19.727Z
2,022
7
8
2
54
0
832
70
5
3
true
true
false
false
false
false
zero
73,134,915
Error while running the app (No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi )
<p>This is the error I got,</p> <blockquote> <p>No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi</p> </blockquote> <pre><code>* What went wrong: Execution failed for task ':app:stripDebugDebugSymbols'. &gt; No toolchains found in the NDK toolchains folder for ABI with prefix: ...
This is the error I got, No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi [CODE] flutter doctor summary is below, [CODE] this is pretty old project sill didn't migrated. Image of Android studio NDK version
flutter|android-studio|dart
0
2022-07-27T08:51:24.530Z
2,022
7
8
2
438
1
248
122
3
2
true
false
false
false
false
false
zero
73,134,940
com.esri.arcgisruntime.ArcGISRuntimeException: Object is already owned.: Already owned
<p>I have a switch to load satelite map in my app. It was working fine until some android update.</p> <p>Now it throws an error and crashes the App. It shows ' com.esri.arcgisruntime.ArcGISRuntimeException: Object is already owned.: Already owned.'</p> <p>I tried clearing the Layers before adding it again. I'm new in t...
I have a switch to load satelite map in my app. It was working fine until some android update. Now it throws an error and crashes the App. It shows ' com.esri.arcgisruntime.ArcGISRuntimeException: Object is already owned.: Already owned.' I tried clearing the Layers before adding it again. I'm new in this space. kindly...
android|arcgis|arcgis-runtime|arcgis-android-api
0
2022-07-27T08:53:13.737Z
2,022
7
8
2
44
0
407
86
4
2
true
true
false
false
false
false
zero
73,134,950
How do I implement a PARTIAL_WAKE_LOCK in Sketchware so that my timer sends SMS even when the screen is off
<p>Hello dear community I am teaching myself app programming via Sketchware.</p> <p>I'm writing a GPS tracker that does the following.</p> <ol> <li><p>The user sets a time after which the location data is sent as an SMS. Ex: send location data every 60 minutes.</p> </li> <li><p>The battery state of charge is constantly...
Hello dear community I am teaching myself app programming via Sketchware. I'm writing a GPS tracker that does the following. The user sets a time after which the location data is sent as an SMS. Ex: send location data every 60 minutes. The battery state of charge is constantly monitored and at 30 percent it sends an SM...
wakelock|android-wake-lock|sketchware
0
2022-07-27T08:54:02.570Z
2,022
7
8
2
16
0
976
107
3
1
true
true
false
false
false
false
zero
73,135,325
Android app not waking up from doze mode even with High priority Message
<p>I'm trying to wake up my from doze mode using a Firebase High Priority Message. However, despite the high priority push being sent, my app is not reacting to this message and remains in doze mode. This has a direct and critical impact in the functionality of my app as I'm relying in this messages to notify users an...
I'm trying to wake up my from doze mode using a Firebase High Priority Message. However, despite the high priority push being sent, my app is not reacting to this message and remains in doze mode. This has a direct and critical impact in the functionality of my app as I'm relying in this messages to notify users and ha...
android|firebase|firebase-cloud-messaging|android-doze
1
2022-07-27T09:20:55.040Z
2,022
7
9
2
88
1
929
72
4
1
true
false
false
false
false
false
low
73,135,357
RecyclerView does not update ROOM Database although data exists
<p>My <code>Entity</code> class looks like this:</p> <pre><code>@Entity public class User { public int getId() { return id; } @NonNull public ArrayList&lt;String&gt; getValues(){ return values; } @NonNull public ArrayList&lt;String&gt; getDates(){ return dates; ...
My Entity class looks like this: [CODE] I have one RecyclerView which shows only type and location and when you click on any item it goes to another activity where another RecyclerView shows values and dates of this particular User (by Id) as arrays. My problem is this: user of my app can either create new User object ...
java|android|android-studio|android-recyclerview
0
2022-07-27T09:23:18.540Z
2,022
7
9
2
49
1
1,273
63
4
7
true
false
false
false
false
false
zero
73,135,511
AudioManager.setCommunicationDevice to TYPE_BUILTIN_SPEAKER not working
<p>I am attempting to implement a Loud Speaker / Earpiece switch in Android 12 using the new <code>AudioManager.setCommunicationDevice</code> in place of the deprecated <code>AudioManager.setSpeakerphoneOn</code>.</p> <p>The result of the set call is true, but the device does not appear to update (both functionally and...
I am attempting to implement a Loud Speaker / Earpiece switch in Android 12 using the new AudioManager.setCommunicationDevice in place of the deprecated AudioManager.setSpeakerphoneOn . The result of the set call is true, but the device does not appear to update (both functionally and by checking AudioManager.getCommun...
android|android-audiomanager|android-12
2
2022-07-27T09:34:06.433Z
2,022
7
9
2
77
0
777
71
3
2
true
true
false
false
false
false
low
73,135,542
Android UiAutomator: How to wait for WIFI / Network to turn on?
<p>When running a JUnit UI test, after turning on the WIFI, it takes about 2/3 seconds to actually come on. How can I wait for the WIFI to come back on without doing a <code>thread.sleep(3000)</code>?</p> <p>It is possible to run <code>executeShellCommand(&quot;settings get global wifi_on&quot;)</code> but this does no...
When running a JUnit UI test, after turning on the WIFI, it takes about 2/3 seconds to actually come on. How can I wait for the WIFI to come back on without doing a thread.sleep(3000) ? It is possible to run executeShellCommand(&quot;settings get global wifi_on&quot;) but this does not account for the time it takes for...
android|junit|adb|ui-automation|android-uiautomator
0
2022-07-27T09:35:46.773Z
2,022
7
9
2
17
0
549
63
5
1
true
true
false
false
false
false
zero
73,135,783
How to connect UVC Camera to Agora VIdeo Call SDK
<p>I am using UVC Camera but i am too dumb to implement external video resource Agora Video Call SDK. Preview camera with UVC Camera is working. Here is some portion of my code:</p> <pre><code> private fun initializeAndJoinChannel() { try { mRtcEngine = RtcEngine.create(baseContext, APP_ID, mRtc...
I am using UVC Camera but i am too dumb to implement external video resource Agora Video Call SDK. Preview camera with UVC Camera is working. Here is some portion of my code: [CODE] I am still not implement method pushExternalVideoFrame from Agora cause i don't know where and when to implement that.
android|kotlin|agora.io|uvc
0
2022-07-27T09:52:14.550Z
2,022
7
9
2
46
0
300
49
4
1
true
true
false
false
false
false
zero
73,135,884
Encrypting existing Room database -> Exception Occur: file is not a database: , while compiling: select count(*) from sqlite_master;
<p>I'm encrypting the existing Room database. When I call <code>insert()</code> method to insert data to Room and <code>findAll()</code> method to fetch data from Room <em>After Encrypting the Room DB</em> and run the app an exception occurs at both the methods and the app crashes. I researched a lot but the problem is...
I'm encrypting the existing Room database. When I call insert() method to insert data to Room and findAll() method to fetch data from Room After Encrypting the Room DB and run the app an exception occurs at both the methods and the app crashes. I researched a lot but the problem is not resolved. Please help me to solve...
kotlin|encryption|android-room|sqlcipher|sqlite-cipher
0
2022-07-27T09:58:42.717Z
2,022
7
9
2
43
0
538
132
5
5
true
true
false
false
false
false
zero
73,135,979
> Task :prepareKotlinBuildScriptModel UP-TO-DATE Warning: Failed to parse host error in android studio
<p>i was just trying to use the firebase auth dependency but it is showing this error in my whatsapp clone app</p> <p>But when i try to sync the project the following error comes as shown in the image : that is</p> <blockquote> <p>Task :prepareKotlinBuildScriptModel UP-TO-DATE Warning: Failed to parse host dhruv</p> </...
i was just trying to use the firebase auth dependency but it is showing this error in my whatsapp clone app But when i try to sync the project the following error comes as shown in the image : that is Task :prepareKotlinBuildScriptModel UP-TO-DATE Warning: Failed to parse host dhruv All the codes are provided below Ima...
javascript|java|android|html|xml
0
2022-07-27T10:04:40.930Z
2,022
7
10
2
184
0
514
102
5
4
true
true
false
false
false
false
zero
73,136,015
Retrofit2 Kotlin Response body gone to other file
<p>im trying to make AndroidApp, that do POST requests to my springboot app, get responses, and than i will work with it and make features on results of response. I used retrofit2 to connect my AndroidApp with spring app, so i can send requests, but information that i need is in response body. Request is a password, if...
im trying to make AndroidApp, that do POST requests to my springboot app, get responses, and than i will work with it and make features on results of response. I used retrofit2 to connect my AndroidApp with spring app, so i can send requests, but information that i need is in response body. Request is a password, if it...
java|android|kotlin|retrofit|retrofit2
0
2022-07-27T10:06:52.390Z
2,022
7
10
2
76
1
901
49
5
4
true
false
false
false
false
false
zero
73,136,047
Host out binaries are missing when building AOSP on macos
<p>I'm building AOSP (12) on macOS Monterey with M1. Overall it works well (successfully generates images even while macOS is not officially supported).</p> <p>However, I've also built the same tree for the same target (just rsync-ed files) on a linux machine, and I see the difference between <code>out/host/$platform/b...
I'm building AOSP (12) on macOS Monterey with M1. Overall it works well (successfully generates images even while macOS is not officially supported). However, I've also built the same tree for the same target (just rsync-ed files) on a linux machine, and I see the difference between out/host/$platform/bin files. Here a...
android|linux|macos|makefile|android-source
-1
2022-07-27T10:08:58.547Z
2,022
7
10
2
81
1
670
57
5
2
true
false
false
false
false
true
negative
73,136,097
Invocations can only happen from the context of a @Composable function
<p>Trying to invoke this in a <code>DropDownMenuItem</code> <code>onClick</code> event.</p> <pre><code>@Composable fun ShowAboutDialog() { var aboutVisible by remember { mutableStateOf(false) } Dialog(visible = !aboutVisible, onDismissRequest = { aboutVisible = false }, modifier = null, properti...
Trying to invoke this in a DropDownMenuItem onClick event. [CODE]
android
0
2022-07-27T10:13:01.413Z
2,022
7
10
2
66
1
65
70
1
1
true
false
false
false
false
false
zero
73,136,119
expo-auth-session cannot complete google login on android standalone app
<p>I'm working on a react native app using expo. I've used <code>expo-auth-session/providers/google</code> package to sign-in. It is working fine in the expo environment but when I build the app for the android platform, nothing will happen as google sign-in doesn’t complete</p> <p><a href="https://i.stack.imgur.com/UI...
I'm working on a react native app using expo. I've used expo-auth-session/providers/google package to sign-in. It is working fine in the expo environment but when I build the app for the android platform, nothing will happen as google sign-in doesn’t complete Here is AuthScreen code: [CODE] and here is my app.json file...
android|react-native|authentication|expo|google-signin
1
2022-07-27T10:14:16.790Z
2,022
7
10
2
322
0
328
72
5
2
true
true
false
false
false
false
low
73,136,172
Lagging in Lottie animation - android studio
<p>I am using Lottie animation in my splachActivity but it has some lag in running time. Can anyone reduce the lagging ?</p> <p>My test device RAM is 4 GB.</p>
I am using Lottie animation in my splachActivity but it has some lag in running time. Can anyone reduce the lagging ? My test device RAM is 4 GB.
android-animation|lottie
0
2022-07-27T10:18:30.480Z
2,022
7
10
2
66
0
145
44
2
0
false
true
false
false
false
false
zero
73,136,175
I want to see the HTTP request whenever I tap a specific button on an android app. How can I do it?
<p>I want to find out the URL that is being hit whenever I tap a button inside an app on my android smartphone. Is it possible to find this out? If yes, can you guide me the way?</p> <p>Thanks in advance. Cheers.</p>
I want to find out the URL that is being hit whenever I tap a button inside an app on my android smartphone. Is it possible to find this out? If yes, can you guide me the way? Thanks in advance. Cheers.
android|http|http-post
0
2022-07-27T10:18:32.510Z
2,022
7
10
2
20
0
202
99
3
0
false
true
false
false
false
false
zero
73,136,287
Android 11/12 Wireless Debugging not available when using Mobile Hotspot as the network
<p>Before android 11, i was able to wirelessly debug apps using this method</p> <ol> <li>turn on mobile hotspot in the (target) android phone</li> <li>connect the computer to the hotspot</li> <li>run adb tcpip 5555</li> <li>adb connect [ip of the target phone]</li> </ol> <p><strong>The problem is</strong> Android 11 in...
Before android 11, i was able to wirelessly debug apps using this method turn on mobile hotspot in the (target) android phone connect the computer to the hotspot run adb tcpip 5555 adb connect [ip of the target phone] The problem is Android 11 introduced Wireless Debugging and the above method doesn't work as expected....
android|android-studio|android-11|adbwireless|android-12l
1
2022-07-27T10:27:05.223Z
2,022
7
10
2
277
0
642
87
5
0
false
true
false
false
false
false
low
73,136,374
Android Studio don't react on any actions when Override members window is open
<p>When I open Override Members dialog box, Android Studio freezes. How can I fix it?<a href="https://i.stack.imgur.com/JecgU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JecgU.png" alt="enter image description here" /></a></p>
When I open Override Members dialog box, Android Studio freezes. How can I fix it?
android-studio
0
2022-07-27T10:33:23.487Z
2,022
7
10
2
11
0
82
78
1
0
false
true
false
false
false
false
zero
73,136,377
Download BLOB PDF in Android Webview
<p>I'm trying to download a PDF file in a BLOB URL from my Webview app.<br> I've searched everywhere and I couldn't find a proper answer.</p> <p>PS: I've tried this method <a href="https://stackoverflow.com/a/48954970/19611789">https://stackoverflow.com/a/48954970/19611789</a> , and it did nothing</p>
I'm trying to download a PDF file in a BLOB URL from my Webview app. I've searched everywhere and I couldn't find a proper answer. PS: I've tried this method https://stackoverflow.com/a/48954970/19611789 , and it did nothing
javascript|java|android|webview
0
2022-07-27T10:33:38.330Z
2,022
7
10
2
71
0
224
36
4
0
false
true
false
false
false
false
zero
73,136,433
Android: Unable to convert string to JsonArray
<p>I have a json which is getting returned as array but I'm unable to convert it into a list. The string looks like:</p> <pre><code>&quot;[{\&quot;@context\&quot;:[\&quot;v1\&quot;],\&quot;id\&quot;:\&quot;did\&quot;,\&quot;type\&quot;:[\&quot;VerifiableCredential\&quot;],\&quot;issuer\&quot;:\&quot;did\&quot;,\&quot;i...
I have a json which is getting returned as array but I'm unable to convert it into a list. The string looks like: [CODE] I have tried following approach but it's not working for me. [CODE] Can anyone please let me know how I can convert this string to Json and then into List?
android|json|kotlin
0
2022-07-27T10:38:19.607Z
2,022
7
10
2
42
2
276
46
3
2
true
false
false
false
false
false
zero
73,136,445
How to hide or expand Topbar from Scaffold in android jetpack compose
<p>I have a custom topbar view added under a Scaffold. How do I achieve the following behaviour of TopBar which is part of Scaffold in Jetpack compose android. (At least the hiding part if expanding is not possible)</p> <p><a href="https://i.stack.imgur.com/quf1W.gif" rel="nofollow noreferrer"><img src="https://i.stack...
I have a custom topbar view added under a Scaffold. How do I achieve the following behaviour of TopBar which is part of Scaffold in Jetpack compose android. (At least the hiding part if expanding is not possible) Thank you
android|android-jetpack-compose|vertical-scrolling
1
2022-07-27T10:39:03.603Z
2,022
7
10
2
125
1
222
69
3
0
false
false
false
false
false
false
low
73,136,477
How to write an android application without java
<p>I am going to port my c/c++ application that does ray tracing. I need all the power of the device, so I don't want to use java, I would like to use only c/c++ to write the application</p> <p>I can roughly run c/c++ code, but I can't output the image. How can I implement framebuffer access on android via c/c++?</p> <...
I am going to port my c/c++ application that does ray tracing. I need all the power of the device, so I don't want to use java, I would like to use only c/c++ to write the application I can roughly run c/c++ code, but I can't output the image. How can I implement framebuffer access on android via c/c++? The power of my...
android|c++|android-studio
0
2022-07-27T10:41:21.590Z
2,022
7
10
2
53
0
556
48
3
0
false
true
false
false
false
false
zero
73,136,504
How to use --relaxed-security programatically in Appium?
<h2>The problem</h2> <p>I am using Browser Stack and there I am unable to execute shell commands.</p> <h2>Environment</h2> <ul> <li>Appium version (or git revision) that exhibits the issue: 1.21.0 is what I am using, but version doesn’t matters.</li> <li>Mobile platform/version under test: Android, All Versions</li> <l...
The problem I am using Browser Stack and there I am unable to execute shell commands. Environment Appium version (or git revision) that exhibits the issue: 1.21.0 is what I am using, but version doesn’t matters. Mobile platform/version under test: Android, All Versions Real device or emulator/simulator: Browser Stack D...
javascript|appium|appium-android|browserstack
0
2022-07-27T10:43:10.260Z
2,022
7
10
2
51
1
680
56
4
0
false
false
false
false
false
false
zero
73,136,592
SafetyNet attestation API deprecated
<p>The SafetyNet Attestation API is being discontinued and replaced by the new Play Integrity API. Begin migration as soon as possible to avoid user disruption. The Play Integrity API includes all the integrity signals that SafetyNet Attestation offers and more, like Google Play licensing and better error messaging. Le...
The SafetyNet Attestation API is being discontinued and replaced by the new Play Integrity API. Begin migration as soon as possible to avoid user disruption. The Play Integrity API includes all the integrity signals that SafetyNet Attestation offers and more, like Google Play licensing and better error messaging. Learn...
android|google-play|google-play-services
3
2022-07-27T10:50:17.013Z
2,022
7
10
2
338
0
770
36
3
0
false
true
false
false
false
false
low
73,136,609
Problems with the declaration of security policy in Google play: Google Play Policies: SPLIT_BUNDLE 9, what is the solution?
<p>In short, I have an Android app developed in Android Studio and uploaded to the Google Play Market that I want to update, but in order to do so, I need to correctly complete the &quot;data security&quot; declaration. The whole problem is that I can't figure out what &quot;SPLIT_BUNDLE 9: Policy Declaration - Data Se...
In short, I have an Android app developed in Android Studio and uploaded to the Google Play Market that I want to update, but in order to do so, I need to correctly complete the &quot;data security&quot; declaration. The whole problem is that I can't figure out what &quot;SPLIT_BUNDLE 9: Policy Declaration - Data Secur...
android|google-play|app-store|google-play-console|playback
0
2022-07-27T10:51:16.070Z
2,022
7
10
2
169
0
577
124
5
0
false
true
false
false
false
false
zero
73,136,610
OnTouch and OnClick Conflict : Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter e1
<p>I have a Recyclerview and that allow user to change scale by swipping up, I use the gestureDetector and onFling for this, this works fine, but then the user should able to click on an Item of recyclerView, i did that by creating an interface from RecyclerView and click actives from Activity, but now I have this erro...
I have a Recyclerview and that allow user to change scale by swipping up, I use the gestureDetector and onFling for this, this works fine, but then the user should able to click on an Item of recyclerView, i did that by creating an interface from RecyclerView and click actives from Activity, but now I have this error o...
android|android-recyclerview|ontouchlistener|gesturedetector|onfling
3
2022-07-27T10:51:21.683Z
2,022
7
10
2
55
0
754
145
5
2
true
true
false
false
false
false
low
73,136,634
Kotlin MVVM how to Toast a combine message
<p>I'm using kotlin with MVVM pattern on my project.</p> <p>In my viewModel I need to generate an error message and toast while input a text.</p> <p>The error messages are like:</p> <pre><code>&lt;string name=&quot;error_message&quot;&gt;%s: is too long&lt;/string&gt; &lt;string name=&quot;error_message1&quot;&gt;name ...
I'm using kotlin with MVVM pattern on my project. In my viewModel I need to generate an error message and toast while input a text. The error messages are like: [CODE] viewModel.kt [CODE] In the way above it works. But in my knowledge viewModel shouldn't hold any Android UI stuff that is context shouldn't be there. (Co...
android|kotlin
0
2022-07-27T10:53:35.250Z
2,022
7
10
2
68
3
747
42
2
2
true
false
false
false
false
false
zero
73,136,805
Flutter - Android Emulator Fullscreen Mode
<p>Black bar at the top of the Android emulator in full screen mode<br /> Did I do something wrong?</p> <p><em>I am new to stackoverflow and cannot add images yet</em><br /> <a href="https://i.stack.imgur.com/6cN9r.png" rel="nofollow noreferrer">Emulator Screenshot</a><br /> <br /> Virtual Device Settings:<br /> Pixel ...
Black bar at the top of the Android emulator in full screen mode Did I do something wrong? I am new to stackoverflow and cannot add images yet Emulator Screenshot Virtual Device Settings: Pixel 5 6.0 1080x2340 xxhdpi Android API 33 x86_64 Startup orientation: Portrait Emulated Performance: Graphics: Hardware - GLES 2.0...
android|flutter|fullscreen
0
2022-07-27T11:05:02.227Z
2,022
7
11
2
51
2
428
42
3
1
true
false
false
false
false
false
zero
73,136,814
Set static frequency for the audio file (React-Native application)
<p>I am a react-native developer and I want to create an application for the <strong>Students</strong> and Motto of the application is give peaceful music (Need to play on Bluetooth) from the application, and for this audio I want to maintain the frequency (Means as of now when I play those audio files from the various...
I am a react-native developer and I want to create an application for the Students and Motto of the application is give peaceful music (Need to play on Bluetooth) from the application, and for this audio I want to maintain the frequency (Means as of now when I play those audio files from the various device it's getting...
android|ios|react-native|audio-player|frequency-analysis
1
2022-07-27T11:05:45.570Z
2,022
7
11
2
34
0
520
66
5
0
false
true
false
false
false
false
low
73,136,970
Does Flutter automatically set the targetSdkVersion to the latest version on SDK version you have in your machine?
<p>I uploaded an android application. And one of the clients had the latest version of Android, and could not install it. I updated the SDK to version 33, will flutter automatically change my targetSdkVersion?</p>
I uploaded an android application. And one of the clients had the latest version of Android, and could not install it. I updated the SDK to version 33, will flutter automatically change my targetSdkVersion?
android|flutter|sdk
0
2022-07-27T11:17:37.687Z
2,022
7
11
2
40
2
206
114
3
0
false
false
false
false
false
false
zero
73,136,990
SQLITE ANDROID STUDIO. How can I tell if the user is admin or user?
<pre><code>The super admin can only enter username and password as well as user and admin. The super admin can crude accounts, while admin can also do the same except delete. and the user can only login. package com.example.myapplication; import android.annotation.SuppressLint; import android.content.ContentValues; ...
[CODE] the super admin, admin and user. Super admin can create username, password and usertype(Radiobutton) for the user and admin. What I want to happen is when I enter login username and password the system will automatically know that this user is admin or user. How can I get the data of radiobutton that is already ...
java|android|database|sqlite|admin
-2
2022-07-27T11:18:39.573Z
2,022
7
11
2
71
1
620
67
5
3
true
false
false
false
false
true
negative
73,137,060
Is there a way other than kivy to use python on an android app
<p>Lately, I used the cv2 module in python so that when an image is placed the program would print what object is in the image. Now, I'm trying to make this work on an android app where the user can capture a photo and the app would output the object inside that photo. Can someone please please tell me what should be d...
Lately, I used the cv2 module in python so that when an image is placed the program would print what object is in the image. Now, I'm trying to make this work on an android app where the user can capture a photo and the app would output the object inside that photo. Can someone please please tell me what should be done...
python|android
0
2022-07-27T11:24:23.510Z
2,022
7
11
2
29
0
321
62
2
0
false
true
false
false
false
false
zero
73,137,104
Call logs imports to CRM
<p>How can I move all call log to my own CRM. When we run facebook campign, we receive number of calls so we cannot save numbers promptly.</p> <p>We need to move all call logs to CRM and on one action we can also save call logs to contact list of the mobile.</p> <p>Is there any way or method to develop app for this on ...
How can I move all call log to my own CRM. When we run facebook campign, we receive number of calls so we cannot save numbers promptly. We need to move all call logs to CRM and on one action we can also save call logs to contact list of the mobile. Is there any way or method to develop app for this on both Android and ...
android|ios|api|crm|calllog
0
2022-07-27T11:27:43.763Z
2,022
7
11
2
20
0
340
24
5
0
false
true
false
false
false
false
zero
73,137,106
Flutter - How to change the visibility of a single widget in a widget list?
<p>I pull some variables in Firebase and I create a widget list with these variables. I want to control widget visibility when I click a widget. When I use the <code>Visibility</code> widget and set &quot;visible: widgetVisibility&quot; value, all widgets are changed at the same time. I only want the widget I clicked t...
I pull some variables in Firebase and I create a widget list with these variables. I want to control widget visibility when I click a widget. When I use the Visibility widget and set &quot;visible: widgetVisibility&quot; value, all widgets are changed at the same time. I only want the widget I clicked to change. How ca...
android|flutter|dart|flutter-layout
0
2022-07-27T11:27:54.447Z
2,022
7
11
2
65
2
375
75
4
1
true
false
false
false
false
false
zero
73,137,157
Java.lang.ClassCastException: nl.dionsegijn.konfetti.xml.KonfettiView cannot be cast to android.view.ViewGroup
<p>I'm going to use the konfetti effect on Android. However, while activity is loading views, This error occurs when xml is loaded.</p> <p>-------java code-------</p> <pre><code> final Dialog dialog = new Dialog(context); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog.setContentView(R.layout.cu...
I'm going to use the konfetti effect on Android. However, while activity is loading views, This error occurs when xml is loaded. -------java code------- [CODE] -------xml code------- [CODE]
java|android|xml|android-animation
0
2022-07-27T11:31:38.160Z
2,022
7
11
2
34
1
189
110
4
2
true
false
false
false
false
false
zero
73,137,191
The player exits the game activity, and the room should be removed only by him, but the rooms of all players are deleted
<p>I'm making a game, when the player exits the game activity, the room he created is deleted, the problem is that in the &quot;rooms/&quot; path, all its contents are deleted, not just the player's room. In general, the player leaves are removed except for his room, others, and how to fix it.</p> <p>The example of thi...
I'm making a game, when the player exits the game activity, the room he created is deleted, the problem is that in the &quot;rooms/&quot; path, all its contents are deleted, not just the player's room. In general, the player leaves are removed except for his room, others, and how to fix it. The example of this photo sh...
java|android|firebase|google-cloud-platform|firebase-realtime-database
-1
2022-07-27T11:35:11.580Z
2,022
7
11
2
29
1
446
120
5
1
true
false
false
false
false
true
negative
73,137,288
How to clear a transparent status and navigation bar?
<p>I've made the status and navigation bar go transparent, like so:</p> <pre><code>window.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS) </code></pre> <p>So that's all good, but now I need some code to make it un-transparent again. Not going good. So I tried...
I've made the status and navigation bar go transparent, like so: [CODE] So that's all good, but now I need some code to make it un-transparent again. Not going good. So I tried using the clearFlags windows function like so: [CODE] And then set the status bar color: [CODE] but the status bar still shows as transparent, ...
android|statusbar
0
2022-07-27T11:42:11.963Z
2,022
7
11
2
31
0
410
53
2
3
true
true
false
false
false
false
zero
73,137,520
How to slow down AnimateScrollToItem in Jetpack Compose?
<p>I have a lazy list that I am animating scroll to Item when clicking on a button.</p> <pre><code>onClick = { scope.launch { lazyListState.animateScrollToItem(selectedIndex) } } </code></pre> <p>Why is it that the animateScrollToItem is SO fast? Can I slow it down a little? I am not seeing anywhere I can add ...
I have a lazy list that I am animating scroll to Item when clicking on a button. [CODE] Why is it that the animateScrollToItem is SO fast? Can I slow it down a little? I am not seeing anywhere I can add a animationSpec, and with animateScrollBy() I would need to pass in a float rather than an index - which I do not wan...
android|android-studio|kotlin|android-layout|android-jetpack-compose
2
2022-07-27T11:59:15.993Z
2,022
7
11
2
108
0
322
56
5
1
true
true
false
false
false
false
low
73,137,549
At android : How can I Prevent the exit from the app?
<p>How can I Prevent the exit from the app, even when the user press on home button or back or recent Task button</p> <p>I followed this answer <a href="https://stackoverflow.com/a/70913372/10733439">https://stackoverflow.com/a/70913372/10733439</a></p> <p>but there is an issue when I click on the Home button to close ...
How can I Prevent the exit from the app, even when the user press on home button or back or recent Task button I followed this answer https://stackoverflow.com/a/70913372/10733439 but there is an issue when I click on the Home button to close it, it opens after 3 seconds automatically and if I open another app before 3...
java|android|kotlin
0
2022-07-27T12:01:13.477Z
2,022
7
12
2
47
0
349
53
3
0
false
true
false
false
false
false
zero
73,137,562
NullPointerException:Attempt toread from field 'androidx.viewpager2.widget.FakeDrag androidx.viewpager2.widget.ViewPager2.mFakeDragger' on null object
<p>We are seeing this crash on Firebase for few of our users during layout inflation:</p> <pre><code>Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.abc.xyz/com.abc.xyz.onboarding.activity.OnboardingActivity}: android.view.InflateException: Binary XML file line #17: Binary XML file line #17:...
We are seeing this crash on Firebase for few of our users during layout inflation: [CODE] We are not using FakeDrag ourself anywhere. Below is the XML code: [CODE] And in Kotlin file we are just attaching Viewpager2 to the TabLayout [CODE] Any idea what could be the reason for this crash?
android|kotlin|crash|android-viewpager|android-viewpager2
0
2022-07-27T12:01:48.150Z
2,022
7
12
2
28
0
289
150
5
3
true
true
false
false
false
false
zero
73,137,564
Here map loading issue when connected to wifi with no internet
<p>I am using here map sdk lite version to load map. We have encountered 1 strange issue. When we are connecting to WIFI with no internet, It is requesting to oauth2/token multiple times in background which result in hanging of UI. Can you please suggest us a solution where we can stop this call in such scenario. Or is...
I am using here map sdk lite version to load map. We have encountered 1 strange issue. When we are connecting to WIFI with no internet, It is requesting to oauth2/token multiple times in background which result in hanging of UI. Can you please suggest us a solution where we can stop this call in such scenario. Or is it...
android|here-api|heremaps
0
2022-07-27T12:01:54.333Z
2,022
7
12
2
30
0
1,988
62
3
0
false
true
false
false
false
false
zero
73,137,646
Android - Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0
<p>Some time ago i upgraded android studio kotlin version from 1.6.21 to 1.7.0. Every time I open a view in the project automatically changes its version('org.jetbrains.kotlin.android') from 1.6.21 to 1.7.0. Because of this, the project gives an error. I don't have a problem trying it in intellij. libraries not updati...
Some time ago i upgraded android studio kotlin version from 1.6.21 to 1.7.0. Every time I open a view in the project automatically changes its version('org.jetbrains.kotlin.android') from 1.6.21 to 1.7.0. Because of this, the project gives an error. I don't have a problem trying it in intellij. libraries not updating a...
android|android-studio|kotlin|gradle
5
2022-07-27T12:07:36.247Z
2,022
7
12
2
1,213
2
339
75
4
1
true
false
false
false
false
false
low
73,137,709
Android - How should i load image files in to a RecyclerView?
<p>Let's say I have a Camera X activity that captures and stores pictures.</p> <p>Then I have a Gallery activity with a RecyclerView that gets filled with those images. Here is what I currently have:</p> <p>a Photo class which saves bitmaps generated with captured files:</p> <pre><code> class Photo( private val ...
Let's say I have a Camera X activity that captures and stores pictures. Then I have a Gallery activity with a RecyclerView that gets filled with those images. Here is what I currently have: a Photo class which saves bitmaps generated with captured files: [CODE] These bitmaps are being generated in the main activity as ...
android|performance|android-recyclerview|bitmap|gallery
0
2022-07-27T12:11:12.513Z
2,022
7
12
2
53
0
701
61
5
3
true
true
false
false
false
false
zero
73,137,725
About passing data, navigation and favorites page on flutter
<p>I am new to flutter and this is my 15th day of coding my first app to learn. Generally I read other questions and answers to adapt my code but this time I need spesific help :)</p> <p>Pages and database screenshots below</p> <p>To summarize, after splash screen I have a page that holds bottom navigation bar and list...
I am new to flutter and this is my 15th day of coding my first app to learn. Generally I read other questions and answers to adapt my code but this time I need spesific help :) Pages and database screenshots below To summarize, after splash screen I have a page that holds bottom navigation bar and list of &quot;Home, D...
android|flutter|firebase|google-cloud-firestore|navigationbar
0
2022-07-27T12:12:41.283Z
2,022
7
12
2
30
0
1,731
60
5
0
false
true
false
false
false
false
zero
73,137,833
Passing inputted text to query parameters via button - flutter
<p>So, i have an application which let's me display journal articles from google scholar by using SERP API. It has a static_model which i specify the query parameters.</p> <pre><code>class StaticValues { const StaticValues._(); static const String apiUrl = 'https://serpapi.com/search.json'; static const String a...
So, i have an application which let's me display journal articles from google scholar by using SERP API. It has a static_model which i specify the query parameters. [CODE] Said query is then mapped to another file called query_param.dart . [CODE] This, in return will show the result of said query into a listview via a ...
flutter|android-studio|dart
0
2022-07-27T12:19:50.540Z
2,022
7
12
2
38
1
696
62
3
4
true
false
false
false
false
false
zero
73,137,889
Draw Point by Point Line on Image
<p>I am searching any photo editor sdk that give me user selected point draw line and after any click button render repeated sticker. just like below screen</p> <p>Demo Screen</p> <p><img src="https://i.stack.imgur.com/ziBf1.jpg" alt="1" /></p>
I am searching any photo editor sdk that give me user selected point draw line and after any click button render repeated sticker. just like below screen Demo Screen
android|image
0
2022-07-27T12:24:39.080Z
2,022
7
12
2
28
0
165
33
2
0
false
true
false
false
false
false
zero
73,138,046
How can i implement shared viewmodel across fragments in java?
<p>I am new to android and working on an application where i have use shared ViewModel across fragments there are a lot of help for kotlin but for java there is nothing. Please guide me if possible.?</p>
I am new to android and working on an application where i have use shared ViewModel across fragments there are a lot of help for kotlin but for java there is nothing. Please guide me if possible.?
java|android|android-fragments|android-viewmodel
0
2022-07-27T12:36:00.190Z
2,022
7
12
2
32
1
196
62
4
0
false
false
false
false
false
false
zero
73,138,064
Flutter Firebase Realtime Database MissingPluginException
<p>I'm trying to add user data to my Realtime Database like this:</p> <pre><code>submitForm(String username, String email, String password) async { final auth = FirebaseAuth.instance; UserCredential userCredential; try { if (_isLoginPage) { userCredential = await auth.signInWithEmailAndPasswor...
I'm trying to add user data to my Realtime Database like this: [CODE] Adding the data to Firestore and Firebase Auth works perfectly but I get this error on the Realtime Database step: MissingPluginException(No implementation found for method DatabaseReference#set on channel plugins.flutter.io/firebase_database) I trie...
android|flutter|firebase|dart|google-cloud-firestore
0
2022-07-27T12:36:56.660Z
2,022
7
12
2
46
1
407
57
5
1
true
false
false
false
false
false
zero
73,138,158
Coroutines crash - NoSuchFieldException: _reusableCancellableContinuation
<p>We are seeing a crash for few users in Firebase:</p> <pre><code>Fatal Exception: java.lang.ExceptionInInitializerError at kotlinx.coroutines.CoroutineDispatcher.interceptContinuation(CoroutineDispatcher.kt:100) at kotlin.coroutines.jvm.internal.ContinuationImpl.intercepted(ContinuationImpl.kt:112) Caused by ...
We are seeing a crash for few users in Firebase: [CODE] We are just doing some room db queries and updates inside GlobalScope.launch {} Any idea what could be causing this crash?
android|kotlin|kotlin-coroutines|coroutine
0
2022-07-27T12:43:28.047Z
2,022
7
12
2
47
0
178
73
4
1
true
true
false
false
false
false
zero
73,138,181
Crossed the July 20 deadline to Submit the QUERY_ALL_PACKAGES permission declaration - what to do?
<p>My current version app in play store has query_all_packages permission which I don't use.</p> <p>I recently visited Play store only to find out that I cant update my app without submitting the permission declaration for query_all_packages</p> <p>I don't use this package and am ready to remove it but how can I publis...
My current version app in play store has query_all_packages permission which I don't use. I recently visited Play store only to find out that I cant update my app without submitting the permission declaration for query_all_packages I don't use this package and am ready to remove it but how can I publish this update now...
flutter|google-play|android-permissions
2
2022-07-27T12:44:54.440Z
2,022
7
12
2
54
1
422
98
3
0
false
false
false
false
false
false
low
73,138,191
AM trying to add AutoSlider Timer Android
<p>and am getting this Error.</p> <p>MainActivity.java:52: error: cannot find symbol sliderTimer.scheduleAtFixedRate(new AutoSlider(), 4000, 6000); ^ symbol: class AutoSlider location: class MainActivity</p> <p><strong>CODE</strong></p> <pre><code> sliderTimer.scheduleAtFixedRate(new AutoSlider(), 4000, 6000);...
and am getting this Error. MainActivity.java:52: error: cannot find symbol sliderTimer.scheduleAtFixedRate(new AutoSlider(), 4000, 6000); ^ symbol: class AutoSlider location: class MainActivity CODE [CODE]
android|timer|slider|tablayout
1
2022-07-27T12:45:21.100Z
2,022
7
12
2
13
0
205
41
4
1
true
true
false
false
false
false
low
73,138,244
Capture 50MP image on Samsung S22 with Camera2
<p>How to capture 50mp images using Camera2API on Samsung S22?</p> <p>In the native camera it shows an option to capture 3:4 50MP images as shown in the print taken from the Samsung Camera APP</p> <p><a href="https://i.stack.imgur.com/G8ZvF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G8ZvF.jpg" a...
How to capture 50mp images using Camera2API on Samsung S22? In the native camera it shows an option to capture 3:4 50MP images as shown in the print taken from the Samsung Camera APP But in Camera2, retrieving the available output sizes for different ImageFormat, the maximum resolution is 4080x3060 [CODE] How can I acc...
android|samsung-mobile|android-camera2
0
2022-07-27T12:48:23.243Z
2,022
7
12
2
66
0
392
46
3
1
true
true
false
false
false
false
zero
73,138,247
Flutter: should I use other variable names for 'internal' BuildContexts?
<p>It has just recently come to my attention, that in many cases, such as when using a <code>FutureBuilder</code> or calling <code>showDialog()</code>, we have to define a builder which takes a <code>BuildContext</code> as an argument, and that <code>BuildContext</code> (might) be a different one than the <code>BuildCo...
It has just recently come to my attention, that in many cases, such as when using a FutureBuilder or calling showDialog() , we have to define a builder which takes a BuildContext as an argument, and that BuildContext (might) be a different one than the BuildContext in the surrounding scope. In this first code snippet, ...
flutter|scope|android-context|builder
0
2022-07-27T12:48:31.650Z
2,022
7
12
2
20
0
567
72
4
2
true
true
false
false
false
false
zero
73,138,290
Flutter FAILURE: Build failed with an exception. on real device
<p>While i working with emulator its okay and working well but when i want to run it on my real device its giving me that error :</p> <p><a href="https://i.stack.imgur.com/AX6Zd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AX6Zd.png" alt="enter image description here" /></a></p> <p>Its happened af...
While i working with emulator its okay and working well but when i want to run it on my real device its giving me that error : Its happened after i add &quot;Record&quot; Package from pub dev. How can i solve it ? Thanks for helps! I tried: useProguard false from app/build.gradle Change targetSdkVersions to 31. It didn...
android|ios|flutter|gradle|mobile
0
2022-07-27T12:51:53.013Z
2,022
7
12
2
22
0
333
63
5
0
false
true
false
false
false
false
zero
73,138,298
Flutter InkWell Print Not Detected
<p>I have an application like this:</p> <p><a href="https://i.stack.imgur.com/vsV7u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vsV7u.jpg" alt="enter image description here" /></a></p> <p>I cannot click the <code>InkWell</code> with the &quot;<code>+</code>&quot; icon in the Card. Click is not de...
I have an application like this: I cannot click the InkWell with the &quot; + &quot; icon in the Card. Click is not detected. I also tried the buttons but none of them work. What could cause this problem? How can I solve it? Codes: [CODE] Thanks for helps.
android|flutter
0
2022-07-27T12:52:18.833Z
2,022
7
12
2
26
1
256
34
2
1
true
false
false
false
false
false
zero
73,138,356
How to set darkmode in webview using jetpack compose?
<p>I try to enable dark mode on webview, which is not working, and also setForceDark is deprecated.</p> <p>I am looking solution to enable dark mode on web view using jetpack compose</p> <pre><code>package com.blogspot.boltuix import android.annotation.SuppressLint import android.content.res.Configuration import androi...
I try to enable dark mode on webview, which is not working, and also setForceDark is deprecated. I am looking solution to enable dark mode on web view using jetpack compose [CODE] App-level Gradle file: [CODE] I tested OS 11 and 13 - WEB VIEW is working, but not changing dark mode.
android-webview|android-jetpack-compose
0
2022-07-27T12:55:24.490Z
2,022
7
12
2
113
1
282
53
2
2
true
false
false
false
false
false
zero
73,138,361
Android Paging Compose: How to scroll to top when any of the queries changed?
<p>I have a list of products. On the <code>ProductsScreen</code> I have some filter options, search box, also filter chips :</p> <img src="https://i.stack.imgur.com/onPoc.png" width="300"/> <p>I'm using <a href="https://developer.android.com/jetpack/androidx/releases/paging" rel="nofollow noreferrer">paging 3 library</...
I have a list of products. On the ProductsScreen I have some filter options, search box, also filter chips : I'm using paging 3 library for the pagination. I want to scroll to the top when the search query or selected filter chip has changed. Here is my code : ProductScreen [CODE] Here is also my ProductsScreenViewMode...
android|kotlin|android-jetpack-compose|android-paging-3
0
2022-07-27T12:55:39.413Z
2,022
7
12
2
71
2
574
77
4
2
true
false
false
false
false
false
zero
73,138,494
Multi-Swipe in Unity
<p>So I am trying to make a simple android game in which player has to move two objects in different halfs of the screen <strong>at the same time</strong> using swipes. It works just fine if I try to swipe to move one object and then the second one a moment after the first. But if I try swiping in two halfs <strong>at ...
So I am trying to make a simple android game in which player has to move two objects in different halfs of the screen at the same time using swipes. It works just fine if I try to swipe to move one object and then the second one a moment after the first. But if I try swiping in two halfs at the same time it won't work....
android|unity3d|swipe|multi-touch
0
2022-07-27T13:05:06.890Z
2,022
7
13
2
25
0
556
20
4
1
true
true
false
false
false
false
zero
73,138,496
Flutter todo add list
<p>I'm new to Flutter and I'm making a todo app. I have used alertdialog in the application and I want to add a widget that can be managed with tiles in a list view with a button, just like in the picture, how can I do this?</p> <p><a href="https://i.stack.imgur.com/uGZe2.png" rel="nofollow noreferrer"><img src="https:...
I'm new to Flutter and I'm making a todo app. I have used alertdialog in the application and I want to add a widget that can be managed with tiles in a list view with a button, just like in the picture, how can I do this? [ 2
android|flutter|dart|mobile
1
2022-07-27T13:05:22.580Z
2,022
7
13
2
58
3
225
21
4
0
false
false
false
false
false
false
low
73,138,547
How to get the first day of a month
<p>I am trying to get the first day of a month, when I pass July 2022, I want to get 1st July 2022 midnight.</p> <p>This is what I tried</p> <pre><code>fun String.firstDayOfMonth(monthYearString: String, timeZoneId: ZoneId): LocalDate? { var firstDayOfMonth: LocalDate? = null try { val dateFormatterMonthAndYear: Da...
I am trying to get the first day of a month, when I pass July 2022, I want to get 1st July 2022 midnight. This is what I tried [CODE] } I get an exception org.threeten.bp.format.DateTimeParseException: Text 'July 2022' could not be parsed at index 3 any suggestions please thanks R
android|kotlin|localdate
0
2022-07-27T13:08:38.887Z
2,022
7
13
2
34
1
281
35
3
1
true
false
false
false
false
false
zero
73,138,589
How to make data stored in Shared Preferences available across sessions in Android
<p>I have data which I store in shared preferences. When I close and re-open the app the data still appears in the Share Preferences file, however it is not retrievable. I can re-submit the data from SettingsActivity file (my file I use to upload the data to Shared Preferences) which makes the data retievable by other...
I have data which I store in shared preferences. When I close and re-open the app the data still appears in the Share Preferences file, however it is not retrievable. I can re-submit the data from SettingsActivity file (my file I use to upload the data to Shared Preferences) which makes the data retievable by other Act...
android
0
2022-07-27T13:11:25.260Z
2,022
7
13
2
20
1
332
82
1
0
false
false
false
false
false
false
zero
73,138,647
Reuse fragment UI logic with different inheritance
<p>I need advice on how reuse custom UI logic in different fragment with different inheritance. Let's me explain, for example i have 2 fragment with different inheritance but 70% of UI logic is common, so my qestion what is the best practices to do this. Now I just transferred the general UI logic to a separate class i...
I need advice on how reuse custom UI logic in different fragment with different inheritance. Let's me explain, for example i have 2 fragment with different inheritance but 70% of UI logic is common, so my qestion what is the best practices to do this. Now I just transferred the general UI logic to a separate class in w...
android|kotlin|oop
0
2022-07-27T13:15:40.260Z
2,022
7
13
2
22
0
351
50
3
0
false
true
false
false
false
false
zero
73,138,651
How to capture video from my foreground service android?
<p>I am writing a screen recording program like <strong>ZD soft Screen recorder</strong> For this, I need to record video in the foreground service so that I can record video from all applications <strong>(outside my application environment)</strong>. How should I do this? I tried different ways but did not get an answ...
I am writing a screen recording program like ZD soft Screen recorder For this, I need to record video in the foreground service so that I can record video from all applications (outside my application environment) . How should I do this? I tried different ways but did not get an answer
java|android|kotlin
0
2022-07-27T13:16:12.623Z
2,022
7
13
2
31
0
286
56
3
0
false
true
false
false
false
false
zero
73,138,711
Clima weather app not working it throws LateInitializationError: Field 'latitude' has not been initialized
<p>Here is the code of my app , please help me with this , it throws an error only the loading screen is working and there is no further progress.</p> <p>[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: LateInitializationError: Field 'latitude' has not been initialized.</p> <p>E/flutter (24924): #0 ...
Here is the code of my app , please help me with this , it throws an error only the loading screen is working and there is no further progress. [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: LateInitializationError: Field 'latitude' has not been initialized. E/flutter (24924): #0 Location.latitude (p...
android|flutter|dart
-1
2022-07-27T13:19:50.583Z
2,022
7
13
2
36
1
755
106
3
7
true
false
false
false
false
true
negative
73,138,749
Why the texts inside the navigation drawer are not the same?
<p>Can I know why the texts inside the navigation drawer are not the same?</p> <p><a href="https://i.stack.imgur.com/1v8Bj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1v8Bj.jpg" alt="enter image description here" /></a></p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&g...
Can I know why the texts inside the navigation drawer are not the same? [CODE] Notice some items have bold texts and some items have regular texts. Why is that happening? I'm using Material Design 3.
android|material-design|navigation-drawer|material-components-android
0
2022-07-27T13:22:41.323Z
2,022
7
13
2
38
1
199
60
4
1
true
false
false
false
false
false
zero
73,138,958
what should I do for connecting oppo A5 to Android studio?
<p>I am trying to connect my Oppo A5 Android phone to Android studio but I am facing this issue</p> <p><img src="https://i.stack.imgur.com/srP3M.png" alt="1" /></p> <p><img src="https://i.stack.imgur.com/EZ38I.png" alt="2" /></p> <p>kindly guide me what should I do?</p>
I am trying to connect my Oppo A5 Android phone to Android studio but I am facing this issue kindly guide me what should I do?
android-studio|debugging
1
2022-07-27T13:35:53.780Z
2,022
7
13
2
44
1
126
58
2
0
false
false
false
false
false
false
low
73,139,000
Unable to use instagram's add to story intent
<p>I am currently trying to use Instagram's Sharing to Stories API according to this <a href="https://developers.facebook.com/docs/instagram/sharing-to-stories/" rel="nofollow noreferrer">documentation</a></p> <p>So far, I have made a function that is called by a button press:</p> <pre><code> private fun shareStory(){ ...
I am currently trying to use Instagram's Sharing to Stories API according to this documentation So far, I have made a function that is called by a button press: [CODE] I have ensured that the image fits the recommended resolution of 640x480. Now when I press the button, the application opens an intent and immediately c...
android|kotlin
0
2022-07-27T13:39:09.220Z
2,022
7
13
2
15
0
422
45
2
1
true
true
false
false
false
false
zero
73,139,033
Compose - How to know when a sub-composable has been rendered
<p>Working on Compose, I'm trying to know when a sub-composable has been rendered to start my <code>LaunchEffect</code></p> <p>Here's a little snippet of what I'm trying to achieve :</p> <pre class="lang-kotlin prettyprint-override"><code>fun MyCompo( screen: @Composable (Modifier) -&gt; Unit, ) { val fr = reme...
Working on Compose, I'm trying to know when a sub-composable has been rendered to start my LaunchEffect Here's a little snippet of what I'm trying to achieve : [CODE] My LaunchEffect is crashing because it's launched before screen() had time to render. Any idea how to achieve this ? Thanks
android|android-jetpack-compose|android-lifecycle|composable
0
2022-07-27T13:41:23.333Z
2,022
7
13
2
56
1
290
61
4
1
true
false
false
false
false
false
zero
73,139,043
is it possible to insert custom adds into AdMob?
<p>I'm developing an app and I wanted to upload custom video adds into my app that let user to get rewarded when they watch the video. is this possible? and is there an API for this?</p>
I'm developing an app and I wanted to upload custom video adds into my app that let user to get rewarded when they watch the video. is this possible? and is there an API for this?
android|admob
0
2022-07-27T13:41:51.393Z
2,022
7
13
2
27
0
179
48
2
0
false
true
false
false
false
false
zero
73,139,251
Can I use object properties as a mutableState in kotlin compose?
<p><em>The code has been changed and reduced for this question!</em></p> <p>I have a class called &quot;Game&quot; and I want to show in compose the dices value. And I want to update the composable with the new value every time a new turn is started and when that turn ends.</p> <pre><code>class Game (val board: Board, ...
The code has been changed and reduced for this question! I have a class called &quot;Game&quot; and I want to show in compose the dices value. And I want to update the composable with the new value every time a new turn is started and when that turn ends. [CODE] [CODE] I have the composable function &quot;gameView&quot...
kotlin|view|android-jetpack-compose
1
2022-07-27T13:55:25.550Z
2,022
7
13
2
43
1
650
64
3
3
true
false
false
false
false
false
low
73,139,728
How to get epoch milis from a date (LocalDate)
<p>I have a month July 2022 for example, I want get epoch milis for the first day of the month</p> <p>1st July 2022 at midnight.</p> <p>from the month I was able to get the 1st July 2022, but how to convert it into epoch milis for 1st July 22 midnight</p> <pre><code> val datey = &quot;July/2020&quot; val dateFor...
I have a month July 2022 for example, I want get epoch milis for the first day of the month 1st July 2022 at midnight. from the month I was able to get the 1st July 2022, but how to convert it into epoch milis for 1st July 22 midnight [CODE] I get 2022-07-01 for parsedDate, I want to get the date time for this date in ...
android|kotlin|epoch|localdate
-1
2022-07-27T14:24:56.643Z
2,022
7
14
2
24
1
340
46
4
1
true
false
false
false
false
true
negative
73,139,852
Modifier.Scrollable in Android Jetpack Compose
<p>I want to achieve the following effect: Three sections - image, header, and text. When I scroll up, I want the image section to shrink until its gone, the two lower sections to move up and occupy the freed up space, the header to become a sticky header at the top, and then the text scroll to kick in last.</p> <p><a...
I want to achieve the following effect: Three sections - image, header, and text. When I scroll up, I want the image section to shrink until its gone, the two lower sections to move up and occupy the freed up space, the header to become a sticky header at the top, and then the text scroll to kick in last. My first atte...
android|kotlin|android-animation|android-jetpack-compose
1
2022-07-27T14:32:03.060Z
2,022
7
14
2
207
1
1,510
46
4
2
true
false
false
false
false
false
low
73,139,866
Android 13 AD_ID Declaration - Not Recognized by Play Console
<p>In an Android app that targets Android 13 (SDK 33), I have declared the required AD_ID permission in the app manifest:</p> <p><code> &lt;uses-permission android:name=&quot;com.google.android.gms.permission.AD_ID&quot;/&gt;</code></p> <p>However, when I upload the app to the play console for release the following ...
In an Android app that targets Android 13 (SDK 33), I have declared the required AD_ID permission in the app manifest: <uses-permission android:name=&quot;com.google.android.gms.permission.AD_ID&quot;/> However, when I upload the app to the play console for release the following error pops up advising me that the permi...
android|google-play|android-13
0
2022-07-27T14:33:33.187Z
2,022
7
14
2
113
0
686
61
3
1
true
true
false
false
false
false
zero
73,140,044
AlertDialog does not display body text
<p>I am using an <code>AlertDialog()</code> to display a dialog for about in my app. I tried, adding html text to my <code>Strings resource</code>. And I am accessing this below. But, for some unknown reason nothing is rendering out. Text is just some simple <em>lorem ipsum</em>.</p> <pre><code>AlertDialog( ...
I am using an AlertDialog() to display a dialog for about in my app. I tried, adding html text to my Strings resource . And I am accessing this below. But, for some unknown reason nothing is rendering out. Text is just some simple lorem ipsum . [CODE] Output:
android
1
2022-07-27T14:44:54.130Z
2,022
7
14
2
50
2
259
38
1
1
true
false
false
false
false
false
low
73,140,106
Android WebView not reading data from local storage in first time page finished?
<p>I am trying to read local storage data from javascript using WebView in android.</p> <p>Here is my code</p> <pre><code> @Override public void onPageFinished(WebView view, String url) { getLocalStorageAndSaveOnAndroidPref(&quot;androidDeliveryAppStickyNotificationTitle&quot;, view); } public static v...
I am trying to read local storage data from javascript using WebView in android. Here is my code [CODE] But this is giving me null when it's loaded the first time. I want to achieve that the local storage data should be loaded the first time the page is finished. Any idea how to achieve that.
android|local-storage|android-webview|hybrid-mobile-app|webchromeclient
2
2022-07-27T14:48:50.103Z
2,022
7
14
2
37
2
293
80
5
1
true
false
false
false
false
false
low
73,140,176
Jetpack Compose SwipeToDelete does not work properly
<p>Hi I have an app with Jetpack Compose that has a list and user can add or delete items in that list. That list also recording to the FireBaseFireStore. Updating added items synchronously is successful but when i try to delete an item from list, LazyColumn's behaviour is being weird. İt deletes all items sometimes o...
Hi I have an app with Jetpack Compose that has a list and user can add or delete items in that list. That list also recording to the FireBaseFireStore. Updating added items synchronously is successful but when i try to delete an item from list, LazyColumn's behaviour is being weird. İt deletes all items sometimes or de...
firebase|google-cloud-firestore|android-jetpack-compose
1
2022-07-27T14:53:41.450Z
2,022
7
14
2
38
0
892
52
3
3
true
true
false
false
false
false
low
73,140,296
Android Paring-Dialog popups twice after connect to bonded BLE device
<p>I'm trying to connect an Android Tablet to an already bonded BLE device via <code>BluetoothDevice::connectGatt(...)</code>, but the <a href="https://android.googlesource.com/platform/packages/apps/Settings/+/jb-dev/src/com/android/settings/bluetooth/BluetoothPairingDialog.java" rel="nofollow noreferrer">BluetoothPar...
I'm trying to connect an Android Tablet to an already bonded BLE device via BluetoothDevice::connectGatt(...) , but the BluetoothParingDialog gets called again twice . The BLE device is based on the Nordic nRF5 series. I created a very simplified Android app (targetSdk 30) to isolate the problem: Manifest: [CODE] Scan ...
bluetooth|bluetooth-lowenergy|android-bluetooth|android-ble|pairing
0
2022-07-27T15:01:43.947Z
2,022
7
15
2
76
0
1,496
69
5
5
true
true
false
false
false
false
zero
73,140,322
How to set the frame rate of the camera during preview without delay for android applications?
<p>When I used the API of Camera2 to set the frame rate of the camera preview, I found that there was a certain delay from the code running to the successful execution. Do you have a better method to adjust the frame rate of the preview without delay? My current method is like this, but from the actual operation effect...
When I used the API of Camera2 to set the frame rate of the camera preview, I found that there was a certain delay from the code running to the successful execution. Do you have a better method to adjust the frame rate of the preview without delay? My current method is like this, but from the actual operation effect, I...
java|android|kotlin
0
2022-07-27T15:02:57.950Z
2,022
7
15
2
13
0
524
94
3
1
true
true
false
false
false
false
zero
73,140,524
Amazon IAP Android PurchasingListener never called
<p>I am trying to implement a subscription IAP on Android using the Amazon SDK (3.0.3). I made all things as described in Amazon appropriate documentation and their sample app and configured Amazon App Tester properly. However have no luck, I am getting no responses from PurchasingListener.</p> <p>The ResponseReceiver ...
I am trying to implement a subscription IAP on Android using the Amazon SDK (3.0.3). I made all things as described in Amazon appropriate documentation and their sample app and configured Amazon App Tester properly. However have no luck, I am getting no responses from PurchasingListener. The ResponseReceiver has follow...
android|sdk|in-app-purchase|amazon
0
2022-07-27T15:15:45.570Z
2,022
7
15
2
113
1
1,557
50
4
9
true
false
false
false
false
false
zero
73,140,591
facing gradle error while running my code?
<p>I am facing an error while running my code. Its showing multiple lines error which you can see in the below screenshot. Kindly help me to resolve this issue<a href="https://i.stack.imgur.com/F6rsg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F6rsg.png" alt="enter image description here" /></a><...
I am facing an error while running my code. Its showing multiple lines error which you can see in the below screenshot. Kindly help me to resolve this issue
android|flutter|android-studio|dart|flutter-layout
1
2022-07-27T15:19:59.230Z
2,022
7
15
2
22
1
156
42
5
0
false
false
false
false
false
false
low
73,140,674
Kotlin coroutine exception handling is different on Android compared to vanilla Kotlin
<p>I have a question about a difference in coroutine exception behaviour on Android compared to regular &quot;vanilla&quot; Kotlin code. The Kotlin coroutine exception handling guide <a href="https://kotlinlang.org/docs/exception-handling.html" rel="nofollow noreferrer">here</a> begins with an example that you can run ...
I have a question about a difference in coroutine exception behaviour on Android compared to regular &quot;vanilla&quot; Kotlin code. The Kotlin coroutine exception handling guide here begins with an example that you can run in the Kotlin playground. There you get the same output that the guide predicts. [CODE] Throwin...
android|kotlin|kotlin-coroutines
0
2022-07-27T15:25:12.960Z
2,022
7
15
2
93
0
4,189
86
3
2
true
true
false
false
false
false
zero
73,140,752
How to convert uint8List to image in flutter web
<p>I want to take a screenshot of any widget and then share it to WhatsApp or any other app. But from the screenshot widget, I get uint8List type of image but I want to convert it into image type and then Share it with Flutter_Share plugin, so I have to convert it into Image. How to do that?</p> <pre><code>controller ...
I want to take a screenshot of any widget and then share it to WhatsApp or any other app. But from the screenshot widget, I get uint8List type of image but I want to convert it into image type and then Share it with Flutter_Share plugin, so I have to convert it into Image. How to do that? [CODE] Here I am trying to con...
android|flutter|web|flutter-web
0
2022-07-27T15:30:43.460Z
2,022
7
15
2
104
1
492
48
4
2
true
false
false
false
false
false
zero
73,140,888
Compose Test is Flaky
<p>My some view that starts from an activity shows an alert dialog when pressing the back button using the <code>BackHandler</code>.</p> <pre class="lang-kotlin prettyprint-override"><code>@Composable fun PostEditContent( title: String, uiState: BasePostEditUiState ) { var enabledBackHandler by remember { m...
My some view that starts from an activity shows an alert dialog when pressing the back button using the BackHandler . [CODE] It's working fine. But in the testing, it sometimes failed because the awaitFrame() is not working properly. [CODE] Is there a better way to show the alert dialog or fix the flaky test? Thanks.
android|android-jetpack-compose|kotlin-coroutines|android-jetpack-compose-testing
0
2022-07-27T15:41:18.173Z
2,022
7
15
2
62
0
318
21
4
2
true
true
false
false
false
false
zero
73,140,975
Xamarin.Forms page not displaying xaml layout
<p>I have a contentpage in c# along with a xaml file.</p> <p>Page1.xaml.cs:</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace CompanyName.Pages { [XamlCompilation(XamlCompilati...
I have a contentpage in c# along with a xaml file. Page1.xaml.cs: [CODE] Page1.xaml: [CODE] This is a fairly large project so to isolate anything that could be causing issues, I set my MainPage to Page1. App.xaml.cs: [CODE] My problem is that my xaml file is not rendered. On both a physical device and the emulator, a b...
android|xaml|xamarin.forms
0
2022-07-27T15:46:23.767Z
2,022
7
15
2
51
1
692
45
3
3
true
false
false
false
false
false
zero
73,140,994
Menu does not appear in the actionbar(android studio kotlin)
<p>Hi guys I can't get my dropdown menu to show up in my action bar. In the <code>menu.item.xml</code>, the menu bar appears in the menu split view, however upon loading it on the emulator the menu disappears.</p> <p>I can't find any solutions in the existing forums on StackOverflow.</p> <p><strong><code>Menu.item.xml<...
Hi guys I can't get my dropdown menu to show up in my action bar. In the menu.item.xml , the menu bar appears in the menu split view, however upon loading it on the emulator the menu disappears. I can't find any solutions in the existing forums on StackOverflow. Menu.item.xml [CODE] Main activity implementation of the ...
android-studio|kotlin
0
2022-07-27T15:47:30.303Z
2,022
7
15
2
13
0
387
60
2
3
true
true
false
false
false
false
zero
73,140,997
white balance mode (TWILIGHT, SHADE, INCADESCENT, FLUORESCENT, WARM_FLUORESCENT)
<p>From Android developer guide I found different mode (TWILIGHT, SHADE, INCADESCENT, FLUORESCENT, WARM_FLUORESCENT) for white balance setting, but I need the to set white balance by Kelvin value (example: 3200K, 5000K). Anyone know the temperature range against different mode?</p> <p>Thanks Mohammad</p>
From Android developer guide I found different mode (TWILIGHT, SHADE, INCADESCENT, FLUORESCENT, WARM_FLUORESCENT) for white balance setting, but I need the to set white balance by Kelvin value (example: 3200K, 5000K). Anyone know the temperature range against different mode? Thanks Mohammad
android|android-camerax
0
2022-07-27T15:47:34.710Z
2,022
7
15
2
10
0
291
80
2
0
false
true
false
false
false
false
zero
73,141,043
Creating a ViewModel causes the app to crash. (Kotlin/Android Studio)
<p>I have been following a tutorial from Geeks for Geeks on how to make a simple note app for Android. I've practically copied to code word-by-word (except for a minor fix in the gradle file as advised from a Stack Overflow post and a comment in the YouTube comment section), yet the app crashes every time I open it eve...
I have been following a tutorial from Geeks for Geeks on how to make a simple note app for Android. I've practically copied to code word-by-word (except for a minor fix in the gradle file as advised from a Stack Overflow post and a comment in the YouTube comment section), yet the app crashes every time I open it even a...
android|kotlin|viewmodel
0
2022-07-27T15:51:19.227Z
2,022
7
15
2
129
1
1,086
69
3
5
true
false
false
false
false
false
zero
73,141,055
Accessing recent images in a folder using MediaStore
<p>I am currently using this code to access the recent images from <code>/DCIM/</code> folder -</p> <pre class="lang-java prettyprint-override"><code>final Cursor cursor = chatActivity.this.getContentResolver() .query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, projection, null, ...
I am currently using this code to access the recent images from /DCIM/ folder - [CODE] and then get the images by [CODE] and then using cursor.moveToNext() to access the next image. But if I have to access the images in another folder (like /MyFolder/Images/ ) in a similar fashion, using MediaStore and Cursor then what...
java|android|image|android-cursor|mediastore
0
2022-07-27T15:52:05.207Z
2,022
7
15
2
40
1
503
52
5
2
true
false
false
false
false
false
zero