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,858,526
Kotlin: ListVew inside a fragment
<p>i am trying to create a very simple listview inside a fragment but there is something that i am doing wrong and the list view doesnt show on the screen.</p> <p>this is my <code>fragmentWifi.kt</code>:</p> <pre><code>import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater imp...
i am trying to create a very simple listview inside a fragment but there is something that i am doing wrong and the list view doesnt show on the screen. this is my fragmentWifi.kt : [CODE] this is my fragment_wifi.xml [CODE] and this is R.layout.simple_list_item : [CODE] i think the proble is in the fragmentWifi.kt cla...
android|kotlin|listview|android-fragments
0
2022-07-04T14:45:04.400Z
2,022
7
14
0
46
3
515
33
4
4
true
false
false
false
false
false
zero
72,858,596
Removing some files (.apk files) after installation but before packaging system folder to system.img
<p>As the title suggests I want a list of .apk files to be removed from system.img before packaging so that those does not consume file system space on &quot;/&quot; (/system partition). Basically I want it to be scalable solution so written a shell script to remove those .apks as below: apk_removal.sh</p> <pre><code>*...
As the title suggests I want a list of .apk files to be removed from system.img before packaging so that those does not consume file system space on &quot;/&quot; (/system partition). Basically I want it to be scalable solution so written a shell script to remove those .apks as below: apk_removal.sh [CODE] How can I us...
android|system|build-system
0
2022-07-04T14:51:20.660Z
2,022
7
14
0
26
0
397
100
3
1
true
true
false
false
false
false
zero
72,858,648
Android Compose: LazyVerticalGrid DSL with dynamic GridItemSpan, is there a spanSizeLookup?
<p>In the Android <code>View</code> system with a <code>RecyclerView</code>, one could have the <code>GridLayoutManager</code> decide at runtime the number of &quot;Spans&quot; each item used by using a callback called <code>spanSizeLookup</code>:</p> <p>Imagine you have</p> <pre><code>val layoutManager = GridLayoutMan...
In the Android View system with a RecyclerView , one could have the GridLayoutManager decide at runtime the number of &quot;Spans&quot; each item used by using a callback called spanSizeLookup : Imagine you have [CODE] Now I'm attempting to convert this to Compose using LazyVerticalGrid where there's no Adapter, and ce...
android|android-jetpack-compose
1
2022-07-04T14:56:06.457Z
2,022
7
14
0
131
1
1,864
91
2
5
true
false
false
false
false
false
low
72,858,675
Android toast displaying incorrect String value
<p>When setting a switch as off the user should receive a toast saying &quot;alarm set for 00.40&quot; for example, but for some reason the &quot;alarm set for&quot; has been swapped out for a string of numbers as below.</p> <p><a href="https://i.stack.imgur.com/sMyLs.png" rel="nofollow noreferrer"><img src="https://i....
When setting a switch as off the user should receive a toast saying &quot;alarm set for 00.40&quot; for example, but for some reason the &quot;alarm set for&quot; has been swapped out for a string of numbers as below. The code: [CODE] and the string resources: [CODE] all others work perfectly, and changing the content ...
android|xml|android-studio|kotlin|android-toast
-1
2022-07-04T14:58:02.783Z
2,022
7
14
0
51
1
352
47
5
2
true
false
false
false
false
true
negative
72,858,717
How to know if a Composable is currently being rendered (the Composable is not inside a Lazy Composable)?
<p>If I have a layout that is big enough to cause the screen to have a vertical scroll, how can I know If a certain Composable is being currently rendered (fully or partially) or not?</p> <hr /> <p>It is important to highlight that no <code>Lazy</code> Composable (like <code>LazyColumn</code>) is being used in this lay...
If I have a layout that is big enough to cause the screen to have a vertical scroll, how can I know If a certain Composable is being currently rendered (fully or partially) or not? It is important to highlight that no Lazy Composable (like LazyColumn ) is being used in this layout.
android|android-jetpack-compose
0
2022-07-04T15:01:50.397Z
2,022
7
15
0
69
1
282
105
2
0
false
false
false
false
false
false
zero
72,858,808
MotionLayout shows final constraints suddenly before starting transition
<p>The problem I am having is my layout is showing the final position of the constraints (or the final few), before actually starting the transition.</p> <p>So when all panels are allClosed and go to allOpen, it will suddenly flash with the final constraints and then actually begin animation. It also does not size the ...
The problem I am having is my layout is showing the final position of the constraints (or the final few), before actually starting the transition. So when all panels are allClosed and go to allOpen, it will suddenly flash with the final constraints and then actually begin animation. It also does not size the height cor...
android|android-animation|android-constraintlayout|android-motionlayout|constraintset
0
2022-07-04T15:08:48.267Z
2,022
7
15
0
36
0
782
72
5
2
true
true
false
false
false
false
zero
72,858,908
Kotlin VideoView path with a changing resource name
<p>I have a group of mp4 files (v1.mp4, v2mp4,...) inside the raw folder. <strong>I need to read them randomly after a button is clicked.</strong></p> <p>I get the message &quot;not possible to play this video&quot;.</p> <p>If I point to a specific file in the setVideoPath, (&quot;android.resource://&quot; + packageNam...
I have a group of mp4 files (v1.mp4, v2mp4,...) inside the raw folder. I need to read them randomly after a button is clicked. I get the message &quot;not possible to play this video&quot;. If I point to a specific file in the setVideoPath, (&quot;android.resource://&quot; + packageName + &quot;/&quot; + R.raw.v2) the ...
kotlin|android-videoview
0
2022-07-04T15:16:05.607Z
2,022
7
15
0
18
0
436
51
2
1
true
true
false
false
false
false
zero
72,858,989
Gradle Problem, After My Build to android, [ Ionic ]
<ul> <li><p>Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</p> </li> <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p> </li> </ul> <p>Deprecated Gr...
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' ...
android|angular|ionic-framework
0
2022-07-04T15:22:53.253Z
2,022
7
15
0
116
1
807
52
3
1
true
false
false
false
false
false
zero
72,858,994
Ionic revenuecat "Cannot resolve symbol hybridcommon" and more
<p>I have installed cordova and capacitor plugins for ionic by following this guide :</p> <p><a href="https://ionicframework.com/docs/native/purchases" rel="nofollow noreferrer">https://ionicframework.com/docs/native/purchases</a></p> <pre><code>$ npm install cordova-plugin-purchases@2.3.0 $ npm install @awesome-cordo...
I have installed cordova and capacitor plugins for ionic by following this guide : https://ionicframework.com/docs/native/purchases [CODE] package.json I have those : [CODE] Then when I run the android studio this missing libraries shows: [CODE] All those files found in this repo : https://github.com/RevenueCat/purchas...
android|revenuecat
1
2022-07-04T15:23:05.593Z
2,022
7
15
0
27
1
443
62
2
3
true
false
false
false
false
false
low
72,858,997
Custom Options Menu item does not trigger `onOptionsItemSelected` when clicked
<p>In my top AppBar options menu I needed an custom menu item, so I defined it like so in my Fragment:</p> <pre class="lang-kotlin prettyprint-override"><code>override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) { menu.add(Menu.NONE, 0, Menu.NONE, R.string.share) .setActionView(R.lay...
In my top AppBar options menu I needed an custom menu item, so I defined it like so in my Fragment: [CODE] R.layout.menu_item_share_button looks like this: [CODE] My problem is that the onCreateOptionsMenu is not getting called for the fist menu item with the custom view set by setActionView . It works fine for the sec...
android|kotlin|android-appbarlayout
0
2022-07-04T15:23:15.853Z
2,022
7
15
0
26
0
622
78
3
2
true
true
false
false
false
false
zero
72,859,144
popupTo property disturbs the exitanim opteration
<p>While Logging out from HomeFragment to LoginFragment everything works fine except the <code>app:exitAnim=&quot;@anim/slide_out_right&quot;</code> which doesn't take effect but behaves according to the previous operation while moving from LoginFragment to HomeFragment <code>app:exitAnim=&quot;@anim/slide_out_left&quo...
While Logging out from HomeFragment to LoginFragment everything works fine except the app:exitAnim=&quot;@anim/slide_out_right&quot; which doesn't take effect but behaves according to the previous operation while moving from LoginFragment to HomeFragment app:exitAnim=&quot;@anim/slide_out_left&quot; Problem starts when...
android|kotlin
0
2022-07-04T15:34:38.490Z
2,022
7
15
0
15
0
583
49
2
1
true
true
false
false
false
false
zero
72,859,170
Android Documents Provider how to use and do I need it?
<p>I'm going to create an app for accessing the files from the Internet. I do not want to implement UI, but instead to make them visible from other file managers. So, I chose to implement a Document Provider. And I did it. On the next pictures you can see that I open &quot;Files&quot; app, find &quot;My document provid...
I'm going to create an app for accessing the files from the Internet. I do not want to implement UI, but instead to make them visible from other file managers. So, I chose to implement a Document Provider. And I did it. On the next pictures you can see that I open &quot;Files&quot; app, find &quot;My document provider&...
android|storage-access-framework|documents-provider
1
2022-07-04T15:37:17.627Z
2,022
7
15
0
59
1
2,889
55
3
0
false
false
false
false
false
false
low
72,859,179
Jetpack Compose: How to modify the width of Drawer in ModalNavigationDrawer?
<p>Recently I've been trying Material3 combined with Jetpack Compose, and I need a drawer along with a scaffold in one of my screen. It's sad that <code>Scaffold</code> in material3 hasn't support drawer yet, but luckily <code>ModalNavigationDrawer</code> can be found as a substitute. However, using ModalNavigationDraw...
Recently I've been trying Material3 combined with Jetpack Compose, and I need a drawer along with a scaffold in one of my screen. It's sad that Scaffold in material3 hasn't support drawer yet, but luckily ModalNavigationDrawer can be found as a substitute. However, using ModalNavigationDrawer, the drawer's content is a...
android|android-jetpack-compose
0
2022-07-04T15:38:04.320Z
2,022
7
15
0
201
2
595
76
2
0
false
false
false
false
false
false
zero
72,859,196
Android studio BLE Max Client Reach
<p>I am trying to read data from a BLE device 24/7. I am able to scan it and can get the data but when the device is not in the range, then it will scan every 30 seconds ( I have created a handler) and after 32 attempts the app will crash. I checked the log and I am getting the following error</p> <pre><code>can't regi...
I am trying to read data from a BLE device 24/7. I am able to scan it and can get the data but when the device is not in the range, then it will scan every 30 seconds ( I have created a handler) and after 32 attempts the app will crash. I checked the log and I am getting the following error [CODE] This is my code that ...
android|bluetooth-lowenergy
1
2022-07-04T15:39:19.043Z
2,022
7
15
0
55
1
415
35
2
2
true
false
false
false
false
false
low
72,859,319
Critical issues have been reported with the following SDK versions: com.google.android.gms:play-services-safetynet:17.0.0
<p>When I want to upload my flutter aab in Play Console, I got the below warning.</p> <blockquote> <p>Critical issues have been reported with the following SDK versions:</p> <p>com.google.android.gms:play-services-safetynet:17.0.0</p> </blockquote> <p>What the SDK developer told us:</p> <blockquote> <p>The SafetyNet At...
When I want to upload my flutter aab in Play Console, I got the below warning. Critical issues have been reported with the following SDK versions: com.google.android.gms:play-services-safetynet:17.0.0 What the SDK developer told us: The SafetyNet Attestation API is being discontinued and replaced by the new Play Integr...
android|flutter|migration|issue-tracking|safetynet
3
2022-07-04T15:50:51.667Z
2,022
7
15
0
4,358
3
708
121
5
0
false
false
true
false
false
false
low
72,859,361
Create Gallery Album Android Level 27
<p>I am using camerax to record a video in an android app. I have a problem with older versions (I'm using Android 8.1), I can't save the video to the gallery using a custom album name.</p> <p>With Android 12 it works correctly.</p> <p>I attach the code used to save the video:</p> <pre><code>val outputDirectory = requi...
I am using camerax to record a video in an android app. I have a problem with older versions (I'm using Android 8.1), I can't save the video to the gallery using a custom album name. With Android 12 it works correctly. I attach the code used to save the video: [CODE]
android|kotlin|mediastore|android-camerax
0
2022-07-04T15:55:06.820Z
2,022
7
15
0
26
0
267
37
4
1
true
true
false
false
false
false
zero
72,859,416
How to connect properly android app to firebase
<p>I'm working on an android app with the firebaseUI for the authentication.</p> <p>I have downloaded the <code>google-services.json</code> and put it in my project but the login to firebase give me this problem. <a href="https://i.stack.imgur.com/NhlZt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com...
I'm working on an android app with the firebaseUI for the authentication. I have downloaded the google-services.json and put it in my project but the login to firebase give me this problem. I'm working on this app with another guy but with his pc he doesn't have these problem. I also tryed to remove the app from the fi...
android|firebase|firebase-authentication
0
2022-07-04T16:00:40.093Z
2,022
7
16
0
25
0
398
47
3
0
false
true
false
false
false
false
zero
72,859,418
Why is NDK slower then Renderscript on a non parallelizable operation?
<p>Like most of RenderScript (RS) users i was caught by surprise about it's <a href="https://developer.android.com/guide/topics/renderscript/migrate" rel="nofollow noreferrer">deprecation</a>. Understandable but nonetheless frustrating.</p> <p>A bit of context first.</p> <p>Two image processing blocks of my algorithm r...
Like most of RenderScript (RS) users i was caught by surprise about it's deprecation . Understandable but nonetheless frustrating. A bit of context first. Two image processing blocks of my algorithm rely on RS: canny & distance transform. Canny was &quot;straightforward&quot; enough to migrate to Vulkan and i even achi...
android|android-ndk|vulkan|renderscript
0
2022-07-04T16:01:05.333Z
2,022
7
16
0
67
0
1,617
70
4
3
true
true
false
false
false
false
zero
72,859,520
Is it possible to set realtime database value using setValue() function in the adapter?
<p>I am trying to set the value of the realtime database using setValue() function. I don't know it works or not, but I have seen many using setValue() function in the model but they never used it. But I am trying to implement in my code.</p> <p>here is my adapter code:-</p> <pre><code>class PostsAdapter( private v...
I am trying to set the value of the realtime database using setValue() function. I don't know it works or not, but I have seen many using setValue() function in the model but they never used it. But I am trying to implement in my code. here is my adapter code:- [CODE] here is my model code:- [CODE] I am not sure whethe...
android|kotlin|firebase-realtime-database
0
2022-07-04T16:11:02.167Z
2,022
7
16
0
17
0
481
87
3
2
true
true
false
false
false
false
zero
72,859,628
Why "public boolean onTouchEvent(MotionEvent event)" is not getting called when reetlayout is "androidx.constraintlayout.motion.widget.MotionLayout"?
<p>can you guys do a short demo of using motionLyout and try to get log or toast messages from <em>public boolean onTouchEvent(MotionEvent event)</em> in activity class ?</p> <p>In my case. I'm trying to capture drag event and selecting multiple textview in a horizontal linearLaout. This working when I have linearLayou...
can you guys do a short demo of using motionLyout and try to get log or toast messages from public boolean onTouchEvent(MotionEvent event) in activity class ? In my case. I'm trying to capture drag event and selecting multiple textview in a horizontal linearLaout. This working when I have linearLayout as rootlayout. bu...
android|android-recyclerview|android-motionlayout
0
2022-07-04T16:19:21.790Z
2,022
7
16
0
19
0
560
149
3
0
false
true
false
false
false
false
zero
72,859,675
Safeargs library don't create SpecifyAmountFragmentDirections
<p>After adding the argument, the library doesn't create the Direction class for me to be able to pass arguments</p> <p>This is my code:</p> <p>nav_graph.xml</p> <pre><code> &lt;fragment android:id=&quot;@+id/messageFragment&quot; android:name=&quot;com.modolo.healthyplus.chat.MessageFragment&quot; ...
After adding the argument, the library doesn't create the Direction class for me to be able to pass arguments This is my code: nav_graph.xml [CODE] build.gradle: [CODE] [CODE] I'm currently working with Android Studio 4.1.2. I tried to invalidate the cache, clean the project and rebuild it but it didn't work. Looking t...
android|kotlin|android-safe-args
0
2022-07-04T16:24:00.593Z
2,022
7
16
0
21
0
400
61
3
4
true
true
false
false
false
false
zero
72,859,705
Mobile application to control a wifi siren from a server
<p>I want to do a project that consists of controlling a wifi siren that I bought on the internet. This siren has a wifi receiver module that allows it to be activated from anywhere using mobile app.</p> <p>My goal is to create a new project on my own to this device. I planing do this project as follows:</p> <ol> <li><...
I want to do a project that consists of controlling a wifi siren that I bought on the internet. This siren has a wifi receiver module that allows it to be activated from anywhere using mobile app. My goal is to create a new project on my own to this device. I planing do this project as follows: Develop a mobile applica...
android|mobile|server|android-wifi|receiver
0
2022-07-04T16:27:01.990Z
2,022
7
16
0
27
0
715
56
5
0
false
true
false
false
false
false
zero
72,859,754
JetpackCompose SpeechRecognition/Talk/Inputvoice/Speak to the application to navigate/move between different screens in the android application
<p>I am developing an android app using jetpack Compose. I am lacking information and unable to implement navigation between different screens by talking/inputting voice to the app.</p> <p>For example the user should talk to the application and if user says &quot;next&quot; the application should be able to navigate/mo...
I am developing an android app using jetpack Compose. I am lacking information and unable to implement navigation between different screens by talking/inputting voice to the app. For example the user should talk to the application and if user says &quot;next&quot; the application should be able to navigate/move to the ...
navigation|speech-recognition|android-jetpack-compose|speech
0
2022-07-04T16:31:57.123Z
2,022
7
16
0
26
0
487
143
4
0
false
true
false
false
false
false
zero
72,859,829
React Native Paper text input: Why is my textInput so tall?
<p>Im trying to add a textinput to my react native app using react-native-paper, but it keeps rendering as a very tall box instead of horizontal. What am I doing wrong?</p> <p><a href="https://i.stack.imgur.com/64VIE.png" rel="nofollow noreferrer">screenshot of rendered textbox</a></p> <pre><code> import { StyleShee...
Im trying to add a textinput to my react native app using react-native-paper, but it keeps rendering as a very tall box instead of horizontal. What am I doing wrong? screenshot of rendered textbox [CODE]
javascript|android|react-native|react-native-paper
0
2022-07-04T16:40:19.457Z
2,022
7
16
0
104
1
203
59
4
1
true
false
false
false
false
false
zero
72,859,902
How can I get MaterialSwitch id from activity in fragment in android?
<p>How can I get materialSwitch id in fragment from activity. switch which is in mainActivity but i want to check in fragment whether the switch is on or off. for example &quot;if(switchMaterial.ischecked){ code... }&quot; by calling the id from the mainActivity in fragment</p> <p>I have tried this but it doesn't worke...
How can I get materialSwitch id in fragment from activity. switch which is in mainActivity but i want to check in fragment whether the switch is on or off. for example &quot;if(switchMaterial.ischecked){ code... }&quot; by calling the id from the mainActivity in fragment I have tried this but it doesn't worked MainActi...
java|android|android-fragments
2
2022-07-04T16:50:55.960Z
2,022
7
16
0
33
1
444
69
3
2
true
false
false
false
false
false
low
72,859,968
Jetpack Compose Navigation - Passing local file location as string
<p>I am trying to pass audio file location(<code>/storage/emulated/0/Android/media/...</code>) as string from first screen<code>home_screen</code> to second screen<code>detail_screen</code>, When I pass normally above string as a parameter I am getting this error</p> <pre><code>java.lang.IllegalArgumentException: Navig...
I am trying to pass audio file location( /storage/emulated/0/Android/media/... ) as string from first screen home_screen to second screen detail_screen , When I pass normally above string as a parameter I am getting this error [CODE] As for the place, if I am passing a string like Here you go.mp3 , it's working fine! I...
android|android-jetpack-compose|android-architecture-navigation|android-navigation|navigation-compose
2
2022-07-04T16:57:03.773Z
2,022
7
16
0
97
1
384
66
5
1
true
false
false
false
false
false
low
72,860,036
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0
<p>I have been working on this project and everything seem perfect until about a week ago, I tried to launch the project on an emulator and ran into the error below.</p> <pre><code>$ yarn react-native run-android yarn run v1.22.15 $ C:\Users\Chifes\Desktop\apps\RoGoods\node_modules\.bin\react-native run-android info Ru...
I have been working on this project and everything seem perfect until about a week ago, I tried to launch the project on an emulator and ran into the error below. [CODE] Here is my package.json content [CODE] Over the past week, I have tried everything to fix this error but nothing seem to work. I have uninstalled most...
java|android|reactjs|react-native|kotlin
2
2022-07-04T17:04:02.827Z
2,022
7
17
0
279
0
420
90
5
2
true
true
false
false
false
false
low
72,860,071
adb.exe start-server' failed android studio - Not solved by earlier threads
<p>I am getting the adb.exe start-server' failed run manually error message now when I open up Android Studio on any project.</p> <p>I have gone through all the past threads addressing this error and tried all suggested solutions and none worked - hoping someone has an incremental idea. Here is the list of things tried...
I am getting the adb.exe start-server' failed run manually error message now when I open up Android Studio on any project. I have gone through all the past threads addressing this error and tried all suggested solutions and none worked - hoping someone has an incremental idea. Here is the list of things tried: Just sim...
android|android-studio|adb
0
2022-07-04T17:08:11.477Z
2,022
7
17
0
44
0
661
75
3
0
false
true
false
false
false
false
zero
72,860,079
implemented FCM for the Client Project (app on android device). How can I use the Server for sending Notifications
<p>we created a Chat application with a Client and a Server project. Clients can send messages to the server and the server and the server forwards it to other Clients (like a Chat application should do) FCM is implemented in the Client project. Users can send Notifications to each other. How can I use the Server for s...
we created a Chat application with a Client and a Server project. Clients can send messages to the server and the server and the server forwards it to other Clients (like a Chat application should do) FCM is implemented in the Client project. Users can send Notifications to each other. How can I use the Server for send...
android|firebase|firebase-cloud-messaging
0
2022-07-04T17:09:04.883Z
2,022
7
17
0
19
0
954
114
3
0
false
true
false
false
false
false
zero
72,860,106
MPAndroidChart line chart label attached to the line
<p>I want to achieve an effect similar to this using the MPAndroidChart library <a href="https://i.stack.imgur.com/PDnHa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PDnHa.png" alt="enter image description here" /></a></p> <p>I want my label to be attached to the Chart line or at least be close to...
I want to achieve an effect similar to this using the MPAndroidChart library I want my label to be attached to the Chart line or at least be close to it. Is something like this possible using this library? Or is there a walkaround for this? Something that will have a similar result
android|charts|label|mpandroidchart|linechart
0
2022-07-04T17:12:04.900Z
2,022
7
17
0
62
1
282
52
5
0
false
false
false
false
false
false
zero
72,860,137
Flutter `Screenshot` package: Why isn't the `captureAndSave()` method saving an image to my (Android) device?
<h2>Preface:</h2> <p>I'm using the <a href="https://pub.dev/packages/screenshot" rel="nofollow noreferrer">Screenshot</a> package. In this package, there is a method <a href="https://pub.dev/packages/screenshot#saving-images-to-specific-location" rel="nofollow noreferrer"><code>captureAndSave()</code></a> which saves a...
Preface: I'm using the Screenshot package. In this package, there is a method captureAndSave() which saves a widget as an image to a specific location, however, when I call this function, my image is not being saved. Why? Complete Code Example: [CODE] The Question: In the code above, when I click on the TextButton() th...
android|flutter|dart|flutter-layout|screenshot
0
2022-07-04T17:15:42.267Z
2,022
7
17
0
124
2
778
109
5
3
true
false
false
false
false
false
zero
72,860,252
Why is array empty when running Android Studio?
<p>I am using react native and firebase realtime database to store and query a list of properties. It seems that when I run the below query in XCode for iOS the array created here shows a list of the property objects. However, when I run this android studio the array is empty. Do you know what may be causing this? Can ...
I am using react native and firebase realtime database to store and query a list of properties. It seems that when I run the below query in XCode for iOS the array created here shows a list of the property objects. However, when I run this android studio the array is empty. Do you know what may be causing this? Can som...
android|xcode|firebase|react-native|firebase-realtime-database
0
2022-07-04T17:30:04.787Z
2,022
7
17
0
33
0
651
47
5
1
true
true
false
false
false
false
zero
72,860,267
How to compare images in android?
<p>`public class MainActivity extends AppCompatActivity {</p> <pre><code>Button btn_card; ImageView iv_cpu_card0, iv_cpu_card1, iv_cpu_card2, iv_cpu_card3, iv_player_card0, iv_player_card1, iv_player_card2, iv_player_card3, iv_center_triple, iv_card_center; TextView tv_size; TextView tv_player; TextView tv_cpu;...
`public class MainActivity extends AppCompatActivity { [CODE] }`I'm new at android developing and need your help. I searched almost all questions similiar to mine I'm asking. Trying to develop a card game which has a deck of card. I put the images to drawable folder (R.drawable.h_01 --> Ace of Heart). Game is for two: ...
android|image|compare
0
2022-07-04T17:31:11.297Z
2,022
7
17
0
37
0
912
33
3
1
true
true
false
false
false
false
zero
72,860,457
Attempt to invoke virtual method 'void androidx.lifecycle.MutableLiveData.setValue(java.lang.Object)' on a null object reference (Android Kotlin)
<p>Sorry for the long title, however, I am unsure where this error is at in my code, however, I do suspect the error lies in the implementation of the <code>liveData</code> and <code>Observation</code>.</p> <p>The app which I am working on is an Unscrambler word app where users have to unscramble the letters displayed ...
Sorry for the long title, however, I am unsure where this error is at in my code, however, I do suspect the error lies in the implementation of the liveData and Observation . The app which I am working on is an Unscrambler word app where users have to unscramble the letters displayed on the fragment. My code so far con...
android|kotlin|android-livedata
0
2022-07-04T17:52:56.703Z
2,022
7
17
0
60
1
896
145
3
6
true
false
false
false
false
false
zero
72,860,565
Shake animation does not appear on the app
<p>I am new in android. So I tried to apply shake animation for wrong answers in a quiz app. But it does not work. I also checked similar questions on this website but I could not find my mistake on my code. In terms of syntax, I guess everything is correct. Could you please help me on this?</p> <p>'''</p> <pre><code>p...
I am new in android. So I tried to apply shake animation for wrong answers in a quiz app. But it does not work. I also checked similar questions on this website but I could not find my mistake on my code. In terms of syntax, I guess everything is correct. Could you please help me on this? ''' [CODE] ''' My shake.xml co...
java|android|xml
1
2022-07-04T18:04:06.997Z
2,022
7
18
0
35
1
334
42
3
2
true
false
false
false
false
false
low
72,860,698
Why my test ad banner is eventually showing real ads?
<p>I've put an app in internal test with some collaborators and they have reported to me that my app's test ad banner is sometimes showing real ads, even though there is the black tag &quot;Test Ad&quot; above the real, and if someone clicks on this ad the app opens the ad's site. My concern is if there is any problem ...
I've put an app in internal test with some collaborators and they have reported to me that my app's test ad banner is sometimes showing real ads, even though there is the black tag &quot;Test Ad&quot; above the real, and if someone clicks on this ad the app opens the ad's site. My concern is if there is any problem wit...
android|android-layout|admob
1
2022-07-04T18:19:42.643Z
2,022
7
18
0
17
0
509
53
3
0
false
true
false
false
false
false
low
72,860,712
Kotlin For loop, confused
<p>Does anyone explain how it works? X and Y answer explain, please. Answer: 81 and 23</p> <pre><code>fun main(args: Array&lt;String&gt;) { var x =0 var y =20 for (outer in 1..3) { for (inner in 4 downTo 2) { x += 6 y++ x += 3 } y -= 2 } ...
Does anyone explain how it works? X and Y answer explain, please. Answer: 81 and 23 [CODE]
android|kotlin|for-loop
-2
2022-07-04T18:21:26.483Z
2,022
7
18
0
67
2
90
25
3
1
true
false
false
false
false
true
negative
72,860,731
How can I undo replace all in visual studio code?
<p>I was working on a Flutter project and by mistake I replaced 16 with 19 across all files, and now I am getting errors... How can I undo this.. Please someone help me!</p>
I was working on a Flutter project and by mistake I replaced 16 with 19 across all files, and now I am getting errors... How can I undo this.. Please someone help me!
android|flutter|visual-studio-code
1
2022-07-04T18:23:25.373Z
2,022
7
18
0
63
1
166
49
3
0
false
false
false
false
false
false
low
72,860,905
Pepper Emulator doesn't work in Android Studio
<p>I been working with the pepper Emulator in Android Studio for a while - now I switched computers and installed AS on the new one.</p> <p>Current AS version 4.2.2 (as higher versions have shown issues with pepper emulator before)</p> <p>I followed this description here to the T: <a href="https://developer.softbankrob...
I been working with the pepper Emulator in Android Studio for a while - now I switched computers and installed AS on the new one. Current AS version 4.2.2 (as higher versions have shown issues with pepper emulator before) I followed this description here to the T: https://developer.softbankrobotics.com/pepper-qisdk/get...
android|kotlin|android-emulator|pepper
0
2022-07-04T18:44:35.063Z
2,022
7
18
0
82
0
1,170
46
4
2
true
true
false
false
false
false
zero
72,861,003
How to make surface drawing faster than the debug pointer location (Samsung Notes App does it!)
<p>I have a Galaxy Note with S Pen and enabled &quot;Pointer location&quot; in Developer options, so that I see how Android follows the stylus tip.</p> <p>I wrote a simple app with Vulkan. I created a SurfaceView, passed the surface to C++, and there I initialized Vulkan presenting onto the surface. The pipeline just d...
I have a Galaxy Note with S Pen and enabled &quot;Pointer location&quot; in Developer options, so that I see how Android follows the stylus tip. I wrote a simple app with Vulkan. I created a SurfaceView, passed the surface to C++, and there I initialized Vulkan presenting onto the surface. The pipeline just draws lines...
android|samsung
0
2022-07-04T18:58:13.140Z
2,022
7
18
0
37
0
1,313
95
2
0
false
true
false
false
false
false
zero
72,861,090
Unable to use style on other UI composables aside Text
<p>I can use:</p> <pre><code>Text( ........... style = MaterialTheme.typography.body2, ......... ) </code></pre> <p>But I cant use:</p> <pre><code> ClickableText( ........... style = MaterialTheme.typography.body2. //not working ) </code></pre> <p>I need to use the <code>'style'</code> attribut...
I can use: [CODE] But I cant use: [CODE] I need to use the 'style' attribute for text related UI composables like ClickableText and while building annotated strings using withStyle(...) Also I should be able to call my theme - Materialtheme.typography.whatever on the style
java|android-studio|kotlin|android-jetpack-compose
0
2022-07-04T19:08:24.910Z
2,022
7
19
0
33
0
273
54
4
2
true
true
false
false
false
false
zero
72,861,256
How to create Instagram Explorer Layout?
<p>I tried even using FlexboxLayout and Spanned to get the desired shape and it didn't work, please help (Kotlin) <a href="https://i.stack.imgur.com/I5yUo.jpg" rel="nofollow noreferrer">enter image description here</a></p> <p>//////////////////////////////////////////////// and my code in adapter:</p> <pre><code> ...
I tried even using FlexboxLayout and Spanned to get the desired shape and it didn't work, please help (Kotlin) enter image description here //////////////////////////////////////////////// and my code in adapter: [CODE] in Fragment: [CODE] i need this enter image description here
android|kotlin|instagram
0
2022-07-04T19:28:37.327Z
2,022
7
19
0
51
1
280
40
3
2
true
false
false
false
false
false
zero
72,861,363
How do I make my calculator this to calculate in degrees rather than radians
<p>I have been stuck on this for a very long bit of time. How do I make my calculator calculate in degrees rather than radians. I tried Math.toDegrees but it did not work. Thank you if you decide to help.</p> <p>import java.util.Scanner;</p> <pre><code>public class Main { public static void main(String[] args) { ...
I have been stuck on this for a very long bit of time. How do I make my calculator calculate in degrees rather than radians. I tried Math.toDegrees but it did not work. Thank you if you decide to help. import java.util.Scanner; [CODE]
java|android|calculator|degrees|radians
-1
2022-07-04T19:42:27.787Z
2,022
7
19
0
46
2
234
76
5
1
true
false
false
false
false
true
negative
72,861,509
windowAnimationStyle is ignored
<p>I am trying to apply the default animation to my transparent activity mainly for the entry/exit animation. My activity is translucent but has a solid white background. The animation does not work at all. any ideas?</p> <pre><code> &lt;style name=&quot;AppTheme.transparent&quot;&gt; &lt;item name=&quot;andr...
I am trying to apply the default animation to my transparent activity mainly for the entry/exit animation. My activity is translucent but has a solid white background. The animation does not work at all. any ideas? [CODE]
android
0
2022-07-04T20:01:29.317Z
2,022
7
20
0
15
0
221
31
1
1
true
true
false
false
false
false
zero
72,861,780
Jetpack compose Dialog with CircularProgressIndicator not shown
<p>I have this composable</p> <pre><code>@Composable fun LoadingDialog(loading: Boolean, onDismissRequest: ()-&gt;Unit) { println(&quot;loading = &quot; + loading) if (loading) { Dialog( onDismissRequest = onDismissRequest, DialogProperties(dismissOnBackPress = false, dismissOn...
I have this composable [CODE] I try to visualize it during an http calls in this way [CODE] and the http something like this: [CODE] The isLoading is [CODE] But the Dialog never shown. There is a way to visualize the CircularProgressIndicator() in the Dialog?
android-jetpack-compose
0
2022-07-04T20:33:18.257Z
2,022
7
20
0
112
1
259
63
1
4
true
false
false
false
false
false
zero
72,861,800
How I can get all the values of nodes present in a table?
<p><a href="https://i.stack.imgur.com/kWWkb.png" rel="nofollow noreferrer">Here's my database and I want to get all the values of all the nodes in Users table.</a></p>
Here's my database and I want to get all the values of all the nodes in Users table.
android|firebase-realtime-database|nodes
0
2022-07-04T20:35:46.480Z
2,022
7
20
0
8
0
84
57
3
0
false
true
false
false
false
false
zero
72,861,836
Detox Test - Headless CI - Can't install generated apk in emulator
<p>I'm trying to set a local VM before creating an AWS EC5 machine for my CI to build and test my RN 0.68.2 application (expo ejected):</p> <p>What's working:</p> <ul> <li>Build release APK (MacOS + Android Studio)</li> <li>Run tests (MacOS + Android Studio)</li> <li>Build release APK (VM Ubuntu 22.04 + commandlinetool...
I'm trying to set a local VM before creating an AWS EC5 machine for my CI to build and test my RN 0.68.2 application (expo ejected): What's working: Build release APK (MacOS + Android Studio) Run tests (MacOS + Android Studio) Build release APK (VM Ubuntu 22.04 + commandlinetools) What's not working: Run tests (VM Ubun...
android|react-native|detox
3
2022-07-04T20:40:18.873Z
2,022
7
20
0
159
0
1,835
66
3
1
true
true
false
false
false
false
low
72,862,145
How to add bluetooth dungel
<p>is it possible to connect a bluethoot dungle to usb port?</p> <p>to make my own custom rom?</p> <p>have a raspbrry pi 4 that I run LineageOS on</p>
is it possible to connect a bluethoot dungle to usb port? to make my own custom rom? have a raspbrry pi 4 that I run LineageOS on
android|bluetooth|usb
0
2022-07-04T21:24:05.020Z
2,022
7
21
0
14
0
129
27
3
0
false
true
false
false
false
false
zero
72,862,191
Kivy - ScreenManager saying it does not recognize another screen name despite it being there?
<p>So, I wanted to create an app that created tasks/habits in kivy. Basically, there would be a screen that shows you your tasks/habits, and you could click on a button to take you to another screen to create a new task/habit. You would input information about the task/habit in that screen, and click the submit button....
So, I wanted to create an app that created tasks/habits in kivy. Basically, there would be a screen that shows you your tasks/habits, and you could click on a button to take you to another screen to create a new task/habit. You would input information about the task/habit in that screen, and click the submit button. Th...
python|android|kivy
0
2022-07-04T21:32:14.930Z
2,022
7
21
0
31
1
753
93
3
2
true
false
false
false
false
false
zero
72,862,226
How to make Button within fragment close current and open another fragment in Kotlin
<p>I need to create 2 fragments and 2 button in first fragment one which will close current fragment and start another, and second which will close app at all, what i'm doing wrong(each fragment in different holders)?</p> <p>First fragment opens well, but when i click on buttons in first activity, they don't working at...
I need to create 2 fragments and 2 button in first fragment one which will close current fragment and start another, and second which will close app at all, what i'm doing wrong(each fragment in different holders)? First fragment opens well, but when i click on buttons in first activity, they don't working at all. How ...
android|kotlin|android-fragments
0
2022-07-04T21:36:58.810Z
2,022
7
21
0
34
1
394
84
3
2
true
false
false
false
false
false
zero
72,862,230
Is there any performance issue in making collection group with a more deeper nested SubCollection firestore
<p>I have two questions about the <code>firestore collection group</code>.</p> <p>My data structure is like the bellow different carts for different stores(multi-vendor app).</p> <pre><code>Users&gt;userId1&gt;Carts&gt;storeId1&gt;Items&gt;productId1 &gt;storeId2&gt;Items&gt;productId1 ...
I have two questions about the firestore collection group . My data structure is like the bellow different carts for different stores(multi-vendor app). [CODE] Now whenever a product price is changed by the owner I want to update the cart of all users with that product. So If I make Items subcollection a collection gro...
android|firebase|google-cloud-firestore
0
2022-07-04T21:37:34.533Z
2,022
7
21
0
39
1
752
107
3
1
true
false
false
false
false
false
zero
72,862,291
Unfixed element on top of RecyclerView
<p>I have something like this:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quo...
I have something like this: [CODE] When I run this, the TextView element is fixed and scrolls when I scroll through my RecyclerView. Is there a way so that I can make it where the TextView element is on top of the RecyclerView and when I scroll it's not fixed? I'm using a TextView to just do testing, but eventually I'd...
android|kotlin|android-recyclerview
0
2022-07-04T21:47:17.883Z
2,022
7
21
0
43
1
442
38
3
1
true
false
false
false
false
false
zero
72,862,314
I cannot select Java as an option when creating a new project in Android Studio 2021
<p>I just updated to 2021.2.1 Patch 1. When I create a new project and select a material3 type, only kotlin is avalaible:</p> <p><a href="https://i.stack.imgur.com/9vaz1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9vaz1.png" alt="enter image description here" /></a></p> <p>I'm not sure if it is b...
I just updated to 2021.2.1 Patch 1. When I create a new project and select a material3 type, only kotlin is avalaible: I'm not sure if it is because of the update because it has been long time since I did something for Android. However, if I don't select the material3 option Java is available. Can we use material3 with...
java|android|android-studio|kotlin|material-design
0
2022-07-04T21:51:11.637Z
2,022
7
21
0
75
0
341
84
5
0
false
true
false
false
false
false
zero
72,862,322
android:clickable="True" breaks clickability of cardviews
<p>I have cardviews that I dynamically add at runtime to a <code>LinearLayout</code> (which is inside a <code>NestedScrollView</code>). I set each cardview to have an <code>onClickListener()</code>. When I set <code>android:clickable=&quot;true&quot;</code> under each cardview (I want the ripple animation when the user...
I have cardviews that I dynamically add at runtime to a LinearLayout (which is inside a NestedScrollView ). I set each cardview to have an onClickListener() . When I set android:clickable=&quot;true&quot; under each cardview (I want the ripple animation when the user clicks the cardview), the onClickListener only respo...
android
0
2022-07-04T21:52:42.647Z
2,022
7
21
0
30
0
926
57
1
2
true
true
false
false
false
false
zero
72,862,323
Getting wifi router type from wifi not yet connected
<p>Is there any way to get what kind of wifis are available near me? (whether it is a hotspot or normal router-oriented wifi) I'm trying to implement it via android.</p>
Is there any way to get what kind of wifis are available near me? (whether it is a hotspot or normal router-oriented wifi) I'm trying to implement it via android.
android|api|wifi
0
2022-07-04T21:53:20.357Z
2,022
7
21
0
15
1
162
52
3
0
false
false
false
false
false
false
zero
72,862,421
PHP RESTful API hosted in Cpanel
<p>(SOLVED) Excuse me, i have some files PHP RESTful API. I want to make it online with Cpanel. I uploaded the API files to Cpanel. But, I don't know how to get the file URL to access in mobile application with Retrofit.</p>
(SOLVED) Excuse me, i have some files PHP RESTful API. I want to make it online with Cpanel. I uploaded the API files to Cpanel. But, I don't know how to get the file URL to access in mobile application with Retrofit.
android|api|rest|kotlin|cpanel
0
2022-07-04T22:11:56.467Z
2,022
7
22
0
26
0
217
32
5
0
false
true
false
false
false
false
zero
72,862,436
ARCore: Estimate position in world space when detecting an image
<p>I am new to ARCore and I try to write an Android app using it. What I want to do is to estimate the current position based on augmented images that hang at a fixed place on a wall. An app which does something like this is for example this one: <a href="https://www.youtube.com/watch?v=eQXKEnrHMxw" rel="nofollow noref...
I am new to ARCore and I try to write an Android app using it. What I want to do is to estimate the current position based on augmented images that hang at a fixed place on a wall. An app which does something like this is for example this one: https://www.youtube.com/watch?v=eQXKEnrHMxw I want to have an environment wh...
android|augmented-reality|arcore|indoor-positioning-system|augmentedimage
0
2022-07-04T22:14:13.090Z
2,022
7
22
0
96
0
1,610
64
5
1
true
true
false
false
false
false
zero
72,862,459
Is there a way to create SQLite query to delete a String in a cell? Because in that cell there are more than one value which inserted in StringBuilder
<p>I want to create a method in SQLite database class to delete a particular String of text in a cell. Let's say I have a row in SQLite database like this image</p> <p><a href="https://i.stack.imgur.com/706Yq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/706Yq.png" alt="enter image description here...
I want to create a method in SQLite database class to delete a particular String of text in a cell. Let's say I have a row in SQLite database like this image And in the CONTENT column I have inserted 4 Strings using StringBuilder class that they are separated using a new line during insertion process. In the first row ...
java|android
0
2022-07-04T22:18:00.730Z
2,022
7
22
0
25
0
733
150
2
0
false
true
false
false
false
false
zero
72,862,484
Service does not get started by bindService with BIND_AUTO_CREATE
<p>I have a project with three mudules:</p> <p><em>com.example.library</em> - defines the AIDL interface</p> <pre><code>// IRemoteService.aidl package com.example.library; interface IRemoteService { int add(int a,int b); int sub(int a,int b); } </code></pre> <p><em>com.example.server</em> - implements the serv...
I have a project with three mudules: com.example.library - defines the AIDL interface [CODE] com.example.server - implements the service, depends on the library [CODE] com.example.client - consumes the service, depends on the library [CODE] The problem is that onServiceConnected is never triggered, which means the serv...
android|android-service|android-service-binding
1
2022-07-04T22:22:30.253Z
2,022
7
22
0
30
2
386
65
3
3
true
false
false
false
false
false
low
72,862,487
Curl + SSL in cmake configuration…
<p>I would like to compile curl with ssl for multiple platforms. This way i need to automatically compile openssl and use compiled static lib in curl project.</p> <p>I expect it should work this way: add_subdirectory(openssl) add_subdirectory(curl)</p> <p>But it doesn’t work at all. Curl is complaining that openssl req...
I would like to compile curl with ssl for multiple platforms. This way i need to automatically compile openssl and use compiled static lib in curl project. I expect it should work this way: add_subdirectory(openssl) add_subdirectory(curl) But it doesn’t work at all. Curl is complaining that openssl required but not fou...
android|curl|openssl
1
2022-07-04T22:22:58.917Z
2,022
7
22
0
47
0
649
34
3
0
false
true
false
false
false
false
low
72,862,503
How do I get a list from my ViewModel to display in my spinner and be selectable?
<p>Currently, my spinner can get the list of instructors and accurately displays it in the spinner drop down menu, but the spinner has no default value and even after selecting a value in the drop down menu it stays blank. Trying to get the value in onItemSelected reveals that selecting any value in the drop down still...
Currently, my spinner can get the list of instructors and accurately displays it in the spinner drop down menu, but the spinner has no default value and even after selecting a value in the drop down menu it stays blank. Trying to get the value in onItemSelected reveals that selecting any value in the drop down still re...
java|android
0
2022-07-04T22:26:54.750Z
2,022
7
22
0
27
1
769
81
2
2
true
false
false
false
false
false
zero
72,862,681
Collapse views like FAB with CollapsingToolbarLayout inside CoordinatorLayout
<p>What attribute should be added in order for a view to behave like FAB that shrinks upon scroll up and collapsing a <code>Toolbar</code> that is inside <code>CoordinatorLayout</code>? Can you shrink the <code>ImageView</code> here with just XML attributes?</p> <p><a href="https://i.stack.imgur.com/Fv7qp.png" rel="nof...
What attribute should be added in order for a view to behave like FAB that shrinks upon scroll up and collapsing a Toolbar that is inside CoordinatorLayout ? Can you shrink the ImageView here with just XML attributes?
android|android-imageview|floating-action-button|android-coordinatorlayout|android-collapsingtoolbarlayout
1
2022-07-04T23:08:20.660Z
2,022
7
23
0
22
0
217
77
5
0
false
true
false
false
false
false
low
72,862,755
How to fix ImageException:Only single frame JPEGS supported in flutter when building a mqttclient to view captured images?
<p>I am trying to build a flutter application as a mqtt client to view captured images using ESP32cam. I have used <code>Pubsubclient.h</code> library to publish images from esp32cam to mqtt broker and it is successfully publishing the images but when i try to subscribe to the topic using flutter mqtt client the applic...
I am trying to build a flutter application as a mqtt client to view captured images using ESP32cam. I have used Pubsubclient.h library to publish images from esp32cam to mqtt broker and it is successfully publishing the images but when i try to subscribe to the topic using flutter mqtt client the application crashes wi...
flutter|jpeg|publish-subscribe|esp32|android-mqtt-client
0
2022-07-04T23:26:12.417Z
2,022
7
23
0
40
0
569
122
5
2
true
true
false
false
false
false
zero
72,863,035
SM-G525F (Samsung Galaxy XCover 5) - How to activate Flash and Torch LED at the same time
<p>The SM-G525F (Samsung Galaxy XCover 5) has two build in flashlights on its backside. One is the torch which is available by the android menu and the other one is the camera flash.</p> <p>I can activate the camera flash when using xamarin.essentials. However there seems to be no way to activate the torch LED when the...
The SM-G525F (Samsung Galaxy XCover 5) has two build in flashlights on its backside. One is the torch which is available by the android menu and the other one is the camera flash. I can activate the camera flash when using xamarin.essentials. However there seems to be no way to activate the torch LED when the camera fl...
android|xamarin|led|samsung
0
2022-07-05T00:40:37.287Z
2,022
7
0
1
58
1
373
89
4
0
false
false
false
false
false
false
zero
72,863,043
Buffered Reader in Bluetooth app giving garbled output
<p>I have rewritten this code a hundred times. I have an hc05 on arduino that is sending this &quot;@,PMGBP01,34,456,&quot; With a println, resulting in CR LF that the readline does seem to find, but i am getting things like &quot;@@P,P,PMGBP01,34,456. Looking like there are remnants of previous messages being left in ...
I have rewritten this code a hundred times. I have an hc05 on arduino that is sending this &quot;@,PMGBP01,34,456,&quot; With a println, resulting in CR LF that the readline does seem to find, but i am getting things like &quot;@@P,P,PMGBP01,34,456. Looking like there are remnants of previous messages being left in the...
android
0
2022-07-05T00:43:35.230Z
2,022
7
0
1
18
0
335
54
1
1
true
true
false
false
false
false
zero
72,863,168
Hiding menu items in Fragment and showing them again on navback after `setHasOptionsMenu` deprecation with new menu provider API
<p>A month or so ago, the Android team deprecated <code>onCreateOptionsMenu</code> and <code>onOptionsItemSelected</code>, as well as <code>setHasOptionsItemMenu</code>. This unfortunately broke all of my code.</p> <p>My app has a lot of fragments, and when the user navigates to them, I always made sure that the menu i...
A month or so ago, the Android team deprecated onCreateOptionsMenu and onOptionsItemSelected , as well as setHasOptionsItemMenu . This unfortunately broke all of my code. My app has a lot of fragments, and when the user navigates to them, I always made sure that the menu items would disappear and reappear on navigating...
android|android-fragments|android-menu
2
2022-07-05T01:20:35.227Z
2,022
7
1
1
977
2
1,309
128
3
6
true
false
false
false
false
false
low
72,863,308
multiple progress of "Refreshing Compose Preview .. " always stay in the bottom bar
<p>Since I am trying jetpack compose, the following progresses always stays there.. they are not doing any harm. but pressing the close does not close them.</p> <p><a href="https://i.stack.imgur.com/Yy5fT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Yy5fT.png" alt="enter image description here" /></a></p> ...
Since I am trying jetpack compose, the following progresses always stays there.. they are not doing any harm. but pressing the close does not close them. and Any suggestion?
android|android-studio|android-jetpack-compose
5
2022-07-05T01:57:54.643Z
2,022
7
1
1
40
0
173
83
3
0
false
true
false
false
false
false
low
72,863,363
How To Fix Resource Error from Android Manifest
<p>I have a problem when using RC1 of MAUI that caused me to remove this part from the Android manifest:</p> <pre><code> &lt;application ... android:icon=&quot;@mipmap/appicon&quot; android:roundIcon=&quot;@mipmap/appicon_round&quot; ...&gt; &lt;/application&gt; </code></pre> <p>Now that...
I have a problem when using RC1 of MAUI that caused me to remove this part from the Android manifest: [CODE] Now that it has GA'd, I'm trying to add it back in because in Android my application icon is not displayed - instead it's just the generic Android icon. When I add this back into my Android manifest like so: [CO...
android|xml|maui
2
2022-07-05T02:13:45.753Z
2,022
7
2
1
166
1
707
47
3
3
true
false
false
false
false
false
low
72,863,392
How to show only those records (from record 1) in an Adapter which are set as 'true' (in record 2) in Realtime Database?
<p>I am trying to fetch and populate my Adapter with only those records which are set as true (in a record), and if they are false, I would not like to fetch and populate my Adapter with them. I am basically trying to build a Train Pantry Food Ordering System in which Passengers can order food from Pantry car. But <str...
I am trying to fetch and populate my Adapter with only those records which are set as true (in a record), and if they are false, I would not like to fetch and populate my Adapter with them. I am basically trying to build a Train Pantry Food Ordering System in which Passengers can order food from Pantry car. But with on...
android|firebase|firebase-realtime-database
0
2022-07-05T02:18:20.190Z
2,022
7
2
1
32
1
816
120
3
3
true
false
false
false
false
false
zero
72,863,395
When do we need to use WebSettings.setDatabaseEnabled?
<p>I'm working with Android WebView and have a concern related to the Webview database</p> <p><a href="https://developer.android.com/reference/android/webkit/WebSettings#setDatabaseEnabled(boolean)" rel="nofollow noreferrer">https://developer.android.com/reference/android/webkit/WebSettings#setDatabaseEnabled(boolean)<...
I'm working with Android WebView and have a concern related to the Webview database https://developer.android.com/reference/android/webkit/WebSettings#setDatabaseEnabled(boolean) According to this document: Sets whether the database storage API is enabled What exactly database storage API is? How can I know whether thi...
android|webview
0
2022-07-05T02:19:10.073Z
2,022
7
2
1
41
1
367
54
2
0
false
false
false
false
false
false
zero
72,863,425
React Native - cannot connect to Metro on API 31/32 (Android 12) either on emulator or real device, even with adb reverse
<p>Cleartext is enabled in the manifest. I have done <code>adb reverse tcp:8081 tcp:8081</code> command. The same app readily works on an API 28 emulator.</p> <p>I get the message <code>Could not connect to development server.</code></p> <p>Is there another reason why Android 12 might cause problems with this?</p> <p>T...
Cleartext is enabled in the manifest. I have done adb reverse tcp:8081 tcp:8081 command. The same app readily works on an API 28 emulator. I get the message Could not connect to development server. Is there another reason why Android 12 might cause problems with this? Thanks :)
android|typescript|react-native
0
2022-07-05T02:24:19.330Z
2,022
7
2
1
58
1
278
121
3
0
false
false
false
false
false
false
zero
72,863,606
I have a problem in (checkBox.setOnCheckedChangeListener), I have x number of checkboxes, when I check more than one it doesn't work
<p>I have a list of checkboxes in the RecyclerView, when I check more than one checkbox at a time it doesn't work and only the last clicked item get checked. Unchecking also is the same problem.</p> <p><a href="https://i.stack.imgur.com/o8DN4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o8DN4.png"...
I have a list of checkboxes in the RecyclerView, when I check more than one checkbox at a time it doesn't work and only the last clicked item get checked. Unchecking also is the same problem. If I check, let's say (a) and then (b) later (c) and when I press back key and return to the list, only (c) got checked. Can any...
java|android
0
2022-07-05T03:06:12.457Z
2,022
7
3
1
32
0
355
132
2
1
true
true
false
false
false
false
zero
72,863,634
how to bind data to recyclerView from local JSON file
<p>I had one learning project, that requires to get data from JSON local file, now I faced a problem with images on recyclerView loaded with Glide, the photos were not showing in it. Other than that, I had to send another data from the JSON file to <strong>DetailsActivity</strong>, and I still didn't figure it the way ...
I had one learning project, that requires to get data from JSON local file, now I faced a problem with images on recyclerView loaded with Glide, the photos were not showing in it. Other than that, I had to send another data from the JSON file to DetailsActivity , and I still didn't figure it the way to approach it, any...
android|json|kotlin|android-recyclerview
0
2022-07-05T03:11:20.480Z
2,022
7
3
1
109
0
516
53
4
4
true
true
false
false
false
false
zero
72,863,645
How to make the navigation bar disappear when window not in focus - Android
<p>I am trying to make the navigation bar disappear from my app. The requirement is that I need to have the status bar and action bar. Only the navigation bar should be disappear.</p> <p>I have this code in the activity class</p> <pre><code>override fun onWindowFocusChanged(hasFocus: Boolean) { super.onWindowFocusC...
I am trying to make the navigation bar disappear from my app. The requirement is that I need to have the status bar and action bar. Only the navigation bar should be disappear. I have this code in the activity class [CODE] This code is making the navigation bar disappear. But when the activity window loses focus, the n...
android
1
2022-07-05T03:14:00.510Z
2,022
7
3
1
61
1
693
75
1
1
true
false
false
false
false
false
low
72,863,688
How we can send an image to the server in kotlin?
<p>I try yo send the image that i get from local gallery to swagger. The required type for image is string ($binary). How can i send it to server? I've search in google and youtube but it seems i still doesn't find the tutorial i need, sometimes it is in activity than fragment. So i confused. I'm new in kotlin. This is...
I try yo send the image that i get from local gallery to swagger. The required type for image is string ($binary). How can i send it to server? I've search in google and youtube but it seems i still doesn't find the tutorial i need, sometimes it is in activity than fragment. So i confused. I'm new in kotlin. This is my...
kotlin|android-fragments|file-upload|swagger|send
0
2022-07-05T03:25:13.037Z
2,022
7
3
1
75
1
448
49
5
0
false
false
false
false
false
false
zero
72,863,763
Ktor client: how to remove(not include) REQUEST/FROM log
<p>the request code</p> <pre class="lang-kotlin prettyprint-override"><code>var myClient: HttpClient = HttpClient(Android) { // Logging install(Logging) { logger = Logger.ANDROID level = LogLevel.BODY } } </code></pre> <p>when try to request URL</p> <pre class="lang-kotlin prettyprint-overri...
the request code [CODE] when try to request URL [CODE] try to run the request and got the following request log [CODE] response log [CODE] In the log, show the request URL https://www.sample.com/state twice. For security reasons, we don't want to display this URL in the log. How do I set or operate not to display this ...
android|kotlin|ktor|ktor-client
1
2022-07-05T03:41:52.480Z
2,022
7
3
1
144
1
367
56
4
5
true
false
false
false
false
false
low
72,863,785
How to use a specific satellite constellation for positioning in Android?
<p>Is there a way to use just a specific constellation set in Android? As far as I know the smartphone would query all available constellations &amp; somehow pick the best one to be used further by other apps that show user location.</p> <p>In my specific case, I want to get data from a specific constellation set, say ...
Is there a way to use just a specific constellation set in Android? As far as I know the smartphone would query all available constellations & somehow pick the best one to be used further by other apps that show user location. In my specific case, I want to get data from a specific constellation set, say GLONAS or GPS....
android|gps
0
2022-07-05T03:45:08.470Z
2,022
7
3
1
24
0
539
73
2
0
false
true
false
false
false
false
zero
72,863,884
Glide for Android: How to include GIFs from Google Drive?
<p>I am trying to include GIFs in my android application. My GIFs are shared as a document on Google Drive with public access enabled. Currently, I'm trying to use <a href="https://github.com/bumptech/glide" rel="nofollow noreferrer">Glide</a> to include the GIFs.</p> <pre><code> Glide.with(parent.getContext()) ...
I am trying to include GIFs in my android application. My GIFs are shared as a document on Google Drive with public access enabled. Currently, I'm trying to use Glide to include the GIFs. [CODE] However, although there is no error, the GIF does not display on my phone, even after a long time(internet issues shouldn't b...
java|android|imageview|gif|android-glide
1
2022-07-05T04:05:19.883Z
2,022
7
4
1
44
1
549
57
5
1
true
false
false
false
false
false
low
72,864,065
Unable to compile external jar like exoplayer library in android framework [AOSP] java files (Not Android Studio or Java IDE)
<p>I have tried the above different solutions available in StackOverflow but was unable to build it successfully. I followed these steps:</p> <ul> <li>Made a directory: <strong>[android]prebuilts/misc/common/libexoplayer/</strong></li> <li>Created <strong>Android.bp</strong> file in this directory like as below</li> </...
I have tried the above different solutions available in StackOverflow but was unable to build it successfully. I followed these steps: Made a directory: [android]prebuilts/misc/common/libexoplayer/ Created Android.bp file in this directory like as below Android.bp [CODE] And in last gave ref of above created Local Blue...
android|makefile|android-source
1
2022-07-05T04:36:49.990Z
2,022
7
4
1
64
0
634
125
3
2
true
true
false
false
false
false
low
72,864,101
How to add a corner badge for a Floating action button in Android xml?
<pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:layout_marginTop=&quot;8dp&quot; android:layout_marginEnd=&quot;10dp&quot;&gt; &lt;com.google.android.material.floatingactionbutton.Fl...
[CODE] This is how it looks But I want the black dot on top of floating action button. Could someone please help me here?
android|xml|kotlin|android-layout|floating-action-button
1
2022-07-05T04:42:46.817Z
2,022
7
4
1
33
0
121
70
5
1
true
true
false
false
false
false
low
72,864,117
How to create paytm dashboard animation in android native
<p>Below is video demo . I trying for same but I did not get any thing like this <a href="https://i.stack.imgur.com/j5V5v.gif" rel="nofollow noreferrer">Paytm dashboard animation</a></p>
Below is video demo . I trying for same but I did not get any thing like this Paytm dashboard animation
android
0
2022-07-05T04:46:12.717Z
2,022
7
4
1
49
0
103
57
1
0
false
true
false
false
false
false
zero
72,864,217
"evaluateJavascript()" returns "null" as localStorage value of webView
<p>(Sorry for my poor English)</p> <p>I have a web page which set a local storage value like <code>localStorage.setItem('name', 'myName')</code> , I load this web page inside a webView and I want to access to this local storage value inside the android app so I used below code but it returns &quot;null&quot;, it takes ...
(Sorry for my poor English) I have a web page which set a local storage value like localStorage.setItem('name', 'myName') , I load this web page inside a webView and I want to access to this local storage value inside the android app so I used below code but it returns &quot;null&quot;, it takes half a day but i can't ...
android|android-studio|webview|local-storage|android-webview
0
2022-07-05T05:03:52.450Z
2,022
7
5
1
69
0
396
70
5
1
true
true
false
false
false
false
zero
72,864,219
Volley to get data with custom id passing data from one activity and sending request from anothe activity App crashes after activity is opened
<pre><code>Activity from I am receiving the data: package app.nepaliapp.bscfree; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volle...
[CODE] Sending activity where I receive data :- [CODE] My app crashes if I open the intent and works fine with constant string, But I want dynamic data entry on: [CODE] But, When I try to pass data from another activity I will get crash when I start the activity So, I have searched entire internet as I know but I didn'...
android|android-studio|android-volley
0
2022-07-05T05:04:02Z
-1
-1
-1
-1
11
0
407
142
3
3
true
true
false
false
false
false
zero
72,864,222
How to share toolbar between activity and fragment?
<p>My application uses only one <code>Activity</code> globally, and all the navigation components are in this <code>Activity</code>.</p> <p>I have such a requirement that after selecting an item in <code>ListFragment</code>, <code>Toolbar</code> should enter selected mode. as follows:</p> <p><a href="https://i.stack.im...
My application uses only one Activity globally, and all the navigation components are in this Activity . I have such a requirement that after selecting an item in ListFragment , Toolbar should enter selected mode. as follows: How to achieve this mode switch?
android|android-toolbar|android-navigation
0
2022-07-05T05:04:06.557Z
2,022
7
5
1
31
1
258
51
3
0
false
false
false
false
false
false
zero
72,864,308
Two android applications with same sharedUserId and process
<p>I've got a question about android applications with same android:sharedUserId and android:process attributes.</p> <p><strong>would you please tell me, when should we use applications in the shared process and how can we access data on other application in that process?</strong></p>
I've got a question about android applications with same android:sharedUserId and android:process attributes. would you please tell me, when should we use applications in the shared process and how can we access data on other application in that process?
android|shared-data
0
2022-07-05T05:16:33.123Z
2,022
7
5
1
28
1
254
59
2
0
false
false
false
false
false
false
zero
72,864,333
Program in Android Studio does not run due to problem in retrofit2
<pre><code> package com.example.earthquake_monitor.api import retrofit2.Retrofit import retrofit2.converter.scalars.ScalarsConverterFactory import retrofit2.create import retrofit2.http.GET interface EqApiService { @GET(&quot;all_hour.geojson&quot;) suspend fun getLastHourEarthquakes(): EqJsonResponse } ...
[CODE] In the Logcat it shows the following 2022-07-05 00:44:40.060 31557-31557/com.example.earthquake_monitor E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.earthquake_monitor, PID: 31557 java.lang.IllegalArgumentException: Unable to create converter for class com.example.earthquake_monitor.api.EqJsonRes...
android
0
2022-07-05T05:20:18.883Z
2,022
7
5
1
18
0
3,946
66
1
1
true
true
false
false
false
false
zero
72,864,360
Jetpack Compose Optional Arguments: What's the string between the braces {}?
<p>When working with optional arguments in Compose: What's the value <strong>between</strong> the braces?</p> <p>&quot;item=&quot; is the key. What is the purpose of the string within the braces?</p> <pre><code>composable(&quot;Details?item={item}&quot;, arguments = listOf(navArgument(&quot;item&quot;) { ...
When working with optional arguments in Compose: What's the value between the braces? &quot;item=&quot; is the key. What is the purpose of the string within the braces? [CODE]
android|kotlin|android-jetpack-compose
0
2022-07-05T05:25:19.140Z
2,022
7
5
1
176
1
175
76
3
1
true
false
false
false
false
false
zero
72,864,380
react native moment js deprecation warning not an iso format
<p>I have a string date like this</p> <pre><code>const timein = '06/02/2022 10:00:01' </code></pre> <p>now I converted it like this</p> <pre><code>moment(timein).format('LLLL') </code></pre> <p>the output of this is <code>Thursday, June 05, 2022 10:00 AM</code></p> <p>I just wanted to ask it was successfully converted ...
I have a string date like this [CODE] now I converted it like this [CODE] the output of this is Thursday, June 05, 2022 10:00 AM I just wanted to ask it was successfully converted and displaying on my UI but there's a warning that says Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. mo...
android|react-native|momentjs
0
2022-07-05T05:28:05.690Z
2,022
7
5
1
31
0
542
60
3
2
true
true
false
false
false
false
zero
72,864,394
PlatformException(error, Attempt to invoke virtual method 'void n3.d.j(int)' on a null object reference, null, null)
<p>The app works great in debug mode but when I run it in release mode it gives me this error. How do I resolve this issue in flutter?</p> <pre><code>private void InitDevice() { UsbManager musbManager = (UsbManager) this.getSystemService(Context.USB_SERVICE); IntentFilter filter = new IntentFilter(); filter...
The app works great in debug mode but when I run it in release mode it gives me this error. How do I resolve this issue in flutter? [CODE]
java|android|flutter
0
2022-07-05T05:30:04.733Z
2,022
7
5
1
31
0
138
116
3
1
true
true
false
false
false
false
zero
72,864,549
After removing the development app from the connected apps in the Fit app, Fitness data could be obtained
<p>[procedure] </p> <ol> <li>OAuth account &amp; permission approved. (in developing app)</li> <li>in Google Fit App, remove developing app from &quot;connected apps&quot;.</li> <li>access sleep, weight and etc..., read health data. and succeeded (in developing app)</li> </ol> <p>In step3, permissions of each fitness w...
[procedure] OAuth account & permission approved. (in developing app) in Google Fit App, remove developing app from &quot;connected apps&quot;. access sleep, weight and etc..., read health data. and succeeded (in developing app) In step3, permissions of each fitness were permitted, I hope that permissions were not permi...
android|google-fit|google-healthcare-api
0
2022-07-05T05:53:12.550Z
2,022
7
5
1
54
0
492
105
3
0
false
true
false
false
false
false
zero
72,864,634
React native app crashes after build successful
<p>My app crashes after build without any error. Later after debugging, I found the below error in logcat of Android Studio. How to solve this.</p> <pre><code>E/AndroidRuntime: FATAL EXCEPTION: create_react_context Process: com.myapp, PID: 11305 java.lang.UnsatisfiedLinkError: dlopen failed: library &quot;libfo...
My app crashes after build without any error. Later after debugging, I found the below error in logcat of Android Studio. How to solve this. [CODE]
android|react-native|android-studio
0
2022-07-05T06:03:14.870Z
2,022
7
6
1
124
0
147
47
3
1
true
true
false
false
false
false
zero
72,864,644
Upload file into azure storage using sas url in android using Java
<p>I am trying to upload a file using sas url in azure storage directly from my android app. But when I am trying to upload, it sends me the following StorageException error: The requested URI does not represent any resource on the server.</p> <p>Here my sas url is like this: <a href="https://baseurl.com/images/posts/t...
I am trying to upload a file using sas url in azure storage directly from my android app. But when I am trying to upload, it sends me the following StorageException error: The requested URI does not represent any resource on the server. Here my sas url is like this: https://baseurl.com/images/posts/test123.jpg?sv=27-11...
java|android|azure|android-studio|sas
0
2022-07-05T06:04:27.357Z
2,022
7
6
1
58
1
456
66
5
1
true
false
false
false
false
false
zero
72,864,680
Implement CollapsingToolbar using Jetpack compose
<p>I am trying to implement collapsing toolbar in my Detail screen using Jetpack compose : <a href="https://github.com/alirezaeiii/Compose-MultiModule-Cache/blob/master/feature_list/src/main/java/com/android/sample/app/feature/list/ui/detail/DetailsScreen.kt" rel="nofollow noreferrer">https://github.com/alirezaeiii/Com...
I am trying to implement collapsing toolbar in my Detail screen using Jetpack compose : https://github.com/alirezaeiii/Compose-MultiModule-Cache/blob/master/feature_list/src/main/java/com/android/sample/app/feature/list/ui/detail/DetailsScreen.kt [CODE] The idea is taken from sunflower Google Github project. When we sc...
android|android-jetpack-compose|android-collapsingtoolbarlayout
1
2022-07-05T06:09:07.217Z
2,022
7
6
1
164
1
682
49
3
2
true
false
false
false
false
false
low
72,864,690
React Native Android TV - No Now Playing notification [card] and DPad Functionality missing
<p>I have published a react native application to google play store for Android Mobile and android tv. App successfully published for Android Mobile but rejected for Android Tv. For tv, I have received notification for:</p> <blockquote> <p>No Now Playing notification [card]&quot; Your App does not contain a &quot;Now P...
I have published a react native application to google play store for Android Mobile and android tv. App successfully published for Android Mobile but rejected for Android Tv. For tv, I have received notification for: No Now Playing notification [card]&quot; Your App does not contain a &quot;Now Playing&quot; notificati...
reactjs|react-native|android-tv
1
2022-07-05T06:10:10.607Z
2,022
7
6
1
99
0
724
91
3
0
false
true
false
false
false
false
low
72,864,737
Google SignIn problem "something went wrong"
<p>Here, I integrated google SignIn into my app from the documentation but when I open my app after checking the last signed-in user by this line:</p> <pre><code>GoogleSignInAccount account = GoogleSignIn.getLastSignedInAccount(this); if (account != null) { startActivity(new Intent(MainActivity.this, Ho...
Here, I integrated google SignIn into my app from the documentation but when I open my app after checking the last signed-in user by this line: [CODE] It works fine and it transfers me to another activity but it shows me a toast message. that is [CODE] please anyone tell me what I'm missing here. here is my code. [CODE...
android|google-signin
0
2022-07-05T06:16:16.140Z
2,022
7
6
1
63
0
323
44
2
3
true
true
false
false
false
false
zero
72,864,772
Is there any Method to reload recyclerview items without blinking as i am loading data from API
<p>In my Adapter class (AnyListAdapter.kt) i am loading data using API but everytime i perform an action on particular item my whole recyclerview list clears and then data again load from API. What i have to do is:</p> <ul> <li>As soon as i perform an action on item in recyclerview whole list reloads and items get upda...
In my Adapter class (AnyListAdapter.kt) i am loading data using API but everytime i perform an action on particular item my whole recyclerview list clears and then data again load from API. What i have to do is: As soon as i perform an action on item in recyclerview whole list reloads and items get updated without blin...
android|android-recyclerview|adapter|recyclerlistview
0
2022-07-05T06:20:48.627Z
2,022
7
6
1
46
1
658
95
4
1
true
false
false
false
false
false
zero
72,864,808
Android IncompatibleClassChangeError and Fatal Exception: java.lang.VerifyError
<p>I got the following error after updating the app to play store, I didn't get the error but from the firebase crashlytics i found the following crash issue, so please let me know what i have to do or i require downgrade to older version now? or required to add following line?</p> <pre><code> -keep class androidx...
I got the following error after updating the app to play store, I didn't get the error but from the firebase crashlytics i found the following crash issue, so please let me know what i have to do or i require downgrade to older version now? or required to add following line? [CODE] If I add the above line then is it be...
android|firebase|kotlin|google-play-services
1
2022-07-05T06:24:18.563Z
2,022
7
6
1
383
0
488
79
4
5
true
true
false
false
false
false
low
72,864,852
Weird Android Emulator on Visual Studio 2022
<p>Something new happened today. When I launched android emulator from Visual Studio 2022 to debug my Xamarin app, this old fashioned UI shows up with extremely low resolution. The only change I remember is upgrading Visual Studio 2022 to version 17.2.5.</p> <p><a href="https://i.stack.imgur.com/1K3RN.png" rel="nofollo...
Something new happened today. When I launched android emulator from Visual Studio 2022 to debug my Xamarin app, this old fashioned UI shows up with extremely low resolution. The only change I remember is upgrading Visual Studio 2022 to version 17.2.5. List of devices. Launching any one of them displays the same emulato...
android|xamarin
0
2022-07-05T06:29:12.217Z
2,022
7
6
1
42
0
384
44
2
0
false
true
false
false
false
false
zero
72,864,958
Dagger 2 error Execution failed for task ':app:kaptDebugKotlin'
<p>Anyone can help me please, iam still learning android and DI in android with dagger and just try implement the simple concept with dagger but i found the error <strong>Execution failed for task ':app:kaptDebugKotlin'</strong> and there is the complete error log.</p> <pre><code> FAILURE: Build failed with an exceptio...
Anyone can help me please, iam still learning android and DI in android with dagger and just try implement the simple concept with dagger but i found the error Execution failed for task ':app:kaptDebugKotlin' and there is the complete error log. [CODE] complete error in gist https://gist.github.com/masdikaid/7ff6d03338...
android|kotlin|dependency-injection|dagger-2
0
2022-07-05T06:39:41.220Z
2,022
7
6
1
191
1
1,016
63
4
5
true
false
false
false
false
false
zero
72,864,970
Android 12 | ActionMode menu items are not showing icons but only title in Contextual Action Mode, type_floating
<p>I am using Action mode type_floating in webview where am showing action mode on long click of webview. It is showing action mode menu items correctly but in Android 12, it is just showing titlte names instead of icon. This is my onActionModeStarted method:</p> <pre><code> @Override public void onActionModeStarted(Ac...
I am using Action mode type_floating in webview where am showing action mode on long click of webview. It is showing action mode menu items correctly but in Android 12, it is just showing titlte names instead of icon. This is my onActionModeStarted method: [CODE] In devices, below Android 12, it is showing only icons w...
android|android-12|contextual-action-bar|android-actionmode
4
2022-07-05T06:40:33.687Z
2,022
7
6
1
42
0
375
112
4
1
true
true
false
false
false
false
low