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,785,065 | jetpack Compose row/column onClick navigation | <p>Please bear with me I don't know how to properly phase my question, but I'll try my best.</p>
<p><br />
<a href="https://i.stack.imgur.com/g88iK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g88iK.jpg" alt="enter image description here" /></a></p>
<p>I made the screen above by putting <em>mulipl... | Please bear with me I don't know how to properly phase my question, but I'll try my best. I made the screen above by putting muliple composables together. I gave the composable carrying the row an onClick function; [CODE] Like I said earlier I put multiple composables together, to form the image above. I arranged the m... | kotlin|android-jetpack-compose|android-jetpack|jetpack-compose-navigation | 0 | 2022-09-20T10:12:19.177Z | 2,022 | 9 | 10 | 1 | 39 | 1 | 1,059 | 45 | 4 | 3 | true | false | false | false | false | false | zero |
73,785,145 | MAUI (Android) SurfaceView | <p>I need a <code>Android.Views.SurfaceView</code> component to draw on.<br>
I placed a <code>Microsoft.Maui.Controls.BoxView</code> component then tried to reach it's platform object using <br> <code>var platformHandler = compname.Handler.PlatformView;</code> but I receive <code>Android.Views.View</code> which doesn't... | I need a Android.Views.SurfaceView component to draw on. I placed a Microsoft.Maui.Controls.BoxView component then tried to reach it's platform object using var platformHandler = compname.Handler.PlatformView; but I receive Android.Views.View which doesn't have/relate a Android.Views.Surface object like I need. Is ther... | android|xamarin|xamarin.forms|maui | 0 | 2022-09-20T10:19:13.790Z | 2,022 | 9 | 10 | 1 | 35 | 1 | 463 | 26 | 4 | 0 | false | false | false | false | false | false | zero |
73,785,261 | Can I push file to multiple devices using one adb command? | <p>as I got 10 android devices connected through Wi-Fi, is there any way to push same file to them in one command?</p> | as I got 10 android devices connected through Wi-Fi, is there any way to push same file to them in one command? | android|adb | 0 | 2022-09-20T10:30:24.013Z | 2,022 | 9 | 10 | 1 | 24 | 1 | 111 | 58 | 2 | 0 | false | false | false | false | false | false | zero |
73,785,276 | How to show a Toast using a RunOnUIThread method | <p>I have been trying to figure out why the toast is not showing. from the code, the onReceive method does get executed and change the button color, but the Toast does not display. I dont know why.</p>
<pre><code> client = new Client(
(publisher, topic, params) -> runOnUiThread(
... | I have been trying to figure out why the toast is not showing. from the code, the onReceive method does get executed and change the button color, but the Toast does not display. I dont know why. [CODE] Imports [CODE] Class name [CODE] | java|android | 0 | 2022-09-20T10:31:38.673Z | 2,022 | 9 | 10 | 1 | 26 | 1 | 234 | 48 | 2 | 3 | true | false | false | false | false | false | zero |
73,785,353 | Can not start on boot when add more broadcast receive | <p>I found many topic but no case fit for my question.
The first my app working smooth, it is always startup with device by code bellow:</p>
<p>In AndroidManifest:</p>
<pre><code> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
</code></pre>
<p>and receiver:</p>
<pre><code> ... | I found many topic but no case fit for my question. The first my app working smooth, it is always startup with device by code bellow: In AndroidManifest: [CODE] and receiver: [CODE] And class StartOnBoot [CODE] And now I added 2 broadcast to listen state of SD card and SIM card. But when I finish, My app can not start ... | android|broadcastreceiver | 0 | 2022-09-20T10:37:43.453Z | 2,022 | 9 | 10 | 1 | 27 | 0 | 933 | 53 | 2 | 6 | true | true | false | false | false | false | zero |
73,785,356 | I want weekly Sleep data from google fit | <p>I am not getting weekly data from google fit (Yes, There is data in google fit which I have track using watch), but Yes I am getting today's date data.
I am attaching code snippet.
Start date = "2022-09-13T00:00:00Z"
End date = "2022-09-20T23:59:59Z"</p>
<pre><code>private fun readSleepSessions(s... | I am not getting weekly data from google fit (Yes, There is data in google fit which I have track using watch), but Yes I am getting today's date data. I am attaching code snippet. Start date = "2022-09-13T00:00:00Z" End date = "2022-09-20T23:59:59Z" [CODE] | android|android-studio|oauth-2.0|google-api|google-fit | 0 | 2022-09-20T10:38:06.283Z | 2,022 | 9 | 10 | 1 | 15 | 0 | 277 | 40 | 5 | 1 | true | true | false | false | false | false | zero |
73,785,411 | Dependency injection at Singleton instance with hilt-android | <p>Have a question while using hilt-android.<br />
And I'm making some network module with retrofit, and handling with hilt.</p>
<pre class="lang-kotlin prettyprint-override"><code>@InstallIn(SingletonComponent::class)
object NetworkModule {
@Singleton
@Provides
fun provideBaseRetrofit(
@BaseHttp... | Have a question while using hilt-android. And I'm making some network module with retrofit, and handling with hilt. [CODE] At this point, my question is, @singleton annotation. At first, I attach singleton annotation to every single object, such as httpClient/requestInterceptor/responseInterceptor However, the object's... | android|kotlin|dependency-injection|singleton|dagger-hilt | 0 | 2022-09-20T10:42:36.717Z | 2,022 | 9 | 10 | 1 | 20 | 0 | 962 | 60 | 5 | 1 | true | true | false | false | false | false | zero |
73,785,424 | How to resolve STOMP NoSuchElementException in Android | <p>guys!</p>
<p>I'm developing an android application and want to integrate notifications using stomp over websockets. At the backend we use Spring Boot app with Spring websockets & RabbitMQ and Stomp.</p>
<p>I'm using the specified library <a href="https://github.com/NaikSoftware/StompProtocolAndroid" rel="nofollo... | guys! I'm developing an android application and want to integrate notifications using stomp over websockets. At the backend we use Spring Boot app with Spring websockets & RabbitMQ and Stomp. I'm using the specified library StompProtocolAndroid 1.6.6 and faced with issue below: Source code: [CODE] Here is the stacktrac... | java|android | 0 | 2022-09-20T10:44:05.153Z | 2,022 | 9 | 10 | 1 | 25 | 0 | 329 | 54 | 2 | 2 | true | true | false | false | false | false | zero |
73,785,447 | how can i use a Custom Bottom Navigation (Chip Navigation Bar) With Navigation Component | <p>So i have a project that am still building, i was using a normal bottom navigation with navigation component and it worked quite alright, but then i decided to use an external custom bottom nav bar called ChipNavigationBar and i am unable to link it with NavController.</p>
<p>so does anyone know how can i link my cu... | So i have a project that am still building, i was using a normal bottom navigation with navigation component and it worked quite alright, but then i decided to use an external custom bottom nav bar called ChipNavigationBar and i am unable to link it with NavController. so does anyone know how can i link my custom botto... | java|android|uinavigationcontroller|bottomnavigationview | 1 | 2022-09-20T10:46:10.010Z | 2,022 | 9 | 10 | 1 | 18 | 0 | 404 | 88 | 4 | 1 | true | true | false | false | false | false | low |
73,785,455 | Set custom font for message text of AlertDialog | <p>I have a simple alert dialog to being shown in my app and I want to set custom font for title and message texts, even though I set a style by adding fontFamily attr. into it it doesnt effect on message text(title got the correct font somehow)</p>
<p>what I've tried so far is below:</p>
<p>ContextThemeWrapper</p>
<pr... | I have a simple alert dialog to being shown in my app and I want to set custom font for title and message texts, even though I set a style by adding fontFamily attr. into it it doesnt effect on message text(title got the correct font somehow) what I've tried so far is below: ContextThemeWrapper [CODE] Style [CODE] Pass... | android|android-alertdialog|android-view | 2 | 2022-09-20T10:46:31.290Z | 2,022 | 9 | 10 | 1 | 52 | 2 | 374 | 47 | 3 | 3 | true | false | false | false | false | false | low |
73,785,606 | How to fix api call working in browser but 403 in android studio | <p>Hi i'm wondering why my API call works in browser but when called in Android studio I get a 403 error.
The Debug</p>
<pre><code>D/OkHttp: <-- 403 https://api.boblop.com/search/api/rest/v3/catalog/products/search/keyword?q=asesea&key=esaesaesae (106ms)
D/OkHttp: server: AkamaiGHost
D/OkHttp: mime-version: 1.0
... | Hi i'm wondering why my API call works in browser but when called in Android studio I get a 403 error. The Debug [CODE] | android|api|kotlin|debugging|retrofit | 3 | 2022-09-20T10:59:44.040Z | 2,022 | 9 | 10 | 1 | 44 | 2 | 119 | 64 | 5 | 1 | true | false | false | false | false | false | low |
73,785,822 | Mapbox android studio - Location component puck randomly drifts with no user movement | <p>The initial location is accurate upon startup but after maybe 30s the puck starts drifting on its own around the close proximity and the location radius grows larger randomly and back down</p>
<p>I cant manually recreate it, this just happens randomly, it's as if it is going between different location providers</p>
... | The initial location is accurate upon startup but after maybe 30s the puck starts drifting on its own around the close proximity and the location radius grows larger randomly and back down I cant manually recreate it, this just happens randomly, it's as if it is going between different location providers See my main ac... | android-studio|location|mapbox|mapbox-android | 0 | 2022-09-20T11:17:17.363Z | 2,022 | 9 | 11 | 1 | 9 | 0 | 477 | 85 | 4 | 1 | true | true | false | false | false | false | zero |
73,785,860 | Behaviour of Android / iOS when receiving Bluetooth LE communcation during doze | <p>I'm developing an app in Ionic/Capacitor/Vue for both iOS and Android, but now I am in need of some guidance.</p>
<p>The app will communicate with a satellite antenna over Bluetooth LE. I'm using <a href="https://github.com/katzer/cordova-plugin-background-mode" rel="nofollow noreferrer">https://github.com/katzer/co... | I'm developing an app in Ionic/Capacitor/Vue for both iOS and Android, but now I am in need of some guidance. The app will communicate with a satellite antenna over Bluetooth LE. I'm using https://github.com/katzer/cordova-plugin-background-mode to keep the app running even when the screen is off. However I'm not in co... | android|ios|capacitor|android-doze|background-mode | 0 | 2022-09-20T11:19:47.313Z | 2,022 | 9 | 11 | 1 | 25 | 1 | 948 | 79 | 5 | 0 | false | false | false | false | false | false | zero |
73,785,925 | Facing issue in API response: java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY | <p>I am using retrofit rxjava to get data from server. My API reponse contains a list of products and it has option of thumbnails but issue occurse when there is no thumbnail API returns null arrayand not the string. So, I get error like "java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at li... | I am using retrofit rxjava to get data from server. My API reponse contains a list of products and it has option of thumbnails but issue occurse when there is no thumbnail API returns null arrayand not the string. So, I get error like "java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line ... | android|kotlin|retrofit2|rx-java | 0 | 2022-09-20T11:25:45.590Z | 2,022 | 9 | 11 | 1 | 43 | 1 | 476 | 100 | 4 | 2 | true | false | false | false | false | false | zero |
73,785,936 | I am Not Able to connect .NET MAUI Project with MS SQL Connection | <p>I am Using MS SQL in .NET Maui Project and I am not able to get connected . the problem is that when i am using System.data.Sqlclient it is not showing me mssqlconnection object so I tried with Microsoft.data.mssqlclient and this time it is giving error "Connection was established but there is problem during pr... | I am Using MS SQL in .NET Maui Project and I am not able to get connected . the problem is that when i am using System.data.Sqlclient it is not showing me mssqlconnection object so I tried with Microsoft.data.mssqlclient and this time it is giving error "Connection was established but there is problem during pre l... | c#|android|xamarin|maui | -1 | 2022-09-20T11:26:21.730Z | 2,022 | 9 | 11 | 1 | 24 | 0 | 388 | 65 | 4 | 1 | true | true | false | false | false | true | negative |
73,785,976 | Android 13. Do I need to add POST_NOTIFICATIONS permission when use FCM? | <p>Do I need to add permission (from API 33) <code>android:name="android.permission.POST_NOTIFICATIONS</code> to <strong>MY</strong> manifest if I 'm using FCM.</p>
<p>From documentation:</p>
<blockquote>
<p>By default, the FCM SDK (version 23.0.6 or higher) includes the
POST_NOTIFICATIONS permission defined in th... | Do I need to add permission (from API 33) android:name="android.permission.POST_NOTIFICATIONS to MY manifest if I 'm using FCM. From documentation: By default, the FCM SDK (version 23.0.6 or higher) includes the POST_NOTIFICATIONS permission defined in the manifest. That is why I did not quite understand whether i... | android|firebase-cloud-messaging|android-permissions|runtime-permissions|android-13 | 0 | 2022-09-20T11:29:02.247Z | 2,022 | 9 | 11 | 1 | 45 | 1 | 710 | 72 | 5 | 0 | false | false | false | false | false | false | zero |
73,785,984 | How to fix "Error: Malformed version number string 11:23:18 up 3 days, 20:38, 2 users, load average: 0.18, 0.10, 0.04" | <p>I am using Ubuntu 16 in Azure Virtual machine. Whenever i tried to inject a payload in a apk file using "msfvenom", i encountered this problem "Error: Malformed version number string 11:23:18 up 3 days, 20:38, 2 users, load average: 0.18, 0.10, 0.04".</p>
<p>My command for injecting- "msfv... | I am using Ubuntu 16 in Azure Virtual machine. Whenever i tried to inject a payload in a apk file using "msfvenom", i encountered this problem "Error: Malformed version number string 11:23:18 up 3 days, 20:38, 2 users, load average: 0.18, 0.10, 0.04". My command for injecting- "msfvenom -p andr... | android|metasploit | -2 | 2022-09-20T11:29:23.587Z | 2,022 | 9 | 11 | 1 | 9 | 0 | 665 | 118 | 2 | 0 | false | true | false | false | false | true | negative |
73,785,988 | Android Studio won't open after update | <p>After updating Android Studio I can't open, all the time it show me this error message. Before I haven't any problems, it is first time.</p>
<p><a href="https://i.stack.imgur.com/g4BtB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g4BtB.png" alt="enter image description here" /></a></p> | After updating Android Studio I can't open, all the time it show me this error message. Before I haven't any problems, it is first time. | android|windows|android-studio|window | 0 | 2022-09-20T11:29:31.040Z | 2,022 | 9 | 11 | 1 | 17 | 1 | 136 | 38 | 4 | 0 | false | false | false | false | false | false | zero |
73,786,192 | How to embed a Flutter Fragment inside a recycler view of native android | <p>I am adding Flutter as a module in a native android app. In the native app, I have a recycler view in which a single component of the list needs to be replaced by flutter fragment. I have gone through the Flutter <a href="https://docs.flutter.dev/development/add-to-app/android/add-flutter-view" rel="nofollow norefer... | I am adding Flutter as a module in a native android app. In the native app, I have a recycler view in which a single component of the list needs to be replaced by flutter fragment. I have gone through the Flutter docs , but was not successful. Any sort of help is highly appreciated! | android|flutter|android-recyclerview|flutter-module | 0 | 2022-09-20T11:46:55.607Z | 2,022 | 9 | 11 | 1 | 12 | 0 | 283 | 72 | 4 | 0 | false | true | false | false | false | false | zero |
73,786,266 | Failed to launch emulator. Reason No emulators found as an output of `emulator -list-avds` | <p>I try to build a android app with react-native but when i try to lunch the emulator that error pop"Failed to launch emulator. Reason: No emulators found as an output of <code>emulator -list-avds</code>" (i have a amd core and windows)</p> | I try to build a android app with react-native but when i try to lunch the emulator that error pop"Failed to launch emulator. Reason: No emulators found as an output of emulator -list-avds " (i have a amd core and windows) | android|react-native|emulation | -1 | 2022-09-20T11:53:05.807Z | 2,022 | 9 | 11 | 1 | 24 | 0 | 232 | 90 | 3 | 0 | false | true | false | false | false | true | negative |
73,786,267 | Accessibility Service + Recycler, how can I catch this moment? | <p>Help me please.
I use android accessibility service to scroll my recycler. Everything OK with scrolling process. But I can't understand, how can I define moment, when recycler is finished. I need to tell user something like: This is the end, there is nothing to scroll more.</p>
<p>Look at this animation</p>
<p><a hr... | Help me please. I use android accessibility service to scroll my recycler. Everything OK with scrolling process. But I can't understand, how can I define moment, when recycler is finished. I need to tell user something like: This is the end, there is nothing to scroll more. Look at this animation https://gifyu.com/imag... | android|accessibility|android-service|accessibilityservice|android-service-binding | 0 | 2022-09-20T11:53:11.030Z | 2,022 | 9 | 11 | 1 | 28 | 0 | 436 | 62 | 5 | 0 | false | true | false | false | false | false | zero |
73,786,348 | Gradle Error: Build failed with an exception, a problem occured while configuring project ':Demo' | <p>While adding a project as a module</p>
<p><strong>What went wrong:</strong>
It is too late to modify excludes
It has already been read to configure the project.</p>
<p>Consider either moving this call to be during evaluation, are using the variant API.</p>
<p><strong>Steps followed:</strong> File -> Import module... | While adding a project as a module What went wrong: It is too late to modify excludes It has already been read to configure the project. Consider either moving this call to be during evaluation, are using the variant API. Steps followed: File -> Import module -> selec project file Gradle Failed Exception | android|gradle | 0 | 2022-09-20T11:57:57.033Z | 2,022 | 9 | 11 | 1 | 27 | 0 | 305 | 97 | 2 | 0 | false | true | false | false | false | false | zero |
73,786,367 | How to add vertical scrollable on slider image? | <p>I have learning app development. I have created one app on that i have added slider images, and downside i have added list of Button. But whenever i scroll vertical only Button moving but i want slider image also vertical scrollable.</p>
<p>Is there anyone wgo can help me?..</p> | I have learning app development. I have created one app on that i have added slider images, and downside i have added list of Button. But whenever i scroll vertical only Button moving but i want slider image also vertical scrollable. Is there anyone wgo can help me?.. | android-studio | -1 | 2022-09-20T11:59:10.740Z | 2,022 | 9 | 11 | 1 | 12 | 0 | 268 | 47 | 1 | 0 | false | true | false | false | false | true | negative |
73,786,382 | Xamarin.Forms. Android.Views.InflateException | <p>I have recently migrated code to support AndroidX and new versions of Xamarin.Forms ()Im trying to show a scanner activity which holds surface view in a linear layout, but it crashes on SetContentView, the Inner exception says - Binary XML file line #18 in com.dmi.ocuityaiqa:layout/select_dialog_multichoice_materia... | I have recently migrated code to support AndroidX and new versions of Xamarin.Forms ()Im trying to show a scanner activity which holds surface view in a linear layout, but it crashes on SetContentView, the Inner exception says - Binary XML file line #18 in com.dmi.ocuityaiqa:layout/select_dialog_multichoice_material: E... | android|firebase|xamarin|xamarin.android|surfaceview | 0 | 2022-09-20T12:00:37.597Z | 2,022 | 9 | 12 | 1 | 32 | 0 | 529 | 45 | 5 | 2 | true | true | false | false | false | false | zero |
73,786,592 | Android kiosk mode and launch only one app | <p>I am building kiosk application (Android 10) and I need to run only one app on my tablet. I want also to upload my app to PlayStore and download it.</p>
<p>I am reading a lot of posts as a conclusion I don't know what is the best choice.</p>
<p>Let me explain what I did.</p>
<ol>
<li>I implemented code that enables ... | I am building kiosk application (Android 10) and I need to run only one app on my tablet. I want also to upload my app to PlayStore and download it. I am reading a lot of posts as a conclusion I don't know what is the best choice. Let me explain what I did. I implemented code that enables kiosk mode by pinning applicat... | android|android-launcher|kiosk-mode | 0 | 2022-09-20T12:18:47.103Z | 2,022 | 9 | 12 | 1 | 15 | 1 | 1,628 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
73,786,598 | Migrating to Hilt from Dagger on a MVC-project | <p>I'm trying to migrate an existing project to Hilt (from Dagger), and I've run into an issue that I can't figure out. Since it is an existing project using (a form of) MVC-structure, most guides don't seem to account for my setup, since it doesn't rely on ViewModels.</p>
<p>I've started migrating the activity:</p>
<p... | I'm trying to migrate an existing project to Hilt (from Dagger), and I've run into an issue that I can't figure out. Since it is an existing project using (a form of) MVC-structure, most guides don't seem to account for my setup, since it doesn't rely on ViewModels. I've started migrating the activity: [CODE] So far, s... | android|dependency-injection|dagger-hilt | 0 | 2022-09-20T12:19:05.263Z | 2,022 | 9 | 12 | 1 | 23 | 0 | 1,538 | 46 | 3 | 4 | true | true | false | false | false | false | zero |
73,786,621 | How to screen record in Android 12 | <p>In my application I want create screen recorder and I want when complete <code>CountDownTimer</code> automatically call screen recorder.<br>
I write below codes, but but after finish timer not start recorder service.<br></p>
<p><strong>My Codes :</strong></p>
<pre><code>private CountDownTimer reverseTimer(int second... | In my application I want create screen recorder and I want when complete CountDownTimer automatically call screen recorder. I write below codes, but but after finish timer not start recorder service. My Codes : [CODE] I write log code for resultCode and show me 0 . I allow access for recorder permission but again show ... | android|service | 0 | 2022-09-20T12:20:26.360Z | 2,022 | 9 | 12 | 1 | 13 | 0 | 360 | 34 | 2 | 1 | true | true | false | false | false | false | zero |
73,786,640 | Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform artifact 'annotation-experimental.aar | <p>I am new to Kotlin and I just created my first application using Kotlin in Android Studio. However, I am getting this error message below. I couldn't start because my app won't build. I already tried <code>Invalidate Caches/Restart</code>but nothing happens.</p>
<p>JDK version: 11.0.16.1,
Android Studio version: 3.4... | I am new to Kotlin and I just created my first application using Kotlin in Android Studio. However, I am getting this error message below. I couldn't start because my app won't build. I already tried Invalidate Caches/Restart but nothing happens. JDK version: 11.0.16.1, Android Studio version: 3.4.1 [CODE] My dependenc... | android|android-studio|kotlin | 0 | 2022-09-20T12:21:40.903Z | 2,022 | 9 | 12 | 1 | 26 | 2 | 331 | 121 | 3 | 2 | true | false | false | false | false | false | zero |
73,786,680 | libbinder_ndk doesnt open /dev/vndbinder | <p>I have a service process using binder and runs under product partition. To connect to this service from Apps, I have written a shared library which uses AIBinder (eventually link with libbinder_ndk.so). However, I can't use /dev/binder as its only meant for framework services. I used</p>
<p><code> ::android::Process... | I have a service process using binder and runs under product partition. To connect to this service from Apps, I have written a shared library which uses AIBinder (eventually link with libbinder_ndk.so). However, I can't use /dev/binder as its only meant for framework services. I used ::android::ProcessState::initWithDr... | android|android-ndk|android-source|android-binder|binders | 0 | 2022-09-20T12:26:03.033Z | 2,022 | 9 | 12 | 1 | 35 | 0 | 932 | 40 | 5 | 0 | false | true | false | false | false | false | zero |
73,786,730 | Screen flickering on Android Studio emulator | <p>I am developing an Android app with composable and whenever I run the emulator the screen of it flickers like dead pixels on a real android phone <a href="https://i.stack.imgur.com/pJJL3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pJJL3.png" alt="like this" /></a></p>
<p>I tried deleting and r... | I am developing an Android app with composable and whenever I run the emulator the screen of it flickers like dead pixels on a real android phone I tried deleting and re-adding emulator but still it persist. I am using Pixel XL with API 33 (ABI x86_64 Android Tiramisu) Configuration of laptop : AMD Ryzen 5 4600H, 8 Gb ... | android|android-studio|composable | 1 | 2022-09-20T12:29:38.723Z | 2,022 | 9 | 12 | 1 | 33 | 0 | 351 | 44 | 3 | 0 | false | true | false | false | false | false | low |
73,786,800 | why is my retrofit call is returning an unsuccessful response? | <p>so basically am using retrofit to get data from an api called calorieNinja and for some reason i keep getting an unsuccessful response</p>
<p>here is the retrofit code :</p>
<pre><code>retrofit = new Retrofit.Builder().baseUrl("https://api.calorieninjas.com/v1/")
.addConverterFactory(Gs... | so basically am using retrofit to get data from an api called calorieNinja and for some reason i keep getting an unsuccessful response here is the retrofit code : [CODE] btw am using 2 different types of meal objects because one is responsible of getting the data from the api and one is used as an entity for Room datab... | java|android|api|retrofit2 | -1 | 2022-09-20T12:34:51.567Z | 2,022 | 9 | 12 | 1 | 28 | 1 | 580 | 62 | 4 | 2 | true | false | false | false | false | true | negative |
73,786,806 | Android AudioManager.setRingerMode(int ringerMode) is not working on OnePlus device | <p>In my application I have to toggle the user between silent and normal ring modes</p>
<p>Before calling the AudioManager.setRingerMode(int ringerMode), I was requesting the <code>android.permission.ACCESS_NOTIFICATION_POLICY</code> permission & checking <code>notification.isNotificationPolicyAccessGranted</code><... | In my application I have to toggle the user between silent and normal ring modes Before calling the AudioManager.setRingerMode(int ringerMode), I was requesting the android.permission.ACCESS_NOTIFICATION_POLICY permission & checking notification.isNotificationPolicyAccessGranted It is working fine on most of the device... | android|audio|android-audiomanager|oneplusx | 0 | 2022-09-20T12:35:09.170Z | 2,022 | 9 | 12 | 1 | 9 | 0 | 398 | 83 | 4 | 0 | false | true | false | false | false | false | zero |
73,786,916 | How can I achieve attached design in xamarin forms | <p><a href="https://i.stack.imgur.com/natnB.png" rel="nofollow noreferrer">Design to achieve</a></p>
<p>I am looking for a way to achieve this in Xamarin Form. Designer wants it to be exactly like this on both android and iOS</p>
<p>I did not find any way to highlight centred item in ListView/Collection View.</p>
<p>Fo... | Design to achieve I am looking for a way to achieve this in Xamarin Form. Designer wants it to be exactly like this on both android and iOS I did not find any way to highlight centred item in ListView/Collection View. For native On iOS I know we can show three UIPicker next to each other as it does not need to open as ... | xamarin|xamarin.forms|xamarin.android|xamarin.ios | -1 | 2022-09-20T12:43:00.740Z | 2,022 | 9 | 12 | 1 | 30 | 0 | 932 | 50 | 4 | 0 | false | true | false | false | false | true | negative |
73,786,920 | Error: The element type "activity" must be terminated by the matching end-tag "</activity>" | <p>when i try to run my code, i got this error below:</p>
<p>Execution failed for task ':app:processDebugMainManifest'.</p>
<blockquote>
<p>com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 3; The element type "activity" must be termina... | when i try to run my code, i got this error below: Execution failed for task ':app:processDebugMainManifest'. com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 3; The element type "activity" must be terminated by the matching end-tag &q... | android|flutter|android-studio|dart | -1 | 2022-09-20T12:43:29.370Z | 2,022 | 9 | 12 | 1 | 29 | 0 | 418 | 91 | 4 | 1 | true | true | false | false | false | true | negative |
73,786,966 | Android TextView using setText(string) every second - Perfomance issue (up to 16.6 ms) | <ol>
<li>No layout hierarchy problem (just a single TextView)</li>
<li>No measure problem (TextView has fixed size)</li>
<li>In this example a single char per second</li>
<li>Release version of project (No debug for test perfomance)</li>
</ol>
<p>How can i draw text on UI below 16 ms? If this is TextView issue , there ... | No layout hierarchy problem (just a single TextView) No measure problem (TextView has fixed size) In this example a single char per second Release version of project (No debug for test perfomance) How can i draw text on UI below 16 ms? If this is TextView issue , there is another way to draw text below 16 ms? Code from... | android|performance|textview|rendering|settext | 0 | 2022-09-20T12:47:29.187Z | 2,022 | 9 | 12 | 1 | 21 | 0 | 645 | 86 | 5 | 2 | true | true | false | false | false | false | zero |
73,787,027 | lateinit property fakeAuthRepository has not been initialized unit testing | <p>I am using unit testing when I run test I am getting following exception</p>
<p>ateinit property fakeAuthRepository has not been initialized
kotlin.UninitializedPropertyAccessException: lateinit property fakeAuthRepository has not been initialized</p>
<p>below my ViewModel test where test giving an exception</p>
<pr... | I am using unit testing when I run test I am getting following exception ateinit property fakeAuthRepository has not been initialized kotlin.UninitializedPropertyAccessException: lateinit property fakeAuthRepository has not been initialized below my ViewModel test where test giving an exception [CODE] | android|unit-testing|kotlin|mockito|android-viewmodel | 0 | 2022-09-20T12:51:23.933Z | 2,022 | 9 | 12 | 1 | 48 | 1 | 302 | 74 | 5 | 1 | true | false | false | false | false | false | zero |
73,787,095 | How to make the scroll controller in a Textfield follow the cursor as the user is typing | <p>I would need help on this issue , the thing is that i am not using the keyboad to enter letters into the text controller of the textfield , i am using a custom keyboard for numbers , but I want that as the text is written , the scroll controller follows the cursor <a href="https://i.stack.imgur.com/3gs1G.jpg" rel="n... | I would need help on this issue , the thing is that i am not using the keyboad to enter letters into the text controller of the textfield , i am using a custom keyboard for numbers , but I want that as the text is written , the scroll controller follows the cursor this is my app , and this is the samsung phone call app... | android|flutter|dart|textfield | -1 | 2022-09-20T12:56:17.123Z | 2,022 | 9 | 12 | 1 | 24 | 0 | 629 | 88 | 4 | 1 | true | true | false | false | false | true | negative |
73,787,102 | After a key rotation do I still need the old key to sign the update of the app? | <p>I have read here, <a href="https://source.android.com/docs/security/features/apksigning/v3" rel="nofollow noreferrer">https://source.android.com/docs/security/features/apksigning/v3</a>, and here <a href="https://www.xda-developers.com/apk-signature-scheme-v3-key-rotation/" rel="nofollow noreferrer">https://www.xda-... | I have read here, https://source.android.com/docs/security/features/apksigning/v3 , and here https://www.xda-developers.com/apk-signature-scheme-v3-key-rotation/ , that I rotate keys with the V3 signing and be able to sign the apk with another key. Do I still need the old key to sign it? Or signing it with the new key ... | android|android-signing|apksigner|apk-signing|key-rotation | 1 | 2022-09-20T12:56:53.347Z | 2,022 | 9 | 12 | 1 | 20 | 0 | 330 | 79 | 5 | 0 | false | true | false | false | false | false | low |
73,787,115 | Android project build issue | <p><strong>Android project build fail</strong></p>
<p>In android studio (updated ide - dolphin) build failed , please suggest any one, how can we solve this error.</p>
<p><a href="https://i.stack.imgur.com/GkqQB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GkqQB.png" alt="enter image description h... | Android project build fail In android studio (updated ide - dolphin) build failed , please suggest any one, how can we solve this error. | java|android|android-studio|android-gradle-plugin|oracle-jdk-17 | 0 | 2022-09-20T12:57:54.467Z | 2,022 | 9 | 12 | 1 | 31 | 2 | 136 | 27 | 5 | 0 | false | false | false | false | false | false | zero |
73,787,182 | How to use the same website host in different applications? | <p>I want to open my applications using a link to my one site, but I'm facing such a problem that I can't add the site host in "open by default" to two of my applications at once. When I try to do this I get the error "This host is already in use by another application". Can I somehow use the host f... | I want to open my applications using a link to my one site, but I'm facing such a problem that I can't add the site host in "open by default" to two of my applications at once. When I try to do this I get the error "This host is already in use by another application". Can I somehow use the host for ... | android|android-studio|manifest | 0 | 2022-09-20T13:03:39.300Z | 2,022 | 9 | 13 | 1 | 16 | 0 | 434 | 59 | 3 | 2 | true | true | false | false | false | false | zero |
73,787,209 | how to align the AppBar title to right in flutter? | <pre><code>import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(
home: Scaffold(
appBar: AppBar(
toolbarHeight: 50.0,
title: const Text(
'This is the title !',
style: TextStyle(color: Colors.black),
),
backg... | [CODE] | android|flutter|flutter-layout|flutter-appbar | 0 | 2022-09-20T13:05:46.553Z | 2,022 | 9 | 13 | 1 | 41 | 4 | 6 | 50 | 4 | 1 | true | false | false | false | false | false | zero |
73,787,265 | Unable to resolve 'com.github.bumptech.glide:glide:4.13.2' | <p>I'm trying to use glide in Android Studio to add images. But when I added It, It showing me this error: <strong><strong><code>Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve 'com.github.bumptech.glide:glide:4.13.2'</code></strong></strong></p>
<p>app:gradll</p>
<pre><code>dependenci... | I'm trying to use glide in Android Studio to add images. But when I added It, It showing me this error: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve 'com.github.bumptech.glide:glide:4.13.2' app:gradll [CODE] | java|android|gradle | 1 | 2022-09-20T13:10:28.490Z | 2,022 | 9 | 13 | 1 | 36 | 1 | 244 | 58 | 3 | 1 | true | false | false | false | false | false | low |
73,787,289 | How to go to main page after buttom back with ZXingScannerPage in C# xamarin forms android? | <p>I'm working with C# xamarin forms android and I'm trying to go back using <code>OnBackButtonPressed</code>. It kind of works but my problem is that the user has to touch 2 times to go back. I will left a photo below to explain my point. But basically the user goes from Home page to Scaner page and when he touch butt... | I'm working with C# xamarin forms android and I'm trying to go back using OnBackButtonPressed . It kind of works but my problem is that the user has to touch 2 times to go back. I will left a photo below to explain my point. But basically the user goes from Home page to Scaner page and when he touch buttom back when he... | c#|xamarin|xamarin.forms|xamarin.android | 0 | 2022-09-20T13:11:51.673Z | 2,022 | 9 | 13 | 1 | 23 | 0 | 585 | 91 | 4 | 1 | true | true | false | false | false | false | zero |
73,787,540 | Alternative to setColorFilter(int,Mode) | <p>I have seen that the following method is deprecated : <code>public void setColorFilter (int color, PorterDuff.Mode mode)</code>. In the Android documentation I have seen the following recommendation:</p>
<pre><code>This method was deprecated in API level 29.
use setColorFilter(android.graphics.ColorFilter) with an i... | I have seen that the following method is deprecated : public void setColorFilter (int color, PorterDuff.Mode mode) . In the Android documentation I have seen the following recommendation: [CODE] I am trying to replace that method to a non-deprecated method but I have not achieved it. I have seen similar posts to this o... | java|android|filter|imageview | -1 | 2022-09-20T13:29:55.497Z | 2,022 | 9 | 13 | 1 | 45 | 1 | 614 | 39 | 4 | 3 | true | false | false | false | false | true | negative |
73,787,546 | How to integrate authentication and database in Firebase for Flutter App? | <p>I am currently working on a Flutter project right now, and I am just new to these which is why Im a bit confused on how things work. What is the use of Firebase's Authentication if the Real Time Database is not connected to it? I mean it should authenticate based on data stored in the database right? But how will I ... | I am currently working on a Flutter project right now, and I am just new to these which is why Im a bit confused on how things work. What is the use of Firebase's Authentication if the Real Time Database is not connected to it? I mean it should authenticate based on data stored in the database right? But how will I int... | flutter|firebase|android-studio|dart | 0 | 2022-09-20T13:30:12.313Z | 2,022 | 9 | 13 | 1 | 27 | 1 | 701 | 73 | 4 | 0 | false | false | false | false | false | false | zero |
73,787,555 | Android Studio menu designer using wrong SearchView | <p>I was having an error when trying to <a href="https://developer.android.com/develop/ui/views/search/search-dialog" rel="nofollow noreferrer">create a search interface in an Android App</a>. The error was 'android.widget.SearchView cannot be cast to androidx.appcompat.widget.SearchView'. I tracked it down to the fact... | I was having an error when trying to create a search interface in an Android App . The error was 'android.widget.SearchView cannot be cast to androidx.appcompat.widget.SearchView'. I tracked it down to the fact that the following code was failing to cast. [CODE] The import I was using was [CODE] It turned out the item ... | android|android-studio|kotlin | 1 | 2022-09-20T13:30:50.250Z | 2,022 | 9 | 13 | 1 | 27 | 1 | 689 | 51 | 3 | 2 | true | false | false | false | false | false | low |
73,787,562 | flutter, kotlin gradle problem while using location package | <p>I got the next problem after I insert the package of location, I am trying to use location in my app but the problem said my Kotlin gradle is higher I've tried to change it manually from the Gradle file in the app level but the problem has not solved it appears in the 'android' instead any help please<a href="https:... | I got the next problem after I insert the package of location, I am trying to use location in my app but the problem said my Kotlin gradle is higher I've tried to change it manually from the Gradle file in the app level but the problem has not solved it appears in the 'android' instead any help please the image shows t... | android|flutter|kotlin|package|location | 0 | 2022-09-20T13:31:18.573Z | 2,022 | 9 | 13 | 1 | 14 | 1 | 373 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
73,787,632 | BrowserStack - Fail Gradle command if UI tests fails | <p>I want to fail my Github pipeline when any UI tests fail on BrowserStack. Currently, Browserstack Gradle plugin provides a task <code>executeDebugTestsOnBrowserstack</code> which runs all the UI tests of the app on the cloud but does not fail the Gradle task when any UI tests fail.</p>
<p>Anyone know how to get noti... | I want to fail my Github pipeline when any UI tests fail on BrowserStack. Currently, Browserstack Gradle plugin provides a task executeDebugTestsOnBrowserstack which runs all the UI tests of the app on the cloud but does not fail the Gradle task when any UI tests fail. Anyone know how to get notified if any tests fail ... | android|android-espresso|browserstack|browserstack-app-automate | 0 | 2022-09-20T13:36:17.130Z | 2,022 | 9 | 13 | 1 | 14 | 0 | 354 | 52 | 4 | 0 | false | true | false | false | false | false | zero |
73,787,712 | Custom view touch one finger touch disable touch two finger touch enable | <p>it's possible to custom view touch enable on two-finger touch, and disable on one-finger touch</p>
<pre><code>@Override
public boolean onTouch(View view, MotionEvent motionEvent) {
int action = motionEvent.getActionMasked();
Log.e("zoom"," action :: " + action);
... | it's possible to custom view touch enable on two-finger touch, and disable on one-finger touch [CODE] this is my custom view onTouch() | android | 0 | 2022-09-20T13:42:05.390Z | 2,022 | 9 | 13 | 1 | 9 | 0 | 134 | 72 | 1 | 1 | true | true | false | false | false | false | zero |
73,787,852 | OneSignal Notification Click Crashes App - ActivityNotFoundException | <p>I have an Ionic app that uses OneSignal to send notifications to users. I have updated my project to use Android 12 (API level 32), which also required an upgrade of Capacitor to version 4:</p>
<pre><code>ext {
minSdkVersion = 22
compileSdkVersion = 32
targetSdkVersion = 32
androidxActivityVersion = ... | I have an Ionic app that uses OneSignal to send notifications to users. I have updated my project to use Android 12 (API level 32), which also required an upgrade of Capacitor to version 4: [CODE] Since the update, the app crashes whenever a user clicks/taps on the notification. The error reported is as follows: Stack ... | android|android-studio|ionic4|capacitor|onesignal | 0 | 2022-09-20T13:52:07.823Z | 2,022 | 9 | 13 | 1 | 24 | 0 | 556 | 68 | 5 | 1 | true | true | false | false | false | false | zero |
73,787,866 | I need an api to get pdf of public domain books | <p>I want to make an android app that allows users to read public domain books(free to use books) in pdf format, but I did not find any api that makes this possible.</p>
<p>I tried using the google books api, but I think most books don't have the pdf version available.</p>
<p>Is there any free/paid api that helps me do... | I want to make an android app that allows users to read public domain books(free to use books) in pdf format, but I did not find any api that makes this possible. I tried using the google books api, but I think most books don't have the pdf version available. Is there any free/paid api that helps me do such thing? | android|google-books-api | 0 | 2022-09-20T13:53:25.490Z | 2,022 | 9 | 13 | 1 | 18 | 0 | 315 | 47 | 2 | 0 | false | true | false | false | false | false | zero |
73,787,876 | Use a Composable from a library in a compose-agnostic XML application? | <p>I know that <code>Composables</code> can be used in <code>xml</code> layouts using <code>androidx.compose.ui.platform.ComposeView</code>.<br />
But the problem is that the application should include <code>gradle</code> compose dependency <code>androidx.compose.ui:ui</code> to have access to <code>ComposeView</code> ... | I know that Composables can be used in xml layouts using androidx.compose.ui.platform.ComposeView . But the problem is that the application should include gradle compose dependency androidx.compose.ui:ui to have access to ComposeView class. The library which provides the Composable of course contains these dependencies... | android|kotlin|gradle|android-jetpack-compose|android-library | 0 | 2022-09-20T13:54:22.953Z | 2,022 | 9 | 13 | 1 | 18 | 0 | 579 | 70 | 5 | 0 | false | true | false | false | false | false | zero |
73,787,941 | Caesar cipher in Android studio not showing in TextView | <blockquote>
<p>The user enters a word and you need to encrypt it with a Caesar cipher. That's what EditText is for. From here you need to take the word that the user enters and when you click on the Button, you need to display the encrypted word in the TextView.</p>
</blockquote>
<p>But when it comes to output <code>t... | The user enters a word and you need to encrypt it with a Caesar cipher. That's what EditText is for. From here you need to take the word that the user enters and when you click on the Button, you need to display the encrypted word in the TextView. But when it comes to output textOut1.setText(symbol_right_shift(word.cha... | java|android|xml|android-studio | 0 | 2022-09-20T13:58:42.340Z | 2,022 | 9 | 13 | 1 | 28 | 0 | 603 | 55 | 4 | 3 | true | true | false | false | false | false | zero |
73,787,955 | Appbar covering items in recyclerview at the top with scrollFlags | <p>At the top, not moving
<a href="https://i.stack.imgur.com/v1GlJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v1GlJ.png" alt="At the top, not moving" /></a>
When scrolling down,or just scrolled down and not moving
<a href="https://i.stack.imgur.com/vGOwO.png" rel="nofollow noreferrer"><img src="... | At the top, not moving When scrolling down,or just scrolled down and not moving When scrolling up from the bottom Hi, I've tried to add the app bar hiding behavior. If I try to scroll down everything is fine, it works how it's supposed to. If I'm at the bottom of the list and scroll up a little bit it's also working gr... | android|kotlin | 0 | 2022-09-20T13:59:20.607Z | 2,022 | 9 | 13 | 1 | 14 | 0 | 566 | 65 | 2 | 3 | true | true | false | false | false | false | zero |
73,788,038 | How can I customise the actual response in model class itself using Retrofit Android? | <p>I'm explaining thorugh one example, so please try to understand the below scenario:</p>
<p>Let's say from API I'm getting this response:</p>
<pre><code>{
"data": {
"hot": [
{
"name": "OnePlus 6 (Mirror Black 6GB RAM + 64GB memory)",
"price"... | I'm explaining thorugh one example, so please try to understand the below scenario: Let's say from API I'm getting this response: [CODE] Now, normally using Retrofit + GSON, we use model classes like this: Temperature [CODE] Data [CODE] Cold [CODE] Hot [CODE] Widget [CODE] Requirement What I want is, my model class sho... | java|android|kotlin|retrofit2 | 0 | 2022-09-20T14:04:13.353Z | 2,022 | 9 | 14 | 1 | 28 | 1 | 765 | 85 | 4 | 7 | true | false | false | false | false | false | zero |
73,788,059 | Data from API takes long time to load onto the emulator in Flutter | <p>I am loading a crypto API from Coingecko in a ListView.builder widget.</p>
<p>This is the API: <a href="https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&sparkline=false" rel="nofollow noreferrer">https://api.coingecko.com/api/v3/coins/markets?vs... | I am loading a crypto API from Coingecko in a ListView.builder widget. This is the API: https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&sparkline=false If I load it for the first time when I launch the emulator, the data shows almost instantly. Which is not bad. ... | flutter|api|dart|listview|android-emulator | 0 | 2022-09-20T14:05:03.963Z | 2,022 | 9 | 14 | 1 | 38 | 2 | 1,087 | 66 | 5 | 1 | true | false | false | false | false | false | zero |
73,788,067 | How to set position floatingactionbutton abave bottom bar | <p>I have activity with FloatingActionButton and BottomNavigationView.
I want FloatingActionButton have position above BottomNavigationView. but no matter what I do, it is always with BottomNavigationView like on img</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.coordinato... | I have activity with FloatingActionButton and BottomNavigationView. I want FloatingActionButton have position above BottomNavigationView. but no matter what I do, it is always with BottomNavigationView like on img [CODE] | android|floating-action-button|bottomnavigationview | 0 | 2022-09-20T14:05:30.960Z | 2,022 | 9 | 14 | 1 | 28 | 2 | 220 | 57 | 3 | 1 | true | false | false | false | false | false | zero |
73,788,175 | How to use collectAsState() when getting data from Firestore? | <p>A have a screen where I display 10 users. Each user is represented by a document in Firestore. On user click, I need to get its details. This is what I have tried:</p>
<pre><code>fun getUserDetails(uid: String) {
LaunchedEffect(uid) {
viewModel.getUser(uid)
}
when(val userResult = viewModel.userR... | A have a screen where I display 10 users. Each user is represented by a document in Firestore. On user click, I need to get its details. This is what I have tried: [CODE] Inside the ViewModel class, I have this code: [CODE] As you see, I use Result.Loading as a default value, because the document is heavy, and it takes... | android|kotlin|android-jetpack-compose|kotlin-coroutines|kotlin-flow | 0 | 2022-09-20T14:14:03.913Z | 2,022 | 9 | 14 | 1 | 46 | 2 | 827 | 61 | 5 | 3 | true | false | false | false | false | false | zero |
73,788,201 | Publish/Send a string to a topic on MQTT broker | <p>I want to publish a string to a public broker. My broker is test.mosquitto.org. This all should happen with a buttonClick event and as I have not found any helpful solution I would be very happy if anyone could help me:)</p> | I want to publish a string to a public broker. My broker is test.mosquitto.org. This all should happen with a buttonClick event and as I have not found any helpful solution I would be very happy if anyone could help me:) | c#|xamarin|xamarin.forms|xamarin.android | -1 | 2022-09-20T14:16:47.490Z | 2,022 | 9 | 14 | 1 | 20 | 0 | 220 | 47 | 4 | 0 | false | true | false | false | false | true | negative |
73,788,210 | AWS CognitoIdentity "NotSupportedException: System.Configuration.ConfigurationManager::get_AppSettings" with Android IL2CPP as Scripting Background | <p>while building the app in the android devices using IL2CPP Scripting Background I got System.Configuration not supported Exception can you please help me with the detailed documentation to sort out this issue.</p>
<ol>
<li><p>working fine with mono.</p>
</li>
<li><p>get issue with il2cpp.</p>
</li>
<li><p>tried addi... | while building the app in the android devices using IL2CPP Scripting Background I got System.Configuration not supported Exception can you please help me with the detailed documentation to sort out this issue. working fine with mono. get issue with il2cpp. tried adding "link.xml" still not working. tried addi... | android|amazon-web-services|unity3d|amazon-cognito|il2cpp | -1 | 2022-09-20T14:17:09.240Z | 2,022 | 9 | 14 | 1 | 35 | 0 | 897 | 147 | 5 | 1 | true | true | false | false | false | true | negative |
73,788,213 | How Can I create a item in the text selected menu in Android? | <p>I am developing an App with kotlin and Jetpack Compose and I want to add an item to this menu: <a href="https://i.stack.imgur.com/D0KS3.png" rel="nofollow noreferrer">image menu 1</a></p>
<p>when I select a text, I would like to show in this menu an option from my app, is this possible?</p>
<p>thanks!</p> | I am developing an App with kotlin and Jetpack Compose and I want to add an item to this menu: image menu 1 when I select a text, I would like to show in this menu an option from my app, is this possible? thanks! | android|kotlin|android-jetpack-compose|selectedtext | 1 | 2022-09-20T14:17:23.983Z | 2,022 | 9 | 14 | 1 | 35 | 0 | 212 | 61 | 4 | 0 | false | true | false | false | false | false | low |
73,788,297 | QUERY_ALL_PACKAGES permission issue persist even after remove it | <p>I have received a mail from play store that "We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because the declared task can be done with a less broad app-visibility method." and this issue found in 5.2.0(74) version of my app.</p>
<p>I have removed the QUERY_ALL_PACKAGES from manife... | I have received a mail from play store that "We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because the declared task can be done with a less broad app-visibility method." and this issue found in 5.2.0(74) version of my app. I have removed the QUERY_ALL_PACKAGES from manifest file an... | android|flutter|google-play|flutter-android | 0 | 2022-09-20T14:23:38.400Z | 2,022 | 9 | 14 | 1 | 20 | 0 | 811 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
73,788,491 | One Signal Push Notification two apps one firebase project | <p>I want to send notifications to my two apps using one signal push notification! I want to note that my two apps are in the same project in firebase. Please help me! (JAVA - ANDROID STUDIO)</p> | I want to send notifications to my two apps using one signal push notification! I want to note that my two apps are in the same project in firebase. Please help me! (JAVA - ANDROID STUDIO) | java|android | -1 | 2022-09-20T14:36:35.063Z | 2,022 | 9 | 14 | 1 | 13 | 0 | 188 | 58 | 2 | 0 | false | true | false | false | false | true | negative |
73,788,684 | I am unable to see video and shared screen of jitsi web user on my android application user (flutter) | <p>I have used jitsi web plugin for web setup and used jitsi meet for android.
<a href="https://i.stack.imgur.com/b7EXH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b7EXH.png" alt="enter image description here" /></a></p>
<p>Please help me solve my issue.</p>
<p>android image
web app jitsi
plugin ... | I have used jitsi web plugin for web setup and used jitsi meet for android. Please help me solve my issue. android image web app jitsi plugin used : https://pub.dev/packages/jitsi_meet_web_plugin | android|flutter|web|jitsi|jitsi-meet | 0 | 2022-09-20T14:51:21.377Z | 2,022 | 9 | 14 | 1 | 22 | 0 | 195 | 101 | 5 | 0 | false | true | false | false | false | false | zero |
73,788,752 | Unable to connect to Firebase cloud messaging my Ionic capacitor android application | <p>Recently, i’ve generated an android application which is not a native android application. I have used the ionic framework to export a VUE JS web project to an android application. Mostly of functions are working correctly, but i’ve been unable to implement push notifications with firebase.</p>
<p>I’ve followed the ... | Recently, i’ve generated an android application which is not a native android application. I have used the ionic framework to export a VUE JS web project to an android application. Mostly of functions are working correctly, but i’ve been unable to implement push notifications with firebase. I’ve followed the steps reco... | android|firebase|ionic-framework|firebase-cloud-messaging|capacitor | 1 | 2022-09-20T14:55:59.990Z | 2,022 | 9 | 14 | 1 | 14 | 0 | 1,176 | 84 | 5 | 0 | false | true | false | false | false | false | low |
73,788,878 | Disable/cancel StateFlow for unit test | <p>In my ViewModel there's a <code>StateFlow</code> which seems to prevent my unit test from ever completing, i.e. the test "hangs". I'm fairly new to the Flow lib and not sure how to cancel/disable said <code>StateFlow</code> so I can run my test as normal.</p>
<p>I created a simplified version of the code t... | In my ViewModel there's a StateFlow which seems to prevent my unit test from ever completing, i.e. the test "hangs". I'm fairly new to the Flow lib and not sure how to cancel/disable said StateFlow so I can run my test as normal. I created a simplified version of the code to highlight my problem. Here's the V... | android|kotlin-coroutines|kotlin-flow|kotlin-stateflow|kotlin-sharedflow | 0 | 2022-09-20T15:06:39.723Z | 2,022 | 9 | 15 | 1 | 19 | 0 | 607 | 38 | 5 | 3 | true | true | false | false | false | false | zero |
73,788,886 | Android Kotlin EditText | <p>I have requirement where I have to show a edit text with below properties</p>
<ol>
<li>Maxlength of the edittext is 9 ( 7 digits and 2 commas) User can enter 4 digits max and rest 3 zeros will be automatically appended</li>
</ol>
<p>i.e when user enters 1 , edit text become 1,000
when user enters 23 , edit text beco... | I have requirement where I have to show a edit text with below properties Maxlength of the edittext is 9 ( 7 digits and 2 commas) User can enter 4 digits max and rest 3 zeros will be automatically appended i.e when user enters 1 , edit text become 1,000 when user enters 23 , edit text becomes 2,300 This am able to achi... | android | 0 | 2022-09-20T15:07:03.900Z | 2,022 | 9 | 15 | 1 | 26 | 1 | 600 | 23 | 1 | 0 | false | false | false | false | false | false | zero |
73,788,988 | Implement permissions on this exported component | <p>I am coding an application for Android Automotive OS. It is a simple Hello World for now, but that is not the problem of the app so far.</p>
<p>To run the app in the in-built automotive emulator of Android Studio (I use the Canary version of Android Studio Electric Eel | 2022.1.1 Canary 10) I had to download an app ... | I am coding an application for Android Automotive OS. It is a simple Hello World for now, but that is not the problem of the app so far. To run the app in the in-built automotive emulator of Android Studio (I use the Canary version of Android Studio Electric Eel | 2022.1.1 Canary 10) I had to download an app called Goo... | android|android-manifest|android-automotive | 1 | 2022-09-20T15:15:15.020Z | 2,022 | 9 | 15 | 1 | 30 | 1 | 1,110 | 48 | 3 | 1 | true | false | false | false | false | false | low |
73,789,033 | Some issues were found when trying to render this preview - Android Studio Dolphin | <p>Today, I upgraded my Android Studio from Chipmunk to Dolphin, and most of my Composable Previews have stopped working and are giving the error <code>Some issues were found when trying to render this preview</code>.</p>
<p>On clicking the <strong>Show Exception</strong> button in the issues panel, I found the followi... | Today, I upgraded my Android Studio from Chipmunk to Dolphin, and most of my Composable Previews have stopped working and are giving the error Some issues were found when trying to render this preview . On clicking the Show Exception button in the issues panel, I found the following error. java.lang.IllegalStateExcepti... | android|android-studio|android-jetpack-compose|android-studio-dolphin | 0 | 2022-09-20T15:18:58.793Z | 2,022 | 9 | 15 | 1 | 104 | 2 | 907 | 82 | 4 | 1 | true | false | false | false | false | false | zero |
73,789,113 | Cannot create an instance of class extends from ViewModel | <p>i got this error and tried many different ways (from stackoverflow, github,etc) and most of it didn't work anymore,
i hope to get help from the community.
I use navigation component for project, i tried switching to the old way using fragmentmanger and all get the same results.
Project using multi fragment and singl... | i got this error and tried many different ways (from stackoverflow, github,etc) and most of it didn't work anymore, i hope to get help from the community. I use navigation component for project, i tried switching to the old way using fragmentmanger and all get the same results. Project using multi fragment and single a... | java|android|mvvm|fragment|viewmodel | 0 | 2022-09-20T15:24:48.230Z | 2,022 | 9 | 15 | 1 | 25 | 2 | 363 | 57 | 5 | 3 | true | false | false | false | false | false | zero |
73,789,150 | How to Detect if touch is inside the oval or not in android canvas? | <p>I want to detect if touch in the canvas view is inside the oval or not.</p>
<p>Current code:</p>
<pre><code>override fun draw(canvas: Canvas, paint: Paint) {
val rectF = RectF(200F, 300F, 100F, 100F)
canvas.drawOval(rectF, paint)
}
override fun onTouchEvent(event: MotionEvent): Boolean {
val value = sup... | I want to detect if touch in the canvas view is inside the oval or not. Current code: [CODE] | canvas|android-canvas | 0 | 2022-09-20T15:26:58.900Z | 2,022 | 9 | 15 | 1 | 10 | 0 | 92 | 67 | 2 | 1 | true | true | false | false | false | false | zero |
73,789,384 | How to upgrade target API to 31 android | <p>I am trying to upload my aab file on playstore but am getting this message
<a href="https://i.stack.imgur.com/bTv68.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bTv68.jpg" alt="enter image description here" /></a></p>
<p>How can I upgrade my API level to 31.</p>
<p>Part of my Gradle file</p>
<p... | I am trying to upload my aab file on playstore but am getting this message How can I upgrade my API level to 31. Part of my Gradle file [CODE] | android|reactjs|react-native | 0 | 2022-09-20T15:43:48.650Z | 2,022 | 9 | 15 | 1 | 37 | 2 | 142 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
73,789,460 | How to use RxJava / RxAndroid in Android to make slow network call and update the UI? | <p>I have started reading about RxJava / RxAndroid, but I can't find simple tutorial that covers typical thing, like getting network data and updating UI with the result.</p>
<p>Many tutorials cover scenario like running one or more background tasks, that take a parameter and return nothing.</p>
<p>Lets say I have a sl... | I have started reading about RxJava / RxAndroid, but I can't find simple tutorial that covers typical thing, like getting network data and updating UI with the result. Many tutorials cover scenario like running one or more background tasks, that take a parameter and return nothing. Lets say I have a slow function that ... | rx-android|background-thread | 1 | 2022-09-20T15:51:53.403Z | 2,022 | 9 | 15 | 1 | 19 | 1 | 896 | 85 | 2 | 3 | true | false | false | false | false | false | low |
73,789,507 | GPS TRACKING for jeepney | <p>Project:GPS tracking app for CARS (Jeepneys)</p>
<p>The idea of this app is to track multiple cars on an app spicifically for those cars.</p>
<p>when you click the icon of the car on the map the information of that car will appear and have a side
menu where in you can see the fare prices</p>
<p>is this possible to b... | Project:GPS tracking app for CARS (Jeepneys) The idea of this app is to track multiple cars on an app spicifically for those cars. when you click the icon of the car on the map the information of that car will appear and have a side menu where in you can see the fare prices is this possible to be done and what are the ... | java|android|ios|flutter | -3 | 2022-09-20T15:56:10.610Z | 2,022 | 9 | 15 | 1 | 18 | 0 | 405 | 24 | 4 | 0 | false | true | false | false | false | true | negative |
73,789,523 | Normal text with clickable text (not hyper link) | <p>I feel that there is a better way to do this thing, I know that this code works, but I just want to know if there is another (best) way to do this.</p>
<p><a href="https://i.stack.imgur.com/GP41j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GP41j.png" alt="enter image description here" /></a></... | I feel that there is a better way to do this thing, I know that this code works, but I just want to know if there is another (best) way to do this. [CODE] | android|android-jetpack-compose|android-compose-textfield | 1 | 2022-09-20T15:57:24.597Z | 2,022 | 9 | 15 | 1 | 37 | 1 | 154 | 48 | 3 | 1 | true | false | false | false | false | false | low |
73,789,535 | My android radio app automatically close when I click back button | <p>I am trying to run my Android radio app in the background. So when I click the back button after a little time it has been forced to stop. Automatically calls the <code>onDestroy()</code> method. How do I fix this problem?</p>
<p>This is the main activity class <code>onBackPressed()</code> button code.</p>
<pre><cod... | I am trying to run my Android radio app in the background. So when I click the back button after a little time it has been forced to stop. Automatically calls the onDestroy() method. How do I fix this problem? This is the main activity class onBackPressed() button code. [CODE] This is the console log [CODE] MainActivit... | java|android | 0 | 2022-09-20T15:58:18.303Z | 2,022 | 9 | 15 | 1 | 48 | 0 | 356 | 65 | 2 | 4 | true | true | false | false | false | false | zero |
73,789,578 | How to add Image Asset as a Background in Flutter? | <p>I have a vector that I want to be part of the background of my screen but I don't know how will I implement it. I tried inserting image.asset in the children but it is being placed above my elements in the screen. Pease help. This is my existing code right now:</p>
<pre><code>import 'package:ehatid_driver_app/signup... | I have a vector that I want to be part of the background of my screen but I don't know how will I implement it. I tried inserting image.asset in the children but it is being placed above my elements in the screen. Pease help. This is my existing code right now: [CODE] This the output of the above code: However, this is... | flutter|android-studio|dart | 0 | 2022-09-20T16:02:11.850Z | 2,022 | 9 | 16 | 1 | 25 | 0 | 388 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
73,789,637 | How to save ArrayList<String> or String[] array in .txt file in external storage in android | <p>I have some strings in ArrayList and i want to save all strings in my android phone, i am using below method but it gives my o/p with extra numbers(garbage random values)</p>
<pre><code>void storeFile(Context context, ArrayList<String> arrayList) {
// Requesting Permission to access External Storage
A... | I have some strings in ArrayList and i want to save all strings in my android phone, i am using below method but it gives my o/p with extra numbers(garbage random values) [CODE] I am calling this function in my save btn... [CODE] | android-studio|arraylist|storage|objectoutputstream | 0 | 2022-09-20T16:07:25.670Z | 2,022 | 9 | 16 | 1 | 11 | 1 | 229 | 91 | 4 | 2 | true | false | false | false | false | false | zero |
73,789,711 | ListView does not show Custom Array Adapter (Android Studio/Java) | <p>I have the problem that a ListView does not show my custom Array Adapter.
I tested it with an standart ArrayAdapter, which worked. I also tested if the ArrayList with the data exists, which was also the case.
ATM i think it's the Adapter, but i can't find the problem.</p>
<p><strong>Where the List should be shown</s... | I have the problem that a ListView does not show my custom Array Adapter. I tested it with an standart ArrayAdapter, which worked. I also tested if the ArrayList with the data exists, which was also the case. ATM i think it's the Adapter, but i can't find the problem. Where the List should be shown [CODE] Custom Adapte... | java|android-studio | 0 | 2022-09-20T16:13:48.427Z | 2,022 | 9 | 16 | 1 | 17 | 0 | 384 | 65 | 2 | 4 | true | true | false | false | false | false | zero |
73,789,737 | java.io.FileNotFoundException after update on-demand package on Play asset delivery | <p>I follow <a href="https://developer.android.com/guide/playcore/asset-delivery/integrate-java" rel="nofollow noreferrer">this document</a> to setup on-demand asset delivery like this:</p>
<pre><code>// Get asset path
private fun getAbsoluteAssetPath(assetPack: String, relativeAssetPath: String): String? {
val ass... | I follow this document to setup on-demand asset delivery like this: [CODE] There are a lot of crash reports from my users on Crashlytics, and look like it happens when they update the app with new asset package files on google play. The problem is that I can't reproduce it on my devices. Is there anyone know why this i... | android|kotlin|google-play-services | 0 | 2022-09-20T16:16:08.857Z | 2,022 | 9 | 16 | 1 | 10 | 0 | 419 | 83 | 3 | 2 | true | true | false | false | false | false | zero |
73,789,740 | How to handle permission denied in jetpack compose | <p>Hey guys I want to handle denied permission in jetpack compose. I found <code>PermissionsRequired</code> method in which helpful in my case till now. I got a problem which I explain in detail later. First I'll explain what I did inside this function.</p>
<pre><code>class BluetoothRequestActivity : BaseActivity() {
... | Hey guys I want to handle denied permission in jetpack compose. I found PermissionsRequired method in which helpful in my case till now. I got a problem which I explain in detail later. First I'll explain what I did inside this function. [CODE] When first time user open the activity permissionsNotGrantedContent will op... | android|kotlin|android-jetpack-compose|android-jetpack|jetpack-compose-accompanist | 0 | 2022-09-20T16:16:33.423Z | 2,022 | 9 | 16 | 1 | 116 | 1 | 1,836 | 50 | 5 | 3 | true | false | false | false | false | false | zero |
73,789,862 | Out Of Memory while decoding input stream from large image URL | <p>Let me describe my current situation:</p>
<p>When somebody uses very large Web images in their new items (that are used in Recycler), this code produces OOM:</p>
<pre><code>public static Bitmap decodeSampledBitmap(String previewUrl, int reqWidth, int reqHeight) throws Exception {
final BitmapFactory.Options opti... | Let me describe my current situation: When somebody uses very large Web images in their new items (that are used in Recycler), this code produces OOM: [CODE] I need the result from decodeSampledBitmap() method to compress & save for later use: [CODE] And OOM error: java.lang.OutOfMemoryError: Failed to allocate a 16396... | android|url|bitmap|out-of-memory|decode | 0 | 2022-09-20T16:27:34.053Z | 2,022 | 9 | 16 | 1 | 16 | 0 | 900 | 62 | 5 | 3 | true | true | false | false | false | false | zero |
73,789,867 | Make button visible/invisible on ZXing overlay | <p>I'm using the ZXing plugin to scan bar codes and I'm using a custom overlay to display information and make a button visible/invisible when I need to perform an action, which in this case is to set a flag and make the button invisible again.</p>
<p>In this code I set up the scanning plugin:</p>
<pre><code> My... | I'm using the ZXing plugin to scan bar codes and I'm using a custom overlay to display information and make a button visible/invisible when I need to perform an action, which in this case is to set a flag and make the button invisible again. In this code I set up the scanning plugin: [CODE] The code that handles the sc... | c#|android|xamarin|visual-studio-2022 | 0 | 2022-09-20T16:27:57.173Z | 2,022 | 9 | 16 | 1 | 24 | 0 | 779 | 46 | 4 | 2 | true | true | false | false | false | false | zero |
73,789,906 | how to make a service in background that trigger a notification? (Android) | <p>I want to create a background service on adroid studio, that listen to changes in the realtime database of firebase and trigger a notification in the app. I know that exist cloud messaging, but that solution can't use data of the RTDB to construct the information that goes in the notification. I know how to make a n... | I want to create a background service on adroid studio, that listen to changes in the realtime database of firebase and trigger a notification in the app. I know that exist cloud messaging, but that solution can't use data of the RTDB to construct the information that goes in the notification. I know how to make a noti... | java|android|firebase|kotlin|notifications | 0 | 2022-09-20T16:31:30.123Z | 2,022 | 9 | 16 | 1 | 18 | 0 | 463 | 74 | 5 | 0 | false | true | false | false | false | false | zero |
73,789,922 | Certificate expire issue while uploading apk on google play store | <p>I have received Keystore and csr file for SSL certificate, and I am using that certificate in my android application it will expire in 1 year. I have followed some links that state that we need at least 25 years of validity of the certificate. Is there any workaround so that I can upload the apk on the play store? P... | I have received Keystore and csr file for SSL certificate, and I am using that certificate in my android application it will expire in 1 year. I have followed some links that state that we need at least 25 years of validity of the certificate. Is there any workaround so that I can upload the apk on the play store? Plea... | android|ssl|ssl-certificate|keystore|csr | -1 | 2022-09-20T16:32:18.163Z | 2,022 | 9 | 16 | 1 | 16 | 0 | 584 | 65 | 5 | 0 | false | true | false | false | false | true | negative |
73,789,961 | NullPointerException while drawing bitmap in onDraw method in custom View android | <p>I was making a simple custom DrawingView class which can draw with small brushes. But When I try to run it gets Nullpointer Exception</p>
<p>this is the stacktrace.</p>
<pre><code> Process: com.mahidev.kidsdrawingapp, PID: 19949
java.lang.NullPointerException
at com.mahidev.kidsdrawingapp.DrawingView.... | I was making a simple custom DrawingView class which can draw with small brushes. But When I try to run it gets Nullpointer Exception this is the stacktrace. [CODE] this is drawingview - 64th line. I didn't get any clue what is happening? [CODE] [CODE] | android|kotlin | 0 | 2022-09-20T16:35:40.547Z | 2,022 | 9 | 16 | 1 | 20 | 0 | 252 | 81 | 2 | 3 | true | true | false | false | false | false | zero |
73,789,984 | Problems with create custom PreferenceScreen and mange each one in SettingsFragment - kotlin | <p>According to this <a href="https://stackoverflow.com/q/11790163/4205927">question</a> I am trying to create a custom layout and add it to my root PreferenceScreen XML, but I am facing some problems, first, the <code>switch_preference_layout.xml</code> looks corrupted when I add it inside the Preference tag</p>
<p>he... | According to this question I am trying to create a custom layout and add it to my root PreferenceScreen XML, but I am facing some problems, first, the switch_preference_layout.xml looks corrupted when I add it inside the Preference tag here's my custom layout for the switch to dark mode example [CODE] and it looks like... | android|kotlin|android-layout|android-preferences|preferences | 0 | 2022-09-20T16:38:43.323Z | 2,022 | 9 | 16 | 1 | 24 | 1 | 1,124 | 92 | 5 | 2 | true | false | false | false | false | false | zero |
73,789,985 | Why does my app not crash after updating a textview within a IO scope? | <p>So, I'm kind of confused right now.</p>
<p>I have a small Android App that is using Kotlin Coroutines. I know we have different scopes where we can run our coroutines, and I thought an app would crash if we try to update our UI while we're on the IO scope. Normally, on this scenario, this runtime exception would be ... | So, I'm kind of confused right now. I have a small Android App that is using Kotlin Coroutines. I know we have different scopes where we can run our coroutines, and I thought an app would crash if we try to update our UI while we're on the IO scope. Normally, on this scenario, this runtime exception would be shown: and... | android|kotlin|kotlin-coroutines | 0 | 2022-09-20T16:38:45.243Z | 2,022 | 9 | 16 | 1 | 36 | 1 | 686 | 70 | 3 | 1 | true | false | false | false | false | false | zero |
73,790,031 | Vibrator Service Doesn't Run When App is Minimized in Android | <p>I have the Vibrator Service running after a timer completes. It works, except when the app is minimized/exited via the Home button. I know that onStop() is called in this case, and think it may be related to that. Calling MediaPlayer (as a sound alternative to vibrate) works fine all the time.</p>
<p>Has anyone else... | I have the Vibrator Service running after a timer completes. It works, except when the app is minimized/exited via the Home button. I know that onStop() is called in this case, and think it may be related to that. Calling MediaPlayer (as a sound alternative to vibrate) works fine all the time. Has anyone else experienc... | java|android|lifecycle|android-vibration | 1 | 2022-09-20T16:42:37.520Z | 2,022 | 9 | 16 | 1 | 19 | 0 | 331 | 61 | 4 | 0 | false | true | false | false | false | false | low |
73,790,032 | Why am I getting these Android logcat error messages while accessing device location? | <p>I am using the Fused Location Provider API to both get current location and to request regular location updates. As far as I can tell, my permissions are configured correctly (both fine and coarse are present in my manifest and checked for and requested at runtime) and the location updates (callbacks) are working as... | I am using the Fused Location Provider API to both get current location and to request regular location updates. As far as I can tell, my permissions are configured correctly (both fine and coarse are present in my manifest and checked for and requested at runtime) and the location updates (callbacks) are working as ex... | android|android-studio|logcat|android-fusedlocation | 2 | 2022-09-20T16:42:45.530Z | 2,022 | 9 | 16 | 1 | 25 | 0 | 1,417 | 85 | 4 | 0 | false | true | false | false | false | false | low |
73,790,059 | Wi-Fi/Bluetooth scanning for location service causes hiccups of video decoding | <p><a href="https://i.stack.imgur.com/6Cn6y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Cn6y.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/Vs8OA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vs8OA.png" alt="enter image description h... | An app decodes H.264/H.265 video streams smoothly and flawlessly with the above scanning turned off. When the scanning is turned on, the decoding has long pauses (up to 3 seconds) periodically. It varies with devices. On some devices, the Wi-Fi scanning causes this and it is the Bluetooth scanning on other devices. Thi... | android-wifi|android-bluetooth|android-location|android-mediacodec | 0 | 2022-09-20T16:45:53.577Z | 2,022 | 9 | 16 | 1 | 11 | 0 | 622 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
73,790,079 | Jetpack Compose: navigate to X screen (jump) keeping back-stack history | <p>Have <code>Activity</code> which holds <code>NavHostController</code>, when activity starts, need to navigate X screen, but pressing back need to navigate to previous screen, not to the start destination (because navigating to X was from startDest).</p>
<pre><code>@OptIn(ExperimentalMaterialNavigationApi::class)
@Co... | Have Activity which holds NavHostController , when activity starts, need to navigate X screen, but pressing back need to navigate to previous screen, not to the start destination (because navigating to X was from startDest). [CODE] EXAMPLE: have screens like: "screen 1-2-3-4-5..N" and the "screen 1"... | android|kotlin|android-jetpack-compose|android-navigation | 0 | 2022-09-20T16:47:43.687Z | 2,022 | 9 | 16 | 1 | 60 | 1 | 607 | 71 | 4 | 1 | true | false | false | false | false | false | zero |
73,790,100 | How to always show hint text in Flutter | <p>I am trying to create a text field that has hintText which would not disappear after I start typing. The dashes of the phone mask should not disappear when I start typing. <a href="https://i.stack.imgur.com/hFQxB.gif" rel="nofollow noreferrer">hint text with phone mask</a></p> | I am trying to create a text field that has hintText which would not disappear after I start typing. The dashes of the phone mask should not disappear when I start typing. hint text with phone mask | android|ios|flutter|textfield|mask | 0 | 2022-09-20T16:49:25.403Z | 2,022 | 9 | 16 | 1 | 30 | 0 | 197 | 39 | 5 | 0 | false | true | false | false | false | false | zero |
73,790,105 | How to get GoogleSignInAccount object when signing in with Google Play Games Services V2 | <p>I'm building an android game with java and I'm adding logging in my users with <strong>Google Play Games Services V2</strong> and <strong>Firebase</strong>.</p>
<p>I have no problem integrating the code from the Play Games website (<a href="https://developers.google.com/games/services/android/signin#migrate_to_play_... | I'm building an android game with java and I'm adding logging in my users with Google Play Games Services V2 and Firebase . I have no problem integrating the code from the Play Games website ( https://developers.google.com/games/services/android/signin#migrate_to_play_games_services_sign_in_v2 ) but when it comes to Fi... | java|android|firebase|google-play-services | 0 | 2022-09-20T16:50:11.547Z | 2,022 | 9 | 16 | 1 | 24 | 0 | 544 | 88 | 4 | 0 | false | true | false | false | false | false | zero |
73,790,282 | how to post html tag in retrofit android | <p>I need to use the following format payload in post method in retrofit. I need to post html tags as string. If we can't do this in retrofit, how can we do that?</p>
<pre><code>{
"text": "<p>ffsdsdf <span class=\"mention\" data-index=\"0\" data-denotation-char=\"@\&quo... | I need to use the following format payload in post method in retrofit. I need to post html tags as string. If we can't do this in retrofit, how can we do that? [CODE] Update: All I need to create a tag according to the number of users I get. | android|html|retrofit | 0 | 2022-09-20T17:06:39.157Z | 2,022 | 9 | 17 | 1 | 10 | 1 | 241 | 40 | 3 | 1 | true | false | false | false | false | false | zero |
73,790,299 | unable to run react native project in linux | <p>If I create a new project, it works. But this project was built in Windows and when i run it in linux i get following errors.</p>
<pre><code>error: TypeError: Cannot read properties of undefined (reading 'transformFile')
at Bundler.transformFile (/home/muaz/Desktop/stylon/node_modules/metro/src/Bundler.js:48:30)... | If I create a new project, it works. But this project was built in Windows and when i run it in linux i get following errors. [CODE] | android|ios|linux|react-native | 0 | 2022-09-20T17:07:54.180Z | 2,022 | 9 | 17 | 1 | 12 | 0 | 132 | 43 | 4 | 1 | true | true | false | false | false | false | zero |
73,790,367 | AOSP native client bind to java service | <p>We have a native client process that we want to be able to call <code>bindService</code> in to bind to a java service that we don't want running all the time if not being used. Bound services allows us to utilize lazy starting so we aren't up and running constantly and will manage refcount so that the service will c... | We have a native client process that we want to be able to call bindService in to bind to a java service that we don't want running all the time if not being used. Bound services allows us to utilize lazy starting so we aren't up and running constantly and will manage refcount so that the service will clean itself up w... | android|c++|native|bind|android-source | 0 | 2022-09-20T17:13:36.613Z | 2,022 | 9 | 17 | 1 | 16 | 0 | 647 | 39 | 5 | 0 | false | true | false | false | false | false | zero |
73,790,402 | NoBeanDefFoundException while initializing viewmodel using sharedViewModel | <p>I am trying to initialize my viewModel in Fragment by using <code>sharedViewModel()</code> method, but got <code>NoBeanDefFoundException</code>. Before I initialized it by using <code>activityViewModel()</code> method, but because of new argument in viewmodel constructor and due to the scope, I decided to use exactl... | I am trying to initialize my viewModel in Fragment by using sharedViewModel() method, but got NoBeanDefFoundException . Before I initialized it by using activityViewModel() method, but because of new argument in viewmodel constructor and due to the scope, I decided to use exactly sharedViewModel() , which cause the exc... | android-viewmodel|koin | 0 | 2022-09-20T17:17:05.120Z | 2,022 | 9 | 17 | 1 | 14 | 0 | 708 | 74 | 2 | 3 | true | true | false | false | false | false | zero |
73,790,442 | Files under the "build" folder are generated and should not be edited error in kotlin | <p>I'm trying to make a todo app where I use hilt,room,mvvm structure, but when I run the application, an error appears. What is the reason of this ?</p>
<p><strong>AppModule_InjectRoomDatabaseFactory</strong>*</p>
<pre><code>import android.app.Application;
import com.iebayirli.mvvmbase.service.NoteDatabase;
import dag... | I'm trying to make a todo app where I use hilt,room,mvvm structure, but when I run the application, an error appears. What is the reason of this ? AppModule_InjectRoomDatabaseFactory * [CODE] Error | android|kotlin | 0 | 2022-09-20T17:19:59.217Z | 2,022 | 9 | 17 | 1 | 24 | 1 | 197 | 85 | 2 | 1 | true | false | false | false | false | false | zero |
73,790,458 | I have MAC M1 pro chipset and when Im running test in android studio Im getting error which is attached below.Im able to build and app is running fine | <p>so I have MAC M1 pro chipset and when Im running test in android studio I'm getting error which is attached below , I'm able to build and app is running fine.</p>
<pre><code>com.almworks.sqlite4java.SQLiteException: [-91] cannot load library: java.lang.UnsatisfiedLinkError: dlopen(/private/var/folders/66/7nxvb30d67... | so I have MAC M1 pro chipset and when Im running test in android studio I'm getting error which is attached below , I'm able to build and app is running fine. [CODE] | android|android-studio|apple-m1 | -2 | 2022-09-20T17:21:22.853Z | 2,022 | 9 | 17 | 1 | 43 | 1 | 165 | 150 | 3 | 1 | true | false | 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.