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,169,512 | How to permanently delete recurring alarm in Android | <p>I am developing an app that has users set up reminder alarms they can have remind them once, or remind them continuously based on their choosing (hour, minute, day, etc.). However, when I try to delete a recurring reminder, the reminder still pops up. For example, if I set a reminder for 8:20 am that repeats every h... | I am developing an app that has users set up reminder alarms they can have remind them once, or remind them continuously based on their choosing (hour, minute, day, etc.). However, when I try to delete a recurring reminder, the reminder still pops up. For example, if I set a reminder for 8:20 am that repeats every hour... | java|android|alarm | 0 | 2022-07-29T18:15:59.690Z | 2,022 | 7 | 18 | 4 | 16 | 0 | 777 | 52 | 3 | 2 | true | true | false | false | false | false | zero |
73,169,576 | when selecting the word of a text it is translated, I do not want to translate all the text only the word that I select. how can i do that in flutter | <p>the idea is that when selecting the word of a text it is translated, I do not want to translate all the text only the word that I select. how can i do that in flutter</p>
<p>I have the library to select</p>
<p>/// <code>import 'package:selectable/selectable.dart';</code></p>
<p>and the google translator library- api... | the idea is that when selecting the word of a text it is translated, I do not want to translate all the text only the word that I select. how can i do that in flutter I have the library to select /// import 'package:selectable/selectable.dart'; and the google translator library- api /// import 'package:translator/trans... | android|ios|flutter|dart|transactions | 0 | 2022-07-29T18:23:07.580Z | 2,022 | 7 | 18 | 4 | 27 | 0 | 605 | 149 | 5 | 0 | false | true | false | false | false | false | zero |
73,169,788 | Android Studio not creating main.dart file | <p>I'm new to programming so please be genetle. I'm handy with computers though and I've been sitting on this problem for a few weeks while learning flutter and dart</p>
<p>When I create a new flutter application in android studio, it does not create a main.dart file - the libs foder is empty, and I also see no IOS fol... | I'm new to programming so please be genetle. I'm handy with computers though and I've been sitting on this problem for a few weeks while learning flutter and dart When I create a new flutter application in android studio, it does not create a main.dart file - the libs foder is empty, and I also see no IOS folder. In fa... | flutter|android-studio | -1 | 2022-07-29T18:45:15.480Z | 2,022 | 7 | 18 | 4 | 86 | 3 | 1,338 | 42 | 2 | 0 | false | false | false | false | false | true | negative |
73,169,819 | How to brute force and open a protected android app using scrcpy | <p>I have an app which i wanted to view on my linux desktop, using scrcpy.
All the android app contents(inside the app) are visible in my scrcpy desktop, except when i open PDF's from that app.
when i open a pdf from that app, im getting this error message:</p>
<pre><code>Please turn off usb debugging under developer o... | I have an app which i wanted to view on my linux desktop, using scrcpy. All the android app contents(inside the app) are visible in my scrcpy desktop, except when i open PDF's from that app. when i open a pdf from that app, im getting this error message: [CODE] Is there any way to open access to it? I simply wanted to ... | android|usb-debugging | -1 | 2022-07-29T18:47:58.167Z | 2,022 | 7 | 18 | 4 | 75 | 1 | 469 | 64 | 2 | 1 | true | false | false | false | false | true | negative |
73,169,874 | Doesn't support required feature: android.hardware.camera | <p>I'm running into an issue where my wear os app is not showing up in the play store to be downloaded. It is available to internal testers, but when released into production the app is not available to outside users. When looking at the device catalog it is telling me that the application is not supported only in the ... | I'm running into an issue where my wear os app is not showing up in the play store to be downloaded. It is available to internal testers, but when released into production the app is not available to outside users. When looking at the device catalog it is telling me that the application is not supported only in the pro... | android|wear-os|google-play-console | 1 | 2022-07-29T18:52:40.080Z | 2,022 | 7 | 18 | 4 | 43 | 0 | 1,013 | 57 | 3 | 0 | false | true | false | false | false | false | low |
73,170,014 | How to programmatically detect if Accessibility event comes from FLAG_SECURE Android app? | <p>Google has issued this requirement for Android apps, effective November 1, 2022:</p>
<p>"For security and privacy purposes, all apps distributed on Google Play are required to respect the <code>FLAG_SECURE</code> declaration of other apps. Meaning, apps must not facilitate or create workarounds to bypass the <c... | Google has issued this requirement for Android apps, effective November 1, 2022: "For security and privacy purposes, all apps distributed on Google Play are required to respect the FLAG_SECURE declaration of other apps. Meaning, apps must not facilitate or create workarounds to bypass the FLAG_SECURE settings in o... | java|android|accessibility|flag-secure | 2 | 2022-07-29T19:09:14.213Z | 2,022 | 7 | 19 | 4 | 104 | 0 | 922 | 89 | 4 | 0 | false | true | false | false | false | false | low |
73,170,089 | Changing the reference for sensors on Android Studio | <p>I'm trying to get the values of Magnetic Field on each axis using my mobile phone, it seems that the results that I get from magnetometer sensors depend on the phone reference (see <a href="https://i.stack.imgur.com/KizYl.png" rel="nofollow noreferrer">1</a>). So every time I rotate or move my phone, I get different... | I'm trying to get the values of Magnetic Field on each axis using my mobile phone, it seems that the results that I get from magnetometer sensors depend on the phone reference (see 1 ). So every time I rotate or move my phone, I get different values. I tried to fix a reference so I can get constant values. For the mome... | java|android|sensors | 0 | 2022-07-29T19:16:50.747Z | 2,022 | 7 | 19 | 4 | 16 | 0 | 555 | 52 | 3 | 0 | false | true | false | false | false | false | zero |
73,170,356 | Can notification.setSound() be used with multiple audio sources? | <p><strong>Expected:</strong> A different audio file plays for each if statement</p>
<p><strong>Actual:</strong> The first audio file plays for all notifications. The text message updates correctly, so it is meeting the if statement requirements.</p>
<p>Is there a way to have the correct audio file play?</p>
<pre><code... | Expected: A different audio file plays for each if statement Actual: The first audio file plays for all notifications. The text message updates correctly, so it is meeting the if statement requirements. Is there a way to have the correct audio file play? [CODE] | java|android | 0 | 2022-07-29T19:47:44.803Z | 2,022 | 7 | 19 | 4 | 14 | 1 | 261 | 64 | 2 | 1 | true | false | false | false | false | false | zero |
73,170,358 | Can Branch.io fallback to a different app | <p>I am currently developing a new app to replace my old mobile app. The old and new mobile app will both exist at the same time to give the customers time to transition from the old to new app. The old mobile app is using branch.io for deep linking and I would like to continue using those deep links for my new mobile ... | I am currently developing a new app to replace my old mobile app. The old and new mobile app will both exist at the same time to give the customers time to transition from the old to new app. The old mobile app is using branch.io for deep linking and I would like to continue using those deep links for my new mobile app... | android|ios|deep-linking|branch.io | 3 | 2022-07-29T19:48:01.103Z | 2,022 | 7 | 19 | 4 | 64 | 1 | 700 | 41 | 4 | 0 | false | false | false | false | false | false | low |
73,170,426 | Android Studio adding custom intentions for Flutter | <p>I can't find anywhere how to add a custom menu intention in Android Studio for Flutter.</p>
<p>I know it can be done because some plugins expand the default set of intentions (like in the example below I have some extra Bloc intentions).</p>
<p><a href="https://i.stack.imgur.com/ujDb6.png" rel="nofollow noreferrer">... | I can't find anywhere how to add a custom menu intention in Android Studio for Flutter. I know it can be done because some plugins expand the default set of intentions (like in the example below I have some extra Bloc intentions). More specifically, I tend to use the Stack Widget, so I would like to add something like ... | flutter|android-studio|ide | 0 | 2022-07-29T19:56:02.147Z | 2,022 | 7 | 19 | 4 | 14 | 0 | 385 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
73,170,474 | Android Magnetic Field Sensor: Measure how much time that passes until value changes from pos -> neg (or vice verca) | <p>Using Android phones Magnetic Field sensor I am able to get a value depending on Z-Rotation. So if Z-Rotation is a positive value, so will this value (x) be.</p>
<pre><code>private SensorEventListener sensorEventListener = new SensorEventListener() {
@Override
public void onSensorChanged(SensorEvent sensorE... | Using Android phones Magnetic Field sensor I am able to get a value depending on Z-Rotation. So if Z-Rotation is a positive value, so will this value (x) be. [CODE] Here is how I picture it: I would like to measure how much time that passes while value (x) is positive or negative. For example: x stays between 0 - 2.5 f... | java|android | 0 | 2022-07-29T20:01:55.820Z | 2,022 | 7 | 20 | 4 | 25 | 1 | 602 | 116 | 2 | 1 | true | false | false | false | false | false | zero |
73,170,476 | I have a Javascript webpack for my frontend. Can I add native extensions to make my app behave better on mobile? | <p>I use React.js (note: NOT React native) for my front-end. It works just ok on mobile, but I want to make it better. Is there a way to selectively use native code/components (for Android/iOS) for certain small aspects of the UI to make my app look and behave better on mobile devices?
Thanks-</p> | I use React.js (note: NOT React native) for my front-end. It works just ok on mobile, but I want to make it better. Is there a way to selectively use native code/components (for Android/iOS) for certain small aspects of the UI to make my app look and behave better on mobile devices? Thanks- | javascript|android|ios|reactjs|native | 0 | 2022-07-29T20:02:21.723Z | 2,022 | 7 | 20 | 4 | 17 | 0 | 291 | 112 | 5 | 0 | false | true | false | false | false | false | zero |
73,170,479 | array of ActivityResultLaunchers<Intent> with named indexes | <p>In my activity, I declare several ActivityResultLauncher which I must then pass as parameters of the constructor of a class, which gives things like:</p>
<pre><code>private ActivityResultLauncher<Intent> rangtGalleryActivityResultLauncher;
private ActivityResultLauncher<Intent> rangtCameraActivityResultL... | In my activity, I declare several ActivityResultLauncher which I must then pass as parameters of the constructor of a class, which gives things like: [CODE] How could I do to simplify declarations and appeals? For example, with an array whose indexes are named: [CODE] passing myArray as a parameter and calling [CODE] ?... | java|android|arrays | 0 | 2022-07-29T20:02:36.323Z | 2,022 | 7 | 20 | 4 | 34 | 0 | 351 | 59 | 3 | 3 | true | true | false | false | false | false | zero |
73,170,616 | Need to add string text below each bar in MPAndroidChart | <p>I am generating some visual reports using MpAndroidChart specifically bar-chart the thing is I need below each bar instead of their value having a string value of months i.e. like this (Jan, Feb, Mar, etc...) I can't figure it out tried everything. below is a screenshot for demonstration.<a href="https://i.s... | I am generating some visual reports using MpAndroidChart specifically bar-chart the thing is I need below each bar instead of their value having a string value of months i.e. like this (Jan, Feb, Mar, etc...) I can't figure it out tried everything. below is a screenshot for demonstration. Here is my Kotlin Code: [CODE]... | android|kotlin|mpandroidchart | 0 | 2022-07-29T20:17:50.880Z | 2,022 | 7 | 20 | 4 | 47 | 1 | 356 | 56 | 3 | 1 | true | false | false | false | false | false | zero |
73,170,727 | Android draw stripes of different height in a view | <p>I'm using Java, Android studio. In a view, I need to programmatically create a random number of stripes of different colours and height as a % of the parent view height on the screen. No charts. Only a single column of stacked striped with varying heights. How can I achieve this? This is as complex as it will ever g... | I'm using Java, Android studio. In a view, I need to programmatically create a random number of stripes of different colours and height as a % of the parent view height on the screen. No charts. Only a single column of stacked striped with varying heights. How can I achieve this? This is as complex as it will ever get,... | java|android|vector|shapes|rectangles | -1 | 2022-07-29T20:30:19.093Z | 2,022 | 7 | 20 | 4 | 32 | 1 | 481 | 50 | 5 | 0 | false | false | false | false | false | true | negative |
73,170,857 | How to sort MutableLiveData ArrayList in ViewModel? | <p>I have an Android app (Java) that makes an api call for shows. After the shows are returned, I need to filter the show arraylist by season & then by episode. I'm currently sorting the list in my fragment because I haven't found a good solution on how to do this in my viewmodel.</p>
<p>This is my call in my vm:</... | I have an Android app (Java) that makes an api call for shows. After the shows are returned, I need to filter the show arraylist by season & then by episode. I'm currently sorting the list in my fragment because I haven't found a good solution on how to do this in my viewmodel. This is my call in my vm: [CODE] And this... | java|android|android-livedata|android-mvvm | 0 | 2022-07-29T20:46:46.663Z | 2,022 | 7 | 20 | 4 | 51 | 1 | 743 | 51 | 4 | 3 | true | false | false | false | false | false | zero |
73,170,885 | How do I get the button I created in PageView to switch to a new page on the last page? | <pre><code> Row(
children: [
...List.generate(data.length,(index) => Padding(padding: EdgeInsets.only(right: 4),
child: DotIndicator(isActive: index== pageIndex),)),
Spacer(),
SizedBox(
height: 60,
width: 60,
... | [CODE] I've designed an onboarding and I'm having a problem with the last page. I go forward with the button I created, but on the last page, the progress ends because there is no other page left. So how can I redirect to the home page of the application only when the button is clicked on the last page? I designed the ... | android|flutter|dart | 0 | 2022-07-29T20:51:10.950Z | 2,022 | 7 | 20 | 4 | 19 | 1 | 566 | 87 | 3 | 1 | true | false | false | false | false | false | zero |
73,170,943 | Unable to create service ... has no zero argument constructor | <p>Here is my class (the first parts of it, anyway.):</p>
<pre><code> public class FirebaseService extends FirebaseMessagingService implements TobCommInterface
{
private static final int TICK_RATE_ALERT_SERVICE = 100;
private static final int TIMEOUT = 5000;
private static final int MESSAGE_BUFFER_SIZE =... | Here is my class (the first parts of it, anyway.): [CODE] Here is the error I am getting in the logcat: [CODE] I have heard that the AndroidManifest.xml could be involved with this error as well, so here is the FirebaseMessaging entry in it: [CODE] I am far from an expert in any of this and currently I am just trying t... | java|android|firebase-cloud-messaging | 1 | 2022-07-29T20:59:01.633Z | 2,022 | 7 | 20 | 4 | 97 | 1 | 469 | 61 | 3 | 3 | true | false | false | false | false | false | low |
73,171,103 | How to send data to AWS API server in JSON with Retrofit and OkHttp? | <p>Okay so I am supposed to make this API call:</p>
<p><a href="https://i.stack.imgur.com/ZdfoH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZdfoH.png" alt="enter image description here" /></a></p>
<p>I am supposed to send the request with all the appropriate headers. I don't know what the -F stan... | Okay so I am supposed to make this API call: I am supposed to send the request with all the appropriate headers. I don't know what the -F stands for though. Basically I need to update the user's profile picture. I do that by sending the path to the image in the internal storage, and in return I get the User with the up... | amazon-web-services|android-studio|kotlin|retrofit|okhttp | 0 | 2022-07-29T21:21:09.780Z | 2,022 | 7 | 21 | 4 | 25 | 0 | 725 | 68 | 5 | 0 | false | true | false | false | false | false | zero |
73,171,263 | How model a updatable view for a dynamic form builder and listen to their changes | <p>I'm building a server-driven UI (aka: a form builder) that get the form definition dynamically in JSON, then renders that form.</p>
<p>I need to update the values and send back the results. Some fields also need to trigger validations, so I need to listen to them.</p>
<p>Doing this with JetPack is confusing (to me) ... | I'm building a server-driven UI (aka: a form builder) that get the form definition dynamically in JSON, then renders that form. I need to update the values and send back the results. Some fields also need to trigger validations, so I need to listen to them. Doing this with JetPack is confusing (to me) because it is not... | forms|android-jetpack-compose|android-jetpack | 0 | 2022-07-29T21:43:59.313Z | 2,022 | 7 | 21 | 4 | 67 | 0 | 520 | 81 | 3 | 3 | true | true | false | false | false | false | zero |
73,171,276 | How to prevent my form inputs on an offline site on android getting disabled by browser? | <p>I wrote a really simple, plain javascript + HTML web page, which main purpose is to interactively (using <code>oninput</code> event) calculate costs based on form inputs. It runs entirely on the client browser and works good on desktop browsers and locally as a downloaded site.</p>
<p>When I downloaded the site on a... | I wrote a really simple, plain javascript + HTML web page, which main purpose is to interactively (using oninput event) calculate costs based on form inputs. It runs entirely on the client browser and works good on desktop browsers and locally as a downloaded site. When I downloaded the site on android's Chrome though,... | javascript|android|html|google-chrome | 1 | 2022-07-29T21:45:51.227Z | 2,022 | 7 | 21 | 4 | 32 | 0 | 1,533 | 88 | 4 | 2 | true | true | false | false | false | false | low |
73,171,302 | how to pass value from recyclerview to a fragment using interfaces in android studio | <p>I have an application to debate, for this I use java and xml. The application shows a list with the arguments that users add about a topic published in the app. When a user wants to argue, he clicks on an image view which displays an alertdialog asking if he really wants to counter. So far everything works perfectly... | I have an application to debate, for this I use java and xml. The application shows a list with the arguments that users add about a topic published in the app. When a user wants to argue, he clicks on an image view which displays an alertdialog asking if he really wants to counter. So far everything works perfectly, t... | java|android|android-fragments|android-recyclerview | 0 | 2022-07-29T21:51:07.077Z | 2,022 | 7 | 21 | 4 | 32 | 1 | 947 | 84 | 4 | 3 | true | false | false | false | false | false | zero |
73,171,346 | Android - Multiple Alarm Manager for a list of string (which is time in UTC format) from server | <p>I want to know how I can implement multiple alarms. I have a list of strings fetched from the server using an API. I have to create reminders as notifications 10 minutes before for each time item in the list.</p>
<p>What is the best way to do this?</p> | I want to know how I can implement multiple alarms. I have a list of strings fetched from the server using an API. I have to create reminders as notifications 10 minutes before for each time item in the list. What is the best way to do this? | android|kotlin|alarmmanager | 0 | 2022-07-29T21:58:43.253Z | 2,022 | 7 | 21 | 4 | 23 | 0 | 241 | 95 | 3 | 0 | false | true | false | false | false | false | zero |
73,171,426 | Android Studio Modifier.fillMaxSize() changes image dimensions unequally | <p>I am trying to implement this exercise: <a href="https://developer.android.com/codelabs/basic-android-kotlin-compose-business-card?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotli... | I am trying to implement this exercise: https://developer.android.com/codelabs/basic-android-kotlin-compose-business-card?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-bu... | android|android-studio | 0 | 2022-07-29T22:09:53.510Z | 2,022 | 7 | 22 | 4 | 16 | 0 | 909 | 72 | 2 | 2 | true | true | false | false | false | false | zero |
73,171,454 | Firebase authentication onCompleteListener not working when passing fragment activity using requireActivity() | <p>In my current project I need to use MVP pattern. I moved Firebase authentication with onCompleteListener from fragment's OnCreateView to separate file UserModel. This listener requires activity to work. I passed activity using fragment's requireActivity() to LoginPresenter. Presenter then passes activity to UserMode... | In my current project I need to use MVP pattern. I moved Firebase authentication with onCompleteListener from fragment's OnCreateView to separate file UserModel. This listener requires activity to work. I passed activity using fragment's requireActivity() to LoginPresenter. Presenter then passes activity to UserModel, ... | android|kotlin|android-fragments|firebase-authentication|android-mvp | 0 | 2022-07-29T22:14:29.180Z | 2,022 | 7 | 22 | 4 | 17 | 0 | 634 | 109 | 5 | 3 | true | true | false | false | false | false | zero |
73,171,614 | Is it safe to target sdk version 33 (Android 13)? | <p>So I have seen that Android 13 has been officially released. But, when I searched for it in the official page, I have seen that it appears as beta version: <a href="https://developer.android.com/studio/releases/platforms#13" rel="nofollow noreferrer">https://developer.android.com/studio/releases/platforms#13</a></p>... | So I have seen that Android 13 has been officially released. But, when I searched for it in the official page, I have seen that it appears as beta version: https://developer.android.com/studio/releases/platforms#13 So, my question is, is it better to wait some time so that it is safe to target that Android 13 version? | android|android-studio|sdk | 3 | 2022-07-29T22:42:37.373Z | 2,022 | 7 | 22 | 4 | 1,985 | 1 | 319 | 49 | 3 | 0 | false | false | false | false | false | false | low |
73,171,673 | Hello, I have a problem trying to port a certain OEM android app | <p>I'm trying to port LG system launcher but I can't get it to work due to a certain missing class called "LGSharedPreferences" or something like that. Here is the logcat obtained:</p>
<pre><code> FATAL EXCEPTION: main
Process: com.lge.launcher3, PID: 9174
java.lang.NoClassDefFoundError: Failed resolution ... | I'm trying to port LG system launcher but I can't get it to work due to a certain missing class called "LGSharedPreferences" or something like that. Here is the logcat obtained: [CODE] If it helps I tried both installing it as a user app and making a magisk module to install it as a system app (also I bundled... | java|android | 0 | 2022-07-29T22:54:18.447Z | 2,022 | 7 | 22 | 4 | 21 | 1 | 589 | 64 | 2 | 1 | true | false | false | false | false | false | zero |
73,171,685 | Detect when app notifications are turned on/off in Android | <p>I am trying to figure out if there is a way how to detect when user turned on/off notifications for my app.</p>
<p>I was trying following code but the listener doesn't seem to trigger, although the OP value actually changed:</p>
<pre><code>val appOpsManager: AppOpsManager = context.getSystemService(Context.APP_OPS_S... | I am trying to figure out if there is a way how to detect when user turned on/off notifications for my app. I was trying following code but the listener doesn't seem to trigger, although the OP value actually changed: [CODE] | android|notifications | 0 | 2022-07-29T22:55:20.087Z | 2,022 | 7 | 22 | 4 | 19 | 0 | 224 | 58 | 2 | 1 | true | true | false | false | false | false | zero |
73,171,733 | Bugged aab recently, but apk just fine | <p>i am currently trying to make my first android game. Right now i am at internal testing. There's no problem of playing it until recently even though i am not making any changes to the app. When i try to launch it, the app closed with message that the app is bugged. I tried with other device, but it get the same erro... | i am currently trying to make my first android game. Right now i am at internal testing. There's no problem of playing it until recently even though i am not making any changes to the app. When i try to launch it, the app closed with message that the app is bugged. I tried with other device, but it get the same error. ... | android|android-studio|google-play-console|android-app-bundle|google-play-internal-testing | 0 | 2022-07-29T23:02:02.143Z | 2,022 | 7 | 23 | 4 | 35 | 1 | 537 | 38 | 5 | 0 | false | false | false | false | false | false | zero |
73,171,777 | Background selector not working in jetpack compose | <p>Hello I am using lazycolumn inside column to show my nested list. When I am trying to click on single item, it's clicking on whole another items as well instead of single and color is not changing as well.</p>
<pre><code> binding.itemComposable.setContent {
val interactionSource = remember { MutableInteractionS... | Hello I am using lazycolumn inside column to show my nested list. When I am trying to click on single item, it's clicking on whole another items as well instead of single and color is not changing as well. [CODE] You can check in the video All items are selecting instead of single When selecting item background color i... | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-07-29T23:10:59.930Z | 2,022 | 7 | 23 | 4 | 71 | 1 | 376 | 50 | 4 | 1 | true | false | false | false | false | false | zero |
73,171,838 | Firebase verification SMS has extra characters not included in the firebase template | <p>I am using firebase Auth, my Firebase OTP SMS contains a new line and it is the same for all users, here s an SMS example:</p>
<blockquote>
<p>123456 is your verification code for MyApp.</p>
<p>L9duufrHOlq</p>
</blockquote>
<p>However, it should be as the template:</p>
<blockquote>
<p>%LOGIN_CODE% is your verificati... | I am using firebase Auth, my Firebase OTP SMS contains a new line and it is the same for all users, here s an SMS example: 123456 is your verification code for MyApp. L9duufrHOlq However, it should be as the template: %LOGIN_CODE% is your verification code for %APP_NAME%. expected the following, without the extra line:... | android|flutter|firebase|firebase-authentication | 0 | 2022-07-29T23:26:02.013Z | 2,022 | 7 | 23 | 4 | 29 | 0 | 681 | 84 | 4 | 0 | false | true | false | false | false | false | zero |
73,171,859 | Java - Retrieve token from response? | <p>I'm authenticating my user by posting my user's credentials to WordPress's Rest API. As a result, it returns a token (JWT) in the JSON response. I'm trying to retrieve that token, but I keep getting an error in the line in which I try and grab the string? The line I'm using:</p>
<blockquote>
<p>String token = respon... | I'm authenticating my user by posting my user's credentials to WordPress's Rest API. As a result, it returns a token (JWT) in the JSON response. I'm trying to retrieve that token, but I keep getting an error in the line in which I try and grab the string? The line I'm using: String token = response.getString("toke... | java|android|jwt | 0 | 2022-07-29T23:31:31.753Z | 2,022 | 7 | 23 | 4 | 37 | 1 | 638 | 36 | 3 | 1 | true | false | false | false | false | false | zero |
73,171,936 | Issue With Deserialization Json Array with Ktor | <p>I am trying to use Ktor and Kotlinx Serialization to pull some dummy post data form jsonplaceholder.typicode.com (<a href="https://jsonplaceholder.typicode.com/posts" rel="nofollow noreferrer">here</a>) and deserialize the array. However, I get the following error:</p>
<pre><code>Error:Expected class kotlinx.seriali... | I am trying to use Ktor and Kotlinx Serialization to pull some dummy post data form jsonplaceholder.typicode.com ( here ) and deserialize the array. However, I get the following error: [CODE] Where in my code am I specifying that I am expecting the data as JsonObjects and not JsonArrays? This is likely the error, but I... | android|kotlin|ktor|kotlinx.serialization | 1 | 2022-07-29T23:51:22.600Z | 2,022 | 7 | 23 | 4 | 115 | 1 | 610 | 47 | 4 | 7 | true | false | false | false | false | false | low |
73,172,042 | File not Found when compiling android resources (inconsistent across projects, consistent within projects) | <p>I have a project that uses bazel and includes a demo Android app to show some functionality and widgets. I wanted to split this out as the base for a new demo/experimentation app to try out other widget combinations. So I copied the <code>WORKSPACE</code> file and the code from the demo app package into a new proj... | I have a project that uses bazel and includes a demo Android app to show some functionality and widgets. I wanted to split this out as the base for a new demo/experimentation app to try out other widget combinations. So I copied the WORKSPACE file and the code from the demo app package into a new project (the package n... | android|windows|bazel | 0 | 2022-07-30T00:16:56.520Z | 2,022 | 7 | 0 | 5 | 35 | 1 | 1,985 | 106 | 3 | 2 | true | false | false | false | false | false | zero |
73,172,044 | Admob banner ad is somewhat cut off in Android app | <p>So I have added a <code>SMART_BANNER</code> banner at the end of the layout.</p>
<p>but as you can see in image2, sometimes the bottom of the banner is a little cut off and the banner is like not fully displayed.</p>
<p>Is this a problem? Or it is normal in test ads but in real ads it won't happen?</p>
<p><a href="h... | So I have added a SMART_BANNER banner at the end of the layout. but as you can see in image2, sometimes the bottom of the banner is a little cut off and the banner is like not fully displayed. Is this a problem? Or it is normal in test ads but in real ads it won't happen? image1 image2 [CODE] | java|android|admob|ads | 0 | 2022-07-30T00:17:30.650Z | 2,022 | 7 | 0 | 5 | 53 | 0 | 293 | 50 | 4 | 1 | true | true | false | false | false | false | zero |
73,172,102 | Error when clicking on a material textfield dropdown list in Android | <p>I have the following material textfield in my <code>create_pool_details_layout</code> xml view:</p>
<pre><code><com.google.android.material.textfield.TextInputLayout
android:id="@+id/numPlayersDropdown"
android:layout_width="match_parent"
android:layout_height="wra... | I have the following material textfield in my create_pool_details_layout xml view: [CODE] and the following item for the autocompletetextview in my number_of_players_dropdown_layout xml view: [CODE] In my Activity class I have the following: [CODE] Finally: [CODE] Which throws the following error, which i do not unders... | java|android|autocompletetextview|material-components-android | 0 | 2022-07-30T00:36:02.737Z | 2,022 | 7 | 0 | 5 | 72 | 0 | 391 | 68 | 4 | 5 | true | true | false | false | false | false | zero |
73,172,156 | Cannot get OpenGL ES Android plugin to show drawn vertex array | <p>I am attempting to write a Flutter plugin for Android to allow me to directly write pixels using a <code>Texture</code>, so I need to make a <code>SurfaceTexture</code> available, and I want to be able to draw arbitrary pixel data to it using a single textured quad. For now, for debugging, I am simply trying to draw... | I am attempting to write a Flutter plugin for Android to allow me to directly write pixels using a Texture , so I need to make a SurfaceTexture available, and I want to be able to draw arbitrary pixel data to it using a single textured quad. For now, for debugging, I am simply trying to draw a single cyan triangle over... | android|flutter|opengl-es|egl | 0 | 2022-07-30T00:52:49.523Z | 2,022 | 7 | 0 | 5 | 61 | 1 | 1,993 | 62 | 4 | 1 | true | false | false | false | false | false | zero |
73,172,239 | Why doesn't state_pressed work with custom view components? | <p>I made a simple custom button class to test what is going on...</p>
<pre><code>class TestButton @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0
) : AppCompatButton(context, attrs, defStyleAttr) {
}
</code></pre>
<p>In the fragment xml I instatiate it like ... | I made a simple custom button class to test what is going on... [CODE] In the fragment xml I instatiate it like this... [CODE] mc_button_primary.xml defines a colored shape... [CODE] Finally, mc_button_primary_background_color.xml is a selector... [CODE] It all looks fairly straight forward but the pressed state does n... | android | 0 | 2022-07-30T01:19:01.883Z | 2,022 | 7 | 1 | 5 | 25 | 0 | 560 | 59 | 1 | 5 | true | true | false | false | false | false | zero |
73,172,453 | How can I use the liveLiterals plugin option? | <p>How can I use the liveLiterals plugin option? When I try to apply it, I get this error: Multiple values are not allowed for plugin option androidx.compose.compiler.plugins.kotlin:liveLiterals.</p>
<pre><code>freeCompilerArgs += [
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:l... | How can I use the liveLiterals plugin option? When I try to apply it, I get this error: Multiple values are not allowed for plugin option androidx.compose.compiler.plugins.kotlin:liveLiterals. [CODE] | android|android-gradle-plugin|android-jetpack-compose | 0 | 2022-07-30T02:23:03.643Z | 2,022 | 7 | 2 | 5 | 61 | 1 | 199 | 45 | 3 | 1 | true | false | false | false | false | false | zero |
73,172,526 | android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object | <p>Every time I launch my Xamarin form app, it gives me the following exception and crashes.
. It keeps crashing even after restarting the app. I had to uninstall and reinstall the app.</p>
<p>After that, the application works fine without any code changes, but once this exception occurs, I have to reinstall it.</p>
<p... | Every time I launch my Xamarin form app, it gives me the following exception and crashes. . It keeps crashing even after restarting the app. I had to uninstall and reinstall the app. After that, the application works fine without any code changes, but once this exception occurs, I have to reinstall it. 7-29 22:34:26.29... | xamarin|xamarin.forms|xamarin.android|xamarin-shell | 0 | 2022-07-30T02:45:26.683Z | 2,022 | 7 | 2 | 5 | 79 | 0 | 2,066 | 99 | 4 | 0 | false | true | false | false | false | false | zero |
73,172,537 | How to use flutter library in native java android application? | <p>I am developing an app that needs this library . Currenty, there is no java version. Is it possible to somehow integrate it with my current project.
<a href="https://pub.dev/packages/bls_signatures_ffi" rel="nofollow noreferrer">https://pub.dev/packages/bls_signatures_ffi</a> flutter version
<a href="https://github.... | I am developing an app that needs this library . Currenty, there is no java version. Is it possible to somehow integrate it with my current project. https://pub.dev/packages/bls_signatures_ffi flutter version https://github.com/Chia-Network/bls-signatures c++, javascript and python. Please, any suggestions? | java|android|c++|flutter|android-studio | -2 | 2022-07-30T02:49:58.053Z | 2,022 | 7 | 2 | 5 | 40 | 2 | 308 | 62 | 5 | 0 | false | false | false | false | false | true | negative |
73,172,597 | LinearLayout with adjustResize | <h1>Prelude</h1>
<p>For practice, I'm attempting to copy Apple's iMessage.</p>
<p>I'm using nested LinearLayouts for the message bubbles and the input bar, however the problem is when the keyboard pops up. I have it set to use <code>adjustResize</code>, but different screen aspect ratios mess everything up when using L... | Prelude For practice, I'm attempting to copy Apple's iMessage. I'm using nested LinearLayouts for the message bubbles and the input bar, however the problem is when the keyboard pops up. I have it set to use adjustResize , but different screen aspect ratios mess everything up when using LinearLayout weights. Problem Th... | android|android-layout | 0 | 2022-07-30T03:07:29.150Z | 2,022 | 7 | 3 | 5 | 28 | 1 | 689 | 30 | 2 | 1 | true | false | false | false | false | false | zero |
73,172,604 | Problem with EXPO Notifications - The Certificate for this server is invalid. You might be connecting to a server that is pretending to be | <p>So I'm trying to implement push notifications using EXPO React Native. When I close the app, it works. It will receive a notification. Then when I open the app and try to receive a notification, it breaks. This behavior happens on both iOS and Android.</p>
<p>Do I have to do something with Apple and Google before it... | So I'm trying to implement push notifications using EXPO React Native. When I close the app, it works. It will receive a notification. Then when I open the app and try to receive a notification, it breaks. This behavior happens on both iOS and Android. Do I have to do something with Apple and Google before it can fully... | android|react-native|push-notification|notifications|expo | 0 | 2022-07-30T03:09:01.107Z | 2,022 | 7 | 3 | 5 | 68 | 0 | 419 | 138 | 5 | 0 | false | true | false | false | false | false | zero |
73,172,610 | Android disable button for period of time but leave highlighted | <p>I am using an array of <code>MaterialButton</code>s in an application. When one of the buttons is clicked, an asynchronous operation triggers. I want to disable all the buttons while the operation is still running so that no further clicks trigger concurrent operations. I know how to disable and re-enable the button... | I am using an array of MaterialButton s in an application. When one of the buttons is clicked, an asynchronous operation triggers. I want to disable all the buttons while the operation is still running so that no further clicks trigger concurrent operations. I know how to disable and re-enable the buttons depending on ... | android|xml|button|styles|material-components-android | 0 | 2022-07-30T03:11:31.823Z | 2,022 | 7 | 3 | 5 | 19 | 0 | 706 | 63 | 5 | 0 | false | true | false | false | false | false | zero |
73,172,616 | How do I get Android Studio's debugger to show disassembly in native code? | <p>I'm developing an Android app that uses Java and C/C++ JNI. I'm testing it on a 64-bit ARM machine. Everything's working and I can debug everything properly when single-stepping in and out of Java or C/C++ source code. I can examine memory and do regular debugging. However, in disassembly mode nothing displays. ... | I'm developing an Android app that uses Java and C/C++ JNI. I'm testing it on a 64-bit ARM machine. Everything's working and I can debug everything properly when single-stepping in and out of Java or C/C++ source code. I can examine memory and do regular debugging. However, in disassembly mode nothing displays. Just a ... | android|debugging|java-native-interface|native|disassembly | 0 | 2022-07-30T03:15:56.380Z | 2,022 | 7 | 3 | 5 | 29 | 0 | 722 | 74 | 5 | 0 | false | true | false | false | false | false | zero |
73,172,624 | The AsyncTask API is deprecated in Android 11. How to modify this code? | <p>The AsyncTask API is deprecated in Android 11. How to modify this code?
I was reading about <strong>AsyncTask</strong>, and <strong>I tried</strong> the simple program below. But it does not seem to work. How can I make it work?</p>
<p>Please modify this code</p>
<p>public class EntryActivity extends BaseActivity {<... | The AsyncTask API is deprecated in Android 11. How to modify this code? I was reading about AsyncTask , and I tried the simple program below. But it does not seem to work. How can I make it work? Please modify this code public class EntryActivity extends BaseActivity { [CODE] | java|android-studio|android-asynctask|whatsapp-stickers | 0 | 2022-07-30T03:18:36.363Z | 2,022 | 7 | 3 | 5 | 72 | 0 | 276 | 71 | 4 | 1 | true | true | false | false | false | false | zero |
73,172,643 | How can I monitor vpn tun close event? | <p>About android vpn service .
When I start my vpn app and start vpn, then start another vpn app and start vpn, my app's tun network interface is closed, bug my app's vpnservice is runing normally, why?</p>
<p>I want to know is there any method can let me know:my vpn's fd should close.
Two may sulution:</p>
<ol>
<li>m... | About android vpn service . When I start my vpn app and start vpn, then start another vpn app and start vpn, my app's tun network interface is closed, bug my app's vpnservice is runing normally, why? I want to know is there any method can let me know:my vpn's fd should close. Two may sulution: monitor network change ev... | android|vpn|tun | 1 | 2022-07-30T03:24:21.213Z | 2,022 | 7 | 3 | 5 | 46 | 2 | 466 | 38 | 3 | 0 | false | false | false | false | false | false | low |
73,172,816 | Android TextView next to ImageView set text programmatically causing a null when referencing | <p>Hey all I am trying to figure out how to put text into a <strong>TextView</strong> that's beside a <strong>ImageView</strong> so that I can label each image as this section of code does:</p>
<pre><code>protected void onCreate(Bundle savedInstanceState) {
this.getWindow().setType(WindowManager.LayoutParams.TYPE_K... | Hey all I am trying to figure out how to put text into a TextView that's beside a ImageView so that I can label each image as this section of code does: [CODE] And the XML layout: [CODE] The code works just fine. It places the image(s) where I need them with the text (currently only static text) beside it. However, whe... | java|android|android-layout|tabview | 0 | 2022-07-30T04:16:11.287Z | 2,022 | 7 | 4 | 5 | 66 | 2 | 778 | 92 | 4 | 5 | true | false | false | false | false | false | zero |
73,172,819 | how to Size list view item according its child in flutter? dynamic list item size? | <p><strong>Size list view item according its child contents</strong></p>
<p>in list view, you have to specify the list item height formally, but I want size
its height according to the child such as in the following image:</p>
<p><a href="https://i.stack.imgur.com/ISXYL.png" rel="nofollow noreferrer"><img src="https://... | Size list view item according its child contents in list view, you have to specify the list item height formally, but I want size its height according to the child such as in the following image: Note: The data will be loaded from server. The ListItemCode: [CODE] Thoe Screen Code: [CODE] I used the stateless custom wid... | ios|flutter|android-studio|dart|flutter-layout | 0 | 2022-07-30T04:16:43.277Z | 2,022 | 7 | 4 | 5 | 142 | 1 | 356 | 82 | 5 | 2 | true | false | false | false | false | false | zero |
73,172,872 | How to inject FirebaseMessagingService in Dagger 2? | <p>I want to inject a class into a Service that extends <code>FirebaseMessagingService</code> but as far as I know, in order to inject stuff in a Service class that service should extends <code>DaggerService()</code>.</p>
<p>This is what I tried</p>
<pre><code>@Singleton
@Component(
modules = [
AndroidSuppo... | I want to inject a class into a Service that extends FirebaseMessagingService but as far as I know, in order to inject stuff in a Service class that service should extends DaggerService() . This is what I tried [CODE] The service class [CODE] But the above code is not working as I am getting [CODE] | android|dependency-injection|firebase-cloud-messaging|android-service|dagger-2 | 0 | 2022-07-30T04:32:20.440Z | 2,022 | 7 | 4 | 5 | 59 | 1 | 299 | 51 | 5 | 3 | true | false | false | false | false | false | zero |
73,172,879 | FCM push notifications for Android have stopped working - need help problem solving | <p>I have now added a more specific question here for just messages to tokens:
<a href="https://stackoverflow.com/questions/73188642/fcm-push-notifications-for-android-have-stopped-working-for-message-direct-to-to">FCM push notifications for Android have stopped working for message direct to token</a></p>
<p><strong>Or... | I have now added a more specific question here for just messages to tokens: FCM push notifications for Android have stopped working for message direct to token Original post: These used to work and now do not. It works fine for iOS. Unfortunately I can't pin point the exact date they stopped working but if the FCM anal... | android|firebase|google-cloud-functions|firebase-cloud-messaging | 1 | 2022-07-30T04:34:29.087Z | 2,022 | 7 | 4 | 5 | 108 | 1 | 1,946 | 83 | 4 | 3 | true | false | false | false | false | false | low |
73,172,899 | Library not loaded: @rpath/Toast.framework/Toast when debugging flutter app | <p>Today when I start debugging the flutter(v2.10.3) app with android studio in macOS 12.5 with M1 chip, shows error like this:</p>
<pre><code>-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 6F929B73-3F57-461A-BC03-F534D610C50E
Cras... | Today when I start debugging the flutter(v2.10.3) app with android studio in macOS 12.5 with M1 chip, shows error like this: [CODE] The flutter app start on iPhone XR emulator and suddenly exists. I did not change the project code recently, why did this happen? what should I do to fixed this problem? The android studio... | xcode|flutter|macos|android-studio | 0 | 2022-07-30T04:38:52.207Z | 2,022 | 7 | 4 | 5 | 161 | 1 | 339 | 75 | 4 | 2 | true | false | false | false | false | false | zero |
73,172,937 | What to use, in place of data.addXValue() and data.getXValCount() in MPChart Android After the update from v2.5.0 to3.1.0 | <p>I have a function, which use the data.addXValue() and data.getXValCount(), but after the update, those functions are removed. Do anyone know what can be used alternative to it.?</p>
<pre><code> private void dataInit() {
LineData data = lineChart.getData();
if (data != null) {
ILineDataS... | I have a function, which use the data.addXValue() and data.getXValCount(), but after the update, those functions are removed. Do anyone know what can be used alternative to it.? [CODE] These functions were available in the older version like these Adds a New x-Value to chart [CODE] /** * returns the total number of x-v... | android|mpandroidchart | 0 | 2022-07-30T04:46:41.507Z | 2,022 | 7 | 4 | 5 | 14 | 0 | 415 | 121 | 2 | 3 | true | true | false | false | false | false | zero |
73,172,987 | How to detect a user after reinstalling the app | <p>I am creating an iOS and Android App and I want to create a screen where the player can start with a guest account or can connect his account with our own accountsystem.</p>
<p>But my question is: <strong>Can I detect a user after the app was uninstalled and installed again?</strong></p>
<p>I know that there is some... | I am creating an iOS and Android App and I want to create a screen where the player can start with a guest account or can connect his account with our own accountsystem. But my question is: Can I detect a user after the app was uninstalled and installed again? I know that there is something like the vendor. But this wi... | android|ios|cordova|uniqueidentifier | 0 | 2022-07-30T04:59:42.873Z | 2,022 | 7 | 4 | 5 | 60 | 2 | 371 | 47 | 4 | 0 | false | false | false | false | false | false | zero |
73,173,155 | Is Android unit testing on a physical device actually a thing? | <p>Firebase has physical devices for testing: <a href="https://firebase.google.com/docs/test-lab/android/available-testing-devices" rel="nofollow noreferrer">https://firebase.google.com/docs/test-lab/android/available-testing-devices</a> however it's a little expensive.</p>
<p>I was wondering if testing things on a phy... | Firebase has physical devices for testing: https://firebase.google.com/docs/test-lab/android/available-testing-devices however it's a little expensive. I was wondering if testing things on a physical Android device is a real thing and if there are frameworks for that. I know that there are unit tests that are mocked an... | android|unit-testing|testing | 0 | 2022-07-30T05:42:26.477Z | 2,022 | 7 | 5 | 5 | 27 | 1 | 428 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
73,173,163 | Add GitHub libraries in Android Studio | <p>I want to add <a href="https://github.com/jianzhongli/MathView" rel="nofollow noreferrer">MathView</a> in my project but it gives me an error. It says that it's not an existing version. Okay, Then I tried <a href="https://github.com/judemanutd/KatexView" rel="nofollow noreferrer">other</a> library. But this one give... | I want to add MathView in my project but it gives me an error. It says that it's not an existing version. Okay, Then I tried other library. But this one gives me an error too. It says: "Could not resolve all files for configuration". I think I have to add something to work with GitHub libraries. I did some re... | android-studio|github | 0 | 2022-07-30T05:43:50.953Z | 2,022 | 7 | 5 | 5 | 22 | 1 | 430 | 38 | 2 | 0 | false | false | false | false | false | false | zero |
73,173,177 | Need to run task in android background services? | <p>In my app, I am using <a href="https://github.com/tanersener/ffmpeg-kit" rel="nofollow noreferrer">ffmpeg-kit</a> and execute a command that record/capture any <a href="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" rel="nofollow noreferrer">stream</a> using the internet and wri... | In my app, I am using ffmpeg-kit and execute a command that record/capture any stream using the internet and writes it to the device's internal storage. This command or stream can run until the user stops. And from here you can get an idea of this task that this execution can be 10 min, 30 mint or even 1 hr or more dep... | android|rx-java2|android-workmanager|background-service|android-background | 0 | 2022-07-30T05:48:04.233Z | 2,022 | 7 | 5 | 5 | 55 | 1 | 1,068 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
73,173,232 | Android: displaying a preview of widget in my own app | <p>I'm creating an App that has a homescreen widget, and I'd like to have it so the user can see a live preview of what the widget will look like, within my actual App activity, when they're configuring settings for the widget. I recently downloaded an app that did that exact thing, and it seemed like a great feature.<... | I'm creating an App that has a homescreen widget, and I'd like to have it so the user can see a live preview of what the widget will look like, within my actual App activity, when they're configuring settings for the widget. I recently downloaded an app that did that exact thing, and it seemed like a great feature. Any... | android|android-widget | 1 | 2022-07-30T06:00:21.443Z | 2,022 | 7 | 6 | 5 | 21 | 1 | 572 | 53 | 2 | 0 | false | false | false | false | false | false | low |
73,173,243 | How to "Catch and Forwarding" Intent (URL) in Kotin? | <p><a href="https://i.stack.imgur.com/pQ4cI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pQ4cI.png" alt="WireFrame & Guide about what i want to ask" /></a></p>
<p>---> Full Code for more details <a href="https://github.com/BUdiAKmal/CaseApp" rel="nofollow noreferrer">https://github.com/BUdi... | ---> Full Code for more details https://github.com/BUdiAKmal/CaseApp I've been successfully pass the data, but how about the URL? i need to open URL contained in each item to WebView Activity but by pressing the button on "Activity Details"... How to do it from this code? MainActivity.kt [CODE] MainTabFragmen... | kotlin|android-intent|android-recyclerview|conditional-statements|parameter-passing | 0 | 2022-07-30T06:03:18.530Z | 2,022 | 7 | 6 | 5 | 30 | 0 | 473 | 52 | 5 | 6 | true | true | false | false | false | false | zero |
73,173,269 | Playing audio in the background more than one minute on Android | <p>I am in the process of developping an Android app handling audio data, now seeing how to have the audio keep playing when the app is in the background using a service.</p>
<p>At this point I can set a service playing audio, but the problem is that once in the background, it will stop after exactly one minute. I have... | I am in the process of developping an Android app handling audio data, now seeing how to have the audio keep playing when the app is in the background using a service. At this point I can set a service playing audio, but the problem is that once in the background, it will stop after exactly one minute. I have tried a f... | android|kotlin|service|android-mediaplayer | 0 | 2022-07-30T06:09:31.190Z | 2,022 | 7 | 6 | 5 | 51 | 1 | 698 | 63 | 4 | 4 | true | false | false | false | false | false | zero |
73,173,304 | detect user when uninstall app in flutter | <p>I want in flutter app, when user uninstall app, detect user and send message for her/his.
I use firebase and have private server and database(I don't have database in firebase).
how can do it?</p> | I want in flutter app, when user uninstall app, detect user and send message for her/his. I use firebase and have private server and database(I don't have database in firebase). how can do it? | android|flutter|firebase|uninstallation | 0 | 2022-07-30T06:14:21.190Z | 2,022 | 7 | 6 | 5 | 69 | 1 | 192 | 41 | 4 | 0 | false | false | false | false | false | false | zero |
73,173,358 | In-App purchases gone after user reinstalls? | <p>I try to keep track of inapp purchases (both ios and android) of users. I want users to use the app without creating an account so I tried using the deviceID but that changes after reinstalls. Same with revenuecats ID</p>
<p>How can I keep track of purchases? Whenever I reinstall the app in e.g. Testflight the purch... | I try to keep track of inapp purchases (both ios and android) of users. I want users to use the app without creating an account so I tried using the deviceID but that changes after reinstalls. Same with revenuecats ID How can I keep track of purchases? Whenever I reinstall the app in e.g. Testflight the purchases are g... | android|ios|flutter|in-app-purchase|revenuecat | 0 | 2022-07-30T06:26:03.477Z | 2,022 | 7 | 6 | 5 | 58 | 0 | 418 | 44 | 5 | 0 | false | true | false | false | false | false | zero |
73,173,369 | Listener of Recyclerview inside NestedScrollView not fired | <p>I have a recyclerview inside of NestedScrollView.
I need scrollListener on both of them but, only nestedScrollView Listener fired.</p>
<p>I do solutions below but problem not solved:</p>
<p>1- I change value of nestedScrollEnabled property in recyclerview and problem not solved</p>
<p>2- I add <code>app:layout_behav... | I have a recyclerview inside of NestedScrollView. I need scrollListener on both of them but, only nestedScrollView Listener fired. I do solutions below but problem not solved: 1- I change value of nestedScrollEnabled property in recyclerview and problem not solved 2- I add app:layout_behavior="@string/appbar_scrol... | android|android-recyclerview|listener|nestedscrollview | 2 | 2022-07-30T06:28:30.493Z | 2,022 | 7 | 6 | 5 | 62 | 0 | 591 | 58 | 4 | 1 | true | true | false | false | false | false | low |
73,173,517 | What is the point of using setContentView with binding | <p>In a project, activity's <code>setContentView</code> is:</p>
<pre><code>setContentView<MyActivityBinding>(this, R.layout.activity)
</code></pre>
<p>What's the distinction with:</p>
<pre><code>setContentView(R.layout.activity)
</code></pre> | In a project, activity's setContentView is: [CODE] What's the distinction with: [CODE] | android|android-databinding | 1 | 2022-07-30T06:56:34.170Z | 2,022 | 7 | 6 | 5 | 44 | 1 | 86 | 54 | 2 | 2 | true | false | false | false | false | false | low |
73,173,524 | Problem: _formKey.currentState!.validate() does not validate and always returns true - Flutter | <p>I have made a form using Form() widget. It consists of 3 TextFormField-
I have not forgotten to put formKey-</p>
<pre><code> body: Form(
key: _formKey,
</code></pre>
<p>Fields are-</p>
<pre><code> TextFormField(
initialValue: null,
controller: prod... | I have made a form using Form() widget. It consists of 3 TextFormField- I have not forgotten to put formKey- [CODE] Fields are- [CODE] In the onPressed of an ElevatedButton I am checking whether all form values are correct or not- [CODE] The problem is that _formKey.currentState!.validate() does not return false even i... | android|flutter|forms|validation|textformfield | 0 | 2022-07-30T06:58:12.503Z | 2,022 | 7 | 6 | 5 | 211 | 0 | 480 | 94 | 5 | 3 | true | true | false | false | false | false | zero |
73,173,627 | Error while writing to external storage Android studio | <p>I am trying to create a file, but something is wrong with the pathname. The writing permissions are declared in the manifest. I specify the pathname below:</p>
<pre><code>String path = ":/storage/sdcard0/";
</code></pre>
<p>and then try to access that later:</p>
<pre><code>try {
File file = new Fi... | I am trying to create a file, but something is wrong with the pathname. The writing permissions are declared in the manifest. I specify the pathname below: [CODE] and then try to access that later: [CODE] And this throws IOException: "No such file or directory". Is the pathname wrong? | java|android | 0 | 2022-07-30T07:13:36.157Z | 2,022 | 7 | 7 | 5 | 38 | 1 | 295 | 54 | 2 | 2 | true | false | false | false | false | false | zero |
73,173,680 | WebView in android home screen widget | <p>I want to show <strong>WebView</strong> element inside home screen widget in <strong>Android</strong>. Where I gonna show HTML window from specific web-page. Already tried to make one using <strong>RemoteViews</strong>, but according to docs I can not use all view elements inside RemoteView.</p>
<p>Is any possibilit... | I want to show WebView element inside home screen widget in Android . Where I gonna show HTML window from specific web-page. Already tried to make one using RemoteViews , but according to docs I can not use all view elements inside RemoteView. Is any possibility to somehow render HTML page inside home screen widget in ... | android|kotlin|webview|widget|remoteview | 1 | 2022-07-30T07:23:20.907Z | 2,022 | 7 | 7 | 5 | 44 | 1 | 329 | 37 | 5 | 0 | false | false | false | false | false | false | low |
73,173,702 | How to get the scroll position of RecyclerView saved in StateRestorationPolicy | <p>I am currently using
StateRestorationPolicy.PREVENT_WHEN_EMPTY to restore scroll position. How can I get that saved position?</p> | I am currently using StateRestorationPolicy.PREVENT_WHEN_EMPTY to restore scroll position. How can I get that saved position? | android|android-recyclerview|android-adapter|state-restoration | 0 | 2022-07-30T07:26:41.877Z | 2,022 | 7 | 7 | 5 | 25 | 0 | 125 | 78 | 4 | 0 | false | true | false | false | false | false | zero |
73,173,715 | Android: Why is the button color in my widget different thhan in main activity? | <p>I'm just learning Android development, trying to wrap my head around styling (with Material styles).</p>
<p>In my main app, I have a button that's a nice purple color. I didn't assign it any styles, I just dragged it onto the view. The background of my app is dark (because of my system settings). The material styles... | I'm just learning Android development, trying to wrap my head around styling (with Material styles). In my main app, I have a button that's a nice purple color. I didn't assign it any styles, I just dragged it onto the view. The background of my app is dark (because of my system settings). The material styles are liste... | android|material-design|material-components-android | 0 | 2022-07-30T07:29:14.587Z | 2,022 | 7 | 7 | 5 | 61 | 0 | 826 | 79 | 3 | 0 | false | true | false | false | false | false | zero |
73,173,764 | How to convert Data Class to HashMap for Firestore in Kotlin View Model, kotlinx.serialization not working | <p>I'm trying to create a firestore document in Kotlin, and I have this data class:</p>
<pre><code> val profileDoc = Profile(
username = queriedUsername,
device_id = listOf<String>(),
img = profile_img,
isDeleted = false,
hasInitialisedTags = false,
isGridViewSel... | I'm trying to create a firestore document in Kotlin, and I have this data class: [CODE] And then I'm converting it to a hashMapOf : [CODE] I'm wondering if there's a way to convert it without having to repeat the same code? I've tried using kotlin.serialization , but it doesn't seem to work. Android Studio doesn't know... | android|android-studio|kotlin|google-cloud-firestore | 0 | 2022-07-30T07:37:30.667Z | 2,022 | 7 | 7 | 5 | 92 | 1 | 487 | 106 | 4 | 3 | true | false | false | false | false | false | zero |
73,173,898 | Where and how often do I have to enable Offline Capabilities of Firebase in Android | <p>I have an app with many different fragments that use different types of Firebase Realtime Database actions (Queries, LiveData, writeOperations) on different nodes. Now I would like to enable offline capabilities on the real-time database such that queries, livedata and write operations are executed even if the devic... | I have an app with many different fragments that use different types of Firebase Realtime Database actions (Queries, LiveData, writeOperations) on different nodes. Now I would like to enable offline capabilities on the real-time database such that queries, livedata and write operations are executed even if the device l... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-30T08:04:08.767Z | 2,022 | 7 | 8 | 5 | 36 | 1 | 978 | 83 | 5 | 1 | true | false | false | false | false | false | zero |
73,174,168 | bypass SSL CA checking | <p>I want to bypass CA checking on genymotion to force close source apk use my api.
But ssl/tls avoid to me with this notice on Burp Suit :</p>
<pre><code>the client failed to negotiate a tls connection received fatal alert certificate unknown
</code></pre>
<p>Could you please help me to bypass SSL CA checking in genym... | I want to bypass CA checking on genymotion to force close source apk use my api. But ssl/tls avoid to me with this notice on Burp Suit : [CODE] Could you please help me to bypass SSL CA checking in genymotion app? Also I removed all trusted CA on genymotion android and add my crt. but it still send me the above error. | android|ssl|genymotion | 0 | 2022-07-30T08:50:54.157Z | 2,022 | 7 | 8 | 5 | 70 | 0 | 319 | 22 | 3 | 1 | true | true | false | false | false | false | zero |
73,174,196 | send request in data-form | <p>there is an API I'm working with it, and in login section API accepts only "data-form" request
here is the solutions I found after many searches but it doesn't work</p>
<pre><code>@Multipart
@POST("oauth/token")
suspend fun loginUser (@Part ("username") username:RequestBody,
... | there is an API I'm working with it, and in login section API accepts only "data-form" request here is the solutions I found after many searches but it doesn't work [CODE] and here is the instruction I took in MainActivity [CODE] | android|kotlin|retrofit2 | 1 | 2022-07-30T08:54:52.133Z | 2,022 | 7 | 8 | 5 | 28 | 2 | 239 | 25 | 3 | 2 | true | false | false | false | false | false | low |
73,174,219 | Error with onCreate: method does not override method from its superclass | <p>I am working on an app that sends a daily notification (done in another class, not main activity). I also need that notification to include soome info from the main activity, to do so I was trying to follow <a href="https://stackoverflow.com/questions/8802157/how-to-use-localbroadcastmanager">this</a>.
The problem c... | I am working on an app that sends a daily notification (done in another class, not main activity). I also need that notification to include soome info from the main activity, to do so I was trying to follow this . The problem comes when I try to include the onCreate on the recieving end class, which has this code: [COD... | android | 0 | 2022-07-30T08:58:29.413Z | 2,022 | 7 | 8 | 5 | 25 | 0 | 430 | 72 | 1 | 1 | true | true | false | false | false | false | zero |
73,174,348 | Android Java read file to list | <p>I asked for more detailed help on this. But again I need help. I first worked in the compiler to read my file. Later, when I moved my code to the project, other problems arose. I had to use the getAssets() method to read the file. As a result, can you help me to create the same list again?</p>
<p>What I want to do i... | I asked for more detailed help on this. But again I need help. I first worked in the compiler to read my file. Later, when I moved my code to the project, other problems arose. I had to use the getAssets() method to read the file. As a result, can you help me to create the same list again? What I want to do is create a... | java|android|list | -1 | 2022-07-30T09:20:04.823Z | 2,022 | 7 | 9 | 5 | 28 | 1 | 667 | 30 | 3 | 3 | true | false | false | false | false | true | negative |
73,174,434 | I can't show images in splash screen | <pre><code> class _SplashScreenState extends State<SplashScreen> {
void init(){
loadDatas();
super.initState();
}
Future<void> loadDatas()async{
await Future.delayed(Duration(seconds:2));
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
child: Ima... | [CODE] SplashScreen Widget I created. [CODE] The part where I call SplashScreen in Main.dart. Am I adding the image in the wrong place? Or should I not make SplashScreen my homepage? | android|flutter|dart | 0 | 2022-07-30T09:31:45.450Z | 2,022 | 7 | 9 | 5 | 57 | 1 | 182 | 36 | 3 | 2 | true | false | false | false | false | false | zero |
73,174,507 | TYPE_STEP_COUNTER sensor not found on a real device(Android Studio) | <p>Hello I`m doing step counter.
In manifest I added the permission</p>
<pre><code><uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
</code></pre>
<p>I also added a check in the onCreate method:</p>
<pre><code>sensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVIC... | Hello I`m doing step counter. In manifest I added the permission [CODE] I also added a check in the onCreate method: [CODE] But my countSensor is null: [CODE] I am using a real device(Samsung Galaxy A30). Who knows what's the problem? Thank you! | java|android|android-sensors|sensormanager | 0 | 2022-07-30T09:42:33.133Z | 2,022 | 7 | 9 | 5 | 25 | 0 | 245 | 67 | 4 | 3 | true | true | false | false | false | false | zero |
73,174,517 | How to implement click events and links in webpage on Android Mobile Device | <p>I have an html page with two buttons which swap the visibility of associated divs. The click event on the buttons work on desktop but not on my Android mobile. How do I get this to work on both desktop and mobile? Also the href link does not work on mobile.</p>
<p>html code extract</p>
<pre><code><div class=&q... | I have an html page with two buttons which swap the visibility of associated divs. The click event on the buttons work on desktop but not on my Android mobile. How do I get this to work on both desktop and mobile? Also the href link does not work on mobile. html code extract [CODE] css [CODE] Javascript code [CODE] | javascript|android|html|jquery|css | 1 | 2022-07-30T09:43:45.603Z | 2,022 | 7 | 9 | 5 | 27 | 1 | 316 | 75 | 5 | 3 | true | false | false | false | false | false | low |
73,174,649 | Can we get the footprint of Modifier.rotate() in Jetpack Compose? | <p>Consider the following Composable:</p>
<p><a href="https://i.stack.imgur.com/gRpAF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gRpAF.png" alt="enter image description here" /></a></p>
<pre class="lang-kotlin prettyprint-override"><code> setContent {
Column(
modif... | Consider the following Composable: [CODE] If we add a rotation() modifier on the Canvas , the square is drawn on top of the other Text element. [CODE] I understand this is because the transformation append in the drawing phase, after everything has been sized. If we want the column to adjust to this, we have to add a p... | android|android-jetpack-compose | 1 | 2022-07-30T10:04:38.660Z | 2,022 | 7 | 10 | 5 | 101 | 1 | 596 | 65 | 2 | 3 | true | false | false | false | false | false | low |
73,174,781 | Jenkins fails to execute app:processDebugResources with AarResourcesCompilerTransform error | <p>I am trying to run all ui test for my app using jenkins ci/cd, but i constantly run into error, which cause by fail of app:processDebugResources command. When i build project at Android Studio it doesn't throw any error and build correctly.</p>
<p>After executing in jenkins <code>connectedAndroidTest</code> gradle c... | I am trying to run all ui test for my app using jenkins ci/cd, but i constantly run into error, which cause by fail of app:processDebugResources command. When i build project at Android Studio it doesn't throw any error and build correctly. After executing in jenkins connectedAndroidTest gradle command : [CODE] Error F... | android|jenkins|android-appcompat|android-testing | 1 | 2022-07-30T10:25:01.177Z | 2,022 | 7 | 10 | 5 | 151 | 1 | 705 | 91 | 4 | 4 | true | false | false | false | false | false | low |
73,174,811 | adb over wifi / bluetooth without using usb ever | <p>Android: 10
Mobile: Techno Spark 6 Go</p>
<p>My mobile's usb port have some problem, I can't connect my mobile to computer using usb cable anymore, Now I need to connect mobile to computer to use <code>adb</code>, Is there any way to connect them over wifi/bluetooth?</p>
<p>Note: The main reason to use adb is data ... | Android: 10 Mobile: Techno Spark 6 Go My mobile's usb port have some problem, I can't connect my mobile to computer using usb cable anymore, Now I need to connect mobile to computer to use adb , Is there any way to connect them over wifi/bluetooth? Note: The main reason to use adb is data transfer, adb pull /file/path/... | android|adb|data-transfer | -1 | 2022-07-30T10:29:02.210Z | 2,022 | 7 | 10 | 5 | 33 | 1 | 375 | 48 | 3 | 0 | false | false | false | false | false | true | negative |
73,174,908 | What is clickable indication in jetpack compose? | <p>Hey guys I am doing background selector in jetpack compose. I asked different question regarding background click <a href="https://stackoverflow.com/q/73171777/11560810">question</a>. I noticed when I am using</p>
<pre><code>indication = LocalIndication.current
</code></pre>
<p>inside my <code>Modifier.clickable</co... | Hey guys I am doing background selector in jetpack compose. I asked different question regarding background click question . I noticed when I am using [CODE] inside my Modifier.clickable and when trying to click it shows very different dark in color which I don't want. You can check in this video . When I changed to [C... | android|kotlin|android-jetpack-compose|android-jetpack | 2 | 2022-07-30T10:42:50.153Z | 2,022 | 7 | 10 | 5 | 244 | 1 | 563 | 48 | 4 | 2 | true | false | false | false | false | false | low |
73,175,044 | Android draw circle around Circular Bitmap | <p>Hello I have this code to create a circular bitmap, but I also want to draw a circle around this circular bitmap.</p>
<p>I mean like the circular bitmap inside and a tiny colored stroke around the circular bitmap.
I have tryed different solutions but the circle doesn't get draw normally.
The bitmap will be used as a... | Hello I have this code to create a circular bitmap, but I also want to draw a circle around this circular bitmap. I mean like the circular bitmap inside and a tiny colored stroke around the circular bitmap. I have tryed different solutions but the circle doesn't get draw normally. The bitmap will be used as a marker in... | android|bitmap | 1 | 2022-07-30T11:03:17.940Z | 2,022 | 7 | 11 | 5 | 50 | 1 | 453 | 42 | 2 | 1 | true | false | false | false | false | false | low |
73,175,252 | how to Create rotate, resize, move, delete text in Flutter Code | <p>how to Create rotate, resize, move, delete text in Flutter Code</p>
<p><img src="https://i.stack.imgur.com/4kmZu.gif" alt="enter link description here" /></p> | how to Create rotate, resize, move, delete text in Flutter Code | flutter|flutter-layout|flutter-android | 0 | 2022-07-30T11:35:23.623Z | 2,022 | 7 | 11 | 5 | 54 | 0 | 63 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
73,175,287 | my question about my project app flutter after publishing on play store | <p>i have flutter app project and i publishing him on play store but my app have like a custom scroll view contain some pictures that i want to update them every 2 week can i update him without releasing my app and building again ??
is the database like (SQF lite) will benefit me to this topic
the code in below conta... | i have flutter app project and i publishing him on play store but my app have like a custom scroll view contain some pictures that i want to update them every 2 week can i update him without releasing my app and building again ?? is the database like (SQF lite) will benefit me to this topic the code in below contain so... | android|mysql|flutter|dart|sqflite | 0 | 2022-07-30T11:40:33.160Z | 2,022 | 7 | 11 | 5 | 37 | 0 | 398 | 71 | 5 | 1 | true | true | false | false | false | false | zero |
73,175,298 | Border radius is not changing based on shape when user click on it jetpack compose | <p>Hey guys I am using <code>RoundedCornerShape(4.dp)</code> to my <code>Surface</code> which looks fine. When I tried to click on the item it not showing me <code>4dp</code> corner in Surface. I tried this <a href="https://stackoverflow.com/q/65548150/11560810">stack overflow 1</a> and <a href="https://stackoverflow.c... | Hey guys I am using RoundedCornerShape(4.dp) to my Surface which looks fine. When I tried to click on the item it not showing me 4dp corner in Surface. I tried this stack overflow 1 and stack overflow 2 but nothing works. [CODE] Without click on item corner is 4 dp When I click it's not changing corner | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-07-30T11:41:47.407Z | 2,022 | 7 | 11 | 5 | 120 | 3 | 303 | 82 | 4 | 1 | true | false | false | false | false | false | zero |
73,175,302 | Dynamic object in json | <p>I am working on a chat app and have a json response having dynamic objects in that, the dates in chat messages are dynamic. It changes. Please tell me how to make Model Class of this dynamic json. Please Help.</p>
<pre><code>{
"result": 1,
"msg": "Data Found",
"data": {
&q... | I am working on a chat app and have a json response having dynamic objects in that, the dates in chat messages are dynamic. It changes. Please tell me how to make Model Class of this dynamic json. Please Help. [CODE] } | android|json|kotlin|retrofit2 | 0 | 2022-07-30T11:42:45.790Z | 2,022 | 7 | 11 | 5 | 37 | 1 | 218 | 22 | 4 | 1 | true | false | false | false | false | false | zero |
73,175,304 | How to create a composite index for a Firestore collection from within the java code of an app | <p>When a user creates an account in my app, he/she automatically creates his/her own <code>collection</code> in the app's underlying <code>Firestore db</code>.</p>
<p>How can the java <strong>code of my app</strong> create a <em>composite index</em> in Firestore for that collection?</p>
<p>Alternatively, how can I ent... | When a user creates an account in my app, he/she automatically creates his/her own collection in the app's underlying Firestore db . How can the java code of my app create a composite index in Firestore for that collection? Alternatively, how can I enter in the Firebase Console a composite index that applies to all the... | java|firebase|android-studio|google-cloud-firestore | 0 | 2022-07-30T11:43:17.423Z | 2,022 | 7 | 11 | 5 | 29 | 0 | 359 | 94 | 4 | 0 | false | true | false | false | false | false | zero |
73,175,425 | `Intent.ACTION_VIEW` fails with a `no file received` error | <h3>My current code :</h3>
<p>Just focus on the <code>fileOpener</code> variable. The <code>SafeFiles</code> class is a self declared variable which has the file's extensions and such. Don't worry too much about it.</p>
<pre><code>fileOpener = { file: File ->
val uri: Uri = Uri.fromFile(file).normalizeScheme()
... | My current code : Just focus on the fileOpener variable. The SafeFiles class is a self declared variable which has the file's extensions and such. Don't worry too much about it. [CODE] Logs - [CODE] Clearly, the size not being zero means the file exists. I have also opened the mentioned file from the device's file expl... | android|kotlin | 0 | 2022-07-30T11:59:44.543Z | 2,022 | 7 | 11 | 5 | 18 | 2 | 516 | 58 | 2 | 4 | true | false | false | false | false | false | zero |
73,175,440 | how to reset navigation onNewIntent | <p>I have a share fragment receives a youtube share URL via intent and uses navigation the flow is:</p>
<pre><code>ScanFragment -> PlaylistFragment
-> VideoFragment
</code></pre>
<p>So the scan fragment parses the url and loads the data and then forwards to the relevant fragment to display the data</... | I have a share fragment receives a youtube share URL via intent and uses navigation the flow is: [CODE] So the scan fragment parses the url and loads the data and then forwards to the relevant fragment to display the data So if a user presses home on the VideoFragment or PlaylistFragment then the activity stay alive an... | android|android-lifecycle|android-navigation | 0 | 2022-07-30T12:02:07.753Z | 2,022 | 7 | 12 | 5 | 37 | 0 | 1,715 | 35 | 3 | 4 | true | true | false | false | false | false | zero |
73,175,449 | Android emulator retrofit api call does not respond first few requests | <p>I am developing an app with the movie database API (TMDB) and jetpack compose. as from last week suddenly my first few GET request gets timeout and after few tries it works normal. the app works fine on physical device but no matter the emulator api level, it does not get a respond for first few calls.
heres the cod... | I am developing an app with the movie database API (TMDB) and jetpack compose. as from last week suddenly my first few GET request gets timeout and after few tries it works normal. the app works fine on physical device but no matter the emulator api level, it does not get a respond for first few calls. heres the code f... | android|android-emulator|retrofit | 0 | 2022-07-30T12:02:55.780Z | 2,022 | 7 | 12 | 5 | 102 | 1 | 582 | 70 | 3 | 4 | true | false | false | false | false | false | zero |
73,175,724 | What is the difference between FIDO2 vs Push for a mobile app | <p>I'm trying to understand the difference between biometrics triggered by a push notification (most used) vs using FIDO2 in a native mobile app. This refers to Multi Factor authentication. What's the difference in terms of security and implementation?</p>
<p>Been trying to find information, diagrams, flow charts etc. ... | I'm trying to understand the difference between biometrics triggered by a push notification (most used) vs using FIDO2 in a native mobile app. This refers to Multi Factor authentication. What's the difference in terms of security and implementation? Been trying to find information, diagrams, flow charts etc. but have c... | android|push-notification|biometrics|fido | 1 | 2022-07-30T12:44:03.273Z | 2,022 | 7 | 12 | 5 | 92 | 1 | 345 | 61 | 4 | 0 | false | false | false | false | false | false | low |
73,175,736 | Flutter if statement in a custom class | <p>I have a class like this:</p>
<pre><code> import 'package:flutter/material.dart';
class myTextStyle extends TextStyle {
final Color color;
final double size;
final String fontFamily;
final bool bold;
const myTextStyle({
required this.size,
this.color = Colors.black87,
this.fontFamily = 'Op... | I have a class like this: [CODE] I want to add a if statement for bold. İf bold==true a want to make Fontweigh=Fontweight.bold. Can someone help me? Thanks. | android|flutter|class|flutter-layout | 0 | 2022-07-30T12:46:05.740Z | 2,022 | 7 | 12 | 5 | 25 | 1 | 156 | 38 | 4 | 1 | true | false | false | false | false | false | zero |
73,175,765 | Need to fetch HTML after submitting a form on a website- Android Java/Kotlin | <p>I'm trying to make an Android app where the user writes his name and email...and then clicks submit...Then my app makes a call to the website and gets a response. But the problem is Website doesn't have any public API and the way to get data is to go there website...fill out the form and click submit. The form is us... | I'm trying to make an Android app where the user writes his name and email...and then clicks submit...Then my app makes a call to the website and gets a response. But the problem is Website doesn't have any public API and the way to get data is to go there website...fill out the form and click submit. The form is using... | android|html|post|retrofit | -1 | 2022-07-30T12:49:41.177Z | 2,022 | 7 | 12 | 5 | 26 | 1 | 543 | 76 | 4 | 0 | false | false | false | false | false | true | negative |
73,175,814 | How to display decimal value from firestore database to android studio | <p>I'm trying to show the points from my firestore database unto my android application but it only shows whole number instead of actually including the decimal numbers.
Firestore database: <a href="https://imgur.com/J6y9Tsg" rel="nofollow noreferrer">https://imgur.com/J6y9Tsg</a>
Android application: <a href="https://... | I'm trying to show the points from my firestore database unto my android application but it only shows whole number instead of actually including the decimal numbers. Firestore database: https://imgur.com/J6y9Tsg Android application: https://imgur.com/5CuBvDW I have read previous posts about format("#.##") or... | java|android|google-cloud-firestore | 1 | 2022-07-30T12:57:40.657Z | 2,022 | 7 | 12 | 5 | 21 | 1 | 421 | 70 | 3 | 1 | true | false | false | false | false | false | low |
73,175,833 | How To Use OnTouchListener To Open New Activity | <p>I Tried OnClickListener an OnLongClickListener And yea it worked but those are too quick and i want to make them even more longer and i am just unable to use OntouchListener To Open New Activity And i have no clue almost tried everything nothing worked</p>
<p><strong>Activity Name: Website</strong></p>
<p><strong>Bu... | I Tried OnClickListener an OnLongClickListener And yea it worked but those are too quick and i want to make them even more longer and i am just unable to use OntouchListener To Open New Activity And i have no clue almost tried everything nothing worked Activity Name: Website Button id: action_button (its a floatingActi... | java|android | -1 | 2022-07-30T12:59:22.407Z | 2,022 | 7 | 12 | 5 | 42 | 1 | 336 | 47 | 2 | 1 | true | false | false | false | false | true | negative |
73,175,922 | Why does TextInput not work on my Xiaomi device in React Native? | <p>I have a Xiaomi Poco X3 Pro to be exact. For some reason I'm unable to use any TextInput on my device. It works on my other Samsung phone and works in emulator as well, but on my phone the keyboard is not responding at all, I'm able to focus into the input, but I can't press the keyboard.</p>
<p>expo version: ~45.0.... | I have a Xiaomi Poco X3 Pro to be exact. For some reason I'm unable to use any TextInput on my device. It works on my other Samsung phone and works in emulator as well, but on my phone the keyboard is not responding at all, I'm able to focus into the input, but I can't press the keyboard. expo version: ~45.0.0 react na... | android|react-native|expo|xiaomi | 0 | 2022-07-30T13:14:34.407Z | 2,022 | 7 | 13 | 5 | 54 | 1 | 340 | 64 | 4 | 0 | false | false | false | false | false | false | zero |
73,176,054 | Floating action button not displaying properly | <pre><code> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.an... | [CODE] It is displaying properly in android studio but is not aligned properly when running on a device or emulator. Even using the coordinator layout doesn't change the alignment on a device. Can anyone please help me out with this. The answer isn't available anywhere. It is behaving differently on different devices. | android|xml|android-layout|floating-action-button | 0 | 2022-07-30T13:34:15.957Z | 2,022 | 7 | 13 | 5 | 42 | 1 | 319 | 46 | 4 | 1 | true | false | false | false | false | false | zero |
73,176,124 | The argument type 'Object' can't be assigned to the parameter type 'ImageProvider<Object>? | <blockquote>
<p>Code</p>
</blockquote>
<pre><code>PickedFile? _imageFile;
final ImagePicker _picker = ImagePicker();
CircleAvatar(
radius: 80.0,
backgroundImage: _imageFile == null
? AssetImage('assets/person.png')
: FileImage(File(_imageFile.path))
),
</code></pre>
<p>The argum... | Code [CODE] The argument type 'Object' can't be assigned to the parameter type 'ImageProvider? Guys can anyone help me to solve this error The Asset Image is working fine but in the FileImage it shows an error I also tried with importing the dart:io pakage but this also does not work | android|flutter|dart|flutter-image | 0 | 2022-07-30T13:45:52.397Z | 2,022 | 7 | 13 | 5 | 28 | 1 | 284 | 90 | 4 | 1 | true | false | false | false | false | false | zero |
73,176,180 | Android + Kotlin + Hilt: Injecting into static methods classes | <p>I'm not very clear about the best way to inject into a static methods helper class (lets say a <em>Custom</em> class).</p>
<p>I'm kinda new to Kotlin, and as I've learnt we can access a method statically in two ways:</p>
<ol>
<li>Object class.</li>
<li>Class + companion object.</li>
</ol>
<p>To start, I'm not sure w... | I'm not very clear about the best way to inject into a static methods helper class (lets say a Custom class). I'm kinda new to Kotlin, and as I've learnt we can access a method statically in two ways: Object class. Class + companion object. To start, I'm not sure which one is the most recommended one (if there is a bes... | android|kotlin|dependency-injection|dagger-hilt | 1 | 2022-07-30T13:53:41.383Z | 2,022 | 7 | 13 | 5 | 182 | 1 | 2,591 | 62 | 4 | 4 | true | false | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.