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,110,889
Dynamic RecyclerView content with Firebase Realtime DB
<p>I'm developing a simple activity where I have to show a dynamic list of reservations. The list has to be synchronized with the Firebase Realtime DB.</p> <h2>What I did</h2> <p>I created a <code>Reservation</code> class with the relative <code>ReservationAdapter</code> and the dedicated layout <code>item_customer_res...
I'm developing a simple activity where I have to show a dynamic list of reservations. The list has to be synchronized with the Firebase Realtime DB. What I did I created a Reservation class with the relative ReservationAdapter and the dedicated layout item_customer_reservation.xml . Up to now, I populate every item wit...
android|kotlin|firebase-realtime-database|android-recyclerview
0
2022-07-25T14:26:22.353Z
2,022
7
14
0
22
1
850
54
4
2
true
false
false
false
false
false
zero
73,110,915
why preview showing different ui and real screen different in constrainlayout
<p>I am developing new android app but when I am trying to implement constrainlayout in preview window it is showing different but in real device showing different</p> <p>below my layout</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;androidx.constraintlayout.widget.ConstraintLayout...
I am developing new android app but when I am trying to implement constrainlayout in preview window it is showing different but in real device showing different below my layout [CODE] below preview ui in android studio and below ui in real device I want to exactly where I am making something wrong what I have to do in ...
android|android-studio|constraints|android-constraintlayout
0
2022-07-25T14:28:02.827Z
2,022
7
14
0
35
1
421
77
4
1
true
false
false
false
false
false
zero
73,110,918
How to implement load-on-demand from Firestore in Android (cache/server)
<p>I use only java language.</p> <p>Suppose I have thousand of documents in collection of firestore database. The data is static means not changes in the stored data, but add document (which have data in it). I can retrieve small chunks of data in UI, when scrolls it will be load small chunks.</p> <p>What will be i use...
I use only java language. Suppose I have thousand of documents in collection of firestore database. The data is static means not changes in the stored data, but add document (which have data in it). I can retrieve small chunks of data in UI, when scrolls it will be load small chunks. What will be i use for achieving th...
java|android|google-cloud-firestore
0
2022-07-25T14:28:17.870Z
2,022
7
14
0
30
0
763
72
3
0
false
true
false
false
false
false
zero
73,110,961
Error while compution live data and IllegalStateException ROOM Database
<p>I need to use two arraylists in my database. Here is the entity class:</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(){ ...
I need to use two arraylists in my database. Here is the entity class: [CODE] I have created a TypeConverter class as described in this answer: [CODE] I insert the values in the database this way: [CODE] I've got one activity with RecyclerView which has only type and location and when you click on a specific item you g...
java|android-studio|android-room
2
2022-07-25T14:31:05.863Z
2,022
7
14
0
45
1
590
71
3
5
true
false
false
false
false
false
low
73,110,975
No static method isTraceInProgress()Z in class Landroidx/compose/runtime/ComposerKt Error Jetpack Compose using Google Maps
<p>I don't know why I'm getting this error when I try using Google Maps with jetpack compose version 1.1.1, The app crash and doesn't launch, and when I remove the Google Maps code it works fine without any issues! I don't understand this error and don't know how to fix it!</p> <pre><code> E/AndroidRuntime: FATAL EXCEP...
I don't know why I'm getting this error when I try using Google Maps with jetpack compose version 1.1.1, The app crash and doesn't launch, and when I remove the Google Maps code it works fine without any issues! I don't understand this error and don't know how to fix it! [CODE] My Home Screen [CODE]
android-studio|kotlin|google-maps|android-jetpack-compose
0
2022-07-25T14:32:01.970Z
2,022
7
14
0
210
1
300
123
4
2
true
false
false
false
false
false
zero
73,111,162
My android application is behaving differently on devices with camera cutout vs devices with notch
<p>The color of the status bar/bottom Navigation bar is fixed at gray on devices with a camera cut-out. Meanwhile the color changes according to app theme in case of devices with notch. Also, the thickness of the status bar is also larger than expected on cut-out devices.</p>
The color of the status bar/bottom Navigation bar is fixed at gray on devices with a camera cut-out. Meanwhile the color changes according to app theme in case of devices with notch. Also, the thickness of the status bar is also larger than expected on cut-out devices.
android|android-studio
0
2022-07-25T14:46:35.290Z
2,022
7
14
0
25
0
269
98
2
0
false
true
false
false
false
false
zero
73,111,294
On MacOS, launching Quasar-Framework/Capacitor dev command targeting Android or iOs fall back to prompt with nothing
<p>Using Quasar following commands fallback to prompt without any further actions. IDE is not launching as it should.</p> <pre><code> quasar dev -m capacitor -T android </code></pre> <p>or</p> <pre><code> quasar dev -m capacitor -T ios </code></pre> <p>Nothing, not even an error message. What is wrong? What ...
Using Quasar following commands fallback to prompt without any further actions. IDE is not launching as it should. [CODE] or [CODE] Nothing, not even an error message. What is wrong? What shoud I do? Edit : Command build works for Android and ios [CODE] or [CODE] How do I make dev working ?
xcode|macos|android-studio|capacitor|quasar-framework
0
2022-07-25T14:55:18.940Z
2,022
7
14
0
64
1
291
116
5
4
true
false
false
false
false
false
zero
73,111,581
ImageReader cannot be read by Camera2 - preview works but no output possible
<p>In short I can display preview from camera. I add SurfaceView surface and ImageReader surface inside <code>createCaptureSession()</code>.</p> <p><a href="https://i.stack.imgur.com/15PyG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/15PyG.png" alt="enter image description here" /></a></p> <p>Howe...
In short I can display preview from camera. I add SurfaceView surface and ImageReader surface inside createCaptureSession() . However I cannot read output provided by ImageReader so as a result ImageReader's listener doesn't catch images. If if add ImageReader to createCaptureRequest() then the my app crashes with erro...
android|kotlin|android-camera2
1
2022-07-25T15:16:49.980Z
2,022
7
15
0
132
0
1,128
76
3
4
true
true
false
false
false
false
low
73,111,597
'chromedriver.exe' executable may have wrong permissions error for android
<p>I try to run the following code by an application build by kivy buildozer :</p> <pre><code>from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('headless') chrome_options.add_experimental_option('prefs', {'intl.accept_languages': 'en,en_UK'}) chrome_options.add_ex...
I try to run the following code by an application build by kivy buildozer : [CODE] I get the following error from the adb logcat: selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable may have wrong permissions. Please see https://chromedriver.chromium.org/home 07-25 17:05:33.791 27719 2...
python|android|kivy|selenium-chromedriver|buildozer
0
2022-07-25T15:18:09.757Z
2,022
7
15
0
78
0
656
74
5
1
true
true
false
false
false
false
zero
73,111,636
Google Play console Does your app use advertising ID?
<p>Recently, I got this message from google in the google play console:</p> <pre><code>&quot;Until you complete this section, you can't target Android 13 Help us understand whether your app uses advertising ID. You will not be able to submit releases targeting Android 13 until you complete this section.&quot; </code></...
Recently, I got this message from google in the google play console: [CODE] Admob is integrated in my app. the question is: how to know if my app is using advertising ID or not? Edited to make it clear: in the console, there is a new tab for advertising ID as below and for sure in this tab a consequent questions: So, w...
android|admob|google-advertising-id
10
2022-07-25T15:21:23.687Z
2,022
7
15
0
3,673
4
395
53
3
1
true
false
true
false
true
false
medium
73,111,651
Creating Flutter AAR file using different lib/main_XXX.dart file
<p>Everyone. So I am trying to integrate Flutter module inside App(Android app).</p> <p>So, I have followed <a href="https://docs.flutter.dev/development/add-to-app/android/project-setup" rel="nofollow noreferrer">this</a> tutorial and everything worked correctly.</p> <p>To build an aar file the command is</p> <pre><co...
Everyone. So I am trying to integrate Flutter module inside App(Android app). So, I have followed this tutorial and everything worked correctly. To build an aar file the command is [CODE] As per my project requirement, I thought of creating different configuration to main.dart file. Hence, I created main_dev_dog.dart a...
android|flutter|aar|flutter-module
0
2022-07-25T15:22:20.030Z
2,022
7
15
0
69
0
861
64
4
7
true
true
false
false
false
false
zero
73,111,680
Face Detector ML-KIT is not detecting faces
<p>I'm trying to implement the ML-KIT library together with CameraX to detect faces in a photo. In this case, I'm putting a photo (in BitMap format) to be analyzed by a function that will detect the faces in that photo.</p> <p>Initialize variables in <strong>onCreate</strong></p> <pre><code>override fun onCreate(savedI...
I'm trying to implement the ML-KIT library together with CameraX to detect faces in a photo. In this case, I'm putting a photo (in BitMap format) to be analyzed by a function that will detect the faces in that photo. Initialize variables in onCreate [CODE] Then I pass the BitMap to the function detectFaces [CODE] The f...
android|kotlin|face-detection|google-mlkit
0
2022-07-25T15:24:20.660Z
2,022
7
15
0
70
1
496
43
4
3
true
false
false
false
false
false
zero
73,111,752
Access to Media Files inside Android/Media/ Folder - Android 11
<p>Which permission is required to read/write Pictures ad Video files inside file:///emulated/0/Android/Media folder in Android 11(API 30)?</p>
Which permission is required to read/write Pictures ad Video files inside file:///emulated/0/Android/Media folder in Android 11(API 30)?
android|storage|android-11
0
2022-07-25T15:28:53.593Z
2,022
7
15
0
62
0
136
63
3
0
false
true
false
false
false
false
zero
73,111,968
Is there a way to control keyboard position on screen for Android with MAUI?
<p>I am converting an app from Xamarin.Forms and have run into a keyboard display issue. This would be a MAUI bug, since it doesn't happen in Xamarin.Forms. What I am doing:</p> <ol> <li><p>Setting app to be full screen. Here is the code for MainActivity.cs to do that (and yes I know Maui flags what I am doing as de...
I am converting an app from Xamarin.Forms and have run into a keyboard display issue. This would be a MAUI bug, since it doesn't happen in Xamarin.Forms. What I am doing: Setting app to be full screen. Here is the code for MainActivity.cs to do that (and yes I know Maui flags what I am doing as deprecated, but it works...
android|keyboard|display|maui|xamarin-entry
1
2022-07-25T15:45:11.930Z
2,022
7
15
0
104
0
800
76
5
2
true
true
false
false
false
false
low
73,112,078
Printing out a bitmap QR code image with Brother Label Printer SDK prints out a blank label
<p>I need to be able to print out a bitmap QR Code using my Brother QL-720NW.</p> <p>As of right now, I'm able to generate a QR code bitmap and display it properly in an ImageView. On a button press, the user needs to be able to print that QR code bitmap from the Brother label printer.</p> <p>I am able to make a connec...
I need to be able to print out a bitmap QR Code using my Brother QL-720NW. As of right now, I'm able to generate a QR code bitmap and display it properly in an ImageView. On a button press, the user needs to be able to print that QR code bitmap from the Brother label printer. I am able to make a connection to the print...
java|android|android-studio|bitmap|brother-print-sdk
0
2022-07-25T15:52:59.773Z
2,022
7
15
0
70
1
529
91
5
2
true
false
false
false
false
false
zero
73,112,150
BitmapFactory fails to decode InputStream for my ImageVIew
<p>Now I'm trying download an image from URL to my ImageView.</p> <pre class="lang-java prettyprint-override"><code>public class ImageRequestTask extends AsyncTask&lt;String, Void, Bitmap&gt; { private final ImageView imageView; public ImageRequestTask(ImageView imageView) { this.imageView = imageView...
Now I'm trying download an image from URL to my ImageView. [CODE] But I get this message in logs: [CODE] And img variable was null . Tried to use Drawable.createFromStream() , but got the same issue. Where it come from and what should I do?
java|android|bitmapfactory
0
2022-07-25T15:57:43.347Z
2,022
7
15
0
28
0
240
58
3
2
true
true
false
false
false
false
zero
73,112,380
Android : spannablestring shows HTML tags issue
<p>hi in my string im getting <code>&lt;br &gt;</code> after using spannable string</p> <p>my text is <code>hi&lt;br /&gt;@dry12 &lt;br /&gt;&lt;br /&gt;hi all&lt;br /&gt;&lt;br /&gt;@akjhv</code></p> <p>here is my code</p> <pre><code> SpannableString ss = new SpannableString(text); for (int i = 0; ...
hi in my string im getting <br > after using spannable string my text is hi<br />@dry12 <br /><br />hi all<br /><br />@akjhv here is my code [CODE] i tried html.fromHtml also but it also didnt work above code output is hi<br />@dry12 <br /><br />hi all<br /><br />@akjhv (showing proper linkable and clikable functionali...
java|android|html|string|fromhtml
0
2022-07-25T16:16:21.043Z
2,022
7
16
0
21
0
386
47
5
1
true
true
false
false
false
false
zero
73,112,572
How to test integration of application with Media Session in Android?
<p>I wrote an Android application and integrated it with Media Sessions.</p> <p>There is a way to test the integration programmatically?</p> <p>I don't want to use the media buttons has are already handled by my application.</p>
I wrote an Android application and integrated it with Media Sessions. There is a way to test the integration programmatically? I don't want to use the media buttons has are already handled by my application.
android|android-mediasession
0
2022-07-25T16:32:37.030Z
2,022
7
16
0
22
0
207
69
2
0
false
true
false
false
false
false
zero
73,112,604
Collect flow but only any new values, not the currently existing value
<p>Currently struggling with this one, and so far no combination of SharedFlow and StateFlow have worked.</p> <p>I have a flow that might have already started with a value, or not.</p> <p>Using that flow I want to collect any <strong>new</strong> values that are emitted after I start collecting.</p> <p>At this moment a...
Currently struggling with this one, and so far no combination of SharedFlow and StateFlow have worked. I have a flow that might have already started with a value, or not. Using that flow I want to collect any new values that are emitted after I start collecting. At this moment all my attempts have always failed, no mat...
android|kotlin|kotlin-flow|kotlin-stateflow|kotlin-sharedflow
0
2022-07-25T16:34:48.820Z
2,022
7
16
0
156
2
1,539
70
5
1
true
false
false
false
false
false
zero
73,112,608
Use firebase storage with embedded native module in react native
<p>I have a react-native iOS app with Firebase and an embedded custom native module.</p> <p>I want to use firebase storage to upload data to a bucket from both the native module and the react native part. How should I handle it without any issues?</p>
I have a react-native iOS app with Firebase and an embedded custom native module. I want to use firebase storage to upload data to a bucket from both the native module and the react native part. How should I handle it without any issues?
android|ios|react-native|react-native-firebase
0
2022-07-25T16:35:07.737Z
2,022
7
16
0
18
0
237
64
4
0
false
true
false
false
false
false
zero
73,112,639
WDIO 6: Getting "Error: An unknown server-side error occurred while processing the command. Original error: chrome not reachable" - v100.0.4896.127
<p>I'm using WebdriverIO 6 with SauceLabs and getting the below issue in Android tests. It fails when we try to switch contexts or if the validation happens after loading through navigation which is mostly consistent. It currently shows the chrome driver version is 100.0.4896.127 but i'm not able to find how to change/...
I'm using WebdriverIO 6 with SauceLabs and getting the below issue in Android tests. It fails when we try to switch contexts or if the validation happens after loading through navigation which is mostly consistent. It currently shows the chrome driver version is 100.0.4896.127 but i'm not able to find how to change/upd...
android|google-chrome|appium|webdriver-io|saucelabs
0
2022-07-25T16:37:44.313Z
2,022
7
16
0
117
0
1,416
147
5
2
true
true
false
false
false
false
zero
73,112,672
I have a problem No host specified in URI -flutter
<p>I have a problem when i add <code>String humanReadableAddress = await Assistants.searchAddressForGeographicCoOrdinates(userPosition!);</code> in home page No host specified in URI https:maps.googleapis.com/maps/api/geocode/json?latlng=14.9930017,103.1029183&amp;key=YOUR_API_KEY)</p> <p>//Assistants page</p> <pre><co...
I have a problem when i add String humanReadableAddress = await Assistants.searchAddressForGeographicCoOrdinates(userPosition!); in home page No host specified in URI https:maps.googleapis.com/maps/api/geocode/json?latlng=14.9930017,103.1029183&key=YOUR_API_KEY) //Assistants page [CODE] //RequsstAssistant page [CODE] /...
android|flutter|google-maps|geolocation
0
2022-07-25T16:42:16.617Z
2,022
7
16
0
52
1
332
50
4
3
true
false
false
false
false
false
zero
73,112,878
What is the difference between intermediates and an "unpacked" apk
<p>When building an APK, we can find these these two folders (among others) inside <strong>build</strong>:</p> <pre><code>- build |- intermediates |- outputs |- ... </code></pre> <p>My question is: Is the <strong>intermediates</strong> content the same as an &quot;unpacked apk&quot; from the outputs folder ...
When building an APK, we can find these these two folders (among others) inside build : [CODE] My question is: Is the intermediates content the same as an &quot;unpacked apk&quot; from the outputs folder or is there any other difference between then? Is there any documentation where I can learn more about each folder g...
android|android-studio|gradle|build
0
2022-07-25T17:02:32.430Z
2,022
7
17
0
15
0
361
66
4
1
true
true
false
false
false
false
zero
73,112,894
We recommend using a newer Android Gradle plugin to use compileSdk = 33
<p>Hey guys how can I update to latest version because I cannot find the latest <a href="https://developer.android.com/studio/releases/gradle-plugin" rel="nofollow noreferrer">gradle-plugin</a>. Can somone guide me on this?</p> <p><strong>build.gradle(ExampleApp)</strong></p> <pre><code>buildscript { ext { ...
Hey guys how can I update to latest version because I cannot find the latest gradle-plugin . Can somone guide me on this? build.gradle(ExampleApp) [CODE] gradle-wrapper.properties [CODE] build.gradle(:app ) [CODE] Getting this warning message, I updated already everything what I am missing can somone tell me? [CODE] th...
android|kotlin|gradle|android-gradle-plugin|kotlin-gradle-plugin
0
2022-07-25T17:03:46.127Z
2,022
7
17
0
1,615
1
324
71
5
4
true
false
false
false
false
false
zero
73,113,046
Flutter Firebase Auth How To Get User Current Password?
<p>I'm making a password change page. The user will need to enter their current password to go to the password change section. But I don't know how to get current password. How can I do that?</p>
I'm making a password change page. The user will need to enter their current password to go to the password change section. But I don't know how to get current password. How can I do that?
android|flutter|firebase-authentication
-2
2022-07-25T17:16:05.913Z
2,022
7
17
0
137
2
188
55
3
0
false
false
false
false
false
true
negative
73,113,134
Is it possible to launch a fragment inside Thread. setDefaultUncaughtExceptionHandler?
<p>I'm working on a single-activity application while learning Android dev, and I stumbled on a roadblock, I am trying to launch/navigate to a fragment inside Thread. setDefaultUncaughtExceptionHandler when an exception is thrown, and I can't seem to get it working. I tried the following two options with the Navigation...
I'm working on a single-activity application while learning Android dev, and I stumbled on a roadblock, I am trying to launch/navigate to a fragment inside Thread. setDefaultUncaughtExceptionHandler when an exception is thrown, and I can't seem to get it working. I tried the following two options with the Navigation Co...
android|android-fragments|exception|android-activity|crash
0
2022-07-25T17:24:54.977Z
2,022
7
17
0
33
0
1,328
86
5
3
true
true
false
false
false
false
zero
73,113,210
Android Studio click on generated Navigation Direction to redirect into XML instead of generated files
<p>With the Navigation component, when using Navigation directions and using them as <code>MyFragmentDirections.actionGoToFragment2()</code>, in some projects when i do <code>cmd+click</code> on the <code>actionGoToFragment2()</code> it opens the XML where the actual action is.</p> <p>But, in some other projects, it op...
With the Navigation component, when using Navigation directions and using them as MyFragmentDirections.actionGoToFragment2() , in some projects when i do cmd+click on the actionGoToFragment2() it opens the XML where the actual action is. But, in some other projects, it opens the generated Kotlin files and i have to nav...
android|android-studio|navigation|android-jetpack-compose|android-architecture-navigation
0
2022-07-25T17:32:17.997Z
2,022
7
17
0
33
0
439
102
5
0
false
true
false
false
false
false
zero
73,113,282
Task 'installDebug' is ambiguous in project ':app' - React Native with android flavors
<p>I am trying to run a react native app with the command: `react-native run-android –variant=devDebug``</p> <p>But I get the the error :</p> <pre><code>Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 (node:20659) [DEP0148] DeprecationWarning: Use of deprecated folder mapping &quot;./&...
I am trying to run a react native app with the command: `react-native run-android –variant=devDebug`` But I get the the error : [CODE] Indeed when I run gradlew tasks in the android folder of my project, I can't find installDebug. I don't know what I am supposed to do to solve this situation. Some contex : I am trying ...
android|react-native|gradle|gradlew
0
2022-07-25T17:39:33.203Z
2,022
7
17
0
115
1
564
86
4
2
true
false
false
false
false
false
zero
73,113,441
Implementing an activity inside a fragment in android studio
<p>I'm trying to make an app in android studio that has different tabs using fragments. I want one of these tabs to show a calendar so that when that fragment is opened (using a navigation bar), the calendar appears.</p> <p>I'm having trouble integrating my calendar activity into the fragment activity file. I'm also ne...
I'm trying to make an app in android studio that has different tabs using fragments. I want one of these tabs to show a calendar so that when that fragment is opened (using a navigation bar), the calendar appears. I'm having trouble integrating my calendar activity into the fragment activity file. I'm also new to andro...
java|android|android-studio|android-fragments|android-activity
1
2022-07-25T17:57:29.087Z
2,022
7
17
0
42
0
433
60
5
3
true
true
false
false
false
false
low
73,113,456
I have a problem in sdk component Installation. Can anyone help me to resolve these issues?
<p>I am very beginner to android studio, and I want to install android studio latest version 11.0.12. on my windows 10.You can see in the attached screenshot.</p> <p><img src="https://i.stack.imgur.com/iar2j.png" alt="enter image description here" /></p> <p>Its showing multiple errors while installing. I have to instal...
I am very beginner to android studio, and I want to install android studio latest version 11.0.12. on my windows 10.You can see in the attached screenshot. Its showing multiple errors while installing. I have to install command line tool but android studio does not showing this tool to install. Flutter doctor in cmd de...
android|flutter|android-studio|visual-studio-code|sdk
1
2022-07-25T17:58:53.420Z
2,022
7
17
0
38
1
379
91
5
0
false
false
false
false
false
false
low
73,113,469
I don't want users to be able to backup from my app
<p>Currently, most new phones have the option to create a backup copy of the application after installing it or send it directly to friends or another users.</p> <p>Or many user, when use old phones, create a backup of the application by <a href="https://a86.ir/?i=65qbF1" rel="nofollow noreferrer"><strong><code>Apps Ba...
Currently, most new phones have the option to create a backup copy of the application after installing it or send it directly to friends or another users. Or many user, when use old phones, create a backup of the application by Apps Backup and Restore program and send it to another user. I don't want users to be able t...
android-studio
0
2022-07-25T18:00:06.633Z
2,022
7
18
0
34
0
412
51
1
0
false
true
false
false
false
false
zero
73,113,518
Creating singletons using Initializer<T> vs object
<p>Heyo, I'm looking for some advice. I was taking some time to redo a chunk of my code to support dependency injection, and I found the androix.startup <a href="https://developer.android.com/topic/libraries/app-startup" rel="nofollow noreferrer">App Startup library</a>. It seemed like a great solution for singleton re...
Heyo, I'm looking for some advice. I was taking some time to redo a chunk of my code to support dependency injection, and I found the androix.startup App Startup library . It seemed like a great solution for singleton registration, as dependencies and initialization order are automatically managed. But, looking at the ...
android|kotlin|startup
2
2022-07-25T18:04:27.240Z
2,022
7
18
0
39
0
1,029
50
3
2
true
true
false
false
false
false
low
73,113,674
How to debug react native application in android device?
<p>I have installed the React native APK file on my android device. I am able to open the application on my android device. In my application, some functionalities are not working. I need to debug the code via my android device. How to debug the React native android application in a Real Android device. Does any third-...
I have installed the React native APK file on my android device. I am able to open the application on my android device. In my application, some functionalities are not working. I need to debug the code via my android device. How to debug the React native android application in a Real Android device. Does any third-par...
react-native|debugging|android-debug|react-native-debugger
0
2022-07-25T18:17:37.127Z
2,022
7
18
0
107
1
429
56
4
0
false
false
false
false
false
false
zero
73,113,698
How can i optimze the below condition in android/kotlin
<p>I have a function like this and it returns the ENUM data.</p> <pre><code> if (shouldShowCTA) { if (progress) { when (type) { TYPE1 -&gt; TYPE1_PROGRESS TYPE2 -&gt; TYPE2_PROGRESS else -&gt; null ...
I have a function like this and it returns the ENUM data. [CODE] Here I have a repeated code of When condition. How can I combine all the if and else if at one condition?
android|kotlin|logic
2
2022-07-25T18:20:21.663Z
2,022
7
18
0
39
2
170
55
3
1
true
false
false
false
false
false
low
73,113,771
creating a repeating alarm app but its not working
<p>I was creating a repeating alarm app but its not working. it did not even send alarm once:</p> <p><strong>my Main Activity Code:</strong></p> <pre><code> Button alarmbutton, cancelButton; EditText text; PendingIntent pendingIntent; AlarmManager alarmManager; Intent intent; @Override protected void onCreate(Bundle s...
I was creating a repeating alarm app but its not working. it did not even send alarm once: my Main Activity Code: [CODE] and My Main Activity XML Code: [CODE] My BroadCast Class Code is : [CODE] and I also add these permissions in the manifest file: [CODE] and I also create a receiver of my BroadCast receiver class in ...
java|android|android-studio|alarmmanager|android-broadcast
0
2022-07-25T18:25:36.033Z
2,022
7
18
0
28
0
436
50
5
4
true
true
false
false
false
false
zero
73,113,772
Any way to call Google Play store API in .net app to get additional subscripiton and transaction details
<p>I have real time notification configured for app and I do get response like Subscription Id and Purchase token, based on this reponse I want to call additinal api to get more data like subscription, purchase and transactional details. I need to call thise api in .net. Please let me know if such api exists and how to...
I have real time notification configured for app and I do get response like Subscription Id and Purchase token, based on this reponse I want to call additinal api to get more data like subscription, purchase and transactional details. I need to call thise api in .net. Please let me know if such api exists and how to ca...
android|.net|google-api|google-developers-console
0
2022-07-25T18:25:53.620Z
2,022
7
18
0
36
1
482
104
4
0
false
false
false
false
false
false
zero
73,114,025
To get root access using on android phone and unlocking the bootloader
<p>How can I get root access on android phone without having to use the SDK tools..is it possible to try it with python and Ubuntu terminal...I have searched online it only suggests other tools like Fastboot which also comes with SDk , ADB...</p> <p>Can anyone give me some guidelines where to start? and what python pa...
How can I get root access on android phone without having to use the SDK tools..is it possible to try it with python and Ubuntu terminal...I have searched online it only suggests other tools like Fastboot which also comes with SDk , ADB... Can anyone give me some guidelines where to start? and what python packages will...
android|python-3.x|ubuntu|bootloader
0
2022-07-25T18:51:37.163Z
2,022
7
18
0
37
1
439
70
4
0
false
false
false
false
false
false
zero
73,114,171
android doze(sleep) mode fail ble scan
<p>I want <strong>BLE SCAN</strong> + <strong>GPS check</strong> in the <strong>background</strong> at a repeat cycle of 10 minutes, and send it result. to the backend. using retrofit</p> <p>This works fine when in the background.</p> <p>but, When entering <strong>android doze mode</strong>, <strong>it does not work.</...
I want BLE SCAN + GPS check in the background at a repeat cycle of 10 minutes, and send it result. to the backend. using retrofit This works fine when in the background. but, When entering android doze mode , it does not work. I've tried several solutions. Foreground Service + WorkManager PeriodicWorkRequest -> BLE sca...
android|bluetooth|bluetooth-lowenergy|android-background|android-doze
0
2022-07-25T19:05:11.957Z
2,022
7
19
0
70
0
1,200
38
5
2
true
true
false
false
false
false
zero
73,114,324
React-native Expo StorageAccessFramework.readDirectoryAsync() isn't readable
<p>So I'm Trying to Create a Folder from my app , in this folder I want to create 2 files: One Folder named : Pictures One File Named : x.xlsx</p> <p>First I'm Getting Permission</p> <pre><code> await StorageAccessFramework.requestDirectoryPermissionsAsync(); </code></pre> <p>after the user Choose The folder To give &q...
So I'm Trying to Create a Folder from my app , in this folder I want to create 2 files: One Folder named : Pictures One File Named : x.xlsx First I'm Getting Permission [CODE] after the user Choose The folder To give &quot;accesses&quot; to - He can create NewFolder there [CODE] after He Creates This Folder I want the ...
android|react-native|expo
0
2022-07-25T19:18:43.610Z
2,022
7
19
0
76
0
601
76
3
4
true
true
false
false
false
false
zero
73,114,401
Android status bar gradient React Native
<p>I would like to put a gradient in android status bar <a href="https://i.stack.imgur.com/tzG7j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tzG7j.png" alt="enter image description here" /></a></p> <p>in ios looks beautiful</p> <p><a href="https://i.stack.imgur.com/TDths.png" rel="nofollow norefe...
I would like to put a gradient in android status bar in ios looks beautiful I'm using linear gradient with angle [CODE]
android|react-native|gradient|linear-gradients
0
2022-07-25T19:25:21.590Z
2,022
7
19
0
68
1
119
40
4
1
true
false
false
false
false
false
zero
73,114,589
How to call a string of multiple values ​from a ViewModel
<p>I am trying to call a string that accepts two values ​​from a viewmodel</p> <pre><code>&lt;string name=&quot;send_message&quot;&gt;Se envió %1$s a %2$s&lt;/string&gt; </code></pre> <p>with the next function</p> <pre><code>private fun getString(textId: Int,args: ArrayList&lt;Any&gt;) = getApplication&lt;Applicati...
I am trying to call a string that accepts two values ​​from a viewmodel [CODE] with the next function [CODE] But I get this error java.util.MissingFormatArgumentException: Format specifier '%2$s' Does anyone know what I'm doing wrong? I would greatly appreciate it
android
0
2022-07-25T19:44:47.227Z
2,022
7
19
0
32
1
264
57
1
2
true
false
false
false
false
false
zero
73,114,652
Google/Android TV WebView vs FireTV WebView output
<p>I am trying to play a video on WebView. The URL for the video is <a href="https://presenter.displaynow.io/video?url=https://dnmediaservice-usea.streaming.media.azure.net/eba08e4d-3f77-4343-8206-360541683fc5/21bf46b6-c6ec-925c-d5d2-7b6b61b2.ism/manifest" rel="nofollow noreferrer">https://presenter.displaynow.io/video...
I am trying to play a video on WebView. The URL for the video is https://presenter.displaynow.io/video?url=https://dnmediaservice-usea.streaming.media.azure.net/eba08e4d-3f77-4343-8206-360541683fc5/21bf46b6-c6ec-925c-d5d2-7b6b61b2.ism/manifest On Google and Android TV it is working as expected but on Amazon FireTV, the...
android|webview|android-tv|google-tv|amazon-fire-tv
0
2022-07-25T19:52:00.207Z
2,022
7
19
0
42
0
726
50
5
1
true
true
false
false
false
false
zero
73,114,972
Kotlin: Edit icon dashboard of icons between fragments
<p>I'm trying to figure out the most efficient way to structure this problem..</p> <p>I'd like to click on the 'EDIT' icon in the dashboard of the MainFragment, display a DialogFragment, allow user to select/deselect up to 5 icons, save the selection, close the DialogFragment, and update the MainFragment.</p> <p>Should...
I'm trying to figure out the most efficient way to structure this problem.. I'd like to click on the 'EDIT' icon in the dashboard of the MainFragment, display a DialogFragment, allow user to select/deselect up to 5 icons, save the selection, close the DialogFragment, and update the MainFragment. Should I use MutableLiv...
kotlin|android-fragments|viewmodel|android-livedata|mutablelivedata
0
2022-07-25T20:25:10.720Z
2,022
7
20
0
19
0
827
54
5
3
true
true
false
false
false
false
zero
73,115,009
When I change ViewModel var, Composable Doesn't Update in Kotlin + Compose
<p>When I change ViewModel variable, Composable Doesn't Update the View and I'm not sure what to do.</p> <p>This is my MainActivity:</p> <pre><code>class MainActivity : ComponentActivity() { companion object { val TAG: String = MainActivity::class.java.simpleName } private val auth by lazy { ...
When I change ViewModel variable, Composable Doesn't Update the View and I'm not sure what to do. This is my MainActivity: [CODE] I have a a View Model: [CODE] And a Composable View upon user autentication: [CODE] When my Firestore method returns, I update the profile var, and &quot;expect&quot; it to be updated in the...
android|firebase|kotlin|android-jetpack-compose
2
2022-07-25T20:29:22.143Z
2,022
7
20
0
180
3
905
74
4
5
true
false
false
false
false
false
low
73,115,061
DispatchKeyEvent stops firing after Xamarin Forms Entry control IsFocused
<p>I am building a Xamarin Forms mobile app that runs in Android on a Zebra scanner. I flip 2 different StackLayouts to IsVisble true/false to display different stuff in the UI. (StackLayout1 and StackLayout2)</p> <p>The customer wants the user to be able to use the app entirely from the hardware keyboard on the scan...
I am building a Xamarin Forms mobile app that runs in Android on a Zebra scanner. I flip 2 different StackLayouts to IsVisble true/false to display different stuff in the UI. (StackLayout1 and StackLayout2) The customer wants the user to be able to use the app entirely from the hardware keyboard on the scanner. So I ha...
xamarin.forms|xamarin.android
1
2022-07-25T20:33:57.740Z
2,022
7
20
0
66
1
2,062
73
2
1
true
false
false
false
false
false
low
73,115,169
Issue with tablayout, on switching to the second tab it will jump back to the first tab
<p>I am trying to create a tab layout for my program. There are two tabs. If I try to switch to Tab2 instead of staying on Tab2, it changes back to Tab1. I have 0 clue what is causing this problem.</p> <p>Here is my code</p> <p>MainActivity:</p> <pre><code>tabLayout = findViewById(R.id.tablayout); viewPager2 = find...
I am trying to create a tab layout for my program. There are two tabs. If I try to switch to Tab2 instead of staying on Tab2, it changes back to Tab1. I have 0 clue what is causing this problem. Here is my code MainActivity: [CODE] CustomAdapter: [CODE]
android|android-tablayout
0
2022-07-25T20:45:00.237Z
2,022
7
20
0
44
1
253
87
2
2
true
false
false
false
false
false
zero
73,115,289
Disable DatePicker changing year by scrolling months
<p>I have a DatePicker and the issue I'm encountering is that going from december to january is possible, but I want to only display 12 values for the months, from January to December, without the possibility to change year from the month part of the datepicker.</p> <p><img src="https://i.stack.imgur.com/c7iIR.png" alt...
I have a DatePicker and the issue I'm encountering is that going from december to january is possible, but I want to only display 12 values for the months, from January to December, without the possibility to change year from the month part of the datepicker. You can see on the above image what I'm talking about if I'm...
android|android-studio|datepicker
1
2022-07-25T20:56:10.703Z
2,022
7
20
0
45
1
524
52
3
1
true
false
false
false
false
false
low
73,115,519
How to completely prevent Android Lock Screen
<p>I made an field guide app for biology. It does tons of stuff, for example, recordings of wildlife sounds, and it is made to run the whole day with a single battery charge.</p> <p>Since it is intended to be run a whole day, I cannot keep the screen on all the time. So naturally the screen goes off. Then, the lock scr...
I made an field guide app for biology. It does tons of stuff, for example, recordings of wildlife sounds, and it is made to run the whole day with a single battery charge. Since it is intended to be run a whole day, I cannot keep the screen on all the time. So naturally the screen goes off. Then, the lock screen kicks ...
android|lockscreen|battery
0
2022-07-25T21:26:22.120Z
2,022
7
21
0
69
1
1,277
45
3
2
true
false
false
false
false
false
zero
73,115,543
How do I make may Android TV App relaunch after a crash
<p>I'm building a corporate app for android TV that I need to have always in the foreground. Every now and then the app will crash along with the service that will relaunch it. Is there a best practice to ensure the app is always running. What I can't figure out is how to launch after a force stop. The app can be ...
I'm building a corporate app for android TV that I need to have always in the foreground. Every now and then the app will crash along with the service that will relaunch it. Is there a best practice to ensure the app is always running. What I can't figure out is how to launch after a force stop. The app can be side loa...
android|flutter|android-tv|firestick
1
2022-07-25T21:29:48.327Z
2,022
7
21
0
165
2
793
55
4
0
false
false
false
false
false
false
low
73,115,745
Can't properly initialize Subscription ID API
<p>Trying to get unique identifier of SIM card as described <a href="https://developer.android.com/training/articles/user-data-ids#mobile-service-subscriptions" rel="nofollow noreferrer">here</a>. So I am trying to get this value on a phone with one sim, my code looks like this:</p> <pre class="lang-java prettyprint-ov...
Trying to get unique identifier of SIM card as described here . So I am trying to get this value on a phone with one sim, my code looks like this: [CODE] I have added also these lines to manifest [CODE] However, when I run this app and allow all of the permissions I get an error: [CODE] As far as I understand I am call...
java|android|api
0
2022-07-25T21:57:05.183Z
2,022
7
21
0
23
1
630
45
3
4
true
false
false
false
false
false
zero
73,115,827
MediaRecorder prepare() failed /storage/emulated/0/: open failed: EPERM (Operation not permitted)
<p>I am trying to record audio on my Android 12 Device with <code>File and Media Permission</code> granted but <code>recorder.prepare();</code> throws</p> <p><code>prepare() failed /storage/emulated/0/Music/Exotel/Media/Exotel Audio/Voice Messages/Exotel Temp/Exotel_Voice1658709937668.3gpp: open failed: EPERM (Operatio...
I am trying to record audio on my Android 12 Device with File and Media Permission granted but recorder.prepare(); throws prepare() failed /storage/emulated/0/Music/Exotel/Media/Exotel Audio/Voice Messages/Exotel Temp/Exotel_Voice1658709937668.3gpp: open failed: EPERM (Operation not permitted) I am using official docum...
java|android|mediarecorder|android-external-storage
2
2022-07-25T22:08:54.897Z
2,022
7
22
0
174
1
739
97
4
1
true
false
false
false
false
false
low
73,115,970
Can't Pass Strings Through Constructor in HiltViewModel - Error: [Dagger/MissingBinding] java.lang.String cannot be provided
<p>I am migrating from Dagger 2 to Hilt in Android. Most of my migrations have been pretty straight forward, but the last viewmodel I'm converting is giving me trouble</p> <h2>ContactDetailViewModel</h2> <pre><code>@HiltViewModel class ContactDetailViewModel @Inject constructor( application: Application, conta...
I am migrating from Dagger 2 to Hilt in Android. Most of my migrations have been pretty straight forward, but the last viewmodel I'm converting is giving me trouble ContactDetailViewModel [CODE] ContactDetailVMFactory [CODE] ContactDetailEditFragment [CODE] Errors / Build Output [CODE] I'm pretty baffled on this. I've ...
android|kotlin|migration|android-viewmodel|dagger-hilt
2
2022-07-25T22:28:56.913Z
2,022
7
22
0
56
1
505
124
5
4
true
false
false
false
false
false
low
73,116,061
How do I remove no module error on android studio?
<p>Hie everyone.</p> <p>My challenge is that my android studio doesnt have the &quot;app&quot; option when I try to edit configuration settings. Please help using simple language and pictures I m really new to this no hard technical words.I m using Windows 8.1 on a Samsung core i5 with 4 gig ram. Please assist. Becaus...
Hie everyone. My challenge is that my android studio doesnt have the &quot;app&quot; option when I try to edit configuration settings. Please help using simple language and pictures I m really new to this no hard technical words.I m using Windows 8.1 on a Samsung core i5 with 4 gig ram. Please assist. Because of this w...
android
0
2022-07-25T22:42:43.173Z
2,022
7
22
0
30
0
529
50
1
0
false
true
false
false
false
false
zero
73,116,119
Android: How to get latest data for each holder of RecyclerView using ViewModel?
<p>I am figuring out how to get image url from the API for each holder whenever I scroll to that position. I'm thinking about getting the image url from a ViewModel but I don't think a RecyclerView adapter works with a ViewModel.</p> <p>Adapter:</p> <pre><code>override fun onBindViewHolder(holder: ItemViewHolder, posit...
I am figuring out how to get image url from the API for each holder whenever I scroll to that position. I'm thinking about getting the image url from a ViewModel but I don't think a RecyclerView adapter works with a ViewModel. Adapter: [CODE] My idea for the ViewModel: [CODE]
android|kotlin|android-recyclerview
0
2022-07-25T22:53:52.910Z
2,022
7
22
0
43
1
276
80
3
2
true
false
false
false
false
false
zero
73,116,253
How do I use ViewHolder to get a reference to items in the RecyclerView?
<p>I am working with the <a href="https://android.googlesource.com/platform/development/+/7167a054a8027f75025c865322fa84791a9b3bd1/samples/BluetoothLeGatt/src/com/example/bluetooth/le/DeviceScanActivity.java" rel="nofollow noreferrer">LeDeviceListAdapter</a> class in Android Studio. Specifically, I don't know how to ca...
I am working with the LeDeviceListAdapter class in Android Studio. Specifically, I don't know how to call the ViewHolder for my RecyclerView in the getView function of this class. [CODE] I am getting an error where it says... viewHolder = ViewHolder( ) The error says I can't instantiate an abstract class. I have tried ...
android-recyclerview|android-viewholder
0
2022-07-25T23:20:38.490Z
2,022
7
23
0
19
0
989
72
2
1
true
true
false
false
false
false
zero
73,116,387
How to prevent ANR if these depend on device overload with OS unresponsive?
<p>In my app there is no demanding task running on main thread, but still I get random ANR that don't seem having any specific reason.</p> <p>They happen random:</p> <ul> <li>without any reproducible scheme</li> <li>without a precise code block execution</li> <li>some haven't even a stack for analysis</li> <li>they are...
In my app there is no demanding task running on main thread, but still I get random ANR that don't seem having any specific reason. They happen random: without any reproducible scheme without a precise code block execution some haven't even a stack for analysis they are of different types there isn't a specific device ...
android|performance|android-anr-dialog|stability|android-vitals
0
2022-07-25T23:46:38.163Z
2,022
7
23
0
22
0
1,021
75
5
2
true
true
false
false
false
false
zero
73,116,650
How do I make an AAB file?
<p>I have went into android studio and the option to build one isn't there, I went to an earlier version it said I needed a newer version of gradle, I looked up how to do that and then it gave me a result than only works in an earlier version, so I went to said earlier version AND IT DOESNT HAVE THE OPTION TO BUILD TO ...
I have went into android studio and the option to build one isn't there, I went to an earlier version it said I needed a newer version of gradle, I looked up how to do that and then it gave me a result than only works in an earlier version, so I went to said earlier version AND IT DOESNT HAVE THE OPTION TO BUILD TO AN ...
android|apk|android-app-bundle
0
2022-07-26T00:36:27.043Z
2,022
7
0
1
67
1
410
26
3
0
false
false
false
false
false
false
zero
73,116,747
Kotlin Serialization @SerialName not working for Boolean
<p>I'm using GSON to serialize some platform data. When I use <code>@SerialName</code> to capture platform data with a different naming convention in my app, it works for other types, but not <code>Boolean</code> types. As a simple example, if I have a class like...</p> <pre class="lang-kotlin prettyprint-override"><co...
I'm using GSON to serialize some platform data. When I use @SerialName to capture platform data with a different naming convention in my app, it works for other types, but not Boolean types. As a simple example, if I have a class like... [CODE] ... everything works fine. The serializer finds first_name , last_name and ...
android|kotlin|serialization|gson
1
2022-07-26T01:02:00.030Z
2,022
7
1
1
173
1
803
56
4
2
true
false
false
false
false
false
low
73,117,014
How to get Pitch and Tilt value in android when the screen is landscape mode
<p>In android using jetpack compose i am trying to implement a spirit level app. i got pitch, tilt and azimuth value from TYPE_ROTATION_VECTOR and it's working fine in portrait mode. But in landscape mode it seems like the co-ordinate system remain same. when i tilting my phone the sensor still recognize i am pitching....
In android using jetpack compose i am trying to implement a spirit level app. i got pitch, tilt and azimuth value from TYPE_ROTATION_VECTOR and it's working fine in portrait mode. But in landscape mode it seems like the co-ordinate system remain same. when i tilting my phone the sensor still recognize i am pitching. Se...
android
0
2022-07-26T02:02:06.460Z
2,022
7
2
1
23
0
699
76
1
1
true
true
false
false
false
false
zero
73,117,054
Flutter - FCM message not coming when app is closed
<p>I have used FCM along with Flutter local notification for receiving messages. Flutter local notifiation is used to show notification when app is in foreground. Currently, I am using Android 12 (Poco X3 PRO).</p> <p>When I terminate the application and send a message from Firebase Console, the below message appears i...
I have used FCM along with Flutter local notification for receiving messages. Flutter local notifiation is used to show notification when app is in foreground. Currently, I am using Android 12 (Poco X3 PRO). When I terminate the application and send a message from Firebase Console, the below message appears in the logc...
android|flutter|firebase-cloud-messaging|flutter-local-notification
1
2022-07-26T02:10:39.873Z
2,022
7
2
1
249
2
658
51
4
3
true
false
false
false
false
false
low
73,117,239
Can you please Clarify flutter for me?
<p>My Questions about flutter is ( in android studio IDE):</p> <p>1- in windows can i download iOS virtual mobile ?</p> <p>2- flutter in windows can only support code for android apps? , and later the app will convert to iOS app and…etc ? , or How is the operation going?</p> <p>3- can you in windows code for iOS apps ...
My Questions about flutter is ( in android studio IDE): 1- in windows can i download iOS virtual mobile ? 2- flutter in windows can only support code for android apps? , and later the app will convert to iOS app and…etc ? , or How is the operation going? 3- can you in windows code for iOS apps Directly or the code is t...
android|ios|flutter
0
2022-07-26T02:49:34.527Z
2,022
7
2
1
43
1
372
38
3
0
false
false
false
false
false
false
zero
73,117,374
How can I fix Parser error in expo run:androd
<p>I'm creating an application in react-native, but due to an integration with FireBase I can't start a local development server for the application. So I need to run the android application binary locally through the expo run:build command, but this error always appears with Parser:</p> <pre><code>Unexpected close tag...
I'm creating an application in react-native, but due to an integration with FireBase I can't start a local development server for the application. So I need to run the android application binary locally through the expo run:build command, but this error always appears with Parser: [CODE] How can I fix it? I've been sea...
android|react-native|parsing|promise|expo
0
2022-07-26T03:15:30.447Z
2,022
7
3
1
30
0
359
45
5
1
true
true
false
false
false
false
zero
73,117,397
What is the difference between Application Restrictions vs Manifest Restrictions in Android's Restriction Manager API?
<p>Android's <code>RestrictionsManager</code> provide two methods <code>getApplicationRestrictions</code> and <code>getManifestRestrictions(packageName)</code>.</p> <p><strong>What is the intended purpose of these two?</strong> Just from the response, I see that manifest restrictions returns the values declared in App'...
Android's RestrictionsManager provide two methods getApplicationRestrictions and getManifestRestrictions(packageName) . What is the intended purpose of these two? Just from the response, I see that manifest restrictions returns the values declared in App's restrictions.xml file.
android|android-work-profile|android-restrictions
0
2022-07-26T03:20:47.800Z
2,022
7
3
1
22
0
279
118
3
0
false
true
false
false
false
false
zero
73,117,413
Buildozer is not able to convert the API level to 29
<p>I just made my aab file and in the end of the command run it still shows:</p> <pre><code>[ INFO]: Found Android API target in $ANDROIDAPI: 27 [INFO]: Available Android APIs are (27) [INFO]: Requested API target 27 is available, continuing. [INFO]: Found NDK dir in $ANDROIDNDK: /root/.buildozer/android/p...
I just made my aab file and in the end of the command run it still shows: [CODE] I did change the android.api value to 29 in my buildozer.spec file and also the minimum api value to 26 but still its not converting it to my desired api level. Heres my buildozer.spec: [CODE] So how should I solve this, thanks in advance!
python|android|google-cloud-platform|kivy|buildozer
0
2022-07-26T03:23:40.207Z
2,022
7
3
1
55
1
320
52
5
2
true
false
false
false
false
false
zero
73,117,606
How can I use suspend function or viewModelScope/lifecycleScope in WebSocketListener?
<p>I implemented WebSocket with WebSocketListener. And I want to use coroutine channel. But now I need to call it in Coroutine Scope. Here, I don't have viewModelScope nor lifecycleScope. So, I used GlobalScope. And I think this might cause memory leak and incorrect behaviour.</p> <pre><code>@OptIn(DelicateCoroutinesAp...
I implemented WebSocket with WebSocketListener. And I want to use coroutine channel. But now I need to call it in Coroutine Scope. Here, I don't have viewModelScope nor lifecycleScope. So, I used GlobalScope. And I think this might cause memory leak and incorrect behaviour. [CODE] I use CustomWebSocketListener like thi...
android|kotlin|kotlin-coroutines|android-viewmodel
0
2022-07-26T04:03:04.527Z
2,022
7
4
1
116
1
533
85
4
2
true
false
false
false
false
false
zero
73,117,658
TopAppBar in jetpack compose without scaffold gives error
<p><code>TopAppBar(title = { Text(text = &quot;Notes&quot;) },actions = {Icon(imageVector =Icons.Default.Notifications,contentDescription = &quot;Notif&quot;,)},) {}</code></p> <p>when I try running the above code I get the following error &quot;None of the following functions can be called with the arguments supplied....
TopAppBar(title = { Text(text = &quot;Notes&quot;) },actions = {Icon(imageVector =Icons.Default.Notifications,contentDescription = &quot;Notif&quot;,)},) {} when I try running the above code I get the following error &quot;None of the following functions can be called with the arguments supplied.&quot; When I look into...
android|android-jetpack-compose|android-jetpack
0
2022-07-26T04:12:55.200Z
2,022
7
4
1
96
2
458
57
3
0
false
false
false
false
false
false
zero
73,117,664
How to arrange the material top tab navigator tab name in a single line on react native?
<p>I want to arrange the material top tab navigator name in a single line.</p> <p>The first tab name is lengthy here, so it displays in two lines. Like this (img_1).</p> <p><a href="https://i.stack.imgur.com/rC7Jz.png" rel="nofollow noreferrer">img_1</a></p> <p>But I want to convert the name to a single line. Like this...
I want to arrange the material top tab navigator name in a single line. The first tab name is lengthy here, so it displays in two lines. Like this (img_1). img_1 But I want to convert the name to a single line. Like this (img_2). img_2
javascript|android|react-native|react-native-tabnavigator
1
2022-07-26T04:13:42.130Z
2,022
7
4
1
52
1
235
88
4
0
false
false
false
false
false
false
low
73,117,713
What is the purpose of organization name when we create a new flutter project?
<p><strong>What is the purpose of organization name when we create a new flutter project?</strong></p> <p>(<a href="https://i.stack.imgur.com/AkTwc.png" rel="nofollow noreferrer">Check the screenshoot</a>)</p>
What is the purpose of organization name when we create a new flutter project? ( Check the screenshoot )
android|flutter|dart|flutter-layout|flutter-test
0
2022-07-26T04:22:39.157Z
2,022
7
4
1
147
3
104
78
5
0
false
false
false
false
false
false
zero
73,117,750
How can I implement layout like this with recyclerview?
<img src="https://i.stack.imgur.com/7UBTF.jpg" width="300" height="500"> <p>I use <code>GridlayoutManager</code> and override <code>getSpanSize</code> method. I was able to implement three and one column in the same recyclerview. But I was not able to implement five columns in the same recyclerview.</p>
I use GridlayoutManager and override getSpanSize method. I was able to implement three and one column in the same recyclerview. But I was not able to implement five columns in the same recyclerview.
android|android-recyclerview|gridlayoutmanager
2
2022-07-26T04:29:07.153Z
2,022
7
4
1
55
1
198
55
3
0
false
false
false
false
false
false
low
73,117,827
my nextMonthAction() method won't work in a fragment class and will give an error
<p>One if my methods, nextMonthAction() in my fragment activity won't run and I'm not sure why. I get the following error in my logcat: Could not find method previousMonthAction(View) in a parent or ancestor. This is odd as that method is implemented as you can see below.</p> <p>CalendarFragment Activity file:</p> <p><...
One if my methods, nextMonthAction() in my fragment activity won't run and I'm not sure why. I get the following error in my logcat: Could not find method previousMonthAction(View) in a parent or ancestor. This is odd as that method is implemented as you can see below. CalendarFragment Activity file: [CODE] Logcat: [CO...
java|android-studio|logcat
1
2022-07-26T04:43:33.137Z
2,022
7
4
1
23
0
323
81
3
2
true
true
false
false
false
false
low
73,117,919
iOS simulator not found in KMM project
<p>I'm trying to build a KMM project using Android Studio. I can see two separate configurations as well, each for AndroidApp and iOSApp. But the iOSApp configuration doesn't have an Execution target. Neither does it show any simulators in the dropdown. I do have Xcode installed and have run other iOS apps successfully...
I'm trying to build a KMM project using Android Studio. I can see two separate configurations as well, each for AndroidApp and iOSApp. But the iOSApp configuration doesn't have an Execution target. Neither does it show any simulators in the dropdown. I do have Xcode installed and have run other iOS apps successfully in...
android|ios|xcode|android-studio|kotlin-multiplatform
2
2022-07-26T04:57:53.503Z
2,022
7
4
1
125
2
361
38
5
0
false
false
false
false
false
false
low
73,118,085
Replacing Observable, Observer in Android API 33
<p>According to the official android documentation, the <a href="https://developer.android.com/reference/java/util/Observer" rel="nofollow noreferrer">Observer</a>, <a href="https://developer.android.com/reference/java/util/Observable" rel="nofollow noreferrer">Observable</a> classes are getting deprecated starting fro...
According to the official android documentation, the Observer , Observable classes are getting deprecated starting from API 33. According to the same deprecation message, they've recommended using java.beans package that includes PropertyChangeListener , PropertyChangeEvent etc. The other option is to use the Flow API....
java|android|android-13
0
2022-07-26T05:24:44.737Z
2,022
7
5
1
50
0
669
48
3
0
false
true
false
false
false
false
zero
73,118,088
Xamarin forms Android app crash log showing crashes, how to figure it out?
<p>We have a complex app</p> <p>Here is crash logs, Crash is randomly so how can we figure it out</p> <p>This is crash logs from play store, they are showing only very abstract information.</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <p...
We have a complex app Here is crash logs, Crash is randomly so how can we figure it out This is crash logs from play store, they are showing only very abstract information. [CODE]
android|xamarin|crash
0
2022-07-26T05:25:25Z
-1
-1
-1
-1
54
0
179
74
3
1
true
true
false
false
false
false
zero
73,118,139
Android Room When set the dynamic column by param like SELECT :param FROM Can't get the value
<p>I need to dynamic to set the Select column , When I use this code ,it can't return the column values</p> <pre><code>@Query(&quot;SELECT :channel FROM detectAd WHERE sampleNo = :sampleNo ORDER BY adNo ASC&quot;) fun getSampleChannelAd(sampleNo: String, channel: String =&quot;Ad1&quot;): List&lt;Int&gt; </code></p...
I need to dynamic to set the Select column , When I use this code ,it can't return the column values [CODE] So ,how to dynamic set the column to query, I don't want to write a lot of code like this ,although this could work! [CODE]
android|sql|kotlin|android-room
0
2022-07-26T05:32:27.040Z
2,022
7
5
1
52
2
231
93
4
2
true
false
false
false
false
false
zero
73,118,141
How to create an If statement to add values to List in Flutter
<p>So I'm trying to send a value that will be added to displaycontact_list, however I would like to Create an if statement beforehand to check whether the value is a number or a string, if it is a number it will add the list based on Contact.phones.first.number and if it is a String it will add the list based on Contac...
So I'm trying to send a value that will be added to displaycontact_list, however I would like to Create an if statement beforehand to check whether the value is a number or a string, if it is a number it will add the list based on Contact.phones.first.number and if it is a String it will add the list based on Contact.n...
android|flutter|dart|oop
0
2022-07-26T05:32:49.583Z
2,022
7
5
1
60
1
962
62
4
2
true
false
false
false
false
false
zero
73,118,211
react native 0.68.2 after react-native run-android Error Cannot read properties of undefined (reading 'configurations')
<p><strong>TypeError: Cannot read properties of undefined (reading 'configurations')</strong></p> <blockquote> <p>facing this issue when running the project with react-native run-android</p> </blockquote> <pre><code> at Object.dependencyConfig (/node_modules/@react-native-community/cli-platform-ios/build/config/index.j...
TypeError: Cannot read properties of undefined (reading 'configurations') facing this issue when running the project with react-native run-android [CODE]
android|react-native|npm-install
0
2022-07-26T05:43:55.163Z
2,022
7
5
1
710
1
153
119
3
1
true
false
false
false
false
false
zero
73,118,249
Why we need LinearLayout inside of CardView?
<p>I have following xml code from youtube:</p> <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:layout_width=&quot;match_parent&quot;...
I have following xml code from youtube: [CODE] Why we need the LinearLayout that inside the Card component? Can we just inside the Card use ImageView and Text component alone.
android|android-linearlayout
1
2022-07-26T05:48:54.680Z
2,022
7
5
1
44
2
175
44
2
1
true
false
false
false
false
false
low
73,118,259
Is there a way to use getString inside a util?
<p>I succeeded in getString using getSystem. But I want to know how to use local string. If you know the answer to this problem, can you help me? Thanks in advance for those of you who know the answer.</p> <pre><code>class QList { companion object { val qList = listOf( Resources.getSystem().getS...
I succeeded in getString using getSystem. But I want to know how to use local string. If you know the answer to this problem, can you help me? Thanks in advance for those of you who know the answer. [CODE]
android|kotlin|getstring
1
2022-07-26T05:49:33.200Z
2,022
7
5
1
40
2
205
46
3
1
true
false
false
false
false
false
low
73,118,286
Flutter build.gradle Error " Build failed with an exception."
<p>I tried to build my Flutter app(bundle).<br /> but i has some problem.</p> <p>this is my error code:</p> <pre><code>-Error message FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\user\IdeaProjects\relayWriting\android\app\build.gradle' line: 42 * What went wrong: A problem occurred evaluatin...
I tried to build my Flutter app(bundle). but i has some problem. this is my error code: [CODE] I think I have some problems with my 'android\build.gradle'&'app\build.gradle'. at android\build.gradle: [CODE] I think some problems with this ':app'->cause my builder has problem with evaluating project ':app'. and 'app\bui...
android|flutter|gradle|intellij-idea|build
1
2022-07-26T05:53:42.457Z
2,022
7
5
1
828
1
1,202
61
5
9
true
false
false
false
false
false
low
73,118,303
How to force List<Float> to all be between 0.0 and 1.0?
<p>I'm writing this function in Kotlin for Android:</p> <p><code>fun giveMeSomeFloats(floats: List&lt;Float&gt;)</code></p> <p>I want <code>floats</code> to contain floats between 0.0 and 1.0.</p> <p>I noticed you can use this annotation <code>@FloatRange</code> to achieve something similar:</p> <p><code>fun giveMeAFlo...
I'm writing this function in Kotlin for Android: fun giveMeSomeFloats(floats: List<Float>) I want floats to contain floats between 0.0 and 1.0. I noticed you can use this annotation @FloatRange to achieve something similar: fun giveMeAFloat(@FloatRange(from = 0.0, to = 1.0) float: Float) This works, as callers cannot p...
android|kotlin|floating-point
0
2022-07-26T05:56:00.853Z
2,022
7
5
1
50
1
609
55
3
0
false
false
false
false
false
false
zero
73,118,588
How to create keystorefile programmatically?
<p>I have root certificate with .pem extension and private key with .key extension I need to create SSLSocket using these files</p> <p>I don't want to create keyStoreFile manually with keytool or KeyStore Explorer Can someone please tell me how to create SSL socket programmatically using these certificate and key?</p>
I have root certificate with .pem extension and private key with .key extension I need to create SSLSocket using these files I don't want to create keyStoreFile manually with keytool or KeyStore Explorer Can someone please tell me how to create SSL socket programmatically using these certificate and key?
keystore|android-keystore|sslsocketfactory|key-management|qsslsocket
0
2022-07-26T06:25:56.093Z
2,022
7
6
1
16
0
305
44
5
0
false
true
false
false
false
false
zero
73,118,631
How can I remove the proguard feature of the model registered with sharedprefrences
<p>I have some pojo classes in my application and proguard was open before the update, now I added the keep class properties to the proguard rules for these models.. but I was saving the data as shared prefrences with json/gson.. now when I want to pull the data, the variable names come as a, b, c.. how can i fix this<...
I have some pojo classes in my application and proguard was open before the update, now I added the keep class properties to the proguard rules for these models.. but I was saving the data as shared prefrences with json/gson.. now when I want to pull the data, the variable names come as a, b, c.. how can i fix this [CO...
java|android|gson|sharedpreferences|proguard
0
2022-07-26T06:29:45.310Z
2,022
7
6
1
30
1
366
83
5
4
true
false
false
false
false
false
zero
73,118,699
Handling state using list in android Jetpack compose
<p>I am trying to update a list which is kept as state of a composable view, but the composable view is not recomposed even though the values of list are changed.</p> <pre><code>var list = remember {mutableStateOf(getListOfItems())} ItemListView({ selectedItem -&gt; list.value = updateList(selectedItem, list.va...
I am trying to update a list which is kept as state of a composable view, but the composable view is not recomposed even though the values of list are changed. [CODE] Any idea why the composable is not getting updated? I noticed the issue happens when using a List as state.
android|kotlin|android-jetpack-compose
1
2022-07-26T06:35:49.900Z
2,022
7
6
1
107
3
274
52
3
1
true
false
false
false
false
false
low
73,118,788
Replacing the "Page Not Available" WebView element with a custom one. java android
<p>I am new to java. Strongly do not scold me dear programmers! I have an android application running on a WebView. I need to replace the &quot;Page not available&quot; display with the template, element I need. For this I used webView.loadUrl. But unfortunately all to no avail. I am attaching the code. What will be th...
I am new to java. Strongly do not scold me dear programmers! I have an android application running on a WebView. I need to replace the &quot;Page not available&quot; display with the template, element I need. For this I used webView.loadUrl. But unfortunately all to no avail. I am attaching the code. What will be the a...
java|android
0
2022-07-26T06:43:55.547Z
2,022
7
6
1
31
1
371
82
2
1
true
false
false
false
false
false
zero
73,118,816
How does Alpha AWUSO36NH work with Android Nethunter?
<p>I am not sure how to let this adapter work with Android Nethunter? The official documentation (<a href="https://www.kali.org/docs/nethunter/wireless-cards/" rel="nofollow noreferrer">https://www.kali.org/docs/nethunter/wireless-cards/</a>) provides only some reference information but not the whole set of instruction...
I am not sure how to let this adapter work with Android Nethunter? The official documentation ( https://www.kali.org/docs/nethunter/wireless-cards/ ) provides only some reference information but not the whole set of instructions of how to make it work. I am rtrying to use Alpha AWUSO36NH with OnePlus Nord CE 5G 8GB RAM...
android|chipset
0
2022-07-26T06:46:17.190Z
2,022
7
6
1
17
0
371
53
2
0
false
true
false
false
false
false
zero
73,118,818
Information about the secondary cell when using android?
<p>I wonder how I can get information about the secondary NR cell when connected to NSA 5G? Is there currently existing any method in android that can access and retrieve the information about the secondary cell? Now I only retrieve information about the primary LTE cell.</p> <p>I added 5G capabilities to the applicati...
I wonder how I can get information about the secondary NR cell when connected to NSA 5G? Is there currently existing any method in android that can access and retrieve the information about the secondary cell? Now I only retrieve information about the primary LTE cell. I added 5G capabilities to the application to dete...
android|telephony|telecommunication|5g
0
2022-07-26T06:46:18.723Z
2,022
7
6
1
30
0
605
56
4
0
false
true
false
false
false
false
zero
73,118,855
How do I add 'android:layout_marginStart="10pt"' programatically in my textview inside my textswitcher?
<p>I want to add the style <code>android:layout_marginStart=&quot;10pt&quot;</code> into my dynamically created textview:</p> <pre><code> textswitch.setFactory(new ViewSwitcher.ViewFactory() { @Override public View makeView() { text = new TextView(record_viewer.this); text.set...
I want to add the style android:layout_marginStart=&quot;10pt&quot; into my dynamically created textview: [CODE] How do I proceed? EDIT: My layout hierarchy is as follwoing: [CODE] I tried using LinearLayout.LayoutParams but I keep getting the error: android.widget.LinearLayout$LayoutParams cannot be cast to android.wi...
java|android
1
2022-07-26T06:49:17.863Z
2,022
7
6
1
64
2
397
103
2
2
true
false
false
false
false
false
low
73,118,891
Password Strength Calculation In Mobile/Web Applications
<p>Is there any common convention, API/Library or Algorithm for password strength calculation in mobile/web applications for displaying the words: &quot;Weak&quot;, &quot;Medium&quot; etc... or everyone is implementing this differently?</p>
Is there any common convention, API/Library or Algorithm for password strength calculation in mobile/web applications for displaying the words: &quot;Weak&quot;, &quot;Medium&quot; etc... or everyone is implementing this differently?
android|passwords|mobile-development
1
2022-07-26T06:52:22.100Z
2,022
7
6
1
28
0
233
56
3
0
false
true
false
false
false
false
low
73,119,090
How to solve mergeDebugResources error and other xml related errors in android studio (kotlin)?
<p>Gradle build failing each time due to these following errors , I am unable to complete my project.I have tried many options but nothing works till now.So, following errors occurred while building gradle ,hoping that you will help me in figuring out the mistake.</p> <ol> <li>Error occured Task :app:mergeDebugResource...
Gradle build failing each time due to these following errors , I am unable to complete my project.I have tried many options but nothing works till now.So, following errors occurred while building gradle ,hoping that you will help me in figuring out the mistake. Error occured Task :app:mergeDebugResources [CODE] [CODE] ...
android-studio|gradle|android-recyclerview|nullpointerexception
0
2022-07-26T07:11:09.477Z
2,022
7
7
1
90
0
326
95
4
3
true
true
false
false
false
false
zero
73,119,175
Upload camera captured image to web server
<p>I developed an app to capture photo with camera and upload it, that second part of uploading is resulting to error. The camera captures and save to gallery successfully but not uploaded to web server. I am using kotlin language and volley library. The image saved in the gallery does not show up immediately, after cl...
I developed an app to capture photo with camera and upload it, that second part of uploading is resulting to error. The camera captures and save to gallery successfully but not uploaded to web server. I am using kotlin language and volley library. The image saved in the gallery does not show up immediately, after closi...
php|android|kotlin|camera
0
2022-07-26T07:18:33.537Z
2,022
7
7
1
34
0
541
42
4
4
true
true
false
false
false
false
zero
73,119,183
Please suggest compatible AES encryption and decryption between flutter and ruby based backend
<p>Currently certain sensitive data parameters like User ID &amp; password are transmitted in plain-text in my app. I am looking for a solution for encryption based data transmission (AES) between my app and backend. My backend is based on Ruby on Rails(ROR). I've tried searching on how to achieve the same between flut...
Currently certain sensitive data parameters like User ID & password are transmitted in plain-text in my app. I am looking for a solution for encryption based data transmission (AES) between my app and backend. My backend is based on Ruby on Rails(ROR). I've tried searching on how to achieve the same between flutter and...
android|ruby-on-rails|ruby|flutter|encryption
0
2022-07-26T07:18:54.520Z
2,022
7
7
1
60
1
596
94
5
0
false
false
false
false
false
false
zero
73,119,185
Compose - Content not scrollable when keyboard is visible
<p>I'm writing a login form with 2 text fields, and a button. When I tap one of the text fields and the keyboard displays, the content doesn't scroll to allow for the user to select the second field + push the login button.</p> <p>In the XML land, what I'm trying to achieve is done using a scrollview + adjustResize in ...
I'm writing a login form with 2 text fields, and a button. When I tap one of the text fields and the keyboard displays, the content doesn't scroll to allow for the user to select the second field + push the login button. In the XML land, what I'm trying to achieve is done using a scrollview + adjustResize in the manife...
android|android-jetpack-compose
2
2022-07-26T07:19:14.180Z
2,022
7
7
1
124
0
1,171
57
2
2
true
true
false
false
false
false
low
73,119,273
Flutter "null check operator used on a null value" while using routes in MaterialApp
<p>My main.dart file</p> <pre><code>void main() { WidgetsFlutterBinding.ensureInitialized(); runApp(App()); } class App extends StatefulWidget { const App({super.key}); @override State&lt;App&gt; createState() =&gt; _AppState(); } class _AppState extends State&lt;App&gt; { final Future&lt;FirebaseApp&gt;...
My main.dart file [CODE] my routes(appRoutes) definition (imported from another file) [CODE] As long as I just return a simple MaterialApp with some content, it does work fine. But the moment I add the routes -keyword (instead of the content) there is the null check operator error. I did find this post, where there was...
android|flutter|null-check
1
2022-07-26T07:25:49.710Z
2,022
7
7
1
62
1
1,026
84
3
4
true
false
false
false
false
false
low
73,119,319
how to edit adb connect limit
<p>I found that the maximum number of devices connected to ADB through IP:PORT on my Linux server is 30 devices. I want to make this limit more, such as 1000 devices, by modifying the ADB source code. But I am from https://android .googlesource.com/platform/packages/modules/adb No 30 related codes were found in the dow...
I found that the maximum number of devices connected to ADB through IP:PORT on my Linux server is 30 devices. I want to make this limit more, such as 1000 devices, by modifying the ADB source code. But I am from https://android .googlesource.com/platform/packages/modules/adb No 30 related codes were found in the downlo...
android|adb
0
2022-07-26T07:29:19.770Z
2,022
7
7
1
33
1
792
29
2
0
false
false
false
false
false
false
zero
73,119,362
How to programatically test "Seek To" in Android?
<p>I wrote an application that implements Media Session in Android. I would like to programatically test the &quot;Seek To&quot; action.</p> <p>How can I test it? There is an ADB command to control the Media Session?</p>
I wrote an application that implements Media Session in Android. I would like to programatically test the &quot;Seek To&quot; action. How can I test it? There is an ADB command to control the Media Session?
android|testing|android-mediasession
0
2022-07-26T07:32:46.947Z
2,022
7
7
1
20
0
206
49
3
0
false
true
false
false
false
false
zero
73,119,442
How to properly have a queue of pending operations using Kotlin Coroutines?
<h2>Background</h2> <p>I've found some classes/functions on a large app I work on, that have calls that shouldn't be on the UI thread (such as accessing the storage or DB).</p> <p>Such operations could cause ANRs, and indeed I can see a percentage of ANRs on the Play Console.</p> <p>I'd like to change this, and hopeful...
Background I've found some classes/functions on a large app I work on, that have calls that shouldn't be on the UI thread (such as accessing the storage or DB). Such operations could cause ANRs, and indeed I can see a percentage of ANRs on the Play Console. I'd like to change this, and hopefully by using Kotlin Corouti...
android|multithreading|kotlin-coroutines
2
2022-07-26T07:39:10.063Z
2,022
7
7
1
323
2
2,098
75
3
3
true
false
false
false
false
false
low
73,119,462
Change API level of live application
<p>I am new at mobile application development. I want to know that is it possible to change API level of existing live application on google play store.</p>
I am new at mobile application development. I want to know that is it possible to change API level of existing live application on google play store.
android|flutter
0
2022-07-26T07:40:49.250Z
2,022
7
7
1
35
1
149
36
2
0
false
false
false
false
false
false
zero
73,119,494
How to blur imageView?
<p>Im trying to make the imageview named <code>wallpaper</code> blurry. I tried to do this with glide and it worked to some extent, but it didn't work out the way I wanted it to. Below is the code.</p> <pre><code>Glide.with(this) .load(drawableList[index]) .override(10, 10) .into(wallpaper); </code></pr...
Im trying to make the imageview named wallpaper blurry. I tried to do this with glide and it worked to some extent, but it didn't work out the way I wanted it to. Below is the code. [CODE] I was trying to make the image seems foggy but this one didn't look that way. Now I am trying to use library Blurry from jp.wasabee...
android|android-studio|kotlin|blurry
0
2022-07-26T07:43:19.273Z
2,022
7
7
1
97
1
642
22
4
2
true
false
false
false
false
false
zero
73,119,507
How to change the background of overflow menu in android?
<p>I can change backgroundcolor and textcolor of ActionBar in android as follows:</p> <pre><code>int textColor = R.id.white; int backgroundColor = R.id.black; ActionBar actionBar = getSupportActionBar(); actionBar.setBackgroundDrawable(new ColorDrawable(getColor(backgroundColor))); String html_title_color = &quot;&lt...
I can change backgroundcolor and textcolor of ActionBar in android as follows: [CODE] But it does not apply to overflow menu whose background remains to be white and textcolor to be black. So how can I change its background and text style in android rather than in themes.xml? I know overflow menu theme can be set in th...
android
0
2022-07-26T07:44:28.703Z
2,022
7
7
1
20
0
567
57
1
1
true
true
false
false
false
false
zero
73,119,539
WatermelonDB sync pull app crash facing java.lang.OutOfMemoryError in React Native android
<p>I am facing java.lang.OutOfMemoryError in React Native android platform while WatermelonDB sync pull api call. I have checked the API response size in Postman, getting 125 MB. <strong>The android app is crashing but IOS App working fine.</strong></p> <p>I am using Axios GET in the watermelonDB sync pullChanges funct...
I am facing java.lang.OutOfMemoryError in React Native android platform while WatermelonDB sync pull api call. I have checked the API response size in Postman, getting 125 MB. The android app is crashing but IOS App working fine. I am using Axios GET in the watermelonDB sync pullChanges function. I have already tried a...
android|react-native|axios|get|watermelondb
0
2022-07-26T07:47:14.970Z
2,022
7
7
1
38
0
646
90
5
2
true
true
false
false
false
false
zero