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,254,757 | beforeinstallprompt does not trigger for installing native app | <p>I have a server side website developed with node.js. I would like to add native app install prompt for android(not pwa). I have added manifest.json file as below together with the scripts. But <code>beforeinstallprompt</code> event does not fire and I get error wenn I click my button defined in the UI.</p>
<p>manife... | I have a server side website developed with node.js. I would like to add native app install prompt for android(not pwa). I have added manifest.json file as below together with the scripts. But beforeinstallprompt event does not fire and I get error wenn I click my button defined in the UI. manifest.json [CODE] app.js [... | javascript|android|node.js|express|google-chrome | 0 | 2022-08-05T20:00:27.370Z | 2,022 | 8 | 20 | 4 | 44 | 0 | 438 | 62 | 5 | 2 | true | true | false | false | false | false | zero |
73,254,761 | VS Code wont restart / update my app on virtual device | <p>Im new to programing and this is driving me crazy, today in the morning VS Code stopped updating my app on my Virtual android device whenever i press restart, at first it worked if i closed the Virtual device then boot it up again but now not even that works, even new virtual devices have my old work on it somehow.<... | Im new to programing and this is driving me crazy, today in the morning VS Code stopped updating my app on my Virtual android device whenever i press restart, at first it worked if i closed the Virtual device then boot it up again but now not even that works, even new virtual devices have my old work on it somehow. I h... | flutter|visual-studio|android-studio|visual-studio-code | 0 | 2022-08-05T20:01:07.413Z | 2,022 | 8 | 20 | 4 | 24 | 1 | 646 | 54 | 4 | 0 | false | false | false | false | false | false | zero |
73,254,771 | Position dialog in Android Compose | <p>How to position dialog in Jetpack Compose to the bottom of the screen?</p>
<p>my real goal would be to place a dialog-like layout for the user (with a custom view) at the bottom of the screen and not centered like a regular dialog. with a background that darkens the back screen that
and one of the behaviors of a tra... | How to position dialog in Jetpack Compose to the bottom of the screen? my real goal would be to place a dialog-like layout for the user (with a custom view) at the bottom of the screen and not centered like a regular dialog. with a background that darkens the back screen that and one of the behaviors of a traditional d... | android|kotlin|android-jetpack-compose | 0 | 2022-08-05T20:02:14.377Z | 2,022 | 8 | 20 | 4 | 136 | 0 | 388 | 34 | 3 | 0 | false | true | false | false | false | false | zero |
73,254,945 | I already changed the path of the import package in android studio however error still occur | <p>I wanted to import the files from the build directory, however I was unable to. This code was given to me to execute. However, it was from old versions of Android Studio and I was unable to run them successfully.</p>
<p>The picture I provided is the tree of the file structure and the error that occurs in Android Stu... | I wanted to import the files from the build directory, however I was unable to. This code was given to me to execute. However, it was from old versions of Android Studio and I was unable to run them successfully. The picture I provided is the tree of the file structure and the error that occurs in Android Studio. I alr... | android|flutter|mobile | 0 | 2022-08-05T20:23:10.697Z | 2,022 | 8 | 20 | 4 | 36 | 0 | 385 | 92 | 3 | 2 | true | true | false | false | false | false | zero |
73,255,315 | Android table as calendar view for whole year | <p>I want to create a garden calendar in android for 12 months for each plant, with color bars according to sow or harvest action.</p>
<p>Example:</p>
<p><a href="https://i.stack.imgur.com/x7Xrm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x7Xrm.png" alt="growing calendar" /></a></p>
<p>Each month... | I want to create a garden calendar in android for 12 months for each plant, with color bars according to sow or harvest action. Example: Each month should be divided to 3 quarters, so finally I need 36 columns for one row. (After consideration, it will be enough to have 2 halves per month, so 24 columns). First row is ... | android|calendar|android-tablelayout | 1 | 2022-08-05T21:10:33.907Z | 2,022 | 8 | 21 | 4 | 73 | 2 | 1,559 | 45 | 3 | 2 | true | false | false | false | false | false | low |
73,255,673 | Flutter/dart is only reading the first line of CSV file on Android 32+ | <p>In my flutter app I'm having issues with reading files from the device on Android 32+. Any version of Android below 32 allows me to read all lines of a CSV file using <code>file.readAsStringSync()</code> but when I try running the same code on Android version 32 or higher it only returns me the first line of the fil... | In my flutter app I'm having issues with reading files from the device on Android 32+. Any version of Android below 32 allows me to read all lines of a CSV file using file.readAsStringSync() but when I try running the same code on Android version 32 or higher it only returns me the first line of the file (the CSV heade... | android|flutter|csv|dart | 0 | 2022-08-05T22:04:06.243Z | 2,022 | 8 | 22 | 4 | 33 | 0 | 621 | 70 | 4 | 1 | true | true | false | false | false | false | zero |
73,255,710 | How to reinstall bluetooth on android 8.1? | <p>I have looked everywhere but i cant find how to reinstall bluetooth drivers..... basically everything relating to bluetooth on a android 8.1 device. Lets just say it got corrupted by a previous owner and the only thing that works is the fm radio. Reflashing isnt a question. Can anyone help?</p> | I have looked everywhere but i cant find how to reinstall bluetooth drivers..... basically everything relating to bluetooth on a android 8.1 device. Lets just say it got corrupted by a previous owner and the only thing that works is the fm radio. Reflashing isnt a question. Can anyone help? | bluetooth|android-8.1-oreo | 0 | 2022-08-05T22:11:41.440Z | 2,022 | 8 | 22 | 4 | 23 | 0 | 291 | 42 | 2 | 0 | false | true | false | false | false | false | zero |
73,255,763 | How to create a view programmatically at 12 AM every day | <p>How would I go about creating a TextView at 12 AM every day, regardless if the app is open or not (unbound to app lifetime)? I already have the code to create the TextView, I just need to know how I would execute the code at 12 AM every day.</p>
<p>I'm not going to be opening another activity, everything will be don... | How would I go about creating a TextView at 12 AM every day, regardless if the app is open or not (unbound to app lifetime)? I already have the code to create the TextView, I just need to know how I would execute the code at 12 AM every day. I'm not going to be opening another activity, everything will be done within t... | android|asynchronous|textview|alarmmanager | 0 | 2022-08-05T22:20:26.707Z | 2,022 | 8 | 22 | 4 | 34 | 1 | 383 | 56 | 4 | 2 | true | false | false | false | false | false | zero |
73,255,781 | Pan Gesture on doesn't work on Android when starting on top of TextInput | <p>I'm trying to implement a swipe gesture on rows that have text inputs in them. The problem is that on Android, if you start your gesture on top of the TextInput element the gesture doesn't get recognized and the TextInput gets focused instead.</p>
<p>Here is a Snack example:
<a href="https://snack.expo.dev/@prsoaz/t... | I'm trying to implement a swipe gesture on rows that have text inputs in them. The problem is that on Android, if you start your gesture on top of the TextInput element the gesture doesn't get recognized and the TextInput gets focused instead. Here is a Snack example: https://snack.expo.dev/@prsoaz/textinput-problem?pl... | android|react-native|react-native-reanimated|react-native-gesture-handler | 0 | 2022-08-05T22:23:31.160Z | 2,022 | 8 | 22 | 4 | 50 | 0 | 548 | 72 | 4 | 0 | false | true | false | false | false | false | zero |
73,255,789 | Use new project as new version of a published app | <p>so I have one app that is uploaded to Google Play and I want to update the app making a new app from scratch because I need to change absolutely everything as the app that is published is really old. Is it possible to update the app by making a new project and put the same package name? Thanks</p> | so I have one app that is uploaded to Google Play and I want to update the app making a new app from scratch because I need to change absolutely everything as the app that is published is really old. Is it possible to update the app by making a new project and put the same package name? Thanks | java|android|android-studio|google-play | 0 | 2022-08-05T22:24:27.717Z | 2,022 | 8 | 22 | 4 | 25 | 0 | 294 | 49 | 4 | 0 | false | true | false | false | false | false | zero |
73,255,805 | Cannot build relations in Room database | <p>I have a problem with my Room database. It consists of 2 tables "cast", "movie" and one-to-one relation "movie_cast". When I try to build a project the following errors occur:</p>
<pre><code>error: Entities cannot have relations.
public final class MovieWithCastDbModel {
error: An ent... | I have a problem with my Room database. It consists of 2 tables "cast", "movie" and one-to-one relation "movie_cast". When I try to build a project the following errors occur: [CODE] When I remove @Entity annotation from MovieWithCastDbModel class I get the following [CODE] So whatever I d... | android|sql|kotlin|android-room | 0 | 2022-08-05T22:26:32.583Z | 2,022 | 8 | 22 | 4 | 56 | 1 | 429 | 39 | 4 | 3 | true | false | false | false | false | false | zero |
73,255,967 | Use different signature for Gradle product flavour and build type in Android | <p>I have an Android build.gradle.kts with multiple flavours, multiple build types and different signing configs for the combinations, it looks like this:</p>
<pre><code> android {
signingConfigs {
create("lite-release") {
storeFile = file("myLiteReleaseKey.keystor... | I have an Android build.gradle.kts with multiple flavours, multiple build types and different signing configs for the combinations, it looks like this: [CODE] Even if it was supposed to be something simple, I got stuck when trying to assign the signatures. It should be something like.. [CODE] .. but when I build "... | android|android-gradle-plugin|build.gradle|gradlew|gradle-kts | 1 | 2022-08-05T22:58:12.140Z | 2,022 | 8 | 22 | 4 | 61 | 1 | 489 | 76 | 5 | 2 | true | false | false | false | false | false | low |
73,256,176 | Can bluetooth connect two same devices? | <p>I'm working on a project that requires Bluetooth, however I need it to connect with Bluetooth from my app on one phone to my app on another phone.
Is there a way for Bluetooth to be used on two devices of the same type, or is is just different devices that can connect to each other? Could you please also provide me ... | I'm working on a project that requires Bluetooth, however I need it to connect with Bluetooth from my app on one phone to my app on another phone. Is there a way for Bluetooth to be used on two devices of the same type, or is is just different devices that can connect to each other? Could you please also provide me wit... | android|bluetooth | 0 | 2022-08-05T23:40:43.667Z | 2,022 | 8 | 23 | 4 | 36 | 1 | 367 | 39 | 2 | 0 | false | false | false | false | false | false | zero |
73,256,264 | How to set feding at the bottom of recyclerview on xml? | <p>what I am trying to do is set a fading to the recyclerview but just at the bottom item when scroll has to be done, when the amount of items is bigger than the screen.</p>
<p>I have tried</p>
<pre><code> android:fadingEdge="vertical"
android:fadingEdgeLength="150dp"
android:requiresFadi... | what I am trying to do is set a fading to the recyclerview but just at the bottom item when scroll has to be done, when the amount of items is bigger than the screen. I have tried [CODE] But this sets fading to both top and bottom and I am just looking for bottom. Any help or suggestion would be great, thanks | android|kotlin|android-recyclerview|fading | 0 | 2022-08-06T00:00:43.040Z | 2,022 | 8 | 0 | 5 | 54 | 0 | 310 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,256,359 | FCM token is not getting generated in few devices | <p>I am using <code>FirebaseInstanceId.getInstance().getToken()</code> method to generate device token. I know this method is deprecated, but I am keen to find the exact RCA for the issue.</p>
<p>When I am using this method in emulator, it is working fine and returning token with all emulator variation tried with multi... | I am using FirebaseInstanceId.getInstance().getToken() method to generate device token. I know this method is deprecated, but I am keen to find the exact RCA for the issue. When I am using this method in emulator, it is working fine and returning token with all emulator variation tried with multiple emulators. I tried ... | android|google-api|firebase-cloud-messaging | 3 | 2022-08-06T00:23:38.277Z | 2,022 | 8 | 0 | 5 | 74 | 1 | 958 | 49 | 3 | 1 | true | false | false | false | false | false | low |
73,256,394 | How to make Toolbar and TabLayout still visible even when CollapsingToolbarLayout is collapsed? | <p>How to make <strong>Toolbar</strong> and <strong>TabLayout</strong> still visible even when <strong>CollapsingToolbarLayout</strong> is collapsed?</p>
<p>For example, i have a <strong>CollapsingToolbarLayout</strong> with <em>app:contentScrim</em> animation that contains a <strong>Toolbar</strong>, <strong>ImageView... | How to make Toolbar and TabLayout still visible even when CollapsingToolbarLayout is collapsed? For example, i have a CollapsingToolbarLayout with app:contentScrim animation that contains a Toolbar , ImageView and TabLayout but i want to hide the ImageView when scrolling, but still show the Toolbar and TabLayout inside... | android|android-toolbar|android-tablayout|android-collapsingtoolbarlayout|android-appbarlayout | 0 | 2022-08-06T00:32:35.513Z | 2,022 | 8 | 0 | 5 | 34 | 1 | 723 | 95 | 5 | 0 | false | false | false | false | false | false | zero |
73,256,413 | Read arrays from Firestore and put them inside an ArrayList - Java in Android Studio | <p>I'm trying to create an application that can read the values from a Firestore array and put them into an ArrayList or something, this is my code:</p>
<pre><code> ArrayList<Integer> driverPermissions = new ArrayList<>();
Firestore.collection("Admins").document("1234567890").get... | I'm trying to create an application that can read the values from a Firestore array and put them into an ArrayList or something, this is my code: [CODE] Unfortunately, it doesn't work. It marks me as an error in this line: [CODE] And the error is: Variable used in lambda expression should be final or effectively final ... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 1 | 2022-08-06T00:36:23.993Z | 2,022 | 8 | 0 | 5 | 114 | 3 | 494 | 84 | 5 | 2 | true | false | false | false | false | false | low |
73,256,530 | GSON throwing "Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $" - Kotlin | <p>i'm trying to parse this JSON string that returns the ids of movies from this api "https://rapidapi.com/apidojo/api/online-movie-database/" but i get a error</p>
<pre><code>[
"/title/tt1649418/",
"/title/tt10954984/",
"/title/tt9114286/",
"/title/tt1064834... | i'm trying to parse this JSON string that returns the ids of movies from this api "https://rapidapi.com/apidojo/api/online-movie-database/" but i get a error [CODE] into this object [CODE] but it throws me with [CODE] please anyone can help me? | android|kotlin | 0 | 2022-08-06T01:11:10.697Z | 2,022 | 8 | 1 | 5 | 50 | 1 | 254 | 76 | 2 | 3 | true | false | false | false | false | false | zero |
73,256,652 | How to prevent AdMob ads affecting app screen size and orientation | <p>I have a Flutter app with <a href="https://pub.dev/packages/google_mobile_ads" rel="nofollow noreferrer">Google Mobile Ads</a></p>
<p>I have painstakingly made the app work with different screen sizes and orientations. But when I play the ad (rewarded ad in immersive mode), the ad often changes the screen orientatio... | I have a Flutter app with Google Mobile Ads I have painstakingly made the app work with different screen sizes and orientations. But when I play the ad (rewarded ad in immersive mode), the ad often changes the screen orientation which causes UI overflow errors in the app behind the ad. I have also noticed that the ad c... | android|flutter|admob|googlemobileads | 1 | 2022-08-06T01:50:21.963Z | 2,022 | 8 | 1 | 5 | 37 | 1 | 957 | 66 | 4 | 1 | true | false | false | false | false | false | low |
73,256,678 | Building Whitelabel Rocket Chat app results in build Failure | <p>I am white labeling the Rocket Chat app for my server. I have everything working in the test environment. [e.g. yarn android] I am now ready to build an apk to push out to my server members. The issue I'm having is that running <code>gradlew bundleRelease</code> in the "/android" folder always results in a... | I am white labeling the Rocket Chat app for my server. I have everything working in the test environment. [e.g. yarn android] I am now ready to build an apk to push out to my server members. The issue I'm having is that running gradlew bundleRelease in the "/android" folder always results in an error saying, ... | android|react-native|gradle|gradlew|rocket.chat | 0 | 2022-08-06T01:59:24.603Z | 2,022 | 8 | 1 | 5 | 83 | 2 | 1,003 | 60 | 5 | 0 | false | false | false | false | false | false | zero |
73,256,683 | how can I solve problem in installing FLUTTER | <p><Running "flutter pub get" in <strong>flutter_tools</strong>...><img src="https://i.stack.imgur.com/nlxud.png" alt="enter image description here" /></p> | <Running "flutter pub get" in flutter_tools ...> | windows|flutter|android-studio|installation|command-prompt | 0 | 2022-08-06T02:00:38.303Z | 2,022 | 8 | 2 | 5 | 40 | 1 | 58 | 45 | 5 | 0 | false | false | false | false | false | false | zero |
73,256,761 | Kotlin throws false errors for everything in VS Code | <p>This <strong>it's complicated to explain, so patience</strong>, please.</p>
<p>I <strong>started learning Kotlin a few weeks ago, but left it</strong> because other things <strong>and continue today</strong>, but <strong>every line of code it's highligthed with errors</strong> without reason.</p>
<p>Even a simple co... | This it's complicated to explain, so patience , please. I started learning Kotlin a few weeks ago, but left it because other things and continue today , but every line of code it's highligthed with errors without reason. Even a simple code as a "Hello World" got errors for everything. Code: [CODE] Problems me... | java|android|bash|kotlin|visual-studio-code | 1 | 2022-08-06T02:23:32.060Z | 2,022 | 8 | 2 | 5 | 98 | 2 | 1,015 | 52 | 5 | 8 | true | false | false | false | false | false | low |
73,256,792 | Xamarin Print image via bluetooth printer in POS System Integration | <p>I can print plain text, but when I wanna to print image, I cannot print image. I Save image as byte array then send to bluetooth printer. But seen this not work.
This is my code</p>
<pre><code>public class PrintServiceRenderer
{
private static byte[] SELECT_BIT_IMAGE_MODE = { 0x1B, 0x2A, 33, 255, 0 };
public... | I can print plain text, but when I wanna to print image, I cannot print image. I Save image as byte array then send to bluetooth printer. But seen this not work. This is my code [CODE] But getting logo printed as below image: This is my device: | c#|xamarin|xamarin.forms|xamarin.android|bluetooth-printing | 0 | 2022-08-06T02:33:03.780Z | 2,022 | 8 | 2 | 5 | 143 | 0 | 244 | 67 | 5 | 1 | true | true | false | false | false | false | zero |
73,256,861 | Gradle could not be resolved for Qt Application build from Windows | <p>I am trying to compile an Android application (С++/Qt) from Windows machine onto a virtual Android.</p>
<p><strong>Android SDK</strong>: 31 (Android 12)</p>
<p><strong>NDK</strong>: 21.3.6528147</p>
<p><strong>Qt</strong>: 5.15.2</p>
<p><strong>Language</strong>: C++17</p>
<p>Obviously, compilation is for <strong>x8... | I am trying to compile an Android application (С++/Qt) from Windows machine onto a virtual Android. Android SDK : 31 (Android 12) NDK : 21.3.6528147 Qt : 5.15.2 Language : C++17 Obviously, compilation is for x86_64 processors. Compilation breaks at the Android Package generation with following compile output: [CODE] I ... | java|android|qt|gradle | 0 | 2022-08-06T03:00:02.470Z | 2,022 | 8 | 3 | 5 | 55 | 1 | 1,020 | 66 | 4 | 3 | true | false | false | false | false | false | zero |
73,256,883 | Updated : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:cloud_firestore] | <p>android/app/build.gradle</p>
<pre><code>
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "cmon.com"
// You can update the following values to match your application needs.
// ... | android/app/build.gradle [CODE] Error: [CODE] How to modify the above given default versions. What is the reason for this error? | android|flutter|firebase|google-cloud-firestore|firebase-authentication | 1 | 2022-08-06T03:08:16.287Z | 2,022 | 8 | 3 | 5 | 211 | 3 | 128 | 108 | 5 | 2 | true | false | false | false | false | false | low |
73,256,972 | error java.lang.RuntimeException: Unable to start activity 2022 | <p>I'm creating a mobile game for android and I have a problem when after build and when test game get crashing and stop app</p>
<p>java.lang.RuntimeException: Unable to start activity Bug Screenshot</p>
<p><img src="https://i.stack.imgur.com/u3awY.png" alt="1" /></p>
<pre><code> java.lang.RuntimeException: Unable t... | I'm creating a mobile game for android and I have a problem when after build and when test game get crashing and stop app java.lang.RuntimeException: Unable to start activity Bug Screenshot [CODE] 'MainActivity' Code : [CODE] AndroidManifest : [CODE] config.xml : [CODE] and i use these plugins in project : com-artemiso... | android | 0 | 2022-08-06T03:36:08.153Z | 2,022 | 8 | 3 | 5 | 51 | 0 | 682 | 63 | 1 | 4 | true | true | false | false | false | false | zero |
73,257,027 | Nesting scrollable's in compose | <p>Compose do not allow nesting of scrollable's in the same direction.
But I have use case where layout consist of multiple sections. Each section can be a list, a grid, regular text etc... The entire layout is scrollable.</p>
<p>Recyclerview supports having multiple view types ( e.g. where a view can be another recycl... | Compose do not allow nesting of scrollable's in the same direction. But I have use case where layout consist of multiple sections. Each section can be a list, a grid, regular text etc... The entire layout is scrollable. Recyclerview supports having multiple view types ( e.g. where a view can be another recyclerview whi... | android|android-jetpack-compose | 0 | 2022-08-06T03:49:14.983Z | 2,022 | 8 | 3 | 5 | 85 | 1 | 572 | 31 | 2 | 0 | false | false | false | false | false | false | zero |
73,257,043 | HitRect returning wrong Y value for unknown reason | <p>I am creating a pixel art app, which has the following layout:</p>
<p><a href="https://i.stack.imgur.com/cfM6R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cfM6R.png" alt="enter image description here" /></a></p>
<p>Input events are detected inside the pixel art board, meaning that if the user ... | I am creating a pixel art app, which has the following layout: Input events are detected inside the pixel art board, meaning that if the user swipes from the root layout and travels their finger inside the pixel art board, it doesn't detect it. This is obviously a minor issue. To fix this, I looked online and I found t... | android|kotlin|android-layout|android-xml|android-touch-event | 0 | 2022-08-06T03:53:22.043Z | 2,022 | 8 | 3 | 5 | 66 | 1 | 1,091 | 50 | 5 | 2 | true | false | false | false | false | false | zero |
73,257,147 | Firebase push notification not working on Android 12 | <p>Firebase Cloud Messaging (push notification) is not working on Android 12 devices, showing the following error in Log -</p>
<pre><code>java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consi... | Firebase Cloud Messaging (push notification) is not working on Android 12 devices, showing the following error in Log - [CODE] It works if the app is running, but does not work if the app is not running. FirebaseMessagingService class has the following two lines of code - [CODE] | android|firebase-cloud-messaging | 0 | 2022-08-06T04:22:25.207Z | 2,022 | 8 | 4 | 5 | 71 | 0 | 279 | 52 | 2 | 2 | true | true | false | false | false | false | zero |
73,257,167 | Is there a way to calculate the distance of every scroll on the device from an Android AccessibilityService? | <p>I'm attempting build an app with an included <code>AccessibilityService</code> that will track how far users have scrolled on their phone (the actual distance in pixels, inches, etc).</p>
<p>I was attempting to do this by reading the <code>TYPE_VIEW_SCROLLED</code> <code>AccessibilityEvent</code>'s that are received... | I'm attempting build an app with an included AccessibilityService that will track how far users have scrolled on their phone (the actual distance in pixels, inches, etc). I was attempting to do this by reading the TYPE_VIEW_SCROLLED AccessibilityEvent 's that are received in onAccessibilityEvent in the service, however... | android|accessibilityservice | 0 | 2022-08-06T04:26:12.707Z | 2,022 | 8 | 4 | 5 | 16 | 0 | 859 | 108 | 2 | 0 | false | true | false | false | false | false | zero |
73,257,185 | Disable Scroll left in ViewPager Android Studio | <p>I know this is common to ask but still I'm confused how can I disable scroll to left from <code>ViewPager</code>, What I'm trying to do is when the <code>input field/household field</code> is empty you cannot procced to the next part, currently it works on the button when I'm trying to click next button it will pops... | I know this is common to ask but still I'm confused how can I disable scroll to left from ViewPager , What I'm trying to do is when the input field/household field is empty you cannot procced to the next part, currently it works on the button when I'm trying to click next button it will pops Toast , but when I scroll u... | java|android|android-studio|mobile | 0 | 2022-08-06T04:30:56.623Z | 2,022 | 8 | 4 | 5 | 46 | 2 | 498 | 47 | 4 | 2 | true | false | false | false | false | false | zero |
73,257,381 | Setting wallpaper deletes my recyler view content | <p>I have created a simple app where I am using API to get wallpapers in the Recycler view. Now when I click on any item on the recycler view, I want to set it as a wallpaper. I am using Wallpapermanager class and Picasso to set wallpaper. Now the problem I am facing right now is that- once I click on any item in the ... | I have created a simple app where I am using API to get wallpapers in the Recycler view. Now when I click on any item on the recycler view, I want to set it as a wallpaper. I am using Wallpapermanager class and Picasso to set wallpaper. Now the problem I am facing right now is that- once I click on any item in the recy... | android|android-recyclerview|wallpapermanager | 2 | 2022-08-06T05:24:27.250Z | 2,022 | 8 | 5 | 5 | 65 | 1 | 695 | 49 | 3 | 2 | true | false | false | false | false | false | low |
73,257,460 | How to pass the contact number from key value to dial pad from the above code? | <p>Below is the main activity:</p>
<pre><code>public class DoctorContactusUI extends AppCompatActivity {
TextView fullNameTextView,dateTimeTextView,contactNoTextView,stateTextView,countryTextView,
emailIDTextView,reasonTextView;
@Override
protected void onCreate(Bundle ... | Below is the main activity: [CODE] How to pass the contact number from key value to dial pad from the above code. How to pass the contact number from key value to dial pad from the above code. How to pass the contact number from key value to dial pad from the above code. How to pass the contact number from key value to... | android-studio | 0 | 2022-08-06T05:45:45.230Z | 2,022 | 8 | 5 | 5 | 8 | 0 | 508 | 78 | 1 | 1 | true | true | false | false | false | false | zero |
73,257,505 | How to create a video streaming URL using ASP .NET? | <p>I'm trying to mimic Youtube app on android but not sure how to implement the video streaming part. My plan is to create some "video streaming URL" from ASP .NET then plug that in VideoView.setVideoPath. Is it possible? I know how to set up web service and get data from MySQL database via them but data stre... | I'm trying to mimic Youtube app on android but not sure how to implement the video streaming part. My plan is to create some "video streaming URL" from ASP .NET then plug that in VideoView.setVideoPath. Is it possible? I know how to set up web service and get data from MySQL database via them but data streami... | android|video-streaming | 0 | 2022-08-06T05:55:41.510Z | 2,022 | 8 | 5 | 5 | 27 | 0 | 445 | 51 | 2 | 0 | false | true | false | false | false | false | zero |
73,257,611 | Android Studio showing error in build.gradle file after adding keystore | <p>Basically, I was adding keystore files to implement google authentication in my android app and after adding it and making keystore.properties file, the build.gradle:app file started showing some errors during the gradle sync. Following is the code for build.gradle:app file</p>
<pre><code>
def localPropert... | Basically, I was adding keystore files to implement google authentication in my android app and after adding it and making keystore.properties file, the build.gradle:app file started showing some errors during the gradle sync. Following is the code for build.gradle:app file [CODE] And these are the errors that are bein... | android|flutter|gradle|build.gradle|keystore | 0 | 2022-08-06T06:21:02.523Z | 2,022 | 8 | 6 | 5 | 126 | 1 | 372 | 71 | 5 | 1 | true | false | false | false | false | false | zero |
73,257,682 | How to get Browse History from chrome or and browser installed in android phone | <p>Hi I am trying to fetch browser history i am trying to fetch all browser browse URl programatically in android my API level is min sdk is 26 and targetsdk 32 . i am trying to use below code to fetch browser history but unable to get class</p>
<pre><code>Cursor cursor = getContentResolver().query(
Browser.BOOKMARKS... | Hi I am trying to fetch browser history i am trying to fetch all browser browse URl programatically in android my API level is min sdk is 26 and targetsdk 32 . i am trying to use below code to fetch browser history but unable to get class [CODE] Please help me with how we can get browse history in android . i want log ... | android | 0 | 2022-08-06T06:35:11.727Z | 2,022 | 8 | 6 | 5 | 27 | 0 | 347 | 79 | 1 | 1 | true | true | false | false | false | false | zero |
73,257,692 | Proper method to retrieve and store Android release versions on Android Studio | <p>I am coding an Android Application which takes in the android version of the device which I will compare with my firebase database to detect if the device is vulnerable to attacks. My database is filled with CVE details including its CPE (indicators). This is the part I will compare the device with. Some of example... | I am coding an Android Application which takes in the android version of the device which I will compare with my firebase database to detect if the device is vulnerable to attacks. My database is filled with CVE details including its CPE (indicators). This is the part I will compare the device with. Some of examples of... | android|firebase|android-studio | 0 | 2022-08-06T06:38:11.087Z | 2,022 | 8 | 6 | 5 | 23 | 0 | 729 | 78 | 3 | 0 | false | true | false | false | false | false | zero |
73,257,810 | Unable to create OPEN_DOCUMENT_TREE activity under Android 12 | <p>I'm attempting to open a system file dialog, to allow the user to select a location to store application configuration XML files. I am trying to use the ACTION_OPEN_DOCUMENT_TREE intent to initiate the dialog, but the application crashes instead, and logcat is showing the error:</p>
<blockquote>
<p>android.content.A... | I'm attempting to open a system file dialog, to allow the user to select a location to store application configuration XML files. I am trying to use the ACTION_OPEN_DOCUMENT_TREE intent to initiate the dialog, but the application crashes instead, and logcat is showing the error: android.content.ActivityNotFoundExceptio... | android|action-open-document-tree | 0 | 2022-08-06T07:00:14.857Z | 2,022 | 8 | 7 | 5 | 85 | 1 | 677 | 61 | 2 | 1 | true | false | false | false | false | false | zero |
73,257,987 | How to get paired bluetooth devices instead of just connected bluetooth devices in android app | <p>I have got paired device using <code>BLUETOOTHADAPTER.getbondeddevice();</code></p>
<p>I want to get the currently paired device (The one which is connected right now)</p>
<p>Is there any method to get the connected device, not a list of previously paired Bluetooth devices?</p> | I have got paired device using BLUETOOTHADAPTER.getbondeddevice(); I want to get the currently paired device (The one which is connected right now) Is there any method to get the connected device, not a list of previously paired Bluetooth devices? | java|android|bluetooth|android-bluetooth | 1 | 2022-08-06T07:38:20.233Z | 2,022 | 8 | 7 | 5 | 40 | 0 | 247 | 94 | 4 | 0 | false | true | false | false | false | false | low |
73,257,998 | Kotlin and tablayout - Android | <p>Maybe this question was already asked before, but I couldn't find anything about it.</p>
<p>I'm pretty new to Android 12. I'm a developer, I made my old app many years ago.</p>
<p>So, let's to the question.</p>
<p>I'm started with Nav Drawer example in Last Android Studio (Chipmunk), I've understood or start from Ac... | Maybe this question was already asked before, but I couldn't find anything about it. I'm pretty new to Android 12. I'm a developer, I made my old app many years ago. So, let's to the question. I'm started with Nav Drawer example in Last Android Studio (Chipmunk), I've understood or start from Activity and work with Fra... | android|android-studio|kotlin|fragment|tablayout | 0 | 2022-08-06T07:40:15.230Z | 2,022 | 8 | 7 | 5 | 40 | 0 | 598 | 30 | 5 | 0 | false | true | false | false | false | false | zero |
73,258,015 | how can i get a hashmap to store the number of an item sold | <p>Using a hash map i need to store the number of pies sold. I have three buttons in my android studio app, mince, steak and potatotop. when a user clicks a button i need to update the value stored in the hashmap increasing it by one.</p> | Using a hash map i need to store the number of pies sold. I have three buttons in my android studio app, mince, steak and potatotop. when a user clicks a button i need to update the value stored in the hashmap increasing it by one. | java|android|button|hashmap | 0 | 2022-08-06T07:43:21.787Z | 2,022 | 8 | 7 | 5 | 29 | 0 | 231 | 59 | 4 | 0 | false | true | false | false | false | false | zero |
73,258,057 | Library trim music file in android studio? | <p>I'm newbie, i met a problem that how to (or any libray) trim music file in android studio. I searched but not found anything.Thanks.
Example :I have a piece of music from 00:00 to 00:50 seconds long and I want to cut this piece of music from 00:30 to 00:50, what should I do?</p> | I'm newbie, i met a problem that how to (or any libray) trim music file in android studio. I searched but not found anything.Thanks. Example :I have a piece of music from 00:00 to 00:50 seconds long and I want to cut this piece of music from 00:30 to 00:50, what should I do? | java|android|kotlin | 0 | 2022-08-06T07:49:39.690Z | 2,022 | 8 | 7 | 5 | 20 | 0 | 275 | 42 | 3 | 0 | false | true | false | false | false | false | zero |
73,258,077 | How can I get a date object from timestamp firebase kotlin | <pre><code>data class Message(
var message:String,
var id:String,
var receiverID:String,
@ServerTimestamp
var date: Date? = null,
var isChecked:Boolean,
var type:String,
</code></pre>
<p>)</p>
<p>This is the model of my message</p>
<pre><code>val message = Message(text, id, receiverUser.uid, null, false, MESSAGE_TYPE_T... | [CODE] ) This is the model of my message [CODE] This is how I add a message, I pass the date value as null so it generates itself, but I don't understand how I can get the generated time from there to display it on the screen and sort the list of messages, because when I try to get the value, I can't translate it to da... | android|firebase|kotlin|google-cloud-platform|google-cloud-firestore | 0 | 2022-08-06T07:52:27.003Z | 2,022 | 8 | 7 | 5 | 55 | 1 | 386 | 58 | 5 | 3 | true | false | false | false | false | false | zero |
73,258,093 | NullPointerException: in firebaseUser | <p>I am making chatting application and getting error showing in logcat at Userfragment.java:</p>
<pre><code>java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.tonyapp.jpgrammar.Fragments.UsersFragment$6.onDataChange... | I am making chatting application and getting error showing in logcat at Userfragment.java: [CODE] I try to find out the problem and fix it but I don't know how to fix. Can anyone please help me solve this issue. below is code of Userfragment.java : [CODE] | android|firebase|authentication|firebase-realtime-database|nullpointerexception | 0 | 2022-08-06T07:54:58.293Z | 2,022 | 8 | 7 | 5 | 28 | 0 | 255 | 37 | 5 | 2 | true | true | false | false | false | false | zero |
73,258,107 | React-native fails to sign release build | <p>Hello i recently got this error while running <code>npx react-native run-android --variant=release --no-jetifier</code></p>
<p>FAILURE: Build failed with an exception.</p>
<pre><code>* What went wrong:
Execution failed for task ':app:packageRelease'.
> A failure occurred while executing com.android.build.gradle.t... | Hello i recently got this error while running npx react-native run-android --variant=release --no-jetifier FAILURE: Build failed with an exception. [CODE] It used to work fine, not sure what went wrong. Debug version runs fine. GRADLE 7.3.3 REACT - NATIVE 8.6.0 | android|react-native | 0 | 2022-08-06T07:58:00.120Z | 2,022 | 8 | 7 | 5 | 56 | 0 | 261 | 40 | 2 | 1 | true | true | false | false | false | false | zero |
73,258,363 | Get name/title of a string-array in strings.xml | <p>I've got a string-array</p>
<pre><code><string-array name="color">
<item>red</item>
<item>green</item>
<item>purple</item>
</string-array>
</code></pre>
<ol>
<li><p>How could I get it's name with Java? (I want to get a string with "color"... | I've got a string-array [CODE] How could I get it's name with Java? (I want to get a string with "color" inside) How to I extract it's name to a string? To do smth like this: [CODE] <string name="color">color</string> Is it redudant to extract all items of a string-array to strings? like this: [CODE... | java|android|arrays | 0 | 2022-08-06T08:38:43.897Z | 2,022 | 8 | 8 | 5 | 43 | 2 | 457 | 47 | 3 | 3 | true | false | false | false | false | false | zero |
73,258,379 | How to build screens properly in flutter | <p>I am new to flutter and I need help in rendering screens in proper order.</p>
<p>I am creating a chat app, where previoulsly, there was a chat overview screen, and, if anyone clicks on a "chat room tile", he/she goes to that particular chat room's screen. And from inside, if the back button is pressed with... | I am new to flutter and I need help in rendering screens in proper order. I am creating a chat app, where previoulsly, there was a chat overview screen, and, if anyone clicks on a "chat room tile", he/she goes to that particular chat room's screen. And from inside, if the back button is pressed with Navigator... | android|flutter|push-notification|flutter-layout | 0 | 2022-08-06T08:41:53.300Z | 2,022 | 8 | 8 | 5 | 34 | 1 | 871 | 40 | 4 | 2 | true | false | false | false | false | false | zero |
73,258,421 | Which TCP Congestion Control Algorighms are supported (and used) by OkHttp? | <p>What is the list of all TCP Congestion Control Algorithms that are utilized by the <a href="https://github.com/square/okhttp" rel="nofollow noreferrer">OkHttp library</a>?</p>
<p>I'm trying to figure out why some FOSS mobile apps fail so miserably in poor network conditions (high packet loss, jitter, latency). But s... | What is the list of all TCP Congestion Control Algorithms that are utilized by the OkHttp library ? I'm trying to figure out why some FOSS mobile apps fail so miserably in poor network conditions (high packet loss, jitter, latency). But sometimes the devs just wave their hands and say it should be fine because they're ... | android|tcp|okhttp|jitter|packet-loss | 0 | 2022-08-06T08:50:22.720Z | 2,022 | 8 | 8 | 5 | 79 | 2 | 645 | 75 | 5 | 0 | false | false | false | false | false | false | zero |
73,258,472 | how to use aa_chart_view kotlin(getting runtime error) | <p>I'm trying to plot some data using <a href="https://github.com/AAChartModel/AAChartCore-Kotlin" rel="nofollow noreferrer">aa_chart_view</a> library and I followed the instruction up until the point of binding activity_main.xml component to the code, the doc suggests using kotlin-android-extensions which is deprecate... | I'm trying to plot some data using aa_chart_view library and I followed the instruction up until the point of binding activity_main.xml component to the code, the doc suggests using kotlin-android-extensions which is deprecated and the error suggests using kotlin-parcelize which I did and now I've got the following cod... | android|kotlin|plot | 0 | 2022-08-06T09:02:49.463Z | 2,022 | 8 | 9 | 5 | 41 | 0 | 484 | 54 | 3 | 3 | true | true | false | false | false | false | zero |
73,258,565 | Play Store warning: You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33) | <p>I am trying to release a Flutter based Android app to the Play Store.</p>
<p>When I review my release in Play Store console, I have the following warning:</p>
<blockquote>
<p>You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33). We'll use this declaration to... | I am trying to release a Flutter based Android app to the Play Store. When I review my release in Play Store console, I have the following warning: You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33). We'll use this declaration to provide safeguards in Play Co... | android|flutter|ads|google-play-console | 12 | 2022-08-06T09:18:05.583Z | 2,022 | 8 | 9 | 5 | 5,196 | 2 | 858 | 131 | 4 | 1 | true | false | true | false | true | false | medium |
73,258,630 | flutter sticky bottom navigation for all screens | <p>how do I created a bottom navigation bar fixed for all screens throughout the app and add a player on top of it fixed too. The desired goal is <a href="https://i.stack.imgur.com/2ed2k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2ed2k.png" alt="enter image description here" /></a></p> | how do I created a bottom navigation bar fixed for all screens throughout the app and add a player on top of it fixed too. The desired goal is | android|flutter|widget|flutter-bottomnavigation | 0 | 2022-08-06T09:29:10.417Z | 2,022 | 8 | 9 | 5 | 54 | 1 | 142 | 48 | 4 | 0 | false | false | false | false | false | false | zero |
73,258,652 | Android Foreground service stops running at the right intervals | <p>I'm currently working on a Basic Android application which uses a Foreground service to send a text message at certain times and days. If it's a certain time, it will send the message every 15 minutes.
This works perfectly fine the day I start the app, but the day after it's just completely messed up and runs at the... | I'm currently working on a Basic Android application which uses a Foreground service to send a text message at certain times and days. If it's a certain time, it will send the message every 15 minutes. This works perfectly fine the day I start the app, but the day after it's just completely messed up and runs at the mo... | java|android | 0 | 2022-08-06T09:32:29.370Z | 2,022 | 8 | 9 | 5 | 23 | 0 | 437 | 63 | 2 | 1 | true | true | false | false | false | false | zero |
73,258,803 | Jetpack Compose: AndroidView Color in Dark Theme | <p>I found the colors of <code>AndroidView</code> in my app do not change with dark theme setting. For instance, I have a textView, whose textColor remains black(or grey) when system is in dark theme, causing the content hard to recognize. Of course I can set color for the textView like:</p>
<pre class="lang-kotlin pre... | I found the colors of AndroidView in my app do not change with dark theme setting. For instance, I have a textView, whose textColor remains black(or grey) when system is in dark theme, causing the content hard to recognize. Of course I can set color for the textView like: [CODE] It works fine, but the question is that ... | android|android-jetpack-compose | 1 | 2022-08-06T10:00:28Z | -1 | -1 | -1 | -1 | 123 | 1 | 827 | 48 | 2 | 1 | true | false | false | false | false | false | low |
73,258,807 | How to flip camera with imagebutton in kotlin | <p>Hey there I want to flip my camera with an image button (e.g. btn_switch_camera) from back to front and vice-versa, help me!, this beautiful code has all basic things but no camera flip option so I want a flip camera imagebutton in this camera app , it has latest CameraX api it supports gradle 7.0.0 +. I just need s... | Hey there I want to flip my camera with an image button (e.g. btn_switch_camera) from back to front and vice-versa, help me!, this beautiful code has all basic things but no camera flip option so I want a flip camera imagebutton in this camera app , it has latest CameraX api it supports gradle 7.0.0 +. I just need some... | android|kotlin|android-camerax|android-imagebutton|front-camera | 1 | 2022-08-06T10:01:20.313Z | 2,022 | 8 | 10 | 5 | 64 | 1 | 672 | 45 | 5 | 1 | true | false | false | false | false | false | low |
73,258,840 | Is there any method to get youtube video link that are currently playing? | <p>I want to make one android app that will run in background. When someone open youtube app and start to play any video That video link will automatically copied and one popup will visible to user to download that video. Assume User will give all the permission that app needs.
I tried to google it but didn't find anyt... | I want to make one android app that will run in background. When someone open youtube app and start to play any video That video link will automatically copied and one popup will visible to user to download that video. Assume User will give all the permission that app needs. I tried to google it but didn't find anythin... | java|android|android-studio|youtube|youtube-api | 0 | 2022-08-06T10:07:29.967Z | 2,022 | 8 | 10 | 5 | 45 | 0 | 450 | 73 | 5 | 0 | false | true | false | false | false | false | zero |
73,258,867 | How to hide the status bar permanently on Android R and upper version | <p>Is it possible to hide the status bar <strong>permanently</strong> on Android R and upper?</p>
<p>There was previous android R the flag <a href="https://developer.android.com/reference/android/view/View?hl=es-419#SYSTEM_UI_FLAG_IMMERSIVE_STICKY" rel="nofollow noreferrer">SYSTEM_UI_FLAG_IMMERSIVE_STICKY</a> but it ha... | Is it possible to hide the status bar permanently on Android R and upper? There was previous android R the flag SYSTEM_UI_FLAG_IMMERSIVE_STICKY but it has been deprecated. We should now use BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE as decribed here Hide system bars for immersive mode : [CODE] As the name suggest BEHAVIOR_S... | android|android-statusbar|android-fullscreen|android-immersive | 0 | 2022-08-06T10:12:02.873Z | 2,022 | 8 | 10 | 5 | 30 | 0 | 649 | 69 | 4 | 1 | true | true | false | false | false | false | zero |
73,258,908 | Why collecting Flow B inside Flow A leads to call Flow A collect block again | <p>I have two flows <strong>FlowA and FlowB</strong></p>
<pre><code>val flowA = listOf<Int>(1, 2, 3, 4, 5).asFlow()
val flowB = listOf<Int>(6, 7, 8, 9, 10).asFlow()
</code></pre>
<p>When I collect <strong>flowB</strong> using <strong>firstOrNull()</strong> inside <strong>flowA</strong> then the collection... | I have two flows FlowA and FlowB [CODE] When I collect flowB using firstOrNull() inside flowA then the collection on flowB leads to call flowA collect block i.e line number 2 again. [CODE] Output is perfect as it should be i.e 1 6 2 6 3 6 4 6 5 6 But I don't know why collecting flowB calls the flowA collect i.e line nu... | android|kotlin|kotlin-coroutines|kotlin-flow | 0 | 2022-08-06T10:18:47.570Z | 2,022 | 8 | 10 | 5 | 52 | 1 | 424 | 76 | 4 | 2 | true | false | false | false | false | false | zero |
73,258,945 | Android Gridlayout - Set background image for the entire row of items | <p>Is there a way to set image background to an entire row for a GridLayout in a way it's illustrated in the picture below?</p>
<p><a href="https://i.stack.imgur.com/v1efo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v1efo.png" alt="Red dots represent GridLayout items" /></a></p>
<p>Red dots repre... | Is there a way to set image background to an entire row for a GridLayout in a way it's illustrated in the picture below? Red dots represent GridLayout items and number of those items should be dynamic. The way it works in my app is that I have a list of items fetched from API that fills up my RecyclerView (for which I ... | android|android-recyclerview|android-xml|android-gridlayout | 0 | 2022-08-06T10:24:53.793Z | 2,022 | 8 | 10 | 5 | 27 | 0 | 767 | 69 | 4 | 0 | false | true | false | false | false | false | zero |
73,258,984 | Customize speed animation for Animated Vector Drawable | <p><a href="https://i.stack.imgur.com/czL2t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/czL2t.png" alt="Example of the animated vector" /></a></p>
<p>I have animated vector, which just uses XML object animator. When i start my application, it will just start animating as usual. What i need to do,... | I have animated vector, which just uses XML object animator. When i start my application, it will just start animating as usual. What i need to do, if my goal is to manipulate duration of animation for some targets or parts via code? | android|animation|animatedvectordrawable | 2 | 2022-08-06T10:30:14.927Z | 2,022 | 8 | 10 | 5 | 18 | 0 | 233 | 54 | 3 | 0 | false | true | false | false | false | false | low |
73,259,032 | Options Not Showing In Android Studio Flutter Bulb | <p>Recently I’ve installed all the software for my app development projects and what i see is only two options are showing upon clicking yellow bulb
Options are:
1)create new scratch file from selection
2)adjust code style settings
Options that are not showing were:
Wrap with widget
Wrap with container etc</p> | Recently I’ve installed all the software for my app development projects and what i see is only two options are showing upon clicking yellow bulb Options are: 1)create new scratch file from selection 2)adjust code style settings Options that are not showing were: Wrap with widget Wrap with container etc | flutter|android-studio | 0 | 2022-08-06T10:37:45.613Z | 2,022 | 8 | 10 | 5 | 31 | 0 | 304 | 50 | 2 | 0 | false | true | false | false | false | false | zero |
73,259,037 | how do i open activity when i click on notification in background | <p>I have PushNotificationService and my method onMessageReceived.</p>
<p>If I am in the program, a notification comes from above and directs me to the page I want.</p>
<p>However, when the program is closed, when I click on the notification in the background, it does not go to the page I want, it only goes to the home... | I have PushNotificationService and my method onMessageReceived. If I am in the program, a notification comes from above and directs me to the page I want. However, when the program is closed, when I click on the notification in the background, it does not go to the page I want, it only goes to the homepage. And I want ... | java|android|firebase|push-notification|firebase-cloud-messaging | 0 | 2022-08-06T10:38:10.550Z | 2,022 | 8 | 10 | 5 | 28 | 0 | 419 | 65 | 5 | 2 | true | true | false | false | false | false | zero |
73,259,042 | How does NsdManager register/discover services impact battery life? | <p><a href="https://developer.android.com/reference/android/net/nsd/NsdManager" rel="nofollow noreferrer">https://developer.android.com/reference/android/net/nsd/NsdManager</a></p>
<p>I have 2 applications</p>
<p>1st is kind of server, it's registering service on activity resume and unregistering on pause.</p>
<p>2nd o... | https://developer.android.com/reference/android/net/nsd/NsdManager I have 2 applications 1st is kind of server, it's registering service on activity resume and unregistering on pause. 2nd of them is a client, it has to discover one specific service via NsdManager. Currently I stop discovering right after first service ... | android | 0 | 2022-08-06T10:39:20.830Z | 2,022 | 8 | 10 | 5 | 17 | 0 | 790 | 67 | 1 | 0 | false | true | false | false | false | false | zero |
73,259,103 | How can i learn the topics like wifimanager and scan for wifi and connect to it, bluetooth and nfc | <p>as I did finish 2 courses and neither in them explained those topics and I cant understand the docs they are too hard for me if there are any courses plz give me hints</p> | as I did finish 2 courses and neither in them explained those topics and I cant understand the docs they are too hard for me if there are any courses plz give me hints | android|android-wifi|android-bluetooth|android-networking|android-developer-api | 0 | 2022-08-06T10:48:12.803Z | 2,022 | 8 | 10 | 5 | 27 | 0 | 167 | 98 | 5 | 0 | false | true | false | false | false | false | zero |
73,259,114 | MULTIPLIER DOES NOT WORK! - Roblox Simulator | <p>I was making a game and I tried to script a multiplier in which u touch u get 2x multiplier forever
this is my tool which uses the "amount" value as its add so I made a script where u touch it the "amount" value is added to 1 but nothing works
[1]: <a href="https://i.stack.imgur.com/5L0gs.png" re... | I was making a game and I tried to script a multiplier in which u touch u get 2x multiplier forever this is my tool which uses the "amount" value as its add so I made a script where u touch it the "amount" value is added to 1 but nothing works [1]: https://i.stack.imgur.com/5L0gs.png [2]: https://i.... | android|script|simulator|roblox | 0 | 2022-08-06T10:50:56.213Z | 2,022 | 8 | 10 | 5 | 41 | 0 | 942 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
73,259,214 | Is there a way to programmatically delete other app's cache folders in android 12? | <p>Delete other app's cache folders, I was looking at other questions and it seems u can't use IPackageStatsObserver anymore, so any way to do it now?</p> | Delete other app's cache folders, I was looking at other questions and it seems u can't use IPackageStatsObserver anymore, so any way to do it now? | android|android-studio|kotlin | 0 | 2022-08-06T11:06:50Z | -1 | -1 | -1 | -1 | 63 | 1 | 147 | 82 | 3 | 0 | false | false | false | false | false | false | zero |
73,259,217 | Localize the NAME of a string-array (and it's items) | <p>I've got a string-array</p>
<pre><code><string-array name="Color">
<item>@string/red</item>
<item>@string/green</item>
<item>@string/purple</item>
</string-array>
<string name="red">red></string>
<string name="gre... | I've got a string-array [CODE] And I asses it in Java: [CODE] How do I localize the NAME of this array? Is it required to extract the strings as I've done it? Or is there a way to localize the entire array? | java|android|xml | -1 | 2022-08-06T11:06:55.383Z | 2,022 | 8 | 11 | 5 | 29 | 1 | 206 | 52 | 3 | 2 | true | false | false | false | false | true | negative |
73,259,268 | Suppress Android Studio spell check within a specific resource file | <p>I have a case of a lot of UI strings in Android <code>strings.xml</code> resource files, such as <code>sol3</code>, which are not words, and which do not belong in a dictionary. I would like to disable lint spell check for those strings, on a per-element basis, something like</p>
<pre><code><string someattr=&quo... | I have a case of a lot of UI strings in Android strings.xml resource files, such as sol3 , which are not words, and which do not belong in a dictionary. I would like to disable lint spell check for those strings, on a per-element basis, something like [CODE] and on a per-file basis, something like [CODE] Is there any w... | android|android-resources|lint|suppress-warnings|android-spellcheck | 0 | 2022-08-06T11:14:30.953Z | 2,022 | 8 | 11 | 5 | 18 | 1 | 936 | 67 | 5 | 3 | true | false | false | false | false | false | zero |
73,259,481 | MaterialButton onPress Function doesn't work | <p>I am Using Material Button as a reusable Component but it's action doesn't work anyway.
this is the error I Faced</p>
<pre><code>Exception caught by gesture
The following _CastError was thrown while handling a gesture:
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0 ... | I am Using Material Button as a reusable Component but it's action doesn't work anyway. this is the error I Faced [CODE] this is my code [CODE] MyButtonClass [CODE] in fact i'm using this class in more than 5 classes and working in all but here it doesn't work my ContactUs Function [CODE] could any one tell me how to s... | android|flutter|api|dart|dart-null-safety | 0 | 2022-08-06T11:50:33.090Z | 2,022 | 8 | 11 | 5 | 37 | 1 | 352 | 44 | 5 | 4 | true | false | false | false | false | false | zero |
73,259,551 | Why does my CardView first item (position 0) starts 2 activities instead of 1? | <p>I am trying to start an activity based on the CardView Item, I have tried starting an activity with setOnItemClickListener by using the position of the CardView. But only when (position 0) is clicked it will launch (position 1) activity followed by (position 0) activity.</p>
<p>Here is myAdapter setOnItemClickListen... | I am trying to start an activity based on the CardView Item, I have tried starting an activity with setOnItemClickListener by using the position of the CardView. But only when (position 0) is clicked it will launch (position 1) activity followed by (position 0) activity. Here is myAdapter setOnItemClickListener [CODE] ... | java|android|android-studio|android-cardview | 0 | 2022-08-06T12:00:29.647Z | 2,022 | 8 | 12 | 5 | 31 | 0 | 347 | 78 | 4 | 2 | true | true | false | false | false | false | zero |
73,259,578 | MPhiljay Barchart in android | <p>In Barchart show x values from column belongs to one label more than 2 two but should be one.</p>
<pre><code>viewModel.reportMounthData.observe(this, Observer { reportModelList->
val barChart = binding.idBarChartMounth
barChart.setScaleEnabled(false)
val entries: ArrayList<B... | In Barchart show x values from column belongs to one label more than 2 two but should be one. [CODE] enter image description here | mpandroidchart | 0 | 2022-08-06T12:04:57.113Z | 2,022 | 8 | 12 | 5 | 29 | 1 | 129 | 28 | 1 | 1 | true | false | false | false | false | false | zero |
73,259,632 | Why am I getting 413 request entity too large error when I make post request in flutter? | <p>Im trying to make post request in flutter as shown below</p>
<pre><code>uploadImage() async {
print('inside uploadimage function');
WidgetsBinding.instance.addPostFrameCallback((_) => setState((){isLoading = true;} ));
final request = http.MultipartRequest(
"POST", Uri.parse('htt... | Im trying to make post request in flutter as shown below [CODE] as a response I get error 413 request entity too large but when I make a request through POSTMAN i can successfully make a request with status 200 OK. as shown below I'm not able to figureout why this happening any help or suggestion on how to solve this w... | android|ios|flutter|api|dart | 1 | 2022-08-06T12:13:20Z | -1 | -1 | -1 | -1 | 97 | 0 | 352 | 88 | 5 | 1 | true | true | false | false | false | false | low |
73,259,698 | android ndk - execute .so binary file | <p><strong>Problem:</strong>
Want to run my build .so file with android runtime.exec or processbuilder</p>
<p><strong>C side code: example.cpp</strong></p>
<p>#include
using namespace std;</p>
<pre><code>int main( int argc, char* argv[])
{
cout << "Count: " << argc << endl;
for (int... | Problem: Want to run my build .so file with android runtime.exec or processbuilder C side code: example.cpp #include using namespace std; [CODE] Android side code(kotlin): [CODE] Errors: Exit value = 139 Note: CPP code is working on console and there are no errors in cpp code. and i am using NDK.) Question: May I execu... | android|c++|kotlin|android-ndk|java-native-interface | 0 | 2022-08-06T12:23:48.860Z | 2,022 | 8 | 12 | 5 | 35 | 0 | 360 | 37 | 5 | 2 | true | true | false | false | false | false | zero |
73,259,739 | The xml layout_gravity doesn't work at all | <p>Dear stack overflow members, I have searched and think out to solve the below issue, but unfortunately, without a benefit:</p>
<p>My Issue is simply: I have two items 'scroll view which contains linear layout', and custom view, these two items are placed into a vertical linear layout. I want to display the item cust... | Dear stack overflow members, I have searched and think out to solve the below issue, but unfortunately, without a benefit: My Issue is simply: I have two items 'scroll view which contains linear layout', and custom view, these two items are placed into a vertical linear layout. I want to display the item custom view in... | android|xml|gravity|layout-gravity | 0 | 2022-08-06T12:29:50.527Z | 2,022 | 8 | 12 | 5 | 32 | 0 | 721 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
73,259,752 | Play Store doesn't accept my AppBundle with Flutter? | <p>I want to upload my Flutter AppBunble to PlayStore but I got this message from PlayStore:</p>
<p><a href="https://i.stack.imgur.com/oFivv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oFivv.png" alt="enter image description here" /></a></p>
<p>And Here are AndroidManifest.xml codes:</p>
<pre><co... | I want to upload my Flutter AppBunble to PlayStore but I got this message from PlayStore: And Here are AndroidManifest.xml codes: [CODE] I run this command to generate AppBundle: [CODE] My System Info: Flutter 3.0.2 Dart 2.17.3 Ubuntu 22.04 LTS And also I tried all of the answers in this post , but still the same issue... | android|flutter|android-studio|dart|google-play | 3 | 2022-08-06T12:31:41.190Z | 2,022 | 8 | 12 | 5 | 299 | 3 | 376 | 52 | 5 | 2 | true | false | false | false | false | false | low |
73,259,757 | Push notification without opening app even once? | <p>I have an app for device registration, I want users to register their device for warranty. App will be pre install by the OS and I want to send notification for the users who didn't register even if they did not open the app for once. But according to my knowledge it is necessary to open the app once to receive noti... | I have an app for device registration, I want users to register their device for warranty. App will be pre install by the OS and I want to send notification for the users who didn't register even if they did not open the app for once. But according to my knowledge it is necessary to open the app once to receive notific... | android|flutter | 0 | 2022-08-06T12:32:16.413Z | 2,022 | 8 | 12 | 5 | 22 | 0 | 327 | 48 | 2 | 0 | false | true | false | false | false | false | zero |
73,259,761 | Android - There is a space at bottom | <p>I am building an Android application in which I would like to show the bottom navigation view inside the Drawer layout. And I am seeing the unnecessary space at the bottom.</p>
<p><a href="https://i.stack.imgur.com/oBHIx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oBHIx.png" alt="enter image d... | I am building an Android application in which I would like to show the bottom navigation view inside the Drawer layout. And I am seeing the unnecessary space at the bottom. Here is XML file. activity_main.xml [CODE] content_main.xml [CODE] Thanks in advance. | android|xml|android-layout | 0 | 2022-08-06T12:32:36.653Z | 2,022 | 8 | 12 | 5 | 27 | 0 | 258 | 36 | 3 | 2 | true | true | false | false | false | false | zero |
73,259,925 | How can I scroll to a specific character in a Label? (On Android device) | <p>Let's say we have a Label that contains some text:</p>
<pre><code><Label x:Name="note_label" TextType="Html" FontSize="18" TextColor="White"/>
</code></pre>
<p>Is there a way to scroll to a specific character in it?</p>
<p><strong>PS:</strong> I've only found scroll opti... | Let's say we have a Label that contains some text: [CODE] Is there a way to scroll to a specific character in it? PS: I've only found scroll options in the ListView , to a specific page element, and to screen coordinates, but haven't found anything (in Xamarin) that would allow me to scroll to the desired character in ... | c#|android|xaml|xamarin.forms | 0 | 2022-08-06T12:58:35.183Z | 2,022 | 8 | 12 | 5 | 44 | 0 | 329 | 72 | 4 | 1 | true | true | false | false | false | false | zero |
73,259,930 | Volly JsonObjectRequest is not working and response is not getting called | <p>I have logged to understand the flow of code. And I also have tried to create an object separately and passing it to JsonObjectRequest. I am sharing function snippet. And also log result. I have tried to make request by using POST method as well. Still my response is not getting called. I have also tried to make an ... | I have logged to understand the flow of code. And I also have tried to create an object separately and passing it to JsonObjectRequest. I am sharing function snippet. And also log result. I have tried to make request by using POST method as well. Still my response is not getting called. I have also tried to make an req... | java|android|android-studio|android-volley | 0 | 2022-08-06T12:59:39.153Z | 2,022 | 8 | 12 | 5 | 37 | 0 | 426 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
73,259,944 | Android (java) : Navigation icon instead back arrow in toolbar | <p>Currently my navigation icon that leads to my "AppBarConfiguration" disappears automatically as soon as I switch to the next fragment to leave a back arrow.
How can I make sure that on all the following fragments, the navigation icon is displayed instead of this arrow?</p>
<p>Thank you for your help!</p>
<... | Currently my navigation icon that leads to my "AppBarConfiguration" disappears automatically as soon as I switch to the next fragment to leave a back arrow. How can I make sure that on all the following fragments, the navigation icon is displayed instead of this arrow? Thank you for your help! toolbar fragmen... | java|android|navigationview | 0 | 2022-08-06T13:01:03.873Z | 2,022 | 8 | 13 | 5 | 23 | 0 | 578 | 62 | 3 | 4 | true | true | false | false | false | false | zero |
73,260,050 | How to redirect user to android home page | <p>I am trying to make an application that redirects the user to the home page whenever a particular app is opened and prompts this app is safe, so I have tried a code but it's not getting exciting
The code is as follows</p>
<pre><code>if (value.startsWith("1"))
{
Accessibil... | I am trying to make an application that redirects the user to the home page whenever a particular app is opened and prompts this app is safe, so I have tried a code but it's not getting exciting The code is as follows [CODE] | java|android|kotlin|accessibility | 1 | 2022-08-06T13:14:42.780Z | 2,022 | 8 | 13 | 5 | 37 | 0 | 224 | 41 | 4 | 1 | true | true | false | false | false | false | low |
73,260,079 | how to make app stop when screen turns off | <p>I have created an exercise app with text-to-speech functionality that says exercise name and sound when it's time to rest. but when I turn the screen off app keeps working making the sound and saying the exercise name. I think it has something to do with activity lifecycle, but I am a beginner in android development... | I have created an exercise app with text-to-speech functionality that says exercise name and sound when it's time to rest. but when I turn the screen off app keeps working making the sound and saying the exercise name. I think it has something to do with activity lifecycle, but I am a beginner in android development, s... | android | 0 | 2022-08-06T13:17:12.613Z | 2,022 | 8 | 13 | 5 | 34 | 1 | 406 | 42 | 1 | 0 | false | false | false | false | false | false | zero |
73,260,124 | Android Studio "Function invocation 'LayoutInflater(...)' expected" | <p>I am a novice at android studio and I am trying to make a simple Business Card App.</p>
<p>the issue is an error message that says:</p>
<pre><code>Function invocation 'LayoutInflater(...)' expected
</code></pre>
<p>This is my main activity file:</p>
<pre><code>package com.example.appcartodevisita.ui
import androidx... | I am a novice at android studio and I am trying to make a simple Business Card App. the issue is an error message that says: [CODE] This is my main activity file: [CODE] This is my AddBusinessCardActivity: [CODE] | java|android|kotlin | 0 | 2022-08-06T13:22:34.720Z | 2,022 | 8 | 13 | 5 | 48 | 1 | 212 | 67 | 3 | 3 | true | false | false | false | false | false | zero |
73,260,274 | How to open Firebase Dynamic Link in Play Store App | <p>I'm using invitation links from Firebase Dynamic Links that redirect my user to the Play Store on Android if the app is not installed. The redirection works fine and my app's store page is opened.</p>
<p>The problem is that the Play Store is opened in a browser window rather than in the Play Store app. This means th... | I'm using invitation links from Firebase Dynamic Links that redirect my user to the Play Store on Android if the app is not installed. The redirection works fine and my app's store page is opened. The problem is that the Play Store is opened in a browser window rather than in the Play Store app. This means that the use... | android|google-play|firebase-dynamic-links | 0 | 2022-08-06T13:41:51.253Z | 2,022 | 8 | 13 | 5 | 94 | 1 | 546 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
73,260,389 | Open next Activity multiple times | <p>I'm trying to modify the MLSeries pose detection code by Google, when it reached 3 squats it will open a new activity. But, after I edit the code and ran it, it open the new activity multiple times. How I can avoid the app to open the activity multiple times when it reached certain reps?</p>
<pre><code> // Update... | I'm trying to modify the MLSeries pose detection code by Google, when it reached 3 squats it will open a new activity. But, after I edit the code and ran it, it open the new activity multiple times. How I can avoid the app to open the activity multiple times when it reached certain reps? [CODE] | java|android|android-studio|mobile|google-mlkit | 0 | 2022-08-06T13:57:28.870Z | 2,022 | 8 | 13 | 5 | 27 | 0 | 295 | 33 | 5 | 1 | true | true | false | false | false | false | zero |
73,260,437 | How to achieve such search bar effect when scrolling in jetpack compose? | <p>What I want to do is for the search bar to remain visible while scrolling down like that:<a href="https://www.tumblr.com/blog/view/skyune/691844613080809472?source=share" rel="nofollow noreferrer">video</a></p> | What I want to do is for the search bar to remain visible while scrolling down like that: video | android|kotlin|user-interface|android-jetpack-compose | 0 | 2022-08-06T14:04:07.963Z | 2,022 | 8 | 14 | 5 | 42 | 1 | 95 | 72 | 4 | 0 | false | false | false | false | false | false | zero |
73,260,567 | Trouble incrementing ID without using autoincrement Android Studio | <p>I am new to andorid studio and building a sports stats app. I am using an SQLite database to store players, squads and stats. <strong>15 players</strong> can be added to a <strong>squad</strong> in the <strong>'squad' table</strong>, after which i wish to increment the <strong>'squad_id'</strong> by 1. This is the s... | I am new to andorid studio and building a sports stats app. I am using an SQLite database to store players, squads and stats. 15 players can be added to a squad in the 'squad' table , after which i wish to increment the 'squad_id' by 1. This is the schema for the 'squad' table [CODE] 'squad_id' is not the PK and I cann... | java|android|sqlite|android-studio | 0 | 2022-08-06T14:21:03.963Z | 2,022 | 8 | 14 | 5 | 32 | 0 | 1,024 | 66 | 4 | 2 | true | true | false | false | false | false | zero |
73,260,578 | Mixing two or more receivers together android java | <p>I am working on mobile app in android where I need to register 4 receivers for example for location... I need to mix them together to one "receiver class" which will wait for few of them and after I got some data from them start a function to process them.</p>
<p>I tried to separate receivers into classes ... | I am working on mobile app in android where I need to register 4 receivers for example for location... I need to mix them together to one "receiver class" which will wait for few of them and after I got some data from them start a function to process them. I tried to separate receivers into classes and then c... | java|android|broadcastreceiver|receiver | 0 | 2022-08-06T14:22:46.310Z | 2,022 | 8 | 14 | 5 | 15 | 0 | 464 | 50 | 4 | 0 | false | true | false | false | false | false | zero |
73,260,598 | activity7 Error registering typeAlias for 'ByteArrayRefTypeHandler' | <pre><code>Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error registering typeAlias for 'ByteArrayRefTypeHandler'. Cause: java.lang.ClassNotFoundException: Cannot find class: org.activiti.engine.impl.persistence.ByteArrayRefTyp... | [CODE] enter image description here | android-activity | 0 | 2022-08-06T14:25:39.333Z | 2,022 | 8 | 14 | 5 | 14 | 0 | 35 | 67 | 1 | 1 | true | true | false | false | false | false | zero |
73,260,612 | Running shell commands into my android app, without root, through a bash script edited at runtime? | <p>I have been told several times that you cannot run shell commands, from an Android app, without having root access.</p>
<p>I came across this project on github: <a href="https://github.com/tytydraco/LADB" rel="nofollow noreferrer">https://github.com/tytydraco/LADB</a></p>
<p>The developer is writing at runtime shell... | I have been told several times that you cannot run shell commands, from an Android app, without having root access. I came across this project on github: https://github.com/tytydraco/LADB The developer is writing at runtime shell commands into a bash file and then it executes that script, regardless of the Android vers... | java|android|shell|kotlin|adb | 0 | 2022-08-06T14:28:11.073Z | 2,022 | 8 | 14 | 5 | 48 | 0 | 675 | 98 | 5 | 1 | true | true | false | false | false | false | zero |
73,260,657 | Recycler view not showing when data fetched from Node JS MongoDB | <p>When I manually add the objects for the data of the recycler view in the required ArrayList, it works fine, but as soon as I fetch the data from my Node JS MongoDB backend, it shows nothing.</p>
<p>The Java part:</p>
<pre><code>Call<ArrayList<BookingDetails>> call = retrofitInterface.executeAdminPendingR... | When I manually add the objects for the data of the recycler view in the required ArrayList, it works fine, but as soon as I fetch the data from my Node JS MongoDB backend, it shows nothing. The Java part: [CODE] The Node JS part: [CODE] Also, one thing to note is if I try to log the data fetched from Node in Android S... | android|node.js|mongodb|android-studio|retrofit | 0 | 2022-08-06T14:33:51.220Z | 2,022 | 8 | 14 | 5 | 33 | 0 | 595 | 64 | 5 | 2 | true | true | false | false | false | false | zero |
73,260,722 | How to make a transparent status and navigation bar solid again? | <p>I've made the status and navigation bar go transparent, like so:</p>
<pre><code>window.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS)
</code></pre>
<p>This works perfectly! But then, when a certain button is tapped, I want it go back to a solid color agai... | I've made the status and navigation bar go transparent, like so: [CODE] This works perfectly! But then, when a certain button is tapped, I want it go back to a solid color again with: [CODE] But the status bar still shows as transparent, is this working for other people? Or am I just doing something wrong on my part? A... | android|kotlin|android-statusbar | 0 | 2022-08-06T14:42:06.567Z | 2,022 | 8 | 14 | 5 | 48 | 1 | 367 | 64 | 3 | 2 | true | false | false | false | false | false | zero |
73,260,770 | i try to run the application but it gives me these errors | <p>lib/helper/notification_helper.dart:16:29: Error: Couldn't find constructor 'IOSInitializationSettings'.
var iOSInitialize = new IOSInitializationSettings();</p>
<p>lib/helper/notification_helper.dart:18:73: Error: No named parameter with the name 'onSelectNotification'.
flutterLocalNotificationsPlugin.initialize(in... | lib/helper/notification_helper.dart:16:29: Error: Couldn't find constructor 'IOSInitializationSettings'. var iOSInitialize = new IOSInitializationSettings(); lib/helper/notification_helper.dart:18:73: Error: No named parameter with the name 'onSelectNotification'. flutterLocalNotificationsPlugin.initialize(initializati... | android|ios|flutter|dart | 0 | 2022-08-06T14:48:43.997Z | 2,022 | 8 | 14 | 5 | 69 | 0 | 632 | 57 | 4 | 2 | true | true | false | false | false | false | zero |
73,260,795 | How to write and read Android Realm? | <p>I need to cache data in Realm in Android/Kotlin project.</p>
<p>When I write and then read – I get nothing. Previously I could write once, so I know that reading code works. But writes do nothing. Then I reset emulator and now I can't read anything. What I do wrong?</p>
<p>I tried to follow and <a href="https://www.... | I need to cache data in Realm in Android/Kotlin project. When I write and then read – I get nothing. Previously I could write once, so I know that reading code works. But writes do nothing. Then I reset emulator and now I can't read anything. What I do wrong? I tried to follow and an official example and the mistake sl... | android|kotlin|realm | 0 | 2022-08-06T14:53:19.203Z | 2,022 | 8 | 14 | 5 | 31 | 1 | 396 | 36 | 3 | 2 | true | false | false | false | false | false | zero |
73,260,844 | Android Emulator image Pixel and text very bad qulity | <p>i am using macOS 10.13.6 Mac mini (Mid 2011) intel processor. when i lunch a android emulator image qulity very bad and text regulation very bad</p>
<p>please anyone can help me??</p>
<p><a href="https://i.stack.imgur.com/imcN9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/imcN9.png" alt="Androi... | i am using macOS 10.13.6 Mac mini (Mid 2011) intel processor. when i lunch a android emulator image qulity very bad and text regulation very bad please anyone can help me?? | android|android-studio|android-emulator | 0 | 2022-08-06T14:58:33.627Z | 2,022 | 8 | 14 | 5 | 31 | 0 | 172 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
73,260,898 | FirebaseMessaging.getInstance() function calling failes my unit testing | <p>I am getting an error while running my Videmodel class unit test:</p>
<pre><code>Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
at android.os.Looper.getMainLooper(Looper.java)
at com.google.firebase.FirebaseAp... | I am getting an error while running my Videmodel class unit test: [CODE] I am calling a function inside of init block of the Viewmodel to get the Firebase token. This function calling is the cause of the error. if I comment the function, it works well. How can i solve this issue? Here i have added the code. Thanks in a... | android|kotlin|kotlin-coroutines|android-testing|android-unit-testing | 0 | 2022-08-06T15:07:02.817Z | 2,022 | 8 | 15 | 5 | 44 | 0 | 364 | 71 | 5 | 3 | true | true | false | false | false | false | zero |
73,260,958 | Removing default padding from TextField in version 1.2.0 includeFontPadding | <pre><code>compose_version = 1.2.0
kotlin 1.7.0
</code></pre>
<p>I am trying to remove the <code>TextField</code>. As I am using it with a trailing icon. So I can't use the <code>BasicTextField</code> as it doesn't have the trailing icon.</p>
<p>I am using version <code>1.2.0</code> and I was thinking that the <code>in... | [CODE] I am trying to remove the TextField . As I am using it with a trailing icon. So I can't use the BasicTextField as it doesn't have the trailing icon. I am using version 1.2.0 and I was thinking that the includeFontPadding was false by default. However, that didn't work. So I tried to explicitly try and set it as ... | android|android-jetpack-compose | 6 | 2022-08-06T15:14:52.800Z | 2,022 | 8 | 15 | 5 | 135 | 1 | 452 | 75 | 2 | 3 | true | false | false | false | false | false | medium |
73,260,974 | why this two items have different width in jetpack compose | <p>Hey guys I am learning textfield in jetpack compose. I want to use multiple time so I make a function and use it. when I am passing start padding it decreases the width of other one. Can someone help me on this, where i am wrong here.</p>
<pre><code>Column(
modifier = Modifier
.fillMaxSize()
... | Hey guys I am learning textfield in jetpack compose. I want to use multiple time so I make a function and use it. when I am passing start padding it decreases the width of other one. Can someone help me on this, where i am wrong here. [CODE] It look like this why my 2nd textfield is not 88.dp ? | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-08-06T15:17:02.187Z | 2,022 | 8 | 15 | 5 | 67 | 1 | 295 | 58 | 4 | 1 | true | false | false | false | false | false | zero |
73,260,977 | How can I find flutter packages is not support android? | <p>My flutter project can build and install in android 11 device,but cannot install in android 12.</p>
<p>I was fix my androidManifest.xml,</p>
<p>this is my androidManifest.xml,<code>android:exported="true"</code></p>
<pre><code><manifest xmlns:android="http://schemas.android.com/apk/res/android"... | My flutter project can build and install in android 11 device,but cannot install in android 12. I was fix my androidManifest.xml, this is my androidManifest.xml, android:exported="true" [CODE] this is my pubspec.yaml Can I find which packages are not support android 12? [CODE] when I $flutter run in pixel 4a ... | android|flutter|android-12 | 0 | 2022-08-06T15:17:34.383Z | 2,022 | 8 | 15 | 5 | 38 | 2 | 380 | 55 | 3 | 3 | true | false | false | false | false | false | zero |
73,261,098 | I'm trying to launch arch linux on my termux | <p>I'm trying to launch arch linux on my termux with kde using vnc, but it gives me an error when I run this command</p>
<p><code>DISPLAY=:1 dbus-launch plasma_session</code></p>
<p>please help I install arch using proot
<a href="https://youtu.be/xTpYtjG7kpI" rel="nofollow noreferrer">https://youtu.be/xTpYtjG7kpI</a></... | I'm trying to launch arch linux on my termux with kde using vnc, but it gives me an error when I run this command DISPLAY=:1 dbus-launch plasma_session please help I install arch using proot https://youtu.be/xTpYtjG7kpI error: [CODE] screen shot https://i.stack.imgur.com/CdGzu.jpg | android|archlinux|kde-plasma|termux | 0 | 2022-08-06T15:32:37.510Z | 2,022 | 8 | 15 | 5 | 95 | 0 | 281 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
73,261,194 | getting error : 'onCreateLoader(int, Bundle)' in clashes with 'onCreateLoader(int, Bundle)' in androidx.loader.app.LoaderManager.LoaderCallbacks' | <p>I am making a fragment that uses content provider to get contacts from any phone using listview</p>
<pre><code>@SuppressWarnings("ALL")
public abstract class fragment3 extends Fragment implements
LoaderManager.LoaderCallbacks<Cursor>,
AdapterView.OnItemClickListener, androidx.loader.a... | I am making a fragment that uses content provider to get contacts from any phone using listview [CODE] | callback|loader|android-cursor | 0 | 2022-08-06T15:47:22.350Z | 2,022 | 8 | 15 | 5 | 11 | 0 | 102 | 145 | 3 | 1 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.