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,727,099 | How to cancel Notification scheduled using Alarm manager when app is not open? | <p>I am using Alarm manager to show Local notification reminder here is my code to schedule a notification.</p>
<pre><code> val intent = Intent(context?.applicationContext,ReminderNotification::class.java)
intent.putExtra(titleExtra,getTitle())
intent.flags = Intent.FLAG_ACTIVITY_CLEAR_TOP
val pendingIn... | I am using Alarm manager to show Local notification reminder here is my code to schedule a notification. [CODE] I need to cancel alarm after 7 days of its scheduling . My issue is that how to cancel alarm if user not open application . Thanks in Advance!! | android|broadcastreceiver|alarmmanager|android-pendingintent | 0 | 2022-09-15T07:24:07.677Z | 2,022 | 9 | 7 | 3 | 14 | 0 | 255 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
73,727,125 | Hide default Splash to show GIF from url in Ionic 6 | <p>My aim is to hide the default splashscreen and show a gif file from an API url. I am able to show the gif file by adding it to img src in app.component.html but not able to hide the splashscreen. I tried all the parameters available but still splashscreen is showing.</p>
<p><div class="snippet" data-lang="js" data-h... | My aim is to hide the default splashscreen and show a gif file from an API url. I am able to show the gif file by adding it to img src in app.component.html but not able to hide the splashscreen. I tried all the parameters available but still splashscreen is showing. [CODE] [CODE] | android|splash-screen|ionic6 | 0 | 2022-09-15T07:26:26.197Z | 2,022 | 9 | 7 | 3 | 15 | 0 | 281 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
73,727,196 | react-native nativeProxy.cpp | <p>I have react-native@.70 and when i run this command <code>npx react-native run-android</code> project run successfully. but it given be these warnings</p>
<pre><code>> Task :react-native-reanimated:buildCMakeDebug[arm64-v8a]
C/C++: ninja: Entering directory `C:\repos\Mobile Apps\ParkingZone\node_modules\react-nat... | I have react-native@.70 and when i run this command npx react-native run-android project run successfully. but it given be these warnings [CODE] and its take abiut 30 min to run this command. | react-native|android-studio|react-native-reanimated-v2 | 0 | 2022-09-15T07:31:19.830Z | 2,022 | 9 | 7 | 3 | 45 | 0 | 191 | 28 | 3 | 1 | true | true | false | false | false | false | zero |
73,727,286 | Can i use getopentest with Android emulators | <p>Im trying to setup a e2e test with android app installed in emulator, just wanted to ask if opentest supports testing with emulators. I have following configs in actor.yaml, have installed appium server in windows 11 with "127.0.0.1:4723" server:port config. My app is not opening on running the test. Pleas... | Im trying to setup a e2e test with android app installed in emulator, just wanted to ask if opentest supports testing with emulators. I have following configs in actor.yaml, have installed appium server in windows 11 with "127.0.0.1:4723" server:port config. My app is not opening on running the test. Please g... | android|opentest | 0 | 2022-09-15T07:39:12.270Z | 2,022 | 9 | 7 | 3 | 13 | 0 | 332 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
73,727,306 | How can I capture intent data from ViewModel android | <p>I am developing an android application where I need to capture <strong>intent data from ViewModel</strong> to process it .I searched almost everywhere but I didn't find any help. every one tal about passing data from one fragment to another or ViewModel to fragment to fragment to ViewModel .</p> | I am developing an android application where I need to capture intent data from ViewModel to process it .I searched almost everywhere but I didn't find any help. every one tal about passing data from one fragment to another or ViewModel to fragment to fragment to ViewModel . | android|android-intent|fragment|viewmodel | -3 | 2022-09-15T07:40:42.353Z | 2,022 | 9 | 7 | 3 | 23 | 0 | 275 | 52 | 4 | 0 | false | true | false | false | false | true | negative |
73,727,383 | JobScheduler not having schedule options in Android Kotlin | <p>I am trying to use JobSchedule in Android Kotlin but not getting the schedule method in JobScheduler.</p>
<p>Here is my code</p>
<pre><code>val jobScheduler = applicationContext
.getSystemService(JOB_SCHEDULER_SERVICE) as JobScheduler
val componentName = ComponentName(this, JobScheduler::... | I am trying to use JobSchedule in Android Kotlin but not getting the schedule method in JobScheduler. Here is my code [CODE] | android|kotlin|android-jobscheduler | 1 | 2022-09-15T07:48:19.873Z | 2,022 | 9 | 7 | 3 | 24 | 0 | 124 | 58 | 3 | 1 | true | true | false | false | false | false | low |
73,727,490 | App not reading or writing to Firebase Real time database Flutter | <p>I have been trying to read and write data into firebase in flutter android. I used to have it working with a different app 2 years back but now it doesnt work</p>
<p>I have followed every guidelines for authenticating to firebase</p>
<p>This is my file structure</p>
<p><a href="https://i.stack.imgur.com/pvAYd.png" r... | I have been trying to read and write data into firebase in flutter android. I used to have it working with a different app 2 years back but now it doesnt work I have followed every guidelines for authenticating to firebase This is my file structure I have added google-services.json and everything just like how its spec... | android|flutter|firebase|firebase-realtime-database | 0 | 2022-09-15T07:57:26.117Z | 2,022 | 9 | 7 | 3 | 36 | 0 | 832 | 65 | 4 | 3 | true | true | false | false | false | false | zero |
73,727,577 | Task :testDebugUnitTest SKIPPED | <p>I am using kotlin, there is a file i want to test located at <br> src/main/kotlin/com/appName/appSubName/someName/processor/ProcessorCheck.kt
<br>
and test file at <br>
src/test/java/com/appName/appSubName/someName/processor/ProcessorCheckTest.kt
<br>
when I try to run Individual test or run all test it shows me thi... | I am using kotlin, there is a file i want to test located at src/main/kotlin/com/appName/appSubName/someName/processor/ProcessorCheck.kt and test file at src/test/java/com/appName/appSubName/someName/processor/ProcessorCheckTest.kt when I try to run Individual test or run all test it shows me this Task :testDebugUnitTe... | java|android|kotlin|gradle|junit | 0 | 2022-09-15T08:03:49.697Z | 2,022 | 9 | 8 | 3 | 22 | 0 | 438 | 31 | 5 | 0 | false | true | false | false | false | false | zero |
73,727,619 | ShowCallLog Intent not working when handled by "com.android.contacts" | <p>I am trying to open the call logs activity from my app using an intent and startActivity(ForResult).<BR/>
It does work fine, except on some devices.</p>
<p>After investigation, I noticed that <em><strong>when the intent resolve to this class</strong></em>:</p>
<pre><code>ComponentName("com.android.contacts"... | I am trying to open the call logs activity from my app using an intent and startActivity(ForResult). It does work fine, except on some devices. After investigation, I noticed that when the intent resolve to this class : [CODE] then startActivity (or startActivityForResult ) has "no effect" / the CallLogs is N... | android|android-intent | 0 | 2022-09-15T08:07:26.110Z | 2,022 | 9 | 8 | 3 | 45 | 1 | 1,540 | 69 | 2 | 2 | true | false | false | false | false | false | zero |
73,727,710 | android onQuerySubmit() method search widget | <p>i do not have much experience with android, i tried to apply progress bar in search view but progress bar only active once when user performs search</p>
<pre><code> ``` SearchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener{
override fun onQueryTextSubmit(p0: String?): Boolean {
... | i do not have much experience with android, i tried to apply progress bar in search view but progress bar only active once when user performs search [CODE] | android-studio|kotlin | 0 | 2022-09-15T08:13:06.913Z | 2,022 | 9 | 8 | 3 | 12 | 0 | 155 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
73,727,719 | Can I define kotlinVer either plugins or dependencies when I use Android Studio? | <p>I find there are two ways to define kotlin version in <code>build.gradle</code> (Project) based some sample projects, such as Code A and Code B.</p>
<p>Are they the same way? which one is better?</p>
<p><strong>Code A</strong></p>
<pre><code>buildscript {
ext {
kotlinVer = '1.7.10'
...
}
}
p... | I find there are two ways to define kotlin version in build.gradle (Project) based some sample projects, such as Code A and Code B. Are they the same way? which one is better? Code A [CODE] Code B [CODE] | android|android-gradle-plugin | 0 | 2022-09-15T08:13:30.777Z | 2,022 | 9 | 8 | 3 | 79 | 1 | 203 | 80 | 2 | 2 | true | false | false | false | false | false | zero |
73,727,768 | android.database.sqlite.SQLiteException: near "2": syntax error (code 1 SQLITE_ERROR): , while compiling: SELECT phonetic_name, status_updates | <p>I am trying to make an app that will access my phone's contact list then pick a contact and show the name, number, id, and the display picture.
i can access contact . when I press the addFab button it shows my phones contactlist but when I pick a contact using the cursor the app crashes. I have also tried with a phy... | I am trying to make an app that will access my phone's contact list then pick a contact and show the name, number, id, and the display picture. i can access contact . when I press the addFab button it shows my phones contactlist but when I pick a contact using the cursor the app crashes. I have also tried with a physic... | java|android|android-studio | -2 | 2022-09-15T08:18:39.990Z | 2,022 | 9 | 8 | 3 | 28 | 2 | 491 | 142 | 3 | 3 | true | false | false | false | false | true | negative |
73,727,780 | How to solve Retrofit Bad Request error when posting data | <p>I am having a problem executing a post request using Retrofit. I keep getting the Bad Request error log <code>response.message()</code></p>
<p>This is the response from Postman GET request to my API:</p>
<pre class="lang-json prettyprint-override"><code>{
"data": [
{
"id":... | I am having a problem executing a post request using Retrofit. I keep getting the Bad Request error log response.message() This is the response from Postman GET request to my API: [CODE] I am able to perform the Retrofit GET and DELETE. The problem comes when am trying to execute a POST. This is the request body that i... | java|android|json|retrofit|retrofit2 | 0 | 2022-09-15T08:19:31.287Z | 2,022 | 9 | 8 | 3 | 15 | 0 | 697 | 57 | 5 | 8 | true | true | false | false | false | false | zero |
73,727,812 | How to use 3rd party Kotlin SDK in React Native project | <p>Is there an easy way how to integrate <strong>Kotlin/Java 3rd party SDK</strong> (IOS version as well) <strong>into React Native project</strong>? Or do I need to create something like middle project, where I extends all classes I need with ReactContextBaseJavaModule and annotate all methods with @ReactMethod ?</p>... | Is there an easy way how to integrate Kotlin/Java 3rd party SDK (IOS version as well) into React Native project ? Or do I need to create something like middle project, where I extends all classes I need with ReactContextBaseJavaModule and annotate all methods with @ReactMethod ? Please dont point me to the Native Modul... | android|react-native|kotlin|sdk | 0 | 2022-09-15T08:21:51.317Z | 2,022 | 9 | 8 | 3 | 14 | 0 | 521 | 55 | 4 | 0 | false | true | false | false | false | false | zero |
73,727,929 | iOS 16.0 Simulator not displayed in Android Studio Chipmunk | <p>I've installed xCode 14 (iOS 16.0 Simulators) and Android Studio Chipmunk (2021.2.1 Patch 2) and now I'm not able to see the iOS simulators in Android Studio.
I want to mention that I have a mac with M1 CPU if is helping with anything this information.
I already tried all solutions from internet to fix this issue, b... | I've installed xCode 14 (iOS 16.0 Simulators) and Android Studio Chipmunk (2021.2.1 Patch 2) and now I'm not able to see the iOS simulators in Android Studio. I want to mention that I have a mac with M1 CPU if is helping with anything this information. I already tried all solutions from internet to fix this issue, but ... | ios|xcode|android-studio|sdk|ios-simulator | 0 | 2022-09-15T08:30:18.760Z | 2,022 | 9 | 8 | 3 | 17 | 0 | 529 | 59 | 5 | 0 | false | true | false | false | false | false | zero |
73,727,947 | Android Emulator connect external storage Device while running | <p>I have an App that needs to detect, if a USB Storage device is getting mounted. Can i simulate the mounting of an USB Storage Device while the Emulator is already running? This way i can debug the behavior of my app.</p>
<p>As i know, for registering the mounting and unmounting of the USB Storage Device i can use th... | I have an App that needs to detect, if a USB Storage device is getting mounted. Can i simulate the mounting of an USB Storage Device while the Emulator is already running? This way i can debug the behavior of my app. As i know, for registering the mounting and unmounting of the USB Storage Device i can use the StorageV... | kotlin|android-emulator|avd|android-storage|qemu-device | 0 | 2022-09-15T08:31:46.817Z | 2,022 | 9 | 8 | 3 | 25 | 2 | 930 | 62 | 5 | 0 | false | false | false | false | false | false | zero |
73,728,022 | How to install sdkmanager without Android Studio? | <p>I use zorinOS (based on ubuntu) in my old laptop. I want to use flutter, but i don't want to install android studio. So i try to install android-sdk from <code>apt-install android-sdk</code>, but after i run flutter doctor, i found that i don`t have sdkmanager:</p>
<pre><code>Doctor summary (to see all details, run ... | I use zorinOS (based on ubuntu) in my old laptop. I want to use flutter, but i don't want to install android studio. So i try to install android-sdk from apt-install android-sdk , but after i run flutter doctor, i found that i don`t have sdkmanager: [CODE] So i decided to download android tool from android studio websi... | android|android-sdk-tools|android-sdk-manager | 0 | 2022-09-15T08:37:17.310Z | 2,022 | 9 | 8 | 3 | 17 | 0 | 598 | 49 | 3 | 2 | true | true | false | false | false | false | zero |
73,728,090 | emulator cannot connect to internet via Proxyman blocked all my internet connections when Global Protect VPN with Okta authentication is on | <p>thank you for your help to answer my question.</p>
<p>I've been using Android Studio with it's Android Emulator for my workflow.
Currently, my company needs me to use Global Protect VPN with Okta Autenication in order to connect to development environment of the server.
However, when I use Proxyman on a new computer... | thank you for your help to answer my question. I've been using Android Studio with it's Android Emulator for my workflow. Currently, my company needs me to use Global Protect VPN with Okta Autenication in order to connect to development environment of the server. However, when I use Proxyman on a new computer, I encoun... | ssl|proxy|android-emulator|vpn|okta | 0 | 2022-09-15T08:42:33.200Z | 2,022 | 9 | 8 | 3 | 10 | 0 | 1,115 | 139 | 5 | 0 | false | true | false | false | false | false | zero |
73,728,161 | How to verify if a binding scoped to a viewmodel is working? ie. How to know if Hilt is truly working? | <p>I just created a simple Hilt Module that is installed in ViewModelComponent, and created a provides method for a dummy object that I am using in an Activity (through the viewmodel), and I want to know if the scoping is indeed working, How do I find out? Everything compiles and runs correctly. No issues there.</p> | I just created a simple Hilt Module that is installed in ViewModelComponent, and created a provides method for a dummy object that I am using in an Activity (through the viewmodel), and I want to know if the scoping is indeed working, How do I find out? Everything compiles and runs correctly. No issues there. | android|dependency-injection|dagger-hilt | 0 | 2022-09-15T08:48:17.737Z | 2,022 | 9 | 8 | 3 | 19 | 0 | 310 | 102 | 3 | 0 | false | true | false | false | false | false | zero |
73,728,301 | Gradle error *Running Gradle build - failed! - An error occurred while running subprocess capacitor | <p>I get this error when I try to run command <code>ionic capacitor run android</code>.
I tried the following steps, but I am still getting the same error.
Initially I uninstalled all the node modules and build folder from project directory and again ran the command <code>npm install</code>, and then followed following... | I get this error when I try to run command ionic capacitor run android . I tried the following steps, but I am still getting the same error. Initially I uninstalled all the node modules and build folder from project directory and again ran the command npm install , and then followed following steps: Close Android Studi... | android|reactjs|cordova|ionic-framework | 0 | 2022-09-15T08:58:34.267Z | 2,022 | 9 | 8 | 3 | 19 | 0 | 565 | 99 | 4 | 0 | false | true | false | false | false | false | zero |
73,728,313 | READ_EXTERNAL_STORAGE permission Not asking in Android 13 | <p>android.Manifest.permission.WRITE_EXTERNAL_STORAGE]</p>
<p>am try to read the Files(pdf and docs) from the storage before that device not asking the permission.</p>
<pre><code>String[] PERMISSIONS = {Manifest.permission.WRITE_EXTERNAL_STORAGE, android.Manifest.permission.READ_EXTERNAL_STORAGE};
private void request... | android.Manifest.permission.WRITE_EXTERNAL_STORAGE] am try to read the Files(pdf and docs) from the storage before that device not asking the permission. [CODE] suggest me any changes for android SDK 33 new updates. | java|android|android-studio | 1 | 2022-09-15T08:59:13.967Z | 2,022 | 9 | 8 | 3 | 79 | 1 | 215 | 57 | 3 | 1 | true | false | false | false | false | false | low |
73,728,322 | RecyclerView items having same height, variable spacing and font scaling | <p>As an Android Developer, I am developing a Kotlin app in which on a certain screen I have to make a horizontal carousel of items whose specifications are as follows:</p>
<ul>
<li>If the nested text in TextView1 is long enough to span 3 lines, the whitespace below TextView2 will be a fixed 12dp.</li>
<li>If the text ... | As an Android Developer, I am developing a Kotlin app in which on a certain screen I have to make a horizontal carousel of items whose specifications are as follows: If the nested text in TextView1 is long enough to span 3 lines, the whitespace below TextView2 will be a fixed 12dp. If the text nested in TextView1 is lo... | android|xml|kotlin|android-layout|android-recyclerview | 0 | 2022-09-15T08:59:55.503Z | 2,022 | 9 | 8 | 3 | 50 | 0 | 1,154 | 72 | 5 | 0 | false | true | false | false | false | false | zero |
73,728,326 | Map KeyEvent KeyCode to key name | <p>I have key binding settings that should display what key was pressed on a device with physical keyboard. Right now, in my onKeyListener method, I'm just displaying the key code (e.g. KEYCODE_F1 → I display "131").</p>
<pre><code>etKeyPressed.setText(String.valueOf(keyEvent.getKeyCode()));
</code></pre>
<p>... | I have key binding settings that should display what key was pressed on a device with physical keyboard. Right now, in my onKeyListener method, I'm just displaying the key code (e.g. KEYCODE_F1 → I display "131"). [CODE] Is there a way I could, instead of that keyCode, display a name like "KEYCODE_F1&quo... | java|android|keyevent|onkeylistener | 0 | 2022-09-15T09:00:10.710Z | 2,022 | 9 | 9 | 3 | 21 | 0 | 357 | 32 | 4 | 1 | true | true | false | false | false | false | zero |
73,728,425 | How can I use file path method while using firebase storage in android studio? | <p>I don't want to use the uri method I need to upload a file from an absolute path like "/storage/emulated/0/app/document.pdf" is there any way to upload a file. If yes then please help</p>
<p>Note- I am using <strong>java</strong> here</p> | I don't want to use the uri method I need to upload a file from an absolute path like "/storage/emulated/0/app/document.pdf" is there any way to upload a file. If yes then please help Note- I am using java here | java|android-studio | -2 | 2022-09-15T09:08:05.137Z | 2,022 | 9 | 9 | 3 | 8 | 0 | 220 | 78 | 2 | 0 | false | true | false | false | false | true | negative |
73,728,478 | When try Build App it gives me build failed | <p>I'm facing issue when i build my app with flutter build apk everything I made looks good I had the documentation and showed me everything so every step is good.</p>
<p>But when I try to build my app it gives me these errors, what should I do ?</p>
<pre><code>lib/src/pages/all_provider.dart:179:43: Error: The method ... | I'm facing issue when i build my app with flutter build apk everything I made looks good I had the documentation and showed me everything so every step is good. But when I try to build my app it gives me these errors, what should I do ? [CODE] | flutter|android-studio | 0 | 2022-09-15T09:11:53.273Z | 2,022 | 9 | 9 | 3 | 39 | 2 | 243 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
73,728,591 | SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 44382 | <p><a href="https://i.stack.imgur.com/ArybK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ArybK.png" alt="enter image description here" /></a></p>
<p>This error is getting while using HTTP GET method</p> | This error is getting while using HTTP GET method | android|flutter|dart | 0 | 2022-09-15T09:21:46.443Z | 2,022 | 9 | 9 | 3 | 38 | 1 | 49 | 114 | 3 | 0 | false | false | false | false | false | false | zero |
73,728,612 | How to use field injection for two custom classes using Hilt? | <p>I'm kinda new in using Dagger-Hilt while I'm working on a location app but I'm facing issues with Dagger-Hilt about two classes named <code>LocationsListAdapter</code> and <code>CategoryAvatar</code>. I'm trying to use field injection and inject <code>CategoryAvatar</code> into <code>LocationsListAdapter</code>. I'v... | I'm kinda new in using Dagger-Hilt while I'm working on a location app but I'm facing issues with Dagger-Hilt about two classes named LocationsListAdapter and CategoryAvatar . I'm trying to use field injection and inject CategoryAvatar into LocationsListAdapter . I've annotated the constructor of CategoryAvatar by @Inj... | android|kotlin|dependency-injection|dagger-hilt | 0 | 2022-09-15T09:23:36.303Z | 2,022 | 9 | 9 | 3 | 24 | 0 | 575 | 61 | 4 | 2 | true | true | false | false | false | false | zero |
73,728,615 | C# Android Xamarin - if else statement | <p>I'm currently trying to fix this issue in the UI, where the pin drop alert is only showing half/ hidden on the screen:
<a href="https://i.stack.imgur.com/0PG6I.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>I added the center alignment/position in the XAML. My problem is how can I change this... | I'm currently trying to fix this issue in the UI, where the pin drop alert is only showing half/ hidden on the screen: enter image description here I added the center alignment/position in the XAML. My problem is how can I change this if condition and insert or modify the condition to add Center Alignment/Position. [CO... | c#|xamarin|xamarin.android | 0 | 2022-09-15T09:23:41.437Z | 2,022 | 9 | 9 | 3 | 42 | 0 | 323 | 38 | 3 | 1 | true | true | false | false | false | false | zero |
73,728,663 | How to pass parameter to my hilt viewmodel from jetpack compose | <p>I have a composable with viewmodel and I want to pass an id from the composable to the viewmodel.</p>
<p>My composable is:</p>
<pre><code>@Composable
fun HttpRequestScreen(
viewModel: HttpRequestViewModel = hiltViewModel(),
id: String = EMPTYUUID,
onClick: (String, String, Int) -> Unit // respond, req... | I have a composable with viewmodel and I want to pass an id from the composable to the viewmodel. My composable is: [CODE] I have the id from a different screen and I want to pass it to my Hilt viewmodel. | android|mvvm|android-jetpack-compose|viewmodel|dagger-hilt | 0 | 2022-09-15T09:26:42.460Z | 2,022 | 9 | 9 | 3 | 51 | 1 | 204 | 63 | 5 | 1 | true | false | false | false | false | false | zero |
73,728,688 | How to Store Arraylist in android | <p>Hello stackoverflow family,</p>
<p>I Want to store <code>ArrayList</code> Data.</p>
<p>There are many ways to save it, but I want to know which is best storage option we have.</p>
<p>can you please Give me idea about which database is you prefer and why.</p>
<p>Thanks in advance for your answer.</p> | Hello stackoverflow family, I Want to store ArrayList Data. There are many ways to save it, but I want to know which is best storage option we have. can you please Give me idea about which database is you prefer and why. Thanks in advance for your answer. | java|android|database|kotlin | 0 | 2022-09-15T09:28:44.567Z | 2,022 | 9 | 9 | 3 | 40 | 0 | 255 | 33 | 4 | 0 | false | true | false | false | false | false | zero |
73,728,707 | How can i move ios and android bundle id to new app | <p>I got an app submitted to AppStore and Playstore.</p>
<p>I tried to upgrade my project to the latest packages, with no success (React native latest and Gradle, etc), so I created a new project and started moving everything.</p>
<p>What is left to do is move everything that connects me to the app bundle in android an... | I got an app submitted to AppStore and Playstore. I tried to upgrade my project to the latest packages, with no success (React native latest and Gradle, etc), so I created a new project and started moving everything. What is left to do is move everything that connects me to the app bundle in android and apple. I can't ... | android|ios|bundle | 0 | 2022-09-15T09:30:02.913Z | 2,022 | 9 | 9 | 3 | 22 | 0 | 356 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
73,728,781 | Why my app is working fine on my android emulator but its not working fine on my real android device | <p>My app is working fine on my android emulator but its not working fine on my real android device my i am using react native & nodejs if anyone can has faced this same problem pls help me</p>
<p>NOTE</p>
<ul>
<li>MY REAL PHONE resolution & screen size ARE SAME WITH MY android emulator BOTH ARE SAME</li>
<li>M... | My app is working fine on my android emulator but its not working fine on my real android device my i am using react native & nodejs if anyone can has faced this same problem pls help me NOTE MY REAL PHONE resolution & screen size ARE SAME WITH MY android emulator BOTH ARE SAME MY ANDRIOD EMULTOR API IS 30 ISSUE THAT I... | javascript|android|reactjs|react-native | 0 | 2022-09-15T09:35:52.020Z | 2,022 | 9 | 9 | 3 | 63 | 1 | 1,289 | 100 | 4 | 0 | false | false | false | false | false | false | zero |
73,728,928 | Mpandroidchart pie chart legend when value is small | <p>How can I create PieChart like the one shown below in Android using MPandroidchart? Small value will change style of legend</p>
<p><img src="https://i.stack.imgur.com/H2Ph6.png" alt="enter image description here" /></p> | How can I create PieChart like the one shown below in Android using MPandroidchart? Small value will change style of legend | android|mpandroidchart | 0 | 2022-09-15T09:45:35.300Z | 2,022 | 9 | 9 | 3 | 14 | 0 | 123 | 51 | 2 | 0 | false | true | false | false | false | false | zero |
73,728,974 | Prevent inner RecyclerView in a ViewPager2 scroll to top after updating data | <p>I have a ViewPager2 using FragmentStateAdapter and some inner RecyclerView inside the ViewPager2.</p>
<p>I need to update the data in the individual row of the RV. However, whenever I update the adapter, the list scrolls to top automatically which I want to prevent.</p>
<p>The data I'm passing to the FragmentStateAd... | I have a ViewPager2 using FragmentStateAdapter and some inner RecyclerView inside the ViewPager2. I need to update the data in the individual row of the RV. However, whenever I update the adapter, the list scrolls to top automatically which I want to prevent. The data I'm passing to the FragmentStateAdapter looks like ... | android|kotlin|android-recyclerview | 0 | 2022-09-15T09:48:39.680Z | 2,022 | 9 | 9 | 3 | 26 | 0 | 970 | 76 | 3 | 4 | true | true | false | false | false | false | zero |
73,729,039 | How to show total amount from recyclerview list android java | <p>I am using recycler view where it has edit text and spinner based upon the spinner value and the edit text value the amount will be shown in every list. When I add new list and tired to change the value in the list amount is not getting updated.
'''</p>
<pre><code>public class GiftVoucherPersonalAdapter extends Recy... | I am using recycler view where it has edit text and spinner based upon the spinner value and the edit text value the amount will be shown in every list. When I add new list and tired to change the value in the list amount is not getting updated. ''' [CODE] ''' how to display overall total and also add new list without ... | java|android|android-recyclerview|sectionedrecyclerviewadapter | -2 | 2022-09-15T09:53:26.273Z | 2,022 | 9 | 9 | 3 | 18 | 0 | 350 | 60 | 4 | 1 | true | true | false | false | false | true | negative |
73,729,163 | The switch case expression type 'String' must be a subtype of the switch expression type 'SelectFieldBloc<String, dynamic>' | <p>I put a switch case for each of my dropdown values, its show the alert <code>The switch case expression type 'String' must be a subtype of the switch expression type 'SelectFieldBloc<String, dynamic>'.</code> so what can i do to change it into String, dynamic. This is my switch case</p>
<pre><code> switch(_... | I put a switch case for each of my dropdown values, its show the alert The switch case expression type 'String' must be a subtype of the switch expression type 'SelectFieldBloc<String, dynamic>'. so what can i do to change it into String, dynamic. This is my switch case [CODE] and this is where i store the value of my ... | android|ios|flutter|dart|conditional-statements | 0 | 2022-09-15T10:02:12.880Z | 2,022 | 9 | 10 | 3 | 29 | 2 | 337 | 123 | 5 | 2 | true | false | false | false | false | false | zero |
73,729,227 | I've been trying to download Pixel 5 (R download, Android 11) and the same error occurs during installation | <p><a href="https://i.stack.imgur.com/56lAl.jpg" rel="nofollow noreferrer">This is the error </a></p>
<p>An error occurred during installation: C:\Users\Xanth\AppData\Local\Android\Sdk.temp\PackageOperation01\unzip.
"Install Google APIs Intel x86 Atom System Image (revision: 10)" complete.
"Install Googl... | This is the error An error occurred during installation: C:\Users\Xanth\AppData\Local\Android\Sdk.temp\PackageOperation01\unzip. "Install Google APIs Intel x86 Atom System Image (revision: 10)" complete. "Install Google APIs Intel x86 Atom System Image (revision: 10)" failed. Failed packages: Google... | react-native|android-studio|android-emulator | 0 | 2022-09-15T10:05:59.557Z | 2,022 | 9 | 10 | 3 | 12 | 0 | 537 | 107 | 3 | 0 | false | true | false | false | false | false | zero |
73,729,276 | React Native Share result message is undefined in Android | <p>I use <a href="https://github.com/react-native-share/react-native-share" rel="nofollow noreferrer">react-native-share</a> to implement share behavior.
I need to record which share options user click, sample code as below:</p>
<pre><code>import Share from 'react-native-share';
Share.open(options)
.then((res) =>... | I use react-native-share to implement share behavior. I need to record which share options user click, sample code as below: [CODE] the ideal restult of res.message would be options item name, for example in iOS select copy is com.apple.UIKit.activity.CopyToPasteboard but in Android I cannot any item name but just unde... | android|reactjs|react-native | 0 | 2022-09-15T10:08:40.063Z | 2,022 | 9 | 10 | 3 | 25 | 0 | 484 | 57 | 3 | 1 | true | true | false | false | false | false | zero |
73,729,311 | Only Samsung Android Camera Intent returns data null in landscape mode | <p>I am using a Samsung Android System camera to capture images, in that I got null image data in onActivityResult while it was captured in landscape mode but works well in portrait mode.</p>
<p>Note: The orientation of the Activity I used is Portrait.</p>
<p>Code:</p>
<pre><code>private void openCameraIntent() {
b... | I am using a Samsung Android System camera to capture images, in that I got null image data in onActivityResult while it was captured in landscape mode but works well in portrait mode. Note: The orientation of the Activity I used is Portrait. Code: [CODE] onActivityResult: [CODE] Here Intent data & mCurrentPhotoPath bo... | android|camera|landscape | 0 | 2022-09-15T10:11:05.227Z | 2,022 | 9 | 10 | 3 | 19 | 0 | 351 | 70 | 3 | 2 | true | true | false | false | false | false | zero |
73,729,319 | Bytes to Base64 String and convert Base64 String to Bitmap returns NULL | <p>In the <code>drawable</code> folder I have an image <code>us.jpg</code> and I want to set this image (bitmap) in a <code>String</code>, it returns <code>android.graphics.Bitmap@a5e4fb9 USA</code> as a result. I want the flag of the USA to stand next to the name of the country. Can you help and thanks in advance!</p>... | In the drawable folder I have an image us.jpg and I want to set this image (bitmap) in a String , it returns android.graphics.Bitmap@a5e4fb9 USA as a result. I want the flag of the USA to stand next to the name of the country. Can you help and thanks in advance! [CODE] | java|android|bitmap|android-bitmap|bitmapfactory | -1 | 2022-09-15T10:11:17.740Z | 2,022 | 9 | 10 | 3 | 27 | 0 | 269 | 71 | 5 | 1 | true | true | false | false | false | true | negative |
73,729,329 | Jetpack Compose LazyColumn with multiple view type not working properly | <p>I am trying to achieve something like below using Jetpack Compose LazyColumn.
<a href="https://i.stack.imgur.com/tRBV9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tRBV9.png" alt="enter image description here" /></a></p>
<p>Below is my source code, The issue is i am not able to manage state pro... | I am trying to achieve something like below using Jetpack Compose LazyColumn. Below is my source code, The issue is i am not able to manage state properly. I am newbie to Jetpack compose, I have a list of guest, which are reserved and non reserved. So i need to show a listview initially with reserved guest and then non... | android|android-jetpack-compose|lazycolumn | 0 | 2022-09-15T10:11:43.617Z | 2,022 | 9 | 10 | 3 | 32 | 0 | 1,192 | 71 | 3 | 5 | true | true | false | false | false | false | zero |
73,729,443 | Automation scripts fail randomly due to visibility of elements | <p>I am using Robot with Appium for mobile automation
When we execute the individual scripts, things are passing, when we run it in bulk we get inconsistent result.
Most of the failures are cause of visibility of elements. Elements are displayed on screen still error say element is not displayed</p>
<p>Can someone help... | I am using Robot with Appium for mobile automation When we execute the individual scripts, things are passing, when we run it in bulk we get inconsistent result. Most of the failures are cause of visibility of elements. Elements are displayed on screen still error say element is not displayed Can someone help ? | appium|robotframework|appium-android|appium-ios | 0 | 2022-09-15T10:21:13.403Z | 2,022 | 9 | 10 | 3 | 23 | 0 | 312 | 62 | 4 | 0 | false | true | false | false | false | false | zero |
73,729,452 | Dependency resolution error in react native for android | <p>I am integrating react native into existing android app by following <a href="https://reactnative.dev/docs/integration-with-existing-apps" rel="nofollow noreferrer">these steps</a> . I also install expo modules using <a href="https://docs.expo.dev/bare/installing-expo-modules/#configuration-for-android" rel="nofoll... | I am integrating react native into existing android app by following these steps . I also install expo modules using this . In my android app,I have app compat version 1.5.1 implementation 'androidx.appcompat:appcompat:1.5.1' . Before integrating react native, the AppCompatActivity class was extended from ComponentActi... | android|react-native|gradle | 0 | 2022-09-15T10:22:12.690Z | 2,022 | 9 | 10 | 3 | 31 | 0 | 621 | 55 | 3 | 0 | false | true | false | false | false | false | zero |
73,729,600 | How i can provide token saved in DataStore to Intercepter in HiltModule in Android? | <p>Here is my NetworkMoudle class which provides dependecies
I have tried this way</p>
<pre><code>@Module
@InstallIn(SingletonComponent::class)
object NetworkModule {
@Provides
fun providesAuthToken() : String = ""
@Singleton
@Provides
fun providesGson():Gson=GsonBuilder().enableCompl... | Here is my NetworkMoudle class which provides dependecies I have tried this way [CODE] And this is my interceptor class [CODE] the way i'm providing authToken is badly, how i proivde this token using best practice. and please go through my NetworkModule | android|kotlin|retrofit|dagger-hilt | 0 | 2022-09-15T10:33:06.663Z | 2,022 | 9 | 10 | 3 | 23 | 0 | 253 | 83 | 4 | 2 | true | true | false | false | false | false | zero |
73,729,634 | ValueListenableBuilder not changing the List of Color | <p>i am able to change anything (such as int, String, visibility) that is not in a List in my codes but i can' t change my List of Color with ValueListenableBuilder.</p>
<p>**Here is my _gameField and gF_Pressed variables: **</p>
<pre><code> final ValueNotifier<List<Color>> _gameField = ValueNotifier(<C... | i am able to change anything (such as int, String, visibility) that is not in a List in my codes but i can' t change my List of Color with ValueListenableBuilder. **Here is my _gameField and gF_Pressed variables: ** [CODE] Here is my code: please have a look comment lines in codes. First ValueListenableBuilder is for V... | android|flutter | 0 | 2022-09-15T10:36:36.420Z | 2,022 | 9 | 10 | 3 | 32 | 2 | 612 | 53 | 2 | 2 | true | false | false | false | false | false | zero |
73,729,644 | Sync two ArrayList of Grocery and Cart matching the ID and get the Count from Cart ArrayList and display in the grocery array List? | <p>I have a Grocery ArrayList that contains JSON name and values
id, name, company, quantity, instock.</p>
<p>I have an add button on the view holder that adds and increments the item count to the cart array list that includes all the above JSON objects
id, name, company, quantity, instock and <strong>count</strong> in... | I have a Grocery ArrayList that contains JSON name and values id, name, company, quantity, instock. I have an add button on the view holder that adds and increments the item count to the cart array list that includes all the above JSON objects id, name, company, quantity, instock and count in addition to the above one.... | java|android|arrays|json|arraylist | -2 | 2022-09-15T10:37:39.043Z | 2,022 | 9 | 10 | 3 | 15 | 0 | 694 | 131 | 5 | 0 | false | true | false | false | false | true | negative |
73,729,646 | Android Pie 9.0 DownloadManager and call API response are slow | <p>I add</p>
<pre><code>base-config cleartextTrafficPermitted="true"
</code></pre>
<p>but it is not resolved. When i run the device with android # 9.0 pie, it works best.
But android 9.0, i can't resolve</p>
<p><strong>Link before:</strong></p>
<p><a href="https://stackoverflow.com/questions/53493077/download... | I add [CODE] but it is not resolved. When i run the device with android # 9.0 pie, it works best. But android 9.0, i can't resolve Link before: Download Manger not working in Android Pie 9.0 NetworkSecurityConfig: No Network Security Config specified, using platform default DownloadManager requests delayed on Android P... | android|android-studio|android-download-manager|android-9.0-pie | 0 | 2022-09-15T10:37:53.763Z | 2,022 | 9 | 10 | 3 | 15 | 0 | 322 | 62 | 4 | 1 | true | true | false | false | false | false | zero |
73,729,652 | Uncheck bottomnavigationmenu item when navigating to other fragment | <p>I have a BottomNavigationMenu in my MainActivity where I can navigate between 4 fragments. By default, the first fragment that the user can see, is the first item and the item must be checked. What I want to do, is when the user navigate to a fragment which is not in the BottomNavigationMenu, uncheck the items in Bo... | I have a BottomNavigationMenu in my MainActivity where I can navigate between 4 fragments. By default, the first fragment that the user can see, is the first item and the item must be checked. What I want to do, is when the user navigate to a fragment which is not in the BottomNavigationMenu, uncheck the items in Botto... | android|kotlin|bottomnavigationview | 0 | 2022-09-15T10:38:30.287Z | 2,022 | 9 | 10 | 3 | 29 | 1 | 444 | 67 | 3 | 1 | true | false | false | false | false | false | zero |
73,729,687 | android ViewPager with one recycler view | <p>i have a TabLayout on top of recyclerview</p>
<p><a href="https://i.stack.imgur.com/judTm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/judTm.png" alt="enter image description here" /></a></p>
<p>now i want to implement viewpager with tablayout and when user swipe the recyclerview it change the ... | i have a TabLayout on top of recyclerview now i want to implement viewpager with tablayout and when user swipe the recyclerview it change the data in that recyclerview ** note that i dont want to use difrrent pages , just that recyclerview with diffrent data | java|android|kotlin | 0 | 2022-09-15T10:41:35.403Z | 2,022 | 9 | 10 | 3 | 28 | 1 | 258 | 40 | 3 | 0 | false | false | false | false | false | false | zero |
73,729,698 | Is there a better solution to solve "Duplicate class error" in build.gradle? | <p>I have added to my app's build gradle the following dependency: <code>implementation 'androidx.preference:preference:1.2.0' </code></p>
<p>When I build the project with that dependency the following errors are shown:</p>
<pre><code>> A failure occurred while executing com.android.build.gradle.internal.tasks.Check... | I have added to my app's build gradle the following dependency: implementation 'androidx.preference:preference:1.2.0' When I build the project with that dependency the following errors are shown: [CODE] I have searched on other posts and one solution that solved the error was adding this to the build gradle: [CODE] Is ... | java|android|android-studio|dependencies|build.gradle | -1 | 2022-09-15T10:42:26.373Z | 2,022 | 9 | 10 | 3 | 51 | 0 | 470 | 76 | 5 | 2 | true | true | false | false | false | true | negative |
73,729,857 | How to recompose without onClick? | <p>Why for recomposing, we must use an event like onClick from a Button?</p>
<p>for example, my code is:</p>
<pre><code>if (movieSearchinfo.movieorserie == "serie") {
val serie1 = remember { mutableStateOf(false) }
if (serie1.value == true) {
Column(
modifier ... | Why for recomposing, we must use an event like onClick from a Button? for example, my code is: [CODE] when after my last if, I say: serie1.value = true, why jetpack doesn't recompose and doesn't make the UI of my first if? because the serie1.value became true now? I saw somewhere that we can use: currentComposer.compos... | kotlin|android-jetpack-compose|android-jetpack|jetpack | 1 | 2022-09-15T10:54:35.047Z | 2,022 | 9 | 10 | 3 | 65 | 1 | 465 | 33 | 4 | 1 | true | false | false | false | false | false | low |
73,729,862 | How to fix java.lang.NumberFormatException: For input string: ".52" | <blockquote>
<p>Hi, I am getting userInput from three editTexts and setting it to a TextView after multiplying.</p>
</blockquote>
<blockquote>
<p>This is the code :</p>
</blockquote>
<pre><code> float l = Float.parseFloat(etLength.getText().toString());
float b = Float.parseFloat(etBreadth.getText().toString());
f... | Hi, I am getting userInput from three editTexts and setting it to a TextView after multiplying. This is the code : [CODE] If I type 0.52 , then the code works, but if I type .52 the App crashes with this exception : [CODE] Please let me know how to fix this Issue. Thanks | android|numbers | 0 | 2022-09-15T10:54:54.553Z | 2,022 | 9 | 10 | 3 | 35 | 1 | 271 | 67 | 2 | 2 | true | false | false | false | false | false | zero |
73,729,974 | open failed: EACCES (Permission denied) but only on Android 10 | <p>When downloading a file from URL to the downloads directory it crashes on Android 10 Emulator:</p>
<pre><code>java.io.FileNotFoundException: /storage/emulated/0/Download/shareFile.mp3: open failed: EACCES (Permission denied)
</code></pre>
<p>This is how I download the file:</p>
<pre><code>val storage = Environment.g... | When downloading a file from URL to the downloads directory it crashes on Android 10 Emulator: [CODE] This is how I download the file: [CODE] It crashes in the 4th line when calling FileOutputStream I got both permissions granted: READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE On my Android 11 and 12 Devices everything ... | android|kotlin|scoped-storage | 0 | 2022-09-15T11:03:41.577Z | 2,022 | 9 | 11 | 3 | 34 | 1 | 330 | 62 | 3 | 2 | true | false | false | false | false | false | zero |
73,730,009 | Java counting same date from a list of objects for data entry | <p>I am making an app in Android Studio using Java, that is recieving data from my RestApi.
I get the data in a List with objects "Payment" containg a date and an amount.</p>
<p>The idea is to add the amount from the same date and put it into a data entry for a graph that is then displayed on the app. I'm usi... | I am making an app in Android Studio using Java, that is recieving data from my RestApi. I get the data in a List with objects "Payment" containg a date and an amount. The idea is to add the amount from the same date and put it into a data entry for a graph that is then displayed on the app. I'm using AnyChar... | java|android|list | 0 | 2022-09-15T11:06:16.887Z | 2,022 | 9 | 11 | 3 | 73 | 2 | 1,379 | 61 | 3 | 4 | true | false | false | false | false | false | zero |
73,730,047 | MobileIron - Bypass Unknown Sources | <p>I have a question:</p>
<p>I have MobileIron (with MTD) and I have disabled all the folders that allow possible installation:</p>
<ul>
<li>My Files / Chrome / Drive / Messages / etc, etc.</li>
</ul>
<p>I have also thought about installing another apk managing files (Google Files), the thing is, when I install Google ... | I have a question: I have MobileIron (with MTD) and I have disabled all the folders that allow possible installation: My Files / Chrome / Drive / Messages / etc, etc. I have also thought about installing another apk managing files (Google Files), the thing is, when I install Google Files, it is automatically added to t... | android|android-security|mobileiron|bypass|unknown-source-installation | 0 | 2022-09-15T11:09:38.537Z | 2,022 | 9 | 11 | 3 | 17 | 0 | 622 | 35 | 5 | 0 | false | true | false | false | false | false | zero |
73,730,296 | How use aws parameter store in Xamarin forms cross platform? | <p>Want to use Aws parameter Store in Xamarin forms?</p>
<ol>
<li>used AWS mobile SDK but doesn't support Simple Systems Management.</li>
</ol>
<p>I try multiple options to implement AWS packages but all packages are related to the web not for the Xamarin form.</p> | Want to use Aws parameter Store in Xamarin forms? used AWS mobile SDK but doesn't support Simple Systems Management. I try multiple options to implement AWS packages but all packages are related to the web not for the Xamarin form. | amazon-s3|xamarin.forms|xamarin.android|xamarin.ios|aws-parameter-store | 0 | 2022-09-15T11:26:40.657Z | 2,022 | 9 | 11 | 3 | 19 | 0 | 231 | 60 | 5 | 0 | false | true | false | false | false | false | zero |
73,730,480 | partially migrate dynamic SharedPreference keys to datastore | <p>I am trying to migrate from shared preference to jetpack datastore. While creating the datastore object we need to pass shared preference keys to migrate however if the keys are build based on usecases like dynamic strings and if we dont want to migrate all the keys at same time. Is it possible to create the datast... | I am trying to migrate from shared preference to jetpack datastore. While creating the datastore object we need to pass shared preference keys to migrate however if the keys are build based on usecases like dynamic strings and if we dont want to migrate all the keys at same time. Is it possible to create the datastore ... | android|migration|sharedpreferences|datastore|jetpack | 0 | 2022-09-15T11:42:12.223Z | 2,022 | 9 | 11 | 3 | 28 | 0 | 375 | 60 | 5 | 1 | true | true | false | false | false | false | zero |
73,730,481 | Shapeable image view - corner color - android | <p><a href="https://i.stack.imgur.com/vygJ1.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vygJ1.gif" alt="" /></a></p>
<p>In the second fragment I have used shapeable image view with shape appearance overlay to rounded. while applying material container transform, black corner are visible in shapea... | In the second fragment I have used shapeable image view with shape appearance overlay to rounded. while applying material container transform, black corner are visible in shapeable image view. Help me how to remove the black corners. | android|fragment|android-navigation-graph|shapeableimageview | 0 | 2022-09-15T11:42:15.673Z | 2,022 | 9 | 11 | 3 | 30 | 1 | 233 | 45 | 4 | 0 | false | false | false | false | false | false | zero |
73,730,497 | gradle says it fails to build because it couldnt find all files? | <p>im trying to build this but it fails and i have searched and tried the solutions that worked for peule with similar issues
but nothing worked. i am following course in kotlin/android
and there every thing works link to the course:<a href="https://www.youtube.com/watch?v=BBWyXo-3JGQ&t=2938s" rel="nofollow norefe... | im trying to build this but it fails and i have searched and tried the solutions that worked for peule with similar issues but nothing worked. i am following course in kotlin/android and there every thing works link to the course: https://www.youtube.com/watch?v=BBWyXo-3JGQ&t=2938s this is the local build.gradle [CODE]... | android|kotlin|gradle|build.gradle|android-volley | 0 | 2022-09-15T11:43:48.343Z | 2,022 | 9 | 11 | 3 | 37 | 1 | 348 | 64 | 5 | 2 | true | false | false | false | false | false | zero |
73,730,575 | Kotlin: Read bluetooth data real time | <p>So I'm fairly new to Kotlin and Bluetooth, I am making and Android app to read the data from my Arduino sensors in real time so that track of the current readings of each sensor. Right now my read works and I have tried using Handler to keep reading but my problem is that when it keeps reading it also lags the appli... | So I'm fairly new to Kotlin and Bluetooth, I am making and Android app to read the data from my Arduino sensors in real time so that track of the current readings of each sensor. Right now my read works and I have tried using Handler to keep reading but my problem is that when it keeps reading it also lags the applicat... | kotlin|arduino|android-bluetooth | 0 | 2022-09-15T11:48:51.060Z | 2,022 | 9 | 11 | 3 | 31 | 1 | 894 | 37 | 3 | 2 | true | false | false | false | false | false | zero |
73,730,799 | Can we read a NAMED PIPE created in native library .so ( Android) file from a Android Java Application | <p>I have created a named pipe in Native Android code.</p>
<pre class="lang-java prettyprint-override"><code> char * logcatsocfile = "/sdcard/myfifo";
//setup NAMED pipe
int freturn = -1;
freturn = mkfifo(logcatsocfile, 0666);
if(freturn<0){
L... | I have created a named pipe in Native Android code. [CODE] mkfifo.txt - file is created I am using execv( ) call to write logs into this pipe. Can I read the contents of this mkfifo.txt( named pipe) from Java Android application? | android|linux | 0 | 2022-09-15T12:03:09.540Z | 2,022 | 9 | 12 | 3 | 17 | 0 | 229 | 102 | 2 | 1 | true | true | false | false | false | false | zero |
73,730,834 | Custom swipeable switch in Jetpack Compose | <p>I want to do custom swipeable switch, but I want the switch to be only swiped from the main part (the dark grey box). The problem is that I can swipe the box from anywhere, even the light gray part(when the dark grey box is in the other side) in the row.
How can I make it to get gestures only from dark grey box.</p>... | I want to do custom swipeable switch, but I want the switch to be only swiped from the main part (the dark grey box). The problem is that I can swipe the box from anywhere, even the light gray part(when the dark grey box is in the other side) in the row. How can I make it to get gestures only from dark grey box. [CODE] | android-jetpack-compose | 0 | 2022-09-15T12:05:22.483Z | 2,022 | 9 | 12 | 3 | 33 | 1 | 320 | 42 | 1 | 1 | true | false | false | false | false | false | zero |
73,730,847 | Android In-App billing library: doubts about unlocking logic | <p>I have succeeded integrating the class <code>BillingClient</code>, starting the connection etc. I can, in fact, make a test purchase of the product from the App (it shows the payment form, buys the product etc.) I implemented it as it is described in <a href="https://developer.android.com/google/play/billing/integra... | I have succeeded integrating the class BillingClient , starting the connection etc. I can, in fact, make a test purchase of the product from the App (it shows the payment form, buys the product etc.) I implemented it as it is described in this link that explains how to integrate the Google Play Billing Library. It work... | java|android|in-app-billing | 0 | 2022-09-15T12:06:28.453Z | 2,022 | 9 | 12 | 3 | 26 | 1 | 2,021 | 60 | 3 | 1 | true | false | false | false | false | false | zero |
73,731,026 | How can I receive a value from a Fragment even before that has been started in Android [Kotlin] | <p>I have a scenario where I have let's say three fragments A,B,C.
Now I simply want to move from fragment A to B. But to move from A to B I have to enter a code in the EditText of Fragment A and press the button, but this code is coming from Fragment C.</p>
<p>Or in a more detailed situation the Fragment C belongs to ... | I have a scenario where I have let's say three fragments A,B,C. Now I simply want to move from fragment A to B. But to move from A to B I have to enter a code in the EditText of Fragment A and press the button, but this code is coming from Fragment C. Or in a more detailed situation the Fragment C belongs to an another... | android|kotlin|android-fragments|navigation|fragment | -1 | 2022-09-15T12:19:03.640Z | 2,022 | 9 | 12 | 3 | 26 | 0 | 781 | 95 | 5 | 0 | false | true | false | false | false | true | negative |
73,731,063 | GL_FRAMEBUFFER_UNDEFINED In GLSurfaceView after sharing context with native library | <p>I have an Android app that reads images to external OES texture, binds a frame buffer with a texture attachment and renders to it to convert it to a normal OpenGL texture.</p>
<p>The buffer is then unbound and rendered again to render to the screen. This process uses <code>GLSurfaceView</code> and works well.</p>
<p... | I have an Android app that reads images to external OES texture, binds a frame buffer with a texture attachment and renders to it to convert it to a normal OpenGL texture. The buffer is then unbound and rendered again to render to the screen. This process uses GLSurfaceView and works well. I then want to pass the regul... | android|c++|opengl-es|egl | 0 | 2022-09-15T12:21:52.047Z | 2,022 | 9 | 12 | 3 | 37 | 1 | 1,670 | 83 | 4 | 2 | true | false | false | false | false | false | zero |
73,731,326 | How to add blur and background blur to both sent and received WebRTC video tracks | <p>How do I add a blur effect to a webRTC video track? I am building a video call app using WebRTC and I need to blur the background of the person using my app and also blur all of the video coming from the other side for security reasons. (Random people can call in, so bluring all of their video is a security measure ... | How do I add a blur effect to a webRTC video track? I am building a video call app using WebRTC and I need to blur the background of the person using my app and also blur all of the video coming from the other side for security reasons. (Random people can call in, so bluring all of their video is a security measure tha... | android|android-studio|webrtc|webrtc-android | 0 | 2022-09-15T12:40:04.437Z | 2,022 | 9 | 12 | 3 | 34 | 1 | 462 | 81 | 4 | 2 | true | false | false | false | false | false | zero |
73,731,389 | Android app_name with special characters/diacritics | <p>I have an android app built in React Native.
In <code>android/app/src/main/res/values/strings.xml</code> i have the app name with diacritics, but app is crashing while opening because of the special characters <strong>í</strong> and <strong>ó</strong>.</p>
<pre><code><?xml version="1.0" encoding="U... | I have an android app built in React Native. In android/app/src/main/res/values/strings.xml i have the app name with diacritics, but app is crashing while opening because of the special characters í and ó . [CODE] This name works, but i need it to be localized as above: [CODE] I've tried to use unicode U+00F3 or with e... | android|xml|react-native | 1 | 2022-09-15T12:44:45.030Z | 2,022 | 9 | 12 | 3 | 22 | 1 | 459 | 51 | 3 | 2 | true | false | false | false | false | false | low |
73,731,403 | Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 58: com.example.project.app-mergeDebugResources-32:/values/values.xml | <blockquote>
<p>D:\AndroidStudioProjects\myproject\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml. Cause: java.nio.file.InvalidPathException: Illegal char <:> at index 58: com.example.myproject.app-mergeDebugResources-32:/values/values.xml). Check logs for more details.... | D:\AndroidStudioProjects\myproject\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml. Cause: java.nio.file.InvalidPathException: Illegal char <:> at index 58: com.example.myproject.app-mergeDebugResources-32:/values/values.xml). Check logs for more details. I tried everything bu... | java|android|xml|gradle|build.gradle | 0 | 2022-09-15T12:45:50.577Z | 2,022 | 9 | 12 | 3 | 47 | 1 | 367 | 142 | 5 | 0 | false | false | false | false | false | false | zero |
73,731,428 | Firebase Database Class kotlin.Pair does not define a no-argument constructor | <p>I created a simple data class in Kotlin to read value from Firebase database, but I get the exception. Here is my model class:</p>
<pre><code>data class UserInfo(val userSelectionList: List<Pair<Int,Int>>? = null) {}
</code></pre>
<p>Here is the line I get DatabaseException</p>
<pre><code>UserInfo userIn... | I created a simple data class in Kotlin to read value from Firebase database, but I get the exception. Here is my model class: [CODE] Here is the line I get DatabaseException [CODE] I know data class creates automatically no-argument constructor, but I don't understand why I get this error. com.google.firebase.database... | android|firebase|firebase-realtime-database | -1 | 2022-09-15T12:47:48.767Z | 2,022 | 9 | 12 | 3 | 25 | 0 | 474 | 77 | 3 | 2 | true | true | false | false | false | true | negative |
73,731,783 | Object become a null after I put it in coroutine | <p>I want to store my state in repository and do in acynchronously.
Here I preparing my state and putting it in coroutine.</p>
<pre><code>fun saveState(state: MapState) {
viewModelScope.launch {
withContext(Dispatchers.IO) {
mapRepository.saveState(state, mapRepository.defaultStateId)
}
... | I want to store my state in repository and do in acynchronously. Here I preparing my state and putting it in coroutine. [CODE] But already in next function "saveState" I found, that my object "mOutline" in "MapState" became null. Object before putting in coroutine Object after putting in c... | android|kotlin|android-room|coroutine | 0 | 2022-09-15T13:11:32.310Z | 2,022 | 9 | 13 | 3 | 38 | 0 | 634 | 48 | 4 | 1 | true | true | false | false | false | false | zero |
73,731,912 | React Native error Unable to extract native debug metadata - Gradle 7.X + | <p>i am facing some annoying issue. I am working in a project, where the base is kotlin with a external module in react (0.61.5). Works perfect with config: Plugin 4.0.1 & Gradle 6.6, but we implemented a new module (this module is in compose), so we had to update to gradle 7.X + and app started crashing.</p>
<p>Er... | i am facing some annoying issue. I am working in a project, where the base is kotlin with a external module in react (0.61.5). Works perfect with config: Plugin 4.0.1 & Gradle 6.6, but we implemented a new module (this module is in compose), so we had to update to gradle 7.X + and app started crashing. Error: Unable to... | android|react-native|gradle-plugin|debug-symbols | 1 | 2022-09-15T13:21:07.127Z | 2,022 | 9 | 13 | 3 | 23 | 0 | 665 | 73 | 4 | 1 | true | true | false | false | false | false | low |
73,731,936 | AndroidTV Development: Device Catalogue targeting status shows "Not opted in" | <p>Recently published an Android TV app on the Play Store where the Device catalog report mentioned all the devices' targeting statuses as "Not opted in" it makes an installation problem, and the app is not listed on the TV Play Store app but available on the Play Store Website.</p>
<p><a href="https://i.stac... | Recently published an Android TV app on the Play Store where the Device catalog report mentioned all the devices' targeting statuses as "Not opted in" it makes an installation problem, and the app is not listed on the TV Play Store app but available on the Play Store Website. | java|android|android-manifest|google-play-console | -1 | 2022-09-15T13:22:33.020Z | 2,022 | 9 | 13 | 3 | 19 | 0 | 286 | 77 | 4 | 0 | false | true | false | false | false | true | negative |
73,732,007 | writing android wrapper for unity | <p>i am new to android and unity both.
i want to write native wrapper and use in unity.
to start with i have created simple framework in android (kotlin).</p>
<p>here is how kotlin code looks like:</p>
<pre><code>class PluginInstance {
fun initWithApp(id: String, name: String, completionBlock: (Boolean) -> Void)... | i am new to android and unity both. i want to write native wrapper and use in unity. to start with i have created simple framework in android (kotlin). here is how kotlin code looks like: [CODE] i am able to call 'add' function from unity to android. here is what c# code looks like: [CODE] but not able to call 'initWit... | android|kotlin|unity3d | 0 | 2022-09-15T13:27:20.833Z | 2,022 | 9 | 13 | 3 | 30 | 0 | 533 | 33 | 3 | 6 | true | true | false | false | false | false | zero |
73,732,033 | Can a cordova app get its own storage shortcut in Android Files app menu, similar to Drive? | <p>On iOS, cordova-plugin-file allows 'cordova.file.documentsDirectory' as file system layout, to generate a dedicated storage for my app in the system's file browser in the 'on my iPhone' environment. But unfortunately this file system layout is NOT available for Android.</p>
<p>I'm currently using cordova.file.extern... | On iOS, cordova-plugin-file allows 'cordova.file.documentsDirectory' as file system layout, to generate a dedicated storage for my app in the system's file browser in the 'on my iPhone' environment. But unfortunately this file system layout is NOT available for Android. I'm currently using cordova.file.externalDataDire... | android|cordova|storage|file-sharing | 1 | 2022-09-15T13:29:31.387Z | 2,022 | 9 | 13 | 3 | 22 | 0 | 741 | 91 | 4 | 0 | false | true | false | false | false | false | low |
73,732,089 | Gradle detects Java 1.8 instead of Java 11 | <p>When creating a new project with</p>
<pre><code>npx react-native init newProject
</code></pre>
<p>and start the app by</p>
<pre><code>npx react-native run-android
</code></pre>
<p>I will receive this error:</p>
<pre><code>FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\path\newProject\android... | When creating a new project with [CODE] and start the app by [CODE] I will receive this error: [CODE] ./gradlew --version [CODE] I have tried it with other gradle versions and other react native versions, but the error still persists. Existing projects are working... | java|android|react-native|gradle | 0 | 2022-09-15T13:33:08.040Z | 2,022 | 9 | 13 | 3 | 34 | 1 | 267 | 42 | 4 | 4 | true | false | false | false | false | false | zero |
73,732,101 | Regex to allow only number and single dot on android device | <p>I have my angular application and has HTML template below:</p>
<pre><code> <input inputmode="numeric" id="amount1">
<input inputmode="decimal" id="amount2">
</code></pre>
<p>now for the first field, I want to allow only numbers and for the second field, I want to... | I have my angular application and has HTML template below: [CODE] now for the first field, I want to allow only numbers and for the second field, I want to allow numbers + a single dot on an android device . In my directive, I have below @HostListner event [CODE] but this does not work for android devices it also allow... | javascript|android|ios|angular|regex | 1 | 2022-09-15T13:33:44.300Z | 2,022 | 9 | 13 | 3 | 43 | 0 | 615 | 59 | 5 | 2 | true | true | false | false | false | false | low |
73,732,190 | How to check if an application is installed on iOS or Android phone using JavaScript? | <p>I have a banking application in which I show the users a list of banks that they can choose from. I want to have the banks that the users use at the top of the list and I'm trying to check what banking apps does the user have installed on their phone.
I've been browsing SO for the past 2 days and I can't find a way ... | I have a banking application in which I show the users a list of banks that they can choose from. I want to have the banks that the users use at the top of the list and I'm trying to check what banking apps does the user have installed on their phone. I've been browsing SO for the past 2 days and I can't find a way to ... | javascript|android|ios | 0 | 2022-09-15T13:38:48.927Z | 2,022 | 9 | 13 | 3 | 13 | 0 | 345 | 85 | 3 | 0 | false | true | false | false | false | false | zero |
73,732,227 | How do I properly update recyclerview when using Room | <p>I'm new to Android development, and I also don't know English very well, I apologize in advance.</p>
<p>I'm developing a notepad. I have two Recycleviews, the first one displays labels and the second one displays notes. For development, I use the MVP pattern, as well as Room.</p>
<p>When the activity starts, I get a... | I'm new to Android development, and I also don't know English very well, I apologize in advance. I'm developing a notepad. I have two Recycleviews, the first one displays labels and the second one displays notes. For development, I use the MVP pattern, as well as Room. When the activity starts, I get all the notes from... | java|android|android-recyclerview|android-livedata | 0 | 2022-09-15T13:41:03.283Z | 2,022 | 9 | 13 | 3 | 33 | 0 | 1,213 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
73,732,247 | How to add a second project to Android Studio from version control (git) | <p>Currently, my settings.gradle file adds another project to my open instance of Android Studio through the following:</p>
<pre><code>include ':app', ':other'
project(':other').projectDir = new File(settingsDir, "../../../path/to/other/app")
</code></pre>
<p>However, it is getting the content from my local ... | Currently, my settings.gradle file adds another project to my open instance of Android Studio through the following: [CODE] However, it is getting the content from my local folder system. How can I make it to get the content from a git repository? | git|android-studio|version-control | 0 | 2022-09-15T13:42:17.347Z | 2,022 | 9 | 13 | 3 | 19 | 1 | 247 | 72 | 3 | 1 | true | false | false | false | false | false | zero |
73,732,252 | Can someone provide all compatible unit test related version for sdk 31? | <p>Can someone provide all compatible unit test related version for sdk 31?</p>
<p>Our project was previously targeted to SDK 27. But now since I updated android studio and SDK 31 and JDK 11 we have started seeing failures while running junit tests.</p>
<p>If someone can help with the junit dependecies compatible with ... | Can someone provide all compatible unit test related version for sdk 31? Our project was previously targeted to SDK 27. But now since I updated android studio and SDK 31 and JDK 11 we have started seeing failures while running junit tests. If someone can help with the junit dependecies compatible with SDK 31, It would ... | android|unit-testing|junit|java-11|robolectric | -2 | 2022-09-15T13:42:35.693Z | 2,022 | 9 | 13 | 3 | 15 | 0 | 332 | 72 | 5 | 0 | false | true | false | false | false | true | negative |
73,732,254 | Android fitsSystemWindows is messing up the paddings on my BottomNavigationView | <p>This is my activity layout</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/parent"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
... | This is my activity layout [CODE] This looks like When I set android:fitsSystemWindows="false" it looks like This is my bottom nav style [CODE] Why is this happening and how can I fix this?? | android|android-layout|android-bottomnavigationview | 1 | 2022-09-15T13:42:40.193Z | 2,022 | 9 | 13 | 3 | 22 | 0 | 200 | 79 | 3 | 2 | true | true | false | false | false | false | low |
73,732,312 | Connect/Save a list of pre-defined wi-fi networks on Android | <p>I'm working on IoT and need to pre-connect/save several wi-fi networks on Android to make my app flow more agile.</p>
<p>My hardware generate a Wifi Network, so I know ssid and password.</p>
<p>Is it possible to create a file (i don't what format type: .sh, .apk ...) with SSID and Password pre-defined and run on And... | I'm working on IoT and need to pre-connect/save several wi-fi networks on Android to make my app flow more agile. My hardware generate a Wifi Network, so I know ssid and password. Is it possible to create a file (i don't what format type: .sh, .apk ...) with SSID and Password pre-defined and run on Android to save thes... | android|android-wifi | 0 | 2022-09-15T13:46:45.340Z | 2,022 | 9 | 13 | 3 | 18 | 0 | 331 | 60 | 2 | 0 | false | true | false | false | false | false | zero |
73,732,342 | [Android]: App behavior when receiving notifications on the splash screen and main screen | <p>I'm using flutter and I'm a bad understand native android development very well.
I'm using 2 Activities in my project:</p>
<ol>
<li><strong>SplashActivity</strong> - visible 1 time at the time of launching the app.</li>
<li><strong>MainActivity</strong> - the main part of the application.</li>
</ol>
<p>The problem i... | I'm using flutter and I'm a bad understand native android development very well. I'm using 2 Activities in my project: SplashActivity - visible 1 time at the time of launching the app. MainActivity - the main part of the application. The problem is that when receiving push-notification from Firebase and when clicking o... | java|android|flutter|android-activity|notifications | 0 | 2022-09-15T13:48:31.477Z | 2,022 | 9 | 13 | 3 | 40 | 0 | 1,034 | 89 | 5 | 4 | true | true | false | false | false | false | zero |
73,732,392 | How to Pass The Value of a TextView to A Spinner? | <p>I have a TextView with the value "Dog" which is retrieved by scanning a QR code. I want to pass that value to my spinner as soon as it is retrieved so that the spinner displays "Dog" instead of the other items. The spinner contains the text "Dog" already in the dropdown. I am using shar... | I have a TextView with the value "Dog" which is retrieved by scanning a QR code. I want to pass that value to my spinner as soon as it is retrieved so that the spinner displays "Dog" instead of the other items. The spinner contains the text "Dog" already in the dropdown. I am using sharedP... | android|kotlin|textview|sharedpreferences|spinner | -3 | 2022-09-15T13:52:14.597Z | 2,022 | 9 | 13 | 3 | 18 | 0 | 479 | 49 | 5 | 0 | false | true | false | false | false | true | negative |
73,732,478 | Why is the rectangle corner radius not maintained for different stroke width? | <p>Is there a way to draw a rectangle with corners which do not grow with the stroke width?</p>
<p>In the code below, you can see how the 2nd rectangle shape in the code with the blue stroke and stroke width="50dp", renders the same corners="5dp" much bigger than the 1st rectangle in the code (fille... | Is there a way to draw a rectangle with corners which do not grow with the stroke width? In the code below, you can see how the 2nd rectangle shape in the code with the blue stroke and stroke width="50dp", renders the same corners="5dp" much bigger than the 1st rectangle in the code (filled in black... | android|android-drawable | 0 | 2022-09-15T13:57:28.300Z | 2,022 | 9 | 13 | 3 | 24 | 0 | 472 | 77 | 2 | 1 | true | true | false | false | false | false | zero |
73,732,501 | Proper Way to Disconnect on Wifi Direct (Android) - removeGroup, channel close, or both? | <p>In API 27, Android added a close() method for WifiP2pManager.Channel. Is this a better alternative to removeGroup? Should I do both? If I call close(), after closing, should I call initialize() to get a new channel, or should I just keep using the existing channel? The documentation is unclear.</p>
<p>There is a... | In API 27, Android added a close() method for WifiP2pManager.Channel. Is this a better alternative to removeGroup? Should I do both? If I call close(), after closing, should I call initialize() to get a new channel, or should I just keep using the existing channel? The documentation is unclear. There is an existing que... | android|wifi-direct | 0 | 2022-09-15T13:58:48.093Z | 2,022 | 9 | 13 | 3 | 4 | 0 | 376 | 88 | 2 | 0 | false | true | false | false | false | false | zero |
73,732,519 | read cvs from raw link | <p>I need to read a .cvs file that is in a GitHub repository and transform it into an object.
the link I have doesn't download a file, it shows that file as raw</p>
<p>the link is:
<a href="https://raw.githubusercontent.com/centraldedados/codigos_postais/master/data/codigos_postais.csv" rel="nofollow noreferrer">https:... | I need to read a .cvs file that is in a GitHub repository and transform it into an object. the link I have doesn't download a file, it shows that file as raw the link is: https://raw.githubusercontent.com/centraldedados/codigos_postais/master/data/codigos_postais.csv I've never seen this type of file and I've never wor... | android|csv|kotlin | -2 | 2022-09-15T14:00:01.373Z | 2,022 | 9 | 14 | 3 | 34 | 0 | 435 | 22 | 3 | 0 | false | true | false | false | false | true | negative |
73,732,563 | How to sort items by date in compose? | <p>I have a list of items and I want to sort them by date. And also I have this data class which contains the date.</p>
<pre><code>data class Completed(
@PrimaryKey
val id:Int? = null,
val title:String = "",
val duration:String = "",
val date:String = ""
)
</code></pre>... | I have a list of items and I want to sort them by date. And also I have this data class which contains the date. [CODE] I want to use the date variable to sort the items. Also the date should appear just one time, for example if you have a list of items in this day, it should not be like this picture below: Instead the... | android|android-jetpack-compose | 0 | 2022-09-15T14:02:41.207Z | 2,022 | 9 | 14 | 3 | 28 | 0 | 379 | 37 | 2 | 1 | true | true | false | false | false | false | zero |
73,732,605 | FireStore update more than 10 data per seconds | <p>I am using FireStore database in Android, and as per business requirements, I want to upload FireStore DB uploaded by 15 data per seconds. In this case, I can enable persistent database in Android but internally it calls many numbers of API calls. So this can be bad idea. So, in this case what I should need to do.</... | I am using FireStore database in Android, and as per business requirements, I want to upload FireStore DB uploaded by 15 data per seconds. In this case, I can enable persistent database in Android but internally it calls many numbers of API calls. So this can be bad idea. So, in this case what I should need to do. That... | android|google-cloud-firestore | 0 | 2022-09-15T14:05:17.037Z | 2,022 | 9 | 14 | 3 | 27 | 0 | 402 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
73,732,629 | Failed to publish publication 'kotlinMultiplatform' to repository 'sonatype' | <p>Hey guys i am trying to publish a KMM library to maven central i have followed this article <a href="https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-going-public-4a8k" rel="nofollow noreferrer">https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-going-public-4a... | Hey guys i am trying to publish a KMM library to maven central i have followed this article https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-going-public-4a8k but the publishment is always failing i am getting the error in the screenshot attached below: Task :shared:publishKotlinMultiplatfo... | android|maven|kotlin|gradle|kotlin-multiplatform | 0 | 2022-09-15T14:06:41.657Z | 2,022 | 9 | 14 | 3 | 20 | 0 | 876 | 76 | 5 | 2 | true | true | false | false | false | false | zero |
73,732,708 | I want to achieve the below layout, the button should be at the bottom of the screen, when the lazy column is filled, the button shouldn't go outside | <p>There is lazy column at top and below the lazy column there is enter phone number layout and add contact from phonebook layout, I want this layout to be at top when no contact is added and when I add lots of contact the enter phone number and add contact from phonebook layout scrolls along with the lazy column and g... | There is lazy column at top and below the lazy column there is enter phone number layout and add contact from phonebook layout, I want this layout to be at top when no contact is added and when I add lots of contact the enter phone number and add contact from phonebook layout scrolls along with the lazy column and goes... | android|android-studio|kotlin|android-jetpack-compose | 1 | 2022-09-15T14:12:06.327Z | 2,022 | 9 | 14 | 3 | 31 | 1 | 442 | 149 | 4 | 0 | false | false | false | false | false | false | low |
73,732,800 | How to show rewardedInterstitial ad which was loaded in mainActivity in a compose? | <p>I try to load rewarded interestitial ad in Mainactivity and then show it in one composable screen in jetpack compose. I loaded it successfully but in my RewardedShow compose screen rewardedInterstitialAd is null? I used my code from <a href="https://developers.google.com/admob/android/rewarded-interstitial" rel="nof... | I try to load rewarded interestitial ad in Mainactivity and then show it in one composable screen in jetpack compose. I loaded it successfully but in my RewardedShow compose screen rewardedInterstitialAd is null? I used my code from https://developers.google.com/admob/android/rewarded-interstitial This is my code in Ma... | kotlin|android-jetpack-compose|admob-rewardedvideoad | 0 | 2022-09-15T14:17:27.200Z | 2,022 | 9 | 14 | 3 | 32 | 1 | 384 | 82 | 3 | 2 | true | false | false | false | false | false | zero |
73,732,822 | How to modify the background of a Tab Layout tab's text when it is focused? | <p>When I tap on a Tab Layout tab, there's the focus flash that occurs for the entire tab, except when it does, you can see a black box around the text of the tab itself. I want to get rid of that black box so that when the tab is tapped, you don't see the black box around the text from the focus flash.</p>
<p>Here's w... | When I tap on a Tab Layout tab, there's the focus flash that occurs for the entire tab, except when it does, you can see a black box around the text of the tab itself. I want to get rid of that black box so that when the tab is tapped, you don't see the black box around the text from the focus flash. Here's what I mean... | android|layout|colors|background|focus | 0 | 2022-09-15T14:19:12.793Z | 2,022 | 9 | 14 | 3 | 27 | 2 | 686 | 75 | 5 | 2 | true | false | false | false | false | false | zero |
73,732,848 | Increased click area gets applied on the last view only | <p>I'm using this extension function to increase click area:</p>
<pre><code>fun View.increaseHitArea() {
val parent = parent as View
parent.doOnLayout {
val rect = Rect()
getHitRect(rect)
rect.top -= 50
rect.left -= 50
rect.bottom += 50
rect.right += 50
parent.touchDelegate = TouchDelegate(r... | I'm using this extension function to increase click area: [CODE] And in the fragment: [CODE] But it gets applied to the last view (button) only, I want to apply this to all of them, what am I missing? | java|android|kotlin | 0 | 2022-09-15T14:20:55.563Z | 2,022 | 9 | 14 | 3 | 30 | 1 | 200 | 55 | 3 | 2 | true | false | false | false | false | false | zero |
73,732,852 | AOSP - How to change default system font | <p>I am building android from PHH treble gsi.</p>
<p>How do i change the default system font (roboto) to another font (e.g Inter)?</p>
<p>Thx in advance</p> | I am building android from PHH treble gsi. How do i change the default system font (roboto) to another font (e.g Inter)? Thx in advance | android | 0 | 2022-09-15T14:21:18.913Z | 2,022 | 9 | 14 | 3 | 11 | 0 | 135 | 40 | 1 | 0 | false | true | false | false | false | false | zero |
73,732,953 | Attempt to invoke virtual method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderClient.getLastLocation()' | <p>2022-09-15 16:22:07.477 29909-29997/io.sendnow.sendnow E/AndroidRuntime: FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
Process: io.sendnow.sendnow, PID: 29909
java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderC... | 2022-09-15 16:22:07.477 29909-29997/io.sendnow.sendnow E/AndroidRuntime: FATAL EXCEPTION: Firebase-Messaging-Intent-Handle Process: io.sendnow.sendnow, PID: 29909 java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.tasks.Task com.google.android.gms.location.FusedLocationProviderClie... | android|google-play-services | 0 | 2022-09-15T14:28:24.957Z | 2,022 | 9 | 14 | 3 | 23 | 1 | 579 | 146 | 2 | 3 | true | false | false | false | false | false | zero |
73,732,957 | Trying to use bluetooth le plugin in Ionic but getting an error when bulding sdk | <p>I'm trying to use <a href="https://ionicframework.com/docs/native/bluetooth-le" rel="nofollow noreferrer">cordova-plugin-bluetoothle</a> for an Ionic app.</p>
<p>But when I try to build up a debug sdk I get the next error: <a href="https://justpaste.it/5gn3u" rel="nofollow noreferrer">https://justpaste.it/5gn3u</a><... | I'm trying to use cordova-plugin-bluetoothle for an Ionic app. But when I try to build up a debug sdk I get the next error: https://justpaste.it/5gn3u To clarify, it's a fresh Ionic v5 project with only this plugin and npm i @ionic/cordova-builders plugin installed. | java|android|cordova|ionic-framework | 0 | 2022-09-15T14:28:51.547Z | 2,022 | 9 | 14 | 3 | 16 | 0 | 266 | 80 | 4 | 0 | false | true | false | false | false | false | zero |
73,733,028 | Xamarin.Android.CSharp.targets" was not found | <p>I'm using AWS EC2- Mac. and using .Net Core without Visual Studio.</p>
<p>Getting error as in the below, could anyone suggest to sort out this</p>
<p>Error MSB4019: The imported project "/opt/VSSDK/sdk/6.0.303/Xamarin/Android/Xamarin.Android.CSharp.targets" was not found. Confirm that the expression in the... | I'm using AWS EC2- Mac. and using .Net Core without Visual Studio. Getting error as in the below, could anyone suggest to sort out this Error MSB4019: The imported project "/opt/VSSDK/sdk/6.0.303/Xamarin/Android/Xamarin.Android.CSharp.targets" was not found. Confirm that the expression in the Import declarati... | xamarin.android | 0 | 2022-09-15T14:33:19.320Z | 2,022 | 9 | 14 | 3 | 33 | 1 | 322 | 45 | 1 | 0 | false | false | false | false | false | false | zero |
73,733,049 | ProcessBuilder in my Android app: Cannot run .so file stored in jniLibs | <p>Came across this project on github: <a href="https://github.com/tytydraco/LADB" rel="nofollow noreferrer">https://github.com/tytydraco/LADB</a></p>
<p>Even though I don't read Kotlin, as far as I can tell, the developer is not importing methods from the libadb.so into his own code; he is simply treating the libadb.s... | Came across this project on github: https://github.com/tytydraco/LADB Even though I don't read Kotlin, as far as I can tell, the developer is not importing methods from the libadb.so into his own code; he is simply treating the libadb.so as an executable. So, he just executes the file along with the actual command by r... | java|android|exception|adb|processbuilder | 0 | 2022-09-15T14:34:49.777Z | 2,022 | 9 | 14 | 3 | 31 | 0 | 731 | 71 | 5 | 2 | true | true | false | false | false | false | zero |
73,733,068 | How to read android notifications on PC via python | <p>I am working on a project on Raspberry Pi. In the project, I want to receive incoming notification (of any app) from android phone and print full text on the terminal. Is there any API I can work with to receive texts from notification? Or any app that could run in the background on android device and send notificat... | I am working on a project on Raspberry Pi. In the project, I want to receive incoming notification (of any app) from android phone and print full text on the terminal. Is there any API I can work with to receive texts from notification? Or any app that could run in the background on android device and send notification... | python|android|android-notifications|raspberry-pi3|raspberry-pi4 | -1 | 2022-09-15T14:35:57.183Z | 2,022 | 9 | 14 | 3 | 19 | 0 | 392 | 50 | 5 | 0 | false | true | false | false | false | true | negative |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.