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,360,629
How Can be Facebook metrics Added to ReactNative App
<p>How can Facebook Metrics added to a react native project i'm not sure if its even possible or not.</p> <pre><code> Settings.setAppID('ID'); </code></pre> <p>i have added the configs and logs event what about the metrics, i just want to track the user behavior.</p>
How can Facebook Metrics added to a react native project i'm not sure if its even possible or not. [CODE] i have added the configs and logs event what about the metrics, i just want to track the user behavior.
javascript|android|ios|react-native
0
2022-05-24T09:40:37.153Z
2,022
5
9
1
12
0
209
52
4
1
true
true
false
false
false
false
zero
72,360,696
Android TV app Google Play publishing issue "Non-full screen static banner ads"
<p>I'am trying publish my TV app on Google Play, but always get rejected status of release with next message: <em>&quot;Non-full screen static banner ads. Your app displays static banner ads which are not full screen.&quot;</em></p> <p>As I understood its about tv app icon, and not about advertising in my app (anyway i...
I'am trying publish my TV app on Google Play, but always get rejected status of release with next message: &quot;Non-full screen static banner ads. Your app displays static banner ads which are not full screen.&quot; As I understood its about tv app icon, and not about advertising in my app (anyway it contains only ful...
android|google-play|google-play-console|android-tv
0
2022-05-24T09:45:13.967Z
2,022
5
9
1
125
1
844
79
4
0
false
false
false
false
false
false
zero
72,360,740
Video recording turns off when using speech to text Xamarin Forms
<p>I am creating an interview app in which the app is recording a video and the user is using speech to text at the same time. The issue is video recording gets interrupted when speech to text is active maybe it's because speech to text starts using the mic. I am using CameraView from Xamarin Community Toolkit to acces...
I am creating an interview app in which the app is recording a video and the user is using speech to text at the same time. The issue is video recording gets interrupted when speech to text is active maybe it's because speech to text starts using the mic. I am using CameraView from Xamarin Community Toolkit to access c...
.net|xamarin|xamarin.forms|xamarin.android|maui
0
2022-05-24T09:47:52.643Z
2,022
5
9
1
45
0
560
65
5
4
true
true
false
false
false
false
zero
72,360,744
Why AndroidX element doesn't work? Element is not allowed here
<p>I've made some changes to migrate my App to AndroidX manually because the Refactor tool doesn't work properly, following <a href="https://gist.github.com/alexjlockwood/c59e74e95037f6c230dde8a39c328970" rel="nofollow noreferrer">this map file</a>. Amoung those changes I've updated Firebase imports in my <code>build.g...
I've made some changes to migrate my App to AndroidX manually because the Refactor tool doesn't work properly, following this map file . Amoung those changes I've updated Firebase imports in my build.gradle file. Everything works fine but this: there's a resource file that doesn't allow me to use AndroidX widgets. Ther...
android|android-studio|gradle|androidx
-2
2022-05-24T09:48:01.503Z
2,022
5
9
1
38
1
897
62
4
1
true
false
false
false
false
true
negative
72,360,766
Flutter app not working in android 12. Gives me Error INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
<p>Flutter app is not working in Android 12. I have tried various things like adding <code>exported=&quot;true&quot;</code> but still i am not able to run the app on Android 12.</p> <p>Error:</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> ...
Flutter app is not working in Android 12. I have tried various things like adding exported=&quot;true&quot; but still i am not able to run the app on Android 12. Error: [CODE] Here is my Manifest file: [CODE]
android|ios|flutter|dart|hybrid-mobile-app
0
2022-05-24T09:49:44.617Z
2,022
5
9
1
376
1
208
93
5
2
true
false
false
false
false
false
zero
72,360,793
SQLite (Android app) Column not found in table after making changes to the DB
<p>I have a simple <code>SQLite</code> DB for my Android app that has to store details such as - <code>username</code>, <code>password</code>, <code>phno</code>, <code>email</code> and <code>account type</code>.</p> <pre class="lang-java prettyprint-override"><code>public class DBHelper extends SQLiteOpenHelper { p...
I have a simple SQLite DB for my Android app that has to store details such as - username , password , phno , email and account type . [CODE] When inserting data Through the signup Activity I get an error saying that Address column in the table does not exist SignupActivity.class [CODE] Here are the logs [CODE] Where i...
java|android|sqlite
0
2022-05-24T09:52:18.840Z
2,022
5
9
1
28
0
804
77
3
4
true
true
false
false
false
false
zero
72,360,995
iOS/Android Deep Linking from Mail/Website
<p>My use case is as follows:</p> <p>I send an email to a user of mine with a link to the iOS/Android apps of us.</p> <p>Is there a possibility to enhance the links to these apps with an argument like <code>userId=123</code> which then gets passed to the app on startup.</p> <p>Secondly can I pass this parameter even th...
My use case is as follows: I send an email to a user of mine with a link to the iOS/Android apps of us. Is there a possibility to enhance the links to these apps with an argument like userId=123 which then gets passed to the app on startup. Secondly can I pass this parameter even through the respective App Stores so th...
android|ios|app-store|deep-linking|ios-universal-links
0
2022-05-24T10:06:29.227Z
2,022
5
10
1
113
0
458
42
5
0
false
true
false
false
false
false
zero
72,361,099
FCM Custom Notification Icon in flutter
<p>good morning all,</p> <p>I'm using firebase cloud messaging to send notifications but I'm trying to change its icon and can't do it</p> <p>I'm trying a lot of solutions but no one is working for me such as :</p> <p>1-</p> <pre><code>&lt;meta-data android:name=&quot;com.google.firebase.messaging.default_notificatio...
good morning all, I'm using firebase cloud messaging to send notifications but I'm trying to change its icon and can't do it I'm trying a lot of solutions but no one is working for me such as : 1- [CODE] 2- changing launcher icon 3- modify the launch_background.xml and make the transparent and a lot of solution, could ...
android|firebase|flutter|android-layout|firebase-cloud-messaging
1
2022-05-24T10:13:37.347Z
2,022
5
10
1
642
1
343
39
5
1
true
false
false
false
false
false
low
72,361,256
LaravelPhp Sanctum Login Authentication Android Java
<p>I have a fully working SPA website built with LaravelPhp 8 Sanctum authentication and Vuejs. Now I'm building an Android app that uses the same APIs. Connecting to APIs that don't require authentication works perfectly but protected APIs don't. I send POST to login and it works but after that no other protected API ...
I have a fully working SPA website built with LaravelPhp 8 Sanctum authentication and Vuejs. Now I'm building an Android app that uses the same APIs. Connecting to APIs that don't require authentication works perfectly but protected APIs don't. I send POST to login and it works but after that no other protected API wor...
java|android|laravel|authentication|laravel-sanctum
0
2022-05-24T10:25:20.423Z
2,022
5
10
1
79
1
705
52
5
7
true
false
false
false
false
false
zero
72,361,264
How to send request to remote URLs?
<p>How can I send an axios request to the right url?</p> <p>I am trying to make a GET request from my android ionic react app:</p> <pre><code>axios.get(&quot;192.168.178.88:8080/api/user/me&quot;) .then(response =&gt;response.data) </code></pre> <p>I do not get the results expected from the endpoints and get the fo...
How can I send an axios request to the right url? I am trying to make a GET request from my android ionic react app: [CODE] I do not get the results expected from the endpoints and get the following logs [CODE] I'd like and expect request to http://192.168.178.88:8080/api/user/me instead of http://localhost/192.168.178...
android|reactjs|ionic-framework|axios
1
2022-05-24T10:25:45.813Z
2,022
5
10
1
162
1
340
35
4
2
true
false
false
false
false
false
low
72,361,282
How to create a Rich Text Input like Telegram or WhatsApp chat page in Flutter?
<p>How can I create a <strong>Rich Text Input like a Telegram chat page</strong>, without displaying reserved characters (such as <code>**</code>bold<code>**</code>, <code>_</code>italic<code>_</code>) in Text Filed? <img src="https://i.stack.imgur.com/rUXGO.jpg" alt="see this screenshot" /></p>
How can I create a Rich Text Input like a Telegram chat page , without displaying reserved characters (such as ** bold ** , _ italic _ ) in Text Filed?
android|linux|windows|flutter|dart
3
2022-05-24T10:27:24.740Z
2,022
5
10
1
383
1
151
79
5
0
false
false
false
false
false
false
low
72,361,376
Why is my bluetoothAdapter crashing the application
<p>Im trying to learn how to just enable and disable Bluetooth through my application. So I have been writing a small code for this. When I run the application on a simulator the code works and it enables and disables the Bluetooth. When I run it on my phone it crashing.</p> <pre><code>private void initBluetooth() { ...
Im trying to learn how to just enable and disable Bluetooth through my application. So I have been writing a small code for this. When I run the application on a simulator the code works and it enables and disables the Bluetooth. When I run it on my phone it crashing. [CODE] [CODE] [CODE] [CODE]
java|android|bluetooth
0
2022-05-24T10:34:19.117Z
2,022
5
10
1
89
1
296
51
3
4
true
false
false
false
false
false
zero
72,361,419
I cant add an activity after cloning from git (android studio)
<p><a href="https://i.stack.imgur.com/7x5HY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7x5HY.png" alt="enter image description here" /></a></p> <p>Like the title says. I'm not able to create a new activity after cloning from Git</p>
Like the title says. I'm not able to create a new activity after cloning from Git
android-studio
1
2022-05-24T10:37:23.427Z
2,022
5
10
1
12
0
81
62
1
0
false
true
false
false
false
false
low
72,361,482
"Gradle task assembleDebug failed with exit code 1" because "Could not find or load main class org.gradle.wrapper.GradleWrapperMain"
<p>I'm new to flutter and I want to make the default flutter app to show up on my Android emulator. The emulator starts up fine but the process fails at &quot;gradle task assembleDebug&quot;. I reinstalled everything ranging from Android Studio to flutter and dart and also deleting the AVD from Android Studio then crea...
I'm new to flutter and I want to make the default flutter app to show up on my Android emulator. The emulator starts up fine but the process fails at &quot;gradle task assembleDebug&quot;. I reinstalled everything ranging from Android Studio to flutter and dart and also deleting the AVD from Android Studio then creatin...
android|flutter|dart|android-emulator
0
2022-05-24T10:42:04.227Z
2,022
5
10
1
376
3
1,039
132
4
2
true
false
false
false
false
false
zero
72,361,547
Android Compose resize image on available space
<p>I'm new to Android Jetpack Compose and have the following layout problem:</p> <p><a href="https://i.stack.imgur.com/UC4Q2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UC4Q2.png" alt="enter image description here" /></a></p> <p>It's a simple example to clarify my issue. I want that Button header...
I'm new to Android Jetpack Compose and have the following layout problem: It's a simple example to clarify my issue. I want that Button header to stay on top and this two text areas at the bottom. The image should take the rest of the available space, depending on the screen size. I don't want a scrollbar or white area...
android|android-jetpack-compose|android-jetpack
1
2022-05-24T10:47:46.890Z
2,022
5
10
1
677
0
519
47
3
1
true
true
false
false
false
false
low
72,361,566
Twitter API Retweet Auth Failure
<p>I'm trying to implement Twitter's Retweet API to retweet a specific tweet. But I'm having <code>AuthFailureError</code> while requesting that API. I'm unable to solve this issue and stuck for many days. Any help would be appreciated. Code:</p> <pre><code>private fun retweetTweet(tweetId: String) { val progressDi...
I'm trying to implement Twitter's Retweet API to retweet a specific tweet. But I'm having AuthFailureError while requesting that API. I'm unable to solve this issue and stuck for many days. Any help would be appreciated. Code: [CODE] Screenshot Of Error:
android-studio|kotlin-android|twitter-api-v2
1
2022-05-24T10:49:15.637Z
2,022
5
10
1
36
0
254
32
3
1
true
true
false
false
false
false
low
72,361,610
I got the following error while pulling data from android studio Firebase
<p>I could not understand the problem. It gave such an error when trying to pull the information from the Realtime Database or code.firebasteki to the screen, what is the problem?</p> <p>Book</p> <pre><code>public class Book { private String isim; private String soyad; private String numara; public Book() { } public ...
I could not understand the problem. It gave such an error when trying to pull the information from the Realtime Database or code.firebasteki to the screen, what is the problem? Book [CODE] MainActivity [CODE] RecyclerView_Config [CODE] FirebaseDatabaseHelper [CODE] firebase E/AndroidRuntime: FATAL EXCEPTION: main Proce...
java|android|firebase|google-cloud-platform|firebase-realtime-database
-1
2022-05-24T10:53:24.067Z
2,022
5
10
1
25
1
2,383
73
5
4
true
false
false
false
false
true
negative
72,361,614
Firebase Verify Badge
<p>I have implemented a function that has to show verify badge on my app user profile if I change the rule from Firebase real-time database but badge doesn't appear even after making rules <code>true</code> view my <a href="https://i.stack.imgur.com/QvDbO.png" rel="nofollow noreferrer">Rules in Firebase</a></p> <p>Code...
I have implemented a function that has to show verify badge on my app user profile if I change the rule from Firebase real-time database but badge doesn't appear even after making rules true view my Rules in Firebase Code I used in my app to show badge: [CODE]
java|android|firebase|firebase-realtime-database
0
2022-05-24T10:53:30.673Z
2,022
5
10
1
36
1
260
21
4
1
true
false
false
false
false
false
zero
72,361,616
Is it possible to check any input, if it is matched with String Type in if condition to execue bunch of codes?
<p>Mainly I was working with a code. where I am trying to get an input from a user in String type to execute some actions. If the user don't input any type of value it will give another message to him.</p> <p>I was finding if it is possible to check that input equal to any String type! I was trying this!</p> <pre><code...
Mainly I was working with a code. where I am trying to get an input from a user in String type to execute some actions. If the user don't input any type of value it will give another message to him. I was finding if it is possible to check that input equal to any String type! I was trying this! [CODE]
java|android-studio|if-statement
0
2022-05-24T10:53:43.173Z
2,022
5
10
1
31
1
302
110
3
1
true
false
false
false
false
false
zero
72,361,666
Send notification Ionic when a cloud database is updated
<p>I'm making a Ionic application, and i would like to send a push notification each time a database on the cloud (firebase, amplify, etc. ) is updated. Which services is the best to do that ?</p>
I'm making a Ionic application, and i would like to send a push notification each time a database on the cloud (firebase, amplify, etc. ) is updated. Which services is the best to do that ?
android|database|ionic-framework|push-notification|cloud
0
2022-05-24T10:57:15.643Z
2,022
5
10
1
14
0
189
56
5
0
false
true
false
false
false
false
zero
72,361,718
Android Studio Emulator Fonts Blurred
<p>I have install flutter and android studio and setup as usual in new laptop running windows 11 pro. But when I start emulator its fonts are not clear, blurred. I tried switching emulated performance from hardware to software, but not works, is any one facing this issue.</p> <p>My monitor display resolution 1366 * 76...
I have install flutter and android studio and setup as usual in new laptop running windows 11 pro. But when I start emulator its fonts are not clear, blurred. I tried switching emulated performance from hardware to software, but not works, is any one facing this issue. My monitor display resolution 1366 * 768 Scale 100...
android|flutter|android-studio|dart|android-emulator
0
2022-05-24T11:01:36.200Z
2,022
5
11
1
212
1
449
37
5
0
false
false
false
false
false
false
zero
72,361,783
Speech Recognition issue in Android 12
<p>I've an app which uses speech recognition. Target SDK is <code>31</code>. It was working fine but after updating device to <code>Android 12</code> it is not giving any result.</p> <pre class="lang-java prettyprint-override"><code> speechRecognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); ...
I've an app which uses speech recognition. Target SDK is 31 . It was working fine but after updating device to Android 12 it is not giving any result. [CODE] Getting null results in OnResult() [CODE] I've already taken below permission [CODE]
java|android|speech-recognition|speech-to-text
0
2022-05-24T11:06:22.170Z
2,022
5
11
1
79
2
242
38
4
3
true
false
false
false
false
false
zero
72,361,905
Kotlin application keeps crashing
<p>I just made this code but all of the sudden the application crashes immediately. This is supposedly a water counter.When I first tried to open the application, it just delivered me an error message.</p> <p>This never happened before, I hope some of you can help me?</p> <p>You can find the code lines and design files...
I just made this code but all of the sudden the application crashes immediately. This is supposedly a water counter.When I first tried to open the application, it just delivered me an error message. This never happened before, I hope some of you can help me? You can find the code lines and design files below. You can e...
android|kotlin
-1
2022-05-24T11:15:25.307Z
2,022
5
11
1
57
2
486
33
2
3
true
false
false
false
false
true
negative
72,361,931
How to get system insets without using setOnApplyWindowInsetsListener?
<p>To get insets every time now i'm using <code>ViewCompat.setOnApplyWindowInsetsListener(view)</code>. But can we somehow get system insets without using it? I found method <code>view.rootWindowInsets.getInsets(WindowInsetsCompat.Type.systemBars())</code> but it's working only with android R.</p> <p>I need system inse...
To get insets every time now i'm using ViewCompat.setOnApplyWindowInsetsListener(view) . But can we somehow get system insets without using it? I found method view.rootWindowInsets.getInsets(WindowInsetsCompat.Type.systemBars()) but it's working only with android R. I need system insets right after app is started becau...
android|insets
0
2022-05-24T11:17:33.253Z
2,022
5
11
1
39
0
399
70
2
0
false
true
false
false
false
false
zero
72,361,994
Kotlin reflection
<p>With <code>Retrofit</code>, I am fetching data and getting <code>JSONObject</code> with the structure like this for example:</p> <pre><code>{ &quot;token&quot;: &quot;some-token&quot;, &quot;tiles&quot;: [ { &quot;id&quot;: &quot;id-1&quot;, &quot;type&quot;: &quot;RedTile&quo...
With Retrofit , I am fetching data and getting JSONObject with the structure like this for example: [CODE] Now, when I get this response, I need to make a parser that will actually take the type from every tile and match it with the class that already exists inside application. I need to basically from this response to...
android|kotlin|retrofit
0
2022-05-24T11:22:12.077Z
2,022
5
11
1
111
2
460
17
3
1
true
false
false
false
false
false
zero
72,362,055
Problem in positioning two row layouts one below each other with multiView RecyclerView? Screenshot included
<p>Here I use two viewHolders one for NoteViewHolder and another one for ChecklistViewHolder for a single adapter. I have two Lists with different data types in the recyclerView Adapter. I use SQLite Database and created two tables, one for notes and another one for checklists because I use different views for each row...
Here I use two viewHolders one for NoteViewHolder and another one for ChecklistViewHolder for a single adapter. I have two Lists with different data types in the recyclerView Adapter. I use SQLite Database and created two tables, one for notes and another one for checklists because I use different views for each row la...
java|list|android-recyclerview|adapter
2
2022-05-24T11:26:55.997Z
2,022
5
11
1
316
1
744
108
4
4
true
false
false
false
false
false
low
72,362,153
Sometimes Microsoft calendar event not generated in outlook calendar
<p>We are using <a href="https://docs.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&amp;tabs=http" rel="nofollow noreferrer">Microsoft Graph API</a> for creating events in the outlook calendar using Android. It works well but now sometimes it doesn't create events in Outlook Calendar and it a...
We are using Microsoft Graph API for creating events in the outlook calendar using Android. It works well but now sometimes it doesn't create events in Outlook Calendar and it also receives event invitations Mail in Junk Email . After updating that event now all events create properly. We encountered this problem two o...
android|outlook|microsoft-graph-api|outlook-calendar
1
2022-05-24T11:33:31.750Z
2,022
5
11
1
36
1
492
68
4
0
false
false
false
false
false
false
low
72,362,220
Change the trailingIcon size of a TextField
<p>TextField trainlingIcon has a default size inside the class it wraps the composable inside a box with a default size</p> <p>TextField.kt</p> <pre><code> Box( modifier = Modifier.layoutId(TrailingId).then(IconDefaultSizeModifier), contentAlignment = Alignment.Cen...
TextField trainlingIcon has a default size inside the class it wraps the composable inside a box with a default size TextField.kt [CODE] where the default value is defined in TextFieldImple.Kt [CODE] this causes unwanted space for the textField is there a way to override this?
android|android-jetpack-compose
1
2022-05-24T11:37:29.607Z
2,022
5
11
1
40
0
277
43
2
2
true
true
false
false
false
false
low
72,362,306
required to specify an explicit value for `android:exported` in the Debug/androidMenifest.xml for flutter_local_notification
<p>The error shows that I need to add android:exported in the <code>debug/androidMenifest.xml</code> . But there is no activity defined the file . so I am not sure what can I do . I tried changing the compileSDK version in the <code>build.gradle</code> but that also didnt to anything .</p> <p>here is the error</p> <p>C...
The error shows that I need to add android:exported in the debug/androidMenifest.xml . But there is no activity defined the file . so I am not sure what can I do . I tried changing the compileSDK version in the build.gradle but that also didnt to anything . here is the error Console: [CODE] my app/androidMenifest.xml f...
android|flutter|dart|flutter-local-notification
-1
2022-05-24T11:44:40.250Z
2,022
5
11
1
415
2
490
124
4
4
true
false
false
false
false
true
negative
72,362,309
Progress bar background layout does not show up
<p>I have seperated the background xml and the progress xml. but the background does not show up. I am trying to implement a custom circle progress bar. I want to show 2 progresses at the same time in the progress bar.</p> <p>below code is the background xml</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quo...
I have seperated the background xml and the progress xml. but the background does not show up. I am trying to implement a custom circle progress bar. I want to show 2 progresses at the same time in the progress bar. below code is the background xml [CODE] below code is the progress layout [CODE] this is the progress ba...
android|xml|progress-bar
0
2022-05-24T11:44:50.630Z
2,022
5
11
1
17
0
349
47
3
3
true
true
false
false
false
false
zero
72,362,476
Want to add a delay for textView when using livedata that pass LatLon
<p>Are passing data between a service to a fragment using a MutableLiveData. Accordenly to a Log.d statement the data is recived. But when i try to use TextView to display the data i get null. It think a delay makes it null. Is there a way to delay or update the textview so i can display the data?</p> <p>DashbordFragme...
Are passing data between a service to a fragment using a MutableLiveData. Accordenly to a Log.d statement the data is recived. But when i try to use TextView to display the data i get null. It think a delay makes it null. Is there a way to delay or update the textview so i can display the data? DashbordFragment.kt [COD...
android|kotlin|textview|android-service|android-livedata
0
2022-05-24T11:55:31.493Z
2,022
5
11
1
111
2
351
69
5
2
true
false
false
false
false
false
zero
72,362,480
Android Studio BLE: How to send Charsequence received in a fragment from serial to a new activity for display and plotting graph in app?
<p>I am completely new to Android Studio and just learned Object-oriented programming. My project requires me to build something on open-source code. I am really struggling with this special case. Originally, once the phone is connected to a BLE device, the phone will keep receiving data sent by it and the data will be...
I am completely new to Android Studio and just learned Object-oriented programming. My project requires me to build something on open-source code. I am really struggling with this special case. Originally, once the phone is connected to a BLE device, the phone will keep receiving data sent by it and the data will be pr...
android-studio|android-fragments|android-intent|android-recyclerview|bluetooth-lowenergy
0
2022-05-24T11:55:40.667Z
2,022
5
11
1
31
1
1,088
136
5
6
true
false
false
false
false
false
zero
72,362,591
LazyColumn doing infinite number of recompositions (Jetpack Compose)
<p>I want to display a list of items using LazyColumn. I wrote the needed code but when I ran the app I observed that the UI is very laggy. I put some Logs to find out where the problem may be and I discovered that the LazyColumn inifinitely recomposes the items. I don't know why LazyColumn behaves like it did</p> <p>l...
I want to display a list of items using LazyColumn. I wrote the needed code but when I ran the app I observed that the UI is very laggy. I put some Logs to find out where the problem may be and I discovered that the LazyColumn inifinitely recomposes the items. I don't know why LazyColumn behaves like it did list compos...
kotlin|android-jetpack-compose
0
2022-05-24T12:05:34.040Z
2,022
5
12
1
183
1
332
68
2
1
true
false
false
false
false
false
zero
72,362,706
Flutter build appbundle giving error when using stripe
<p>I am trying to build an appbundle for my flutter application. I was able to build it perfectly before, but now when I added <code>stripe_payment: ^1.0.11</code> I am getting this error:</p> <pre><code>Could not determine the dependencies of task ':app:transformClassesAndResourcesWithR8ForRelease'. &gt; Could not res...
I am trying to build an appbundle for my flutter application. I was able to build it perfectly before, but now when I added stripe_payment: ^1.0.11 I am getting this error: [CODE] Can someone please help me with this?
android|flutter|dart
0
2022-05-24T12:14:33.210Z
2,022
5
12
1
30
0
217
54
3
1
true
true
false
false
false
false
zero
72,362,839
Previous screen time is not updating in flutter
<p>I'm using stateless Widget in my application. By using this single line I can get the output.</p> <pre><code> DateFormat('HH:mma').format(now). </code></pre> <p>1.problem is when screen is moving to another screen and back to previous screen at that time time which I have implemented is not updating. 2. time is not...
I'm using stateless Widget in my application. By using this single line I can get the output. [CODE] 1.problem is when screen is moving to another screen and back to previous screen at that time time which I have implemented is not updating. 2. time is not updating when I do not touch the screen. and its updating once ...
android|flutter|time|date-format
0
2022-05-24T12:24:06.213Z
2,022
5
12
1
29
1
414
47
4
1
true
false
false
false
false
false
zero
72,363,063
Getting SystemForgroundService Leak even I am not using any service in our project
<p>197 bytes retained by leaking objects Signature: 099e7804c1433b5477fe40e3ebca5ffce0e9dd16 ┬─── │ GC Root: System class │ ├─ android.content.res.ResourcesImpl class │ Leaking: NO (a class is never leaking) │ ↓ static ResourcesImpl.mAppContext │ ~~~~~~~~~~~ ├─ android.app.ContextImpl in...
197 bytes retained by leaking objects Signature: 099e7804c1433b5477fe40e3ebca5ffce0e9dd16 ┬─── │ GC Root: System class │ ├─ android.content.res.ResourcesImpl class │ Leaking: NO (a class is never leaking) │ ↓ static ResourcesImpl.mAppContext │ ~~~~~~~~~~~ ├─ android.app.ContextImpl instance │ Leaking: UNKNOWN │ Retaini...
android|kotlin
1
2022-05-24T12:40:03.760Z
2,022
5
12
1
110
0
1,212
82
2
0
false
true
false
false
false
false
low
72,363,071
pass arraylist with user input (string + int) from one activity to another - java
<p>I know it's been asked a lot. But i did not find the answer for this problem. I am trying to pass an <code>arraylist</code> with a string and an int from user input using a model, from one activity to another. When I use <code>putStringArrayList(String name, ArrayList&lt;String&gt; value)</code> I get a crush. This ...
I know it's been asked a lot. But i did not find the answer for this problem. I am trying to pass an arraylist with a string and an int from user input using a model, from one activity to another. When I use putStringArrayList(String name, ArrayList<String> value) I get a crush. This is quite tricky for me, because the...
java|android|arraylist|serialization
0
2022-05-24T12:40:32.240Z
2,022
5
12
1
32
0
550
81
4
2
true
true
false
false
false
false
zero
72,363,073
is there ways to add link items to navigation drawer activity ( build in navigation drawer)
<p>i ve created project with android studio's navigation drawer activity. when adding my ovn fragment and link to it on navigation menu it doesnt work when it clicked, however i did everything same as default given fragments, replaced with my own names. so i'm adding product fragment. here is my MainActivity.java :</p>...
i ve created project with android studio's navigation drawer activity. when adding my ovn fragment and link to it on navigation menu it doesnt work when it clicked, however i did everything same as default given fragments, replaced with my own names. so i'm adding product fragment. here is my MainActivity.java : [CODE]...
java|android|android-studio|android-layout|navigation-drawer
0
2022-05-24T12:40:45.207Z
2,022
5
12
1
50
1
424
91
5
2
true
false
false
false
false
false
zero
72,363,083
Error React Native > Could not find method provided() for arguments [com.facebook.react:react-native:+]
<p>I npm install react-native-video-player after then, When I restarted the application, I encountered this error</p> <p>BU�LD FAILED in 23s</p> <p>error Failed to install the app. Make sure you have the Android development environment set up: <a href="https://reactnative.dev/docs/environment-setup" rel="nofollow noref...
I npm install react-native-video-player after then, When I restarted the application, I encountered this error BU�LD FAILED in 23s error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup . Error: Command failed: gradlew.bat app:insta...
android|reactjs|react-native|gradle
1
2022-05-24T12:41:28.073Z
2,022
5
12
1
419
0
1,006
103
4
1
true
true
false
false
false
false
low
72,363,139
How to push rtmp using deepar result
<p>I want to stream deepar videos using rtmp.</p> <p>And followed agora's example <a href="https://github.com/DeepARSDK/videocall-android-java/blob/master/app/src/main/java/ai/deepar/videocall/DeepARRenderer.java" rel="nofollow noreferrer">here</a>.</p> <p>But I don't want to use agora's server.</p> <p>I have an SRS se...
I want to stream deepar videos using rtmp. And followed agora's example here . But I don't want to use agora's server. I have an SRS server on my local server. I tried this to get deepar's result from opengl. It worked. [CODE] use rtmp client to push data from opengl. [CODE] I got return -1, it means send video fail. e...
android|rtmp|deepar
0
2022-05-24T12:45:51.940Z
2,022
5
12
1
84
1
378
36
3
2
true
false
false
false
false
false
zero
72,363,161
When packaging my kivy app for android the apk keeps crashing
<p>So I've used buildozer for packaging my kivy app and I'm using it through Google Colab. It used to package fine before but for some reason it's stopped opening past the splash screen for the app. It works fine on windows so I think there's a compatibility issue somewhere.</p> <p>It's not a Google Colab/buildozer bug...
So I've used buildozer for packaging my kivy app and I'm using it through Google Colab. It used to package fine before but for some reason it's stopped opening past the splash screen for the app. It works fine on windows so I think there's a compatibility issue somewhere. It's not a Google Colab/buildozer bug as I trie...
python|android|crash|kivy|kivymd
0
2022-05-24T12:46:55.947Z
2,022
5
12
1
67
0
973
61
5
2
true
true
false
false
false
false
zero
72,363,230
The picture in the imageView does not change when the picture changes in the firebase database and storage
<p>What should I do if everything changes when changing the photo in the database, but for some reason it is not displayed in the image view, I use the firebase database, that is, when I register and put a profile photo, everything is fine, it is displayed both in the database and in the imageview, but when I try to ch...
What should I do if everything changes when changing the photo in the database, but for some reason it is not displayed in the image view, I use the firebase database, that is, when I register and put a profile photo, everything is fine, it is displayed both in the database and in the imageview, but when I try to chang...
java|android|firebase
0
2022-05-24T12:50:47.533Z
2,022
5
12
1
23
0
781
106
3
6
true
true
false
false
false
false
zero
72,363,247
Navigation Drawer does not cover an activity
<p>I am writing an organiser app and I am stuck at this problem. Navigation drawer stacks itself with the listview in activity <a href="https://i.stack.imgur.com/Mk78S.png" rel="nofollow noreferrer">1</a> . There is no exception and the app is working, but the listview elements and navigation drawer elements are clicke...
I am writing an organiser app and I am stuck at this problem. Navigation drawer stacks itself with the listview in activity 1 . There is no exception and the app is working, but the listview elements and navigation drawer elements are clicked at the same time. Here is the activity layout [CODE]
android
0
2022-05-24T12:52:06.663Z
2,022
5
12
1
23
1
295
44
1
1
true
false
false
false
false
false
zero
72,363,306
Rounding off the Float to highest
<p>I am using below code to round off the float result to an integer.</p> <pre><code>230.div(20.00).toFloat().roundToInt()) </code></pre> <p>The above example gives me 11.5 roundng off to Int 12 but the same code is not rounding of 5.3 to 6</p> <pre><code>106.div(20.00).toFloat().roundToInt()) </code></pre> <p>Is there...
I am using below code to round off the float result to an integer. [CODE] The above example gives me 11.5 roundng off to Int 12 but the same code is not rounding of 5.3 to 6 [CODE] Is there any way to round off the float to highest i.e 5.3 to 6
android|kotlin|rounding
0
2022-05-24T12:55:58.500Z
2,022
5
12
1
85
1
244
33
3
2
true
false
false
false
false
false
zero
72,363,352
Cannot receive all chunk from flutter app over BLE
<p>I am writing an OTA BLE firmware update between flutter Android app and an Espressif ESP32.</p> <p>Basically, the flutter app sends chunks of data that the firmware expect: the chunk bears the chunkIndex so that the firmware can check nothing is missing since the last reception.</p> <p>The issue I have is that not a...
I am writing an OTA BLE firmware update between flutter Android app and an Espressif ESP32. Basically, the flutter app sends chunks of data that the firmware expect: the chunk bears the chunkIndex so that the firmware can check nothing is missing since the last reception. The issue I have is that not all chunks arrive ...
flutter|bluetooth-lowenergy|android-bluetooth|arduino-esp32
0
2022-05-24T12:58:51.213Z
2,022
5
12
1
74
0
1,034
50
4
1
true
true
false
false
false
false
zero
72,363,373
Way to do two-way data binding in Android while using <include> tag?
<p>So the problem space is pretty simple.</p> <p>I have a layout. Let's call it <code>fragment1.xml</code> and it looks like this.</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;layout&gt; &lt;data&gt; &lt;variable name=&quot;viewModel&quot; type=...
So the problem space is pretty simple. I have a layout. Let's call it fragment1.xml and it looks like this. [CODE] And let layout file layout_consent_checkbox.xml be this. [CODE] Now according to my knowledge, this should work. checkedData in SomeViewModel should be updating the Boolean value, based on the status chang...
android|xml|android-layout|data-binding|android-databinding
0
2022-05-24T13:00:16.970Z
2,022
5
13
1
38
0
434
68
5
2
true
true
false
false
false
false
zero
72,363,549
How can I type alias multiple Kotlin types into a single type
<p>Suppose I have variable which can be Int, String or Float. I want to create a generic type using type alias that includes all the above 3 types. Something like</p> <p>typealias customType = Int || String || Float</p>
Suppose I have variable which can be Int, String or Float. I want to create a generic type using type alias that includes all the above 3 types. Something like typealias customType = Int || String || Float
android|kotlin|type-alias
0
2022-05-24T13:13:50.173Z
2,022
5
13
1
224
2
205
61
3
0
false
false
false
false
false
false
zero
72,363,554
How to remove Battery Optimization restrictions for Device Owner app
<p>Battery optimization settings creates some difficulties for the device owner app I am currently developing, such as not receiving BOOT_COMPLETED broadcast in MIUI. I want to know if there is any way of removing restrictions of device owner app programmatically, like granting permissions to the device owner app itsel...
Battery optimization settings creates some difficulties for the device owner app I am currently developing, such as not receiving BOOT_COMPLETED broadcast in MIUI. I want to know if there is any way of removing restrictions of device owner app programmatically, like granting permissions to the device owner app itself. ...
android|device-admin|device-owner
0
2022-05-24T13:13:55.440Z
2,022
5
13
1
84
1
483
68
3
0
false
false
false
false
false
false
zero
72,363,608
Firestore DocumentReference type to object
<p>As you can see in the picture, the documents in the person collection refer to the statistics collection. <a href="https://i.stack.imgur.com/gd6Wb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gd6Wb.png" alt="Firestore collections" /></a></p> <p>I can pull this data like this</p> <p>PersonReposi...
As you can see in the picture, the documents in the person collection refer to the statistics collection. I can pull this data like this PersonRepository [CODE] Model [CODE] How can I convert Document Reference to object here? I tried this first [CODE] but in this approach Person Statistics comes first as null. It is a...
android|google-cloud-firestore|kotlin-flow
1
2022-05-24T13:18:02.393Z
2,022
5
13
1
166
1
397
42
3
3
true
false
false
false
false
false
low
72,363,714
Spinner is not working in Fragment on Kotlin
<p>The spinner just doesn't work, I tried different versions of the code, but it didn't work in any of them</p> <p>Can anyone help solve this problem?</p> <p><code>TransferFragment.kt</code></p> <pre class="lang-kotlin prettyprint-override"><code> package com.example.hotel2.transfer class TransferFragment :...
The spinner just doesn't work, I tried different versions of the code, but it didn't work in any of them Can anyone help solve this problem? TransferFragment.kt [CODE] fragment_transfer.xml [CODE] According to my guess, the problem is in activity?.applicationContext!! , but I do not understand how to solve it.
android|kotlin|spinner
0
2022-05-24T13:24:26.370Z
2,022
5
13
1
49
1
311
44
3
2
true
false
false
false
false
false
zero
72,363,719
Android geckoview show blank white
<p>I'm using <code>Geckoview</code>. It shows me white page. I'm using below tutorial:<br /> <a href="https://www.raywenderlich.com/1381698-android-tutorial-for-geckoview-getting-started" rel="nofollow noreferrer">https://www.raywenderlich.com/1381698-android-tutorial-for-geckoview-getting-started</a> .<br /> Also ...
I'm using Geckoview . It shows me white page. I'm using below tutorial: https://www.raywenderlich.com/1381698-android-tutorial-for-geckoview-getting-started . Also i have below log in console: [CODE] [CODE] [CODE]
android|geckoview
0
2022-05-24T13:24:42.343Z
2,022
5
13
1
59
0
213
34
2
3
true
true
false
false
false
false
zero
72,363,721
BLE Characteristic UUIDs assignment
<p>I am currently working on a project that involves building a BLE peripheral and client. I read about the UUIDs in this document <a href="https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf" rel="nofollow noreferrer">https://btprodspecificationrefs.blob.core.wi...
I am currently working on a project that involves building a BLE peripheral and client. I read about the UUIDs in this document https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf and assigned my own UUIDs to them of the document that fit the description, e. g. t...
android|bluetooth-lowenergy|hardware
0
2022-05-24T13:24:50.057Z
2,022
5
13
1
48
1
1,014
35
3
0
false
false
false
false
false
false
zero
72,363,763
Multiple colors in TextField not working for all words in Kotlin
<p>I'm making an IDE for Kotlin, I want to be able to color the keywords with blue color but it doesn't filter the second or the third ... etc from the beginning as follows:</p> <p><a href="https://i.stack.imgur.com/BUpOu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BUpOu.png" alt="enter image des...
I'm making an IDE for Kotlin, I want to be able to color the keywords with blue color but it doesn't filter the second or the third ... etc from the beginning as follows: I tried different regex patterns but didn't get what I desired. Here is my function : [CODE] I want to be able to have white spaces, and new lines, a...
java|android|kotlin|android-jetpack-compose
0
2022-05-24T13:27:08.730Z
2,022
5
13
1
35
1
380
64
4
1
true
false
false
false
false
false
zero
72,363,832
How to Access the file associated with PrintJob Object in an Android PrintService?
<p>I've followed A lot of the code in this <code>PrintService</code> example repository: <a href="https://github.com/zaki50/MyPrintServiceProject" rel="nofollow noreferrer">Zaki50 PrintService</a>. The only thing I'm trying to do different is to get the bytes from the file associated with <code>PrintJob</code>. Now I h...
I've followed A lot of the code in this PrintService example repository: Zaki50 PrintService . The only thing I'm trying to do different is to get the bytes from the file associated with PrintJob . Now I have the FileDescriptor , but don't know how to use it to get the actual file data in anyway! Any help would be imme...
android|file|printing|inputstream|thermal-printer
0
2022-05-24T13:31:36.760Z
2,022
5
13
1
106
1
338
82
5
0
false
false
false
false
false
false
zero
72,363,936
Android GeoFire and Firebase Unit Testing in Android Studio with Mockito
<p>I want to write unit tests for this presenter class <code>HomePresenter</code> in Android Studio. However, I'm having trouble creating tests to cover both the <code>geoQueryOnUserLocation</code> method and the <code>geoQueryOnSignLocation</code> method due to using GeoFire and Firebase. I want to test this class usi...
I want to write unit tests for this presenter class HomePresenter in Android Studio. However, I'm having trouble creating tests to cover both the geoQueryOnUserLocation method and the geoQueryOnSignLocation method due to using GeoFire and Firebase. I want to test this class using Mockito . Is there a good way to test t...
android|unit-testing|kotlin|junit|mockito
0
2022-05-24T13:38:34.127Z
2,022
5
13
1
20
0
379
72
5
2
true
true
false
false
false
false
zero
72,364,055
I'm trying to implement autoConnect between android app and Arduino ble
<p>I'm android developer and facing some autoConnect issue.</p> <p>I'm using Arduino nano IOT and developed some simple application to communicate. but I don't know why autoConnect doesn't work in this case.</p> <p>Arduino nano continuously sends gyroscope sensing data(but only when app connected to module)</p> <p>belo...
I'm android developer and facing some autoConnect issue. I'm using Arduino nano IOT and developed some simple application to communicate. but I don't know why autoConnect doesn't work in this case. Arduino nano continuously sends gyroscope sensing data(but only when app connected to module) below is sample code. [CODE]...
android|bluetooth-lowenergy|reconnect|arduino-nano
1
2022-05-24T13:45:17.237Z
2,022
5
13
1
149
2
1,154
71
4
3
true
false
false
false
false
false
low
72,364,092
Android 11 - Install an apk using a system app
<p>I have a custom hardware and I also have access to the signing keys. I have created a system app by signing the app with the platform-key and adding <code>android:sharedUserId=&quot;android.uid.system&quot;</code> in the manifest file. One of the features of this system app is to use it to rescue install a device-ow...
I have a custom hardware and I also have access to the signing keys. I have created a system app by signing the app with the platform-key and adding android:sharedUserId=&quot;android.uid.system&quot; in the manifest file. One of the features of this system app is to use it to rescue install a device-owner app. This cu...
android|apk|android-11
0
2022-05-24T13:47:46.590Z
2,022
5
13
1
8
0
1,097
46
3
3
true
true
false
false
false
false
zero
72,364,096
Problem with binding camerax on android api 26
<p>I have such error:</p> <pre><code>Use case binding failed No supported surface combination is found for camera device - Id : 1. May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@43936ec, androidx.camera.core.impl.ImageCaptureConfig@1a07ab5, and...
I have such error: [CODE] I think it is connected with this code scope: [CODE] As you can see I unbinded all use cases before new binding. This code is located in my activity, and the strange issue is that I don't see any preview on android 7,7.1,7.2 but I see it on android 8+. I removed android:hardwareAccelerated=tru...
android|android-camera|android-camerax
0
2022-05-24T13:47:55.203Z
2,022
5
13
1
122
2
617
46
3
4
true
false
false
false
false
false
zero
72,364,198
There is a problem with Appium / WebdriverIO that the test does not start from WebdriverIO
<p>There is a problem with <strong>Appium / WebdriverIO</strong> that the test does not start from WebdriverIO</p> <p>They run flawlessly</p> <ul> <li><p>adb.exe</p> <p>o adb devices o List of devices attached o emulator-5554 device</p> </li> <li><p>appium inspector</p> </li> <li><p>Vysor</p> </li> <li><p>appiu...
There is a problem with Appium / WebdriverIO that the test does not start from WebdriverIO They run flawlessly adb.exe o adb devices o List of devices attached o emulator-5554 device appium inspector Vysor appium server [Appium] Welcome to Appium v1.22.3 [Appium] Non-default server args: [Appium] address: 127.0.0.1 and...
android|appium|webdriver-io
0
2022-05-24T13:53:22.113Z
2,022
5
13
1
879
2
951
90
3
1
true
false
false
false
false
false
zero
72,364,285
Export data from android to excel file
<p>I want to export data from Android to excel file</p> <p>this is my button logic</p> <pre><code>public void exportProducts(View v) throws IOException { ListView listView = (ListView) findViewById(R.id.listView); XSSFWorkbook workbook = new XSSFWorkbook(); XSSFSheet spreadsheet = workbook.crea...
I want to export data from Android to excel file this is my button logic [CODE] But when I try to press it show me this error [CODE] I google the error for Read-inly file system and found that I need to add in AndroidMaifest.xml these rows [CODE] But didn't work again and give me same error, do u have any idea how to f...
android
1
2022-05-24T13:59:46.503Z
2,022
5
13
1
220
1
326
38
1
3
true
false
false
false
false
false
low
72,364,331
Android Studio java.lang.OutOfMemoryError: Java heap space
<p>Runtime JAR files in the classpath should have the same version. These files were found in the classpath:</p> <pre><code> transforms-3/dc04df3215040707b8fd8b864f3fd379/transformed/jetified-kotlin-stdlib-jdk8-1.5.10.jar (version 1.5) /transforms-3/3f04d00625adc215dd0f9966626c579f/transformed/jetified-kotlin-stdlib-j...
Runtime JAR files in the classpath should have the same version. These files were found in the classpath: [CODE] I am not able to run the build because of the above error. My project doesn't have Jdk8. I tried different versions of Kotlin but no luck.
android|android-studio|kotlin
0
2022-05-24T14:02:17.453Z
2,022
5
14
1
137
1
251
58
3
1
true
false
false
false
false
false
zero
72,364,334
Print HTML Tables, <tr>, <td> and <a> tags on Textview Android
<p>I have a chat app that receives HTML as JSON through an API. Each chat message displays the HTML in a TextView, however I need to display Tables, and tags. I have tried with <code>Html.fromHtml()</code> function and an ImageGetter for the images, however I can't find the way to display the Table tags.</p> <p>I ca...
I have a chat app that receives HTML as JSON through an API. Each chat message displays the HTML in a TextView, however I need to display Tables, and tags. I have tried with Html.fromHtml() function and an ImageGetter for the images, however I can't find the way to display the Table tags. I cannot use a WebView because...
java|android|html|textview
2
2022-05-24T14:02:34.537Z
2,022
5
14
1
54
1
425
62
4
0
false
false
false
false
false
false
low
72,364,468
android Firebase not working in release builds
<p>i created a key and generated a signed apk with the key created.</p> <p>i used &quot;Generate Signed apk&quot; in android studio</p> <p>then i used the keytool command to extract the SHA1 fingerprint and added to the firebase console in my app project settings</p> <p>but still firebase does not work in release build...
i created a key and generated a signed apk with the key created. i used &quot;Generate Signed apk&quot; in android studio then i used the keytool command to extract the SHA1 fingerprint and added to the firebase console in my app project settings but still firebase does not work in release builds but works fine in debu...
android|firebase|android-studio|firebase-realtime-database
0
2022-05-24T14:11:31.080Z
2,022
5
14
1
138
0
456
46
4
1
true
true
false
false
false
false
zero
72,364,487
Barcode scanning in Espresso
<p><strong>Context:</strong> I have to write an automated test in Espresso to scan barcodes from the app screen (as in image #1) by pressing the infra red (IR) scanner button of the device. Once scanned, if the bc is not valid, the screen changes to image #2.</p> <p><strong>My question:</strong> As scanning is not an U...
Context: I have to write an automated test in Espresso to scan barcodes from the app screen (as in image #1) by pressing the infra red (IR) scanner button of the device. Once scanned, if the bc is not valid, the screen changes to image #2. My question: As scanning is not an UI element, how to programmatically scan a ba...
android-espresso|barcode-scanner
0
2022-05-24T14:12:52.450Z
2,022
5
14
1
34
0
664
28
2
0
false
true
false
false
false
false
zero
72,364,500
How to using static method of my class java in qt6
<p>i have: MyFile.java:</p> <pre><code>import android.net.Uri import android.content.ContentResolver import android.os.ParcelFileDescriptor package org.qtproject.example.p2p; // what I need write here? public class MyFile { static int getFdFromString(ContentResolver cr, String suri) { var uri = Uri(suri); ...
i have: MyFile.java: [CODE] and this code in my app: [CODE] How to connect this files? (run static method from Qt(c++) code) Upd: ok... I don't say about my project struct: p2p/main.cpp, p2p/p2p.pro, p2p/...(other files .cpp and .h of my app) in p2p/ I don't have any folders(as android or ...). What folders I need crea...
java|android|c++|java-native-interface|qt6
1
2022-05-24T14:14:13.860Z
2,022
5
14
1
69
1
399
50
5
2
true
false
false
false
false
false
low
72,364,570
How to match scroll controller `animateTo()` scroll duration with the video playing duration
<p>I am creating a small video editing app it uses Flutter for UI development. But now I had a problem developing the video timeline. I created the timeline by extracting thumbnail for each 1 second of the video and wrapping them in a Row and I wrapped the Row again with a SingleChildScrollView. Then I used ScrollContr...
I am creating a small video editing app it uses Flutter for UI development. But now I had a problem developing the video timeline. I created the timeline by extracting thumbnail for each 1 second of the video and wrapping them in a Row and I wrapped the Row again with a SingleChildScrollView. Then I used ScrollControll...
flutter|android-studio|flutter-layout|flutter-animation
0
2022-05-24T14:19:06.050Z
2,022
5
14
1
34
0
511
92
4
1
true
true
false
false
false
false
zero
72,364,634
Is Admob Interstitial ad recall itself if failed to load?
<p>I just wanna know, If Interstitial ad failed to load at first time, is it gonna recall itself after some time to load again? or I have to recall it manually by <code>onAdFailedToLoad</code> handler?</p>
I just wanna know, If Interstitial ad failed to load at first time, is it gonna recall itself after some time to load again? or I have to recall it manually by onAdFailedToLoad handler?
android|admob|interstitial
1
2022-05-24T14:24:34.500Z
2,022
5
14
1
44
1
185
57
3
0
false
false
false
false
false
false
low
72,364,690
Compose and UiState
<p>In compose the idea is to maintain composable state via UiState. Composable is recomposed every time UiState is updated. However, in some cases we can't update composable with recomposition, instead, we need to make a call. For example, with <code>ModalBottomSheetLayout</code>, to expand/collapse, I don't trigger re...
In compose the idea is to maintain composable state via UiState. Composable is recomposed every time UiState is updated. However, in some cases we can't update composable with recomposition, instead, we need to make a call. For example, with ModalBottomSheetLayout , to expand/collapse, I don't trigger recomposition, bu...
android|android-jetpack-compose
-1
2022-05-24T14:28:06.837Z
2,022
5
14
1
109
2
580
19
2
1
true
false
false
false
false
true
negative
72,364,859
Capturing the event of showModelBottomSheet closing
<p>I have been learning flutter for sometime now. I am developing an application and I am stuck with a problem now.</p> <pre><code> showModalBottomSheet( context: context, builder: (context) { return StatefulBuilder( ...
I have been learning flutter for sometime now. I am developing an application and I am stuck with a problem now. [CODE] the whencomplete((){}); function worked when the builder was returning a regular widget (say a container) but when I changed it to return a stateful widget, the whencomplete((){}); function is not wor...
android|flutter|dart|callback|flutter-showmodalbottomsheet
0
2022-05-24T14:38:41.847Z
2,022
5
14
1
22
1
456
51
5
1
true
false
false
false
false
false
zero
72,364,886
Android Studio: Flutter tooltip for Widget arguments
<p>I'm trying out Android Studio for Flutter development.</p> <p>A feature I lack from Visual Studio Code is the tooltip that displays when tapping <code>opt + esc</code> (on Mac) and lets me choose the argument for the widget.</p> <p><a href="https://i.stack.imgur.com/oYjMH.png" rel="nofollow noreferrer"><img src="htt...
I'm trying out Android Studio for Flutter development. A feature I lack from Visual Studio Code is the tooltip that displays when tapping opt + esc (on Mac) and lets me choose the argument for the widget. Is there a similar thing in Android Studio ?
android|flutter|android-studio|visual-studio-code
1
2022-05-24T14:40:28.200Z
2,022
5
14
1
46
1
249
52
4
0
false
false
false
false
false
false
low
72,364,987
Invalid UUID/Services returned while scanning paired devices
<p>I am trying to find a specific type of device based on its services from the list of already paired devices, but when I get the devices UUID, none of the services supported by the device actually show up.</p> <p>I don't want to <code>device.connectGatt(this, false, gattCallback);</code> to every single device paired...
I am trying to find a specific type of device based on its services from the list of already paired devices, but when I get the devices UUID, none of the services supported by the device actually show up. I don't want to device.connectGatt(this, false, gattCallback); to every single device paired to eventually find the...
java|android|bluetooth|bluetooth-lowenergy|uuid
1
2022-05-24T14:47:16.707Z
2,022
5
14
1
49
2
652
60
5
1
true
false
false
false
false
false
low
72,365,071
What's the best way to assertColor() on a Jetpack Compose Component
<p>I have several components that take in a state, and set colors accordingly.</p> <p>In order to test this, I need a good way to call something like <code>assertColor()</code> on a node.</p> <p>My initial thought was to add semantics properties, however Google itself warns to avoid doing this if the properties are onl...
I have several components that take in a state, and set colors accordingly. In order to test this, I need a good way to call something like assertColor() on a node. My initial thought was to add semantics properties, however Google itself warns to avoid doing this if the properties are only to be used for testing, whic...
android|kotlin|android-jetpack-compose|ui-testing
0
2022-05-24T14:52:32.943Z
2,022
5
14
1
159
1
1,536
67
4
0
false
false
false
false
false
false
zero
72,365,130
Unable to restore state when going back to the original scene from the second scene
<p>I have a bottom sheet dialog fragment that has an information (i) icon. On clicking that, We navigate to another scene(layout) which shows the details. I'm using the transition manager class to change the scenes. There is an Ok button on the second scene on clicking that we return to the first scene. After returning...
I have a bottom sheet dialog fragment that has an information (i) icon. On clicking that, We navigate to another scene(layout) which shows the details. I'm using the transition manager class to change the scenes. There is an Ok button on the second scene on clicking that we return to the first scene. After returning, I...
android|android-animation|android-transitions
0
2022-05-24T14:55:30.393Z
2,022
5
14
1
11
0
505
83
3
1
true
true
false
false
false
false
zero
72,365,141
Using classess from AAR library that is dependency of another AAR which is included in application project
<p>I have a project that consists of 3 AAR modules:</p> <ol> <li>Client</li> <li>Common</li> <li>Server</li> </ol> <p>These are built as 3 separate aar libraries.</p> <p>In another project, Android application, I am implementing 2 libraries for use, client and common.</p> <p>What I have to do is implement only 1 librar...
I have a project that consists of 3 AAR modules: Client Common Server These are built as 3 separate aar libraries. In another project, Android application, I am implementing 2 libraries for use, client and common. What I have to do is implement only 1 library, client, and access common library classes in my application...
android|gradle|shared-libraries|aar
0
2022-05-24T14:57:01.673Z
2,022
5
14
1
46
0
626
106
4
0
false
true
false
false
false
false
zero
72,365,147
Why is this message is displayed in android studio. And how to get x, y position of click from this message
<p>Why is this message is displayed in android studio. And how to get x, y position of click from this message.</p> <p><a href="https://i.stack.imgur.com/j5aHF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j5aHF.png" alt="enter image description here" /></a></p>
Why is this message is displayed in android studio. And how to get x, y position of click from this message.
flutter|android-studio|dart|flutter-dialog
0
2022-05-24T14:57:17.910Z
2,022
5
14
1
19
0
108
107
4
0
false
true
false
false
false
false
zero
72,365,207
Integrating Launch Darkly with Android
<p>We want to configure our application in three different environments Qa, Beta and production with a third party application. So when it's a QA environment, the application behaves a certain way and like wise for the other environments. We push the same apk from beta to production. And for Qa, we download the apk fro...
We want to configure our application in three different environments Qa, Beta and production with a third party application. So when it's a QA environment, the application behaves a certain way and like wise for the other environments. We push the same apk from beta to production. And for Qa, we download the apk from b...
android|launchdarkly
0
2022-05-24T15:01:21.837Z
2,022
5
15
1
22
0
378
38
2
0
false
true
false
false
false
false
zero
72,365,313
Android Geofence `DWELL` and `EXIT` event issue
<p>My code only tracks <code>DWELL</code> and <code>EXIT</code> events. Sometimes when arriving to a fence, the <code>EXIT</code> event gets triggered right away without the <code>DWELL</code> event ever getting triggered first, even while still standing inside the fence.</p> <p>I have the initial trigger set to <code>...
My code only tracks DWELL and EXIT events. Sometimes when arriving to a fence, the EXIT event gets triggered right away without the DWELL event ever getting triggered first, even while still standing inside the fence. I have the initial trigger set to DWELL , loitering to one minute, and my fence radius to 100 meters i...
android|google-play-services|geofencing
0
2022-05-24T15:09:16.153Z
2,022
5
15
1
39
0
572
47
3
0
false
true
false
false
false
false
zero
72,365,466
How to use indexwhere
<pre><code>class SearchBar extends SearchDelegate { final TumUrunlerDeneme _tumUrunlerDeneme = TumUrunlerDeneme(); @override List&lt;Widget&gt; buildActions(BuildContext context) { return [ IconButton( onPressed: () { query = ''; }, icon: const Icon(Icons.close...
[CODE] Here is detail page : [CODE] here is Controller page: [CODE] No matter what I search for, the detail opens according to the product order in the whole list. When I click on the product I am looking for, I reach the details of another product. How can I search for the product I want and find the details of the pr...
android|json|flutter|firebase|api
0
2022-05-24T15:20:13.093Z
2,022
5
15
1
32
0
367
21
5
3
true
true
false
false
false
false
zero
72,365,551
How to turn off the microphone in bluetooth headphones. Or Translate all sounds to A2DP
<p>I have an android 12 phone and simple bluetooth headphones. When I connect them in a conversation, they have a terrible sound, unlike the sound of the microphone in the phone. How do I turn off the bluetooth microphone completely?</p>
I have an android 12 phone and simple bluetooth headphones. When I connect them in a conversation, they have a terrible sound, unlike the sound of the microphone in the phone. How do I turn off the bluetooth microphone completely?
android|bluetooth|android-bluetooth|headphones
0
2022-05-24T15:26:16.443Z
2,022
5
15
1
61
0
230
87
4
0
false
true
false
false
false
false
zero
72,365,596
website in webview Xamarin Forms upload file
<p>I have my MainPage.xaml with my webview:</p> <pre><code> &lt;WebView VerticalOptions=&quot;FillAndExpand&quot; Navigating=&quot;OnNavigating&quot; Navigated=&quot;OnNavigated&quot; HorizontalOptions=&quot;FillAndExpand&quot; x:Name=&quot;loadVideo_wv&quot; /&gt; </code></pre> <p>in my MainPage.xaml.cs i load link:<...
I have my MainPage.xaml with my webview: [CODE] in my MainPage.xaml.cs i load link: [CODE] I add permission in my manifest to read files but when i want to upload a file, i have this: [CODE] [eglCodecCommon] setVertexArrayObject: set vao to 1 (1) 0 0 [EGL_emulation] eglMakeCurrent: 0xd661a300: ver 2 0 (tinfo 0xd660ff80...
c#|android|xaml|xamarin.forms
0
2022-05-24T15:29:21.713Z
2,022
5
15
1
34
0
815
44
4
3
true
true
false
false
false
false
zero
72,365,618
Error: package android.content does not exist
<p>I am trying to run <code>eas build</code> for my expo React Native project, and the process keeps failing in the <code>run Gradlew</code> section, and this is the first error to appear in those logs...</p> <pre><code>Error: package android.content does not exist </code></pre> <p>I am very new to publishing applicati...
I am trying to run eas build for my expo React Native project, and the process keeps failing in the run Gradlew section, and this is the first error to appear in those logs... [CODE] I am very new to publishing applications, and this is my first app publication using Expo. Does anyone know the solution to this error?
android|build|expo
3
2022-05-24T15:31:24.367Z
2,022
5
15
1
359
0
318
45
3
1
true
true
false
false
false
false
low
72,365,637
How solve: Android webview doesn't show images of `img` tag which contains '%2F' in URL
<p>Step 1: Uploaded image on Firebase Storage</p> <p>Step 2: Stored image's URL in Firestore Database</p> <p>Step 3: Fetched URL from the database into App</p> <p>Step 4: Trying to show that image in android <code>Webview</code></p> <p>Because the image url contains <code>%2F</code> in the URL <code>Webview</code> does...
Step 1: Uploaded image on Firebase Storage Step 2: Stored image's URL in Firestore Database Step 3: Fetched URL from the database into App Step 4: Trying to show that image in android Webview Because the image url contains %2F in the URL Webview doesn't display the image. [CODE] Problem: Webview doesn't show the image!...
kotlin|url|android-webview|firebase-storage
0
2022-05-24T15:32:38.467Z
2,022
5
15
1
56
0
476
87
4
2
true
true
false
false
false
false
zero
72,365,756
setState() or markNeedsBuild() called during build TextField
<p>I'm calling a homemade EnterTextField with a TextField. But when this screen is opened, the following errors are shown. And the input field loses focus (if you click on the numbers on the keyboard, nothing happens), until you set the focus in the text field yourself (tap on the TextField).</p> <p>Call from widget:</...
I'm calling a homemade EnterTextField with a TextField. But when this screen is opened, the following errors are shown. And the input field loses focus (if you click on the numbers on the keyboard, nothing happens), until you set the focus in the text field yourself (tap on the TextField). Call from widget: [CODE] Widg...
android|flutter|widget|textfield
0
2022-05-24T15:40:54.917Z
2,022
5
15
1
127
1
398
60
4
3
true
false
false
false
false
false
zero
72,365,786
DIfferent view width for phones and tablets
<p>Trying to avoid creating a specific layout for tablets. Maybe there is some solution to achieve such results as on the images with ConstraintLayout or something like that</p> <p>Screen for a phone:</p> <p><a href="https://i.stack.imgur.com/vK2MB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vK2M...
Trying to avoid creating a specific layout for tablets. Maybe there is some solution to achieve such results as on the images with ConstraintLayout or something like that Screen for a phone: The same screen for a tablet:
android|android-constraintlayout|tablet|screen-size
0
2022-05-24T15:42:54.300Z
2,022
5
15
1
29
0
220
43
4
0
false
true
false
false
false
false
zero
72,365,873
React native integrated app expo configuration error A problem occurred configuring project ':expo'
<p>I'm trying to build a react native package to integrate with an andriod app, I'm using a template android app to test if there is a configuration that could potentially work. When I try to add expo to the above in order to be able to use expo libraries like expo-fonts I keep getting errors and the build keeps failli...
I'm trying to build a react native package to integrate with an andriod app, I'm using a template android app to test if there is a configuration that could potentially work. When I try to add expo to the above in order to be able to use expo libraries like expo-fonts I keep getting errors and the build keeps failling....
android|react-native|gradle|expo
0
2022-05-24T15:49:20.573Z
2,022
5
15
1
253
1
431
99
4
2
true
false
false
false
false
false
zero
72,365,894
Cannot pin Android plugin version in Flutter app
<p>Because of <a href="https://github.com/firebase/flutterfire/issues/8444" rel="nofollow noreferrer">the bug</a> in <code>firebase_auth</code> plugin I'm getting Java memory error reports in Crashlytics. So I want to pin <code>firebase-auth</code> Android plugin to <code>20.0.4</code> version.</p> <p>I added <code>cla...
Because of the bug in firebase_auth plugin I'm getting Java memory error reports in Crashlytics. So I want to pin firebase-auth Android plugin to 20.0.4 version. I added classpath 'com.google.firebase:firebase-auth:20.0.4' buildscript dependency to android/build.gradle . I also specified Android plugin version in local...
android|flutter|firebase-authentication
0
2022-05-24T15:50:54.897Z
2,022
5
15
1
30
1
801
48
3
1
true
false
false
false
false
false
zero
72,366,068
Android Kotlin - How do I determine when "last pointer up" on multitouch for several buttons?
<p><a href="https://i.stack.imgur.com/vc4o9.jpg" rel="nofollow noreferrer">Screenshot</a></p> <p>I want to do something like playing chords. Any of these five buttons can be pressed in any combination to provide a different result. The order in which they are pressed does not matter, just the end combination.</p> <p>...
Screenshot I want to do something like playing chords. Any of these five buttons can be pressed in any combination to provide a different result. The order in which they are pressed does not matter, just the end combination. Each button click gets registered, but the final total doesn't show until I touch elsewhere on ...
android|kotlin|button|combinations
0
2022-05-24T16:05:01.803Z
2,022
5
16
1
97
1
1,496
93
4
4
true
false
false
false
false
false
zero
72,366,136
Trying to move an image in android studio
<p>I'm making a game and I can't get my image to move properly on a swipe. I tried doing angle calculations and such to sense where the swipe was by getting the x and y of the final and initial positions and subtracting them but it is not working for all angles. Up Right and Down Right aren't working but all the other ...
I'm making a game and I can't get my image to move properly on a swipe. I tried doing angle calculations and such to sense where the swipe was by getting the x and y of the final and initial positions and subtracting them but it is not working for all angles. Up Right and Down Right aren't working but all the other dir...
android
0
2022-05-24T16:11:22.220Z
2,022
5
16
1
19
0
498
41
1
1
true
true
false
false
false
false
zero
72,366,205
Calculate x, y and z from lat, long and azimuth
<p>There is a way to calculate a vector 3 (x, y, z) given:</p> <ol> <li>My position, in latitude and longitude;</li> <li>The position of a place, in latitude and longitude;</li> <li>Azimuth</li> </ol> <p>In my case, once I have calculated the angle between my position and the position of the place, bearing in mind the ...
There is a way to calculate a vector 3 (x, y, z) given: My position, in latitude and longitude; The position of a place, in latitude and longitude; Azimuth In my case, once I have calculated the angle between my position and the position of the place, bearing in mind the azimuth value, how do I get the points x, y and ...
android|ios|augmented-reality|latitude-longitude|azimuth
0
2022-05-24T16:16:44.327Z
2,022
5
16
1
129
0
503
47
5
0
false
true
false
false
false
false
zero
72,366,228
Ionic - cordova-support-google-services plugin fails to install after upgrading to Cordova Android 10
<p>When I run the command <strong>ionic cordova platform add android@10.0.1</strong> :</p> <p>I see the following message</p> <pre><code>Installing &quot;cordova-support-google-services&quot; for android Plugin doesn't support this project's cordova-android version. cordova-android: 10.0.1, failed version requirement: ...
When I run the command ionic cordova platform add android@10.0.1 : I see the following message [CODE] Which eventually leads to the error: [CODE] Is there any other plugin I can install to sort this issue? Listing all the installed plugins below for reference: [CODE]
android|cordova|ionic4
0
2022-05-24T16:18:17.603Z
2,022
5
16
1
439
1
267
101
3
3
true
false
false
false
false
false
zero
72,366,389
Do I need to implement Service for android - ble connection?
<p>I'm developing android app connecting to ble module</p> <p>I'm testing it with Arduino nano IOT module</p> <p>So far, app can read/write some data on it but I have read lots of articles and codes that (foreground) Service needs to be applied for the stable connectivity.</p> <p>I'm not so sure if I really need to imp...
I'm developing android app connecting to ble module I'm testing it with Arduino nano IOT module So far, app can read/write some data on it but I have read lots of articles and codes that (foreground) Service needs to be applied for the stable connectivity. I'm not so sure if I really need to implement it. My scenario i...
android|service|bluetooth|bluetooth-lowenergy
0
2022-05-24T16:29:35.357Z
2,022
5
16
1
21
0
1,033
60
4
0
false
true
false
false
false
false
zero
72,366,423
send tab layout on top
<p>I want my tab layout to appear on top of my screen. Currently it is on the bottom on the screen. Tried a few ways didn't work. How can I make it go on top of my screen.</p> <p>Code for the xml file</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;FrameLayout xmlns:android=&quot;htt...
I want my tab layout to appear on top of my screen. Currently it is on the bottom on the screen. Tried a few ways didn't work. How can I make it go on top of my screen. Code for the xml file [CODE]
java|android|xml
-1
2022-05-24T16:32:25.640Z
2,022
5
16
1
17
1
197
22
3
1
true
false
false
false
false
true
negative
72,366,477
Pass parameter from activity to game surface view
<p>I am implementing a game where the player can choose its difficulty, so I would like to pass on a parameter from the activity to the surface view class in order to display the different objects. As the constructor of the actual GameSurfaceView class is never called, I cannot simply cannot pass the data through the c...
I am implementing a game where the player can choose its difficulty, so I would like to pass on a parameter from the activity to the surface view class in order to display the different objects. As the constructor of the actual GameSurfaceView class is never called, I cannot simply cannot pass the data through the cons...
java|android|android-activity|surfaceview
0
2022-05-24T16:37:12.607Z
2,022
5
16
1
52
0
609
49
4
3
true
true
false
false
false
false
zero
72,366,667
How to relate two table in Android Sqlite?
<p>I need help to create the relation between two tables in Android Studio using Sqlite. I have one of the tables is for users and the other one is for contacts that the user can saved</p> <pre><code>user_table(userId, fullName, email, password, phoneNumber) contacts_table(contactId, contactName, contactPhoneNumber) </...
I need help to create the relation between two tables in Android Studio using Sqlite. I have one of the tables is for users and the other one is for contacts that the user can saved [CODE] I need to let the user enter as many contacts as it wants to, so when he login into its session will display all the contacts store...
android|sql|database|sqlite
-1
2022-05-24T16:52:48.090Z
2,022
5
16
1
37
2
492
42
4
1
true
false
false
false
false
true
negative
72,366,736
What are the options for displaying LazyColumn at the click of a button
<p>it is necessary that by clicking the button an object is added to the list and the added object is displayed in the list</p> <pre><code>setContent { ComposeTheme { Column( Modifier .fillMaxSize() .padding(16.dp) ...
it is necessary that by clicking the button an object is added to the list and the added object is displayed in the list [CODE] by clicking the button, the object is added, but I do not know how to update the list in runtime [CODE] the code that should display the list [CODE] I hope I wrote it clearly and not confusing...
android|kotlin|android-jetpack-compose
2
2022-05-24T16:58:01.817Z
2,022
5
16
1
23
0
321
71
3
3
true
true
false
false
false
false
low
72,366,800
> Task :expo-location:compileDebugJavaWithJavac FAILED react-native
<p><strong>I'm trying to run my application &amp; I don't understand why this exception is generated</strong></p> <p>I run a yarn upgrade and I think that what maybe the reason for this error because the app was just fine.</p> <p>So anyone had faced the same problem ?</p> <p><strong>Package.json</strong></p> <pre><code...
I'm trying to run my application & I don't understand why this exception is generated I run a yarn upgrade and I think that what maybe the reason for this error because the app was just fine. So anyone had faced the same problem ? Package.json [CODE] This is what I get in the console : What's weird it's that error of u...
java|android|firebase|react-native
1
2022-05-24T17:04:10.883Z
2,022
5
17
1
502
0
417
67
4
2
true
true
false
false
false
false
low
72,366,890
AlertDialog NumberPicker that opens after a TimePicker is set
<p>I'm trying to implement a functionality such that after the user sets a time (from a TimePicker) I need the user to supply a number (between 1 and 24) that will be stored in a variable. The <code>TimePicker</code> is already implemented:</p> <pre class="lang-java prettyprint-override"><code>public class MedicationAc...
I'm trying to implement a functionality such that after the user sets a time (from a TimePicker) I need the user to supply a number (between 1 and 24) that will be stored in a variable. The TimePicker is already implemented: [CODE] From my understanding, I have to implement an AlertDialog to pop-up, that contains a Num...
java|android
0
2022-05-24T17:11:48.927Z
2,022
5
17
1
16
0
1,103
61
2
4
true
true
false
false
false
false
zero
72,366,969
How to change fragment and selected item in bottom navigation menu in android studio
<p>I wanted my app to change fragment view and the selected item in bottom navigation menu. I tried doing this:</p> <pre><code>private void replaceFragment(Fragment fragment){ FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTr...
I wanted my app to change fragment view and the selected item in bottom navigation menu. I tried doing this: [CODE] It changes the fragment but the item selected in the bottom navigation menu doesn't. I tried doing startActivity(new Intent(activity.this, destination.class)); but it doesn't suit the app because it also ...
android|android-studio|android-fragments|bottomnavigationview
0
2022-05-24T17:18:44.827Z
2,022
5
17
1
1,535
1
772
84
4
1
true
false
false
false
false
false
zero
72,366,973
How to move all records from one location to another in Firestore Database (Android Studio)
<p>How to move all Firebase database records (not a specific record with an id) from a specific location to another. Code for moving certain records:</p> <pre><code>delete.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { ...
How to move all Firebase database records (not a specific record with an id) from a specific location to another. Code for moving certain records: [CODE] Database structure: ,
java|android|firebase|google-cloud-firestore
0
2022-05-24T17:19:07.560Z
2,022
5
17
1
32
2
175
91
4
1
true
false
false
false
false
false
zero
72,367,094
How to Improve performance with Jetpack Compose (when assembling something inside a @Composable function)
<p>Suppose I have two composables in my app:</p> <pre><code>@Composable fun CoreKeyboard(keyboardKeys: List&lt;List&lt;KeyboardKey&gt;&gt;, ...) { // ... } </code></pre> <p>and</p> <pre><code>@Composable fun NumberKeyboard(...) { val keyboardKeys = listOf( listOf(KeyboardKey(&quot;1&quot;), KeyboardKey(...
Suppose I have two composables in my app: [CODE] and [CODE] If I'm not wrong, this approach is not very performatic as in every recomposition the keyboardKeys in NumberKeyboard will be reassembled. What is the best way to do this? I thought about using by remember { mutableStateOf(...) } , but keyboardKeys is immutable...
android|performance|android-jetpack-compose
0
2022-05-24T17:29:31.513Z
2,022
5
17
1
123
1
350
105
3
2
true
false
false
false
false
false
zero