id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
72,214,259
how do manually remove microphone phone permission for camera plugin in flutter
<p>Is it possible to remove asking microphone permission for camera plugin for android device using flutter</p> <p>I have tried like below in my AndroidManifest.xml</p> <p>but it shows error</p> <p>Any one can help me to solve this issue. Thanks in advance</p>
Is it possible to remove asking microphone permission for camera plugin for android device using flutter I have tried like below in my AndroidManifest.xml but it shows error Any one can help me to solve this issue. Thanks in advance
android|flutter|permissions|camera
1
2022-05-12T10:50:42.217Z
2,022
5
10
3
245
2
232
79
4
0
false
false
false
false
false
false
low
72,214,365
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 (React Native)
<p>I have been facing this error for 2 days on Linux(Ubuntu 20.04) machine, and I have tried almost every possible solution found on stack-overflow and git-hub but I could'not resolve this. Any idea about this error?</p> <blockquote> <p>Task :app:compileDebugJavaWithJavac</p> </blockquote> <blockquote> <p>Task :app:mer...
I have been facing this error for 2 days on Linux(Ubuntu 20.04) machine, and I have tried almost every possible solution found on stack-overflow and git-hub but I could'not resolve this. Any idea about this error? Task :app:compileDebugJavaWithJavac Task :app:mergeDebugJavaResource FAILED Deprecated Gradle features wer...
java|android|react-native|android-studio|gradle
0
2022-05-12T11:00:25.047Z
2,022
5
11
3
74
0
4,316
96
5
1
true
true
false
false
false
false
zero
72,214,387
Json Empty after parse even though status 200
<p>I am trying to parse a JSON after doing a HTTP GET request for my flutter app, however when it is parsed, the body shows as empty, this is the parsing code</p> <pre><code>urlHausParseBox() { Future&lt;_GoneSmishinState&gt; fetchUrlResponse() async { String url = myController.text; final response = await http.pos...
I am trying to parse a JSON after doing a HTTP GET request for my flutter app, however when it is parsed, the body shows as empty, this is the parsing code [CODE] After this I have a check for the 200 status, and when recieved will return this to use after the fact, I printed the fields 'query_status' and 'url_status' ...
android|json|flutter|dart|get
0
2022-05-12T11:02:26.807Z
2,022
5
11
3
37
1
598
45
5
3
true
false
false
false
false
false
zero
72,214,410
How to get a sum of all values from a node in Firebase? Error
<p>tell me, please: what is my mistake? I'm trying to apply your example, but I can't get the summation result. I want to add up all the prices and display them in TextView. I will be grateful for the help, I'm new to this. <a href="https://i.stack.imgur.com/FXUIo.png" rel="nofollow noreferrer">enter image description ...
tell me, please: what is my mistake? I'm trying to apply your example, but I can't get the summation result. I want to add up all the prices and display them in TextView. I will be grateful for the help, I'm new to this. enter image description here MainActivity package com.example.testkorzne; [CODE] User Class package...
java|android|firebase|google-cloud-platform|firebase-realtime-database
0
2022-05-12T11:04:21.807Z
2,022
5
11
3
38
1
362
61
5
3
true
false
false
false
false
false
zero
72,214,411
How can I save data from intent to text file to documents folder?
<p>I am receiving an object that I want to save with timestamp to text file in the phone's documents folder. I have currently added the permissions lines to <code>AndroidManifest.xml</code></p> <pre class="lang-js prettyprint-override"><code> &lt;uses-permission android:name=&quot;android.permission.READ_EXT...
I am receiving an object that I want to save with timestamp to text file in the phone's documents folder. I have currently added the permissions lines to AndroidManifest.xml [CODE] Getting it to save .txt to downloads folder. But there is nothing in the file and the size is 0mb. [CODE] [CODE] I have tried following thi...
android|kotlin
0
2022-05-12T11:04:27.443Z
2,022
5
11
3
131
0
469
65
2
4
true
true
false
false
false
false
zero
72,214,416
Tried to register two views with the same name TPSCardField
<p>is someone has seen this issue? I think it is related to <strong>tipsi-stripe</strong>. I know the same name issue of TPSCardField is happening due to two library imports but I can't trace it. let me know if someone faced this issue and knows any fix. <em>Tried to register two views with the same name TPSCardField</...
is someone has seen this issue? I think it is related to tipsi-stripe . I know the same name issue of TPSCardField is happening due to two library imports but I can't trace it. let me know if someone faced this issue and knows any fix. Tried to register two views with the same name TPSCardField stipe version is [CODE]
android|react-native|stripe-payments
0
2022-05-12T11:04:52.823Z
2,022
5
11
3
10
0
319
59
3
1
true
true
false
false
false
false
zero
72,214,436
build apk+dlc through project launcher apk size getting big in unreal engine
<p>When I normally build apk the size of apk is around 200 but when I build it through project launcher the apk size getting larger like upto 700mb what can I do so my apk size will reduce</p>
When I normally build apk the size of apk is around 200 but when I build it through project launcher the apk size getting larger like upto 700mb what can I do so my apk size will reduce
android|build|project|unreal-engine4
0
2022-05-12T11:06:16.777Z
2,022
5
11
3
111
0
185
76
4
0
false
true
false
false
false
false
zero
72,214,464
Hevc video stream Media Codec Half of video is broken when receive 2 I frame in a row
<p>I'm trying to decode packages from Hevc Stream raw, then I receive 2 I Frames in a row because NaluType returns value 19 twice. Then half of the video is broken. I'm using Media Codec. How can I split the packages the hevc live video to render video without broken image? I've concatenated 2 I Frame but half of the v...
I'm trying to decode packages from Hevc Stream raw, then I receive 2 I Frames in a row because NaluType returns value 19 twice. Then half of the video is broken. I'm using Media Codec. How can I split the packages the hevc live video to render video without broken image? I've concatenated 2 I Frame but half of the vide...
android|android-mediacodec|hevc
0
2022-05-12T11:08:17.880Z
2,022
5
11
3
45
0
342
85
3
1
true
true
false
false
false
false
zero
72,214,518
How to get response by clicking button
<p>In these code i am using volley library to use request and response.and URL of json holder to get response.I am getting &quot;title&quot; as my response.but i want this response after clicking a button but i don't how to attach this url to the button to get response title.i tried this till now.</p> <pre><code>packag...
In these code i am using volley library to use request and response.and URL of json holder to get response.I am getting &quot;title&quot; as my response.but i want this response after clicking a button but i don't how to attach this url to the button to get response title.i tried this till now. [CODE] after using sande...
android
0
2022-05-12T11:13:02.120Z
2,022
5
11
3
66
1
586
38
1
4
true
false
false
false
false
false
zero
72,214,706
Sending data using Wi_Fi
<p>I'm trying to send array by using wifi and I use this code: I depend on this code in link: <a href="https://randomnerdtutorials.com/esp32-client-server-wi-fi/" rel="nofollow noreferrer">here</a></p> <pre><code>#include &quot;WiFi.h&quot; #include &quot;ESPAsyncWebServer.h&quot; const char* ssid = &quot;ESP32-Acc...
I'm trying to send array by using wifi and I use this code: I depend on this code in link: here [CODE] How can I receive the values as value because I need to deal with this received array to do some processing before print it : This is the code for receiving array (I posted just the loop): [CODE]
c++|android-wifi|arduino-ide|arduino-c++
0
2022-05-12T11:28:21.907Z
2,022
5
11
3
52
0
298
24
4
2
true
true
false
false
false
false
zero
72,215,118
Android studio, I do have a gap between a picture and screen end
<p>Here is the screenshot with the code and gap issue , I tried get it done with the match_parent and it does not work, please advice how can I fix it.</p> <p><a href="https://i.stack.imgur.com/hAVUr.png" rel="nofollow noreferrer">enter image description here</a></p> <pre><code>&lt;androidx.constraintlayout.widget.Cons...
Here is the screenshot with the code and gap issue , I tried get it done with the match_parent and it does not work, please advice how can I fix it. enter image description here [CODE]
android-studio|resize
0
2022-05-12T11:55:30.050Z
2,022
5
11
3
26
0
184
64
2
1
true
true
false
false
false
false
zero
72,215,238
Why am I getting error of 'android.widget.EditText com.google.android.material.textfield.TextInputLayout.getEditText()' on a null object reference
<p>I have seen many forums related to this question but nothing resolved my issue. I hope I get it here.</p> <p>Here is my Activity Code</p> <pre><code>public class addIndividual extends AppCompatActivity { public TextInputLayout individualName; public TextInputLayout individualPhno; FirebaseFirestore db; String name; ...
I have seen many forums related to this question but nothing resolved my issue. I hope I get it here. Here is my Activity Code [CODE] XML Code [CODE] I have changed the TextInputLayout to EditText but the problem persists no result Error Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'andro...
java|android|android-textinputlayout
-2
2022-05-12T12:04:54.097Z
2,022
5
12
3
47
1
514
146
3
2
true
false
false
false
false
true
negative
72,215,241
I have problems with Handler and Looper
<p>My project consists of two parts 1 and 2.</p> <ol> <li>in Maine Activity recorded data, then pressed to the Save button (data stored in Firerbase).</li> <li>Next, we pressed the button to read, and we opened a window with a list, then when you click on a dumb object, we opened a new window with a deployed descriptio...
My project consists of two parts 1 and 2. in Maine Activity recorded data, then pressed to the Save button (data stored in Firerbase). Next, we pressed the button to read, and we opened a window with a list, then when you click on a dumb object, we opened a new window with a deployed description. The first part works, ...
java|android|handler|android-looper
0
2022-05-12T12:04:57.887Z
2,022
5
12
3
56
0
408
39
4
1
true
true
false
false
false
false
zero
72,215,243
App crashes when running code from in fragment
<p>I am making my first app in android studio. So far I have built a bottom navigation bar using fragments. I am now trying to add a calendar feature to one of the fragments, I have copied a tutorial using activities to run the code and think there is a problem with using &quot;View&quot;.</p> <p>This is the code to op...
I am making my first app in android studio. So far I have built a bottom navigation bar using fragments. I am now trying to add a calendar feature to one of the fragments, I have copied a tutorial using activities to run the code and think there is a problem with using &quot;View&quot;. This is the code to open for the...
java|android-studio|android-fragments|android-activity
0
2022-05-12T12:04:59.363Z
2,022
5
12
3
180
2
628
46
4
3
true
false
false
false
false
false
zero
72,215,304
MultiPreviewDevices feature in Android Studio (Electric Eel)
<p>I have created below details in separate file</p> <pre><code>@Preview(showBackground = true, uiMode = Configuration.UI_MODE_NIGHT_NO or Configuration.UI_MODE_TYPE_NORMAL, device = &quot;spec:shape=Normal, width=673, height=841, unit=dp,dpi=480&quot;, name = &quot;Phone&quot;,) annotation class PreviewDevices(){} </...
I have created below details in separate file [CODE] I am getting below error. [CODE] I am using latest Android Studio (Electric Eel) Canary version.
android|android-studio|android-jetpack-compose
0
2022-05-12T12:09:13.083Z
2,022
5
12
3
95
0
149
60
3
2
true
true
false
false
false
false
zero
72,215,311
Is it possible to insert some dart code into my flutter view that was inside my android native activity by java?
<p>As far as I know, we can insert JavaScript code into the webview by using the API below:</p> <pre><code>webView.addJavascriptInterface </code></pre> <p>and is it possible for flutter may be like:</p> <pre><code>flutterView.addDartInterface </code></pre>
As far as I know, we can insert JavaScript code into the webview by using the API below: [CODE] and is it possible for flutter may be like: [CODE]
java|android|flutter
0
2022-05-12T12:09:29.070Z
2,022
5
12
3
30
0
146
112
3
2
true
true
false
false
false
false
zero
72,215,423
Assets folder counterpart of a .aar package in Unity
<p>I have a .aar package that I'm using via Unity. I have been able to access the class and methods inside that package although I'm having difficulty on a constructor that takes a string name as a parameter and uses that name to find a file with that name in its assets folder. In the .aar package documentation, it sta...
I have a .aar package that I'm using via Unity. I have been able to access the class and methods inside that package although I'm having difficulty on a constructor that takes a string name as a parameter and uses that name to find a file with that name in its assets folder. In the .aar package documentation, it states...
c#|android|unity3d|aar
0
2022-05-12T12:16:31.350Z
2,022
5
12
3
23
0
869
52
4
0
false
true
false
false
false
false
zero
72,215,494
Firebase - get childrens of children
<p>I am looking for a good solution to take data from a child of children.</p> <p>As You can see in my &quot;users&quot; database i have nodes with users uid's, and in this nodes i have stored users data such as avatar, username etc. but i have problem with getting data from example &quot;followers&quot; node - So far ...
I am looking for a good solution to take data from a child of children. As You can see in my &quot;users&quot; database i have nodes with users uid's, and in this nodes i have stored users data such as avatar, username etc. but i have problem with getting data from example &quot;followers&quot; node - So far I have bee...
java|android|firebase|firebase-realtime-database
0
2022-05-12T12:21:17.790Z
2,022
5
12
3
24
1
946
36
4
1
true
false
false
false
false
false
zero
72,215,504
Android store credentials obtained from keychain api into keystore
<p>I have to recover credentials information that is available from KeyChain API and then replicate this information into a Keystore. The idea behind this is that if the credentials are available in the keystore, it should be used. If not available, go to keychain and load new set of credentials.</p> <p>The implementat...
I have to recover credentials information that is available from KeyChain API and then replicate this information into a Keystore. The idea behind this is that if the credentials are available in the keystore, it should be used. If not available, go to keychain and load new set of credentials. The implementation to rec...
java|android|ssl|keystore|keychain
0
2022-05-12T12:21:53.113Z
2,022
5
12
3
143
0
981
66
5
3
true
true
false
false
false
false
zero
72,215,533
Unable to get expo push notification token after generated release build in Android
<p>I integrated expo notification for Push notification. My project is Expo bare flow</p> <pre><code>let token; const { status: existingStatus } = await Notifications.getPermissionsAsync(); let finalStatus = existingStatus; if (existingStatus !== 'granted') { const { status } = awai...
I integrated expo notification for Push notification. My project is Expo bare flow [CODE] this is my code to get token. It perfectly works on IOS but in Android, it will work in Development. When I get the Release build with android studio, I cannot receive the token in the release build. if i add any native based libr...
android|react-native|expo|expo-notifications
0
2022-05-12T12:23:20.297Z
2,022
5
12
3
458
0
711
83
4
2
true
true
false
false
false
false
zero
72,215,542
Sharedialog SDK does not work on some device
<p>We have developed a mobile application available on Android.</p> <p>This mobile application allows users to share advertiser videos on Youtube and earn money.</p> <pre><code> ShareDialog shareDialog = new ShareDialog(this); ShareVideo shareVideo = new ShareVideo.Builder() .setLocalUrl...
We have developed a mobile application available on Android. This mobile application allows users to share advertiser videos on Youtube and earn money. [CODE] We have done a first launch with beta testers, where 80% of them, when they press the share button, once viewed the entire video, does not respond, yet they have...
android|facebook|sdk|facebook-javascript-sdk|facebook-php-sdk
0
2022-05-12T12:23:45.860Z
2,022
5
12
3
24
0
438
44
5
1
true
true
false
false
false
false
zero
72,215,567
What does mean these errors in Gradle?
<p>I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors:</p> <pre><code>Execution failed for task ':app:processProDebugResources'. &gt; Could not resolve all files for configuration ':app:ProDebugRuntimeClasspath'. &gt; Failed to transform misnapworkflow_UX2-release.aar to match a...
I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: [CODE] But I don't understand why it is failing.
android|gradle|android-gradle-plugin|assemble
0
2022-05-12T12:25:17.900Z
2,022
5
12
3
76
1
138
38
4
1
true
false
false
false
false
false
zero
72,215,596
Flutter not detecting sdk cmdline tools
<p>Running flutter doctor gives me the &quot;cmdline-tools component is missing&quot; error, even though I installed Android SDK command-line tools in android studio, I also updated it and am sure it's the latest version. I've been searching for days for a solution to this and the only answer I can find anywhere is &qu...
Running flutter doctor gives me the &quot;cmdline-tools component is missing&quot; error, even though I installed Android SDK command-line tools in android studio, I also updated it and am sure it's the latest version. I've been searching for days for a solution to this and the only answer I can find anywhere is &quot;...
android|flutter|android-studio|development-environment
0
2022-05-12T12:26:53.627Z
2,022
5
12
3
105
1
552
39
4
0
false
false
false
false
false
false
zero
72,215,630
Android SQLite same DB
<p>I am using local DB (SQLite) with my android app. I know, that with every first launch of the app, a new database is created. Is there an easy and quick way to fetch the new database with my prepared data? I already have the database file ready.</p> <p>Thank you for your help.</p>
I am using local DB (SQLite) with my android app. I know, that with every first launch of the app, a new database is created. Is there an easy and quick way to fetch the new database with my prepared data? I already have the database file ready. Thank you for your help.
android|sqlite|android-sqlite
-1
2022-05-12T12:29:38.417Z
2,022
5
12
3
39
2
270
22
3
0
false
false
false
false
false
true
negative
72,215,962
Base composable aspect ratio on current composable size
<p>Is there a way in jetpack compose to set composable ratio based on composable size? For example I have:</p> <pre><code> Column(modifier = Modifier .wrapContentSize() .aspectRatio(1.3f) </code></pre> <p>In docs it says that aspect ratio is calculated with either Constraints.min or Constraints.max. Can I s...
Is there a way in jetpack compose to set composable ratio based on composable size? For example I have: [CODE] In docs it says that aspect ratio is calculated with either Constraints.min or Constraints.max. Can I somehow adjust composable's ratio after it;s been wrapped with wrapContentSize() ?
android|android-jetpack-compose
0
2022-05-12T12:54:02.150Z
2,022
5
12
3
113
1
295
55
2
1
true
false
false
false
false
false
zero
72,216,001
Google Play Purchases are not supported in your country - Demo Test Card
<p>We get the following msg</p> <p><a href="https://i.stack.imgur.com/0Fkms.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Fkms.png" alt="enter image description here" /></a></p> <p>This happens only in Russia using a demo test card, I guess this has something to do with the War,</p> <p>but this a ...
We get the following msg This happens only in Russia using a demo test card, I guess this has something to do with the War, but this a test card, not a real purchase, This happens also with VPN Any idea how to solve this?
android
3
2022-05-12T12:57:11.790Z
2,022
5
12
3
572
1
221
72
1
0
false
false
false
false
false
false
low
72,216,002
Android function is absent but exist in documentation
<p>There is a function addWeakLoadStateListener() in the documentation, but is absent in my build. I have latest version of page 2.</p> <p><a href="https://developer.android.com/reference/androidx/paging/PagedList#addWeakLoadStateListener(kotlin.Function2)" rel="nofollow noreferrer">https://developer.android.com/refere...
There is a function addWeakLoadStateListener() in the documentation, but is absent in my build. I have latest version of page 2. https://developer.android.com/reference/androidx/paging/PagedList#addWeakLoadStateListener(kotlin.Function2) My dependencies from buld gradle [CODE] }
android|android-jetpack
1
2022-05-12T12:57:16.090Z
2,022
5
12
3
42
1
279
53
2
1
true
false
false
false
false
false
low
72,216,080
how show response of text view after clicking a button
<p>I am trying to show response on screen using text view after clicking a button but getting error saying com.android.volley.toolbox.JsonObjectRequest cannot be cast to java.lang.CharSequence</p> <pre><code>package com.example.volleydemo; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; imp...
I am trying to show response on screen using text view after clicking a button but getting error saying com.android.volley.toolbox.JsonObjectRequest cannot be cast to java.lang.CharSequence [CODE] XML code here [CODE] errors on logcat shows i am getting this because at line 55 we can't use char sequence.so how do we ge...
android
0
2022-05-12T13:02:05.840Z
2,022
5
13
3
39
2
353
54
1
3
true
false
false
false
false
false
zero
72,216,107
ContentResolver openFile and ParcelFileDescriptor
<p>The openFile method of a ContentResolver allows read/write (rw) mode settings and returns a ParcelFileDescriptor (pfd). But the pfd only has subclasses for AutoCloseInputStream and AutoCloseOutputStream. In turn, these streams have a method for getChannel() which will return a FileChannel that can be used for rand...
The openFile method of a ContentResolver allows read/write (rw) mode settings and returns a ParcelFileDescriptor (pfd). But the pfd only has subclasses for AutoCloseInputStream and AutoCloseOutputStream. In turn, these streams have a method for getChannel() which will return a FileChannel that can be used for random ac...
android-contentresolver|randomaccessfile|parcelfiledescriptor
0
2022-05-12T13:03:56.447Z
2,022
5
13
3
46
0
1,190
49
3
0
false
true
false
false
false
false
zero
72,216,164
Bubble Notification on Xamarin Forms
<p>I have a project on Xamarin Forms with .Net Standard 2.0 and I need to create a have a blocking issue. At some point I go from my app to Google Map Navigation and I need a bubble(floating widget) like Facebook Messenger when Navigation it's open in order to go back to my app when the widget is clicked.</p> <p>Do you...
I have a project on Xamarin Forms with .Net Standard 2.0 and I need to create a have a blocking issue. At some point I go from my app to Google Map Navigation and I need a bubble(floating widget) like Facebook Messenger when Navigation it's open in order to go back to my app when the widget is clicked. Do you have any ...
c#|android|.net|xamarin
0
2022-05-12T13:08:08.457Z
2,022
5
13
3
83
0
376
36
4
0
false
true
false
false
false
false
zero
72,216,341
Recently I've been working on Chaquopy and there I've tried to implement port scanner in android using Python-Nmap Library
<p><b>Error:</b> PortScannerError: 'nmap program was not found in path. PATH is : /product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin'</p> <p>I've also tried to implement several other libraries like pandas, cryptography, numpy ...
Error: PortScannerError: 'nmap program was not found in path. PATH is : /product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin' I've also tried to implement several other libraries like pandas, cryptography, numpy etc... but these ...
python|android|kotlin|chaquopy
0
2022-05-12T13:18:24.960Z
2,022
5
13
3
46
0
588
122
4
0
false
true
false
false
false
false
zero
72,216,356
Android Google ARCore Face texture change
<p>I am using ArCore-android-SDK augmented faces sample from <a href="https://github.com/google-ar/arcore-android-sdk/tree/master/samples/augmented_faces_java" rel="nofollow noreferrer">google-ar repository</a> The fox's face is showing well.</p> <p>Now I have implemented a button and added several new masks to the ass...
I am using ArCore-android-SDK augmented faces sample from google-ar repository The fox's face is showing well. Now I have implemented a button and added several new masks to the assets. How can I change the texture that is shown on the user's face in runtime? The default image is freckles.png , and I want to change it ...
android|kotlin|augmented-reality|arcore|face
0
2022-05-12T13:19:29.860Z
2,022
5
13
3
70
0
590
41
5
3
true
true
false
false
false
false
zero
72,216,358
What to do when user inputs a number greater than max int?
<pre><code>int chirps = Integer.parseInt( et_Chirps.getText().toString().trim() ); </code></pre> <p><code>et_Chirps</code> is and editText containing a number.</p> <p>If a user enters a number greater than max int the program crashes.</p> <p>How to resolve this?</p>
[CODE] et_Chirps is and editText containing a number. If a user enters a number greater than max int the program crashes. How to resolve this?
java|android
-1
2022-05-12T13:19:33.980Z
2,022
5
13
3
34
1
142
58
2
1
true
false
false
false
false
true
negative
72,216,419
Shared preference not saving arraylist when minify enabled and shrink resources are set to true
<p>I am saving an arraylist to shared preference which I want to show offline to the user. but it would not work when minify enabled and shrink resources are set to true. here is the code of how I am saving the list and proguard rules. Please tell me whether there is a mistake in proguard rules or in saving arraylist. ...
I am saving an arraylist to shared preference which I want to show offline to the user. but it would not work when minify enabled and shrink resources are set to true. here is the code of how I am saving the list and proguard rules. Please tell me whether there is a mistake in proguard rules or in saving arraylist. Any...
android|android-studio|kotlin|gson|sharedpreferences
0
2022-05-12T13:23:37.963Z
2,022
5
13
3
53
0
353
95
5
1
true
true
false
false
false
false
zero
72,216,529
Is it possible to show touch feedback on android emulator?
<p>I am recording screen from the emulator and I would like the video to show where I clicked. How can I able the touch feedback from the emulator?</p>
I am recording screen from the emulator and I would like the video to show where I clicked. How can I able the touch feedback from the emulator?
android|android-emulator
0
2022-05-12T13:30:10.817Z
2,022
5
13
3
57
1
144
58
2
0
false
false
false
false
false
false
zero
72,216,533
How can I style Material Time Picker in Android Studio
<p>I am trying to style a MaterialTimePicker for my android application. The time-picker is meant to be a pop-up. Here's how I instantiate the time-picker:</p> <pre><code>timeBtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Calendar c...
I am trying to style a MaterialTimePicker for my android application. The time-picker is meant to be a pop-up. Here's how I instantiate the time-picker: [CODE] And here is my theme's XML file: [CODE] The style for my time-picker view is at the bottom part of the file. Finally, here's a screenshot of how my app currentl...
java|android-studio
0
2022-05-12T13:30:22.773Z
2,022
5
13
3
247
0
755
54
2
2
true
true
false
false
false
false
zero
72,216,553
Gradle : Specify tasks to be run in parallel
<p>I am working on an <code>Android</code> project that uses <code>gradle</code>. I have 5 tasks, say <code>taskA, taskB, task C, taskD, taskE</code>. Now whenever I run <code>taskA</code>, it should be followed by other 4 tasks. So, I wrote like this in my <code>build.gradle</code>:</p> <pre><code>taskA.finalizedBy(ta...
I am working on an Android project that uses gradle . I have 5 tasks, say taskA, taskB, task C, taskD, taskE . Now whenever I run taskA , it should be followed by other 4 tasks. So, I wrote like this in my build.gradle : [CODE] But I observe that these tasks are being executed sequentially and take much time. I have se...
gradle|android-gradle-plugin
0
2022-05-12T13:31:49.737Z
2,022
5
13
3
83
0
535
44
2
1
true
true
false
false
false
false
zero
72,216,573
When plugins to load *.obj files in flutter mobile project,all they can't load normal mapping image
<p>when I use several third plugins to load *.obj files in flutter mobile project,all they can't load normal mapping image.plugins,such as &quot;flutter_cube&quot;,it's source code do not include any code about load normal map image,nor any code include read &quot;map_bump&quot; in mtl file. May I ask you all,how to l...
when I use several third plugins to load *.obj files in flutter mobile project,all they can't load normal mapping image.plugins,such as &quot;flutter_cube&quot;,it's source code do not include any code about load normal map image,nor any code include read &quot;map_bump&quot; in mtl file. May I ask you all,how to load ...
android|ios|flutter|opengl-es
0
2022-05-12T13:33:09.580Z
2,022
5
13
3
103
0
363
99
4
0
false
true
false
false
false
false
zero
72,216,648
Kotlin Type mismatch: inferred type is Activity? but Context was expected ERROR after upgrading flutter to the 3.0.0
<p>I am using <a href="https://github.com/ravinandan25/simple_beacons_flutter/tree/master/android" rel="noreferrer">beacon plugin</a>. After I upgraded flutter to the version 3.0.0, it throwed this error:</p> <pre><code>Class 'BeaconsPlugin' is not abstract and does not implement abstract member public abstract fun onR...
I am using beacon plugin . After I upgraded flutter to the version 3.0.0, it throwed this error: [CODE] I've solved it by removing question marks from lines [CODE] to this [CODE] in onRequestPermissionsResult method. And than it throwed a different error: BeaconsPlugin.kt: (66, 32): Type mismatch: inferred type is Acti...
android|flutter|kotlin
8
2022-05-12T13:38:00.490Z
2,022
5
13
3
2,577
1
445
116
3
4
true
false
false
false
false
false
medium
72,216,661
Unable to build iOS or Android app after upgrade to Flutter 3.0
<p>After upgrading to Flutter 3.0 I am no longer able to build any of my apps for either iOS or Android and get the same errors in both builds:</p> <pre><code>: Error: Member not found: 'UnicodeChar'. int get UnicodeChar =&gt; Char.UnicodeChar; ^^^^^^^^^^^ : Error: Setter not found: 'Uni...
After upgrading to Flutter 3.0 I am no longer able to build any of my apps for either iOS or Android and get the same errors in both builds: [CODE] and these errors are in the file &quot;src/structs.g.dart&quot; (part of Flutter/Dart as far as I can tell) as follows: [CODE] I am running VSCode 1.67.1 on macOS Monterey ...
android|ios|flutter|dart
4
2022-05-12T13:38:40.470Z
2,022
5
13
3
1,867
4
663
63
4
2
true
false
false
false
false
false
low
72,216,780
Is it possible to give a custom toolbar to FirebaseUI?
<p>I'm using FirebaseUI Auth and the setup looks like this</p> <pre><code>Intent signInIntent = AuthUI.getInstance().createSignInIntentBuilder().setAvailableProviders(Arrays.asList( new AuthUI.IdpConfig.EmailBuilder().build(), new AuthUI.IdpConfig.GoogleBuilder().build(), new AuthUI.IdpConfig.Fa...
I'm using FirebaseUI Auth and the setup looks like this [CODE] Theme.MyApplication [CODE] As you can see I removed default Toolbar using parent=&quot;Theme.MaterialComponents.Light.NoActionBar&quot; and I put custom MaterialToolbar inside activity_main.xml . But the Firebase login screen looks without a Toolbar, How ca...
android|firebase|android-fragments|firebase-authentication|firebaseui
0
2022-05-12T13:47:12.397Z
2,022
5
13
3
22
0
411
54
5
2
true
true
false
false
false
false
zero
72,216,846
Jetpack Compose "pops backstacks"/returns to home screen when updating literals with Live Edit
<p>Android Studio have a &quot;Live Edit of literals&quot; feature, but whenever I change a literal and I'm not on the homescreen, it pops back to the homescreen, resulting in I cannot see the updated view. Yesteday Android Studio Electric Eel was released with the Live Edit feature which should do the same, but for mo...
Android Studio have a &quot;Live Edit of literals&quot; feature, but whenever I change a literal and I'm not on the homescreen, it pops back to the homescreen, resulting in I cannot see the updated view. Yesteday Android Studio Electric Eel was released with the Live Edit feature which should do the same, but for most ...
android|android-jetpack-compose|liveedit
1
2022-05-12T13:51:38.943Z
2,022
5
13
3
68
0
1,105
94
3
0
false
true
false
false
false
false
low
72,216,952
Receive post data send to html from WebView in Android
<p>Is it possible to listen for data received by an HTTP post to a web page opened in a WebView in Android?. For more clarity, I am trying to integrate worldpay flow with webview and the final step of the 3ds flow is to receive 3ds token to a redirection URL and I need to gather that info &amp; finalise the payment. Is...
Is it possible to listen for data received by an HTTP post to a web page opened in a WebView in Android?. For more clarity, I am trying to integrate worldpay flow with webview and the final step of the 3ds flow is to receive 3ds token to a redirection URL and I need to gather that info & finalise the payment. Is such t...
java|android|android-studio|http|webview
0
2022-05-12T13:56:55.400Z
2,022
5
13
3
17
0
357
54
5
0
false
true
false
false
false
false
zero
72,216,961
AppGallery - uploading aab - failed to parse the manifest file for the AAB package
<p>I'm trying to upload our RN app to Huawei AppGallery but can't seem to get past the package verification. I've manually verified app bundle according to the <a href="https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-appsigning-aabtest-0000001059321484" rel="nofollow noreferrer">d...
I'm trying to upload our RN app to Huawei AppGallery but can't seem to get past the package verification. I've manually verified app bundle according to the documentation here . Uploading from my browser (Firefox 100.0, Win11) results in &quot;Failed to parse the manifest file for the AAB package&quot; error shown just...
android|react-native|android-studio|huawei-developers|appgallery
1
2022-05-12T13:57:39.210Z
2,022
5
13
3
125
1
1,274
82
5
0
false
false
false
false
false
false
low
72,216,976
MediaProjectionManager got freezes after some number of screenshots
<p>I am using <code>MediaProjectionManager</code> for taking screenshots from the <code>ForegroundService</code>. I discovered that the behavior of capturing surface works differently in <code>Android 10</code> and <code>Android 11</code>.</p> <p>When I take a screenshot</p> <pre><code> fun captureBitmap(frame: CropFra...
I am using MediaProjectionManager for taking screenshots from the ForegroundService . I discovered that the behavior of capturing surface works differently in Android 10 and Android 11 . When I take a screenshot [CODE] onImageAvailable triggered [CODE] Then I release it [CODE] This flow can be triggered a lot of times ...
android|android-11|android-mediaprojection
0
2022-05-12T13:58:15.033Z
2,022
5
13
3
24
0
570
67
3
3
true
true
false
false
false
false
zero
72,217,098
Inspect Element on Android to view values of cookies without the need of root
<pre><code>javascript:(function () { var script = document.createElement('script'); script.src=&quot;//cdn.jsdelivr.net/npm/eruda&quot;; document.body.appendChild(script); script.onload = function () { eruda.init() } })(); </code></pre> <p>This script can do something like <strong><cod...
[CODE] This script can do something like Inspect Element using Chrome in Android . You just need to add a bookmark which has a url that contains this script. I've tried using it with other websites like the results when I searched from google, websites from the results given by google, and even this website Stackoverfl...
android|cookies|browser|web-inspector
0
2022-05-12T14:05:33.297Z
2,022
5
14
3
1,052
0
451
77
4
1
true
true
false
false
false
false
zero
72,217,119
Update notification from another function
<p>My service is setting a notification using the following code:</p> <pre><code>RemoteViews rv = new RemoteViews(getPackageName(), R.layout.notification); rv.setImageViewResource(R.id.n_icon, R.drawable.ic_stat_action_trending_up); rv.setTextViewText(R.id.n_text, &quot;This is one.&quot;); PendingIntent pi = PendingI...
My service is setting a notification using the following code: [CODE] I am trying to update this notification based on changes in the application. I am unsure how I would update the icon, title, and content text after creating this. I have tried doing something like: [CODE] But this doesn't update it.
java|android|android-studio
0
2022-05-12T14:07:01.320Z
2,022
5
14
3
12
0
302
41
3
2
true
true
false
false
false
false
zero
72,217,146
Provided camera selector unable to resolve a camera for the given use case
<p>I use camera in compose to take picture. Code for camera preview^</p> <pre><code>@Composable fun CameraPreview( modifier: Modifier = Modifier, scaleType: PreviewView.ScaleType = PreviewView.ScaleType.FILL_CENTER, onUseCase: (UseCase) -&gt; Unit = { } ) { AndroidView( modifier = modifier, ...
I use camera in compose to take picture. Code for camera preview^ [CODE] Code for take picture [CODE] The code works fine all time, but suddenly (on this week) it started to thorws an exceptions like java.lang.IllegalArgumentException: Provided camera selector unable to resolve a camera for the given use case with mess...
android|android-camera|android-jetpack-compose
1
2022-05-12T14:08:37.207Z
2,022
5
14
3
580
2
728
74
3
4
true
false
false
false
false
false
low
72,217,153
How to define a BuildConfig field for all modules of a project (gradle KTS)?
<p>Is there any way I can create a BuildConfig field for all my modules through the project's <code>build.gradle.kts</code> file?</p>
Is there any way I can create a BuildConfig field for all my modules through the project's build.gradle.kts file?
android|gradle|gradle-kotlin-dsl
0
2022-05-12T14:09:04.280Z
2,022
5
14
3
368
1
113
76
3
0
false
false
false
false
false
false
zero
72,217,216
Android 13 - enable accessibility service for APK which installed not from Google Play
<p>On the <a href="https://developer.android.com/about/versions/13/get" rel="nofollow noreferrer">beta version of Android 13</a> user can't enable Accessibility from the Settings app. When the user try to do it there is an error:</p> <blockquote> <p>Restricted Setting<br /> For your security, this setting is currently ...
On the beta version of Android 13 user can't enable Accessibility from the Settings app. When the user try to do it there is an error: Restricted Setting For your security, this setting is currently unavailable. How can I enable accessibility on Android 13?
android|accessibilityservice|android-13
0
2022-05-12T14:12:41.037Z
2,022
5
14
3
1,127
1
257
86
3
0
false
false
false
false
false
false
zero
72,217,293
ScrollView too long therefore produce white borders
<p>I'm still working on my android application and I still struggle with XML ans scroll views. I want to display an AlertDialog which contains:</p> <ul> <li>A JPEG image a the top of the window</li> <li>two EditText under the picture, at the same Y coordinate. (and both the negative and positive button of the dialog wh...
I'm still working on my android application and I still struggle with XML ans scroll views. I want to display an AlertDialog which contains: A JPEG image a the top of the window two EditText under the picture, at the same Y coordinate. (and both the negative and positive button of the dialog which seem to work fine) th...
java|android|xml|scrollview|android-alertdialog
1
2022-05-12T14:18:02.833Z
2,022
5
14
3
16
2
966
51
5
2
true
false
false
false
false
false
low
72,217,310
How to recreate the Material Design Speed Dial animation from the FAB in Compose?
<p>I'm trying to recreate the animation for the expanded Speed Dial shown on the <a href="https://material.io/components/buttons-floating-action-button#types-of-transitions" rel="nofollow noreferrer">Material Design website</a> but I'm struggling to achieve the exact same result in Compose. For now I tried to play with...
I'm trying to recreate the animation for the expanded Speed Dial shown on the Material Design website but I'm struggling to achieve the exact same result in Compose. For now I tried to play with the AnimatedVisibility of the ColumnScope but I don't thin it's possible to replicate the same behavior. Any suggestion on ho...
material-design|android-jetpack-compose
1
2022-05-12T14:18:46.467Z
2,022
5
14
3
86
2
338
81
2
0
false
false
false
false
false
false
low
72,217,315
Android design screen not shown
<p>I have an android app with dark/white modes so i have this class</p> <pre><code>class CustomThemeTextView : TextView { constructor(context: Context?) : super(context) { } constructor(context: Context?, attrs: AttributeSet?) : super( context, attrs ) { all() } construc...
I have an android app with dark/white modes so i have this class [CODE] with this prefrences AppPreferences.appIsDark class [CODE] The problem is that the Design is not showing with textViews set to the above class name And i get this error in Design with red circle that is can't load the custom class as it depends on ...
android|kotlin|layout
0
2022-05-12T14:19:01.590Z
2,022
5
14
3
21
0
471
31
3
2
true
true
false
false
false
false
zero
72,217,337
How to implement Hint Messages and Walkthrough/Onboarding for users in Android App
<p>I need to implement hint messages as Google has implemented in their app.<br /> Please see below screenshots.<br /> a) How to achieve the message highlights in green color (Image1)<br /> b) How to add below blue color walkthrough OR onboarding without using any third party library.(Image 2)</p> <p><a href="https://i...
I need to implement hint messages as Google has implemented in their app. Please see below screenshots. a) How to achieve the message highlights in green color (Image1) b) How to add below blue color walkthrough OR onboarding without using any third party library.(Image 2)
android|kotlin|android-layout
0
2022-05-12T14:20:37.770Z
2,022
5
14
3
81
0
273
82
3
0
false
true
false
false
false
false
zero
72,217,388
How to add Repository maven in new Android Studio Project setup(2022)?
<p>I want to use the <a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow noreferrer">maven library</a> in the android studio project. in the library documentation, they mention adding like this,</p> <pre><code>repositories { maven { url 'https://jitpack.io' } } dependencies { implementation 'com....
I want to use the maven library in the android studio project. in the library documentation, they mention adding like this, [CODE] But in the new android studio build.gradle file looks like this [CODE] So, how do I want to add this library repository, Thank you
java|android|android-studio|maven
1
2022-05-12T14:24:48.373Z
2,022
5
14
3
656
2
261
70
4
2
true
false
false
false
false
false
low
72,217,410
Selenium Android web test 'Save Card?' pop-up blocking test clicks
<p>Hey I am having an issue with Selenium web tests with the Chrome mobile browser running on an Android device through Browserstack.</p> <p>When I enter card details, the'Save Card?' pop-up appears and prevents test clicks on web elements that it covers:</p> <p><a href="https://i.stack.imgur.com/QUpTQ.png" rel="nofoll...
Hey I am having an issue with Selenium web tests with the Chrome mobile browser running on an Android device through Browserstack. When I enter card details, the'Save Card?' pop-up appears and prevents test clicks on web elements that it covers: Ive have tried a few solutions such as passing chrome arguments through to...
android|selenium|webdriver|browserstack|remotewebdriver
0
2022-05-12T14:26:30.203Z
2,022
5
14
3
36
1
663
66
5
2
true
false
false
false
false
false
zero
72,217,504
Is there a CtsDelegatingAccessibilityService for android 12 (AOSP)?
<p>I tried to find a CtsDelegatingAccessibilityService for android 12, but there may not be one for android 12. Is there something else that replaces it?</p>
I tried to find a CtsDelegatingAccessibilityService for android 12, but there may not be one for android 12. Is there something else that replaces it?
android|accessibility|android-source
0
2022-05-12T14:31:35.630Z
2,022
5
14
3
26
0
150
67
3
0
false
true
false
false
false
false
zero
72,217,509
Can we customize NavigationRailView Maximum menu item count in Android App
<p>When I tired to add more than 7 menu items to NavigationRailView , I am getting error saying Max Item Count is 7 . <a href="https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/navigationrail/NavigationRailView.java#L333" rel="nofollow noreferrer">https:...
When I tired to add more than 7 menu items to NavigationRailView , I am getting error saying Max Item Count is 7 . https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/navigationrail/NavigationRailView.java#L333 Is there any way to customize this ? or any a...
android|material-design|material-components-android
0
2022-05-12T14:32:14.037Z
2,022
5
14
3
27
0
354
74
3
0
false
true
false
false
false
false
zero
72,217,598
Glide won't load pictures Android Kotlin
<p>I need images from firebase storage to be loaded into my application and displayed in recycle view</p> <p>For this I decided to use a glide</p> <p>But when I run the application, nothing is displayed, just a blank screen, and there are no errors</p> <p>I rewrote the code several times, as for me this is the working ...
I need images from firebase storage to be loaded into my application and displayed in recycle view For this I decided to use a glide But when I run the application, nothing is displayed, just a blank screen, and there are no errors I rewrote the code several times, as for me this is the working one, but it still does n...
android|kotlin|android-glide
0
2022-05-12T14:38:03.397Z
2,022
5
14
3
69
0
429
40
3
3
true
true
false
false
false
false
zero
72,217,656
Calabash-android resign with signature scheme v2
<p>I'm trying to install and run a debug APK with Calabash-android, but it is failing because the scheme of the signature.</p> <p>My original APK is signed with the debug keystore using scheme v2 (signed when building it via gradle):</p> <pre><code>$ apksigner verify -v myapp.apk Verifies Verified using v1 scheme (JAR ...
I'm trying to install and run a debug APK with Calabash-android, but it is failing because the scheme of the signature. My original APK is signed with the debug keystore using scheme v2 (signed when building it via gradle): [CODE] However, it cannot be used as it is with calabash-android (getting error No signature fil...
android|calabash|calabash-android|apk-signing
1
2022-05-12T14:41:42.993Z
2,022
5
14
3
63
0
932
48
4
4
true
true
false
false
false
false
low
72,217,728
How to make a switch for language?
<p>I installed the Flutter intl plugin in Android Studio and included the intl package. Created two languages ​​in the project. I have created two folders: generated and l10n with language files. How can I make a button that will switch the language at runtime? I need to do a toggle using Bloc package.</p> <p><div clas...
I installed the Flutter intl plugin in Android Studio and included the intl package. Created two languages ​​in the project. I have created two folders: generated and l10n with language files. How can I make a button that will switch the language at runtime? I need to do a toggle using Bloc package. [CODE]
flutter|android-studio|dart
0
2022-05-12T14:47:54.500Z
2,022
5
14
3
37
0
307
34
3
1
true
true
false
false
false
false
zero
72,217,766
React native webview copy and download not working
<p>I have built an android app using react native. Inside the app I am using the <code>react-native-webview</code> package to show a React app.</p> <pre><code>import {WebView} from 'react-native-webview'; &lt;WebView useWebKit={true} source={{ uri: 'https://myappurl.com', }} style={{flex: 1}} /&gt; </code>...
I have built an android app using react native. Inside the app I am using the react-native-webview package to show a React app. [CODE] I have set the android.permission.WRITE_EXTERNAL_STORAGE permission in andoid manifest and also set android.useAndroidX=true and android.enableJetifier=true in gradle properties. Yet wh...
android|react-native|clipboard|android-download-manager|react-native-webview
0
2022-05-12T14:50:40.123Z
2,022
5
14
3
561
1
654
50
5
1
true
false
false
false
false
false
zero
72,217,819
Top status bar is not showing when expo run:android is run
<p><strong>Running an ideal react native app on an emulator</strong></p> <p>The below image comes soon after the building process finishes and the app runs smoothly without any problem. This is another project btw.</p> <p><img src="https://i.stack.imgur.com/i8JZc.png" alt="1" /></p> <p><strong>Running expo run:android<...
Running an ideal react native app on an emulator The below image comes soon after the building process finishes and the app runs smoothly without any problem. This is another project btw. Running expo run:android But when I run an expo project using the expo run:android command, the build finishes successfully but afte...
android|react-native|expo|build.gradle
0
2022-05-12T14:54:46.997Z
2,022
5
14
3
256
0
652
58
4
0
false
true
false
false
false
false
zero
72,217,829
how to create a timer minutes by pressing the button?
<p>how to create a timer for 2 minutes by pressing the button? I want to create a button that after pressing this button will unclicable for 2 minutes</p>
how to create a timer for 2 minutes by pressing the button? I want to create a button that after pressing this button will unclicable for 2 minutes
java|android|button
-1
2022-05-12T14:55:41.930Z
2,022
5
14
3
35
1
147
53
3
0
false
false
false
false
false
true
negative
72,217,847
"Expecting top level declaration" for this piece of code
<blockquote> <pre><code>package com.example.shortvideoapp.model data class Comment(var avatar:Int,var comment:String) { constructor():this(0,&quot;&quot;) } </code></pre> </blockquote> <p>How can I fix this? Any kind of help will be appreciated. Thank you.</p>
[CODE] How can I fix this? Any kind of help will be appreciated. Thank you.
android-studio|kotlin
0
2022-05-12T14:57:09.120Z
2,022
5
14
3
18
0
75
56
2
1
true
true
false
false
false
false
zero
72,217,854
Android java.lang.AssertionError: Verification failed: call 1 of 1: method was not called
<p>I'm writing tests with mockito, trying to check if a method was called, but I always get this error:</p> <p><strong>java.lang.AssertionError: Verification failed: call 1 of 1: method was not called</strong></p> <p>This is the method call on my fragment:</p> <pre><code>private val tracker: PJAccountTracker by inject(...
I'm writing tests with mockito, trying to check if a method was called, but I always get this error: java.lang.AssertionError: Verification failed: call 1 of 1: method was not called This is the method call on my fragment: [CODE] And this is the test I'm doing: [CODE] I don't understand why I'm getting this error, sinc...
android|kotlin|mockito
0
2022-05-12T14:57:28.710Z
2,022
5
14
3
206
1
468
89
3
2
true
false
false
false
false
false
zero
72,217,856
How to add smooth movement, relative positioning and animations to chat heads like views
<p>I am using &quot;Draw over other aps&quot; to show a chat head like view.<br /> I need to position it relatively and show animation while dismissing it.</p> <p>Please see first video/gif of google:<br /> Please note:<br /> a) In first video: the view can be position relative to screen blocks designed by system.<br /...
I am using &quot;Draw over other aps&quot; to show a chat head like view. I need to position it relatively and show animation while dismissing it. Please see first video/gif of google: Please note: a) In first video: the view can be position relative to screen blocks designed by system. b) The movement is smooth. c) Wh...
android|kotlin|android-layout
0
2022-05-12T14:57:40.073Z
2,022
5
14
3
57
1
601
88
3
2
true
false
false
false
false
false
zero
72,217,868
Trailing hyphen in Android TextView
<p>I'm experiencing an issue when limiting number (setting <code>maxLines </code>) of rows and space in an Android TextView with hyphenation (<code>hyphenationFrequency=&quot;full&quot;</code>). For example, trying to display the following string <code>Long\u00adstring\u00adfoobar</code>, which contains soft hyphens (<...
I'm experiencing an issue when limiting number (setting maxLines ) of rows and space in an Android TextView with hyphenation ( hyphenationFrequency=&quot;full&quot; ). For example, trying to display the following string Long\u00adstring\u00adfoobar , which contains soft hyphens ( \u00ad ), in a TextView where the strin...
android|hyphenation
0
2022-05-12T14:58:19.930Z
2,022
5
14
3
98
0
536
35
2
1
true
true
false
false
false
false
zero
72,217,897
Disable keyboard on textField in Jetpack Compose Android?
<p>I'm doing a calculator. So I made my Buttons with numbers and functions. The expression that has to be calculated is in a TextField because I want users can add numbers or functions also in the middle of the expression, so with the TextField, I have the cursor. But I want to disable the Keyboard when users click on ...
I'm doing a calculator. So I made my Buttons with numbers and functions. The expression that has to be calculated is in a TextField because I want users can add numbers or functions also in the middle of the expression, so with the TextField, I have the cursor. But I want to disable the Keyboard when users click on the...
android
0
2022-05-12T14:59:58.130Z
2,022
5
14
3
96
0
416
57
1
1
true
true
false
false
false
false
zero
72,217,948
Android studio, math formula, MWE
<p>What is absolutely necessary to do (what is MWE) so that I get this formula in my Android Studio App:</p> <p>$$\frac{\eta_i(v)}{\sum_{i\in N}\eta_i(v)}$$.</p> <p>The simpler the solution, the better. I have found some solutions but they are awkward. The result should look like this.</p> <p><a href="https://i.stack....
What is absolutely necessary to do (what is MWE) so that I get this formula in my Android Studio App: $$\frac{\eta_i(v)}{\sum_{i\in N}\eta_i(v)}$$. The simpler the solution, the better. I have found some solutions but they are awkward. The result should look like this.
android-studio|formula
0
2022-05-12T15:02:46.010Z
2,022
5
15
3
15
0
269
33
2
0
false
true
false
false
false
false
zero
72,218,100
'onRequestPermissionsResult' overrides nothing when requesting access to storage using flutter
<p>I am trying to get permission to access music files in android using onAudioQuery package flutter but it is giving me this error:</p> <pre><code>e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\on_audio_query-2.6.0\android\src\main\kotlin\com\lucasjosino\on_audio_query\OnAudioQueryPlugin.kt: (38, 1): Class 'OnAudioQ...
I am trying to get permission to access music files in android using onAudioQuery package flutter but it is giving me this error: [CODE] And My code is here: [CODE]
flutter|dart|android-permissions
0
2022-05-12T15:11:03.637Z
2,022
5
15
3
285
2
164
94
3
2
true
false
false
false
false
false
zero
72,218,166
How to regulate microphone range distance in android programmatically?
<p>Is there a way to control the android device microphone distance range (or sensitivity)? I got an app that use voice recognition and I want to control range to avoid some un needed voices around.</p>
Is there a way to control the android device microphone distance range (or sensitivity)? I got an app that use voice recognition and I want to control range to avoid some un needed voices around.
android
0
2022-05-12T15:15:45.073Z
2,022
5
15
3
10
0
195
70
1
0
false
true
false
false
false
false
zero
72,218,328
Android Profiler and Layout Inspector don't detect device
<p>Just installed Android studio in a new Mac and updated to Chipmunk. I was able to launch my app normally in an emulator, except I wasn't able to connect to Layout Inspector or Profiler.</p> <p>Connection assistant, adb and Logcat are able to detect the Emulator.</p> <p><strong>Android Studio info:</strong></p> <bloc...
Just installed Android studio in a new Mac and updated to Chipmunk. I was able to launch my app normally in an emulator, except I wasn't able to connect to Layout Inspector or Profiler. Connection assistant, adb and Logcat are able to detect the Emulator. Android Studio info: Android Studio Chipmunk | 2021.2.1 Build #A...
android|android-studio|android-profiler|layout-inspector|android-studio-chipmunk
1
2022-05-12T15:27:23.003Z
2,022
5
15
3
125
0
739
57
5
0
false
true
false
false
false
false
low
72,218,422
Does anyone know a good way to make the initial fragment return when double-clicking on tab in bottomNavigationView?
<p>Now i guess i can make it with <code>views.bottomNavigationView.setOnItemSelectedListener</code> and <code>supportFragmentManager transactions</code>. But i guess it is bad way for this realization. Maybe there is an easier way with <code>setupWithNavController</code>?</p> <p>now my navigation looks like <a href="ht...
Now i guess i can make it with views.bottomNavigationView.setOnItemSelectedListener and supportFragmentManager transactions . But i guess it is bad way for this realization. Maybe there is an easier way with setupWithNavController ? now my navigation looks like my navigation and in includes i have fragments with action...
android|android-fragments|fragment|bottomnavigationview
0
2022-05-12T15:34:03.103Z
2,022
5
15
3
13
0
392
116
4
0
false
true
false
false
false
false
zero
72,218,457
Android equivalent of Apple’s CVPixelBuffer
<p>Does Android have a class or functionalities that is equivalent to Apple’s <a href="https://developer.apple.com/documentation/corevideo/cvpixelbuffer-q2e" rel="nofollow noreferrer">CVPixelBuffer</a>? I would like to be able to perform such operations as CVPixelBufferGetBaseAddress, CVPixelBufferLockBaseAddress, etc...
Does Android have a class or functionalities that is equivalent to Apple’s CVPixelBuffer ? I would like to be able to perform such operations as CVPixelBufferGetBaseAddress, CVPixelBufferLockBaseAddress, etc.
android|ios|cvpixelbuffer
0
2022-05-12T15:36:52.770Z
2,022
5
15
3
15
0
208
43
3
0
false
true
false
false
false
false
zero
72,218,511
Issue when sending http requests to android emulated devive
<p>I m trying to run some ui automated tests on a android virtual device( android studio) and I have the bellow issue:</p> <p>After my app is installed on the device , from my framework I sending http request to some endpoints which are exposed by my client( mobile app) but seems like the requests are not reaching the ...
I m trying to run some ui automated tests on a android virtual device( android studio) and I have the bellow issue: After my app is installed on the device , from my framework I sending http request to some endpoints which are exposed by my client( mobile app) but seems like the requests are not reaching the client. An...
android|mobile|automated-tests|adb
0
2022-05-12T15:41:14.097Z
2,022
5
15
3
35
1
341
59
4
0
false
false
false
false
false
false
zero
72,218,541
Is this a bug relating to LiveData
<p>I have isolated the code to show this problem.</p> <p>I have a recyclerview inside a fragment. I also have LiveData and MutableLiveData.</p> <p>In the ViewModel.kt code there are these two lines in this order and it works fine:</p> <pre><code>private val mMLD = MutableLiveData&lt;OneLine&gt;() var mLD : LiveData&lt;...
I have isolated the code to show this problem. I have a recyclerview inside a fragment. I also have LiveData and MutableLiveData. In the ViewModel.kt code there are these two lines in this order and it works fine: [CODE] If I reverse the order, ie [CODE] the program crashes. Is this a bug? I am using Android Studio Chi...
android|kotlin|android-livedata|mutablelivedata
1
2022-05-12T15:43:00.287Z
2,022
5
15
3
44
1
386
34
4
7
true
false
false
false
false
false
low
72,218,645
Shared srcDirs between test and androidTest, unresolved references after upgrade to Android Studio Chipmunk (IntelliJ 2021.2.1)
<p>I just upgraded from Bumblebee to Chipmunk, and I am having multiple dependency-resolution issues in my instrumented androidTests.</p> <p>These are what my source sets look like:</p> <pre><code>sourceSets { test.java.srcDirs += 'src/testShared/kotlin' test.resources.srcDirs += 'src/testShared/resources' ...
I just upgraded from Bumblebee to Chipmunk, and I am having multiple dependency-resolution issues in my instrumented androidTests. These are what my source sets look like: [CODE] The idea is to share test data between unit tests and instrumented tests. Keep in mind, the tests can build and execute, but the dependencies...
android|android-studio|intellij-idea|source-sets|shared-resource
29
2022-05-12T15:50:40.900Z
2,022
5
15
3
1,369
1
1,182
127
5
1
true
false
false
false
true
false
high
72,218,651
Nest Tab Component inside Drawer but each drawer component must have in sync with Tab Component
<p>I have Tab component nested inside a Drawer Component. If I click Home on the Drawer Nav, I go to home page (home tab) having bottom tab. But if I click for other screens on the drawer, I go to those pages but they don't have the bottom tab. Instead of recreating same tab component for each screen, how do I have thi...
I have Tab component nested inside a Drawer Component. If I click Home on the Drawer Nav, I go to home page (home tab) having bottom tab. But if I click for other screens on the drawer, I go to those pages but they don't have the bottom tab. Instead of recreating same tab component for each screen, how do I have this b...
javascript|android|react-native|react-native-navigation
0
2022-05-12T15:51:01.850Z
2,022
5
15
3
19
0
620
95
4
2
true
true
false
false
false
false
zero
72,218,696
Cross-Compiling Library for Android with OpenSSL Dependencies
<p>I'm working on a project, where I have a lot of C code that is supposed to run in Android. My code depends on three libraries: AMCL, OpenSSL, and IBMTSS.</p> <p>I was able to compile AMCL and OpenSSL to Android x86_64, and it seems to work fine. The problem, however, is IBMTSS. The library needs to be linked with Op...
I'm working on a project, where I have a lot of C code that is supposed to run in Android. My code depends on three libraries: AMCL, OpenSSL, and IBMTSS. I was able to compile AMCL and OpenSSL to Android x86_64, and it seems to work fine. The problem, however, is IBMTSS. The library needs to be linked with OpenSSL as w...
android|openssl|linker|linker-errors
0
2022-05-12T15:54:20.620Z
2,022
5
15
3
45
0
1,139
61
4
2
true
true
false
false
false
false
zero
72,218,706
How do I create a button in kotlin without xml?
<p>How do I make a button without any XML? I tried XML but it did not work and it is &quot;Old&quot; I heard.</p>
How do I make a button without any XML? I tried XML but it did not work and it is &quot;Old&quot; I heard.
android|kotlin
0
2022-05-12T15:55:05.770Z
2,022
5
15
3
76
1
106
47
2
0
false
false
false
false
false
false
zero
72,218,755
Android: MotionEvent ACTION_UP doesn't trigger after ACTION_CANCEL
<p>I'm making video stories like instagram. So I met a problem with gestures.</p> <p>The problem is that ACTION_CANCEL handled when I'm doing these moves and ACTION_UP doesn't call if I raise my finger</p> <ol> <li>I'm in 1st page of ViewPager and I swipe left-&gt;right fastly (my finger still on screen)</li> <li>I'm i...
I'm making video stories like instagram. So I met a problem with gestures. The problem is that ACTION_CANCEL handled when I'm doing these moves and ACTION_UP doesn't call if I raise my finger I'm in 1st page of ViewPager and I swipe left->right fastly (my finger still on screen) I'm in the middle of ViewPager and I swi...
android|kotlin|motionevent|user-stories
0
2022-05-12T15:58:43.203Z
2,022
5
15
3
105
2
669
66
4
1
true
false
false
false
false
false
zero
72,218,797
Broadcast ACTION_PACKAGE_ADDED or ACTION_PACKAGE_REPLACED not invoked when installing apk from AndroidStudio
<p>I have an Android project with 2 apps.</p> <p>AppA register a receiver for the actions <code>ACTION_PACKAGE_ADDED</code> or <code>ACTION_PACKAGE_REPLACED</code> from code (not in it's Manifest).</p> <p>When I install AppB from command line with <code>adb install AppB.apk</code> I see that the BroadcastReceiver from ...
I have an Android project with 2 apps. AppA register a receiver for the actions ACTION_PACKAGE_ADDED or ACTION_PACKAGE_REPLACED from code (not in it's Manifest). When I install AppB from command line with adb install AppB.apk I see that the BroadcastReceiver from AppA receive a broadcast intent as expected. When I depl...
android|android-studio|broadcastreceiver
0
2022-05-12T16:01:52Z
-1
-1
-1
-1
247
2
1,307
108
3
0
false
false
false
false
false
false
zero
72,218,804
How to add Timer after clicking a button to get response
<p>If i click button it prints response on the screen.but what i want is for every response it should print corresponding time also.and then it should show difference between time if we click button multiple time.it should print the difference between last and 2nd last response time.i tried this till now.</p> <pre><cod...
If i click button it prints response on the screen.but what i want is for every response it should print corresponding time also.and then it should show difference between time if we click button multiple time.it should print the difference between last and 2nd last response time.i tried this till now. [CODE] Xml code ...
android
-1
2022-05-12T16:02:51.067Z
2,022
5
16
3
27
1
332
56
1
2
true
false
false
false
false
true
negative
72,218,815
Error: I/flutter (15548): null on terminal
<p>I'm currently doing this tutorial from YouTube : <a href="https://www.youtube.com/watch?v=-Sol_RMG_fo&amp;ab_channel=dbestech" rel="nofollow noreferrer">https://www.youtube.com/watch?v=-Sol_RMG_fo&amp;ab_channel=dbestech</a> in the tutorial, I can't get the data from back end to flutter, so I asked the YouTuber what...
I'm currently doing this tutorial from YouTube : https://www.youtube.com/watch?v=-Sol_RMG_fo&ab_channel=dbestech in the tutorial, I can't get the data from back end to flutter, so I asked the YouTuber what should I do?, and he tells me to print statuscode using response.statusCode, so I did it: Here's the code from Flu...
flutter|android-studio|go
1
2022-05-12T16:03:29.263Z
2,022
5
16
3
246
1
483
42
3
4
true
false
false
false
false
false
low
72,218,976
Attributes in App (Buttons, text, etc) jump to top left corner
<p>I am new to android development, but right now anything I add just go to the top left corner of the app once I run it. I am completely unsure how to fix this. Here's a screenshot of what I mean. Thank you <a href="https://i.stack.imgur.com/iJNBH.png" rel="nofollow noreferrer">UI Jumping</a></p> <pre><code>enter code...
I am new to android development, but right now anything I add just go to the top left corner of the app once I run it. I am completely unsure how to fix this. Here's a screenshot of what I mean. Thank you UI Jumping [CODE]
android
0
2022-05-12T16:14:46.580Z
2,022
5
16
3
9
0
222
62
1
1
true
true
false
false
false
false
zero
72,218,994
Why does Xamarin.FFImageLoading SVG is not working on Android 11 & 12?
<p>Xamarin.FFImageLoading SVG seems to not be working on Android 11 &amp; 12.</p> <p>For example, when I do Android Target to 11 Version, setting the SVG on Embedded Resource, with this code:</p> <pre class="lang-xml prettyprint-override"><code>&lt;ffimageloadingsvg:SvgCachedImage HeightRequest=&quot;12&quot; Source=&q...
Xamarin.FFImageLoading SVG seems to not be working on Android 11 & 12. For example, when I do Android Target to 11 Version, setting the SVG on Embedded Resource, with this code: [CODE] This SVG works fine except on Android 11 & 12. Could anyone please help to figure out why it's not showing on Android 11 & 12?
android|xamarin|svg|ffimageloading
0
2022-05-12T16:16:21.007Z
2,022
5
16
3
269
1
311
70
4
1
true
false
false
false
false
false
zero
72,219,084
Installed apk doesn't start
<p>I have to write couple tests on <code>Xamarin UI Test</code> framework to check apk on emulator. I tried to install my apk in two ways:</p> <p>1 adb.exe install <code>path\com.company.mobiledemo.apk</code></p> <p>2 through <code>Xamarin UI Test</code></p> <pre><code>if (platform == Platform.Android) { AndroidAp...
I have to write couple tests on Xamarin UI Test framework to check apk on emulator. I tried to install my apk in two ways: 1 adb.exe install path\com.company.mobiledemo.apk 2 through Xamarin UI Test [CODE] In first approach apk installed and working correctly. But when apk installed via code above apk will be install b...
android|xamarin|xamarin.uitest
1
2022-05-12T16:21:56.687Z
2,022
5
16
3
83
1
431
27
3
2
true
false
false
false
false
false
low
72,219,148
Broadcast receiver not working for INITIALIZE_PROGRAMS action
<p>I'm developing an Android TV app, and I'm setting up a broadcast receiver to run a work class when the user installs the app. Following the Google <a href="https://developer.android.com/training/tv/discovery/recommendations-channel#creating_a_channel" rel="nofollow noreferrer">documentation</a>, topic number 6, it s...
I'm developing an Android TV app, and I'm setting up a broadcast receiver to run a work class when the user installs the app. Following the Google documentation , topic number 6, it shows how to add a receiver in the manifest file with the action &quot;android.media.tv.action.INITIALIZE_PROGRAMS&quot;. I did that, and ...
android|kotlin|broadcastreceiver|adb|android-tv
1
2022-05-12T16:26:55.790Z
2,022
5
16
3
78
1
754
61
5
2
true
false
false
false
false
false
low
72,219,201
Not able to edit the text in WhatsApp EditText using android Accessibility Service from another app
<blockquote> <p>I am trying to edit the text in the edittext in whatsapp when we send a text along with an image. And then send it by clicking the send button through Android Accessibility Service. But the problem is that the text in the EditText is modified but on clicking the send button the old text is sent along wi...
I am trying to edit the text in the edittext in whatsapp when we send a text along with an image. And then send it by clicking the send button through Android Accessibility Service. But the problem is that the text in the EditText is modified but on clicking the send button the old text is sent along with the image. An...
android|kotlin|accessibility|whatsapp|accessibilityservice
1
2022-05-12T16:31:42.357Z
2,022
5
16
3
78
0
373
99
5
1
true
true
false
false
false
false
low
72,219,308
Firestore doesn't retrieve more than 600 items
<p>I am trying to load some data from Firestore in a Flutter app. When I load upto 600 items , it works fine. but even if I try retrieving 700I don't get anything.</p> <p>Here is the code:</p> <pre><code>Stream&lt;List&lt;Booking&gt;&gt; listenToWeekEntries() { return FirebaseFirestore.instance .collection...
I am trying to load some data from Firestore in a Flutter app. When I load upto 600 items , it works fine. but even if I try retrieving 700I don't get anything. Here is the code: [CODE] I only have 1 collection 'bookings' and in it I have about 50000 documents(bookings) (growing at about 120/day). Each booking has abou...
android|firebase|flutter|dart|google-cloud-firestore
2
2022-05-12T16:40:38.853Z
2,022
5
16
3
232
1
686
46
5
2
true
false
false
false
false
false
low
72,219,386
Selenium capability or option to stop 'Save Card?' popup Chrome mobile browser?
<p>Selenium is there a capability or option to stop 'Save Card?' popup Chrome mobile browser?</p> <p>I am using Browserstack automate to run selenium tests on an Android device using the Chrome browser and the popup is blocking some web elements for testing.</p> <p>The popup in question: <a href="https://i.stack.imgur....
Selenium is there a capability or option to stop 'Save Card?' popup Chrome mobile browser? I am using Browserstack automate to run selenium tests on an Android device using the Chrome browser and the popup is blocking some web elements for testing. The popup in question: I cant interact with the popup as I am using 'Re...
android|selenium|google-chrome|webdriver|remotewebdriver
1
2022-05-12T16:47:44.103Z
2,022
5
16
3
97
0
580
79
5
1
true
true
false
false
false
false
low
72,219,390
Unable to detect AGP versions for included builds
<p><a href="https://i.stack.imgur.com/Oa76F.png" rel="nofollow noreferrer">enter image description here</a> I am running my react native app on vs code and I encounter this error. How to resolve it? It was configuring for so long.</p> <p>ERROR AS FOLLOWS:</p> <blockquote> <p>Configure project :app Unable to detect AGP ...
enter image description here I am running my react native app on vs code and I encounter this error. How to resolve it? It was configuring for so long. ERROR AS FOLLOWS: Configure project :app Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for th...
javascript|android|reactjs|react-native|visual-studio-code
0
2022-05-12T16:48:13.040Z
2,022
5
16
3
1,611
0
467
49
5
0
false
true
false
false
false
false
zero
72,219,439
Why the fragment only shows on create and after tab switch?
<p>So, in the current state, I can see the fragment inside, showing when I boot up the virtual phone; however, as soon as I switch to different fragment, from my drawer, and switch back again into the fragment, with the <code>tableLayout</code>, its shows nothing! Plus, switching between the tabs does seem to fix it.</...
So, in the current state, I can see the fragment inside, showing when I boot up the virtual phone; however, as soon as I switch to different fragment, from my drawer, and switch back again into the fragment, with the tableLayout , its shows nothing! Plus, switching between the tabs does seem to fix it. You can see the ...
android|android-fragments|tabs
0
2022-05-12T16:52:11.770Z
2,022
5
16
3
16
2
380
59
3
1
true
false
false
false
false
false
zero
72,219,597
Fatal Exception: java.lang.IllegalArgumentException : Expected URL scheme 'http' or 'https' but no colon was found
<p><strong>Full Exception</strong> :</p> <pre><code>Fatal Exception: java.lang.IllegalArgumentException Expected URL scheme 'http' or 'https' but no colon was found okhttp3.HttpUrl$Builder.parse$okhttp (HttpUrl.kt:1260) okhttp3.HttpUrl$Companion.get (HttpUrl.kt:1633) okhttp3.Request$Builder.url (Request.kt:184) okhttp...
Full Exception : [CODE] I used okhttp3 in two places, the network module and the glide module. The crash start happening when adding the glide module . [CODE] I'm already create separate file for every okhttp client , one for the network and the other for glide Therefore, each of them has his own file, which he can onl...
android|caching|okhttp|android-glide
2
2022-05-12T17:04:37.583Z
2,022
5
17
3
386
0
773
114
4
3
true
true
false
false
false
false
low
72,219,617
How does SavedStateHandle provide navigation arguments?
<p>In Android Compose navigation, navigation arguments are populated in <code>SavedStateHandle</code> which can then be accessed in a <code>ViewModel</code>. I have done this in practice and implementation is well outlined here: <a href="https://stackoverflow.com/a/69145748/12385518">https://stackoverflow.com/a/6914574...
In Android Compose navigation, navigation arguments are populated in SavedStateHandle which can then be accessed in a ViewModel . I have done this in practice and implementation is well outlined here: https://stackoverflow.com/a/69145748/12385518 . My problem is I cannot find any documentation on why/how this is happen...
android|android-jetpack-compose|android-navigation
4
2022-05-12T17:06:29.597Z
2,022
5
17
3
367
0
886
55
3
0
false
true
false
false
false
false
low
72,219,793
how i can add multiple themes in flutter?
<p>i'm new in flutter space 'just 3 weeks from first code i wrote' and wanna to help in this issue, i develop an application with multiple themes 'just colors' and i want to get it in settings page like this: <a href="https://i.stack.imgur.com/VTL3C.jpg" rel="nofollow noreferrer">this is the page:</a></p> <p>so when th...
i'm new in flutter space 'just 3 weeks from first code i wrote' and wanna to help in this issue, i develop an application with multiple themes 'just colors' and i want to get it in settings page like this: this is the page: so when the colors containers pressed, it's should to change the colors of whole app to selected...
android|flutter
-1
2022-05-12T17:21:06.647Z
2,022
5
17
3
109
1
439
41
2
1
true
false
false
false
false
true
negative
72,219,865
"Waiting for the host to start the meeting" from the host side while using flutter_zoom_sdk plugin
<p>We are using Zoom API to create meetings from our server with a given date, and time. And I am getting the result data through API in the app. And then letting users and hosts join the meeting from the result data <em><strong>(i.e. meeting id and passcode)</strong></em> in the respective role.</p> <p>But every time ...
We are using Zoom API to create meetings from our server with a given date, and time. And I am getting the result data through API in the app. And then letting users and hosts join the meeting from the result data (i.e. meeting id and passcode) in the respective role. But every time it's showing &quot;Waiting for the h...
android|ios|flutter|zoom-sdk
3
2022-05-12T17:27:11.213Z
2,022
5
17
3
165
0
899
98
4
0
false
true
false
false
false
false
low
72,219,944
How can I access specific data in Firebase?
<p>I want to delete the messages of every user before 30 days. When the user enters the application, their own messages are deleted. But I can't access every user's messages. I couldn't find what to write for the query.</p> <p>This my message db: <a href="https://i.stack.imgur.com/b6qyA.jpg" rel="nofollow noreferrer"><...
I want to delete the messages of every user before 30 days. When the user enters the application, their own messages are deleted. But I can't access every user's messages. I couldn't find what to write for the query. This my message db: This my Code to delete messages when the user opens an account : [CODE] How can I a...
java|android|firebase|firebase-realtime-database
1
2022-05-12T17:33:41.953Z
2,022
5
17
3
62
0
353
43
4
1
true
true
false
false
false
false
low
72,220,050
Selection gender menu in registration user
<p>I have to add a section under username to ask what gender the user is and I would like to do it through a menu with 2 selections (male and female). How can I do? Edit: How can I save the choice the user made in RegisterActivity</p> <p>RegisterActivity</p> <pre><code>@Override protected void onCreate(Bundle savedInst...
I have to add a section under username to ask what gender the user is and I would like to do it through a menu with 2 selections (male and female). How can I do? Edit: How can I save the choice the user made in RegisterActivity RegisterActivity [CODE]
java|android|xml
1
2022-05-12T17:44:53.400Z
2,022
5
17
3
31
1
251
42
3
1
true
false
false
false
false
false
low