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,104,319 | Android: Generate hardware-backed key pairs before even installing the credential via KeyChain | <p>I have a requirement to have key pair generation backed by the hardware, and I'm able to do so via the <code>KeyGenParameterSpec</code>. I'm able to generate hardware-backed key pairs, create certificate signing requests, request certification, and install the certificate on the app-scoped <code>AndroidKeyStore</cod... | I have a requirement to have key pair generation backed by the hardware, and I'm able to do so via the KeyGenParameterSpec . I'm able to generate hardware-backed key pairs, create certificate signing requests, request certification, and install the certificate on the app-scoped AndroidKeyStore . Now, I'm wondering if i... | android|security|ssl-certificate|client-certificates|android-keystore | 5 | 2022-07-25T05:14:03.033Z | 2,022 | 7 | 5 | 0 | 86 | 0 | 1,066 | 94 | 5 | 0 | false | true | false | false | false | false | low |
73,104,354 | why my app sometimes can't start launchPurchaseFlow in android studio | <p>i implemented google in app billing and added a subscription using google documentation, the first try i pressed the button but launchpurchaseflow was not launched with no reason apparently because the debug console said nothing about that, then i tried to close and open again the app and that time was launched succ... | i implemented google in app billing and added a subscription using google documentation, the first try i pressed the button but launchpurchaseflow was not launched with no reason apparently because the debug console said nothing about that, then i tried to close and open again the app and that time was launched success... | android|android-studio|google-play|google-play-console | 0 | 2022-07-25T05:20:02.337Z | 2,022 | 7 | 5 | 0 | 24 | 0 | 431 | 69 | 4 | 1 | true | true | false | false | false | false | zero |
73,104,367 | Google Ads stop loading after moving the project to a new machine | <p>I have transferred my flutter app project from my old computer over to a new one. Since then I have not been able to load AdMob ads in my app.</p>
<p>This is the error I'm getting:</p>
<pre><code>LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config., responseInfo: ResponseInfo(responseId: n... | I have transferred my flutter app project from my old computer over to a new one. Since then I have not been able to load AdMob ads in my app. This is the error I'm getting: [CODE] I have seen similar questions with answers pointing at problems with signing the app. I have the key.properties file, and build.gradle set ... | android|flutter|admob | 0 | 2022-07-25T05:22:17.330Z | 2,022 | 7 | 5 | 0 | 30 | 0 | 906 | 65 | 3 | 1 | true | true | false | false | false | false | zero |
73,104,426 | Not able to display the contents of arraylist on the list view | <p>I'm making a basic news reader app using hacker news API. I'm successfully able to get the titles and the url's of the news articles as JSON objects and add them to their respective arraylists as strings, but I'm unable to display the titles on the list view. I plan to add a webview later, but I can't really do that... | I'm making a basic news reader app using hacker news API. I'm successfully able to get the titles and the url's of the news articles as JSON objects and add them to their respective arraylists as strings, but I'm unable to display the titles on the list view. I plan to add a webview later, but I can't really do that wi... | java|android|api|hacker-news-api | -1 | 2022-07-25T05:33:45.520Z | 2,022 | 7 | 5 | 0 | 44 | 2 | 420 | 62 | 4 | 1 | true | false | false | false | false | true | negative |
73,104,440 | How to manage APPLICATION_ID if integrating both AdMob and Google Ad Manager | <p>In the integration guide it suggested that we need to add app id in AndroidManifest.xml with tag name <code>com.google.android.gms.ads.APPLICATION_ID</code>.</p>
<p>Both GAM and AdMob have different app id and asking to add this with same tag name.
Please help if anyone have done this before.</p> | In the integration guide it suggested that we need to add app id in AndroidManifest.xml with tag name com.google.android.gms.ads.APPLICATION_ID . Both GAM and AdMob have different app id and asking to add this with same tag name. Please help if anyone have done this before. | android|admob|google-ad-manager | 0 | 2022-07-25T05:36:01.127Z | 2,022 | 7 | 5 | 0 | 52 | 0 | 274 | 76 | 3 | 0 | false | true | false | false | false | false | zero |
73,104,470 | Service for heart rate or step count is not found in watch | <p>I am building an app for my company where there is a feature it should get a heart rate from a Bluetooth watch.</p>
<p>I am using <a href="https://github.com/dariuszseweryn/RxAndroidBle" rel="nofollow noreferrer">this library</a> where I can get the basic data like device name and battery level and all but I can't g... | I am building an app for my company where there is a feature it should get a heart rate from a Bluetooth watch. I am using this library where I can get the basic data like device name and battery level and all but I can't get the data that I want (Step count and Heart rate). Is there any other way to make it work? I ha... | android|bluetooth|bluetooth-lowenergy|android-bluetooth|heartrate | -1 | 2022-07-25T05:39:32.077Z | 2,022 | 7 | 5 | 0 | 62 | 1 | 615 | 58 | 5 | 1 | true | false | false | false | false | true | negative |
73,104,585 | Service needs to run Continuously when device is locked/enter into Doze Mode | <p>My App needs to run in background continuously to send the location updates to the server. I tried Timer , Job Scheduler with background service none of these didn't worked. Its working fine when device is active, after entering into Doze mode the timer which i used is getting paused. When the device is active the T... | My App needs to run in background continuously to send the location updates to the server. I tried Timer , Job Scheduler with background service none of these didn't worked. Its working fine when device is active, after entering into Doze mode the timer which i used is getting paused. When the device is active the Time... | android|background-service|doze | 1 | 2022-07-25T05:59:06.923Z | 2,022 | 7 | 5 | 0 | 32 | 1 | 420 | 76 | 3 | 0 | false | false | false | false | false | false | low |
73,104,651 | sequence concatadapter based on data type | <p>is it possible to use concatadapter based on data type.</p>
<p>normal implementation of concatadapter is</p>
<pre><code> val concatadapter = listOf(firstAdapter, secondAdapter, thirdAdapter)
</code></pre>
<p>while trying this code,</p>
<pre><code> for (nums in 0..15) {
if (nums % 2 == 0) {
concatAda... | is it possible to use concatadapter based on data type. normal implementation of concatadapter is [CODE] while trying this code, [CODE] the first "firstAdapter" and "secondAdapter" will be display. But the next "firstAdapter" and "secondAdapter" is not displayed. is there anythin... | android|kotlin|android-concatadapter | 0 | 2022-07-25T06:06:55.150Z | 2,022 | 7 | 6 | 0 | 12 | 0 | 341 | 41 | 3 | 2 | true | true | false | false | false | false | zero |
73,104,829 | Android app unpublished but still see new downloads | <p>I have Android app on Play Store.
Now I unpublished the app from Google Play Console -</p>
<p><a href="https://i.stack.imgur.com/1mrvl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1mrvl.png" alt="enter image description here" /></a></p>
<p>[I am aware that app will not be available for the new ... | I have Android app on Play Store. Now I unpublished the app from Google Play Console - [I am aware that app will not be available for the new users but old user can use it and can have update.] But after unpublishing the app, I am still able to see some new user download for the same app. As I unpublished app in May En... | android|google-play|google-play-console | 0 | 2022-07-25T06:29:52.257Z | 2,022 | 7 | 6 | 0 | 49 | 2 | 450 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
73,104,831 | How to permanently disable payment button after successful payment in Android studio | <p>I have a android studio project that is an E-Book. There is a Razorpay payment gateway in this project. I want to disable payment button permanently after successful payment. That means if a user use back press or reopen the app this payment button do not show after one successful payment. Please help me and thank y... | I have a android studio project that is an E-Book. There is a Razorpay payment gateway in this project. I want to disable payment button permanently after successful payment. That means if a user use back press or reopen the app this payment button do not show after one successful payment. Please help me and thank you ... | javascript|java|android|firebase|android-studio | 0 | 2022-07-25T06:30:15.910Z | 2,022 | 7 | 6 | 0 | 31 | 1 | 425 | 84 | 5 | 3 | true | false | false | false | false | false | zero |
73,104,885 | Android sdkmanager not found issue in ubuntu 22.04 based linux container | <p>I am trying to install flutter on ubuntu 22.04 based linux container (on proxmox server).</p>
<pre><code>sdkmanager --version
</code></pre>
<p>shows 7.0</p>
<pre><code>flutter doctor
</code></pre>
<p>shows message "Flutter requires Android SDK 29 and the Android BuildTools 28.0.3"</p>
<pre><code>flutter d... | I am trying to install flutter on ubuntu 22.04 based linux container (on proxmox server). [CODE] shows 7.0 [CODE] shows message "Flutter requires Android SDK 29 and the Android BuildTools 28.0.3" [CODE] shows message that Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdli... | android|flutter|lxc|proxmox | 0 | 2022-07-25T06:36:30.937Z | 2,022 | 7 | 6 | 0 | 69 | 0 | 917 | 72 | 4 | 5 | true | true | false | false | false | false | zero |
73,104,888 | deploying random forest model from python to android studio | <p>I am trying to integrate my random forest model from python to android studio. But I am unable to do it through tensor flow. Can anyone suggest to me any other alternative?</p>
<p>Thanks in advance!</p> | I am trying to integrate my random forest model from python to android studio. But I am unable to do it through tensor flow. Can anyone suggest to me any other alternative? Thanks in advance! | android-studio|random-forest | 0 | 2022-07-25T06:36:37.890Z | 2,022 | 7 | 6 | 0 | 22 | 0 | 191 | 59 | 2 | 0 | false | true | false | false | false | false | zero |
73,104,982 | Creating sequential files and uploading them to Firebase | <p>I wrote a program that saves a series of data in a file and uploads it to Firebase Storage. I want it to replace the previous data with new data so that when it gets the data, it saves it in "file1.txt"
save the next data in "file2.txt" and continue in the same way and all these files are uploade... | I wrote a program that saves a series of data in a file and uploads it to Firebase Storage. I want it to replace the previous data with new data so that when it gets the data, it saves it in "file1.txt" save the next data in "file2.txt" and continue in the same way and all these files are uploaded e... | java|android|firebase|google-cloud-platform|firebase-storage | -1 | 2022-07-25T06:45:02.413Z | 2,022 | 7 | 6 | 0 | 49 | 2 | 354 | 56 | 5 | 1 | true | false | false | false | false | true | negative |
73,105,149 | How do I save app logs locally on Android? | <p>I want to save the logs generated by my application locally on the android device and view them in an instance of a crash.
Using the "Take Bug Report" under the developer options gives the entire system logs which are irrelevant to me. I am looking only for those logs created by my application when it runs... | I want to save the logs generated by my application locally on the android device and view them in an instance of a crash. Using the "Take Bug Report" under the developer options gives the entire system logs which are irrelevant to me. I am looking only for those logs created by my application when it runs. I... | android|android-studio|logging|android-log | 0 | 2022-07-25T07:03:44.853Z | 2,022 | 7 | 7 | 0 | 51 | 3 | 452 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
73,105,201 | When do we need to try-catch "android.security.KeyStoreException" since it's added in Android 13? | <p>android.security.KeyStoreException is added in Android 13. And, when do we need to try-catch this exception since most of the exception thrown by class like KeyStore is java.security.KeyStoreException instead.</p>
<p>Thanks.</p> | android.security.KeyStoreException is added in Android 13. And, when do we need to try-catch this exception since most of the exception thrown by class like KeyStore is java.security.KeyStoreException instead. Thanks. | android|exception|keystore|android-13 | 0 | 2022-07-25T07:08:39.347Z | 2,022 | 7 | 7 | 0 | 31 | 0 | 217 | 97 | 4 | 0 | false | true | false | false | false | false | zero |
73,105,224 | Nested Lists in Jetpack Compose using LazyColumn | <p>I am trying to build a screen that contains nested lists as in the image below.</p>
<p><a href="https://i.stack.imgur.com/TklzB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TklzB.png" alt="Preview" /></a></p>
<p>The code that builds the preview above is:</p>
<pre><code>@Preview
@Composable
fun ... | I am trying to build a screen that contains nested lists as in the image below. The code that builds the preview above is: [CODE] While the preview renders successfully, when the app is run, it crashes with the following error: [CODE] The code for the screen is: [CODE] None of the existing solutions for nested loops wo... | android-jetpack-compose|nested-lists|lazycolumn | 1 | 2022-07-25T07:10:07.623Z | 2,022 | 7 | 7 | 0 | 160 | 1 | 433 | 48 | 3 | 3 | true | false | false | false | false | false | low |
73,105,226 | Flutter app stays white screened on android but works perfect on web | <p>I am using Firebase authentication to make email password authentication. I tried <code>flutter clean</code> and then <code>flutter run</code> which still did not work.</p>
<p>CLI Logs</p>
<pre><code>flutter run
Running "flutter pub get" in mobile_auth_test... 2,857ms
Using hardware renderi... | I am using Firebase authentication to make email password authentication. I tried flutter clean and then flutter run which still did not work. CLI Logs [CODE] The screen looks like this(it doesnt show the app, while it shows the app perfectly on the web version): Here is the main.dart [CODE] I will also give the gradle... | android|flutter|firebase|dart|gradle | 0 | 2022-07-25T07:10:17.230Z | 2,022 | 7 | 7 | 0 | 109 | 1 | 424 | 68 | 5 | 5 | true | false | false | false | false | false | zero |
73,105,378 | Android Emulator | <p>I am using Nexus 5x API 27 for my Android project. How do I configure the emulator to communicate with localhost?</p>
<p>I have checked the emulator options but I can't find the proxy settings. Is there a new way of doing it?</p> | I am using Nexus 5x API 27 for my Android project. How do I configure the emulator to communicate with localhost? I have checked the emulator options but I can't find the proxy settings. Is there a new way of doing it? | android|emulation | 0 | 2022-07-25T07:24:44.033Z | 2,022 | 7 | 7 | 0 | 30 | 1 | 218 | 16 | 2 | 0 | false | false | false | false | false | false | zero |
73,105,380 | Will the operation of collect from Flow cost many system resources when I use Compose with Kotlin? | <p>The <code>SoundViewModel</code> is a <code>ViewModel</code> class, and <code>val listSoundRecordState</code> may be used by some modules in the App.</p>
<p>In Code A, I invoke <code>fun collectListSoundRecord()</code> when I need to use the data <code>listSoundRecordState</code>. But <code>fun collectListSoundRecord... | The SoundViewModel is a ViewModel class, and val listSoundRecordState may be used by some modules in the App. In Code A, I invoke fun collectListSoundRecord() when I need to use the data listSoundRecordState . But fun collectListSoundRecord() may be launched again and again because of Jetpack Compose recomposition, I d... | kotlin|android-jetpack-compose|kotlin-coroutines|kotlin-flow | 2 | 2022-07-25T07:24:48.273Z | 2,022 | 7 | 7 | 0 | 176 | 1 | 678 | 98 | 4 | 2 | true | false | false | false | false | false | low |
73,105,469 | Firebase Admins SDK and App check SafetyNet | <p>I have firebase project connected to android app, and I am using App check (SafetyNet), and it work 100% well.</p>
<p>Also I am using admins SDK (java) to connect and do action in the project. before using the App check every thing was working 100% well, but after enabling app check I can't access and all action fai... | I have firebase project connected to android app, and I am using App check (SafetyNet), and it work 100% well. Also I am using admins SDK (java) to connect and do action in the project. before using the App check every thing was working 100% well, but after enabling app check I can't access and all action fail. so how ... | java|android|firebase-admin|firebase-app-check|safetynet | 1 | 2022-07-25T07:32:15.420Z | 2,022 | 7 | 7 | 0 | 92 | 1 | 365 | 43 | 5 | 1 | true | false | false | false | false | false | low |
73,105,493 | File.Delete() throw "owner died" in Xamarin | <p>Generally, file deletion can be performed correctly on most Android phones
However, when I run this line of code on "Huawei art-al00x (Android 10.0 - API 29)", the operation throws an exception "owner died"</p>
<p>I can create files and write data, but I can't delete files</p>
<p>I've never been ... | Generally, file deletion can be performed correctly on most Android phones However, when I run this line of code on "Huawei art-al00x (Android 10.0 - API 29)", the operation throws an exception "owner died" I can create files and write data, but I can't delete files I've never been in this situation... | xamarin|xamarin.forms|xamarin.android|monodevelop | 2 | 2022-07-25T07:34:25.637Z | 2,022 | 7 | 7 | 0 | 69 | 0 | 1,151 | 43 | 4 | 1 | true | true | false | false | false | false | low |
73,105,538 | Inflate layouts with default display density | <p>In our android app we don't obey the display size set in native settings but follow default display size.</p>
<p>code to force default display density:</p>
<pre><code>Configuration configuration = baseContext.getResources().getConfiguration();
configuration.densityDpi = DisplayMetrics.DENSITY_DEVICE_STABLE;
return b... | In our android app we don't obey the display size set in native settings but follow default display size. code to force default display density: [CODE] But still when we try to inflate layouts, it's affected by display size on native settings. Is there any way force to default display density for inflated layouts? | android|android-layout|display | 0 | 2022-07-25T07:38:27.673Z | 2,022 | 7 | 7 | 0 | 56 | 0 | 315 | 44 | 3 | 1 | true | true | false | false | false | false | zero |
73,105,623 | How to setTextSize (TextView) in dp using RemoteViews | <p>RemoteViews allow me to setTextSize TextView like this:</p>
<pre><code>views.setFloat(R.id.appwidget_text, "setTextSize", fontSize);
</code></pre>
<p>but only with one argument. It will set font size in sp. I dont want the text in my widget to be measured in sp.
I need use setTextSize with 2 arguments (<co... | RemoteViews allow me to setTextSize TextView like this: [CODE] but only with one argument. It will set font size in sp. I dont want the text in my widget to be measured in sp. I need use setTextSize with 2 arguments ( txtView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, fontSize); ) using remote views. Is it possible to do... | android|textview|arguments|remoteview | 0 | 2022-07-25T07:45:42.640Z | 2,022 | 7 | 7 | 0 | 42 | 1 | 326 | 53 | 4 | 1 | true | false | false | false | false | false | zero |
73,105,626 | arm-linux-androideabi-ar: Command not found in NDK | <p>Downloaded NDK file from this (<a href="https://developer.android.com/ndk/downloads" rel="nofollow noreferrer">https://developer.android.com/ndk/downloads</a>) link for Linux computer.
arm-linux-androideabi-ar file is not available in downloaded NDK file.</p>
<p>Getting below compilation application in my NDK applic... | Downloaded NDK file from this ( https://developer.android.com/ndk/downloads ) link for Linux computer. arm-linux-androideabi-ar file is not available in downloaded NDK file. Getting below compilation application in my NDK application. android-ndk-r25/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar: C... | android|android-studio|compiler-errors|android-ndk | 2 | 2022-07-25T07:46:00.550Z | 2,022 | 7 | 7 | 0 | 117 | 2 | 429 | 50 | 4 | 0 | false | false | false | false | false | false | low |
73,105,648 | How to translucent only one fragment | <p>I use single activity architecture and navigation component.
I want to translucent only my splash fragment
by changing style all fragment are changed
Setting fitSystemWindows true in splash fragment not work
:(</p>
<p><a href="https://i.stack.imgur.com/CgLkW.jpg" rel="nofollow noreferrer">Like this sample</a></p>
<p... | I use single activity architecture and navigation component. I want to translucent only my splash fragment by changing style all fragment are changed Setting fitSystemWindows true in splash fragment not work :( Like this sample please help me | android|navigation|fragment | 0 | 2022-07-25T07:47:54.580Z | 2,022 | 7 | 7 | 0 | 46 | 1 | 242 | 36 | 3 | 0 | false | false | false | false | false | false | zero |
73,105,892 | Edit file in Android 11 using react native | <p>I have build an app to edit text using react native, it work well on android 7, now on android 11 it say "permission denied" may be due to android scoped storage limitation, I've used react-native-fs and also react-native-scoped-storage but none work.
what I want is how to edit a file in android 11 using ... | I have build an app to edit text using react native, it work well on android 7, now on android 11 it say "permission denied" may be due to android scoped storage limitation, I've used react-native-fs and also react-native-scoped-storage but none work. what I want is how to edit a file in android 11 using reac... | android|react-native|mobile|storage | 0 | 2022-07-25T08:07:35.753Z | 2,022 | 7 | 8 | 0 | 60 | 1 | 398 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
73,105,910 | How to make certain part of an activity change depending on the day of the week? | <p>I am using a HorizontalScrollView as a container, inside it I have a button for each day of the week (Monday, Tuesday..., Friday). I want that, depending on the day of the week, when opening the application, it automatically scrolls there, that is, today it is Monday the button that appears as an option is "MON... | I am using a HorizontalScrollView as a container, inside it I have a button for each day of the week (Monday, Tuesday..., Friday). I want that, depending on the day of the week, when opening the application, it automatically scrolls there, that is, today it is Monday the button that appears as an option is "MONDAY... | android|kotlin|uiscrollview | 0 | 2022-07-25T08:09:11.890Z | 2,022 | 7 | 8 | 0 | 30 | 1 | 520 | 80 | 3 | 0 | false | false | false | false | false | false | zero |
73,105,916 | How to take a screenshot when the screen is off? | <p>I have an long run APP, it needs to take screenshot every 1 minute and save to disk, everything works fine when the screen is ON, but when the screen is OFF, the screenshot file is not created. I can confirm the APP is still running and the takeScreenshot is executed every 1 minute as the log file is updated continu... | I have an long run APP, it needs to take screenshot every 1 minute and save to disk, everything works fine when the screen is ON, but when the screen is OFF, the screenshot file is not created. I can confirm the APP is still running and the takeScreenshot is executed every 1 minute as the log file is updated continuous... | android | 0 | 2022-07-25T08:09:39.490Z | 2,022 | 7 | 8 | 0 | 29 | 1 | 404 | 48 | 1 | 0 | false | false | false | false | false | false | zero |
73,105,997 | Google Fit sleep tracking integration error | <p>I have tried to implement sleep tracking using GoogleFit and it return the error</p>
<p>com.google.android.gms.common.api.ResolvableApiException: 5000: Application needs OAuth consent from the user</p>
<p>Here is my code for fetching the sleep data:</p>
<pre><code>private fun readSleepData() {
val request = Sess... | I have tried to implement sleep tracking using GoogleFit and it return the error com.google.android.gms.common.api.ResolvableApiException: 5000: Application needs OAuth consent from the user Here is my code for fetching the sleep data: [CODE] | android|google-fit | 0 | 2022-07-25T08:16:22.943Z | 2,022 | 7 | 8 | 0 | 61 | 1 | 242 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
73,106,048 | Android: Can fingerprint sensor on an modern Android device be Class 2 (formerly weak) biometrics? | <p>As described in <a href="https://source.android.com/security/biometric/measure#biometric-classes" rel="nofollow noreferrer">this</a> documentation and other places online Android has different security classes for biometric sensors. It is usually considered that the fingerprint is Class 3 (formerly Strong) biometric... | As described in this documentation and other places online Android has different security classes for biometric sensors. It is usually considered that the fingerprint is Class 3 (formerly Strong) biometrics. But the document never explicitly says that this is always the case. Can it be assumed that if a model (let's sa... | android|biometrics | 0 | 2022-07-25T08:22:00.383Z | 2,022 | 7 | 8 | 0 | 33 | 0 | 400 | 98 | 2 | 0 | false | true | false | false | false | false | zero |
73,106,071 | What 0a0a0a0a mean here? | <p>For a quick context:
I'm trying to run ffmpeg on aarch64 android, and have the following error:</p>
<blockquote>
<p>CANNOT LINK EXECUTABLE "/path/to/ffmpeg":
"/path/to/libary/libc++_shared.so" has bad ELF magic: 0a0a0a0a</p>
</blockquote>
<p>But to me it seems that it has right ELF magic.</p>
<p>... | For a quick context: I'm trying to run ffmpeg on aarch64 android, and have the following error: CANNOT LINK EXECUTABLE "/path/to/ffmpeg": "/path/to/libary/libc++_shared.so" has bad ELF magic: 0a0a0a0a But to me it seems that it has right ELF magic. First 16 bytes of libc++_shared.so 0000000 177 E L ... | android|ffmpeg|shared-libraries|elf | 2 | 2022-07-25T08:23:45.650Z | 2,022 | 7 | 8 | 0 | 60 | 1 | 566 | 24 | 4 | 0 | false | false | false | false | false | false | low |
73,106,105 | Expo pop-up notifications (floating notifications) don't work on android | <p>Notifications come but are displayed only in the status bar.</p>
<p>I use "expo": "~44.0.0" and "expo-notifications": "~0.14.0".</p>
<p>The code is completely copied from the documentation.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-b... | Notifications come but are displayed only in the status bar. I use "expo": "~44.0.0" and "expo-notifications": "~0.14.0". The code is completely copied from the documentation. [CODE] I also added to app.json. [CODE] Previously with the "expo" versions: "~40.0.0&quo... | android|react-native|push-notification|expo | 0 | 2022-07-25T08:26:54.690Z | 2,022 | 7 | 8 | 0 | 89 | 1 | 416 | 72 | 4 | 2 | true | false | false | false | false | false | zero |
73,106,241 | VIewModel observeAsState as Single event in Android Compose | <p>I have an issue with view model, when I do a network call/viewModel validation, and then the re composition happens (for example Textfield onValueChange) the viewModel holds the reference to the last "state" from the viewModel is any way to "observe" the state only once? similar to <code>SingleLi... | I have an issue with view model, when I do a network call/viewModel validation, and then the re composition happens (for example Textfield onValueChange) the viewModel holds the reference to the last "state" from the viewModel is any way to "observe" the state only once? similar to SingleLiveEvent o... | android|android-jetpack-compose|viewmodel|android-viewmodel | 0 | 2022-07-25T08:36:20.727Z | 2,022 | 7 | 8 | 0 | 197 | 2 | 899 | 59 | 4 | 1 | true | false | false | false | false | false | zero |
73,106,329 | How do I create a gallery within the application and show the photos and videos in the file I want? | <p>I have photos and videos in the <code>getApplicationDocumentsDirectory()</code> folder. How can I create a gallery page and show the videos and photos in this folder?</p> | I have photos and videos in the getApplicationDocumentsDirectory() folder. How can I create a gallery page and show the videos and photos in this folder? | android|ios|flutter|dart|mobile | 1 | 2022-07-25T08:43:40.130Z | 2,022 | 7 | 8 | 0 | 36 | 0 | 153 | 99 | 5 | 0 | false | true | false | false | false | false | low |
73,106,343 | Recyclerview expanding itself | <p>I am trying to do same design in <a href="https://i.stack.imgur.com/OJ5nd.gif" rel="nofollow noreferrer">here</a>. I have nested Recyclerview in my structure. I have BasketParentItem class and it keeps child products list. As you can see in <a href="https://i.stack.imgur.com/Ny5bA.gif" rel="nofollow noreferrer">here... | I am trying to do same design in here . I have nested Recyclerview in my structure. I have BasketParentItem class and it keeps child products list. As you can see in here when i click the checkbox list expanding itself. This happens when i call notifyDataChangeSetChildAndParent() in listener. Any idea how to solve it ?... | android | 0 | 2022-07-25T08:45:15.117Z | 2,022 | 7 | 8 | 0 | 36 | 0 | 491 | 29 | 1 | 9 | true | true | false | false | false | false | zero |
73,106,386 | React Native Responsive design for screen rotation | <p>I am using React Native to create an iOS and Android App. The app contains responsive design, so that it fits all the screen sizes in Android and iOS smartphones. But when user rotates the phone, the UI just got cluttered, on some phones it split into half of the screen and half screen is white. Don't know the exact... | I am using React Native to create an iOS and Android App. The app contains responsive design, so that it fits all the screen sizes in Android and iOS smartphones. But when user rotates the phone, the UI just got cluttered, on some phones it split into half of the screen and half screen is white. Don't know the exact is... | android|ios|react-native|user-interface|react-native-ui-components | 0 | 2022-07-25T08:49:41.670Z | 2,022 | 7 | 8 | 0 | 48 | 0 | 542 | 50 | 5 | 0 | false | true | false | false | false | false | zero |
73,106,434 | Creating a composable that expose a composable context through a specific method like LazyColumn | <p>Lately I've been tinkering with some more advanced usages of the Compose libraries, and was trying to implement a MediaPlayer composable to be used to manage player layout, events, playback state etc.</p>
<p>I've ran into some trouble when I realized that I need to limit this element's layout to a specific method, j... | Lately I've been tinkering with some more advanced usages of the Compose libraries, and was trying to implement a MediaPlayer composable to be used to manage player layout, events, playback state etc. I've ran into some trouble when I realized that I need to limit this element's layout to a specific method, just like i... | android|android-jetpack-compose | 1 | 2022-07-25T08:53:47.297Z | 2,022 | 7 | 8 | 0 | 35 | 0 | 943 | 96 | 2 | 2 | true | true | false | false | false | false | low |
73,106,578 | kotlinOptions.useIR = true causes error after upgrade to Kotlin 1.7.10 | <p>I received a notification from android Studio to update my app to Kotlin 1.7.10. (all is working well at Kotlin 1.6.21)
When I did that, I started receiving an error for the line</p>
<pre><code>kotlinOptions.useIR = true
</code></pre>
<p>(I previously put this in about a year ago when I removed</p>
<pre><code>apply ... | I received a notification from android Studio to update my app to Kotlin 1.7.10. (all is working well at Kotlin 1.6.21) When I did that, I started receiving an error for the line [CODE] (I previously put this in about a year ago when I removed [CODE] which I was told at the time was bad, and at the same time added in [... | android-studio|kotlin | 0 | 2022-07-25T09:05:36.393Z | 2,022 | 7 | 9 | 0 | 320 | 1 | 1,076 | 70 | 2 | 8 | true | false | false | false | false | false | zero |
73,106,645 | Hello guys, I keep getting this error in android studio bumblebee that I just installed. This is error; | <p>Could not find method android() for arguments [build_7jwcrzymvpp83e30hia0em3a3$_run_closure2@1a6e8efc] on root project 'My Application 2' of type org.gradle.api.Project.</p>
<pre><code> ext {
compose_version = '1.0.1'
}
}// Top-level build file where you can add configuration options common to all sub... | Could not find method android() for arguments [build_7jwcrzymvpp83e30hia0em3a3$_run_closure2@1a6e8efc] on root project 'My Application 2' of type org.gradle.api.Project. [CODE] | android|android-jetpack-compose | 0 | 2022-07-25T09:10:21.413Z | 2,022 | 7 | 9 | 0 | 51 | 1 | 176 | 103 | 2 | 1 | true | false | false | false | false | false | zero |
73,106,703 | How to create enterprise in Android Management API without customer interaction for getting enterprise token? | <p>This is controller code. Here I have provide how I'm creating enterprise. But currently I'm unable to create enterprise without enterprise token. Which I'm getting from customer, when customer registering thyself on play.google.com.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" dat... | This is controller code. Here I have provide how I'm creating enterprise. But currently I'm unable to create enterprise without enterprise token. Which I'm getting from customer, when customer registering thyself on play.google.com. [CODE] I'm facing this issue from a long time. Please share your feedback and help on t... | asp.net-core-3.1|android-management-api | 0 | 2022-07-25T09:14:17.607Z | 2,022 | 7 | 9 | 0 | 86 | 1 | 349 | 109 | 2 | 1 | true | false | false | false | false | false | zero |
73,106,714 | How can I assert that the activity is moved correctly or not? | <p>This is my code that sign in and move to MainActivity(MainFragment)</p>
<pre><code>@RunWith(AndroidJUnit4::class)
@ExperimentalCoroutinesApi
@LargeTest
@HiltAndroidTest
class LoginActivityTest {
@get:Rule
val hiltRule = HiltAndroidRule(this)
@get:Rule
val permissionRule = GrantPermissionRule.grant(M... | This is my code that sign in and move to MainActivity(MainFragment) [CODE] here's EspressoHelper that I used: [CODE] | android|android-espresso|android-testing | 0 | 2022-07-25T09:14:55.573Z | 2,022 | 7 | 9 | 0 | 19 | 0 | 116 | 61 | 3 | 2 | true | true | false | false | false | false | zero |
73,106,735 | Spotify AUTHENTICATION SERVICE UNKNOWN_ERROR kotlin android | <p>I am trying authenticate user with spotify app and spotify auth API (implementation 'com.spotify.android:auth:2.0.1') followed the steps mentioned in Spotify SDK github sample
my code:</p>
<p><code>Added in gradle(app.module) defaultConfig { manifestPlaceholders = [redirectSchemeName: "appname", redirectHo... | I am trying authenticate user with spotify app and spotify auth API (implementation 'com.spotify.android:auth:2.0.1') followed the steps mentioned in Spotify SDK github sample my code: Added in gradle(app.module) defaultConfig { manifestPlaceholders = [redirectSchemeName: "appname", redirectHostName:"spo... | android|kotlin|spotify | 0 | 2022-07-25T09:16:29.863Z | 2,022 | 7 | 9 | 0 | 63 | 0 | 610 | 59 | 3 | 1 | true | true | false | false | false | false | zero |
73,106,751 | While following an example using Androidstudio and Amplify, I encountered 'error: constructor Item in class Item cannot be applied to given types;' | <p><a href="https://github.com/stevenkabc/amplify-android" rel="nofollow noreferrer">https://github.com/stevenkabc/amplify-android</a></p>
<p>I am currently practicing amply androidstudio following the example above.</p>
<p>After successfully modifying the schema, I tried building it, but somehow Android Studio can't f... | https://github.com/stevenkabc/amplify-android I am currently practicing amply androidstudio following the example above. After successfully modifying the schema, I tried building it, but somehow Android Studio can't find the S3Object. The example was made four years ago, is there anything I'm missing other than the one... | amazon-web-services|android-studio|amplify|s3-object-tagging | 0 | 2022-07-25T09:17:43.593Z | 2,022 | 7 | 9 | 0 | 33 | 0 | 840 | 147 | 4 | 0 | false | true | false | false | false | false | zero |
73,106,917 | MutableSharedFlow is being re collected again and again | <p>I have the following ViewModel and Fragment -</p>
<pre class="lang-kotlin prettyprint-override"><code>class HeroesViewModel(private val heroesRepository: HeroesRepository) : ViewModel() {
private val internalUiState = MutableStateFlow<UiState>(UiState.Initial)
val uiState = internalUiState.asLiveData(... | I have the following ViewModel and Fragment - [CODE] As you can see, I have the replayCache set to 1 in internalUiAction but the value keeps emitting itself. When I navigate using the navigateToHeroesDetails() method and go back using the navigation bar I immediately observe the last uiAction emitted value which is Nav... | android|android-fragments|navigation|kotlin-sharedflow | 0 | 2022-07-25T09:29:46.923Z | 2,022 | 7 | 9 | 0 | 82 | 0 | 632 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,107,085 | CPU Profiler Android Studio | <p>I am facing a problem with my Android App.</p>
<p>My application get a microphone by using Native Code in C and other services like MQTT.
But actually my app use a lot of CPU usage and a notification request the user to set my app on a deep sleep mode.</p>
<p>So I'm searching what part of my code use as much CPU and... | I am facing a problem with my Android App. My application get a microphone by using Native Code in C and other services like MQTT. But actually my app use a lot of CPU usage and a notification request the user to set my app on a deep sleep mode. So I'm searching what part of my code use as much CPU and when I start CPU... | performance|android-studio|cpu-usage | 0 | 2022-07-25T09:40:14.243Z | 2,022 | 7 | 9 | 0 | 24 | 1 | 555 | 27 | 3 | 0 | false | false | false | false | false | false | zero |
73,107,126 | What is typed array in kotlin | <p>I am not able to clearly understand what is typed array in kotlin. I have seen the fucntion toTypedArray in kotlin. but did not see any proper definition of it like what exactly it does. Can anyone please explain with an example.</p>
<p>Thanks</p> | I am not able to clearly understand what is typed array in kotlin. I have seen the fucntion toTypedArray in kotlin. but did not see any proper definition of it like what exactly it does. Can anyone please explain with an example. Thanks | android|kotlin | 2 | 2022-07-25T09:43:18.983Z | 2,022 | 7 | 9 | 0 | 85 | 1 | 236 | 29 | 2 | 0 | false | false | false | false | false | false | low |
73,107,234 | How to fix jlink does not exist? | <p>i am working with <code>react native</code> and am trying to use expo in a <a href="https://docs.expo.dev/bare/exploring-bare-workflow/" rel="nofollow noreferrer">bare project</a> but whenever i try to run the app with the command <code>npm run android</code>, i get this error :</p>
<pre><code>Execution failed for t... | i am working with react native and am trying to use expo in a bare project but whenever i try to run the app with the command npm run android , i get this error : [CODE] I am using the linux OS, Android studio and JDK are correctly installed. Inside /usr/lib/jvm/ folder, the structure look like this: java-1.11.0-openjd... | java|android|react-native|expo|java-11 | 0 | 2022-07-25T09:51:14.063Z | 2,022 | 7 | 9 | 0 | 346 | 1 | 607 | 32 | 5 | 1 | true | false | false | false | false | false | zero |
73,107,268 | is it ok to use value field in coroutines? | <p>I have a flow that contains the user's info(as a single object). there are some operations, that need to access the mentioned flow, in a single-shot op. no observing, just reading the required info once.</p>
<p>I know there are <code>single()</code> and other functions that can do the thing, but my question is, is i... | I have a flow that contains the user's info(as a single object). there are some operations, that need to access the mentioned flow, in a single-shot op. no observing, just reading the required info once. I know there are single() and other functions that can do the thing, but my question is, is it ok to use value prope... | android|kotlin|kotlin-coroutines|coroutine | 1 | 2022-07-25T09:53:51.663Z | 2,022 | 7 | 9 | 0 | 46 | 1 | 499 | 42 | 4 | 0 | false | false | false | false | false | false | low |
73,107,351 | Is there any way to know that Google account is associate with Microsoft account or not? | <p>Our App is allowed to signIn with Google and Microsoft accounts. Microsoft allows a <strong>"Gmail"</strong> account to loggedIn into the outlook calendar.</p>
<p>which means,</p>
<p>abc@gmail.com is a Google account.<br />
abc@gmail.com is also a Microsoft account.</p>
<p>so need to identify whether this ... | Our App is allowed to signIn with Google and Microsoft accounts. Microsoft allows a "Gmail" account to loggedIn into the outlook calendar. which means, abc@gmail.com is a Google account. abc@gmail.com is also a Microsoft account. so need to identify whether this Google account is associated with the Microsoft... | android|api|google-api|gmail | 0 | 2022-07-25T10:00:04.473Z | 2,022 | 7 | 10 | 0 | 39 | 0 | 384 | 88 | 4 | 0 | false | true | false | false | false | false | zero |
73,107,386 | Qt How to override CustomWidget MouseMoveEvent with obj MouseMoveEvent | <p>Our touch screen app has a several widgets all mostly controlled by a CustomWidget object.</p>
<p>This has methods for <code>mouseMouseEvent</code> etc.</p>
<p>One of the widgets allows the user to click to select an option, but also to click hold and move.
This works fine on Windows, but on Android(*) with touch th... | Our touch screen app has a several widgets all mostly controlled by a CustomWidget object. This has methods for mouseMouseEvent etc. One of the widgets allows the user to click to select an option, but also to click hold and move. This works fine on Windows, but on Android(*) with touch the sensitivity means you have t... | android|qt|mousemove | 0 | 2022-07-25T10:02:06.447Z | 2,022 | 7 | 10 | 0 | 31 | 0 | 1,073 | 70 | 3 | 1 | true | true | false | false | false | false | zero |
73,107,600 | How to implement our own Frame Encryptor in WebRTC C++? | <p>currently I am trying to modify webRTC for specialized purposes in Android. I need help with how we could use this interface to modify our frame after encoding.</p>
<p>For now I just really want to XOR the frame after encoding before sending it through PeerConnection. Since I am not familiar with C++, I tried to imp... | currently I am trying to modify webRTC for specialized purposes in Android. I need help with how we could use this interface to modify our frame after encoding. For now I just really want to XOR the frame after encoding before sending it through PeerConnection. Since I am not familiar with C++, I tried to implement my ... | android|c++|webrtc|jitsi | 0 | 2022-07-25T10:20:52.763Z | 2,022 | 7 | 10 | 0 | 56 | 0 | 785 | 55 | 4 | 0 | false | true | false | false | false | false | zero |
73,107,713 | Android Auto error : Action strip for this template must be set | <p>I've been playing around with Android Auto recently and I am currently trying to make a navigation app using the Navigation Template provided in the android for cars library. I'm trying to utilize this template under the NavigationScreen class, but I'm getting the following error:</p>
<pre><code>...
Caused by: java.... | I've been playing around with Android Auto recently and I am currently trying to make a navigation app using the Navigation Template provided in the android for cars library. I'm trying to utilize this template under the NavigationScreen class, but I'm getting the following error: [CODE] Here's the navigation app servi... | kotlin|android-auto|android-automotive | 0 | 2022-07-25T10:27:55.167Z | 2,022 | 7 | 10 | 0 | 73 | 1 | 335 | 63 | 3 | 2 | true | false | false | false | false | false | zero |
73,107,777 | get PatchStore::createDisableExceptionQarthFile method fail | <p>when i scroll down in my app suddenly the app crashes i found behind this crash it crashes when i want to show song images in my music apps any one help me plz i am trying my best but i can not find any method</p>
<p>hers my code</p>
<pre><code>
2022-07-24 22:05:33.942 14071-14154/com.codewithmorshed.musikc E/AwareL... | when i scroll down in my app suddenly the app crashes i found behind this crash it crashes when i want to show song images in my music apps any one help me plz i am trying my best but i can not find any method hers my code [CODE] public class SongAdapter extends RecyclerView.Adapter<SongAdapter.MydViewHolder> { [CODE] ... | java|android|android-studio|kotlin|methods | 0 | 2022-07-25T10:33:13.247Z | 2,022 | 7 | 10 | 0 | 71 | 1 | 321 | 59 | 5 | 2 | true | false | false | false | false | false | zero |
73,107,781 | Devices with Android 12 keep bluetooth LE connection even when app is closed | <p>I'm experiencing an issue, where I can connect to bluetooth device once, but after I disconnect, I no longer see that device when scanning for bluetooth devices.
If I completely close the app, device is still undiscoverable, but if I turn off the phone, device becomes discoverable again.</p>
<p>I also noticed that t... | I'm experiencing an issue, where I can connect to bluetooth device once, but after I disconnect, I no longer see that device when scanning for bluetooth devices. If I completely close the app, device is still undiscoverable, but if I turn off the phone, device becomes discoverable again. I also noticed that this issue ... | android|android-bluetooth|google-pixel | 4 | 2022-07-25T10:33:20.643Z | 2,022 | 7 | 10 | 0 | 184 | 2 | 1,256 | 76 | 3 | 5 | true | false | false | false | false | false | low |
73,108,015 | How to create new separate notification in android app? | <p>Good aftenoon! I cannot create new different notification every time. Notification stays single, and only update after method createNotification(String m). But I need to create new notifications very time. Thanks.</p>
<p><a href="https://i.stack.imgur.com/TrmO8.jpg" rel="nofollow noreferrer">enter image description ... | Good aftenoon! I cannot create new different notification every time. Notification stays single, and only update after method createNotification(String m). But I need to create new notifications very time. Thanks. enter image description here [CODE] } | java|android|android-notifications|alarmmanager | 0 | 2022-07-25T10:51:51.080Z | 2,022 | 7 | 10 | 0 | 21 | 0 | 251 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,108,033 | What is the difference between lintClassPath and implementation in Android | <p>I want to know the difference between lintClassPath and implementation.</p>
<p>I am able to use</p>
<pre><code>implementation 'commons-codec:commons-codec:1.13'
</code></pre>
<p>and</p>
<pre><code>lintClassPath 'commons-codec:commons-codec:1.13'
</code></pre>
<p>Both are working fine. But When I need to use implemen... | I want to know the difference between lintClassPath and implementation. I am able to use [CODE] and [CODE] Both are working fine. But When I need to use implementation and When I need to use lintClassPath? | android | 0 | 2022-07-25T10:53:17.010Z | 2,022 | 7 | 10 | 0 | 19 | 0 | 205 | 74 | 1 | 2 | true | true | false | false | false | false | zero |
73,108,065 | Retrieving a boolean from another activity causes a NullPointerException (Kotlin) | <p>As I said in the title, I'm trying to retrieve a boolean from the intent.
Basically what I'm trying to do is going to activity2, there, I click a button and clicking that will make me jump into the main activity and send a boolean with the value "true" with the intent, and retrieve it in the main activity.... | As I said in the title, I'm trying to retrieve a boolean from the intent. Basically what I'm trying to do is going to activity2, there, I click a button and clicking that will make me jump into the main activity and send a boolean with the value "true" with the intent, and retrieve it in the main activity. Th... | android|kotlin|android-activity | 0 | 2022-07-25T10:55:43.167Z | 2,022 | 7 | 10 | 0 | 35 | 2 | 436 | 81 | 3 | 2 | true | false | false | false | false | false | zero |
73,108,072 | Can't Change Screen Order in Bottom Tab Navigator in React Native | <p>I have a bottom tab navigator in my app.</p>
<pre><code><Stack.Navigator
screenOptions={{
headerShown: false,
}}>
<Stack.Screen
//...
/>
<Stack.Screen
name="BottomTab"
component={BottomTab}
/>
<Stack.Screen
//...
/>
<... | I have a bottom tab navigator in my app. [CODE] It include 3 screens inside itself. [CODE] I've changed the initialRouteName to "HomeScreen" to see HomeScreen at first. But, if i go back after HomeScreen shows up, screen changes to SearchScreen. But i want it to go the screen that where BottomTab Stack Screen... | javascript|android|ios|reactjs|react-native | 0 | 2022-07-25T10:56:16.113Z | 2,022 | 7 | 10 | 0 | 108 | 0 | 588 | 65 | 5 | 2 | true | true | false | false | false | false | zero |
73,108,098 | How to convert a mp4 video file to y4m for webRTC in Android | <p>In my Android app , I could change the video source to locally stored y4m video file instead of camera and could stream to connected peer. However my goal is to transport all types of video file using webRTC. It seems webRTC supports y4m only to be streamed. Is this information true? if yes then is the only way to o... | In my Android app , I could change the video source to locally stored y4m video file instead of camera and could stream to connected peer. However my goal is to transport all types of video file using webRTC. It seems webRTC supports y4m only to be streamed. Is this information true? if yes then is the only way to othe... | android|webrtc|mp4 | 0 | 2022-07-25T10:58:43.283Z | 2,022 | 7 | 10 | 0 | 41 | 0 | 497 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
73,108,118 | Why icons do not take the right colors in assist chips? Material Design 3 | <p><strong>Light and dark theme</strong></p>
<p><a href="https://i.stack.imgur.com/nSlvD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nSlvD.png" alt="enter image description here" /></a>
<a href="https://i.stack.imgur.com/AbwN6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Abw... | Light and dark theme Assist chip color Here is the design [CODE] The icons inside the chips do not take the primary color as said in the documentation, Why? The other components work well with light and dark themes but icons in chips not applied the right colors. Do I make any mistakes? | android|material-design|material-components-android | 0 | 2022-07-25T11:00:17.823Z | 2,022 | 7 | 11 | 0 | 22 | 0 | 287 | 73 | 3 | 1 | true | true | false | false | false | false | zero |
73,108,167 | Android. Error while build process inside my ViewModelFactory after update androidx.lifecycle:lifecycle libs to 2.5.0 version | <p>After the last update of <code>androidx.lifecycle:lifecycle</code> to newest <code>2.5.0</code> version I can't build my project. I got this error in my ViewModelFactory</p>
<p><code>Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option</code></p>
<p>Here is one of the m... | After the last update of androidx.lifecycle:lifecycle to newest 2.5.0 version I can't build my project. I got this error in my ViewModelFactory Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option Here is one of the my factory: [CODE] I even was trying to re-work to a new F... | android|viewmodel|factory | 0 | 2022-07-25T11:04:27.460Z | 2,022 | 7 | 11 | 0 | 83 | 1 | 470 | 125 | 3 | 1 | true | false | false | false | false | false | zero |
73,108,186 | Android: Pass data between fragments using bundle | <p>I'm trying to pass data between fragments of different activities using bundles.</p>
<p>I have two fragments:
Fragment A is attached on Activity A;
Fragment B is attached on another activity: Activity B.</p>
<p>I need to pass an edit text string from Fragment A to Fragment B.
How can i accomplish that using bundles?... | I'm trying to pass data between fragments of different activities using bundles. I have two fragments: Fragment A is attached on Activity A; Fragment B is attached on another activity: Activity B. I need to pass an edit text string from Fragment A to Fragment B. How can i accomplish that using bundles? Can someone give... | android|kotlin|android-fragments|android-activity|fragment | 1 | 2022-07-25T11:05:52.590Z | 2,022 | 7 | 11 | 0 | 180 | 1 | 415 | 49 | 5 | 2 | true | false | false | false | false | false | low |
73,108,235 | Why is the IP address of the Google DNS server the only one, which is returning open ports in my case? | <p>I am creating a port scanner of a selected IP address, for my Android app. I use Runtime.getRuntime().exec("nc [host] [port]") to scan ports. My scanner only tests the top 100 ports, separately for TCP and UDP. Depending on the code for this process, I consider the port open or closed ("0" means ... | I am creating a port scanner of a selected IP address, for my Android app. I use Runtime.getRuntime().exec("nc [host] [port]") to scan ports. My scanner only tests the top 100 ports, separately for TCP and UDP. Depending on the code for this process, I consider the port open or closed ("0" means the... | android|kotlin|network-programming | 0 | 2022-07-25T11:08:51.683Z | 2,022 | 7 | 11 | 0 | 42 | 0 | 1,331 | 102 | 3 | 1 | true | true | false | false | false | false | zero |
73,108,384 | createChooser() intent exception "requires the provider be exported, or grantUriPermission()" | <p>The app needs to share a PDF file stored in the root of the cacheDir with other apps. The issue is seen on Android 12, possibly other versions too.</p>
<p>Manifest:</p>
<pre><code> <provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.p... | The app needs to share a PDF file stored in the root of the cacheDir with other apps. The issue is seen on Android 12, possibly other versions too. Manifest: [CODE] Provider paths: [CODE] Intent: [CODE] The share sheet successfully opens but this exception always shows at that point and subsequently sharing to another ... | android|android-contentprovider|scoped-storage | 1 | 2022-07-25T11:20:54.657Z | 2,022 | 7 | 11 | 0 | 61 | 1 | 552 | 93 | 3 | 4 | true | false | false | false | false | false | low |
73,108,402 | is it in Jetpack Compose exist possibility to add background image to Column who fill all Column similar like fill color? | <p>I want to add background image but if i add only Image(){} inside Box ,is not resizable background image to content and contain more space that i want . I found this but not work for me, <a href="https://www.tutorialkart.com/android-jetpack-compose/card-background-image/" rel="nofollow noreferrer">https://www.tutori... | I want to add background image but if i add only Image(){} inside Box ,is not resizable background image to content and contain more space that i want . I found this but not work for me, https://www.tutorialkart.com/android-jetpack-compose/card-background-image/ because i want Image adjustable to column [CODE] | android|android-jetpack-compose|android-jetpack | 0 | 2022-07-25T11:22:24.373Z | 2,022 | 7 | 11 | 0 | 78 | 1 | 311 | 121 | 3 | 1 | true | false | false | false | false | false | zero |
73,108,554 | Opening HTML file as text on Android | <p>The problem is:
Text from HTML file not showing on Android but showing on iOS</p>
<p>I have notice that there is something not showing on my page when I access it on Android devices but showing on iOS Devices. I mean that on iOS Devices only shows the text that needs to be seen by the user, but on Android it shows t... | The problem is: Text from HTML file not showing on Android but showing on iOS I have notice that there is something not showing on my page when I access it on Android devices but showing on iOS Devices. I mean that on iOS Devices only shows the text that needs to be seen by the user, but on Android it shows the whole H... | android|html|ios|react-native | 0 | 2022-07-25T11:33:56.903Z | 2,022 | 7 | 11 | 0 | 55 | 0 | 419 | 36 | 4 | 1 | true | true | false | false | false | false | zero |
73,108,557 | How can I display a list of objects within a list of objects, with a multi value header | <p>I am trying to display a list of objects that contain a list of objects. I have gone down a few rabbit holes, including grouping ObservableCollections but haven't been able to implement the right approach. From what I can tell, grouping only uses a single title/key (can anyone confirm this?).</p>
<p>For context, I a... | I am trying to display a list of objects that contain a list of objects. I have gone down a few rabbit holes, including grouping ObservableCollections but haven't been able to implement the right approach. From what I can tell, grouping only uses a single title/key (can anyone confirm this?). For context, I am making a... | c#|visual-studio|xamarin.forms|xamarin.android | 1 | 2022-07-25T11:34:10.157Z | 2,022 | 7 | 11 | 0 | 59 | 1 | 1,410 | 87 | 4 | 3 | true | false | false | false | false | false | low |
73,108,578 | i have a problem with firebase connecting | <p>this is the code :</p>
<pre><code>DatabaseReference referenceData=FirebaseDatabase.instance.ref().child('Jobs');
referenceData.get().then((DataSnapshot dataSnapshot) {jobs.clear();
var keys=dataSnapshot.value.keys;
var values = dataSnapshot.value;
for(var key in keys){
Jobs jobs = Jobs(values[key]['JobName'],va... | this is the code : [CODE] and here are the problems : The property 'keys' can't be unconditionally accessed because the receiver can be 'null'. The method '[]' can't be unconditionally invoked because the receiver can be 'null'. The method '[]' can't be unconditionally invoked because the receiver can be 'null'. I have... | android|flutter|firebase|firebase-realtime-database | 0 | 2022-07-25T11:35:45.670Z | 2,022 | 7 | 11 | 0 | 31 | 1 | 1,038 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
73,108,765 | How to set the repository my library depends into the artifact? | <p>I've a Android library that generates an artifact. This library have some dependencies in itself that are resolved from jitpack, but currently, if the user of the library don't add jitpack to their dependency repoisitories my library will fail to resolve.</p>
<p>How can I add to my artifact the repositories it depen... | I've a Android library that generates an artifact. This library have some dependencies in itself that are resolved from jitpack, but currently, if the user of the library don't add jitpack to their dependency repoisitories my library will fail to resolve. How can I add to my artifact the repositories it depends so the ... | gradle|android-gradle-plugin | 0 | 2022-07-25T11:51:51.913Z | 2,022 | 7 | 11 | 0 | 30 | 1 | 448 | 63 | 2 | 1 | true | false | false | false | false | false | zero |
73,108,806 | Hilt Service - Auto init | <p>I want to know how to automatically initialize a service without having to inject it the first time.
In the documentation, the @Singleton annotation seems to do that but it doesn't work on my side.</p> | I want to know how to automatically initialize a service without having to inject it the first time. In the documentation, the @Singleton annotation seems to do that but it doesn't work on my side. | android|android-studio|kotlin|dagger-hilt | 0 | 2022-07-25T11:55:17.070Z | 2,022 | 7 | 11 | 0 | 30 | 0 | 197 | 24 | 4 | 0 | false | true | false | false | false | false | zero |
73,108,863 | Restrict focus of talkback on notification bar in android | <p>I have an android device in which I set the talkback turned on. Now whenever I restart/reboot the device at that time talkback directly gets focus on notification bar and starts speech out of "syncing sim contacts", "USB debugging connected" etc. Is there any way to either stop focusing on notifi... | I have an android device in which I set the talkback turned on. Now whenever I restart/reboot the device at that time talkback directly gets focus on notification bar and starts speech out of "syncing sim contacts", "USB debugging connected" etc. Is there any way to either stop focusing on notificat... | android|accessibility|accessibilityservice|talkback|accessibility-api | 0 | 2022-07-25T11:59:57.237Z | 2,022 | 7 | 11 | 0 | 32 | 1 | 450 | 57 | 5 | 0 | false | false | false | false | false | false | zero |
73,109,046 | Error in render testing react native when require image | <p>I'm doing render testing of a login screen that returns an error when an image is on the screen and I don't know what to solve</p>
<p>test code</p>
<pre><code>it('render screen Login ', () => {render(<Login />);});
</code></pre>
<p>return error</p>
<pre><code>125 | <Image
> 126 | ... | I'm doing render testing of a login screen that returns an error when an image is on the screen and I don't know what to solve test code [CODE] return error [CODE] enter image description here Error text Invalid return value: process() or/and processAsync() method of code transformer found at "F:/app/green1/node_m... | android|ios|react-native|react-native-testing-library|react-native-image | 0 | 2022-07-25T12:13:14.907Z | 2,022 | 7 | 12 | 0 | 276 | 0 | 694 | 55 | 5 | 2 | true | true | false | false | false | false | zero |
73,109,099 | ArCore: How to improve image tracking and anchor stability? | <p>I'm developing an Android app for recognizing augmented images and displaying videos directly over them.
I have implemented everything and it's working well but the only issue is that the anchorNode model that gets attached to the augmented image anchor isn't very stable and doesn't remain exactly in the image's fra... | I'm developing an Android app for recognizing augmented images and displaying videos directly over them. I have implemented everything and it's working well but the only issue is that the anchorNode model that gets attached to the augmented image anchor isn't very stable and doesn't remain exactly in the image's frame.... | android|kotlin|augmented-reality|arcore | 1 | 2022-07-25T12:17:27.727Z | 2,022 | 7 | 12 | 0 | 109 | 0 | 877 | 59 | 4 | 1 | true | true | false | false | false | false | low |
73,109,155 | Flutter stuck at Connecting to VM Service at ws://127.0.0.1:57202/PDxqlefa8kc=/ws | <p>I have been working of a project from few weeks and never faced the issue but today it suddenly popped.</p>
<p>the error:</p>
<blockquote>
<p>Unable to connect to VM service at http://
127.0.0.1:53932/pg_PkIwHCMk=/: getDartDevelopmentServiceVersion: (-32601) Method not found, getDartDevelopmentServiceVersion: (-3260... | I have been working of a project from few weeks and never faced the issue but today it suddenly popped. the error: Unable to connect to VM service at http:// 127.0.0.1:53932/pg_PkIwHCMk=/: getDartDevelopmentServiceVersion: (-32601) Method not found, getDartDevelopmentServiceVersion: (-32601) Method not found These are ... | flutter|android-studio|visual-studio-code | 0 | 2022-07-25T12:22:20.730Z | 2,022 | 7 | 12 | 0 | 36 | 0 | 667 | 81 | 3 | 0 | false | true | false | false | false | false | zero |
73,109,160 | How to get text of epub file in android studio | <p>How i get text of <em><strong>epub</strong></em> file inside <em><strong>onActivityResult()</strong></em> method
I want to select a epub file from device and show its content in my app
i try some library but didn't get the right solution
so anyone tell me how i achieve this ...</p>
<p>how i get path like <em><strong... | How i get text of epub file inside onActivityResult() method I want to select a epub file from device and show its content in my app i try some library but didn't get the right solution so anyone tell me how i achieve this ... how i get path like .../xyz.epub but inside onActivityResult() i get content://com.android.pr... | android|android-studio | 0 | 2022-07-25T12:22:39.520Z | 2,022 | 7 | 12 | 0 | 24 | 0 | 370 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
73,109,179 | Constantly check if a condition is true - Java in Android Studio | <p>I am making an android application with Android Studio in Java. My goal is to be able to constantly check if a condition is true, for example if a variable is true it must take certain action. How can I always check this variable and not just once when starting the program?</p> | I am making an android application with Android Studio in Java. My goal is to be able to constantly check if a condition is true, for example if a variable is true it must take certain action. How can I always check this variable and not just once when starting the program? | java|android | 0 | 2022-07-25T12:23:37.130Z | 2,022 | 7 | 12 | 0 | 108 | 3 | 274 | 64 | 2 | 0 | false | false | false | false | false | false | zero |
73,109,197 | Android Espresso Not able to test login | <p>I am trying to test login screen UI functionality through espresso</p>
<p>How can i mock activity as it requires to activity to be launched before testing.</p>
<p>i am initializing the aws in my activity</p>
<pre><code>override fun onCreate(savedInstanceState: Bundle?) {
(application as App).getAwsSessionComponent(... | I am trying to test login screen UI functionality through espresso How can i mock activity as it requires to activity to be launched before testing. i am initializing the aws in my activity [CODE] i am getting error in above line how can i skip actual aws session creation while espresso testing I have tried to write te... | android|testing|automated-tests|android-espresso|ui-testing | 0 | 2022-07-25T12:24:35.243Z | 2,022 | 7 | 12 | 0 | 33 | 1 | 343 | 39 | 5 | 2 | true | false | false | false | false | false | zero |
73,109,309 | How to open second navigation view when I clicked on one of the items of the first navigation view? | <p>I have a drawer layout and two navigation views each with a different menus in it. When I click on one of the items of the first Navigation view in the left, I want to open another navigation view in the right side and close the one on the left. What I have done so far is clearing the old menus and add the new menus... | I have a drawer layout and two navigation views each with a different menus in it. When I click on one of the items of the first Navigation view in the left, I want to open another navigation view in the right side and close the one on the left. What I have done so far is clearing the old menus and add the new menus us... | java|android | 0 | 2022-07-25T12:32:40.870Z | 2,022 | 7 | 12 | 0 | 17 | 0 | 476 | 99 | 2 | 1 | true | true | false | false | false | false | zero |
73,109,357 | RecyclerView Notify adapter when data changed | <p><strong>Explication:</strong></p>
<p>i'm trying to build file manager app with camera
when i take picture and display it into my recycleview it's ok but when i delete any picture and try to take picture again the recyclerview display old pictures and when i check the path all are new pictures
i tried notifychanged n... | Explication: i'm trying to build file manager app with camera when i take picture and display it into my recycleview it's ok but when i delete any picture and try to take picture again the recyclerview display old pictures and when i check the path all are new pictures i tried notifychanged notifyremoved and i tried to... | java|android|android-recyclerview | 0 | 2022-07-25T12:35:52.073Z | 2,022 | 7 | 12 | 0 | 57 | 0 | 492 | 45 | 3 | 3 | true | true | false | false | false | false | zero |
73,109,510 | How to change the size of image lager than screen | <p>Im trying <strong>to change an image lager than the screen</strong> so that the image partly(boundary parts) gets out of the screen. The purpose Im doing this is to <strong>make the whole screen filled with the image</strong>. I tried simply changing the height and width bigger than the height and width of screen wh... | Im trying to change an image lager than the screen so that the image partly(boundary parts) gets out of the screen. The purpose Im doing this is to make the whole screen filled with the image . I tried simply changing the height and width bigger than the height and width of screen which I got but it didn't work well. I... | android|android-studio|kotlin|imageview | 0 | 2022-07-25T12:47:26.957Z | 2,022 | 7 | 12 | 0 | 32 | 2 | 400 | 49 | 4 | 1 | true | false | false | false | false | false | zero |
73,109,531 | How to load alarm page with alarm menagar plus? | <p>I am creating an alarm application and I have a problem with displaying the alarm page. My application can play an alarm sound at the appointed time, but it does not display the alarm page. The problem is not with redirecting to the site because setting <code>navService.pushNamed('/alarm_screen');</code> on any butt... | I am creating an alarm application and I have a problem with displaying the alarm page. My application can play an alarm sound at the appointed time, but it does not display the alarm page. The problem is not with redirecting to the site because setting navService.pushNamed('/alarm_screen'); on any button redirects to ... | android|flutter|dart|alarm|dart-isolates | 0 | 2022-07-25T12:48:48.433Z | 2,022 | 7 | 12 | 0 | 18 | 0 | 362 | 47 | 5 | 3 | true | true | false | false | false | false | zero |
73,109,545 | How to solve FileSystemException: Cannot open file, path ="" (OS Error: Permission denied, errno = 13) | <p>I am facing this issue. It is working on my tab android version 7 but not working on mobile android version 11.</p>
<p><strong>Error : FileSystemException: Cannot open file, path = '/storage/emulated/0/VidMate/download/'Sooraj_Dooba_Hain'<em>FULL_VIDEO_SONG</em>|<em>Arijit_singh_Aditi_Singh_Sharma</em>|_T-SERIES(25... | I am facing this issue. It is working on my tab android version 7 but not working on mobile android version 11. Error : FileSystemException: Cannot open file, path = '/storage/emulated/0/VidMate/download/'Sooraj_Dooba_Hain' FULL_VIDEO_SONG | Arijit_singh_Aditi_Singh_Sharma |_T-SERIES(256k).mp3' (OS Error: Permission de... | android|flutter|permissions | 0 | 2022-07-25T12:50:19.200Z | 2,022 | 7 | 12 | 0 | 80 | 1 | 425 | 102 | 3 | 2 | true | false | false | false | false | false | zero |
73,109,551 | android studio build apk crashes only when facebook/whatsapp share! Crashing doesn't happen when signed bundle uploaded and downloaded via playstore | <p>If installed Android Studio build apk on Android Phone, app works fine untill whatsapp/facebook images shared. Whatsapp intent for text sharing it works fine but not for sharing images. One the other hand, if signed release bundle generated from android studio and uploaded to play-store. Then app installed from pla... | If installed Android Studio build apk on Android Phone, app works fine untill whatsapp/facebook images shared. Whatsapp intent for text sharing it works fine but not for sharing images. One the other hand, if signed release bundle generated from android studio and uploaded to play-store. Then app installed from play-st... | java|android | 0 | 2022-07-25T12:50:50.973Z | 2,022 | 7 | 12 | 0 | 35 | 0 | 397 | 148 | 2 | 0 | false | true | false | false | false | false | zero |
73,109,616 | Application skipping frames while accessing sound files | <p>I have this for statement triggered by a button that iterates through a MutableList of strings.
For each string it completes a file path and checks if that file path is valid. If it is, it's attempted to be sent to the mediaPlayer via a function to be played as a sound file. It should play the sound for all files it... | I have this for statement triggered by a button that iterates through a MutableList of strings. For each string it completes a file path and checks if that file path is valid. If it is, it's attempted to be sent to the mediaPlayer via a function to be played as a sound file. It should play the sound for all files it ca... | android-studio|file|kotlin|android-mediaplayer | 0 | 2022-07-25T12:56:07.950Z | 2,022 | 7 | 12 | 0 | 15 | 0 | 933 | 55 | 4 | 2 | true | true | false | false | false | false | zero |
73,109,619 | RecyclerView jumps when scrolling variable height ComposeView items | <p>I have a <code>RecyclerView</code> that's hosting items rendered with Jetpack Compose. The height of the items varies. When scrolling from the top of the list to the bottom, scrolling is smooth. However, when scrolling back to the top, the items in the list jump when the height of the next item to appear at the top ... | I have a RecyclerView that's hosting items rendered with Jetpack Compose. The height of the items varies. When scrolling from the top of the list to the bottom, scrolling is smooth. However, when scrolling back to the top, the items in the list jump when the height of the next item to appear at the top of the screen di... | android|android-recyclerview|android-jetpack-compose|android-jetpack-compose-layout | 4 | 2022-07-25T12:56:33.030Z | 2,022 | 7 | 12 | 0 | 148 | 1 | 747 | 67 | 4 | 0 | false | false | false | false | false | false | low |
73,109,631 | Appium selector methods: Appium Inspector and UIAutomatorViewer throwing errors | <p>I am trying to use Appium together with robot framework to automate some tests for android-bluetooth connectivity. Currently, I am following a similar thought-architecture to something I've worked on previously: write bluetooth commands in python scripts which can then be connected to some http endpoints and called ... | I am trying to use Appium together with robot framework to automate some tests for android-bluetooth connectivity. Currently, I am following a similar thought-architecture to something I've worked on previously: write bluetooth commands in python scripts which can then be connected to some http endpoints and called fro... | android|appium|appium-android|android-uiautomator | 0 | 2022-07-25T12:57:15.787Z | 2,022 | 7 | 12 | 0 | 27 | 0 | 1,450 | 79 | 4 | 3 | true | true | false | false | false | false | zero |
73,109,633 | Jetpack Compose - Setting dimensions for Accompanist placeholder | <p>The library I'm using: <code>"com.google.accompanist:accompanist-placeholder-material:0.23.1"</code></p>
<p>I want to display a placeholder in the place of (or over) a component when it's in the loading state.</p>
<p>I do the following for a <code>Text</code>:</p>
<pre><code>MaterialTheme() {
var place... | The library I'm using: "com.google.accompanist:accompanist-placeholder-material:0.23.1" I want to display a placeholder in the place of (or over) a component when it's in the loading state. I do the following for a Text : [CODE] And I get this: I want instead that no matter how big I set the placeholder's hei... | android|android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-07-25T12:57:16.987Z | 2,022 | 7 | 12 | 0 | 66 | 1 | 1,237 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
73,109,647 | I am using Intent.ACTION_WEB_SEARCH, When I run the file I'm getting the following error: | <p><strong>MainActivity.java</strong></p>
<pre><code>public class MainActivity extends AppCompatActivity implements View.OnClickListener {
private static final int CALL = 1;
private static String[] PERMISSION = {
Manifest.permission.CALL_PHONE
};
public static void verifyThatWeCanCallSomeo... | MainActivity.java [CODE] Logcat [CODE] When I click on btnSearchGoogle button, I got error. The line of code at line 68: [CODE] FATAL EXCEPTION: main Process: com.example.app45, PID: 15917 android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.WEB_SEARCH dat=http://www... | android|android-intent | 0 | 2022-07-25T12:58:34Z | -1 | -1 | -1 | -1 | 15 | 1 | 382 | 89 | 2 | 3 | true | false | false | false | false | false | zero |
73,109,703 | Sending local notifications from Xamarin.Forms with distinct topics | <p>I have been implementing local notifications sent from a Xamarin.Forms app based on the sample
<a href="https://docs.microsoft.com/en-gb/xamarin/xamarin-forms/app-fundamentals/local-notifications" rel="nofollow noreferrer">https://docs.microsoft.com/en-gb/xamarin/xamarin-forms/app-fundamentals/local-notifications</a... | I have been implementing local notifications sent from a Xamarin.Forms app based on the sample https://docs.microsoft.com/en-gb/xamarin/xamarin-forms/app-fundamentals/local-notifications Each local notification sent will get collapsed, which for a single topic is OK for me. If however I wanted to send local notificatio... | android|xamarin.forms|uilocalnotification | 0 | 2022-07-25T13:02:51.277Z | 2,022 | 7 | 13 | 0 | 56 | 1 | 620 | 67 | 3 | 0 | false | false | false | false | false | false | zero |
73,109,904 | okhttp get request with self-signed certificate | <p>I'm using OkHttp3 to establish a connection between android app and server. I have a self-signed certificate, which is needed to talk to the server. Problem was that android doesn't trust self-signed certs so I got code from this website to disable SSL verification. Now the problem is that I'm not sending a certific... | I'm using OkHttp3 to establish a connection between android app and server. I have a self-signed certificate, which is needed to talk to the server. Problem was that android doesn't trust self-signed certs so I got code from this website to disable SSL verification. Now the problem is that I'm not sending a certificate... | java|android-studio|ssl-certificate|okhttp | 0 | 2022-07-25T13:18:30.700Z | 2,022 | 7 | 13 | 0 | 86 | 0 | 681 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
73,110,007 | How to calculate distance between two locations using their lat and long value and find the locations between those two point | <p>fun getNewLatLongs(Double latitude, Double longitude,Float distance) Pair<Double, Double> {</p>
<pre><code> double earth = 6378.137; // radius of earth in kms
double pi = Math.PI;
double m = 1 / (2 * pi / 360 * earth) / 1000; //1 meter in degree
double newLatitude = ("%.4f".format(lat... | fun getNewLatLongs(Double latitude, Double longitude,Float distance) Pair<Double, Double> { [CODE] | android|kotlin|location|maps|distance | 1 | 2022-07-25T13:26:26.440Z | 2,022 | 7 | 13 | 0 | 54 | 2 | 98 | 125 | 5 | 1 | true | false | false | false | false | false | low |
73,110,034 | failed to resolve (add) cameraX in android studio | <p>my editor thinks the environment is ok, the picture as follows<br />
i have added <code>google() mavenCentral()</code> in settings.gradle</p>
<pre><code>Failed to resolve: androidx.camera:camera-core:1.1.0
Add Google Maven repository and sync project
Show in Project Structure dialog
Show Details
Affected Modules: a... | my editor thinks the environment is ok, the picture as follows i have added google() mavenCentral() in settings.gradle [CODE] | android|android-studio|android-camerax | 0 | 2022-07-25T13:28:28.553Z | 2,022 | 7 | 13 | 0 | 36 | 1 | 125 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
73,110,166 | Why are there dll.so files in one apk but not the other one? | <p>I'm currently working on two different xamarin forms projects which are kind of similar though. This means that they both have mostly similar functionalities + a lot of external dependencies are the same. But I just realized that the generated .apk files are very different in size. Upon analyzing both apks with the ... | I'm currently working on two different xamarin forms projects which are kind of similar though. This means that they both have mostly similar functionalities + a lot of external dependencies are the same. But I just realized that the generated .apk files are very different in size. Upon analyzing both apks with the and... | android|xamarin.forms|apk | -2 | 2022-07-25T13:36:40.870Z | 2,022 | 7 | 13 | 0 | 47 | 1 | 753 | 60 | 3 | 0 | false | false | false | false | false | true | negative |
73,110,200 | Android - kotlin-Jetpack compose- Timer which works even when app is killed and device is locked | <p>I want to know how to implement a count down timer running on the screen. Its needed in OTP screen say for example , i implemented with nor timer from view model and passing the value change from onTIck() to the state of composable. But the issue here , when the timer is running , if we lock the device and unlock it... | I want to know how to implement a count down timer running on the screen. Its needed in OTP screen say for example , i implemented with nor timer from view model and passing the value change from onTIck() to the state of composable. But the issue here , when the timer is running , if we lock the device and unlock it th... | android|kotlin|service|android-jetpack-compose|android-workmanager | 0 | 2022-07-25T13:39:05.660Z | 2,022 | 7 | 13 | 0 | 119 | 1 | 484 | 96 | 5 | 0 | false | false | false | false | false | false | zero |
73,110,234 | My Android App bug on load ressource only in production | <p>I have a bug in my Android Java application only in production.</p>
<p>When I publish my application to my phone with Android Studio, all is working fine.</p>
<p>When I update this application by the Play Store on the same phone, I have this error:</p>
<pre><code>Process: com.iddeos.planningbuilder, PID: 31989
andro... | I have a bug in my Android Java application only in production. When I publish my application to my phone with Android Studio, all is working fine. When I update this application by the Play Store on the same phone, I have this error: [CODE] Bug provides from this line, but I don't understand why [CODE] | java|android|debugging|dynamic|production | 0 | 2022-07-25T13:41:22.363Z | 2,022 | 7 | 13 | 0 | 33 | 1 | 304 | 55 | 5 | 2 | true | false | false | false | false | false | zero |
73,110,249 | Alert dialog before a new thread | <p>I have the code.
After clicking on the button, an alertdialog of the download warning should appear. And request a json file from the server.</p>
<pre><code> btnEnter = findViewById(R.id.btn_enter)
btnEnter.setOnClickListener {
val gson = Gson().toJson(authorization)
val message = gson.toByteA... | I have the code. After clicking on the button, an alertdialog of the download warning should appear. And request a json file from the server. [CODE] and [CODE] Alert dialog appears after the thread is executed. How to make it appear before the thread | multithreading|android-studio|kotlin|android-alertdialog | 0 | 2022-07-25T13:42:37.780Z | 2,022 | 7 | 13 | 0 | 17 | 0 | 250 | 32 | 4 | 2 | true | true | false | false | false | false | zero |
73,110,496 | How to view implementation of retrofit's suspend fun | <p>I am trying to understand how retrofit implements the following suspend function:</p>
<pre><code>@GET("api/me")
suspend fun getUser(): User
</code></pre>
<p>Is there anyway that I can access the locally generated implementation code?</p>
<p>Thanks!</p> | I am trying to understand how retrofit implements the following suspend function: [CODE] Is there anyway that I can access the locally generated implementation code? Thanks! | android|kotlin|retrofit|retrofit2|kotlin-coroutines | 0 | 2022-07-25T13:57:34.923Z | 2,022 | 7 | 13 | 0 | 39 | 1 | 173 | 52 | 5 | 1 | true | false | false | false | false | false | zero |
73,110,558 | Buttons doesn't work when building for android - Unity | <p>I have a main menu inside my unity game and for some reason when i build the game for android to run it on my phone the buttons does not work, but it's not disabled.</p>
<p><strong>My scene objects:</strong></p>
<p><a href="https://i.stack.imgur.com/aI8Ii.png" rel="nofollow noreferrer"><img src="https://i.stack.imgu... | I have a main menu inside my unity game and for some reason when i build the game for android to run it on my phone the buttons does not work, but it's not disabled. My scene objects: My event system object: | android|unity3d|game-development | 0 | 2022-07-25T14:01:57.117Z | 2,022 | 7 | 14 | 0 | 29 | 1 | 207 | 54 | 3 | 0 | false | false | false | false | false | false | zero |
73,110,571 | Xamarin CollectionView event and command issue | <p>I work on the front end of our app, configuring the UI. Our app originally had a ListView using Xamarin Community Toolkit's EventToCommandBehavior with custom ViewCells to facilitate the search. We set up custom renderers to change the ViewCell's background color. However, when I moved over to the Mac, we discove... | I work on the front end of our app, configuring the UI. Our app originally had a ListView using Xamarin Community Toolkit's EventToCommandBehavior with custom ViewCells to facilitate the search. We set up custom renderers to change the ViewCell's background color. However, when I moved over to the Mac, we discovered th... | xamarin.forms|xamarin.android|xamarin.ios|collectionview | 2 | 2022-07-25T14:03:04.113Z | 2,022 | 7 | 14 | 0 | 75 | 0 | 1,904 | 46 | 4 | 2 | true | true | false | false | false | false | low |
73,110,616 | GPS test. The problem with launching application on the phone. GPS test | <p>I have a next code:</p>
<pre><code>public class HomeFragment extends Fragment implements MyLocationListner.MyLocationListnerInterface {
private FragmentHomeBinding binding;
private MyLocationListner myLocationListner;
private LocationManager locationManager;
@Override
public View onCreateView(@NonNull LayoutInfla... | I have a next code: [CODE] } This code launching in the Emulator, but does not work in the phone. The is a lot of errors. As i understand the problem is in Error inflating class fragment. As you can see in the check of permission i have wrote "new LocationListener", before i used my class MyLocationListner an... | java|android-studio|gps|locationmanager|android-gps | 0 | 2022-07-25T14:06:15.440Z | 2,022 | 7 | 14 | 0 | 30 | 0 | 1,655 | 71 | 5 | 1 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.