id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,051,240 | Please I keep getting this error when I try to run my flutter app on android studio | <p>Launching lib\main.dart on Infinix X626 in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install</p>
<p>adb: failed to install C:\Users\LAPTOP\Studio... | Launching lib\main.dart on Infinix X626 in debug mode... Running Gradle task 'assembleDebug'... √ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app.apk... Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install C:\Users\LAPTOP\StudioProjects\un... | android | 0 | 2022-07-20T11:57:00.777Z | 2,022 | 7 | 11 | 2 | 25 | 1 | 916 | 83 | 1 | 0 | false | false | false | false | false | false | zero |
73,051,286 | Save User input on a screen composable and in a room database using Compose | <p>My goal is to save data that the user inputs in a field ( my case outlinedtextfield ) and store that data both on screen for the user to see and in a local database using room. I have created the basics of room ( Database, Dao, Data class, Repository, RepositoryImpl and a viewmodel ), but I cant figure out how to sa... | My goal is to save data that the user inputs in a field ( my case outlinedtextfield ) and store that data both on screen for the user to see and in a local database using room. I have created the basics of room ( Database, Dao, Data class, Repository, RepositoryImpl and a viewmodel ), but I cant figure out how to save ... | android|kotlin|android-room|android-jetpack-compose|dagger-hilt | 1 | 2022-07-20T12:00:07.670Z | 2,022 | 7 | 12 | 2 | 284 | 2 | 751 | 75 | 5 | 6 | true | false | false | false | false | false | low |
73,051,298 | How to get Firebase Data using Spinner Android Studio Java | <p>I Need to get Firebase Realtime Database Data Using Spinner.</p>
<p>Like Spinner - <strong>Product Name</strong></p>
<p>After selecting Product Name need to fetch data automatically <strong>Rate</strong> and <strong>Stock Quantity</strong></p>
<p><img src="https://i.stack.imgur.com/zHIU1.png" alt="Database Screensho... | I Need to get Firebase Realtime Database Data Using Spinner. Like Spinner - Product Name After selecting Product Name need to fetch data automatically Rate and Stock Quantity [CODE] | java|android|firebase|firebase-realtime-database|spinner | 0 | 2022-07-20T12:00:47.387Z | 2,022 | 7 | 12 | 2 | 51 | 1 | 181 | 58 | 5 | 1 | true | false | false | false | false | false | zero |
73,051,366 | Loading spinner not working correctly in next screen in jetpack compose | <p>I am new in <strong>Compose Navigation</strong>. I have <strong>Button</strong> and when I clicked, I called the function in <strong>Viewmodel</strong> and trigger loading event with using <strong>StateFlow</strong>. So I called the next screen through navigation and calling loading spinner. I used <code>delay(5000)... | I am new in Compose Navigation . I have Button and when I clicked, I called the function in Viewmodel and trigger loading event with using StateFlow . So I called the next screen through navigation and calling loading spinner. I used delay(5000) to show spinner more before getting data but spinner is loading after the ... | android|kotlin|android-jetpack-compose|android-jetpack|android-architecture-navigation | 0 | 2022-07-20T12:05:07.307Z | 2,022 | 7 | 12 | 2 | 161 | 1 | 678 | 71 | 5 | 4 | true | false | false | false | false | false | zero |
73,051,403 | handling multiple android app from one single app or project | <p>I have built 3 different apps having different projects, having entirely different functions. Now the client demand that it seemed weird that to have 3 different app of same organization, so he wants that there must be one app any of above 3 and other 2 are shown in side drawer, so when user wants opens any of the a... | I have built 3 different apps having different projects, having entirely different functions. Now the client demand that it seemed weird that to have 3 different app of same organization, so he wants that there must be one app any of above 3 and other 2 are shown in side drawer, so when user wants opens any of the app ... | java|android|android-studio | 0 | 2022-07-20T12:08:06.193Z | 2,022 | 7 | 12 | 2 | 16 | 0 | 725 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
73,051,457 | Android Firebase separate data by device | <p>I have an Android app connected to Firebase and I was wondering if it is possible to have the data saved separated by device, so that saving data on one device will not appear on another device with the same app. Is this possible without the implementation of authentication and different accounts?</p> | I have an Android app connected to Firebase and I was wondering if it is possible to have the data saved separated by device, so that saving data on one device will not appear on another device with the same app. Is this possible without the implementation of authentication and different accounts? | android|firebase|firebase-realtime-database | 0 | 2022-07-20T12:12:49.417Z | 2,022 | 7 | 12 | 2 | 19 | 0 | 298 | 40 | 3 | 0 | false | true | false | false | false | false | zero |
73,051,478 | open a URL in chrome incognito programmability in android studio | <p>As shown in the title, I want to open a URL in the Chrome browser-Incognito mode automatically from my application in android studio.
I have searched a lot and gone through a lot of posts, but no one works with me.</p>
<p><a href="https://conn.dev/chrome-incognito.html" rel="nofollow noreferrer">Link1</a></p>
<p><a ... | As shown in the title, I want to open a URL in the Chrome browser-Incognito mode automatically from my application in android studio. I have searched a lot and gone through a lot of posts, but no one works with me. Link1 Link2 Link3 My code: [CODE] The above code works well to open a URL in a "regular" Chrome... | android|android-studio|google-chrome|browser|incognito-mode | 0 | 2022-07-20T12:13:40.070Z | 2,022 | 7 | 12 | 2 | 73 | 0 | 629 | 64 | 5 | 1 | true | true | false | false | false | false | zero |
73,051,486 | Flutter: Model for List of nested json response | <p>I am building a flutter app that gets a List of nested JSON as the response. I build the code as follows</p>
<p>This is the response I get</p>
<pre><code>[
{
"machine_id": "SVB12-00001",
"display_name": "Cuttack Rly Stn",
"last_datetime": ... | I am building a flutter app that gets a List of nested JSON as the response. I build the code as follows This is the response I get [CODE] This is the model I built in flutter [CODE] [CODE] I am getting the error E/flutter (15824): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: type 'List' is not a s... | android|json|flutter|dart|nested-json | 0 | 2022-07-20T12:14:25.830Z | 2,022 | 7 | 12 | 2 | 60 | 2 | 394 | 47 | 5 | 3 | true | false | false | false | false | false | zero |
73,051,502 | (resolved) flutter_uploader on Android does not return 'response' data in listener | <p>I have setup image uploading using the <strong>flutter_uploader 3.0.0-beta.4</strong> package, and I got it working as advertised on iOS but am unable to get any response data in the returned listener result on Android.</p>
<p>I followed the developers guide to adjust the AndroidManifest.xml file, but those settings... | I have setup image uploading using the flutter_uploader 3.0.0-beta.4 package, and I got it working as advertised on iOS but am unable to get any response data in the returned listener result on Android. I followed the developers guide to adjust the AndroidManifest.xml file, but those settings kept crashing the Android ... | android|flutter | 0 | 2022-07-20T12:16:28.873Z | 2,022 | 7 | 12 | 2 | 57 | 1 | 1,913 | 82 | 2 | 2 | true | false | false | false | false | false | zero |
73,051,508 | How can I achieve this chips input using Flutter | <p>I am trying to implement that, I tried <a href="https://pub.dev/packages/flutter_chips_input/versions" rel="nofollow noreferrer">flutter_chips_input</a> package but it does not work properly.Here language types come from API.</p>
<p><a href="https://i.stack.imgur.com/4SM1D.png" rel="nofollow noreferrer"><img src="ht... | I am trying to implement that, I tried flutter_chips_input package but it does not work properly.Here language types come from API. | android|flutter | 0 | 2022-07-20T12:16:54.997Z | 2,022 | 7 | 12 | 2 | 29 | 0 | 131 | 48 | 2 | 0 | false | true | false | false | false | false | zero |
73,051,669 | Getting gradle sync issue com.android.prefs.AndroidLocation.getFolder | <p>**Unable to find method ''java.lang.String com.android.prefs.AndroidLocation.getFolder(com.android.utils.EnvironmentProvider)''
'java.lang.String com.android.prefs.AndroidLocation.getFolder(com.android.utils.EnvironmentProvider)'</p>
<p>Gradle's dependency cache may be corrupt (this sometimes occurs after a network ... | **Unable to find method ''java.lang.String com.android.prefs.AndroidLocation.getFolder(com.android.utils.EnvironmentProvider)'' 'java.lang.String com.android.prefs.AndroidLocation.getFolder(com.android.utils.EnvironmentProvider)' Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection... | android|android-studio|gradle | 0 | 2022-07-20T12:29:21.093Z | 2,022 | 7 | 12 | 2 | 27 | 0 | 898 | 69 | 3 | 0 | false | true | false | false | false | false | zero |
73,051,688 | Change the appbar title based on current screen bottom navigation | <p>I am trying to change the title of <code>SmallTopAppBar</code> based on what screen you navigate to. I get results printed out. But, when I assign this same result to <code>title</code> a global <code>var</code> it does not display.</p>
<pre><code>var title = ""
LaunchedEffect(navController){
navContro... | I am trying to change the title of SmallTopAppBar based on what screen you navigate to. I get results printed out. But, when I assign this same result to title a global var it does not display. [CODE] Usage: [CODE] Clarity: The Log.d("App", backStackEntry.destination.route.toString()) does print out results, ... | android|android-jetpack-compose | 0 | 2022-07-20T12:30:35.330Z | 2,022 | 7 | 12 | 2 | 68 | 1 | 708 | 65 | 2 | 3 | true | false | false | false | false | false | zero |
73,051,707 | React Native: VideoView android native module spilling out of the container | <p><a href="https://i.stack.imgur.com/0H1ED.jpg" rel="nofollow noreferrer">Video view spilling to the previous view</a></p>
<p>I have a scrollview and inside the scrollview I have bunch of videos. I have created a native video module for android using <code>VideoView</code> class and following are code to resize the vi... | Video view spilling to the previous view I have a scrollview and inside the scrollview I have bunch of videos. I have created a native video module for android using VideoView class and following are code to resize the video. [CODE] } If i'm not resizing the height, the video is not spilling up and also its changing it... | react-native|android-videoview|react-native-native-module | 0 | 2022-07-20T12:31:40.750Z | 2,022 | 7 | 12 | 2 | 35 | 0 | 654 | 75 | 3 | 2 | true | true | false | false | false | false | zero |
73,051,772 | How to notify when an App is uninstalled to backend? | <p>I have an application where I perform some background tasks once the user has selected permission for that in the app. I cannot give the exact scenario here.</p>
<p>But consider, that once a user logs in and gives access to an external data source unless the user disconnects from our app we can still continue to get... | I have an application where I perform some background tasks once the user has selected permission for that in the app. I cannot give the exact scenario here. But consider, that once a user logs in and gives access to an external data source unless the user disconnects from our app we can still continue to get the data.... | python|android|ios|amazon-web-services|mobile-application | 0 | 2022-07-20T12:37:01.987Z | 2,022 | 7 | 12 | 2 | 33 | 0 | 1,495 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
73,051,776 | 'mobileffmpeg/LogDelegate.h' file not found xcode while build ipa using flutter | <p><a href="https://i.stack.imgur.com/1rEov.jpg" rel="nofollow noreferrer">flutter</a></p>
<p>1). I have applied the following commands but it did not worked for me:</p>
<ul>
<li>flutter clean</li>
<li>flutter pub get</li>
<li>flutter pub upgrade</li>
<li>cd iOS</li>
<li>pod install</li>
</ul>
<p>2). I have used the co... | flutter 1). I have applied the following commands but it did not worked for me: flutter clean flutter pub get flutter pub upgrade cd iOS pod install 2). I have used the configuration of ffmpeg package as well: ** iOS (Flutter >= 2.x) Edit ios/Podfile, add the following block before target 'Runner do and specify the pac... | android|ios|xcode|flutter|macos | 0 | 2022-07-20T12:37:16.897Z | 2,022 | 7 | 12 | 2 | 53 | 0 | 571 | 79 | 5 | 1 | true | true | false | false | false | false | zero |
73,051,797 | Android: How to block content using VPN | <p>How can I create a VPN app like blockda, creates a self VPN on the device?<br />
I want to use this to block inappropriate photos using Image detection mode</p> | How can I create a VPN app like blockda, creates a self VPN on the device? I want to use this to block inappropriate photos using Image detection mode | android|networking|vpn | 0 | 2022-07-20T12:38:20.603Z | 2,022 | 7 | 12 | 2 | 56 | 0 | 150 | 39 | 3 | 0 | false | true | false | false | false | false | zero |
73,051,803 | Could not find com.mapbox.navigator:mapbox-navigation-native:6.2.1. & com.mapbox.mapboxsdk:mapbox-android-navigation:0.42.0 etc | <blockquote>
<p>Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not find com.mapbox.navigator:mapbox-navigation-native:6.2.1.
Required by:
project :app
project :app > com.mapbox.mapb... | Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not find com.mapbox.navigator:mapbox-navigation-native:6.2.1. Required by: project :app project :app > com.mapbox.mapboxsdk:mapbox-android-navi... | java|android | 0 | 2022-07-20T12:39:01.913Z | 2,022 | 7 | 12 | 2 | 53 | 0 | 340 | 127 | 2 | 1 | true | true | false | false | false | false | zero |
73,051,811 | Tar command not found in adb shell | <p>I am new to android sorry if i sound like a nub but .
I want to copy a tar file inside the device through adb . After that i would like to extract it inside the device through tar command line tool. Is it possible ? If yes how do i install tar ?</p>
<p><code>zsh: command not found: tar</code></p> | I am new to android sorry if i sound like a nub but . I want to copy a tar file inside the device through adb . After that i would like to extract it inside the device through tar command line tool. Is it possible ? If yes how do i install tar ? zsh: command not found: tar | android|linux|windows|command-line|adb | 0 | 2022-07-20T12:39:52.657Z | 2,022 | 7 | 12 | 2 | 87 | 1 | 273 | 34 | 5 | 0 | false | false | false | false | false | false | zero |
73,051,859 | Why in QML TextField on Android character replacements are truncated? | <p>I create text field for password input in QML with the following code:</p>
<pre><code>TextField {
id: pwdField
placeholderText: qsTr( "Password" )
leftPadding: appWindow.minimumCtrlHeight / 3
echoMode: TextInput.Password
text: connectScreen.pwd
selectByMouse: true
mouseSelection... | I create text field for password input in QML with the following code: [CODE] And the problem is that on Android the character replacement circles are truncated. Look at the picture: Is it a known bug of Qt 6.3.1? Or maybe I missed something and this can be fixed? appWindow.minimumCtrlHeight is Screen.pixelDensity * 8 ... | android|qml|qt6 | 0 | 2022-07-20T12:42:51.940Z | 2,022 | 7 | 12 | 2 | 17 | 1 | 387 | 69 | 3 | 1 | true | false | false | false | false | false | zero |
73,051,882 | How to await for value using Coroutines with viewModelScope | <p>How to await for value using <code>Coroutine suspend</code> method in <code>viewModel</code> in most efficient way.</p>
<p>My solution for now:</p>
<pre><code> viewModelScope.launch {
val item = async { itemRepository.getItem(id) }.await()
print("log me after not null $item)
}
</code></pre>
<p... | How to await for value using Coroutine suspend method in viewModel in most efficient way. My solution for now: [CODE] Kotlin converts it to and the question is also why? :) [CODE] my suspend funct [CODE] | android|kotlin|kotlin-coroutines | 0 | 2022-07-20T12:44:38.670Z | 2,022 | 7 | 12 | 2 | 148 | 1 | 203 | 59 | 3 | 3 | true | false | false | false | false | false | zero |
73,051,959 | Use classes from external android.jar inside the Android Studio project | <p>I am creating an Android project where i want to use some APIs which are now deprecated/modified by Google.</p>
<p>I want to use the previous version of the android.jar where the APIs where there.</p>
<p>I have added my jar file inside the libs folder in app and modified my build.gradle.</p>
<pre><code> repositor... | I am creating an Android project where i want to use some APIs which are now deprecated/modified by Google. I want to use the previous version of the android.jar where the APIs where there. I have added my jar file inside the libs folder in app and modified my build.gradle. [CODE] I have used the above code to add the ... | android|gradle|sdk|android-gradle-plugin|build.gradle | 0 | 2022-07-20T12:50:06.563Z | 2,022 | 7 | 12 | 2 | 27 | 0 | 539 | 71 | 5 | 1 | true | true | false | false | false | false | zero |
73,051,965 | Remove conflicting slf4j packages from External aar Android | <p>I have integrated an SDK .aar which contains packages for slf4j library and already have one library which is using different artifacts.Therefore app code is calling to library and library not considering it artefact packages and call it from SDK due to that app is crashing. crash logs are as follows.</p>
<pre><code... | I have integrated an SDK .aar which contains packages for slf4j library and already have one library which is using different artifacts.Therefore app code is calling to library and library not considering it artefact packages and call it from SDK due to that app is crashing. crash logs are as follows. [CODE] Please Hel... | android|kotlin|slf4j-api | 0 | 2022-07-20T12:50:36.320Z | 2,022 | 7 | 12 | 2 | 28 | 0 | 430 | 59 | 3 | 1 | true | true | false | false | false | false | zero |
73,051,994 | Row composable not taking up the full width of parent | <p>I have a shopping list item composable that is not taking up the entire width of the parent, as you can see below with the red border. I want it to be flush against the parent's edge. And why is there some space or padding just before the checkbox? What needs to be modified?</p>
<p><a href="https://i.stack.imgur.com... | I have a shopping list item composable that is not taking up the entire width of the parent, as you can see below with the red border. I want it to be flush against the parent's edge. And why is there some space or padding just before the checkbox? What needs to be modified? Composable [CODE] Parent Composable [CODE] | android|android-jetpack-compose|android-jetpack-compose-list|android-jetpack-compose-row | 0 | 2022-07-20T12:52:21.827Z | 2,022 | 7 | 12 | 2 | 58 | 2 | 318 | 53 | 4 | 2 | true | false | false | false | false | false | zero |
73,052,174 | How do I shut off cell service completely? | <p>I use my spare phone as an alarm clock. How do I extend the battery and even shut down cell standby service?</p> | I use my spare phone as an alarm clock. How do I extend the battery and even shut down cell standby service? | android|performance|cell|battery | 0 | 2022-07-20T13:04:56.217Z | 2,022 | 7 | 13 | 2 | 25 | 0 | 108 | 42 | 4 | 0 | false | true | false | false | false | false | zero |
73,052,245 | Play music in background with media3 | <p>I have been trying to play audio using exoplayer media3 lib in background. So, far I was able to play the audio and it is playing in background too but I have kept url to be a test url which is static. Now, I want to pass the url to my service class which I am not able to understand how to do.</p>
<p>Attaching my co... | I have been trying to play audio using exoplayer media3 lib in background. So, far I was able to play the audio and it is playing in background too but I have kept url to be a test url which is static. Now, I want to pass the url to my service class which I am not able to understand how to do. Attaching my code files h... | android|android-jetpack|exoplayer | 1 | 2022-07-20T13:08:53.023Z | 2,022 | 7 | 13 | 2 | 217 | 1 | 997 | 36 | 3 | 2 | true | false | false | false | false | false | low |
73,052,491 | Suppress file already exists on android OS | <p>is there a way to suppress on any browser in android the prompt the comes up if you are downloading a file that carries the same name as a file already on the phone</p>
<p>so basically i want to overwrite it , there is a <a href="https://chrome.google.com/webstore/detail/downloads-overwrite-alrea/lddjgfpjnifpeonda... | is there a way to suppress on any browser in android the prompt the comes up if you are downloading a file that carries the same name as a file already on the phone so basically i want to overwrite it , there is a chrome extension on Pc that does that , is there something similar for android ? Thank you | android | 0 | 2022-07-20T13:25:52.767Z | 2,022 | 7 | 13 | 2 | 9 | 1 | 304 | 42 | 1 | 0 | false | false | false | false | false | false | zero |
73,052,586 | Delay in Google OneTap SignIn / SignUp popup display on Android | <p>I have implemented Google <a href="https://developers.google.com/identity/one-tap/android/get-saved-credentials" rel="nofollow noreferrer">Onetap SignIn</a> in my application. Everything is working fine, the only issue that I am observing is that on certain devices the pop-up often takes 7-10 seconds to display. Esp... | I have implemented Google Onetap SignIn in my application. Everything is working fine, the only issue that I am observing is that on certain devices the pop-up often takes 7-10 seconds to display. Especially in case of Sign-In popup. Since I have multiple login options available in the app it might so happen that befor... | android|google-signin|google-identity|google-one-tap | 0 | 2022-07-20T13:31:56.103Z | 2,022 | 7 | 13 | 2 | 78 | 1 | 1,017 | 63 | 4 | 3 | true | false | false | false | false | false | zero |
73,052,615 | Why rememberCoilPainter is not working in project? | <p><strong>My Coil Image Implementation</strong></p>
<pre><code> val painter = rememberCoilPainter(
request = category.icon,
imageLoader = ImageLoader.invoke(context)
)
Image(
painter = painter ?: painterResource(id = R.drawable.home_active),
contentDescription = "",
modifier =... | My Coil Image Implementation [CODE] And Data Source [CODE] why goes here And if someone has time please check my code , becuase i got nullPointerExeception for that reason i use fake data list | kotlin|android-jetpack-compose|coil | 0 | 2022-07-20T13:33:32.390Z | 2,022 | 7 | 13 | 2 | 29 | 0 | 192 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
73,052,666 | Android Studio : Unresolved class 'DevSettingsActivity' | <p>I keep facing error: <strong>Unresolved class 'DevSettingsActivity'</strong></p>
<p><a href="https://i.stack.imgur.com/pGcON.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pGcON.png" alt="enter image description here" /></a></p>
<p>And I also have <strong>'Error: AndroidManifest.xml doesn't exist... | I keep facing error: Unresolved class 'DevSettingsActivity' And I also have 'Error: AndroidManifest.xml doesn't exist or has incorrect root tag' This error doesn't disappear.. I did [CODE] all these.. BUT nothing resolves my error. Please help me. | android | 0 | 2022-07-20T13:36:36.500Z | 2,022 | 7 | 13 | 2 | 20 | 0 | 247 | 55 | 1 | 1 | true | true | false | false | false | false | zero |
73,052,698 | GPS, wifi etc. on the subway line. How can I stop getting location? | <p>We have location tracking app on Android. Our locations in the open area come with a high degree of accuracy, but since the GPS does not work in the subway, it is located from the wifi or the base station. In this case, the positions in the subway do not feel right.</p>
<p>How can I interrupt the positioning of the ... | We have location tracking app on Android. Our locations in the open area come with a high degree of accuracy, but since the GPS does not work in the subway, it is located from the wifi or the base station. In this case, the positions in the subway do not feel right. How can I interrupt the positioning of the phone duri... | java|android|flutter | 0 | 2022-07-20T13:38:35.893Z | 2,022 | 7 | 13 | 2 | 24 | 0 | 396 | 67 | 3 | 0 | false | true | false | false | false | false | zero |
73,052,740 | How to run code just one time in Fragment on Android | <p>In my application I have some <code>fragments</code> and for show this fragments I want use <code>NavigationComponent</code>.<br>
I have one problem. When <strong>click</strong> on <code>BottomNavigationItems</code> and change <code>fragments</code>, run again fragment code!<br>
I want just run codes just <strong>fo... | In my application I have some fragments and for show this fragments I want use NavigationComponent . I have one problem. When click on BottomNavigationItems and change fragments , run again fragment code! I want just run codes just for first time ! My codes (for one of fragments) : [CODE] For example when click on item... | android|android-fragments | -1 | 2022-07-20T13:41:01.847Z | 2,022 | 7 | 13 | 2 | 77 | 1 | 472 | 52 | 2 | 1 | true | false | false | false | false | true | negative |
73,052,761 | App crashes after selecting option in menu on phone but not in emulator android studio | <p>If i test my app on the android emulator it works great, but if i test it on my phone, i get the menu i need, but when i push a button to get the data from a mysql server it crashes.</p>
<p>This is my log with errors say after the crash in Android Studio.:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example... | If i test my app on the android emulator it works great, but if i test it on my phone, i get the menu i need, but when i push a button to get the data from a mysql server it crashes. This is my log with errors say after the crash in Android Studio.: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.myapplica... | android-studio | 0 | 2022-07-20T13:42:27.930Z | 2,022 | 7 | 13 | 2 | 44 | 0 | 1,736 | 86 | 1 | 0 | false | true | false | false | false | false | zero |
73,052,818 | When logging in in login and register modes, leaving the edittexts blank, it kicks them out of the application | <p>I'm new to Android, there are 2 modes in the code I wrote (so we can think of it). When I leave the edittexts blank in the registration section, there is no problem, but when I leave the edittexts blank in the mode I am trying to log in, it throws them out of the application.</p>
<p>step by step:</p>
<p>Step 1: regi... | I'm new to Android, there are 2 modes in the code I wrote (so we can think of it). When I leave the edittexts blank in the registration section, there is no problem, but when I leave the edittexts blank in the mode I am trying to log in, it throws them out of the application. step by step: Step 1: registration mode > l... | java|android|android-studio|authentication|sign | 0 | 2022-07-20T13:46:39.157Z | 2,022 | 7 | 13 | 2 | 34 | 2 | 574 | 110 | 5 | 1 | true | false | false | false | false | false | zero |
73,052,879 | how can i read data from firebase realtime database when i want and not just when DataChange | <p>Everything was working fine except I wanted to secure my database and so I had to make requests with references. When I did the query on the whole database it worked great, but when I wanted to query with different references it didn't work. I have to wait to read a data (the value of the "shared" variable... | Everything was working fine except I wanted to secure my database and so I had to make requests with references. When I did the query on the whole database it worked great, but when I wanted to query with different references it didn't work. I have to wait to read a data (the value of the "shared" variable) t... | java|android|firebase|firebase-realtime-database | 0 | 2022-07-20T13:50:06.437Z | 2,022 | 7 | 13 | 2 | 24 | 1 | 797 | 92 | 4 | 2 | true | false | false | false | false | false | zero |
73,052,940 | android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views error appearing | <pre><code>package com.example.acrs;
import androidx.appcompat.app.AppCompatActivity;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
... | [CODE] Keep getting the error whenever I press the button. This does not make sense to me. Please ignore the class name as I wrote that out of frustration of this not working. android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. This is th... | android-studio | 1 | 2022-07-20T13:52:44.827Z | 2,022 | 7 | 13 | 2 | 23 | 0 | 350 | 148 | 1 | 1 | true | true | false | false | false | false | low |
73,052,990 | ImageView constraintlayout bottom | <p>Is there any way to assign double <code>bottom_toBottomOf</code> in an <code>ImageView</code>?
I have a layout that I have something like a <code>FloatingActionButton</code> and I want to be always above of my two views. I started doing the list and it works because I've added in the <code>FAB</code> <code>bottom_to... | Is there any way to assign double bottom_toBottomOf in an ImageView ? I have a layout that I have something like a FloatingActionButton and I want to be always above of my two views. I started doing the list and it works because I've added in the FAB bottom_toBottomOf="idRecyclerView" but the problem is now t... | java|android|kotlin|android-layout|android-recyclerview | 0 | 2022-07-20T13:55:48.470Z | 2,022 | 7 | 13 | 2 | 39 | 1 | 1,091 | 33 | 5 | 0 | false | false | false | false | false | false | zero |
73,053,025 | Can not chat in Flutter (Firebase) | <p>Looking for some professional coders could help me this issue. Please!</p>
<p>My app using Firebase to chat in app. In Android app users can text but not seeing text from others, and no chat log (old chat) also. In iOS users can not send any text messages.</p>
<p>This is what I see in Android Studio when chatting in... | Looking for some professional coders could help me this issue. Please! My app using Firebase to chat in app. In Android app users can text but not seeing text from others, and no chat log (old chat) also. In iOS users can not send any text messages. This is what I see in Android Studio when chatting in app in Android e... | android|firebase|firebase-realtime-database|google-cloud-firestore|firebase-cloud-messaging | 0 | 2022-07-20T13:58:13.673Z | 2,022 | 7 | 13 | 2 | 26 | 0 | 900 | 34 | 5 | 1 | true | true | false | false | false | false | zero |
73,053,180 | Microsoft Intune integration with react native app | <p>Is there a npm package available to integrate MS Intune with react native app?</p>
<p>I have already tried <a href="https://www.npmjs.com/package/react-native-ms-intune-mam" rel="nofollow noreferrer">https://www.npmjs.com/package/react-native-ms-intune-mam</a>, but this is very old and outdated, is it event possible... | Is there a npm package available to integrate MS Intune with react native app? I have already tried https://www.npmjs.com/package/react-native-ms-intune-mam , but this is very old and outdated, is it event possible in react native or we need to create Native modules? If we need to do this in native module then how to d... | android|ios|react-native|intune | 0 | 2022-07-20T14:08:10.917Z | 2,022 | 7 | 14 | 2 | 51 | 0 | 352 | 50 | 4 | 0 | false | true | false | false | false | false | zero |
73,053,230 | UnPublish app not available to select in google play console | <p>I'm trying to un-publish an app in play console but the un-publish checkbox is disabled. I just can't select the un-publish option.</p>
<p>Quick help would be highly appreciated. Below is attached screenshot of settings section.</p>
<p><a href="https://i.stack.imgur.com/LraZ4.png" rel="nofollow noreferrer"><img src=... | I'm trying to un-publish an app in play console but the un-publish checkbox is disabled. I just can't select the un-publish option. Quick help would be highly appreciated. Below is attached screenshot of settings section. | android|google-play-console | 0 | 2022-07-20T14:11:14.543Z | 2,022 | 7 | 14 | 2 | 59 | 2 | 221 | 60 | 2 | 0 | false | false | false | false | false | false | zero |
73,053,269 | Flutter Error (E/LB: fail to open file: No such file or directory) - Flutter | <p>first of all these errors just appears when i run the app on a real device</p>
<p>the app runs perfectly on android studio emulator</p>
<p>i'm using android studio and Getx package for my flutter project</p>
<p>right after running the app on real device this error appears</p>
<pre><code>E/LB ( 4438): fail to op... | first of all these errors just appears when i run the app on a real device the app runs perfectly on android studio emulator i'm using android studio and Getx package for my flutter project right after running the app on real device this error appears [CODE] and after opening the drawer in the app => this error appears... | flutter|android-studio|cross-platform|flutter-test|flutter-getx | 1 | 2022-07-20T14:13:55.893Z | 2,022 | 7 | 14 | 2 | 84 | 0 | 482 | 76 | 5 | 2 | true | true | false | false | false | false | low |
73,053,278 | Room Dao Cannot Resolve This Symbol (Table_Name) Android Java | <p>When I made a method that select all the items from a table name the Dao class could not resolve the table name!!</p>
<p>I could not understand why this happened at all. The problem is that I had another project that I was working on (two days ago!!) in which I used Room as well and it was working perfectly, and whe... | When I made a method that select all the items from a table name the Dao class could not resolve the table name!! I could not understand why this happened at all. The problem is that I had another project that I was working on (two days ago!!) in which I used Room as well and it was working perfectly, and when I made t... | android|compiler-errors|android-room|dao | 0 | 2022-07-20T14:14:42.503Z | 2,022 | 7 | 14 | 2 | 96 | 2 | 476 | 61 | 4 | 4 | true | false | false | false | false | false | zero |
73,053,293 | How to call second class method from one class and print output of method inside second class in java | <p><strong>MqConnection.java</strong></p>
<pre><code>package com.example.rabbitmq;
import android.os.StrictMode;
import android.util.Log;
import com.rabbitmq.client.ConnectionFactory;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
final static String QUEUE_NAME = "hello2";
final... | MqConnection.java [CODE] MqConsume.java [CODE] MainActivity.java [CODE] Here i am Using Android Studio code with backend java code to connect rabbitmq. How to call message parameter in MqConsume.java from MainActivity.java I need to print message parameter inside MainActivity class from MqConsume.java . I have tried Ca... | java|android|android-studio|rabbitmq | -1 | 2022-07-20T14:15:38.830Z | 2,022 | 7 | 14 | 2 | 58 | 1 | 480 | 101 | 4 | 3 | true | false | false | false | false | true | negative |
73,053,322 | Tutorial information bubble | <p>Anyone know how i can create this kind of a tooltip. I need it to contain a TextView and an ImageView in it. Is there a library for this because I couldn't find one.
Thanks in advance.</p>
<p><img src="https://i.stack.imgur.com/De0KP.png" alt="Tooltip" /></p> | Anyone know how i can create this kind of a tooltip. I need it to contain a TextView and an ImageView in it. Is there a library for this because I couldn't find one. Thanks in advance. | android|android-studio|android-layout|user-interface|tooltip | 1 | 2022-07-20T14:17:32.440Z | 2,022 | 7 | 14 | 2 | 37 | 0 | 184 | 27 | 5 | 0 | false | true | false | false | false | false | low |
73,053,367 | Singleton pattern doesn't work in Xamarin multi-platform project MVVM | <p>I have a C# (Xamarin) solution structured like this:</p>
<pre><code> Solution
┣ Main application
┃ ┣ ViewModel Project
┃ ┃ ┣ ...
┃ ┣ Android Project
┃ ┃ ┣ MyActivity.cs
┃ ┃ ┣ ...
┃ ┣ iOS Project
┃ ┃ ┣ ...
┗ Multiplaftorm Library
┣ Android-specific Library Project
┃ ┣ MyModuleAndroid.cs
┃... | I have a C# (Xamarin) solution structured like this: [CODE] The module requires very device specific initialization, that I must do in the platform specific part (I make the example with Android) [CODE] The Init involves a singleton pattern: [CODE] [CODE] Then, the instance is used inside the Service (shared project) t... | c#|android|xamarin|design-patterns | 1 | 2022-07-20T14:20:35.507Z | 2,022 | 7 | 14 | 2 | 71 | 1 | 1,103 | 69 | 4 | 5 | true | false | false | false | false | false | low |
73,053,481 | My patch request response me 500 Internal Server Error | <p>My ViewModel function
patchProfileEmailAddress fuction wants the emailAddress variable</p>
<pre><code>'
private fun saveUserEmailChanges(email: String?) {
profileRepository.patchProfileEmailAddress(emailAddress)
.onEach {
when (it) {
is Result.Success -> {
se... | My ViewModel function patchProfileEmailAddress fuction wants the emailAddress variable [CODE] My Fragment part ' [CODE] Postman works fine. In application patch response 500 Internal Server Error. My API wants string and I'm giving string. | android|kotlin|retrofit2|patch|http-status-code-500 | 0 | 2022-07-20T14:28:06.550Z | 2,022 | 7 | 14 | 2 | 117 | 1 | 239 | 54 | 5 | 2 | true | false | false | false | false | false | zero |
73,053,505 | Access macro lens of Samsung A32 | <p>Is there a way to access the macro lens of the Samsung A32? I am developing an app and I want to use the macro lens as the main camera. I've tried this code to get the camera ids of the phone.</p>
<pre><code>final CameraManager manager = (CameraManager) getSystemService(Context.CAMERA_SERVICE);
try {
for(final... | Is there a way to access the macro lens of the Samsung A32? I am developing an app and I want to use the macro lens as the main camera. I've tried this code to get the camera ids of the phone. [CODE] I only get these ids: 0, 1, 2 These are LENS_FACING_FRONT, LENS_FACING_BACK, and LENS_FACING_EXTERNAL respectively. I am... | java|android|android-studio | 0 | 2022-07-20T14:29:50.037Z | 2,022 | 7 | 14 | 2 | 44 | 0 | 479 | 32 | 3 | 1 | true | true | false | false | false | false | zero |
73,053,523 | Compose TextField scrolling issue inside BottomSheetDialogFragment | <p>I have BottomSheetDialogFragment which has another fragment with compose content in it:</p>
<pre><code>Column(modifier = modifier) {
// some text elements here...
OutlinedTextField(
value = input,
onValueChange = { },
modifier = modifier
.height(100.dp)
... | I have BottomSheetDialogFragment which has another fragment with compose content in it: [CODE] The problem I'm facing is when I scroll text inside OutlinedTextField somethimes it lags and it feels like bottomsheet intercepts scroll events from OutlinedTextField and it can be dismissed when Iscroll down. How can I fix t... | android|android-jetpack-compose | 0 | 2022-07-20T14:31:24.330Z | 2,022 | 7 | 14 | 2 | 41 | 0 | 324 | 66 | 2 | 1 | true | true | false | false | false | false | zero |
73,053,648 | Library is for EM_AARCH64 (183) instead of EM_X86_64 (62): how to solve? | <p>I have a JNI library file named libNativeExecutor.so compiled on Linux with the cross compiler package g++-aarch64-linux-gnu. When I'm trying to load this library on my Android application I get this error:</p>
<p><code>W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/~~tGBbxt4GYWkE9Ks3RT... | I have a JNI library file named libNativeExecutor.so compiled on Linux with the cross compiler package g++-aarch64-linux-gnu. When I'm trying to load this library on my Android application I get this error: W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/~~tGBbxt4GYWkE9Ks3RTXqXA==/org.rg.rg... | android|c++|java-native-interface|apk|cross-compiling | 0 | 2022-07-20T14:39:55.753Z | 2,022 | 7 | 14 | 2 | 151 | 0 | 544 | 72 | 5 | 0 | false | true | false | false | false | false | zero |
73,053,670 | Compose produceState vs mutableStateOf | <p>Having these two UI states, one for the composable itself:</p>
<pre><code>data class UIState(
val value: Int? = null,
val isLoading: Boolean = false
)
</code></pre>
<p>and one for the viewModel flow, which is reusable somewhere else:</p>
<pre><code>sealed class CustomState {
object Loading : CustomState(... | Having these two UI states, one for the composable itself: [CODE] and one for the viewModel flow, which is reusable somewhere else: [CODE] , does this code produce the same output? Example 1 [CODE] Example 2 [CODE] I'm looking to find the best solution to use, which seems to be produceState , but these two different ex... | android|android-jetpack-compose|android-architecture-components|kotlin-stateflow | 0 | 2022-07-20T14:41:31.447Z | 2,022 | 7 | 14 | 2 | 111 | 0 | 519 | 38 | 4 | 5 | true | true | false | false | false | false | zero |
73,053,679 | Kotlin "None of the following functions can be called with the arguments supplied" on Fragment | <p>I'm trying to pass data from RecyclerView inside fragment to new activity, but "putExtra" displaying error like this :</p>
<blockquote>
<p>None of the following functions can be called with the arguments
supplied</p>
</blockquote>
<p><strong>Fragment.kt</strong></p>
<p>class NewsFragment : Fragment() {</p>... | I'm trying to pass data from RecyclerView inside fragment to new activity, but "putExtra" displaying error like this : None of the following functions can be called with the arguments supplied Fragment.kt class NewsFragment : Fragment() { [CODE] Adapter [CODE] Someone help me please, and thank you very much f... | android|kotlin | 0 | 2022-07-20T14:41:43.937Z | 2,022 | 7 | 14 | 2 | 133 | 1 | 332 | 94 | 2 | 2 | true | false | false | false | false | false | zero |
73,053,683 | How to set onclicklistener to image using view binding | <p>I am in the process of trying to upgrade an Android app, and i would like to start using view binding.</p>
<p>Currently we have a clickable image resource which is coded like this:</p>
<p>ImageView img = (ImageView) findViewById(R.id.busy);
img.setOnClickListener(v -> startActivity(new Intent(DeviceRegisterActivi... | I am in the process of trying to upgrade an Android app, and i would like to start using view binding. Currently we have a clickable image resource which is coded like this: ImageView img = (ImageView) findViewById(R.id.busy); img.setOnClickListener(v -> startActivity(new Intent(DeviceRegisterActivity.this, Information... | android-viewbinding | 0 | 2022-07-20T14:41:57.827Z | 2,022 | 7 | 14 | 2 | 9 | 0 | 651 | 54 | 1 | 0 | false | true | false | false | false | false | zero |
73,053,839 | Android background location request permissions not allowed help api 28 and lower | <p>I want location permissions for android api 28 and below.. It takes foreground location permissions but not background permissions.. Also on android developers page it says "background location" permissions will be granted automatically when Foreground permissions are taken for below 28, but it does not &q... | I want location permissions for android api 28 and below.. It takes foreground location permissions but not background permissions.. Also on android developers page it says "background location" permissions will be granted automatically when Foreground permissions are taken for below 28, but it does not "... | android | 0 | 2022-07-20T14:51:19.077Z | 2,022 | 7 | 14 | 2 | 42 | 0 | 923 | 81 | 1 | 2 | true | true | false | false | false | false | zero |
73,053,993 | How to include an outer XML layout in Android | <p>We are re-designing our Android app and I have created the basic layout in a XML file. I am planning to re-use the same layout in multiple activities but I'm not sure how to include this in a new activity and change just the inner contents (inside the NestedScrollView)? I'll be using this layout in different journey... | We are re-designing our Android app and I have created the basic layout in a XML file. I am planning to re-use the same layout in multiple activities but I'm not sure how to include this in a new activity and change just the inner contents (inside the NestedScrollView)? I'll be using this layout in different journeys s... | android|xml|layout|include|xml-layout | 0 | 2022-07-20T15:01:48.277Z | 2,022 | 7 | 15 | 2 | 41 | 0 | 502 | 45 | 5 | 1 | true | true | false | false | false | false | zero |
73,054,002 | Flutter build appbundle after executing flutter clean | <p>i'm tryind to post my app on playstore but after executing flutter clean, flutter build app bundle dont work again</p>
<p><img src="https://i.stack.imgur.com/Ehjix.png" alt="enter image description here" /></p> | i'm tryind to post my app on playstore but after executing flutter clean, flutter build app bundle dont work again | flutter|android-app-bundle | 0 | 2022-07-20T15:02:29.890Z | 2,022 | 7 | 15 | 2 | 27 | 0 | 114 | 53 | 2 | 0 | false | true | false | false | false | false | zero |
73,054,043 | http api is works on emulator but not on physical devices | <p>when login button is pressed it should navigate to next page using api. it works on chrome emulator but when login button is pressed nothing happens in physical device. could there be problem with the codes?.</p>
<pre><code>Future<void> login(String email, String password) async {
Map request = {'email': em... | when login button is pressed it should navigate to next page using api. it works on chrome emulator but when login button is pressed nothing happens in physical device. could there be problem with the codes?. [CODE] [CODE] | android|flutter|api|http|authentication | 0 | 2022-07-20T15:05:19.130Z | 2,022 | 7 | 15 | 2 | 44 | 1 | 222 | 57 | 5 | 2 | true | false | false | false | false | false | zero |
73,054,088 | Duplicated task error using Proguard and Dexguard together in the same build.gradle file | <p>I'm trying to use Proguard and Dexguard in the same build.gradle file (located in a android project's app module), but I'm receiving this error:</p>
<pre><code>Cannot add task 'collectConsumerRules' as a task with that name already exists.
</code></pre>
<p>Does anyone know a solution for this problem?</p> | I'm trying to use Proguard and Dexguard in the same build.gradle file (located in a android project's app module), but I'm receiving this error: [CODE] Does anyone know a solution for this problem? | android|kotlin|gradle|proguard|dexguard | 0 | 2022-07-20T15:08:16.907Z | 2,022 | 7 | 15 | 2 | 30 | 0 | 197 | 88 | 5 | 1 | true | true | false | false | false | false | zero |
73,054,107 | Error when using TypeConverter with Room: Cannot figure out how to save this field into database | <p><strong>I get this error:</strong></p>
<blockquote>
<p>error: Cannot figure out how to save this field into database. You can
consider adding a type converter for it.
private final java.util.List<com.example.Detail.Stat> stats = null;</p>
</blockquote>
<p>I can't figure it out. I have Added the typeconverter t... | I get this error: error: Cannot figure out how to save this field into database. You can consider adding a type converter for it. private final java.util.List<com.example.Detail.Stat> stats = null; I can't figure it out. I have Added the typeconverter to the database, but still get this error. Any ideas what I do wrong... | android|kotlin|android-room|moshi | 0 | 2022-07-20T15:09:23.507Z | 2,022 | 7 | 15 | 2 | 124 | 1 | 518 | 96 | 4 | 4 | true | false | false | false | false | false | zero |
73,054,108 | Firefox on android crops big video files | <p>I got an issue that big video files (above 20MB) displays cropped. This happens only on firefox mobile browser (102.2.1). I made a POC on <a href="https://stackblitz.com/edit/angular-ivy-pqqsnu?file=src/app/app.component.html" rel="nofollow noreferrer">stackblitz</a>. This is looks like on mobile device <a href="htt... | I got an issue that big video files (above 20MB) displays cropped. This happens only on firefox mobile browser (102.2.1). I made a POC on stackblitz . This is looks like on mobile device I try to debug it and change some css but nothing worked. Does anyone has any idea? This video element has css: [CODE] | firefox|video|firefox-android | 0 | 2022-07-20T15:09:23.623Z | 2,022 | 7 | 15 | 2 | 24 | 0 | 305 | 40 | 3 | 1 | true | true | false | false | false | false | zero |
73,054,183 | can not resolve method add for Fragment Transaction - Android | <p>I was just upgrading old android project and stuck at below code :</p>
<pre><code> FragmentTransaction transaction = getChildFragmentManager().beginTransaction();
transaction.add(R.id.instructional_tutorial_video_youtube_view, youTubePlayerFragment).commit();
return view;
</code></pre>
<p>Here, It giving me a comp... | I was just upgrading old android project and stuck at below code : [CODE] Here, It giving me a compile time error : can not resolve method add(int, com.google.android.youtube.player.YouTubePlayerSupportFragment) The Xml file named R.id. instructional_tutorial_video_youtube_view is as below : [CODE] What might causing t... | android|android-layout|android-fragments|fragmentmanager|fragmenttransaction | 0 | 2022-07-20T15:15:35.647Z | 2,022 | 7 | 15 | 2 | 38 | 2 | 382 | 61 | 5 | 2 | true | false | false | false | false | false | zero |
73,054,238 | How can I jump to a fragment by pressing the back button? | <p>I need to help for this question on <em>Android Studio.</em></p>
<p>How can I jump to an fragment by pressing the back button? We don't add any button. Just clicking the back button on an android phone.</p>
<p>For example:</p>
<ol>
<li>I am going from <strong>activity_main</strong> to <strong>fragment1</strong></li>... | I need to help for this question on Android Studio. How can I jump to an fragment by pressing the back button? We don't add any button. Just clicking the back button on an android phone. For example: I am going from activity_main to fragment1 I am going from fragment1 to fragment2 When I press the back button, I want t... | java|android|android-studio|android-fragments|fragment | 1 | 2022-07-20T15:19:33.250Z | 2,022 | 7 | 15 | 2 | 46 | 1 | 361 | 57 | 5 | 0 | false | false | false | false | false | false | low |
73,054,318 | Android save image internally (java) | <p>in my android app (java) i want to save a bitmap to locale storage and then get the absolute path so another app (flutter app) can also retrieve this image using the absolute path.
what's the best way to do it ?</p> | in my android app (java) i want to save a bitmap to locale storage and then get the absolute path so another app (flutter app) can also retrieve this image using the absolute path. what's the best way to do it ? | java|android | 0 | 2022-07-20T15:25:46.983Z | 2,022 | 7 | 15 | 2 | 21 | 0 | 211 | 36 | 2 | 0 | false | true | false | false | false | false | zero |
73,054,380 | Parse error at "__attribute__" QT Android | <p>I have a problem, about an error when running compiling Android 6.2 - 6.3. As shown below,</p>
<p><img src="https://i.stack.imgur.com/noeOr.png" alt="1" /></p> | I have a problem, about an error when running compiling Android 6.2 - 6.3. As shown below, | android|qt | 0 | 2022-07-20T15:29:12.037Z | 2,022 | 7 | 15 | 2 | 21 | 0 | 90 | 41 | 2 | 0 | false | true | false | false | false | false | zero |
73,054,382 | Clean Architecture with paging3 and compose passing PagingData to domain layer | <p>I am using clean architecture with paging 3 and trying to populate a lazyColumn.</p>
<p>I have the following class in my data layer module and I don't want to pass the PagingData to the domain layer as I want to keep the domain free of any Android SDK.</p>
<pre><code>class RepositoryImp @Inject constructor(
priv... | I am using clean architecture with paging 3 and trying to populate a lazyColumn. I have the following class in my data layer module and I don't want to pass the PagingData to the domain layer as I want to keep the domain free of any Android SDK. [CODE] I want to return this Flow<ResponseState<List<ComplexSearchEntity>>... | android|android-jetpack-compose|android-paging-3 | 0 | 2022-07-20T15:29:30.123Z | 2,022 | 7 | 15 | 2 | 101 | 1 | 591 | 78 | 3 | 2 | true | false | false | false | false | false | zero |
73,054,415 | ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. React Native in Visual Studio Code | <p>I am using Visual studio code to develop React-native apps and nox player as android emulator. I don't want to install Java SDK/JDK to resolve the below issue. I am using <strong>yarn</strong>, and <strong>yarn android</strong> command in order to run the app in android simulator nox player. I couldn't run the app d... | I am using Visual studio code to develop React-native apps and nox player as android emulator. I don't want to install Java SDK/JDK to resolve the below issue. I am using yarn , and yarn android command in order to run the app in android simulator nox player. I couldn't run the app due to below error. [CODE] | android|react-native|java-home|nox | 0 | 2022-07-20T15:31:33.067Z | 2,022 | 7 | 15 | 2 | 59 | 1 | 309 | 113 | 4 | 1 | true | false | false | false | false | false | zero |
73,054,453 | WearOS 3 Hide swipe top guesture, for Quick Settings Panel and use Navigation Drawer | <p>I find out about this problem for my users with the new Wear OS 3.
I am trying to forbid to OS from detecting the Top swipe gesture for showing the <strong>"<em>System Quick settings panel</em>"</strong>.
Until now in Wear OS 2- devices, it's not allowed to open this system shortcut settings Panel into a c... | I find out about this problem for my users with the new Wear OS 3. I am trying to forbid to OS from detecting the Top swipe gesture for showing the " System Quick settings panel " . Until now in Wear OS 2- devices, it's not allowed to open this system shortcut settings Panel into a custom app. " System Q... | java|android|wear-os|android-wear-2.0|android-wear-3.0 | 1 | 2022-07-20T15:35:43.883Z | 2,022 | 7 | 15 | 2 | 93 | 1 | 570 | 84 | 5 | 2 | true | false | false | false | false | false | low |
73,054,745 | How to create a Bluetooth scanner in Android Studios and retrieving the scanned devices' hardware information | <p>I have an assignment where I'm required to create a Mobile Application via Android Studios and one part of the aspect is to allow the phone to scan for nearby Bluetooth-enabled devices and retrieve the hardware of the device after the scan was performed. So far I have come across some sources in StackOverflow and tr... | I have an assignment where I'm required to create a Mobile Application via Android Studios and one part of the aspect is to allow the phone to scan for nearby Bluetooth-enabled devices and retrieve the hardware of the device after the scan was performed. So far I have come across some sources in StackOverflow and tried... | java|android-studio|bluetooth|android-bluetooth|android-hardware | 0 | 2022-07-20T15:57:07.963Z | 2,022 | 7 | 15 | 2 | 68 | 0 | 804 | 109 | 5 | 2 | true | true | false | false | false | false | zero |
73,054,851 | Jetpack Compose: force recomposition when a state changes from another activity | <p>I have two Activities: <code>ActivityOne.kt</code> and <code>ActivityTwo.kt</code>. Both of them use Jetpack Compose to display an UI. In the first one, an item (let's say, a <code>Text</code>) has to be shown with variable <code>showtText</code> is <code>true</code>, and hidden when it's false. I achieve this by us... | I have two Activities: ActivityOne.kt and ActivityTwo.kt . Both of them use Jetpack Compose to display an UI. In the first one, an item (let's say, a Text ) has to be shown with variable showtText is true , and hidden when it's false. I achieve this by using: [CODE] My variable showText is defined in a ViewModel such a... | android-studio|kotlin|android-jetpack-compose | 2 | 2022-07-20T16:05:42.927Z | 2,022 | 7 | 16 | 2 | 208 | 1 | 1,523 | 79 | 3 | 6 | true | false | false | false | false | false | low |
73,054,868 | Jetpack Compose Column Composable Alignment | <p>I'm creating a layout with Jetpack Compose and there is a column. I would like center one composable and the other to align to the bottom.
Here is an image of my target screen
<a href="https://i.stack.imgur.com/HLfDu.png" rel="nofollow noreferrer">here</a></p>
<p>I spent day working it out, <code>SpaceAround</code> ... | I'm creating a layout with Jetpack Compose and there is a column. I would like center one composable and the other to align to the bottom. Here is an image of my target screen here I spent day working it out, SpaceAround and SpaceBetween didn't help. I would appreciate any help. | android|android-studio|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-07-20T16:07:00.923Z | 2,022 | 7 | 16 | 2 | 206 | 2 | 279 | 43 | 5 | 0 | false | false | false | false | false | false | zero |
73,054,877 | Animation alpha /> String role | <p>In the animation file of a project there is this xml</p>
<pre><code><?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha>
android:duration="500"
android:f... | In the animation file of a project there is this xml [CODE] Everything seems ok but I haven't clear what is the point of /> here. This string should encode a > sign. Is this an error or it has some special function I'm missing? | android|android-animation|android-xml | 0 | 2022-07-20T16:07:42.883Z | 2,022 | 7 | 16 | 2 | 25 | 1 | 230 | 33 | 3 | 1 | true | false | false | false | false | false | zero |
73,055,113 | Android-FirebaseAuth-TwitterLogin returns error 403 Requests from this Android client application <empty> are blocked | <p>I'm trying to add authenticate using Twitter on my Android App using Firebase-Auth
I followed the documentation from Firebase</p>
<p><a href="https://firebase.google.com/docs/auth/android/twitter-login" rel="nofollow noreferrer">https://firebase.google.com/docs/auth/android/twitter-login</a></p>
<p>And set the OAuth... | I'm trying to add authenticate using Twitter on my Android App using Firebase-Auth I followed the documentation from Firebase https://firebase.google.com/docs/auth/android/twitter-login And set the OAuth redirect URI (my-app-xxxx.firebaseapp.com/__/auth/handler) on Twitter app's settings page. When call [CODE] it opens... | android|firebase|firebase-authentication|twitter-login | 1 | 2022-07-20T16:24:18.797Z | 2,022 | 7 | 16 | 2 | 61 | 0 | 485 | 117 | 4 | 1 | true | true | false | false | false | false | low |
73,055,155 | Retrieving Data From Firestore Firebase | <p>I am working on an Inventory Management app for which I tried to retrieve data from my fire store database but I am not able to get why . I created a Adapter file and and Data file and linked them with main file</p>
<p>My Code for Main Activity file</p>
<pre><code>package com.example.inventorymanagment;
import andr... | I am working on an Inventory Management app for which I tried to retrieve data from my fire store database but I am not able to get why . I created a Adapter file and and Data file and linked them with main file My Code for Main Activity file [CODE] Code for Adapter file [CODE] My Code for Data file [CODE] please help ... | java|android|firebase|google-cloud-firestore | 0 | 2022-07-20T16:27:53.897Z | 2,022 | 7 | 16 | 2 | 39 | 1 | 336 | 39 | 4 | 3 | true | false | false | false | false | false | zero |
73,055,177 | TextField is cutting text at the bottom because default padding | <p>I almost completely successfully implemented the custom search component I needed, but I have one last problem. I need my component to be only 45dp to match the designer's requirements, but at that height, due to the TextField padding, it's clipping the text on top. I leave you below a screenshot of what is happenin... | I almost completely successfully implemented the custom search component I needed, but I have one last problem. I need my component to be only 45dp to match the designer's requirements, but at that height, due to the TextField padding, it's clipping the text on top. I leave you below a screenshot of what is happening a... | android|kotlin|search|android-jetpack-compose|textfield | 1 | 2022-07-20T16:30:02.663Z | 2,022 | 7 | 16 | 2 | 64 | 1 | 538 | 63 | 5 | 1 | true | false | false | false | false | false | low |
73,055,188 | How to draw an oval with Inner shadow like Figma's inner shadow for Android? | <p>I need to make an oval button with 2 inner shadows: white on the top and black on the bottom.
I have a design from Figma (check the attachment).</p>
<p>I have already tried many-many combinations of shapes/gradients/angels/paddings with layer-list but nothing seems to be similar to the expected result. How can I dra... | I need to make an oval button with 2 inner shadows: white on the top and black on the bottom. I have a design from Figma (check the attachment). I have already tried many-many combinations of shapes/gradients/angels/paddings with layer-list but nothing seems to be similar to the expected result. How can I draw it? Than... | android|user-interface|drawable|figma | 0 | 2022-07-20T16:31:16.177Z | 2,022 | 7 | 16 | 2 | 34 | 0 | 463 | 76 | 4 | 0 | false | true | false | false | false | false | zero |
73,055,283 | How to make the Fragment not be destroyed | <p>I am trying to write applications for andorida from a fragment and a webview where in one application I have 4 cards and each card has a different stone. The problem is that when I switch from card 1 to card 4, everything that I did on card 1 is deleted and the reverse restarts and the same from 4 to 1. Is it possib... | I am trying to write applications for andorida from a fragment and a webview where in one application I have 4 cards and each card has a different stone. The problem is that when I switch from card 1 to card 4, everything that I did on card 1 is deleted and the reverse restarts and the same from 4 to 1. Is it possible ... | android|android-studio | 1 | 2022-07-20T16:38:18.130Z | 2,022 | 7 | 16 | 2 | 28 | 1 | 416 | 41 | 2 | 1 | true | false | false | false | false | false | low |
73,055,373 | Brighten screen for selfie camera flash without requesting permssion | <p>I'm working on a camera app and I'd like to be able to brighten the screen when capturing a selfie- this way it acts as a flash. Instagram is able to do this without requesting the <a href="https://stackoverflow.com/a/32083622/1839500">ACTION_MANAGE_WRITE_SETTINGS</a> permission. Any ideas on how I can replicate thi... | I'm working on a camera app and I'd like to be able to brighten the screen when capturing a selfie- this way it acts as a flash. Instagram is able to do this without requesting the ACTION_MANAGE_WRITE_SETTINGS permission. Any ideas on how I can replicate this functionality without having to kick the user to the setting... | android | 0 | 2022-07-20T16:45:40.777Z | 2,022 | 7 | 16 | 2 | 23 | 1 | 365 | 68 | 1 | 0 | false | false | false | false | false | false | zero |
73,055,388 | Flutter background task every 15 minutes | <p>How to run a simple background task in Flutter every 15 minutes (that will work both in android and Ios) EVEN when app is terminated?</p> | How to run a simple background task in Flutter every 15 minutes (that will work both in android and Ios) EVEN when app is terminated? | android|ios|flutter|dart | 1 | 2022-07-20T16:47:01.290Z | 2,022 | 7 | 16 | 2 | 163 | 3 | 133 | 40 | 4 | 0 | false | false | false | false | false | false | low |
73,055,396 | XAML forms have second picker sorted based on selection in first picker | <p>I have 2 dropdowns (pickers) on a XAML form. The first is an ObservabelCollection of Territories. The second is an ObservableCollection of type Tracks. When the form loads my ViewModel loads both collections and each collection is bound to a picker. I want to filter and display only those tracks that are associated ... | I have 2 dropdowns (pickers) on a XAML form. The first is an ObservabelCollection of Territories. The second is an ObservableCollection of type Tracks. When the form loads my ViewModel loads both collections and each collection is bound to a picker. I want to filter and display only those tracks that are associated wit... | xaml|xamarin|xamarin.forms|xamarin.android | 0 | 2022-07-20T16:47:31.107Z | 2,022 | 7 | 16 | 2 | 47 | 1 | 1,107 | 71 | 4 | 2 | true | false | false | false | false | false | zero |
73,055,414 | Firestore get the document but coroutine handler was called | <p>So im using coroutine on my project, and im trying to get a firestore Document using coroutine await function. And after i got the document, the handler was called even when the job was success. Anyone can explain to me how to fix it?</p>
<p>Here is my code :</p>
<pre><code>val handler = CoroutineExceptionHandler { ... | So im using coroutine on my project, and im trying to get a firestore Document using coroutine await function. And after i got the document, the handler was called even when the job was success. Anyone can explain to me how to fix it? Here is my code : [CODE] | firebase|android-studio|kotlin|google-cloud-firestore | 2 | 2022-07-20T16:49:00.250Z | 2,022 | 7 | 16 | 2 | 42 | 0 | 259 | 59 | 4 | 1 | true | true | false | false | false | false | low |
73,055,493 | ArrayList logic error, data is inserted to array if all data is match if condition | <p>my data stored in arraylist only if all of the data match "if condition".
suppose any data that match should be stored in arraylist.</p>
<pre><code> searchDB = FirebaseDatabase.getInstance().getReference("Users");
geofenceDB = FirebaseDatabase.getInstance().getReference("Geo-fence&quo... | my data stored in arraylist only if all of the data match "if condition". suppose any data that match should be stored in arraylist. [CODE] Example Output of calculation: Radius set to = 10 and 300 dataset 1- 0.0 2- 6.0 3- 290.0 Result if Radius is 10 no data stored in Array if Radius is 300 all data stored i... | android|firebase|firebase-realtime-database | 0 | 2022-07-20T16:54:05.707Z | 2,022 | 7 | 16 | 2 | 18 | 0 | 432 | 82 | 3 | 1 | true | true | false | false | false | false | zero |
73,055,544 | Multiple transactions among one of them calls addToBackstack | <p>Let's say I have 4 fragments A, B, C, D. A opens B, B opens C, C opens D through <code>replace</code> method <code>transaction.replace(R.id.nav_host_fragment_content_main, fragment)</code>
When I replace fragment A with fragment B, I call <code>transaction.addToBackStack(fragment.tag)</code>
When replacing B with C ... | Let's say I have 4 fragments A, B, C, D. A opens B, B opens C, C opens D through replace method transaction.replace(R.id.nav_host_fragment_content_main, fragment) When I replace fragment A with fragment B, I call transaction.addToBackStack(fragment.tag) When replacing B with C and then C with D, addToBackStack is not c... | android|android-fragments | 0 | 2022-07-20T16:58:19.813Z | 2,022 | 7 | 16 | 2 | 42 | 0 | 854 | 60 | 2 | 2 | true | true | false | false | false | false | zero |
73,055,595 | How do I set my media player in android studio kotlin to work with alarm volume? | <p>I am trying to get my media player to work with the alarm volume and not media volume. I have tried this, but it is not working, any suggestions? Also, am I am looking to change the sound file at some point, can the solution be used with a variable?</p>
<pre><code> val mediaPlayer1 = MediaPlayer.create(contex... | I am trying to get my media player to work with the alarm volume and not media volume. I have tried this, but it is not working, any suggestions? Also, am I am looking to change the sound file at some point, can the solution be used with a variable? [CODE] | android|kotlin|android-mediaplayer | 0 | 2022-07-20T17:03:25.683Z | 2,022 | 7 | 17 | 2 | 45 | 0 | 256 | 80 | 3 | 1 | true | true | false | false | false | false | zero |
73,055,672 | Could not find the correct Provider<StateStreamable<Object?>> above this BlocBuilder<StateStreamable<Object?>, Object?> Widget | <p>I faced with a problem in flutter...
I have two routes in my app. in the first one is for HomePage and second is for AuthScreen that is to login and register .
I have a provider in main() function that responsible to DI.</p>
<pre><code>Future<void> main() async {
JustAudioBackground.init(
androidNotific... | I faced with a problem in flutter... I have two routes in my app. in the first one is for HomePage and second is for AuthScreen that is to login and register . I have a provider in main() function that responsible to DI. [CODE] In the first route(HomeScreen) i have a BlocProvider and that works fine but in the second r... | android|ios|flutter|dart | 1 | 2022-07-20T17:10:05.190Z | 2,022 | 7 | 17 | 2 | 29 | 1 | 567 | 126 | 4 | 3 | true | false | false | false | false | false | low |
73,055,767 | Can't recreate popup window after theme is changed - Android | <p>I have an android app with a feature to change its theme using settings. I have a popup window on my screen (with radio button for light and dark theme) and it works perfectly!
But the problem is that when I change my theme the popup window dissapears and this error is thrown:</p>
<pre><code>E/WindowManager: android... | I have an android app with a feature to change its theme using settings. I have a popup window on my screen (with radio button for light and dark theme) and it works perfectly! But the problem is that when I change my theme the popup window dissapears and this error is thrown: [CODE] I think my popup window is not bein... | java|android|android-studio | 0 | 2022-07-20T17:19:03.240Z | 2,022 | 7 | 17 | 2 | 23 | 0 | 363 | 60 | 3 | 1 | true | true | false | false | false | false | zero |
73,055,813 | Alternate widget of Stack in Flutter? | <p>I'm wondering to find a widget that we can as an alternative to stack in flutter.</p>
<blockquote>
<p>Blockquote</p>
</blockquote> | I'm wondering to find a widget that we can as an alternative to stack in flutter. Blockquote | android|ios|flutter|widget|stack | 1 | 2022-07-20T17:22:03.910Z | 2,022 | 7 | 17 | 2 | 69 | 0 | 92 | 37 | 5 | 0 | false | true | false | false | false | false | low |
73,055,872 | Does Android externalNativeBuild trigger ninja or make install? | <p>I have a couple install command that basically copy assets to a specific folder, but <code>externalNativeBuild</code> doesn't seem trigger <code>install</code> with ninja.</p>
<p>Any idea how can I trigger it in <code>externalNativeBuild</code>?</p> | I have a couple install command that basically copy assets to a specific folder, but externalNativeBuild doesn't seem trigger install with ninja. Any idea how can I trigger it in externalNativeBuild ? | android|cmake|ninja | 0 | 2022-07-20T17:26:01.107Z | 2,022 | 7 | 17 | 2 | 10 | 0 | 200 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
73,055,937 | Crash received with :com.google.android.gms.dynamite_measurementdynamite@222413097@22.24.13 (190400-0) line 11 | <p>I have used gms.ads dependency 20.6.0</p>
<p>I am receiving the below crash in the app. Any solution for this?</p>
<p>:com.google.android.gms.dynamite_measurementdynamite@222413097@22.24.13 (190400-0) line 11</p> | I have used gms.ads dependency 20.6.0 I am receiving the below crash in the app. Any solution for this? :com.google.android.gms.dynamite_measurementdynamite@222413097@22.24.13 (190400-0) line 11 | android|admob|ads | 0 | 2022-07-20T17:32:48.730Z | 2,022 | 7 | 17 | 2 | 47 | 0 | 194 | 110 | 3 | 0 | false | true | false | false | false | false | zero |
73,056,091 | Instantiating ViewModel that needs application parameter causes a render problem in a composable preview | <p>My preview of a composable is not working and displaying this render problem :</p>
<pre><code>java.lang.ClassCastException: class com.android.layoutlib.bridge.android.BridgeContext cannot be cast to class android.app.Application
</code></pre>
<p>My preview code :</p>
<pre><code>@Preview
@Composable
fun MainScreenPre... | My preview of a composable is not working and displaying this render problem : [CODE] My preview code : [CODE] MyViewModel extends AndroidViewModel that has application as parameter. Most examples online show this as the proper way to get application inside a composable. Is there a better practice to get this preview t... | android-studio|kotlin|android-jetpack-compose|android-viewmodel | 2 | 2022-07-20T17:46:03.030Z | 2,022 | 7 | 17 | 2 | 42 | 0 | 328 | 104 | 4 | 2 | true | true | false | false | false | false | low |
73,056,124 | Android on demand asset pack download error | <p>I am working with on demand asset pack.
Its working on some devices. On some devices its failed with below error. I am not seeing the reason of the error in anywhere. Could you please help me to debug this error.</p>
<pre><code>Download not permitted under the current device circumstances (e.g. in background).
Const... | I am working with on demand asset pack. Its working on some devices. On some devices its failed with below error. I am not seeing the reason of the error in anywhere. Could you please help me to debug this error. [CODE] | android | 0 | 2022-07-20T17:50:09.850Z | 2,022 | 7 | 17 | 2 | 33 | 0 | 219 | 43 | 1 | 1 | true | true | false | false | false | false | zero |
73,056,142 | How to add or remove stickers and renaming identifier on already created pack even if it added to whatsapp already.[Android] | <p>I am using Hawk storage with content provider to add sticker packs dynamically.</p>
<p>to create new pack
There class called StickerPack. We need to process the data given by user as StickerPack class.</p>
<p>then extract stored StickerPack objects from Hawk as List and new created StickerPack object is added to the... | I am using Hawk storage with content provider to add sticker packs dynamically. to create new pack There class called StickerPack. We need to process the data given by user as StickerPack class. then extract stored StickerPack objects from Hawk as List and new created StickerPack object is added to the list and that li... | java|android|whatsapp|whatsapp-stickers | 0 | 2022-07-20T17:51:55.197Z | 2,022 | 7 | 17 | 2 | 26 | 0 | 896 | 124 | 4 | 0 | false | true | false | false | false | false | zero |
73,056,204 | Change layout background in Android Studio | <p>Although I used to change the background with the code below, but now the program crashes</p>
<pre><code>binding.cardLAYOUT.setBackgroundResource( R.drawable.gift_card_100);
</code></pre>
<p>or</p>
<pre><code>binding.cardLAYOUT.setBackground(ContextCompat.getDrawable(this, R.drawable.gift_card_1));
</code></pre>
<p>... | Although I used to change the background with the code below, but now the program crashes [CODE] or [CODE] I did not change anything, the images and codes are the same as before [CODE] | android-studio | 1 | 2022-07-20T17:56:55.957Z | 2,022 | 7 | 17 | 2 | 36 | 2 | 184 | 42 | 1 | 3 | true | false | false | false | false | false | low |
73,056,218 | Read custom Information Elements from WiFi Beacon on Android 12 | <p>please, I am working on new app, which should read Information Elements from WiFi beacon in scan. I have Android 12 and using something like this:</p>
<pre><code>ScanResult r = results.get(i);
List<ScanResult.InformationElement> ie = getWiFiInformationElement(r);
</code></pre>
<p>I see in the <code>ie</code> a... | please, I am working on new app, which should read Information Elements from WiFi beacon in scan. I have Android 12 and using something like this: [CODE] I see in the ie array. There is SSID and more, but I don't see my extra IE item with data from my device with ID 0xDD. I checked by another device, and my extra IE is... | java|android|wifi|beacon | 0 | 2022-07-20T17:57:42.797Z | 2,022 | 7 | 17 | 2 | 63 | 0 | 416 | 63 | 4 | 1 | true | true | false | false | false | false | zero |
73,056,266 | Android Studio issue: Could not find com.google.android:cameraview:1.0.0 | <p>I keep facing this issue.</p>
<p>I tried</p>
<p><strong>1)</strong>
./gradlew clean -> npm i -> expo i</p>
<p><strong>2)</strong> add this line to build.graddle(:app)</p>
<blockquote>
<pre><code> multiDexEnabled true
</code></pre>
</blockquote>
<p><strong>3)</strong> add this line to build.graddle(project)<... | I keep facing this issue. I tried 1) ./gradlew clean -> npm i -> expo i 2) add this line to build.graddle(:app) [CODE] 3) add this line to build.graddle(project) [CODE] But nothing works. [CODE] How to resolve this issue? please help me. | android | 0 | 2022-07-20T18:01:28.153Z | 2,022 | 7 | 18 | 2 | 80 | 0 | 237 | 72 | 1 | 3 | true | true | false | false | false | false | zero |
73,056,325 | Why in Android studio my virtual machine doesn´t match with the android layout design? And I already disable the status bar | <p>When I launch my virtual machine it doesn´t match with the layout, it seems that I have activated the status bar but I already disabled in the theme.xml</p>
<p>The code of the layout:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.an... | When I launch my virtual machine it doesn´t match with the layout, it seems that I have activated the status bar but I already disabled in the theme.xml The code of the layout: [CODE] And I already disable the status bar, here´s the code of the theme.xml: [CODE] Here is the image of my project: comparison Thank you for... | android|xml|layout|frontend|virtual-machine | 1 | 2022-07-20T18:06:36.977Z | 2,022 | 7 | 18 | 2 | 20 | 1 | 334 | 123 | 5 | 2 | true | false | false | false | false | false | low |
73,056,356 | Infinite recomposition on LazyColumn items in Jetpack Compose | <p>I've got simple <code>LazyColumn</code>:</p>
<pre><code>LazyColumn {
val lazySportEvents: LazyPagingItems<RecyclerItem> = stateValue.pagingItems.collectAsLazyPagingItems()
lazySportEvents.apply {
when (loadState.refresh) {
is LoadState.NotLoading -> {
... | I've got simple LazyColumn : [CODE] When I scroll screen down, everything loads fine. But when I scroll up, I end up with fun loadAdImage() called. It means that recomposition for AdItem happened even if that is the very same item (values and reference) like before scrolling screen down! Why does recomposition even hap... | android|android-jetpack-compose|compose-recomposition | 0 | 2022-07-20T18:09:04.077Z | 2,022 | 7 | 18 | 2 | 283 | 1 | 576 | 61 | 3 | 1 | true | false | false | false | false | false | zero |
73,056,408 | How to create and share the contact in flutter? | <p>How to create the contact in locally with Name and phone number and share the created contact to other apps like whatsapp, social media's etc...</p>
<p>By using <code>vcard_maintained</code> library <a href="https://pub.dev/packages/vcard_maintained" rel="nofollow noreferrer">https://pub.dev/packages/vcard_maintaine... | How to create the contact in locally with Name and phone number and share the created contact to other apps like whatsapp, social media's etc... By using vcard_maintained library https://pub.dev/packages/vcard_maintained , we are able to create the contact, But not able to share through the apps. I tried this, [CODE] B... | android|flutter|vcf-vcard | 0 | 2022-07-20T18:15:21.073Z | 2,022 | 7 | 18 | 2 | 108 | 1 | 373 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
73,056,755 | sometimes my database does not update with the same code | <p>my code in android studio and JAVA language has a problem with its database. I have a edittext in a fragment and I use it for update database. the database is initialized using Room library in activity and the DAO file is defined public and static in mainActivity, and use method DAO.update(photo) in a fragment, but ... | my code in android studio and JAVA language has a problem with its database. I have a edittext in a fragment and I use it for update database. the database is initialized using Room library in activity and the DAO file is defined public and static in mainActivity, and use method DAO.update(photo) in a fragment, but som... | database|sql-update|android-room | 0 | 2022-07-20T18:46:25.340Z | 2,022 | 7 | 18 | 2 | 25 | 1 | 656 | 56 | 3 | 4 | true | false | false | false | false | false | zero |
73,056,851 | Jetpack Compose - how to adjust the padding depending on the height of another component? | <p>I have a component set with <code>Modifier.wrapContentHeight()</code> which height has different height depending on its content. I want to adjust other component's padding to the first component height dynamically. I tried something like this:</p>
<pre><code> var height = 0
val resourceContentBottomPad... | I have a component set with Modifier.wrapContentHeight() which height has different height depending on its content. I want to adjust other component's padding to the first component height dynamically. I tried something like this: [CODE] Unfortunately it changes nothing. | android|kotlin|android-jetpack-compose | 0 | 2022-07-20T18:55:39.423Z | 2,022 | 7 | 18 | 2 | 83 | 1 | 272 | 89 | 3 | 1 | true | false | false | false | false | false | zero |
73,056,895 | Android Canvas - Wanna learn how to make custom draws | <p>I'm willing to learn how to create my own draws with Android Canvas, I've noticed that there's some mathematics to learn how to deal with arcs, paths and points.</p>
<p>Does someone has material to share about that? I'm struggling to find some.</p>
<p>Thanks in advance!</p> | I'm willing to learn how to create my own draws with Android Canvas, I've noticed that there's some mathematics to learn how to deal with arcs, paths and points. Does someone has material to share about that? I'm struggling to find some. Thanks in advance! | android|android-studio|android-layout|android-jetpack-compose|android-jetpack | 0 | 2022-07-20T19:00:17.920Z | 2,022 | 7 | 19 | 2 | 31 | 0 | 256 | 53 | 5 | 0 | false | true | false | false | false | false | zero |
73,056,932 | Signing a Flutter App with Google Play Console | <p>I have problems in uploading a standard app on google play. I get following error:</p>
<p>You uploaded an APK or Android app bundle that was signed in debug mode. Upload an APK or Android app bundle that was signed in release mode. Learn more about signing.</p>
<p>I am not sure what I was doing wrong. I went to Buil... | I have problems in uploading a standard app on google play. I get following error: You uploaded an APK or Android app bundle that was signed in debug mode. Upload an APK or Android app bundle that was signed in release mode. Learn more about signing. I am not sure what I was doing wrong. I went to Build -> Flutter -> B... | android|flutter|release|playback | 1 | 2022-07-20T19:04:08.847Z | 2,022 | 7 | 19 | 2 | 141 | 1 | 335 | 46 | 4 | 0 | false | false | false | false | false | false | low |
73,056,981 | Android Room TypeConverter to encrypt String column optionally based on other column value | <p>Given the Entity:</p>
<pre class="lang-kotlin prettyprint-override"><code>@Entity(tableName = "otp_tokens")
data class DBEntity (
@PrimaryKey(autoGenerate = true)
val id: Long,
val data: String,
val encryptionType: EncryptionType
)
</code></pre>
<p><code>EncryptionType</code>:</p>
<pre cla... | Given the Entity: [CODE] EncryptionType : [CODE] I want to use a @TypeConverter to encrypt/decrypt the data String field when accessing the database, based on the value of the encryptionType field value. So for example if encryptionType == PLAIN_TEXT the TypeConverter should not do anything with the String value, but i... | android|kotlin|android-room | 1 | 2022-07-20T19:08:56.770Z | 2,022 | 7 | 19 | 2 | 38 | 1 | 600 | 90 | 3 | 2 | true | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.