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,261,196
in a kotlin can't get text from Textview in for loop
<p>I'm writing kotlin code to dynamically add TextView widget.<br /> But I can't get the text in the for loop with compile error(&quot;Unresolved reference: text&quot;) how can I solve this problem?</p> <p>MainActivity.kt</p> <pre><code> private val vBinding by lazy {ActivityMainBinding.inflate(layoutInflater)} ...
I'm writing kotlin code to dynamically add TextView widget. But I can't get the text in the for loop with compile error(&quot;Unresolved reference: text&quot;) how can I solve this problem? MainActivity.kt [CODE] layoutFile.xml [CODE]
android|kotlin
0
2022-08-06T15:47:34.447Z
2,022
8
15
5
50
1
234
52
2
2
true
false
false
false
false
false
zero
73,261,241
Unable to get proper output of TFLite model in Kotlin
<p>I used FER2013 dataset from kaggle and trained a CNN model. Saved the model as TFLite. Made a Kotlin app using it. Now I am not able to get proper output. Sample output of the model : <code>[0. 0. 0. 1. 0. 0. 0.]</code> for happy</p> <p>Please check the code for MainActivity.kt. I am pure noobie. Thank you so much f...
I used FER2013 dataset from kaggle and trained a CNN model. Saved the model as TFLite. Made a Kotlin app using it. Now I am not able to get proper output. Sample output of the model : [0. 0. 0. 1. 0. 0. 0.] for happy Please check the code for MainActivity.kt. I am pure noobie. Thank you so much for bearing with me. [CO...
python|java|android|tensorflow|kotlin
1
2022-08-06T15:54:02.423Z
2,022
8
15
5
57
1
485
53
5
1
true
false
false
false
false
false
low
73,261,264
Android view Factory cannot detect the correct height of TextView in jetpack compose
<p>I'm using jetpack compose, and I need to show HTML text. Since the compose <code>Text</code> function doesn't support this functionality, I use the AndroidView factory to load my HTML inside a <code>TextView</code>:</p> <pre><code>AndroidView(factory = { context -&gt; TextView(context).apply { text = Htm...
I'm using jetpack compose, and I need to show HTML text. Since the compose Text function doesn't support this functionality, I use the AndroidView factory to load my HTML inside a TextView : [CODE] But the problem is the height of TextView is not computed correctly, and the text cannot be shown completely. I also tried...
android|android-jetpack-compose|android-view|android-jetpack-compose-text
0
2022-08-06T15:57:41.223Z
2,022
8
15
5
77
1
830
84
4
4
true
false
false
false
false
false
zero
73,261,387
How to change the screen before the splash screen?
<p>The foreground of my mipmap logo shows along with a grey background before my custom made splash screen shows over my webview (the splash screen gets shown from <code>onCreate()</code>):</p> <p><a href="https://i.stack.imgur.com/yRkBr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yRkBr.png" alt=...
The foreground of my mipmap logo shows along with a grey background before my custom made splash screen shows over my webview (the splash screen gets shown from onCreate() ): I want to change the background color to white, and also, if possible, change the image to instead of the foreground of the app icon, show both t...
android|kotlin|android-splashscreen
0
2022-08-06T16:15:55.400Z
2,022
8
16
5
62
1
780
50
3
2
true
false
false
false
false
false
zero
73,261,390
I got an email that is my app is rejected but in my developer console it shows in review, why?
<p>I got an email from google play console team that is my app is rejected but in my developer account it shows in review that's why I can not submit an updated app. What should I do now?</p> <p>This is the email I got from google play console team.</p> <ul> <li>Issue found: Not a core feature The feature you identifie...
I got an email from google play console team that is my app is rejected but in my developer account it shows in review that's why I can not submit an updated app. What should I do now? This is the email I got from google play console team. Issue found: Not a core feature The feature you identified that is dependent on ...
android|android-studio|google-play|release|google-play-console
0
2022-08-06T16:16:11.260Z
2,022
8
16
5
76
0
4,017
94
5
0
false
true
false
false
false
false
zero
73,261,441
Performance problem when using Modifier.aspectRatio() on LazyList items
<p>So, I have a <code>LazyVerticalGrid</code> and I want all the items to have same width and height. One of the approaches of doing this is to use <code>Modifier.aspectRatio(1f)</code> on its item. But using the modifier has some wierd effects on the app.</p> <p>The list has some resistance on the scrolling, and the w...
So, I have a LazyVerticalGrid and I want all the items to have same width and height. One of the approaches of doing this is to use Modifier.aspectRatio(1f) on its item. But using the modifier has some wierd effects on the app. The list has some resistance on the scrolling, and the whole system is unresponsive. Like I ...
android|kotlin|android-jetpack-compose
0
2022-08-06T16:22:15.737Z
2,022
8
16
5
62
0
476
71
3
1
true
true
false
false
false
false
zero
73,261,523
Toggle Button from Linear Layout
<p>Is there any way to make my container built from linear layout togglable? The linear layout should have 2 state which is checked and unchecked.</p>
Is there any way to make my container built from linear layout togglable? The linear layout should have 2 state which is checked and unchecked.
xml|android-studio
0
2022-08-06T16:33:56.610Z
2,022
8
16
5
14
0
143
32
2
0
false
true
false
false
false
false
zero
73,261,535
Allow unverified apps in Google SignIn Intent
<p>When trying to get an OAuth token using an unverified app through navigating to the accounts.google.com endpoint, Google shows the &quot;Unverified app&quot; screen. However, this does not happen when using the Google SignIn Intent, it throws an exception. Is it possible to allow an Unverified app using the Google S...
When trying to get an OAuth token using an unverified app through navigating to the accounts.google.com endpoint, Google shows the &quot;Unverified app&quot; screen. However, this does not happen when using the Google SignIn Intent, it throws an exception. Is it possible to allow an Unverified app using the Google Sign...
android|flutter|android-intent|google-oauth|google-signin
0
2022-08-06T16:35:26.713Z
2,022
8
16
5
31
0
408
45
5
0
false
true
false
false
false
false
zero
73,261,546
How to crop Google Map
<p>I want to know is there any way to crop a Google V2 Map to only show a certain country and not the whole earth?</p> <p>Programatically or in the xml.</p> <p>The point is to limit the area of the map the user can view and pan around.</p>
I want to know is there any way to crop a Google V2 Map to only show a certain country and not the whole earth? Programatically or in the xml. The point is to limit the area of the map the user can view and pan around.
android|google-maps
1
2022-08-06T16:36:26.703Z
2,022
8
16
5
13
0
218
22
2
0
false
true
false
false
false
false
low
73,261,623
Error: RuntimeError: abort(Error: EMFILE: too many open files, open
<p>I'm new to mobile development and I'm using expo on Windows, when I'm going to export the apk as the command <code>expo build:android -t apk</code>, I'm getting the following error:</p> <pre><code>RuntimeError: abort(Error: EMFILE: too many open files, open 'C:\Users\danto\AppData\Roaming\npm\node_modules\expo-cli\b...
I'm new to mobile development and I'm using expo on Windows, when I'm going to export the apk as the command expo build:android -t apk , I'm getting the following error: [CODE] I've searched a lot on the internet and found something about updating the watchman , but this one from what I've noticed only works with Linux...
android|node.js|react-native|expo
0
2022-08-06T16:47:05.707Z
2,022
8
16
5
50
0
469
67
4
1
true
true
false
false
false
false
zero
73,261,714
How to send ADB commands to USB Host-connected device (Oculus)
<p>First of all, I'd just like to point out that I'm a junior dev breaking new ground here for myself. I'm trying to send an ADB command to my Oculus to change the texture quality so that I don't have to hook up my Oculus to my PC every time with SideQuest. I've had no luck and there's no documentation that I can find ...
First of all, I'd just like to point out that I'm a junior dev breaking new ground here for myself. I'm trying to send an ADB command to my Oculus to change the texture quality so that I don't have to hook up my Oculus to my PC every time with SideQuest. I've had no luck and there's no documentation that I can find to ...
java|android|usb|oculus
0
2022-08-06T16:59:22.600Z
2,022
8
16
5
43
0
850
62
4
2
true
true
false
false
false
false
zero
73,261,764
How to make animation work in MotionLayout when there is an onClick in the child view?
<p>OnSwipe animation does't work here:</p> <pre><code> &lt;androidx.constraintlayout.motion.widget.MotionLayout android:id=&quot;@+id/constraintLayout&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; app:layoutDescript...
OnSwipe animation does't work here: [CODE] It works, if I remove android:onClick=&quot;@{()->listener.onClick(row)}&quot;
android|android-motionlayout
0
2022-08-06T17:04:05.733Z
2,022
8
17
5
23
0
121
86
2
1
true
true
false
false
false
false
zero
73,261,781
Save data option not showing on uninstall even though app has android:hasFragileUserData="true"
<p>After setting my app with android:hasFragileUserData=&quot;true&quot;, the option to save data is not showing when I uninstall the app, but strangely, the data IS being saved.</p> <p>Why no option question?</p>
After setting my app with android:hasFragileUserData=&quot;true&quot;, the option to save data is not showing when I uninstall the app, but strangely, the data IS being saved. Why no option question?
android
0
2022-08-06T17:06:07.813Z
2,022
8
17
5
11
0
199
95
1
0
false
true
false
false
false
false
zero
73,261,830
Unable to discover Bluetooth Devices on Android
<p>I am coding an app to discover nearby Bluetooth devices. However, I am unable to pick up any devices near me. I have scoured the internet and debugged and found out that after calling the registerReceiver(mBroadcastReceiver3, discoverDevicesIntent) method, nothing happened. My BroadcastReceiver's onReceive is not be...
I am coding an app to discover nearby Bluetooth devices. However, I am unable to pick up any devices near me. I have scoured the internet and debugged and found out that after calling the registerReceiver(mBroadcastReceiver3, discoverDevicesIntent) method, nothing happened. My BroadcastReceiver's onReceive is not being...
android|android-studio|bluetooth|android-bluetooth
0
2022-08-06T17:13:28.513Z
2,022
8
17
5
49
0
664
47
4
3
true
true
false
false
false
false
zero
73,261,893
Set Visibility When Input Happen on EditText - Kotlin
<p>I'm kinda new with Kotlin but i'm trying to make my TextView visibility gone or visible based on the live input on Edit Text. Basically, When the user start to input something, i want this text to visible and when they delete until empty, this text is dissapear. I tried to fix it but i still couldn't found any good ...
I'm kinda new with Kotlin but i'm trying to make my TextView visibility gone or visible based on the live input on Edit Text. Basically, When the user start to input something, i want this text to visible and when they delete until empty, this text is dissapear. I tried to fix it but i still couldn't found any good res...
android|android-studio|kotlin|validation|input
0
2022-08-06T17:22:07.690Z
2,022
8
17
5
46
1
368
53
5
1
true
false
false
false
false
false
zero
73,261,974
Android Studio recognizes devices, but won't let me run code on them
<p>My issue is really summed up in this picture:</p> <p><img src="https://i.stack.imgur.com/aipDq.png" alt="demonstration of my issue" /></p> <p>TL:DR: Android Studio's Device Manager can see my phones (one physical and one virtual), but neither of them appear in the dropdown at the top to let me run my Flutter app.</p...
My issue is really summed up in this picture: TL:DR: Android Studio's Device Manager can see my phones (one physical and one virtual), but neither of them appear in the dropdown at the top to let me run my Flutter app. full: I just had to reinstall windows because of a failing SSD. I have installed Flutter, Dart and An...
android|windows|flutter|android-studio
1
2022-08-06T17:34:15.247Z
2,022
8
17
5
26
0
944
68
4
0
false
true
false
false
false
false
low
73,261,998
When loading a project, the message "Project code style setting migration" pops up
<p>I downloaded the project from GitHub, after the launch a message popped up: &quot;Project code style setting migration&quot;</p> <p><a href="https://i.stack.imgur.com/3MTzE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3MTzE.png" alt="enter image description here" /></a></p> <p>Part of the code ...
I downloaded the project from GitHub, after the launch a message popped up: &quot;Project code style setting migration&quot; Part of the code in build.gradle is highlighted in red: When I click on &quot;More Info&quot;, I get the following information: New project code style settings format in 2017.3 Skip to end of met...
java|android|android-studio|gradle|build.gradle
0
2022-08-06T17:36:42.940Z
2,022
8
17
5
14
0
1,588
82
5
2
true
true
false
false
false
false
zero
73,262,046
How to add two colors in one character in Android Studio
<p>I'm looking to add two colors for a single character, I can't find anything about it on the internet.</p> <p>I would like to do as in the image below.</p> <p><a href="https://i.stack.imgur.com/ONtdc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ONtdc.png" alt="enter image description here" /></a...
I'm looking to add two colors for a single character, I can't find anything about it on the internet. I would like to do as in the image below. Any help appreciate!
android|android-studio
0
2022-08-06T17:44:23.630Z
2,022
8
17
5
36
0
164
56
2
0
false
true
false
false
false
false
zero
73,262,091
Kotlin MenuHost Provider not Working onMenuItemSelected
<p>The Menu Host will not trigger with a MenuItem.itemId</p> <p>I have attemped multiple diffent methods but all to lead nothing working.</p> <p>The Menu that I have chosen to display shows up but the actions do not work</p> <p>The object: MenuProvider</p> <pre><code> override fun onViewCreated(view: View, savedInstanc...
The Menu Host will not trigger with a MenuItem.itemId I have attemped multiple diffent methods but all to lead nothing working. The Menu that I have chosen to display shows up but the actions do not work The object: MenuProvider [CODE] I have a switch in the menu and the menu does not trigger when toggled [CODE] I am u...
android|android-studio|kotlin
1
2022-08-06T17:51:06.713Z
2,022
8
17
5
211
0
512
55
3
4
true
true
false
false
false
false
low
73,262,183
Dagger2 nullable injection
<p>I'm trying to inject Glide with Dagger.</p> <p>So I have AppModule:</p> <pre><code>@Module class AppModule { @Provides fun provideRequestOptions(): RequestOptions { return RequestOptions() .placeholder(R.drawable.white_background) .error(R.drawable.white_background) } ...
I'm trying to inject Glide with Dagger. So I have AppModule: [CODE] And AuthActivity: [CODE] provideAppDrawable() in AppModule has to return nullable Drawable? . When I'm trying to build app, Dagger complains about its nullability: [CODE] First I tried to make logo var in AuthActivity nullable, but lateinit can't be nu...
android|kotlin|dagger-2
1
2022-08-06T18:04:52.923Z
2,022
8
18
5
56
3
518
26
3
4
true
false
false
false
false
false
low
73,262,289
how to exclude prime number from random number math quiz?
<p>I tried this for my math quiz and it works wonders, but I did not get the fractional part:</p> <pre><code>public void gameContinue() { int num1 = (int) (Math.random() * 100 + 1); java.util.List&lt;Integer&gt; firstNumDivisors = getDivisors(num1); int divisorsRandIndex = (int) (Math.random() * firstNumDivisors...
I tried this for my math quiz and it works wonders, but I did not get the fractional part: [CODE] But after some testing, I do not want to include prime numbers (more than 10 like 11, 13, 17, 19 and so on) and I also do not want the answer to be more than 10 (11, 12, 13 and so on) Should I make a string for prime numbe...
java|android|android-studio|math
0
2022-08-06T18:20:33.847Z
2,022
8
18
5
106
1
423
57
4
1
true
false
false
false
false
false
zero
73,262,421
How to make space between text in firestore collection?
<p>Iam adding data manually to firestore and want to make space between each paragraph but all text come beside each other like this image.<a href="https://i.stack.imgur.com/7HCy2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7HCy2.png" alt="enter image description here" /></a></p>
Iam adding data manually to firestore and want to make space between each paragraph but all text come beside each other like this image.
android|google-cloud-firestore
0
2022-08-06T18:43:09.227Z
2,022
8
18
5
29
1
136
55
2
0
false
false
false
false
false
false
zero
73,262,463
Send input from Dialog Fragment to ProfileFragment
<p>I know there are similar questions but I couldn't find an answer to solve my problem.</p> <p>I have a DialogUpdateEmail which I want to be opened from ProfileFragment. In the dialog I want to enter my new email and send it to my ProfileFragment in order to change it also in the database.</p> <p>ProfileFragment.java ...
I know there are similar questions but I couldn't find an answer to solve my problem. I have a DialogUpdateEmail which I want to be opened from ProfileFragment. In the dialog I want to enter my new email and send it to my ProfileFragment in order to change it also in the database. ProfileFragment.java : [CODE] DialogUp...
java|android|android-fragments
0
2022-08-06T18:51:15.520Z
2,022
8
18
5
38
1
542
50
3
3
true
false
false
false
false
false
zero
73,262,471
How to get UUID of a bluetooth connected device in flutter?
<p>I am making an app to collect some data and i am collecting some data using bluetooth sensor too, of which UUID is necessary as it tells the class of the device . I have been able to get bluetooth state with use of flutter blue , but cant find a simple implementation to get the uuid of connected / paired devices</p>
I am making an app to collect some data and i am collecting some data using bluetooth sensor too, of which UUID is necessary as it tells the class of the device . I have been able to get bluetooth state with use of flutter blue , but cant find a simple implementation to get the uuid of connected / paired devices
android|flutter|dart|bluetooth
0
2022-08-06T18:52:51.523Z
2,022
8
18
5
77
0
313
59
4
0
false
true
false
false
false
false
zero
73,262,520
How to upload PDF files from a fragment to firebase in android?
<p>I want to upload pdf file from the fragment inside an activity to firebase . there are lots of tutorials available for uploading the file from Activity but not for fragments. Is it possible or not ? if yes then how can I do that so? also the method which is used for this task was <strong>StartActivityForResult</stro...
I want to upload pdf file from the fragment inside an activity to firebase . there are lots of tutorials available for uploading the file from Activity but not for fragments. Is it possible or not ? if yes then how can I do that so? also the method which is used for this task was StartActivityForResult which has been d...
android|firebase|firebase-storage|startactivityforresult
0
2022-08-06T18:58:39.583Z
2,022
8
18
5
44
0
417
63
4
0
false
true
false
false
false
false
zero
73,262,584
How do you go over 512MB of memory in an Android app?
<p>I'm developing an Android app that caches large images/gifs in memory to improve performance.<br /> For some weaker devices, it is acceptable to limit the memory usage to 512MB. However, in devices (such as my own) that have 8GB and more of total memory available, it should be completely reasonable to use much more ...
I'm developing an Android app that caches large images/gifs in memory to improve performance. For some weaker devices, it is acceptable to limit the memory usage to 512MB. However, in devices (such as my own) that have 8GB and more of total memory available, it should be completely reasonable to use much more memory th...
android|memory|out-of-memory
0
2022-08-06T19:08:16.090Z
2,022
8
19
5
57
1
829
53
3
0
false
false
false
false
false
false
zero
73,262,586
Expandable for text view in kotlin
<p>I have a lot of text view that under them I have 4 or 5 buttons and want now make text view Expandable to show buttons with tap on text view and hide them with again tap</p> <p>i should say this buttons should send sms and send sms code are in a fragment</p> <p>sorry for bad English </p> <p>and item are in fragment ...
I have a lot of text view that under them I have 4 or 5 buttons and want now make text view Expandable to show buttons with tap on text view and hide them with again tap i should say this buttons should send sms and send sms code are in a fragment sorry for bad English and item are in fragment layout i will put a examp...
android|kotlin
1
2022-08-06T19:08:34.250Z
2,022
8
19
5
83
2
374
34
2
2
true
false
false
false
false
false
low
73,262,852
firebase messaging from minSdkVersion error on android with flutter
<p>When I debug on android I get the error regarding minSdkVersion. I tried adding:</p> <pre><code>android {│ defaultConfig { minSdkVersion 19 } } </code></pre> <p>in the build.gradle file but it didn't work. Also I added:</p> <pre><code>flutter.minSdkVersion = 21 flutter.targetSdkVersion = 30 flutter.compileSdkVer...
When I debug on android I get the error regarding minSdkVersion. I tried adding: [CODE] in the build.gradle file but it didn't work. Also I added: [CODE] in the local.properties file but that also didn't work
android|flutter|gradle|flutter-android
0
2022-08-06T19:48:37.037Z
2,022
8
19
5
59
1
208
67
4
2
true
false
false
false
false
false
zero
73,262,894
How can I get Dagger 2 to auto-generate the code I need in this case?
<p>In my Application class I am trying to declare the variable with which to then inject into my fragment.</p> <p>Based on my experience in other projects, a DaggerEventComponentImp should autogenerate for this case, but it's not.</p> <p>Can someone help me please? Thank you very much in advance.</p> <p>build.gradle(ap...
In my Application class I am trying to declare the variable with which to then inject into my fragment. Based on my experience in other projects, a DaggerEventComponentImp should autogenerate for this case, but it's not. Can someone help me please? Thank you very much in advance. build.gradle(app) [CODE] TerrilerosApp ...
java|android|android-studio|kotlin|dagger-2
0
2022-08-06T19:55:51.490Z
2,022
8
19
5
38
1
367
69
5
4
true
false
false
false
false
false
zero
73,262,906
How can I access files and folders in jetpack compose
<p>Is there a way (simple code) I can access files and folders in jetpack compose ? I'm still new at it</p>
Is there a way (simple code) I can access files and folders in jetpack compose ? I'm still new at it
android-jetpack-compose
0
2022-08-06T19:58:01.060Z
2,022
8
19
5
47
0
100
53
1
0
false
true
false
false
false
false
zero
73,262,916
How do i add a gif in flutter
<p>I'm trying to add a gif from the local assets folder. Flutter throws an error named &quot;login.gif&quot; even though I checked multiple times if my folder structure or file name or path is correct or not or I didn't imported the path in the pubspec.yaml. But there's not a single mistake.. Tried searching for the an...
I'm trying to add a gif from the local assets folder. Flutter throws an error named &quot;login.gif&quot; even though I checked multiple times if my folder structure or file name or path is correct or not or I didn't imported the path in the pubspec.yaml. But there's not a single mistake.. Tried searching for the answe...
flutter|android-studio|dart|flutter-android
0
2022-08-06T19:59:30Z
-1
-1
-1
-1
61
3
451
29
4
3
true
false
false
false
false
false
zero
73,263,231
Is this a correct usage of let function?
<p>currently learning android development (Kotlin).</p> <p>i wonder if it's a correct usage of let function.</p> <pre><code>viewModelScope.launch(Dispatchers.IO) { val response = RetrofitHelper.getRealEstateService().getRealEstateModel() response.body()?.let { if(response.isSuccessful){ ...
currently learning android development (Kotlin). i wonder if it's a correct usage of let function. [CODE] previously i was checking if the value is null in a normal way like this: [CODE] so i just changed null check with let function. Thanks!
android|kotlin
2
2022-08-06T20:59:32.677Z
2,022
8
20
5
57
1
242
40
2
2
true
false
false
false
false
false
low
73,263,255
Qt Android blank window
<h2>Problem</h2> <p>I have a problem with Qt on Android in all my applications: after I close the QFileDialog (code below), I have a blank black window. I can't do anything in the application except close it.<br /> Here is the code I use:</p> <pre class="lang-cpp prettyprint-override"><code>QFileDialog dialog(this, tr(...
Problem I have a problem with Qt on Android in all my applications: after I close the QFileDialog (code below), I have a blank black window. I can't do anything in the application except close it. Here is the code I use: [CODE] Informations My Qt version is Qt 6.2.4 Device running on: Samsung Galaxy S10e arm64-v8 build...
android|c++|qt|qfiledialog
2
2022-08-06T21:05:26.350Z
2,022
8
21
5
182
1
980
23
4
1
true
false
false
false
false
false
low
73,263,272
Secure OAuth client credentials flow during mobile application development
<p>I'm developing a mobile app (using Flutter) which has to communicate with a backend secured with OAuth.</p> <p>The backend is not accessed in the context of a user so authorization or password grant flow are not the case here - it's <strong>client credentials flow</strong>.</p> <p>I read numerous posts and opinions ...
I'm developing a mobile app (using Flutter) which has to communicate with a backend secured with OAuth. The backend is not accessed in the context of a user so authorization or password grant flow are not the case here - it's client credentials flow . I read numerous posts and opinions and I still can't come up with a ...
android|ios|flutter|authentication|oauth
0
2022-08-06T21:08:11.383Z
2,022
8
21
5
45
0
914
74
5
0
false
true
false
false
false
false
zero
73,263,278
Determine location of volume buttons
<p>Is there any way to get the location (x,y) of the volume buttons?</p> <p>WearOS has this, which only gives a general idea and of course is limited to Android watches <a href="https://developer.android.com/training/wearables/user-input/physical-buttons" rel="nofollow noreferrer">https://developer.android.com/training...
Is there any way to get the location (x,y) of the volume buttons? WearOS has this, which only gives a general idea and of course is limited to Android watches https://developer.android.com/training/wearables/user-input/physical-buttons I'd like to mark the buttons in a certain screen.
android
0
2022-08-06T21:09:18.120Z
2,022
8
21
5
26
1
285
36
1
0
false
false
false
false
false
false
zero
73,263,455
How to grant permanent permission on Uri images (androidx)
<p>In my application a user can open the gallery and select their images by using androidX method:</p> <pre><code>registeredIntent = registerForActivityResult(new ActivityResultContracts.GetMultipleContents(), this); </code></pre> <p>And the callback for the result is sent in this method:</p> <pre><code>@Override publi...
In my application a user can open the gallery and select their images by using androidX method: [CODE] And the callback for the result is sent in this method: [CODE] So far this works pretty well, the images are shown in my gallery component by adding the Uris in my adapter, the problem is that I save those in my datab...
android|permissions|uri|androidx|android-contentresolver
2
2022-08-06T21:41:31.337Z
2,022
8
21
5
50
1
852
58
5
6
true
false
false
false
false
false
low
73,263,509
getRealSize() and getRealMetrics deprecated?
<p>I was using the <code>getRealSize()</code> and <code>getRealMetrics()</code> methods in my helper function to get screen-related details but apparently, now these functions are marked deprecated with API 31.</p> <p>what's the alternative to getting these values?</p> <p>getRealSize:</p> <pre><code>private double getP...
I was using the getRealSize() and getRealMetrics() methods in my helper function to get screen-related details but apparently, now these functions are marked deprecated with API 31. what's the alternative to getting these values? getRealSize: [CODE] getRealMetrics: [CODE]
android|kotlin
0
2022-08-06T21:51:33.430Z
2,022
8
21
5
42
0
272
44
2
2
true
true
false
false
false
false
zero
73,263,759
How to increase the performance in Android Studio
<p>I was wondering how to increase the performance of Android Studio?</p> <p>I have 16GB of RAM and I'm using SSD, but still, it's somewhat laggy.</p> <p>Here's an example: <a href="https://www.youtube.com/watch?v=B3qSlMN5l40" rel="nofollow noreferrer">https://www.youtube.com/watch?v=B3qSlMN5l40</a></p>
I was wondering how to increase the performance of Android Studio? I have 16GB of RAM and I'm using SSD, but still, it's somewhat laggy. Here's an example: https://www.youtube.com/watch?v=B3qSlMN5l40
android|performance|android-studio|memory
0
2022-08-06T22:50:50.267Z
2,022
8
22
5
60
1
199
49
4
0
false
false
false
false
false
false
zero
73,263,958
Receive notification from the application when it reaches the desired value
<p>I opened this topic to learn the best way and get advice from you.</p> <p>I have a cryptocurrency app. For now, I'm only showing the instantaneous values of certain tokens with the help of an API. What I want to do is add a reminder. For example, to be more descriptive, I would like the user to be notified when the ...
I opened this topic to learn the best way and get advice from you. I have a cryptocurrency app. For now, I'm only showing the instantaneous values of certain tokens with the help of an API. What I want to do is add a reminder. For example, to be more descriptive, I would like the user to be notified when the value of a...
android|database|firebase|firebase-cloud-messaging|android-notifications
0
2022-08-06T23:42:10.963Z
2,022
8
23
5
25
0
917
75
5
0
false
true
false
false
false
false
zero
73,263,990
Firebase Auth emailVerified doesn't updated
<p>hi guys i'm trying to do auto login in my app but before login done i wonder if the user verified his email or no.</p> <p>the problem : even if i verified my account the code doesn't see this and said false.</p> <p>and here is my code.</p> <pre><code>class SignInActivity : BaseActivity&lt;SignInViewModel, ActivitySi...
hi guys i'm trying to do auto login in my app but before login done i wonder if the user verified his email or no. the problem : even if i verified my account the code doesn't see this and said false. and here is my code. [CODE] this line is always false even if i verified my account. [CODE]
android|firebase|firebase-authentication
0
2022-08-06T23:50:04.383Z
2,022
8
23
5
28
1
292
43
3
2
true
false
false
false
false
false
zero
73,264,054
Why are all my composables being recomposed?
<p>I am creating a screen with a color picker. Here's the code for the whole screen, including the color picker code. The reason why I'm including the whole screen's code instead of just the color picker's is because I want to give more context.</p> <pre class="lang-kotlin prettyprint-override"><code>package com.gitlab...
I am creating a screen with a color picker. Here's the code for the whole screen, including the color picker code. The reason why I'm including the whole screen's code instead of just the color picker's is because I want to give more context. [CODE] My color picker is composed of ColorPickerTile s, which are stacked in...
android|kotlin|android-jetpack-compose|android-animation
0
2022-08-07T00:08:20.110Z
2,022
8
0
6
86
0
1,254
44
4
1
true
true
false
false
false
false
zero
73,264,435
How do I update the UI before a turn in a game
<p>I'm having trouble updating the UI in the middle of the turn. I'm currently trying to use a coroutine to choose a piece, but something is not going right. I want the player to click on the dice to roll them, so a new turn can begin, this works fine. The problem is the turn itself.</p> <p>I have a function that sets ...
I'm having trouble updating the UI in the middle of the turn. I'm currently trying to use a coroutine to choose a piece, but something is not going right. I want the player to click on the dice to roll them, so a new turn can begin, this works fine. The problem is the turn itself. I have a function that sets an outside...
kotlin|user-interface|android-jetpack-compose|kotlin-coroutines
0
2022-08-07T02:07:43.980Z
2,022
8
2
6
44
0
740
46
4
4
true
true
false
false
false
false
zero
73,264,456
Cant Register User On Firebase
<p>I am trying to register user on Firebase. Although application does not throw any error, it still does not registers user on Firebase. On firebase Email/Password is enabled. Below I am providing snips of my grades and code. Please can someone help me understand what the problem is?</p> <p><a href="https://i.stack.im...
I am trying to register user on Firebase. Although application does not throw any error, it still does not registers user on Firebase. On firebase Email/Password is enabled. Below I am providing snips of my grades and code. Please can someone help me understand what the problem is?
android|firebase-authentication
0
2022-08-07T02:14:01.963Z
2,022
8
2
6
16
0
282
30
2
0
false
true
false
false
false
false
zero
73,264,581
Regarding Firebase database
<p>I have saved the user Info and cart items in a database and i want to retrieve this information for a specific user.I am unable to target the user.</p> <p><img src="https://i.stack.imgur.com/fD6cM.png" alt="enter image description here" /></p> <p>I have created child for user and each user has his own uid. How can ...
I have saved the user Info and cart items in a database and i want to retrieve this information for a specific user.I am unable to target the user. I have created child for user and each user has his own uid. How can i target them?
android|firebase|firebase-realtime-database
0
2022-08-07T02:55:48.170Z
2,022
8
2
6
25
1
231
27
3
0
false
false
false
false
false
false
zero
73,264,687
(Automotive In Vehicle Infotainment system, Android) Bluetooth music cutting out
<p>We have met an issue that bluetooth music on Android system has sometimes been cutting out. Meanwhile, USB music is normal. We dumped audio data from Audioflinger after it was copied from the ring buffer (Track.cpp getNextTrack) and it was normal. We also dumped data from threadloop_write() in Audioflinger, it was ...
We have met an issue that bluetooth music on Android system has sometimes been cutting out. Meanwhile, USB music is normal. We dumped audio data from Audioflinger after it was copied from the ring buffer (Track.cpp getNextTrack) and it was normal. We also dumped data from threadloop_write() in Audioflinger, it was cutt...
android|audio|bluetooth|a2dp
0
2022-08-07T03:28:40.497Z
2,022
8
3
6
26
0
636
80
4
0
false
true
false
false
false
false
zero
73,264,698
Setting audio focus for an android music player
<p>How do I set audio focus for an android audio player that will work for all android API levels 21 and above. I've been seeing conflicting answers so far from what I've searched.</p>
How do I set audio focus for an android audio player that will work for all android API levels 21 and above. I've been seeing conflicting answers so far from what I've searched.
android|android-mediaplayer|android-music-player
0
2022-08-07T03:32:03.093Z
2,022
8
3
6
40
0
177
47
3
0
false
true
false
false
false
false
zero
73,264,779
Could not GET 'https://dl.bintray.com/sysdata/maven/androidx/room/room-common/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
<p>I was trying to build and run <a href="https://github.com/Docile-Alligator/Infinity-For-Reddit/tree/1.0" rel="nofollow noreferrer">Infinity For Reddit 1.0</a> in Android Studio and got this error. What do?</p> <p>This is the top level build file:</p> <pre><code>buildscript { repositories { google() ...
I was trying to build and run Infinity For Reddit 1.0 in Android Studio and got this error. What do? This is the top level build file: [CODE]
android-studio|maven|gradle
0
2022-08-07T03:58:12.470Z
2,022
8
3
6
31
0
141
148
3
1
true
true
false
false
false
false
zero
73,264,828
how can I cancel AlarmManager of several days?
<p>I created an AlarmManager system that is repeated on specific days, like every Monday and Friday, but I don't know how I can cancel these alarms, i.e. the ones that are repeated on Monday and the ones that go on Friday</p> <p>Here is my Set alarm code</p> <pre><code> public void scheduleAlarm(int daysOfWeek,int hour...
I created an AlarmManager system that is repeated on specific days, like every Monday and Friday, but I don't know how I can cancel these alarms, i.e. the ones that are repeated on Monday and the ones that go on Friday Here is my Set alarm code [CODE] Here is my Reciever code [CODE]
java|android
0
2022-08-07T04:11:12.457Z
2,022
8
4
6
23
0
283
46
2
2
true
true
false
false
false
false
zero
73,264,900
Javascript setInterval loop play audio clip out of rythm and drop sometime on mobile phone
<p>I tried to play very small and short mp3 (5kb, 200ms) file using javascript. I loop it using <code>setInterval</code>. I have no problem playing it on desktop browsers.</p> <p>When I play on a mid-range android phone (both browser and app webview) and android emulators (Nox player, Android Studio Emulator), it skips...
I tried to play very small and short mp3 (5kb, 200ms) file using javascript. I loop it using setInterval . I have no problem playing it on desktop browsers. When I play on a mid-range android phone (both browser and app webview) and android emulators (Nox player, Android Studio Emulator), it skips palying sometime. And...
javascript|android
0
2022-08-07T04:29:56.187Z
2,022
8
4
6
33
1
645
90
2
1
true
false
false
false
false
false
zero
73,264,932
Handle multiple recycler views in Android [Kotlin]
<p>I have a situation where I have 3 RecyclerView on a single Layout. They are dependent on each other in a certain way. Data is coming from Room Database.</p> <p><em><strong>Question Prototype (Problem statement)</strong></em>: Let's say you have floors like (Floor1, Floor2, Floor3 etc.) and inside each floor you have...
I have a situation where I have 3 RecyclerView on a single Layout. They are dependent on each other in a certain way. Data is coming from Room Database. Question Prototype (Problem statement) : Let's say you have floors like (Floor1, Floor2, Floor3 etc.) and inside each floor you have rooms like (Room1, Room2, Room3 et...
android|kotlin|android-layout|android-recyclerview
0
2022-08-07T04:39:53.227Z
2,022
8
4
6
81
1
3,241
50
4
4
true
false
false
false
false
false
zero
73,264,954
how to fix the country picker layout please "flutter"
<p>At this part, I have a problem I need the way to the custom country picker which i tried to solve it with different approaches but it does not work<br /> i don't know how to overcome it</p> <pre><code>Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( decoration...
At this part, I have a problem I need the way to the custom country picker which i tried to solve it with different approaches but it does not work i don't know how to overcome it [CODE]
android|ios|flutter|dart
0
2022-08-07T04:46:12.873Z
2,022
8
4
6
51
1
186
53
4
1
true
false
false
false
false
false
zero
73,264,970
I get null on the first request to firestore
<p>When I click on the button I send a message, then the message listener goes off and gives me an error because the returned value from the field date = null , I write the server time in date using @ServerTimeStamp , but if I reopen the fragment with chat all messages will be displayed normally</p> <pre><code>database...
When I click on the button I send a message, then the message listener goes off and gives me an error because the returned value from the field date = null , I write the server time in date using @ServerTimeStamp , but if I reopen the fragment with chat all messages will be displayed normally [CODE] This is message lis...
android|firebase|kotlin|google-cloud-firestore
0
2022-08-07T04:50:23.547Z
2,022
8
4
6
39
0
325
44
4
1
true
true
false
false
false
false
zero
73,265,052
How can i go back to A from fragment B when I click on the toolbar back press?
<p>i am working on an app where I am using 4 fragments like A-&gt;B-&gt;C-&gt;D NOW I want that when back pressed(from the toolbar) from d it should go back to C AND on c back to b and so on. How can I achieve that I am completely new to android. Please guide me.</p>
i am working on an app where I am using 4 fragments like A->B->C->D NOW I want that when back pressed(from the toolbar) from d it should go back to C AND on c back to b and so on. How can I achieve that I am completely new to android. Please guide me.
java|android|android-fragments|onbackpressed
0
2022-08-07T05:13:23.973Z
2,022
8
5
6
20
1
251
78
4
0
false
false
false
false
false
false
zero
73,265,113
How to make API call in Kotlin Using Retrofit (Android) with nested JSON APIs
<p>The below code is working fine and I am able to fetch data from it. But I want to do the same with a different API here is the API: <a href="https://dl.dropboxusercontent.com/s/p57gxwqm84zkp96/demo_api.json" rel="nofollow noreferrer">https://dl.dropboxusercontent.com/s/p57gxwqm84zkp96/demo_api.json</a> . I am new to...
The below code is working fine and I am able to fetch data from it. But I want to do the same with a different API here is the API: https://dl.dropboxusercontent.com/s/p57gxwqm84zkp96/demo_api.json . I am new to APIs and I don't know how to fetch data from this API. Can someone please help and explain how to do it? NOT...
android|json|api|kotlin|retrofit
0
2022-08-07T05:31:24.963Z
2,022
8
5
6
98
1
574
77
5
5
true
false
false
false
false
false
zero
73,265,277
How can I add a new app as a new functionality into AOSP Settings?
<p>I know the structure of AOSP well, and I am familiar with AOSP Settings. However, I have no experience in customizing the Settings codes, and adding a new functionality into it. I have a straightforward question: How can I add a new developed Android application into Android Settings.</p> <p>Extra note: I do not wan...
I know the structure of AOSP well, and I am familiar with AOSP Settings. However, I have no experience in customizing the Settings codes, and adding a new functionality into it. I have a straightforward question: How can I add a new developed Android application into Android Settings. Extra note: I do not want to place...
android|android-source
0
2022-08-07T06:11:13.713Z
2,022
8
6
6
61
1
627
66
2
0
false
false
false
false
false
false
zero
73,265,294
USDt/Crypto payment gateway in the Flutter app
<p>in my lottery app, users can buy tickets by their usdt .when a user buy a ticket user's usdt transfer to the admin wallet. my problem is how can I integrate usdt payment gateway for my app</p>
in my lottery app, users can buy tickets by their usdt .when a user buy a ticket user's usdt transfer to the admin wallet. my problem is how can I integrate usdt payment gateway for my app
android|flutter|dart|cryptography
0
2022-08-07T06:15:04.790Z
2,022
8
6
6
105
1
188
46
4
0
false
false
false
false
false
false
zero
73,265,304
how to keep onPrgressChanged from updating when I change edit field
<p>I have created a Seekbar and have coded it to update an Editable text field with a number based on what the seekBar is moved to. I also have set the seekBar to be updated when I type into the editable text field. However, what I don't want is the Editable text to update from the seekBar change every time I type one ...
I have created a Seekbar and have coded it to update an Editable text field with a number based on what the seekBar is moved to. I also have set the seekBar to be updated when I type into the editable text field. However, what I don't want is the Editable text to update from the seekBar change every time I type one num...
android-edittext|android-seekbar|changelistener
0
2022-08-07T06:17:03.600Z
2,022
8
6
6
15
0
529
67
3
2
true
true
false
false
false
false
zero
73,265,320
Firebase google sign in methods deprecated
<p>I implemented Google sign-in in many methods. Why Google is using some deprecated methods?</p> <p><a href="https://developers.google.com/identity/one-tap/android/get-saved-credentials" rel="nofollow noreferrer">One Tap sign-in</a><br /> startIntentSenderForResult() is deprecated<br /> onActivityResult is deprecated<...
I implemented Google sign-in in many methods. Why Google is using some deprecated methods? One Tap sign-in startIntentSenderForResult() is deprecated onActivityResult is deprecated FireBase assistant: onActivityResult is deprecated https://developers.google.com/identity/sign-in/android onActivityResult is deprecated Do...
android|firebase|kotlin|google-cloud-platform|firebase-authentication
1
2022-08-07T06:19:26.593Z
2,022
8
6
6
80
1
375
42
5
0
false
false
false
false
false
false
low
73,265,328
What could go wrong updating UI state in this manner
<p><strong>Creating the data class like this:</strong></p> <pre><code>data class UIState( val showCancelDialog: MutableState&lt;Boolean&gt; = mutableStateOf(false) ) //then somewhere in my view side after declaring the uiState uiState.showCancelDialog.value = true </code></pre>
Creating the data class like this: [CODE]
android|android-jetpack-compose|android-jetpack
0
2022-08-07T06:21:27.363Z
2,022
8
6
6
51
1
41
52
3
1
true
false
false
false
false
false
zero
73,265,402
Flutter build issue apk build fail
<p>I am getting the following issue while building the apk :</p> <p>/C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart:661:31: Error: Member not found: 'UnicodeChar'. int get UnicodeChar =&gt; Char.UnicodeChar; ^^^^^^^^^^^ /C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/win...
I am getting the following issue while building the apk : /C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/src/structs.g.dart:661:31: Error: Member not found: 'UnicodeChar'. int get UnicodeChar => Char.UnicodeChar; ^^^^^^^^^^^ /C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.3.3/lib/...
android|flutter
0
2022-08-07T06:38:50.317Z
2,022
8
6
6
113
1
3,183
34
2
1
true
false
false
false
false
false
zero
73,265,459
Method not running in Android - Java
<p>I have a problem, whenever I make a method myself and I want to use it, I run into problems. The program does not give an error, but it does not run. If anyone knows what the problem is, please help me.</p> <pre><code>public class MainActivity extends AppCompatActivity { List item @Override protected void ...
I have a problem, whenever I make a method myself and I want to use it, I run into problems. The program does not give an error, but it does not run. If anyone knows what the problem is, please help me. [CODE]
java|android
-1
2022-08-07T06:50:54.477Z
2,022
8
6
6
27
1
209
36
2
1
true
false
false
false
false
true
negative
73,265,531
Is it worth it to change the name of MainActivity?
<ol> <li>Is it worth it to change the name of MainActivity?</li> <li>If it isn't, then how to I name the Model for this activity? I've heard that it couldn't be just &quot;MainModel&quot;, because it has to be the model of smth.</li> </ol>
Is it worth it to change the name of MainActivity? If it isn't, then how to I name the Model for this activity? I've heard that it couldn't be just &quot;MainModel&quot;, because it has to be the model of smth.
java|android|xml|android-activity
-1
2022-08-07T07:04:06.247Z
2,022
8
7
6
28
1
210
50
4
0
false
false
false
false
false
true
negative
73,265,594
Could not find method "method" in a parent or ancestor Context for android:onClick attribute defined on view class MaterialButton with id "id"
<p>I am trying to get this button to launch a block of code but it can't seem to find it. This is a button in a fragment that is trying to launch another fragment inside a single activity architecture.</p> <p><a href="https://i.stack.imgur.com/pEz7v.png" rel="nofollow noreferrer">Method that gets called</a> (Notice how...
I am trying to get this button to launch a block of code but it can't seem to find it. This is a button in a fragment that is trying to launch another fragment inside a single activity architecture. Method that gets called (Notice how it's greyed out) Button that calls the method Android complaining that this doesn't e...
android|android-fragments
0
2022-08-07T07:16:48.503Z
2,022
8
7
6
118
1
425
142
2
0
false
false
false
false
false
false
zero
73,265,660
Can I use org.eclipse.aether in Android app?
<p><strong>Background</strong><br></p> <p>I am trying to develop an Android App for coding,for which I want to parse gradle files and download the repositories which users needs.However,I install my app only to see an error which implies Android has got rid of Apache Http.But in Aether,the package is needed.</p> <p><st...
Background I am trying to develop an Android App for coding,for which I want to parse gradle files and download the repositories which users needs.However,I install my app only to see an error which implies Android has got rid of Apache Http.But in Aether,the package is needed. What I have done 1.I have try to use Http...
java|android|maven|aether
0
2022-08-07T07:31:54.880Z
2,022
8
7
6
9
0
683
44
4
0
false
true
false
false
false
false
zero
73,265,680
How can i turn python to apk?
<p>I am just a newbie on that things and I want to turn python to apk with android studio or whatever. I don't really need anything to complex, I just want to open my codes output gui (I used turtle) when I open the app. Nothing else, thats all. It is probably complex process so you can just give me where to look and l...
I am just a newbie on that things and I want to turn python to apk with android studio or whatever. I don't really need anything to complex, I just want to open my codes output gui (I used turtle) when I open the app. Nothing else, thats all. It is probably complex process so you can just give me where to look and lear...
python|android|apk
-1
2022-08-07T07:36:08.100Z
2,022
8
7
6
49
1
366
29
3
0
false
false
false
false
false
true
negative
73,265,693
not show map on android emulator in new version 11.0 android studio
<p><a href="https://i.stack.imgur.com/wD9nR.png" rel="nofollow noreferrer">enter image description here</a>I updated the android studio and I created a new project from the map activity but the android studio emulator shows the output: won't run without google play services which are not supported by your device in and...
enter image description here I updated the android studio and I created a new project from the map activity but the android studio emulator shows the output: won't run without google play services which are not supported by your device in android
android
0
2022-08-07T07:38:38.373Z
2,022
8
7
6
24
1
246
67
1
0
false
false
false
false
false
false
zero
73,265,738
Custom over-the-air (OTA) client application for AOSP
<p>I want to add a custom OTA application to AOSP Settings placed in <code>packages/apps/settings</code> to manage updates in client side. I need to know how I can do this technically. If you know any opensource project or technical example, please refer to them.</p> <p>I know how it is technically must be done, but I ...
I want to add a custom OTA application to AOSP Settings placed in packages/apps/settings to manage updates in client side. I need to know how I can do this technically. If you know any opensource project or technical example, please refer to them. I know how it is technically must be done, but I need a few live codes t...
android|android-source|ota
0
2022-08-07T07:48:43.587Z
2,022
8
7
6
66
1
343
53
3
0
false
false
false
false
false
false
zero
73,265,820
Remov app from Recent Apps. How to make a Api call to update Server
<p>i want some help. i working on Streaming App and i face a issue. when broadcaster come live. his value on server become online.when broadcaster endlive by clicking on cross button then value update offline. but when broadcster remove app from recents app during live. how can i update there value on server. Any kin...
i want some help. i working on Streaming App and i face a issue. when broadcaster come live. his value on server become online.when broadcaster endlive by clicking on cross button then value update offline. but when broadcster remove app from recents app during live. how can i update there value on server. Any kind of ...
android|api|android-lifecycle|streaming-algorithm
0
2022-08-07T08:02:11.893Z
2,022
8
8
6
15
0
344
67
4
0
false
true
false
false
false
false
zero
73,265,972
Not been able to enter into next page
<p>When I m clicking in create account ..then it got stuck and buffered on the same page. And also the data is not saved in firebase's real-time database.</p> <p><a href="https://i.stack.imgur.com/WsrYF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WsrYF.jpg" alt="enter image description here" /></...
When I m clicking in create account ..then it got stuck and buffered on the same page. And also the data is not saved in firebase's real-time database. RegisterActivity.java package com.example.ecom; public class RegisterActivity extends AppCompatActivity { [CODE] else { [CODE] { [CODE] Toast.makeText(RegisterActivity....
android|account
0
2022-08-07T08:34:41.073Z
2,022
8
8
6
50
0
458
37
2
4
true
true
false
false
false
false
zero
73,266,164
How to change Android studio JRE default path?
<pre><code>Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. * What went wrong: The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Android\android studio\jre\bin\ja...
[CODE] Android Studio version: Android Studio Electric Eel | 2022.1.1 Canary 9 Build #AI-221.5921.22.2211.8881706, built on July 29, 2022 Runtime version: 11.0.13+0-b1751.21-8125866 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
flutter|android-studio
0
2022-08-07T09:04:09.307Z
2,022
8
9
6
27
1
236
46
2
1
true
false
false
false
false
false
zero
73,266,172
Navigate to specific fragments with navigation component
<p>I currently have this <code>nav_graph.xml</code> file.</p> <p>Activity A (parent container), with this navigation tree:</p> <p>Fragment A -&gt; Fragment B -&gt; Fragment C -&gt; Fragment D -&gt; Fragment E.</p> <p>Also, I have an Activity B, and I want to navigate directly to Fragment C from this activity.</p> <p>Do...
I currently have this nav_graph.xml file. Activity A (parent container), with this navigation tree: Fragment A -> Fragment B -> Fragment C -> Fragment D -> Fragment E. Also, I have an Activity B, and I want to navigate directly to Fragment C from this activity. Does anyone know how I can realize an elegant solution for...
android|android-fragments|android-jetpack-navigation
0
2022-08-07T09:06:19.353Z
2,022
8
9
6
35
0
695
56
3
0
false
true
false
false
false
false
zero
73,266,227
Trying to understand per app language preferences in Android 13
<p>My app supports 8 languages, <code>English</code>, <code>French</code>, <code>German</code>, <code>Arabic</code>, <code>Spanish</code>, <code>Mandarin Chinese</code>, <code>Japanese</code> and <code>Russian</code> languages.</p> <p>There is a language picker inside <code>SettingsFragment</code> that allows the user ...
My app supports 8 languages, English , French , German , Arabic , Spanish , Mandarin Chinese , Japanese and Russian languages. There is a language picker inside SettingsFragment that allows the user to change the app language. Users who have Android 13 and higher can change the app language as mentioned here . In Andro...
android|android-13
1
2022-08-07T09:16:40.300Z
2,022
8
9
6
90
0
603
63
2
0
false
true
false
false
false
false
low
73,266,261
Android sometimes fails to detect iBeacon devices
<p>I am using <a href="https://github.com/AltBeacon/android-beacon-library" rel="nofollow noreferrer">https://github.com/AltBeacon/android-beacon-library</a> library to detect iBeacon. But sometimes <code>RangingBeacons</code> returns zero.</p> <p>My application runs as follows:</p> <p>Call <code>startRangingBeacons</c...
I am using https://github.com/AltBeacon/android-beacon-library library to detect iBeacon. But sometimes RangingBeacons returns zero. My application runs as follows: Call startRangingBeacons to detect the iBeacon. After getting the beacon, call stopRangingBeacons . And User can call startRangingBeacons function again to...
android|ibeacon|altbeacon|ibeacon-android|android-ibeacon
0
2022-08-07T09:21:43.503Z
2,022
8
9
6
33
0
484
49
5
1
true
true
false
false
false
false
zero
73,266,323
How do I properly close JGit?
<p>I'm using <code>org.eclipse.jgit:3.7.1.201504261725-r</code> on Android 7.1.2.</p> <p>I'm creating JGit's <code>Git</code> this way:</p> <pre><code>repo = FileRepositoryBuilder() .setGitDir(File(gitDir)) .findGitDir() .build() ... repo.create() ... git = Git(repo) </code></pre> <p>Then I'm pulling from r...
I'm using org.eclipse.jgit:3.7.1.201504261725-r on Android 7.1.2. I'm creating JGit's Git this way: [CODE] Then I'm pulling from remote repo with: [CODE] And then I'm closing jgit: [CODE] The problem is, after pull is performed Android's Profiler shows that a single connection left open and sends small chunks of data r...
android|jgit
0
2022-08-07T09:31:09.557Z
2,022
8
9
6
35
1
534
29
2
3
true
false
false
false
false
false
zero
73,266,449
Android Fullscreen with Vue Capacitor
<p>I'm playing around with a multi-system app via Vue+Capacitor. One of the things I'd like to have is a button that makes my app go into Fullscreen, especially on Android. Pretty sure I'm gonna need those CapacitorPlugins, but since I'm an Android noob I'm not sure what I have to do to get it to work</p> <p>MainActivi...
I'm playing around with a multi-system app via Vue+Capacitor. One of the things I'd like to have is a button that makes my app go into Fullscreen, especially on Android. Pretty sure I'm gonna need those CapacitorPlugins, but since I'm an Android noob I'm not sure what I have to do to get it to work MainActivity.java: [...
android|vue.js|fullscreen|capacitor
0
2022-08-07T09:47:08.407Z
2,022
8
9
6
44
1
716
37
4
2
true
false
false
false
false
false
zero
73,266,466
Detect/override controller "Home" button press android
<p>I have an android application that is meant to be used with a game controller connected to the android device.</p> <p>Most game controllers have a center 'home' button that I would like to use to pause the game (for example, an Xbox controller center nexus button should pause).</p> <p>However, when you press the cen...
I have an android application that is meant to be used with a game controller connected to the android device. Most game controllers have a center 'home' button that I would like to use to pause the game (for example, an Xbox controller center nexus button should pause). However, when you press the center nexus button ...
android|keydown|xbox|gamepad|gamecontroller
0
2022-08-07T09:49:36.360Z
2,022
8
9
6
51
1
1,229
54
5
1
true
false
false
false
false
false
zero
73,266,635
Errors while launching the Facebook Sign In app
<p>The problem is this, I need to write code for 2 two buttons in one Activity window, for the Google button the code is written, it works, for the second Facebook authentication button the code is written, but there is an error (I took it from the official Firebase documentation) Link</p> <p>To enter the application, ...
The problem is this, I need to write code for 2 two buttons in one Activity window, for the Google button the code is written, it works, for the second Facebook authentication button the code is written, but there is an error (I took it from the official Firebase documentation) Link To enter the application, this code ...
java|android-studio
0
2022-08-07T10:23:15.353Z
2,022
8
10
6
32
0
870
47
2
2
true
true
false
false
false
false
zero
73,266,637
What to do if Android SDK is not found in Android Studio
<p>I have installed Android Studio, but its not locating Android SDK, I even tried to change the directory, but in vain.</p> <p>Please check the photo to see the problem</p> <p><img src="https://i.stack.imgur.com/uqguk.png" alt="1" /></p>
I have installed Android Studio, but its not locating Android SDK, I even tried to change the directory, but in vain. Please check the photo to see the problem
android-studio
1
2022-08-07T10:23:36.463Z
2,022
8
10
6
29
1
159
56
1
0
false
false
false
false
false
false
low
73,266,665
get saved native preferences when convert app to flutter
<p>I have an app built on Java for Android. Now I am using flutter to upgrade the app, but I need to get the saved data from native (SharedPreferences) in flutter.</p> <p>For example, the native code saves the user's information. When using Flutter, the Flutter app should now get this information.</p>
I have an app built on Java for Android. Now I am using flutter to upgrade the app, but I need to get the saved data from native (SharedPreferences) in flutter. For example, the native code saves the user's information. When using Flutter, the Flutter app should now get this information.
android|flutter|sharedpreferences|native
1
2022-08-07T10:28:36.633Z
2,022
8
10
6
15
0
288
56
4
0
false
true
false
false
false
false
low
73,266,779
Android Get data or table webservice
<p>i watched too many videos about android webservises but all them results finished error &quot;java.net.SocketTimeoutException&quot; i used &quot;ksoap2-android-2.5.2.jar&quot;</p> <p>can you guide me on this</p> <p>my codes ;</p> <pre><code>package com.example.acr_soaptest2; import android.util.Log; import org.ksoa...
i watched too many videos about android webservises but all them results finished error &quot;java.net.SocketTimeoutException&quot; i used &quot;ksoap2-android-2.5.2.jar&quot; can you guide me on this my codes ; [CODE]
java|android|web-services
0
2022-08-07T10:49:48.927Z
2,022
8
10
6
18
0
218
36
3
1
true
true
false
false
false
false
zero
73,266,850
When opening fragment with recycler view in a bottom navigation bar I am unable to change fragment
<p>I am trying to make a recycler view in one of my fragments, which should be accessible from a bottom navigation bar. This works, but when I open said fragment, I am unable to open any other fragment. Through alot of testing and debugging I figure it has something to do with the recyclerView.setLayoutManager. Wheneve...
I am trying to make a recycler view in one of my fragments, which should be accessible from a bottom navigation bar. This works, but when I open said fragment, I am unable to open any other fragment. Through alot of testing and debugging I figure it has something to do with the recyclerView.setLayoutManager. Whenever I...
java|android-studio
0
2022-08-07T11:00:51.193Z
2,022
8
11
6
35
0
732
98
2
3
true
true
false
false
false
false
zero
73,266,937
Game Crashing When Loading Main Scene On Some Android Devices
<p>Hey guys I'm in desperate need of help with this problem. We have an game built and released to the Google Play Store. The game runs perfectly fine on my phone and many others. The issue is that the game crashes when loading our main scene only on a minority percentage of Android devices. This is still big a problem...
Hey guys I'm in desperate need of help with this problem. We have an game built and released to the Google Play Store. The game runs perfectly fine on my phone and many others. The issue is that the game crashes when loading our main scene only on a minority percentage of Android devices. This is still big a problem th...
android|unity3d|crash
1
2022-08-07T11:16:54.813Z
2,022
8
11
6
161
2
1,592
61
3
0
false
false
false
false
false
false
low
73,266,983
With Jetpack Compose Paging3, calling refresh() on paging items in Launch Effect block doesn't update the UI
<p>I've applied Paging3 compose with my Android Jetpack Compose project. In one of my screens, the following code is implemented to refresh the list on navigating back from another screen.</p> <pre><code>LaunchEffect(key1 = Unit) { items.refresh() } </code></pre> <p>The initial recomposition on navigation back in...
I've applied Paging3 compose with my Android Jetpack Compose project. In one of my screens, the following code is implemented to refresh the list on navigating back from another screen. [CODE] The initial recomposition on navigation back indeed triggers the lambda block in Launch Effect but doesn't reschedule the recom...
android|android-studio|kotlin|android-jetpack-compose|android-jetpack
2
2022-08-07T11:24:05.233Z
2,022
8
11
6
93
0
706
108
5
2
true
true
false
false
false
false
low
73,267,002
React Native Mapbox with Expo - App freezes after opening map a second time
<p>Currently, I'm rewriting my web-application to a React Native application using Expo. I've managed to get the map working and rendering correctly when I open the correct screen (using rnmapbox/maps#main).</p> <p>However, when I navigate away from this screen (using tab navigation) and then open it back up again, the...
Currently, I'm rewriting my web-application to a React Native application using Expo. I've managed to get the map working and rendering correctly when I open the correct screen (using rnmapbox/maps#main). However, when I navigate away from this screen (using tab navigation) and then open it back up again, the app just ...
android|reactjs|react-native|mapbox
0
2022-08-07T11:26:53.060Z
2,022
8
11
6
131
0
1,271
75
4
1
true
true
false
false
false
false
zero
73,267,065
How to add little icon on notification preview Android
<p>Android notifications got me crazy, I've got two questions.</p> <p>I already tried custom views for expand &amp; collapse states. but it's not solving this issues.</p> <ol> <li>how did Whatsapp added this icon to the preview? this state is different, kind of default preview, there is 3 states: preview, collapse and ...
Android notifications got me crazy, I've got two questions. I already tried custom views for expand & collapse states. but it's not solving this issues. how did Whatsapp added this icon to the preview? this state is different, kind of default preview, there is 3 states: preview, collapse and extended.) How can I disabl...
android|android-studio|kotlin|android-push-notification
0
2022-08-07T11:36:07.123Z
2,022
8
11
6
30
0
523
54
4
0
false
true
false
false
false
false
zero
73,267,095
Unable to get Huawei Mapkit to display a map (Used source code from the official codelab)
<p>I tried following the instructions in the <a href="https://developer.huawei.com/consumer/en/codelab/HMSMapKit/index.html#0" rel="nofollow noreferrer">official codelab</a> Here's a link to the corresponding source code: <a href="https://github.com/huaweicodelabs/MapKit" rel="nofollow noreferrer">https://github.com/hu...
I tried following the instructions in the official codelab Here's a link to the corresponding source code: https://github.com/huaweicodelabs/MapKit What I did: Modified the packagename(AppGallery Connect portal doesn't allow apps with package-names that have already been claimed by someone else for their app) Created a...
android|huawei-mobile-services|huawei-developers|huawei-map-kit
2
2022-08-07T11:40:24.077Z
2,022
8
11
6
82
0
3,143
89
4
2
true
true
false
false
false
false
low
73,267,114
webView.evaluateJavascript has no effects and returns null (API 19+)
<p>I have a very simple activity where I will later try to extract some information from a web page that is shown in a webView. For now I simplified it to a script which just changes the text color and returns the string &quot;res&quot; (see code below).<br /> The problem is that neither the color change nor the return...
I have a very simple activity where I will later try to extract some information from a web page that is shown in a webView. For now I simplified it to a script which just changes the text color and returns the string &quot;res&quot; (see code below). The problem is that neither the color change nor the return value ha...
android|kotlin|webview
0
2022-08-07T11:42:56.103Z
2,022
8
11
6
51
0
682
68
3
1
true
true
false
false
false
false
zero
73,267,117
Is there a way in writing Android apps to analyze and manipulate audio output from other apps, before it actually playing to the user?
<p>I'm a biomedical engineering student and I'm doing my Final project on an assistive app for people with sensory issues. I'm also unfortunately not familiar with android apps coding (I have done some C and C++ plus a tiny bit of front-end on JS). <br/> Long story short, I'm looking to <strong>analyze</strong> every s...
I'm a biomedical engineering student and I'm doing my Final project on an assistive app for people with sensory issues. I'm also unfortunately not familiar with android apps coding (I have done some C and C++ plus a tiny bit of front-end on JS). Long story short, I'm looking to analyze every single audio that will be p...
android|audio|audio-processing
0
2022-08-07T11:43:07.427Z
2,022
8
11
6
24
0
1,065
134
3
0
false
true
false
false
false
false
zero
73,267,244
ninja: error: system/bin/app_process', missing and no known rule to make it
<p>this is my first time building an android custom rom and i got an error like this:</p> <p>ninja: error: '/home/andra/android/lineage16/out/target/product/ASUS_Z01H_1/system/bin/app_process32', needed by '/home/andra/android/lineage16/out/target/product/ASUS_Z01H_1/system/bin/app_process', missing and no known rule t...
this is my first time building an android custom rom and i got an error like this: ninja: error: '/home/andra/android/lineage16/out/target/product/ASUS_Z01H_1/system/bin/app_process32', needed by '/home/andra/android/lineage16/out/target/product/ASUS_Z01H_1/system/bin/app_process', missing and no known rule to make it ...
android|build|ninja
0
2022-08-07T12:02:58.170Z
2,022
8
12
6
58
0
425
75
3
0
false
true
false
false
false
false
zero
73,267,251
How to use Lineage OS OTA in AOSP projects?
<p>I am going to develop an OTA update manager for client side through AOSP project. The Lineage OS developers have already developed an OTA manager for this purpose (please find the following GitHub repo):</p> <p><a href="https://github.com/alidoostnia/android-OTA-Lineage-Version" rel="nofollow noreferrer">https://git...
I am going to develop an OTA update manager for client side through AOSP project. The Lineage OS developers have already developed an OTA manager for this purpose (please find the following GitHub repo): https://github.com/alidoostnia/android-OTA-Lineage-Version I have a plan to customize the lineage version for AOSP, ...
android|android-source|lineageos|over-the-air
0
2022-08-07T12:04:13.143Z
2,022
8
12
6
69
1
597
43
4
1
true
false
false
false
false
false
zero
73,267,254
Continuous recomposition in Jetpack Compose
<p>I'm trying to create a sky view in my Android app using Jetpack Compose. I want to display it inside a <code>Card</code> with a fixed <code>height</code>. During nigth time, the card background turns dark blue and I'd like to have some blinking stars spread over the sky.</p> <p>To create the stars blinking animation...
I'm trying to create a sky view in my Android app using Jetpack Compose. I want to display it inside a Card with a fixed height . During nigth time, the card background turns dark blue and I'd like to have some blinking stars spread over the sky. To create the stars blinking animation, I'm using an InfiniteTransition o...
kotlin|android-jetpack-compose
2
2022-08-07T12:04:28.610Z
2,022
8
12
6
153
2
862
43
2
1
true
false
false
false
false
false
low
73,267,393
arrange images in recyclerview with gridlayoutmanager in android
<p>I want to arrange an image in recyclerview in form of grid but it will be auto arrange with by taking recycler width and height</p> <p>I want grid layout like this when there is only 2 image in that 1 image cover first 2 row and second cover other 2. And when there is an 3 images at that 1 image cover first 2 row an...
I want to arrange an image in recyclerview in form of grid but it will be auto arrange with by taking recycler width and height I want grid layout like this when there is only 2 image in that 1 image cover first 2 row and second cover other 2. And when there is an 3 images at that 1 image cover first 2 row and other 2 ...
android|android-layout|nestedrecyclerview
0
2022-08-07T12:25:01.520Z
2,022
8
12
6
17
0
514
64
3
0
false
true
false
false
false
false
zero
73,267,400
Transparent status bar and constraint to its bottom
<p>I want to get transparent status bar. I managed to get it with this code:</p> <pre><code> WindowCompat.setDecorFitsSystemWindows(window,false) WindowInsetsControllerCompat(window,window.decorView).isAppearanceLightStatusBars = false </code></pre> <p>This is the result: <a href="https://i.stack.imgur.com/NCj0p.j...
I want to get transparent status bar. I managed to get it with this code: [CODE] This is the result: But now my view (dagger) constrained to the top of the parent layout, also get to the status bar place, I don't need it. I want to constraint it to the bottom of the status bar. I can use a margin, but it's not a good s...
android|kotlin|android-layout|android-constraintlayout|android-statusbar
0
2022-08-07T12:25:49.960Z
2,022
8
12
6
88
1
392
51
5
1
true
false
false
false
false
false
zero
73,267,452
Android Dagger - How to Inject from other module
<p>I've multiple modules in my app, each one of them have his own Module for UI Injection.</p> <p>Now, i want to have &quot;feed&quot; fragment that have a some pieces from other modules. So i trying doing it using FragmentContainerView. I want to Inject the fragment that defined on other module. I'm trying to &quot;in...
I've multiple modules in my app, each one of them have his own Module for UI Injection. Now, i want to have &quot;feed&quot; fragment that have a some pieces from other modules. So i trying doing it using FragmentContainerView. I want to Inject the fragment that defined on other module. I'm trying to &quot;include&quot...
android|dependency-injection|module|dagger-2
0
2022-08-07T12:34:05.460Z
2,022
8
12
6
59
1
726
48
4
3
true
false
false
false
false
false
zero
73,267,507
How can i show toolbar back button in fragments in android?
<p>I am working on an android application where I have three fragments I want to show the back button on the toolbar of the fragments to go back to the previous fragments now how can I achieve that?? I am new to android please guide me.</p> <pre><code>public class SecondFragment extends Fragment { Button button2; pr...
I am working on an android application where I have three fragments I want to show the back button on the toolbar of the fragments to go back to the previous fragments now how can I achieve that?? I am new to android please guide me. [CODE] this is the code of my fragment borther i have three fragments like this i need...
java|android|android-fragments|onbackpressed
0
2022-08-07T12:42:07.097Z
2,022
8
12
6
35
2
383
59
4
1
true
false
false
false
false
false
zero
73,267,515
How to start a bash script with a particular word (TextChangedListener), in Android
<p>I have designed a foreground application with accessibility and now I want to add a feature that whenever the user types a particular word say example HELP at any application For Example google or any notepad then a bash script would be executed</p> <p>I got to know that bash script or adb shell commands can be exec...
I have designed a foreground application with accessibility and now I want to add a feature that whenever the user types a particular word say example HELP at any application For Example google or any notepad then a bash script would be executed I got to know that bash script or adb shell commands can be executed with ...
java|android|bash|shell|kotlin
0
2022-08-07T12:42:55.273Z
2,022
8
12
6
30
1
557
83
5
0
false
false
false
false
false
false
zero
73,267,583
How to add classpath hilt-android-gradle-plugin in android studio chipmunk and higher
<p>earlier we could add dagger-hilt using this in <code>root build.gradle file:</code></p> <pre><code>buildscript { ... dependencies { ... classpath 'com.google.dagger:hilt-android-gradle-plugin:2.38.1' } } </code></pre> <p>how can we add this in android studio chipmunk and higher</p>
earlier we could add dagger-hilt using this in root build.gradle file: [CODE] how can we add this in android studio chipmunk and higher
android|dagger|dagger-hilt
1
2022-08-07T12:52:41.840Z
2,022
8
12
6
255
2
135
85
3
1
true
false
false
false
false
false
low
73,267,603
adb - force reinstall retaining application data
<p>I'm trying to install a modified debug application signed using ApkTool and <a href="https://github.com/patrickfav/uber-apk-signer" rel="nofollow noreferrer">Uber-APK-signer</a> but I'm getting below error</p> <pre class="lang-bash prettyprint-override"><code>adb install -t -r app-debugSigned.apk # Failure [INSTALL_...
I'm trying to install a modified debug application signed using ApkTool and Uber-APK-signer but I'm getting below error [CODE] I don't want to lose application data, is there any way to force install application?
android|reverse-engineering|apktool
0
2022-08-07T12:54:49.143Z
2,022
8
12
6
24
0
212
48
3
1
true
true
false
false
false
false
zero
73,267,613
Export Room Database File, save the file in files and send when internet available
<p>The issue i am having is that, file gets created, i can see in file manager too but when i access it to send it to server, it says &quot;Failed to find configured root that contains /content:/media/external/downloads/153&quot;</p> <p>I am badly stuck here</p>
The issue i am having is that, file gets created, i can see in file manager too but when i access it to send it to server, it says &quot;Failed to find configured root that contains /content:/media/external/downloads/153&quot; I am badly stuck here
android|database|kotlin|storage|android-external-storage
0
2022-08-07T12:56:15.333Z
2,022
8
12
6
19
1
248
82
5
0
false
false
false
false
false
false
zero
73,267,702
Incorrect work of the fragmentManager in conjunction with the Jetpack Compose
<p>I added jetpack compose into my old project and I have noticed one problem with fragmentManager work.</p> <p>In short, I have the following transactions:</p> <p><strong>MainActivity</strong> -&gt; <strong>SettingsFragment</strong> -&gt; <strong>BackgroundSettingsFragment</strong>.</p> <p>When we go to <strong>Backgr...
I added jetpack compose into my old project and I have noticed one problem with fragmentManager work. In short, I have the following transactions: MainActivity -> SettingsFragment -> BackgroundSettingsFragment . When we go to BackgroundSettingsFragment and we press a back button, we return to SettingsFragment , but its...
android|kotlin|android-jetpack-compose|android-fragment-manager
0
2022-08-07T13:08:51.817Z
2,022
8
13
6
46
0
1,034
77
4
5
true
true
false
false
false
false
zero