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,086,069
Dropdown menu formatting breaks on reopening
<p><a href="https://i.stack.imgur.com/vfrG7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vfrG7.png" alt="Dropdown with broken formatting" /></a> This dropdown list in my app, implemented as a <code>TextInputLayout.OutlinedBox.ExposedDropdownMenu</code> shows correctly the first time it displays, b...
This dropdown list in my app, implemented as a TextInputLayout.OutlinedBox.ExposedDropdownMenu shows correctly the first time it displays, but if the user taps outside the dropdown without selecting an item, the next time the menu is shown, the list item formatting is screwed up, and margins/padding are ignored for mos...
android|android-layout|material-ui
0
2022-07-22T21:06:49.093Z
2,022
7
21
4
16
0
526
44
3
0
false
true
false
false
false
false
zero
73,086,226
MediaProjectionManager.getMediaProjection( ) problem in android 12
<p>I create a screenshot application and that work good in all of the android devices. But I have a problem with take screenshot in <code>android 12</code> (Xiaomi 11t) I'm using static intent and result code and then clone intent and pass it to this function <code>mediaProjectionManager.getMediaProjection(resultCode,c...
I create a screenshot application and that work good in all of the android devices. But I have a problem with take screenshot in android 12 (Xiaomi 11t) I'm using static intent and result code and then clone intent and pass it to this function mediaProjectionManager.getMediaProjection(resultCode,clonedIntent) I have no...
android|screenshot|mediaprojection
2
2022-07-22T21:26:36.457Z
2,022
7
21
4
71
0
477
66
3
1
true
true
false
false
false
false
low
73,086,253
How to create a .aab file from .apk
<p>I am trying to upload my game to the play store. I created an apk file from buildozer and now I want to create a .aab file to upload it on google console. I searched some tutorials on YouTube and tried to convert the file on android studio, but I was unsuccessful in it. Can anyone please suggest to me some other way...
I am trying to upload my game to the play store. I created an apk file from buildozer and now I want to create a .aab file to upload it on google console. I searched some tutorials on YouTube and tried to convert the file on android studio, but I was unsuccessful in it. Can anyone please suggest to me some other ways t...
python|android|android-studio|kivy|apk
0
2022-07-22T21:30:37.663Z
2,022
7
21
4
126
0
412
35
5
0
false
true
false
false
false
false
zero
73,086,276
Android facebook shimmerFrameLayout set reapeat delay not working correctly?
<p>I use ShimmerFrameLayout in the android project. When i set app:shimmer_repeat_delay=&quot;integer&quot; in XML layout file, that changes shimmer_duration(shimmer sweep slowly!). Is this a bug? Does someone have a solution? Thanks for your help.</p> <p>library url: <a href="http://facebook.github.io/shimmer-android...
I use ShimmerFrameLayout in the android project. When i set app:shimmer_repeat_delay=&quot;integer&quot; in XML layout file, that changes shimmer_duration(shimmer sweep slowly!). Is this a bug? Does someone have a solution? Thanks for your help. library url: http://facebook.github.io/shimmer-android My code is: [CODE]
android|shimmer
1
2022-07-22T21:34:18.583Z
2,022
7
21
4
44
0
319
76
2
1
true
true
false
false
false
false
low
73,086,349
TextViews never update
<p>Here's the gist:</p> <p>I'm a beginner, and am trying to create an app where you input a number and if that number matches a randomly generated number you &quot;win&quot;.</p> <p>My issue is that I have 2 textviews towards the bottom of the screen and their values never update. One (tVWinORLose) for displaying a sim...
Here's the gist: I'm a beginner, and am trying to create an app where you input a number and if that number matches a randomly generated number you &quot;win&quot;. My issue is that I have 2 textviews towards the bottom of the screen and their values never update. One (tVWinORLose) for displaying a simple &quot;You Win...
android|android-studio|kotlin
0
2022-07-22T21:43:48.737Z
2,022
7
21
4
39
2
635
22
3
2
true
false
false
false
false
false
zero
73,086,398
AGP 7.2.x jacoco coverage data is unexpectedly low
<p>Starting with AGP 7.2.0-alpha01 and onwards (including 7.2.0, 7.3.x, and 7.4.x preview builds), jacoco coverage is not working correctly despite all config/information seemingly being setup/working as expected.</p> <p>On AGP 7.1.3, coverage shows up to the expected %s (very high for my app I am using - above 90% let...
Starting with AGP 7.2.0-alpha01 and onwards (including 7.2.0, 7.3.x, and 7.4.x preview builds), jacoco coverage is not working correctly despite all config/information seemingly being setup/working as expected. On AGP 7.1.3, coverage shows up to the expected %s (very high for my app I am using - above 90% lets say) - t...
android|gradle|testing|code-coverage|jacoco
3
2022-07-22T21:50:33.797Z
2,022
7
21
4
129
1
1,348
50
5
1
true
false
false
false
false
false
low
73,086,585
How would I update a single item in an ArrayList of items with data from Room? (android Kotlin)
<p>I am fetching a list of dogs from an endpoint. Some of the attributes of the dog, color for example, are identified by id. The id's and colors corresponding to the id were all saved in a database when the app is opened. I am using MVVM architecture and assume that the model is consuming the response data correctly.<...
I am fetching a list of dogs from an endpoint. Some of the attributes of the dog, color for example, are identified by id. The id's and colors corresponding to the id were all saved in a database when the app is opened. I am using MVVM architecture and assume that the model is consuming the response data correctly. In ...
android|kotlin|mvvm|android-recyclerview|android-room
0
2022-07-22T22:21:46.613Z
2,022
7
22
4
70
1
1,299
95
5
0
false
false
false
false
false
false
zero
73,086,589
What are the differences between 'flutter run', 'flutter build', Start Debugging, Run Without Debugging, etc
<p>I am new to Flutter. There are different ways to run your app in Flutter. I am wondering what the differences are between these ways. I'm using Visual Studio Code on MacOS.</p> <p><strong>Way 1</strong></p> <blockquote> <p>Visual Studio --&gt; Run --&gt; Start Debugging(^F5)</p> </blockquote> <p>(Is there any comman...
I am new to Flutter. There are different ways to run your app in Flutter. I am wondering what the differences are between these ways. I'm using Visual Studio Code on MacOS. Way 1 Visual Studio --> Run --> Start Debugging(^F5) (Is there any command line equivalent of this? Knowing its command line equivalent will be hel...
android|ios|flutter|dart
1
2022-07-22T22:22:49.117Z
2,022
7
22
4
93
1
1,117
108
4
0
false
false
false
false
false
false
low
73,086,751
Link within iframe gets executed twice
<p>I have a website that is embedded into another website with an iframe. If I click on a Link on this iframe-site, the target is called/executed twice. But only on Android embedded App-Browser. On normal Chrome browser it works. I don't know why this link is called twice on Android device.</p> <p><div class="snippet" ...
I have a website that is embedded into another website with an iframe. If I click on a Link on this iframe-site, the target is called/executed twice. But only on Android embedded App-Browser. On normal Chrome browser it works. I don't know why this link is called twice on Android device. [CODE] If I call the embedded i...
android|node.js|iframe
2
2022-07-22T22:51:26.730Z
2,022
7
22
4
21
0
475
38
3
1
true
true
false
false
false
false
low
73,087,087
Issue with Android 7 remote notification icon
<p>I'm trying to fix an issue with the notification icon of Android 7 that insistis in not get colored. Before, I had no transparent icon, just a regular png that looks pretty good at Android 7, but I've noticed that this icon doesn't works in Android 10+ because this version expects icon to be transparent image and ha...
I'm trying to fix an issue with the notification icon of Android 7 that insistis in not get colored. Before, I had no transparent icon, just a regular png that looks pretty good at Android 7, but I've noticed that this icon doesn't works in Android 10+ because this version expects icon to be transparent image and havin...
android|xamarin|xamarin.android|android-notifications
0
2022-07-22T23:54:28.567Z
2,022
7
23
4
45
0
1,293
45
4
2
true
true
false
false
false
false
zero
73,087,180
android listpreference dialog cancel button not working properly
<p>android listpreference dialog cancel button not working properly</p> <p>Clicking the mouse over the text doesn't respond, clicking between the text and the button outline works. Why? The editpreference is the same.</p> <p><a href="https://youtu.be/Aphy1YpB7LA" rel="nofollow noreferrer">https://youtu.be/Aphy1YpB7LA</...
android listpreference dialog cancel button not working properly Clicking the mouse over the text doesn't respond, clicking between the text and the button outline works. Why? The editpreference is the same. https://youtu.be/Aphy1YpB7LA android 9.0
android|button|click|mouse|listpreference
0
2022-07-23T00:16:13.693Z
2,022
7
0
5
22
0
248
64
5
0
false
true
false
false
false
false
zero
73,087,279
react-native run-android not work task:react-native-keychain:compileDebugJavaWithJavac
<p>I cloned an old repo, this currently works in third's pcs. This is made in react native.</p> <p><strong>The problem</strong> when I use <strong>react-native run-android</strong> this failed and get this message.</p> <blockquote> <p>Android gradle plugin: 3.6.3 Gradle: 6.3 building Reanimated2</p> </blockquote> <bloc...
I cloned an old repo, this currently works in third's pcs. This is made in react native. The problem when I use react-native run-android this failed and get this message. Android gradle plugin: 3.6.3 Gradle: 6.3 building Reanimated2 Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac Task :react-na...
android|react-native|android-studio|gradle
1
2022-07-23T00:43:33.303Z
2,022
7
0
5
78
0
788
86
4
1
true
true
false
false
false
false
low
73,087,282
@Composable invocations can only happen from the context of a @Composable function(Google SignIn)
<pre><code> @Composable fun loginButton(loginType: Int, context: Context, googleSignInClient: GoogleSignInClient?) { Column(horizontalAlignment = Alignment.CenterHorizontally, modifier = Modifier.fillMaxWidth()) { if (loginType == 0) { OutlinedButton(onClick = { googleSignIn(c...
[CODE] You can see googleSignIn() from the 6th line which caused that error. That is the function in other Kotlin file. The code for that function is under here. [CODE] I don't know what is the problem. First, I want googleSignIn() at the 6th line of loginButton to work with 'context' at the parameter of loginButton. S...
android|firebase|kotlin|android-jetpack-compose|google-signin
0
2022-07-23T00:44:29.740Z
2,022
7
0
5
30
0
358
97
5
2
true
true
false
false
false
false
zero
73,087,490
Broadcast IR signals using API level 16 (android 4.1) in android studio
<p>i am trying to develop an app that uses the IR blaster on an old phone to mimic a <a href="https://i.stack.imgur.com/3CyoW.png" rel="nofollow noreferrer">standard 24 key RGB remote</a> i found the <a href="https://i.stack.imgur.com/s476G.png" rel="nofollow noreferrer">IR signal codes</a> but support for IR was only ...
i am trying to develop an app that uses the IR blaster on an old phone to mimic a standard 24 key RGB remote i found the IR signal codes but support for IR was only added in API level 19. is there a way for me to make an IR app on a phone that only supports android 4.1 (LG Optimus F6 T-Mobile version)
android-studio|kotlin
0
2022-07-23T01:46:24.373Z
2,022
7
1
5
20
0
302
71
2
0
false
true
false
false
false
false
zero
73,087,528
How I can fix error in android file in vs code?
<p><img src="https://i.stack.imgur.com/KFkRj.png" alt="1" /></p> <p>it is showing: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-all.zip'. org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'...
it is showing: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-all.zip'. org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'. A problem occurred configuring root project 'android'. A problem o...
java|android|gradle|visual-studio-code
0
2022-07-23T01:58:19.307Z
2,022
7
1
5
72
1
763
47
4
0
false
false
false
false
false
false
zero
73,087,555
Duplicate compose views are rendered with user touch when opening a compose-based DialogFragment from a pure xml Activity on Android Phones
<p>We have a legacy code base that uses 1.0.0 AppCompatActivity. Our team wants to use Jetpack Compose UI components in a new feature we want to develop. This new UI component would be a popover over the activity content. The popover is not full-screen and has shadows around it. In order to do that, we created a full s...
We have a legacy code base that uses 1.0.0 AppCompatActivity. Our team wants to use Jetpack Compose UI components in a new feature we want to develop. This new UI component would be a popover over the activity content. The popover is not full-screen and has shadows around it. In order to do that, we created a full scre...
android|android-jetpack-compose
1
2022-07-23T02:06:18.810Z
2,022
7
2
5
117
0
2,929
139
2
2
true
true
false
false
false
false
low
73,087,638
R8 FullMode Debug throwing Transition XXX is not a valid framework Transition or AndroidX Transition
<p>With <strong>android.enableR8.fullMode=true</strong> and <strong>minifyEnabled true</strong> on <strong>Debug</strong> builds we are seeing the following runtime error (multiple devices and the emulator):</p> <blockquote> <p>Fatal Exception: java.lang.IllegalArgumentException: Transition Slide@b15f5f5: dur(400) for...
With android.enableR8.fullMode=true and minifyEnabled true on Debug builds we are seeing the following runtime error (multiple devices and the emulator): Fatal Exception: java.lang.IllegalArgumentException: Transition Slide@b15f5f5: dur(400) for fragment MyFragment is not a valid framework Transition or AndroidX Transi...
android|proguard|android-r8
1
2022-07-23T02:30:34.553Z
2,022
7
2
5
996
1
669
100
3
3
true
false
false
false
false
false
low
73,087,691
Dismiss a child view without it executing the parent view OnCreate function
<p>I have the following in my AndroidManifest.xml file:</p> <pre><code>&lt;activity android:name=&quot;.PickemAllPicksResultsActivity&quot; android:label=&quot;@string/title_activity_backActionBar&quot; android:parentActivityName=&quot;.PoolDetailsActivity&quot; android:screenOrientation=&quot;portrait&...
I have the following in my AndroidManifest.xml file: [CODE] The above places a back button/arrow (in the action bar) in my child view in order to navigate back to the parent view. I have the following layout for the child view: [CODE] When i click on the back button in the action bar the app crashes because the parent ...
java|android|android-studio
1
2022-07-23T02:48:38.210Z
2,022
7
2
5
22
1
599
75
3
3
true
false
false
false
false
false
low
73,087,735
android 11 OTA update crash when first boot but recovered in second boot
<p>I am doing Android 11 OTA upgrade from sdcard. The upgrade success, then device reboot.</p> <p>After reboot, I saw device crash by this library:</p> <pre><code>#00 pc 00757fa4 /vendor/lib/libril-qc-hal-qmi.so </code></pre> <p>So I check the md5sum firstly, then reboot device. After device rebooted, no crash anymore...
I am doing Android 11 OTA upgrade from sdcard. The upgrade success, then device reboot. After reboot, I saw device crash by this library: [CODE] So I check the md5sum firstly, then reboot device. After device rebooted, no crash anymore. then check the md5sum for above file again, it's different: [CODE] So the crash hap...
android|ota
0
2022-07-23T03:02:58.070Z
2,022
7
3
5
17
0
492
72
2
2
true
true
false
false
false
false
zero
73,087,747
Why is the wrong activity launched in Android App despite android manifest having different value?
<p>I assume, there is something wrong with my AndroidManifest.xml. The relevant part is</p> <pre class="lang-xml prettyprint-override"><code> &lt;activity android:name=&quot;.MainActivity&quot; android:exported=&quot;true&quot;&gt; &lt;intent-filter&gt; &lt;act...
I assume, there is something wrong with my AndroidManifest.xml. The relevant part is [CODE] with MainActivity.kt being [CODE] addition: I have now tried commenting everything in MainAktivity out, so it looks like this (full Main Aktivity): [CODE] This should start with MainActivity but it does start on YOActivity. I ev...
android|kotlin|android-manifest
0
2022-07-23T03:07:02.147Z
2,022
7
3
5
47
2
785
98
3
3
true
false
false
false
false
false
zero
73,087,792
When execute the test script in appium it display AttributeError: can't set attribute
<pre><code>import time import ScrollUtil from appium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC desired_caps = {} desired_caps['platformName'] = 'Android' desired_caps['deviceName...
[CODE] ` When I execute the above scripts I receive the below error messages and cannot be executed. I have already open the Appium Server self.capabilities = response.get('value') AttributeError: can't set attribute Error message
appium-android|python-appium|desiredcapabilities
0
2022-07-23T03:19:33.777Z
2,022
7
3
5
48
1
230
85
3
1
true
false
false
false
false
false
zero
73,087,872
Android Studio SVG image turns into black. Inscape export
<p>dear stack'ers. I have a button with gradient, that turns into black in Android Studio. My friend made images for me, so I need your help to make them look good. I use Inscape to check if the image is bad, but in Inscape everything is ok. <a href="https://i.stack.imgur.com/USqQg.png" rel="nofollow noreferrer">Insca...
dear stack'ers. I have a button with gradient, that turns into black in Android Studio. My friend made images for me, so I need your help to make them look good. I use Inscape to check if the image is bad, but in Inscape everything is ok. Inscape version When I add image in Android Studio, some parts of it become black...
android|xml|android-studio|svg
0
2022-07-23T03:46:44.757Z
2,022
7
3
5
31
0
563
57
4
1
true
true
false
false
false
false
zero
73,087,874
android.app.contextimpl cannot be cast to android.content.contextwrapper
<p>I created an SDK for SMS syncing</p> <pre class="lang-java prettyprint-override"><code>package com.example.sms_sync_sdk import android.content.Context import android.content.ContextWrapper import android.app.Application import android.view.View import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.Obs...
I created an SDK for SMS syncing [CODE] I have a React Native app using React Native Module to call this function. I am passing context of type ReactApplicationContext [CODE] After which I call it in my react native app which results in a red error screen displaying: [CODE] As I understand this the ReactApplicationCont...
android|react-native|kotlin|react-native-modules
0
2022-07-23T03:46:47.110Z
2,022
7
3
5
55
0
407
72
4
3
true
true
false
false
false
false
zero
73,087,879
Create and operate uinput virtual devices in Android application's Java code
<p>In Android, I can <a href="https://sites.google.com/site/sbobovyc/home/Programming/a/uinput" rel="nofollow noreferrer">use C/C++ codes</a> to create and operate uinput virtual devices. However, I cannot use JNI to call these functions in Java directly because they require root access. The only way that I can do supe...
In Android, I can use C/C++ codes to create and operate uinput virtual devices. However, I cannot use JNI to call these functions in Java directly because they require root access. The only way that I can do superuser operations is to pass commands to su , but I do not know how to create and operate uinput devices in c...
java|android|c|java-native-interface|uinput
0
2022-07-23T03:48:02.587Z
2,022
7
3
5
23
0
501
76
5
0
false
true
false
false
false
false
zero
73,087,881
App size got increased after react native and gradle upgrade
<p>I upgraded my app's React Native version from 0.63.2 to 0.68, Gradle plugin from 4.0.1 to 7.0.4 , I thought by using higher version of react native and Gradle this will reduce my app's APK size but instead APK's size got increased by 6-7 MB . What should I do now , my main goal is to have APK of a smaller size, is t...
I upgraded my app's React Native version from 0.63.2 to 0.68, Gradle plugin from 4.0.1 to 7.0.4 , I thought by using higher version of react native and Gradle this will reduce my app's APK size but instead APK's size got increased by 6-7 MB . What should I do now , my main goal is to have APK of a smaller size, is ther...
android|react-native|gradle|android-gradle-plugin
1
2022-07-23T03:48:23.437Z
2,022
7
3
5
39
0
464
60
4
0
false
true
false
false
false
false
low
73,087,936
How to perform firebase authentication that returns a flow in android kotlin
<p><strong>What I currently have</strong>:</p> <ul> <li>I have a service class where I perform firebase registration for a user.</li> <li>It is working.</li> </ul> <p><strong>What I am trying to do</strong>:</p> <ul> <li>I am trying to return a flow</li> </ul> <p><strong>Current code</strong>:</p> <pre><code>class Logi...
What I currently have : I have a service class where I perform firebase registration for a user. It is working. What I am trying to do : I am trying to return a flow Current code : [CODE]
android|firebase|kotlin|firebase-authentication
0
2022-07-23T04:01:12.230Z
2,022
7
4
5
87
1
187
76
4
1
true
false
false
false
false
false
zero
73,088,052
TransactionTooLargeException: data parcel size 896372 bytes
<pre><code>mBinding.attachBtn.setOnClickListener { mGetContent.launch(&quot;image/*&quot;) } </code></pre> <p>This is the launch code</p> <pre><code>mGetContent = registerForActivityResult(ActivityResultContracts.GetContent(), ActivityResultCallback { val intent = Intent(APP_ACTIVITY, Cr...
[CODE] This is the launch code [CODE] Initializing mGetContent [CODE] Getting the result The essence of the problem I'm trying to send images to the chat room, but when I did it through sending URI, the message is written once in the database, but in the Recycler View is displayed 3 times, or the error TransactionTooLa...
java|android|firebase|kotlin
4
2022-07-23T04:31:40.993Z
2,022
7
4
5
131
0
871
59
4
6
true
true
false
false
false
false
low
73,088,293
Android Studio : dupliacate class found error
<p>I'm learning Android at the moment.<br /> I made 2 layout file first and 2 java file.<br /> I connect them but I got error<br /> checkDebugDuplicateClasses<br /> dupliacate class found</p> <p>I got just 2 files I can't find any duplicate classes</p> <pre><code>package com.example.fitcord; import android.content.In...
I'm learning Android at the moment. I made 2 layout file first and 2 java file. I connect them but I got error checkDebugDuplicateClasses dupliacate class found I got just 2 files I can't find any duplicate classes [CODE] [CODE] These are my 2 java file's code Is it problem of layout? or What should I do?
java|android|duplicates
0
2022-07-23T05:35:00.430Z
2,022
7
5
5
29
1
306
45
3
2
true
false
false
false
false
false
zero
73,088,301
Why I get different answer when I use data.getData() vs data.getClipData().getItemAt(i).getUri()
<p>Right now I'm trying to implement pick a multiple photos from gallery. I already have the logic when is just to pick one photo from gallery that is works well.</p> <pre><code>Uri selectedImage = data.getData(); </code></pre> <p>and when I debug, I'm getting the format of this way:</p> <pre><code>content://com.google...
Right now I'm trying to implement pick a multiple photos from gallery. I already have the logic when is just to pick one photo from gallery that is works well. [CODE] and when I debug, I'm getting the format of this way: [CODE] for then use: [CODE] and everything works well for single photo. but, when I tried to implem...
java|android|android-studio
0
2022-07-23T05:36:54.837Z
2,022
7
5
5
36
1
562
96
3
7
true
false
false
false
false
false
zero
73,088,312
How to add two activties/screens data at one time in same Document IDs in firebase firestore android?
<p>I am new to Android and working on a project where I need to get the input from users through multiple activities and then add that data to the Firebase Firestore but the problem I m facing is that the data is saved in different documents IDs but I want it to be in the same document id?? So that I can retrieve the d...
I am new to Android and working on a project where I need to get the input from users through multiple activities and then add that data to the Firebase Firestore but the problem I m facing is that the data is saved in different documents IDs but I want it to be in the same document id?? So that I can retrieve the data...
java|android|firebase|google-cloud-platform|google-cloud-firestore
0
2022-07-23T05:38:58.260Z
2,022
7
5
5
62
2
394
101
5
0
false
false
false
false
false
false
zero
73,088,320
Which is a better query for performance using firebase realtime-database
<p>I have a list of users which might increment to thousands of records.</p> <p>I have 2 instances of retrieving specific user data.</p> <p><strong>The 1st one</strong> is retrieving it via the userId(key) as the diagram below:</p> <p><a href="https://i.stack.imgur.com/qYYcl.png" rel="nofollow noreferrer"><img src="htt...
I have a list of users which might increment to thousands of records. I have 2 instances of retrieving specific user data. The 1st one is retrieving it via the userId(key) as the diagram below: The code for that is: [CODE] The 2nd one is saving the userId as a field-value, so that I can index it in the rules for better...
java|android|firebase|google-cloud-platform|firebase-realtime-database
1
2022-07-23T05:40:22.957Z
2,022
7
5
5
35
2
717
72
5
2
true
false
false
false
false
false
low
73,088,345
How to get the Push notifications data and show in a screen from Firebase Real Time database
<p>I want to show the List of notifications received from firebase which are triggered from Backend by registering to Topics with user id. The notifications records are being available in Firebase Realtime database. But I am not able to get the data from there to show it in my view.</p> <p>The below is the json I got f...
I want to show the List of notifications received from firebase which are triggered from Backend by registering to Topics with user id. The notifications records are being available in Firebase Realtime database. But I am not able to get the data from there to show it in my view. The below is the json I got from databa...
flutter|dart|android-push-notification
0
2022-07-23T05:46:52.900Z
2,022
7
5
5
30
0
329
92
3
1
true
true
false
false
false
false
zero
73,088,351
Load Whatsapp Stickers from Firebase | Firebase implementation in Whatsapp Stickers App
<p>I am confused about loading stickers from firebase. I have the source code of the official app of WhatsApp stickers that I get from GitHub from this link : <a href="https://github.com/WhatsApp/stickers/tree/main/Android" rel="nofollow noreferrer">https://github.com/WhatsApp/stickers/tree/main/Android</a></p> <p>But ...
I am confused about loading stickers from firebase. I have the source code of the official app of WhatsApp stickers that I get from GitHub from this link : https://github.com/WhatsApp/stickers/tree/main/Android But I cannot customize this code for getting stickers from firebase storage instead of keeping files in the a...
android|firebase|firebase-realtime-database|firebase-storage|whatsapp-stickers
0
2022-07-23T05:47:45.230Z
2,022
7
5
5
58
0
720
87
5
0
false
true
false
false
false
false
zero
73,088,362
how to enable @Preview for kotlin desktop compose demo project?
<p>I downloaded the <a href="https://github.com/JetBrains/compose-jb/tree/master/examples/codeviewer" rel="nofollow noreferrer">demo project</a> to study kotlin compose.</p> <p>I try to add @Preview on a @Composable fun, but get warn that: <strong>Unresolved reference: Preview</strong></p> <p>I add <code>implementation...
I downloaded the demo project to study kotlin compose. I try to add @Preview on a @Composable fun, but get warn that: Unresolved reference: Preview I add implementation(&quot;androidx.compose.ui:ui-tooling-preview:1.1.1&quot;) in kotlin.sourceSets.named(&quot;CommonMain&quot;).dependencies in build.gradlw.kts : [CODE] ...
android|kotlin|android-jetpack-compose
0
2022-07-23T05:51:01.133Z
2,022
7
5
5
67
1
439
63
3
1
true
false
false
false
false
false
zero
73,088,479
Efficient rendering of many Jetbrains Compose elements at absolute coordinates within a graphics layer
<p>I am trying to render a large number of &quot;nodes&quot; in a freeform sandbox area with Jetbrains Compose. Each node has it's own X,Y position. The editor is in a graphicsLayer where it can be panned and scaled. Inside this sandbox area, each node is <code>offset</code> by it's X,Y values and then rendered. Howeve...
I am trying to render a large number of &quot;nodes&quot; in a freeform sandbox area with Jetbrains Compose. Each node has it's own X,Y position. The editor is in a graphicsLayer where it can be panned and scaled. Inside this sandbox area, each node is offset by it's X,Y values and then rendered. However, the graphicsL...
kotlin|android-jetpack-compose|jetbrains-compose
1
2022-07-23T06:16:32.633Z
2,022
7
6
5
30
0
1,362
102
3
0
false
true
false
false
false
false
low
73,088,533
Which plugin provide us the assembleDebug task in gradle android
<p>how to understand internals/definition of task that we run in Android like assembleDebug, compileDebugSource.</p> <p>What are the task that comes with Android plugin.</p> <p>In any Object oriented programming basically we can go to function definition and understand what function do.</p> <p>But with groovy in Androi...
how to understand internals/definition of task that we run in Android like assembleDebug, compileDebugSource. What are the task that comes with Android plugin. In any Object oriented programming basically we can go to function definition and understand what function do. But with groovy in Android gradle how can we unde...
android|android-gradle-plugin|build.gradle
0
2022-07-23T06:27:49.660Z
2,022
7
6
5
28
0
333
64
3
0
false
true
false
false
false
false
zero
73,088,622
This suspend function is taking very long time to execute ,How can I optimize this?
<p>I am writing code to get the newsfeed from the database and to show this feed in UI. This is my Firestore database structure:</p> <pre><code>users-&gt;uniqueUserId |--&gt;UsersProfileInfo---&gt;Profile(document) |--&gt;FeedNewsFeed |---&gt;unique documents for each newsfeed ...
I am writing code to get the newsfeed from the database and to show this feed in UI. This is my Firestore database structure: [CODE] to get each news feed from every user in my user collection I have to write nested for loops which takes some extra time and getting data from Firestore also takes some times, so is there...
android|firebase|kotlin|google-cloud-platform|google-cloud-firestore
0
2022-07-23T06:46:19.090Z
2,022
7
6
5
56
1
396
83
5
2
true
false
false
false
false
false
zero
73,088,643
Unable to share images in android project chat applicaton
<p>I tried to share the image in my chat application. But was not able to successfully share it. It's selecting the image from the gallery but not appearing in the Userchat screen and not getting upload in the firebase also.</p> <p>I am not able to find the solution for it. I would very much appreciate if someone can h...
I tried to share the image in my chat application. But was not able to successfully share it. It's selecting the image from the gallery but not appearing in the Userchat screen and not getting upload in the firebase also. I am not able to find the solution for it. I would very much appreciate if someone can help me out...
java|android|firebase
-1
2022-07-23T06:51:17.550Z
2,022
7
6
5
37
1
352
57
3
2
true
false
false
false
false
true
negative
73,088,651
How to resolve 'FwfhTextStyle' error in Flutter?
<p>My app is not building because of this error and I am not able to understand the error. I tried 'flutter upgrade' and 'flutter get' but nothing was helpful.</p> <pre><code>Launching lib/main.dart on SM A127F in debug mode... Running Gradle task 'assembleDebug'... ../../flutter/.pub-cache/hosted/pub.dartlang.org/fwfh...
My app is not building because of this error and I am not able to understand the error. I tried 'flutter upgrade' and 'flutter get' but nothing was helpful. [CODE]
flutter|android-studio|dart|gradle|mobile-development
5
2022-07-23T06:54:11.307Z
2,022
7
6
5
829
2
163
48
5
1
true
false
false
false
false
false
low
73,088,652
How do I prevent newly registered accounts from being automatically signed in?
<p>For my application, I got the usual registration option and the google authentication as well. At first, the registration is working well as intended, with no automatic sign-ins. But after integrating the google authentication in my code, my application would automatically sign-in the newly registered account even w...
For my application, I got the usual registration option and the google authentication as well. At first, the registration is working well as intended, with no automatic sign-ins. But after integrating the google authentication in my code, my application would automatically sign-in the newly registered account even with...
java|android|firebase-authentication
0
2022-07-23T06:54:12.503Z
2,022
7
6
5
47
1
442
78
3
2
true
false
false
false
false
false
zero
73,088,659
Failed to transform firebase-common-20.1.1.jar
<p>I'm trying to add firebase to my flutter project but I'm getting this error: <a href="https://i.stack.imgur.com/ujOrQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ujOrQ.png" alt="enter image description here" /></a> This is my app level build.gradle file:</p> <pre><code>def localProperties = ne...
I'm trying to add firebase to my flutter project but I'm getting this error: This is my app level build.gradle file: [CODE] and this is my project level build.gradle file: [CODE] I've tried to sync my gradle files but it didn't return any error but when I run my flutter project it returns the previous error , I've inst...
android|flutter|firebase|android-studio|gradle
0
2022-07-23T06:55:09.343Z
2,022
7
6
5
67
1
405
46
5
4
true
false
false
false
false
false
zero
73,088,727
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ – ArrayList
<p>I am getting this error when clicking the button in my project and trying to print the data as text.</p> <pre><code>Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ </code></pre> <p>Can you help me with what I missed?</p> <p>MainActivity:</p> <pre><code>@AndroidEntryPoint class MainActivity : AppC...
I am getting this error when clicking the button in my project and trying to print the data as text. [CODE] Can you help me with what I missed? MainActivity: [CODE] PasswordGeneratorViewModel: [CODE] PasswordModel: [CODE]
java|android|kotlin|compiler-errors|runtime-error
1
2022-07-23T07:07:59.420Z
2,022
7
7
5
48
1
221
79
5
4
true
false
false
false
false
false
low
73,088,733
Dynamically Add Fields to Java Class in Android
<p>Android Java;</p> <p>I would like to be able to add fields to a class based on condition. Such fields is TextView, it can be one or more. I don't want to declare redundant ones.</p> <pre><code>class VieHolder{ TextView textView1; // textView2, textView3, ... textViewN based on condition ... } </code></pre> <p>Solut...
Android Java; I would like to be able to add fields to a class based on condition. Such fields is TextView, it can be one or more. I don't want to declare redundant ones. [CODE] Solution should not include additional dependency!
java|android|dynamic|field
1
2022-07-23T07:09:28.190Z
2,022
7
7
5
49
1
228
47
4
1
true
false
false
false
false
false
low
73,088,858
Is there any way to read hardware info with android auto from physical head-unit?
<p>In the showcase app of android-auto <a href="https://github.com/android/car-samples" rel="nofollow noreferrer">samples</a> inside the <a href="https://github.com/android/car-samples/blob/main/car_app_library/showcase/common/src/main/java/androidx/car/app/sample/showcase/common/misc/CarHardwareInfoScreen.java" rel="n...
In the showcase app of android-auto samples inside the misc section which shows that now android auto is capable to get some information about car hardware information which I'm interested in EnergyLevel , car's mileage and many others . However, I'm not sure whether my car would support and provide that information or...
android|android-auto
0
2022-07-23T07:30:52.393Z
2,022
7
7
5
34
0
1,437
81
2
0
false
true
false
false
false
false
zero
73,088,908
How to sort data on the bases of Priority HIGH,Medium and Low in jetpack compose
<pre><code>sealed class Priority{ object High : Priority() object Medium : Priority() object Low : Priority() } </code></pre> <p>I did not be able to sort the data in lazy column on the basis of high,medium and low</p>
[CODE] I did not be able to sort the data in lazy column on the basis of high,medium and low
android|kotlin|android-jetpack-compose|android-jetpack
1
2022-07-23T07:39:19.123Z
2,022
7
7
5
98
1
92
80
4
1
true
false
false
false
false
false
low
73,089,042
Android auto manifest merger failed: attribute is also present at
<p>I'm currently trying to build a hello world app as my first android auto app. Earlier, when I was trying to run the app it was giving me some minSdk error and I managed to fix that. Now, when I try to run it, it gives me this error:</p> <pre><code>Manifest merger failed : Attribute meta-data#androidx.car.app.CarAppM...
I'm currently trying to build a hello world app as my first android auto app. Earlier, when I was trying to run the app it was giving me some minSdk error and I managed to fix that. Now, when I try to run it, it gives me this error: [CODE] I've been trying to follow the instructions here on how to edit the manifest fil...
android|manifest|android-auto
0
2022-07-23T08:02:15.240Z
2,022
7
8
5
104
1
438
65
3
3
true
false
false
false
false
false
zero
73,089,053
How to exclude location permissions from expo Android?
<p>I'm trying to get rid of the location permissions from the Android app that expo compiles, but keep all other permissions as is. If I use the permissions field in the app.json and set this to [], this removes other permissions like being able to save files to the device, which I need. Is there a way for the app to r...
I'm trying to get rid of the location permissions from the Android app that expo compiles, but keep all other permissions as is. If I use the permissions field in the app.json and set this to [], this removes other permissions like being able to save files to the device, which I need. Is there a way for the app to reta...
android|react-native|expo|android-permissions
0
2022-07-23T08:05:12.490Z
2,022
7
8
5
26
0
373
54
4
0
false
true
false
false
false
false
zero
73,089,120
GetX Pagination Controller Page Not Changing
<p>I'm building a system. The logic of this system is as follows: If the PaginationController value is <code>login</code>, there will be a login page on the screen. If the value is <code>register</code>, the registration page will appear.</p> <p><code>login_register_pagination_controller.dart</code>:</p> <pre><code>imp...
I'm building a system. The logic of this system is as follows: If the PaginationController value is login , there will be a login page on the screen. If the value is register , the registration page will appear. login_register_pagination_controller.dart : [CODE] This is how I wrote a Pagination Controller code. Now, I ...
android|flutter|flutter-getx
0
2022-07-23T08:17:36.483Z
2,022
7
8
5
36
0
1,008
44
3
3
true
true
false
false
false
false
zero
73,089,125
My android application have connection issue with server when connected with wifi and work fine with mobile data
<p>I have a mobile application in which I am using retrofit API for get list of records i am facing some strange issue:</p> <p>When I connect with office WIFI then its take more time for load data and some time show timeout while other application like YOUTUBE, FACEBOOK works fine same time but its too fast when connec...
I have a mobile application in which I am using retrofit API for get list of records i am facing some strange issue: When I connect with office WIFI then its take more time for load data and some time show timeout while other application like YOUTUBE, FACEBOOK works fine same time but its too fast when connect with mob...
android|api|retrofit
1
2022-07-23T08:18:40.173Z
2,022
7
8
5
25
0
374
112
3
0
false
true
false
false
false
false
low
73,089,216
android KeyEvent ACTION_MULTIPLE and getCharacters deprecation
<p>According to the android docs, the KeyEvent <em>ACTION_MULTIPLE</em> (=2) constant and <em>getCharacters</em>() functions are deprecated at API 29. They claim these features are no longer used by the input system. I want to know the correct way to receive accented characters which the user types on the soft keyboard...
According to the android docs, the KeyEvent ACTION_MULTIPLE (=2) constant and getCharacters () functions are deprecated at API 29. They claim these features are no longer used by the input system. I want to know the correct way to receive accented characters which the user types on the soft keyboard. Currently these co...
android|keyevent|non-ascii-characters|deprecation-warning
1
2022-07-23T08:33:45.803Z
2,022
7
8
5
65
0
1,339
62
4
1
true
true
false
false
false
false
low
73,089,220
How to give a Box a CircleShaped stroke?
<p>So this is how i ended up giving my jetpack Compose box a rounded circle shape</p> <pre><code>Box(modifier = Modifier .size(32.dp) .clip(CircleShape) .border(BorderStroke(2.dp, Color.Red), CircleShape) ){ } </code></pre> <p>As you can see , CircleShape is mentioned twice in the modifier chain . It...
So this is how i ended up giving my jetpack Compose box a rounded circle shape [CODE] As you can see , CircleShape is mentioned twice in the modifier chain . It feels as if there has got to be a better way to do this . Any ideas?
android-jetpack-compose
0
2022-07-23T08:34:09.393Z
2,022
7
8
5
64
1
229
40
1
1
true
false
false
false
false
false
zero
73,089,235
SonarLint: Suppress specific line warning in Android Studio
<p>There is a special case in our code where we need to call <code>setText</code> with <code>getText</code> of the same TextView. SonarLint warn this with <code>kotlin:S1656</code>, to suppress it we use <code>@SuppressWarnings</code> annotation but it does not work. It started showing an error to the IDE and the warni...
There is a special case in our code where we need to call setText with getText of the same TextView. SonarLint warn this with kotlin:S1656 , to suppress it we use @SuppressWarnings annotation but it does not work. It started showing an error to the IDE and the warning from SonarLint still there. //NOSONAR is not workin...
android|sonarlint|sonarlint-intellij
0
2022-07-23T08:37:59.487Z
2,022
7
8
5
79
2
380
59
3
0
false
false
false
false
false
false
zero
73,089,266
Android killed service after 1hour Xamarin
<p>I want to write an application that requests data from a socket every 30-60 seconds and notify the user if there is new data.</p> <p>I wrote a service but after sometime (50-60 min) Android kills the process. I'm trying to start it again in <code>onDestroy()</code>. The issue is when android kills the process, it do...
I want to write an application that requests data from a socket every 30-60 seconds and notify the user if there is new data. I wrote a service but after sometime (50-60 min) Android kills the process. I'm trying to start it again in onDestroy() . The issue is when android kills the process, it does not invoke onDestro...
java|android|kotlin|xamarin|service
0
2022-07-23T08:41:38.590Z
2,022
7
8
5
61
1
447
42
5
1
true
false
false
false
false
false
zero
73,089,270
How to translate/localize background notifications in a flutter app?
<p>My notifications are not being localized when I receive them in the Android emulator.</p> <p>I've created this file <code>android/app/src/main/res/values/strings.xml</code></p> <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;resources&gt; &lt;st...
My notifications are not being localized when I receive them in the Android emulator. I've created this file android/app/src/main/res/values/strings.xml [CODE] I'm using a node project with node-gcm@1.0.5 to send the notification to firebase: [CODE] By rights, since hello_world is in the strings.xml, the notification s...
android|flutter|firebase-cloud-messaging
0
2022-07-23T08:42:32.177Z
2,022
7
8
5
53
0
446
68
3
3
true
true
false
false
false
false
zero
73,089,324
After adding flutter_launcher_Icons gradle build fails
<h4>I added <code>flutter_launcher_Icons</code> package.</h4> <p>After that my app wont build on <code>Android</code>.</p> <h5>It fails with an error.</h5> <p><a href="https://i.stack.imgur.com/p0Wn0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p0Wn0.png" alt="enter image description here" /></a><...
I added flutter_launcher_Icons package. After that my app wont build on Android . It fails with an error. Pubspec dependency issue: Here is the stack trace (minimized because it's so large, but here are the main lines: Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeDebug...
java|android|flutter|gradle
0
2022-07-23T08:50:39.473Z
2,022
7
8
5
69
1
726
54
4
1
true
false
false
false
false
false
zero
73,089,389
What is the best way to store Retrofit network call in Room Database
<p>I am using MVVM architecture, Room Database and Retrofit. I want to store list of Genres which i fetch from the network and store them in the RoomDB. I want to use LiveData to get list of genres from the database. I understand that this kind of operation should be done within my repository class. I have a slight per...
I am using MVVM architecture, Room Database and Retrofit. I want to store list of Genres which i fetch from the network and store them in the RoomDB. I want to use LiveData to get list of genres from the database. I understand that this kind of operation should be done within my repository class. I have a slight perspe...
android|kotlin|retrofit|android-room
0
2022-07-23T09:00:18.620Z
2,022
7
9
5
65
0
443
68
4
0
false
true
false
false
false
false
zero
73,089,393
How can we pass predefined variable instead of rasa input, fetch intent in a variable?
<p>Our rasa chatbot currently asks for user input in the rasa shell. Is it possible to send user input as a variable parameter through a function that returns the type of intent? I would like to write a python function to do this like so</p> <pre><code>def get_intent(user_input): #code to send this input for rasa i...
Our rasa chatbot currently asks for user input in the rasa shell. Is it possible to send user input as a variable parameter through a function that returns the type of intent? I would like to write a python function to do this like so [CODE] How could we do this?
python|android-intent|integration|rasa|rasa-nlu
0
2022-07-23T09:01:36.380Z
2,022
7
9
5
29
0
263
86
5
1
true
true
false
false
false
false
zero
73,089,401
Custom dialog not showing properly in other devices
<p>So I am developing one android application in which I have created one custom dialog box. but the problem arises that, this dialog box is showing correct in my phone and on emulator also. But it can't get display properly on redmi or other phones. Here is screenshot on my mobile device <a href="https://i.stack.imgur...
So I am developing one android application in which I have created one custom dialog box. but the problem arises that, this dialog box is showing correct in my phone and on emulator also. But it can't get display properly on redmi or other phones. Here is screenshot on my mobile device and [![On other device][2]][2] On...
java|android|android-alertdialog
0
2022-07-23T09:02:41.867Z
2,022
7
9
5
40
1
435
51
3
2
true
false
false
false
false
false
zero
73,089,443
How to show all audio file from app-specific directorie in listView
<p>I want to show all audio files from app-specific directorie in listView. Here is my code-</p> <pre><code> public void getMusic() { File allSong = new File(String.valueOf(context.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS))); Uri songUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; ...
I want to show all audio files from app-specific directorie in listView. Here is my code- [CODE] This is app-specific directorie File allSong = new File(String.valueOf(context.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS))); Now I want to retrieve all files from above mentioned directorie. Need help. Thanks in a...
android|listview|media-queries|android-mediaplayer|android-cursor
0
2022-07-23T09:10:07.400Z
2,022
7
9
5
28
0
327
67
5
1
true
true
false
false
false
false
zero
73,089,553
Android + Kotlin + Hilt + multi-module app: cannot access application class from a module
<p>I'm developing a multi-module app -too have a clear separation of concerns- with Kotlin in which I'm trying to implement Hilt -to also decouple- and I'm having problems accessing application class from modules.</p> <p>First, the structure of my app:</p> <pre><code>project |- App |- Common |- Core |- DTO |- Repositor...
I'm developing a multi-module app -too have a clear separation of concerns- with Kotlin in which I'm trying to implement Hilt -to also decouple- and I'm having problems accessing application class from modules. First, the structure of my app: [CODE] The relation between modules (modules visibility): [CODE] Well, all mo...
android|kotlin|dependency-injection|dagger-2|dagger-hilt
1
2022-07-23T09:25:21.873Z
2,022
7
9
5
183
0
2,482
89
5
5
true
true
false
false
false
false
low
73,089,603
RecyclerView hide TextView inside Holder (Custom TV menu)
<p>I am creating a menu for my TV app, but since I couldn't get something like a NavigationDrawer working, I am using a RecyclerView with ImageButtons and TextViews. When the RecyclerView loses focus, I want to hide all the TextViews so that the RecyclerView collapses into a smaller menu. As an example you can look at ...
I am creating a menu for my TV app, but since I couldn't get something like a NavigationDrawer working, I am using a RecyclerView with ImageButtons and TextViews. When the RecyclerView loses focus, I want to hide all the TextViews so that the RecyclerView collapses into a smaller menu. As an example you can look at the...
android|kotlin|android-recyclerview
0
2022-07-23T09:33:23.243Z
2,022
7
9
5
25
0
500
57
3
3
true
true
false
false
false
false
zero
73,089,617
How to implement KTX updateLayoutParams() extension
<p>How do I add the KTX <a href="https://android.github.io/android-ktx/core-ktx/androidx.view/android.view.-view-group/update-layout-params.html" rel="nofollow noreferrer">updateLayoutParams()</a> extension to my project?</p> <p>When I use it, Android Studio says &quot;Unresolved reference: updateLayoutParams&quot; eve...
How do I add the KTX updateLayoutParams() extension to my project? When I use it, Android Studio says &quot;Unresolved reference: updateLayoutParams&quot; even though I added this to gradle: [CODE] I also rebuilt the project.
android|android-studio|kotlin|kotlin-extension
0
2022-07-23T09:35:54.300Z
2,022
7
9
5
82
0
225
51
4
1
true
true
false
false
false
false
zero
73,089,707
Could not initialize class com.android.build.gradle.internal.dsl.decorator.AndroidPluginDslDecoratorKt
<p>FAILURE: Build failed with an exception.</p> <ul> <li><p>Where: Build file 'C:\Users\USER\OneDrive\Desktop\project_app\flutter_application_1\android\app\build.gradle' line: 24</p> </li> <li><p>What went wrong: A problem occurred evaluating project ':app'.</p> </li> </ul> <blockquote> <p>Could not initialize class co...
FAILURE: Build failed with an exception. Where: Build file 'C:\Users\USER\OneDrive\Desktop\project_app\flutter_application_1\android\app\build.gradle' line: 24 What went wrong: A problem occurred evaluating project ':app'. Could not initialize class com.android.build.gradle.internal.dsl.decorator.AndroidPluginDslDecora...
android|android-studio|gradle
0
2022-07-23T09:51:33.607Z
2,022
7
9
5
37
0
325
102
3
0
false
true
false
false
false
false
zero
73,089,771
Gradle install not valid
<p>im trying to build a android game in unity 2021.3.6f1 and when i try to make the build an error shows up:</p> <p>Exception: Gradle install not valid Unity.Android.Gradle.AndroidGradle..ctor (System.String gradleLauncherPath, System.Int32 jvmHeapSize) (at &lt;0c48b869e61f4b36ab26a0a29a41593a&gt;:0) UnityEditor.Androi...
im trying to build a android game in unity 2021.3.6f1 and when i try to make the build an error shows up: Exception: Gradle install not valid Unity.Android.Gradle.AndroidGradle..ctor (System.String gradleLauncherPath, System.Int32 jvmHeapSize) (at <0c48b869e61f4b36ab26a0a29a41593a>:0) UnityEditor.Android.GradleWrapper....
android|unity3d|gradle|android-gradle-plugin
0
2022-07-23T10:02:59.183Z
2,022
7
10
5
58
1
529
24
4
0
false
false
false
false
false
false
zero
73,089,970
Do action when holding a button from bottom navigation bar
<p>I wanted to enter a settings page when I hold down the home button on the bottom navigation bar. I looked for how to get the id of a button in the bottom navigation but couldn't find anything.</p> <p>Do you know if I can get a button from this bar?</p> <p>Thanks !</p>
I wanted to enter a settings page when I hold down the home button on the bottom navigation bar. I looked for how to get the id of a button in the bottom navigation but couldn't find anything. Do you know if I can get a button from this bar? Thanks !
android|android-studio|kotlin|bottomnavigationview|android-bottomnav
2
2022-07-23T10:32:20.703Z
2,022
7
10
5
51
1
250
58
5
0
false
false
false
false
false
false
low
73,089,995
How to change this piece of code from (startActivityForResult) to (ActivityResultLauncher) because startActivityForResult is deprecated?
<p>I know there are some other ways to update RecyclerView like restarting the activity or putting update code inside <code>onResume();</code> but none of these two ways are efficient, any how. I've used <code> startActivityForResult(intent, 1);</code> but now it is deprecated, I want to use <code>ActivityResultLaunche...
I know there are some other ways to update RecyclerView like restarting the activity or putting update code inside onResume(); but none of these two ways are efficient, any how. I've used startActivityForResult(intent, 1); but now it is deprecated, I want to use ActivityResultLauncher<Intent> startForResult . Here is t...
java|android
-1
2022-07-23T10:35:09.180Z
2,022
7
10
5
56
1
976
136
2
4
true
false
false
false
false
true
negative
73,090,018
Textfield Link in Kivy
<p>I have two kivy TextFields A and B, I would like to link both fields in such a way that the the result of multiplying the Text in A by an integer will be displayed on B.</p>
I have two kivy TextFields A and B, I would like to link both fields in such a way that the the result of multiplying the Text in A by an integer will be displayed on B.
python|android|input|kivy|textfield
2
2022-07-23T10:39:07.573Z
2,022
7
10
5
46
1
169
22
5
0
false
false
false
false
false
false
low
73,090,043
sdkmanager does not list all packages? (using cmdline-tools)
<p>I was just trying to configure my machine to be able to test some android apps. Some of the things I will need will be <code>adb</code> and <code>uiautomatorviewer</code>. To get <code>adb</code>, was easy, just had to download <code>platform-tools</code> from android website. However, when it came to get <code>uiau...
I was just trying to configure my machine to be able to test some android apps. Some of the things I will need will be adb and uiautomatorviewer . To get adb , was easy, just had to download platform-tools from android website. However, when it came to get uiautomatorviewer everything went from easy to difficult pretty...
android|android-sdk-manager
0
2022-07-23T10:42:57.390Z
2,022
7
10
5
24
0
1,864
60
2
0
false
true
false
false
false
false
zero
73,090,137
Unit Testing the SEQUENCE of values emitted from a single livedata
<p>I want to unit-test the sequence of a LiveData's results. I have a <code>result</code> LiveData which emits values when loading, success, or error. I want to test it to ensure that loading value is emitted first, then the success or error value.</p> <p>is there a way to do this?</p>
I want to unit-test the sequence of a LiveData's results. I have a result LiveData which emits values when loading, success, or error. I want to test it to ensure that loading value is emitted first, then the success or error value. is there a way to do this?
android|unit-testing|testing|android-livedata|android-architecture-components
1
2022-07-23T10:57:57.500Z
2,022
7
10
5
57
1
259
66
5
0
false
false
false
false
false
false
low
73,090,151
Constraint layout min width makes view take all available space when its width is below the minimum
<p>I have a CardView inside a ConstraintLayout, and I want the CardView to have a width of 70%, a min width of 300dp, and a max of 450dp.</p> <p>The max works fine, if 70% is more than 450dp, the CardView width is set to 450dp.</p> <p>The min width however, behaves very strangely.</p> <p>When 70% is less than 300dp, in...
I have a CardView inside a ConstraintLayout, and I want the CardView to have a width of 70%, a min width of 300dp, and a max of 450dp. The max works fine, if 70% is more than 450dp, the CardView width is set to 450dp. The min width however, behaves very strangely. When 70% is less than 300dp, instead of making the Card...
android|android-layout|android-constraintlayout
1
2022-07-23T10:59:44.120Z
2,022
7
10
5
101
1
591
99
3
1
true
false
false
false
false
false
low
73,090,155
setDrawerLockMode disable the drawerLayout
<p>Hi guys I search on google about how to disable the swipe that open the <strong>drawerLayout</strong> i found this 2 codes.</p> <pre><code>mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED); </code></pre> <pre><code>mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, GravityCompa...
Hi guys I search on google about how to disable the swipe that open the drawerLayout i found this 2 codes. [CODE] [CODE] but these 2 codes disable the opening of drawerLayout from the swipe and from the actionBarDrawerToggle like disabling it at all. Now the question is how can i disable the swipe that opens the drawer...
java|android|swipe|drawerlayout|actionbardrawertoggle
0
2022-07-23T11:00:32.970Z
2,022
7
11
5
58
0
455
42
5
4
true
true
false
false
false
false
zero
73,090,160
Android Studio RecyclerView: Why always ( No adapter attached; skipping layout )
<p>I am a student who currently taking mobile application development. Although my app can run but it doesnt show any activity instead of just give me W/RecyclerView: No adapter attached; skipping layout. I dont know how to solve the issue, so I was hoping can get some guidlines from experts.</p> <p>Here is my code Ma...
I am a student who currently taking mobile application development. Although my app can run but it doesnt show any activity instead of just give me W/RecyclerView: No adapter attached; skipping layout. I dont know how to solve the issue, so I was hoping can get some guidlines from experts. Here is my code MainActivity....
java|android|android-studio|android-recyclerview|android-cardview
0
2022-07-23T11:00:54.083Z
2,022
7
11
5
52
1
397
80
5
4
true
false
false
false
false
false
zero
73,090,164
Flutter - _AssertionError ('package:flutter/src/widgets/framework.dart': Failed assertion: line 4937 pos 12: 'child == _child': is not true.) Error
<p>I am getting an error like this:</p> <pre><code>════════ Exception caught by widgets library ═══════════════════════════════════ The following assertion was thrown building Builder(dependencies: [MediaQuery]): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4937 pos 12: 'child == _child': is not...
I am getting an error like this: [CODE] It gives the error in this code: [CODE] How can I solve this problem?
android|flutter|dart|flutter-layout|flutter-getx
1
2022-07-23T11:01:22.813Z
2,022
7
11
5
349
1
109
147
5
2
true
false
false
false
false
false
low
73,090,260
How to integrate a flutter module in android?
<p>I am trying to integrate a flutter module in my android native project with Kotlin language. I am getting errors while following the steps given in the <a href="https://docs.flutter.dev/development/add-to-app/android/project-setup" rel="nofollow noreferrer">docs</a>.</p>
I am trying to integrate a flutter module in my android native project with Kotlin language. I am getting errors while following the steps given in the docs .
android|flutter|gradle|dependencies|flutter-plugin
0
2022-07-23T11:16:19.207Z
2,022
7
11
5
64
1
158
45
5
0
false
false
false
false
false
false
zero
73,090,269
The application icon is not fully displayed in android tv
<p>I have an app directed to android tv, using flutter to develop this app, and I want to change app banner.</p> <p><strong>The problem:</strong></p> <p>The banner doesn't fill the rectangle</p> <p><a href="https://i.stack.imgur.com/MY6va.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MY6va.png" alt...
I have an app directed to android tv, using flutter to develop this app, and I want to change app banner. The problem: The banner doesn't fill the rectangle What I tried: I add banner to application tag in AndroidManifest like this: [CODE] How to solve this problem?
android|flutter|android-tv
1
2022-07-23T11:17:41.330Z
2,022
7
11
5
93
1
266
57
3
1
true
false
false
false
false
false
low
73,090,292
can't work generate JavaDoc in Android Studio - Error "javadoc" finished with exit code 4
<p>&quot;C:\Program Files\Android\Android Studio1\jre\bin\javadoc.exe&quot; -locale en -protected -splitindex -d &quot;F:\Abdeaziz Daoud\Documents\PPC App&quot; @C:\Users\Abdelaziz\AppData\Local\Temp\javadoc_args Loading source file C:\Users\Abdelaziz\AndroidStudioProjects\PPCApp\app\src\main\java\com\hyperone\ppcapp\M...
&quot;C:\Program Files\Android\Android Studio1\jre\bin\javadoc.exe&quot; -locale en -protected -splitindex -d &quot;F:\Abdeaziz Daoud\Documents\PPC App&quot; @C:\Users\Abdelaziz\AppData\Local\Temp\javadoc_args Loading source file C:\Users\Abdelaziz\AndroidStudioProjects\PPCApp\app\src\main\java\com\hyperone\ppcapp\Main...
java|android|android-studio|javadoc
0
2022-07-23T11:22:12.350Z
2,022
7
11
5
43
0
2,769
89
4
0
false
true
false
false
false
false
zero
73,090,390
Android x86 freeze after allowing root access to app
<p>I'd like to enable usb tethering on my android x86 and I found out I need to use USB Tethering tool from google play. I have to allow root access to this app but after I did this my virtual machine freeze and I can only close it by using task manager and I can't open this virtual machine anymore. I using android-x86...
I'd like to enable usb tethering on my android x86 and I found out I need to use USB Tethering tool from google play. I have to allow root access to this app but after I did this my virtual machine freeze and I can only close it by using task manager and I can't open this virtual machine anymore. I using android-x86_64...
android|crash|virtual-machine|freeze|android-x86
0
2022-07-23T11:37:53.267Z
2,022
7
11
5
31
0
416
52
5
0
false
true
false
false
false
false
zero
73,090,403
How to provide an object using hilt in background thread with coroutine
<p>I want to provide a realm object in the background thread like this:</p> <pre><code> @Module @InstallIn(SingletonComponent::class) object DatabaseModule { @Provides @Singleton fun provideDatabaseScope(): CoroutineScope = GlobalScope + Dispatchers.IO @Provides @Singleton fun provideDatabaseQ...
I want to provide a realm object in the background thread like this: [CODE] and this is RealmCreator class that creates the object in the background thread: [CODE] when I want to create a Realm object it returns null because this process is in a background thread. How can I create this object in this situation?
android|kotlin|kotlin-coroutines|dagger-hilt
0
2022-07-23T11:39:18.533Z
2,022
7
11
5
169
2
312
71
4
2
true
false
false
false
false
false
zero
73,090,524
react-native app not running - logo displaying
<p>I have constructed a react-native app in VS Code. The app is running fine in the browser. Generating a keystore and creating an .apk with <strong>gradlew assembleRelease</strong> command is also working without problems.</p> <p>When installed on my Android tablet, the app is not running. There is only a logo display...
I have constructed a react-native app in VS Code. The app is running fine in the browser. Generating a keystore and creating an .apk with gradlew assembleRelease command is also working without problems. When installed on my Android tablet, the app is not running. There is only a logo displaying (see image), and the ap...
android|react-native
0
2022-07-23T11:56:03.040Z
2,022
7
11
5
50
0
551
46
2
0
false
true
false
false
false
false
zero
73,090,637
Create Linear Layout programmability on button click in android studio
<p>I am working on <code>android studio</code>. I have created a linear layout inside a fragment like below :</p> <pre><code>&lt;LinearLayout android:id=&quot;@+id/ll_out&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; an...
I am working on android studio . I have created a linear layout inside a fragment like below : [CODE] GUI What do I want to do? On clicking of Add New Product button, I want to recreate the same Linear Layout along with the textviews . In the above image, the product names, price, and specs are taken out from the JSON ...
java|xml|android-studio|android-recyclerview|android-linearlayout
3
2022-07-23T12:11:39.963Z
2,022
7
12
5
174
2
662
70
5
2
true
false
false
false
false
false
low
73,090,759
Why does my multi-touch event not work in my Android Studio App?
<p>Around line 12 of this exempt I have marked a section where the code never gets executed. In the <strong>ACTION_POINTER_DOWN</strong>, everything else works, so if the joystick is pressed the <strong>else if</strong> statement sets <strong>joystick.setIsPressed()</strong> to <strong>true</strong> which sets <strong>...
Around line 12 of this exempt I have marked a section where the code never gets executed. In the ACTION_POINTER_DOWN , everything else works, so if the joystick is pressed the else if statement sets joystick.setIsPressed() to true which sets joystick.getIsPressed() to true so the first if statement should be true, ther...
java|android|android-studio|touch-event|multi-touch
0
2022-07-23T12:29:16.197Z
2,022
7
12
5
33
1
459
64
5
2
true
false
false
false
false
false
zero
73,090,816
How to perform operations in case of negative numbers?
<p>I wanted to build a calculator app for android and for that I needed a parser to convert string expressions to be solved. Now Java and Kotlin doesn't support eval function and importing a javascript engine just for sake of an operation can open me up to various vulnerabilities. So I made my own calculator parser. No...
I wanted to build a calculator app for android and for that I needed a parser to convert string expressions to be solved. Now Java and Kotlin doesn't support eval function and importing a javascript engine just for sake of an operation can open me up to various vulnerabilities. So I made my own calculator parser. Now i...
java|android|kotlin|calculator
0
2022-07-23T12:37:37.673Z
2,022
7
12
5
67
1
694
54
4
1
true
false
false
false
false
false
zero
73,090,874
query component stuck in loading state react native
<p>We are using apollo graphql client in react native project. This Query never completes although it's working fine in IOS device &amp; android emulator but not on actual android device.</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre...
We are using apollo graphql client in react native project. This Query never completes although it's working fine in IOS device & android emulator but not on actual android device. [CODE]
android|reactjs|react-native|apollo-client
1
2022-07-23T12:45:42.303Z
2,022
7
12
5
24
0
187
51
4
1
true
true
false
false
false
false
low
73,090,931
Bottom Navigation view is not detecting item selected
<p>Im trying to make a bottom navigation view to control which fragment is displayed but the navigation view didn't detect any item selected. Here is my Activity Code :</p> <pre><code>val fragmentMore = MoreMenuFragment() val fragmentTransactionHistory = TransactionHistoryFragment() val fragmentLicenseList = Da...
Im trying to make a bottom navigation view to control which fragment is displayed but the navigation view didn't detect any item selected. Here is my Activity Code : [CODE] Here is my xml : [CODE] And here is my menu : [CODE] I also put the log before to check if the navigation item got selected or not, but my function...
kotlin|bottomnavigationview|material-components-android
0
2022-07-23T12:54:08.667Z
2,022
7
12
5
36
1
340
53
3
3
true
false
false
false
false
false
zero
73,090,940
Dropzone Multiple File Select not Work Android Browser
<p>I am using file upload method using Dropzone.</p> <p>The computer also works fine. It works fine in the Android Chrome app. However, Default android browser, Instagram browser etc. In some cases, the user can select multiple files, but the selected files do not cause a reaction in the browser.</p> <p>Example Test : ...
I am using file upload method using Dropzone. The computer also works fine. It works fine in the Android Chrome app. However, Default android browser, Instagram browser etc. In some cases, the user can select multiple files, but the selected files do not cause a reaction in the browser. Example Test : https://www.retro...
android
0
2022-07-23T12:55:11.880Z
2,022
7
12
5
16
0
375
54
1
0
false
true
false
false
false
false
zero
73,090,997
Using TextureView and MediaPlayer in Jetpack Compose
<p><strong>My source code was written in Java and now I want to convert to Compose</strong></p> <p><strong>How can I convert the above code to Compose?</strong></p> <p>Java</p> <pre class="lang-java prettyprint-override"><code> class VideoCropActivity extends Activity implements TextureView.SurfaceTextureListener { ...
My source code was written in Java and now I want to convert to Compose How can I convert the above code to Compose? Java [CODE] How can I convert the above code to Compose? My source code was written in Java and now I want to convert to Compose This is the way I use now, but it's not working [CODE] My source code was ...
java|android-jetpack-compose
1
2022-07-23T13:05:17.950Z
2,022
7
13
5
77
1
444
52
2
2
true
false
false
false
false
false
low
73,091,009
Arrow.kt loading state
<p>I used <code>arrow.kt</code> library so many times, I really enjoyed the features they gave to extend kotlin. I like how <code>Either&lt;E,T&gt;</code> can represent the success/failed states seamlessly. I am just wondering if <code>arrow.kt</code> has a way to represent loading state along with the other two. In ot...
I used arrow.kt library so many times, I really enjoyed the features they gave to extend kotlin. I like how Either<E,T> can represent the success/failed states seamlessly. I am just wondering if arrow.kt has a way to represent loading state along with the other two. In other word, we will have a type that offers three ...
android|kotlin|functional-programming|either|arrow-kt
0
2022-07-23T13:07:29.843Z
2,022
7
13
5
46
1
481
22
5
0
false
false
false
false
false
false
zero
73,091,027
What is the use of initializationStatus -> in MobileAds.initialize()?
<p>So I know that MobileAds.initialize() is used to reduce latency on the session's first ad request. But the structure as I have seen is MobileAds.initialize(context,app_id), so what is the use of &quot;initializationStatus -&gt; &quot; then ? I have also seen that someone said that &quot;MobileAds.initialize(this, in...
So I know that MobileAds.initialize() is used to reduce latency on the session's first ad request. But the structure as I have seen is MobileAds.initialize(context,app_id), so what is the use of &quot;initializationStatus -> &quot; then ? I have also seen that someone said that &quot;MobileAds.initialize(this, initiali...
java|android|admob
0
2022-07-23T13:10:15.037Z
2,022
7
13
5
39
1
414
69
3
1
true
false
false
false
false
false
zero
73,091,060
Inject uplink audio in call for samsung A52 and A72
<p>I want to develop a feature for an android app so that when there is a call we can play an audio file on a call. This audio file should be played when the mic is muted. In other words, the other side of the call will just hear the audio file nothing else.<br/>I want to run this app on an <strong>Samsung A52 rooted d...
I want to develop a feature for an android app so that when there is a call we can play an audio file on a call. This audio file should be played when the mic is muted. In other words, the other side of the call will just hear the audio file nothing else. I want to run this app on an Samsung A52 rooted device . Many pe...
android|audio|phone-call|alsa
0
2022-07-23T13:15:20.743Z
2,022
7
13
5
16
0
1,040
51
4
0
false
true
false
false
false
false
zero
73,091,173
how to add video to gallery after save with ffmpeg lib?
<p>first of all i save video with ffmpeg but saved video in android Q+ not showing in gallery app, so how i can use MediaStore Api to add saved video in gallery, i try this code but its create a null video with duplicate name (1) in gallary :</p> <pre><code> if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.Q) { ...
first of all i save video with ffmpeg but saved video in android Q+ not showing in gallery app, so how i can use MediaStore Api to add saved video in gallery, i try this code but its create a null video with duplicate name (1) in gallary : [CODE]
java|android|kotlin|video|mediastore
0
2022-07-23T13:31:59.013Z
2,022
7
13
5
28
0
246
55
5
1
true
true
false
false
false
false
zero
73,091,285
How to update my composable upon service property update?
<p>I'm using a service locator (as advised in <a href="https://developer.android.com/training/dependency-injection#di-alternatives" rel="nofollow noreferrer">https://developer.android.com/training/dependency-injection#di-alternatives</a>, but I'll switch to proper DI later I promise) to handle auth in my app. I have an...
I'm using a service locator (as advised in https://developer.android.com/training/dependency-injection#di-alternatives , but I'll switch to proper DI later I promise) to handle auth in my app. I have an authentication service that has a user property that I set and unset using logIn and logOut methods I'd like my Conte...
android|kotlin|authentication|android-jetpack-compose
1
2022-07-23T13:49:21.490Z
2,022
7
13
5
45
1
565
57
4
1
true
false
false
false
false
false
low
73,091,286
Navigation up clicked
<p>Previously I used onCreateOptionsMenu and onSupportNavigationUp. Now I use MenuProvide. To check if navigation up was clicked I check id - &quot;android.R.id.home&quot;. While it works, I'm not sure this is the right approach?</p> <pre><code>override fun onCreate(savedInstanceState: Bundle?) { WindowCompat.setDe...
Previously I used onCreateOptionsMenu and onSupportNavigationUp. Now I use MenuProvide. To check if navigation up was clicked I check id - &quot;android.R.id.home&quot;. While it works, I'm not sure this is the right approach? [CODE]
android|navigation
0
2022-07-23T13:49:21.523Z
2,022
7
13
5
48
0
233
21
2
1
true
true
false
false
false
false
zero
73,091,296
Do not give users a choice to open a deeplink in chrome
<p>I have a deeplink set on my Android app in Cordova:</p> <pre><code>&lt;universal-links&gt; &lt;host scheme=&quot;https&quot; name=&quot;example.com&quot;&gt; &lt;path url=&quot;/google-log-in&quot; /&gt; &lt;/host&gt; &lt;preference name=&quot;AndroidLaunchMode&quot; value=&quot;singleInstance&qu...
I have a deeplink set on my Android app in Cordova: [CODE] It works just fine - but when I click on a link in the browser for the first time which matches my name , it gives the user a choice: Can I make it so that the user will never have the choice to open it in Chrome? Because if they open it in Chrome, they will ne...
android|cordova|deep-linking
1
2022-07-23T13:50:49.673Z
2,022
7
13
5
44
0
351
55
3
1
true
true
false
false
false
false
low
73,091,316
How to achieve layout with jetpack compose where icon is position absolute on column layout
<p>I have comment box and need to put icon on specific position ( bottom right ). I need to make something like position absolute where my icon button need to be bottom right inside comment box. Here is image what I am trying to achieve. Any help or idea?</p> <p><a href="https://i.stack.imgur.com/OHlt3.png" rel="nofoll...
I have comment box and need to put icon on specific position ( bottom right ). I need to make something like position absolute where my icon button need to be bottom right inside comment box. Here is image what I am trying to achieve. Any help or idea?
android|android-jetpack-compose
3
2022-07-23T13:54:39.903Z
2,022
7
13
5
143
1
252
91
2
0
false
false
false
false
false
false
low
73,091,348
Android layout edit challenges
<p>I just wanted the AR camera mode in google translate to just display the camera, no overlays just the camera footage. I tried to delete some lines in layout camera with apk editor but the app crashes on start. Any help will be much appreciate. ps. I am a complete coding nood.</p>
I just wanted the AR camera mode in google translate to just display the camera, no overlays just the camera footage. I tried to delete some lines in layout camera with apk editor but the app crashes on start. Any help will be much appreciate. ps. I am a complete coding nood.
java|android
0
2022-07-23T13:59:39.913Z
2,022
7
13
5
17
0
276
30
2
0
false
true
false
false
false
false
zero
73,091,371
Xamarin Android Library Binding - Class does not contain a definition
<p>Xamarin Play Core (the package for reviews &amp; tasks needed to launch reviews) <a href="https://developer.android.com/reference/com/google/android/play/core/release-notes" rel="nofollow noreferrer">split for v2.0.0 into individual packages</a>, so I'm trying to create a Xamarin Android bindings library for the rev...
Xamarin Play Core (the package for reviews & tasks needed to launch reviews) split for v2.0.0 into individual packages , so I'm trying to create a Xamarin Android bindings library for the review and tasks. I successfully got tasks working but I am getting this error for the review nuget when it should just work accordi...
c#|android|xamarin|xamarin.forms|xamarin.android
2
2022-07-23T14:02:17.093Z
2,022
7
14
5
121
0
1,595
69
5
4
true
true
false
false
false
false
low
73,091,440
How to use opencv to consume the UI of an android emulator/device
<p>I want to use opencv to analysis the UI and send different commands to the device or emulator.</p> <p>Now I am use adb screenrecord to record the video and use opencv to analysis offline, just wondering is that possible to analysis the UI on the fly?</p>
I want to use opencv to analysis the UI and send different commands to the device or emulator. Now I am use adb screenrecord to record the video and use opencv to analysis offline, just wondering is that possible to analysis the UI on the fly?
android|opencv
0
2022-07-23T14:11:23.327Z
2,022
7
14
5
24
0
243
65
2
0
false
true
false
false
false
false
zero
73,091,467
Text color is not set properly
<p>Every time I want to set the text color, it doesn't work properly. For example, if I have a LazyColumn with some texts that have White color, some of them have white color, and some of them are set to Black.</p> <p>Sometimes the text color is set properly but it changes by itself when I navigate through screens or w...
Every time I want to set the text color, it doesn't work properly. For example, if I have a LazyColumn with some texts that have White color, some of them have white color, and some of them are set to Black. Sometimes the text color is set properly but it changes by itself when I navigate through screens or when I swip...
android-jetpack-compose
0
2022-07-23T14:14:53.933Z
2,022
7
14
5
22
0
356
30
1
1
true
true
false
false
false
false
zero
73,091,583
How to stay on current fragment after progressdialog dismiss android
<p>Since we knew that progressdialog need a parameter context or get the activity of fragment but after dismissig the dialog it went to the other fragment which i set the the mainactivity default fragment is homepage</p> <p>This is the method use in my class</p> <pre><code> public void UploadProfilePicture(Context cont...
Since we knew that progressdialog need a parameter context or get the activity of fragment but after dismissig the dialog it went to the other fragment which i set the the mainactivity default fragment is homepage This is the method use in my class [CODE]
java|android
-1
2022-07-23T14:35:12.447Z
2,022
7
14
5
22
1
255
68
2
1
true
false
false
false
false
true
negative
73,091,742
Multiple Repeating Alarm using Alarm Manager
<p>I'm working on a small project, which is a pill reminder app.</p> <p>in my Setting Preference i have code like this</p> <p><code>SettingsPreference.kt</code></p> <pre><code>..... override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { setPreferencesFromResource(R.xml.setting_prefer...
I'm working on a small project, which is a pill reminder app. in my Setting Preference i have code like this SettingsPreference.kt [CODE] and in my AlarmReceiver.kt [CODE] the above code runs normally but, only the last alarm works and runs the notification. what is wrong with my code? even the requestCode for pending ...
android|kotlin|alarmmanager|repeatingalarm
1
2022-07-23T14:58:56.697Z
2,022
7
14
5
27
0
372
44
4
2
true
true
false
false
false
false
low