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,675,832 | Playing the next song using OnCompletionListener doesn't seem to work correctly consistently | <p>I'm working on a music player app, and I'm using OnCompletionListener to get the next song to play after the current one finishes. For some reason, my implementation doesn't seem to work correctly consistently. At times, when I drag the SeekBar to the end of the current song that's playing, there will be a few songs... | I'm working on a music player app, and I'm using OnCompletionListener to get the next song to play after the current one finishes. For some reason, my implementation doesn't seem to work correctly consistently. At times, when I drag the SeekBar to the end of the current song that's playing, there will be a few songs th... | timer|android-mediaplayer|timertask|android-seekbar | 0 | 2022-09-10T23:28:08.327Z | 2,022 | 9 | 23 | 5 | 13 | 0 | 747 | 92 | 4 | 3 | true | true | false | false | false | false | zero |
73,675,926 | add internet error layout in navigation drawer | <p>I have a navigation drawer app in android studio using Kotlin v1.7.10 and gradle 7.2.2.</p>
<p>The idea is this: when we have internet, open a WebView in the default fragment, and if there is no internet, open a layout with internet error message.</p>
<p>I added a new Kotlin file in MainActivity.kt root called "... | I have a navigation drawer app in android studio using Kotlin v1.7.10 and gradle 7.2.2. The idea is this: when we have internet, open a WebView in the default fragment, and if there is no internet, open a layout with internet error message. I added a new Kotlin file in MainActivity.kt root called "LiveData_interne... | android|kotlin|navigation|navigation-drawer|drawer | 0 | 2022-09-10T23:55:34.923Z | 2,022 | 9 | 23 | 5 | 22 | 0 | 916 | 46 | 5 | 4 | true | true | false | false | false | false | zero |
73,676,007 | What's the best way to get an APK for app update? | <p>I'm creating an App Updater for my android App and since the app can't go on the Play Store I need to get my APK from somewhere else. I'm already getting a JSON through an HTTP Request from my server that contains the version of the latest app. Is there a way to send the APK within that JSON to be downloaded after? ... | I'm creating an App Updater for my android App and since the app can't go on the Play Store I need to get my APK from somewhere else. I'm already getting a JSON through an HTTP Request from my server that contains the version of the latest app. Is there a way to send the APK within that JSON to be downloaded after? If ... | java|android|mobile-development | 0 | 2022-09-11T00:17:28.480Z | 2,022 | 9 | 0 | 6 | 34 | 0 | 419 | 49 | 3 | 0 | false | true | false | false | false | false | zero |
73,676,029 | Kotlin - how can I print limited length | <p>I tried to make password generator ( only string ) using Kotlin for-loop
when I run the code it's shows me outputs like this</p>
<pre><code>OHDPETGDIKPCIQPHBHKWSQKXB
PJQBCSNRWDSHJJXFISDMBVAGT
XSEVXCONRMXQGHXDADQFNLJYK
</code></pre>
<p>its too long password so I tried to use some Kotlin functions (Size,Length) and di... | I tried to make password generator ( only string ) using Kotlin for-loop when I run the code it's shows me outputs like this [CODE] its too long password so I tried to use some Kotlin functions (Size,Length) and didn't work with me maybe I just don't know the right way to do it , example I just want Password length siz... | android-studio|kotlin|generics | 1 | 2022-09-11T00:22:42.490Z | 2,022 | 9 | 0 | 6 | 62 | 1 | 413 | 39 | 3 | 2 | true | false | false | false | false | false | low |
73,676,035 | Real-time Recipe Recommendation on Object Detection/Recognition Model - (Mobile App) | <p>Hi I'm kinda new here in stackoverflow and I was wondering if any of you guys know where or how should I start to code this project of mine... This is a Thesis/Capstone project for my school, can you guys help me with this? I'm kinda stack on how should I code this... any suggestions, guide, ideas, or anything that ... | Hi I'm kinda new here in stackoverflow and I was wondering if any of you guys know where or how should I start to code this project of mine... This is a Thesis/Capstone project for my school, can you guys help me with this? I'm kinda stack on how should I code this... any suggestions, guide, ideas, or anything that wou... | python|android|flutter|deep-learning|object-detection | -1 | 2022-09-11T00:24:42.923Z | 2,022 | 9 | 0 | 6 | 28 | 0 | 1,959 | 84 | 5 | 0 | false | true | false | false | false | true | negative |
73,676,217 | Show/hide of multiple fragments | <p>I have a question, is the use of show and hide of multiples fragment a good practice in terms of device resources ?
For example, i have BottomNavigationView and 4 Fragments, to save states of theses Fragments im using show and hide. Is it a good practice ? Or there is another solution ?</p> | I have a question, is the use of show and hide of multiples fragment a good practice in terms of device resources ? For example, i have BottomNavigationView and 4 Fragments, to save states of theses Fragments im using show and hide. Is it a good practice ? Or there is another solution ? | android|performance|android-layout|android-fragments|fragment | 0 | 2022-09-11T01:24:01.853Z | 2,022 | 9 | 1 | 6 | 25 | 0 | 287 | 31 | 5 | 0 | false | true | false | false | false | false | zero |
73,676,301 | Using Android Studio to enable Video recording | <p>I am using Android studio to make a small App. In one screen, there is a button (button 1) is used to enable the cell phone to start record video. And after recording an AlertDialog is used to replay the video. However, every time when I run on emulator, the app just automatically stopped. Java script of this screen... | I am using Android studio to make a small App. In one screen, there is a button (button 1) is used to enable the cell phone to start record video. And after recording an AlertDialog is used to replay the video. However, every time when I run on emulator, the app just automatically stopped. Java script of this screen is... | java|android-studio|video-capture | 0 | 2022-09-11T01:50:35.943Z | 2,022 | 9 | 1 | 6 | 32 | 0 | 464 | 46 | 3 | 2 | true | true | false | false | false | false | zero |
73,676,421 | Where can I find the sample project Trivial Drive (Kotlin) which supports Google Play Billing Library version 5? | <p>I'm learning Google Play Billing Library version 5 only for in-app items .</p>
<p>I have foud the official sample project <a href="https://github.com/android/play-billing-samples/tree/master/TrivialDriveKotlin" rel="nofollow noreferrer">Trivial Drive (Kotlin)</a> only to support Google Play Billing Library version 4... | I'm learning Google Play Billing Library version 5 only for in-app items . I have foud the official sample project Trivial Drive (Kotlin) only to support Google Play Billing Library version 4. Is there a branch of Trivial Drive (Kotlin) to support Google Play Billing Library version 5? or is there other sample project ... | android|kotlin|google-play | 0 | 2022-09-11T02:31:30.087Z | 2,022 | 9 | 2 | 6 | 73 | 0 | 380 | 112 | 3 | 0 | false | true | false | false | false | false | zero |
73,676,427 | android jetpack compose: ACTION_UP only reached for tap but not after ACTION_MOVE when using pointerInteropFilter | <p>I need to scroll programatically (in order to snap items to adjust symmetrically top and bottom) after scrolling or after a tap (click) in a lazy column. I also need to start at a specific item when app launches - starts.</p>
<p>I am using pointerInteropFilter to be able to run some code at these actions: down, move... | I need to scroll programatically (in order to snap items to adjust symmetrically top and bottom) after scrolling or after a tap (click) in a lazy column. I also need to start at a specific item when app launches - starts. I am using pointerInteropFilter to be able to run some code at these actions: down, move, up. The ... | pointers|input|android-jetpack-compose|action|motionevent | 0 | 2022-09-11T02:34:22.530Z | 2,022 | 9 | 2 | 6 | 29 | 0 | 975 | 113 | 5 | 1 | true | true | false | false | false | false | zero |
73,676,507 | SimpleXMLConverter ParserError | <p>Please help me. when i use retrofit with simpleXMLConverter</p>
<p>ERROR java.lang.RuntimeException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: only whitespace content allowed before start tag and not {</p>
<p>XML:</p>
<pre><code><DataList>
<Data row="1" n_1="... | Please help me. when i use retrofit with simpleXMLConverter ERROR java.lang.RuntimeException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: only whitespace content allowed before start tag and not { XML: [CODE] | java|android|xml|parsing|debugging | -1 | 2022-09-11T02:57:53.387Z | 2,022 | 9 | 2 | 6 | 25 | 0 | 240 | 30 | 5 | 1 | true | true | false | false | false | true | negative |
73,676,565 | calendarView is not shown the correct months | <p>The calendarView it always shows a month before the chosen one, example: I choose 20/02/2002, calendarView min returns 20/01/2002.
Como eu faço pra que seja recuperado ao clicar o mês correto ?</p>
<p>My calendarView:</p>
<pre><code>calendarView.setOnDateChangeListener(new CalendarView.OnDateChangeListener() {
... | The calendarView it always shows a month before the chosen one, example: I choose 20/02/2002, calendarView min returns 20/01/2002. Como eu faço pra que seja recuperado ao clicar o mês correto ? My calendarView: [CODE] | java|android|calendarview | 0 | 2022-09-11T03:15:37.723Z | 2,022 | 9 | 3 | 6 | 29 | 2 | 217 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
73,676,675 | Java BitmapFacroty RuntimeExeption | <p>I'm trying to do simple qr-code reader, so as first step i need to convert given image to bitmap.
I use android.graphics package, Bitmap class.
But i can't even get a positive case, when i convert picture to bitmap.</p>
<pre><code>import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
public static ... | I'm trying to do simple qr-code reader, so as first step i need to convert given image to bitmap. I use android.graphics package, Bitmap class. But i can't even get a positive case, when i convert picture to bitmap. [CODE] After trying i always get same error - java.lang.RuntimeException: Stub! . Like it is not even nu... | java|android|bitmap | 0 | 2022-09-11T03:47:35.017Z | 2,022 | 9 | 3 | 6 | 16 | 0 | 398 | 34 | 3 | 1 | true | true | false | false | false | false | zero |
73,676,687 | How to extract SMS response status in Kotlin | <p>I am very new to Kotlin. I want to know how to extract the response status of an SMS right after it was sent. I will then use the status to decide in a logic. Thank you</p> | I am very new to Kotlin. I want to know how to extract the response status of an SMS right after it was sent. I will then use the status to decide in a logic. Thank you | android|kotlin|sms | -1 | 2022-09-11T03:50:10.587Z | 2,022 | 9 | 3 | 6 | 18 | 0 | 168 | 44 | 3 | 0 | false | true | false | false | false | true | negative |
73,676,740 | How can I give input to my computer from my phone? | <p>I am trying to create a python program that takes input of what homework assignments I have and stores all of that information so that I can send a notification to my phone when assignments are coming up. I want to be able to give input from my phone throughout the day and cant seem to find a way to interact with my... | I am trying to create a python program that takes input of what homework assignments I have and stores all of that information so that I can send a notification to my phone when assignments are coming up. I want to be able to give input from my phone throughout the day and cant seem to find a way to interact with my sc... | python|android|windows|notifications | 0 | 2022-09-11T04:07:47.947Z | 2,022 | 9 | 4 | 6 | 36 | 1 | 454 | 50 | 4 | 0 | false | false | false | false | false | false | zero |
73,676,833 | How to return value from a child activity started using pending intent to the parent activity | <p>So I have a home screen widget in my app and clicking this widget opens a single instance activity, this activity opens a dialog box consisting of a few radio options. The user selects a radio option and the activity closes. I want to send the option which the user selected back to the home screen widget, and I can'... | So I have a home screen widget in my app and clicking this widget opens a single instance activity, this activity opens a dialog box consisting of a few radio options. The user selects a radio option and the activity closes. I want to send the option which the user selected back to the home screen widget, and I can't f... | android|android-pendingintent|home-screen-widget | 0 | 2022-09-11T04:30:56.740Z | 2,022 | 9 | 4 | 6 | 28 | 0 | 1,006 | 93 | 3 | 2 | true | true | false | false | false | false | zero |
73,676,838 | Fragment Dialog doesn´t show correctly | <p>This is my fragment dialog layout
<a href="https://i.stack.imgur.com/yy0lM.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>and when inflated, shows with like 50dp or less height.</p>
<p>I´m really tired about this error, i don't know why happen and i dont find a solution no where</p> | This is my fragment dialog layout enter image description here and when inflated, shows with like 50dp or less height. I´m really tired about this error, i don't know why happen and i dont find a solution no where | android|android-studio|kotlin|android-layout|android-fragments | -2 | 2022-09-11T04:31:51.030Z | 2,022 | 9 | 4 | 6 | 39 | 0 | 213 | 38 | 5 | 0 | false | true | false | false | false | true | negative |
73,676,921 | The argument type 'Future<Uint8List?>' can't be assigned to the parameter type 'Future<Uint8List>? | <p>I am trying to read the pdf from url using pdf, dio and printing packages but the weird thing is I am getting not one but three errors mentioned below. I have also attached the image for clear view where I am getting the errors.</p>
<pre><code>The argument type 'Future<Uint8List?>' can't be assigned to the par... | I am trying to read the pdf from url using pdf, dio and printing packages but the weird thing is I am getting not one but three errors mentioned below. I have also attached the image for clear view where I am getting the errors. [CODE] [CODE] | flutter|android-studio|dart|pdf | -1 | 2022-09-11T04:53:43.533Z | 2,022 | 9 | 4 | 6 | 123 | 2 | 242 | 98 | 4 | 2 | true | false | false | false | false | true | negative |
73,676,963 | Android: Setting Firebase debug (dev) and release (prod) environment | <p>Can we have a setup that uses two separate Firebase project? The idea is to put two different <code>google-services.json</code> in <code>src/debug</code> directory for dev environment and <code>src/release</code> for prod environment. The expected result is debug build will use the <code>google-services.json</code> ... | Can we have a setup that uses two separate Firebase project? The idea is to put two different google-services.json in src/debug directory for dev environment and src/release for prod environment. The expected result is debug build will use the google-services.json from a Firebase project that is dedicated for developme... | android|firebase|google-play-services | 0 | 2022-09-11T05:07:21.047Z | 2,022 | 9 | 5 | 6 | 21 | 0 | 421 | 68 | 3 | 0 | false | true | false | false | false | false | zero |
73,677,107 | Cannot collect kotlin Flow | <p>My code always exit when executing this line, actually i already use coroutine to execute the collector code, and already use updated library for coroutine also</p>
<pre><code>viewModel.rtList.collect{ list ->
adapter.submitList(list)
}
</code></pre>
<p>and here is my full collector code</p>
<pre><code> view... | My code always exit when executing this line, actually i already use coroutine to execute the collector code, and already use updated library for coroutine also [CODE] and here is my full collector code [CODE] And here is in ViewModel [CODE] | android|kotlin|viewmodel|kotlin-coroutines|kotlin-flow | 0 | 2022-09-11T05:43:30.220Z | 2,022 | 9 | 5 | 6 | 35 | 1 | 241 | 26 | 5 | 3 | true | false | false | false | false | false | zero |
73,677,112 | Playing an audio file in the background with WorkManager | <p>I am trying to set up an Android app with <code>Kotlin</code>. It should be able to play an audio file in the background. For that I use <code>WorkManager</code>.</p>
<p>There is a button in the main activity to fire up the play of the audio file.</p>
<p>At this point I have something partly working. If I fire the a... | I am trying to set up an Android app with Kotlin . It should be able to play an audio file in the background. For that I use WorkManager . There is a button in the main activity to fire up the play of the audio file. At this point I have something partly working. If I fire the audio playing by tapping the button it pla... | android|kotlin|android-workmanager | 0 | 2022-09-11T05:44:26.120Z | 2,022 | 9 | 5 | 6 | 24 | 1 | 716 | 56 | 3 | 2 | true | false | false | false | false | false | zero |
73,677,179 | How to add a delay in For loop in kotlin android | <p>I want to animate the progress bar so i am setting its progress using for loop but the loop is too much faster that i can't see the animation . I want the code to add a delay in the loop , i tried using thread delay but not working -
here is the code</p>
<pre><code> private fun showProgress() {
fo... | I want to animate the progress bar so i am setting its progress using for loop but the loop is too much faster that i can't see the animation . I want the code to add a delay in the loop , i tried using thread delay but not working - here is the code [CODE] Solution : Was not calling start method , but if there any oth... | android|android-studio|kotlin|progress-bar | 0 | 2022-09-11T06:01:54.900Z | 2,022 | 9 | 6 | 6 | 53 | 1 | 453 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
73,677,198 | Flutter get Images by extension form storage | <p>I want to know how can I compare file extension</p>
<pre><code>void main() {
List<String> image = ["sdasd/dsd.png","sdafd/ddd.jpeg","sdsdd/dgd.gif","sdasd/dhd.png","sdasd/dhd.txt",];
final RegExp regExp =
RegExp(".(gif|jpe?g|tiff?|png|webp|bmp)&... | I want to know how can I compare file extension [CODE] Output: true true true true false Problem If I put ".pngk" it shows me "true", | android|regex|flutter|dart|iso | -1 | 2022-09-11T06:08:36.770Z | 2,022 | 9 | 6 | 6 | 64 | 2 | 153 | 44 | 5 | 1 | true | false | false | false | false | true | negative |
73,677,375 | ionic capacitor android emulator can't fetch API data from local nodejs server | <p>I am unable to fetch any API data from my local Nodejs server using android emulator.</p>
<p>http:</p>
<pre><code>url: 'http://localhost:8000/'
this.data = (await this.http.get<Res>(url + '/' + id).toPromise()).data;
</code></pre>
<p><strong>Will work</strong> when fetching API as a web app.</p>
<p><em><stron... | I am unable to fetch any API data from my local Nodejs server using android emulator. http: [CODE] Will work when fetching API as a web app. ionic serve Will Not Work when I run my app using android emulator. via: ionic capacitor run android -l --external I get an Error: ERROR Error: Uncaught (in promise): HttpErrorRes... | angular|http|ionic-framework|android-emulator|capacitor | -1 | 2022-09-11T06:50:49.737Z | 2,022 | 9 | 6 | 6 | 29 | 1 | 799 | 78 | 5 | 1 | true | false | false | false | false | true | negative |
73,677,452 | Do I need to include <uses-permission android:name="com.android.vending.BILLING" /> in Manifest when I use Google Play Billing Library version 5? | <p>I was told that I should to include <code><uses-permission android:name="com.android.vending.BILLING" /></code> in Manifest File when I use Google Play Billing Library version 5 when I browse the <a href="https://github.com/wdtheprovider/in-app-purchases-subscription" rel="nofollow noreferrer">sample... | I was told that I should to include <uses-permission android:name="com.android.vending.BILLING" /> in Manifest File when I use Google Play Billing Library version 5 when I browse the sample project. But in the official sample project Trivial Drive (Kotlin) which supports Google Play Billing Library version 4,... | android|google-play | 0 | 2022-09-11T07:07:50.430Z | 2,022 | 9 | 7 | 6 | 39 | 1 | 597 | 145 | 2 | 0 | false | false | false | false | false | false | zero |
73,677,483 | SSL error in show video with chewie package flutter in android 7 | <p>I have problem to show video in chewie package in flutter,
in android 7 not showing video and get this error:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>Playback error
... | I have problem to show video in chewie package in flutter, in android 7 not showing video and get this error: [CODE] this error just show in android 7 and another android not show this problem. this picture show SSLl Test in SSLLab | android|flutter|ssl | 0 | 2022-09-11T07:14:11.773Z | 2,022 | 9 | 7 | 6 | 37 | 0 | 231 | 64 | 3 | 1 | true | true | false | false | false | false | zero |
73,677,524 | How to divide the stroke of a circle at equal intervals in Jetpack compose canvas? | <p>How to achieve the following result using Compose Canvas.</p>
<p><a href="https://i.stack.imgur.com/gJdhd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gJdhd.png" alt="1" /></a></p> | How to achieve the following result using Compose Canvas. | android|android-jetpack-compose|android-canvas|android-jetpack-compose-canvas | 1 | 2022-09-11T07:23:39.660Z | 2,022 | 9 | 7 | 6 | 48 | 1 | 57 | 82 | 4 | 0 | false | false | false | false | false | false | low |
73,677,539 | Google Play rejected my update because it says I collect installed apps on device, but I don't collect such type data? | <p>I don't collect installed apps from a device, but I use variety of libraries. I think it is probably from one of the libraries I use, If so, how can I find the library that collects such data.</p> | I don't collect installed apps from a device, but I use variety of libraries. I think it is probably from one of the libraries I use, If so, how can I find the library that collects such data. | android|google-play|google-play-console | 0 | 2022-09-11T07:26:12.290Z | 2,022 | 9 | 7 | 6 | 241 | 1 | 192 | 118 | 3 | 0 | false | false | false | false | false | false | zero |
73,677,617 | How to solve the "Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync." problem | <p>I'm getting "Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync." problem while connecting to the Firebase.</p>
<p>I tried every mentioned solution to this problem in this website but nothing worked.
please solve this problem.</p>
<p>gradle file archi... | I'm getting "Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync." problem while connecting to the Firebase. I tried every mentioned solution to this problem in this website but nothing worked. please solve this problem. gradle file archive-- https://drive... | android|android-gradle-plugin|android-studio-3.0 | 0 | 2022-09-11T07:42:06.093Z | 2,022 | 9 | 7 | 6 | 33 | 0 | 471 | 133 | 3 | 0 | false | true | false | false | false | false | zero |
73,677,676 | get today data from room database | <p><strong>get dates data from room database</strong></p>
<blockquote>
<p>i have created task db class as below</p>
</blockquote>
<pre><code> @ColumnInfo(name = "task_start_date") var taskStartDate: Date?,
@ColumnInfo(name = "task_end_date") var taskEndDate: Date?,
@ColumnInfo(name = "task_ne... | get dates data from room database i have created task db class as below [CODE] I do insert data with below function [CODE] fetching data with below codes and params todayDate = above functio getTodayDate() [CODE] with above implementation I m getting 0 result I assume room is converting date to long and stores and also... | kotlin|date|android-room | 0 | 2022-09-11T07:52:37.463Z | 2,022 | 9 | 7 | 6 | 35 | 1 | 728 | 33 | 3 | 4 | true | false | false | false | false | false | zero |
73,677,740 | How to pass IBinder object between proccess? | <p>With intent, I share data between two processes (primitives only atm).
Additionally, I want to pass IBinder object between them.</p>
<p>Since I know that Intent can contain Parcelable objects, and can therefore be shared between processes, I made a wrapper class that implements Parcelable to hold the IBinder, but it... | With intent, I share data between two processes (primitives only atm). Additionally, I want to pass IBinder object between them. Since I know that Intent can contain Parcelable objects, and can therefore be shared between processes, I made a wrapper class that implements Parcelable to hold the IBinder, but it fails to ... | java|android|ipc|android-binder | 0 | 2022-09-11T08:04:56.843Z | 2,022 | 9 | 8 | 6 | 11 | 0 | 531 | 44 | 4 | 1 | true | true | false | false | false | false | zero |
73,677,744 | Flutter webveiw crash while asking location permission in webview | <p>I have integrated <a href="https://pub.dev/packages/flutter_inappwebview" rel="nofollow noreferrer">flutter_inappwebview</a> in my app for a common webview, when there are some links which needs location permission my webview is closed or crashed.</p>
<p>Here is a code which I have done:</p>
<pre><code>Container(
... | I have integrated flutter_inappwebview in my app for a common webview, when there are some links which needs location permission my webview is closed or crashed. Here is a code which I have done: [CODE] I am having this error in console [CODE] Please help me out. Thanks in advance. | android|flutter|webview|android-webview|flutter-inappwebview | 0 | 2022-09-11T08:05:25.500Z | 2,022 | 9 | 8 | 6 | 70 | 0 | 282 | 65 | 5 | 2 | true | true | false | false | false | false | zero |
73,677,763 | Kotlin android expose a class of one module in another? | <p>the setup:</p>
<p><code>Module 1</code> an external dependency that has <code>Class A</code><br />
<code>Module 2</code> depends on <code>Class A</code> but may in the future depends on another module/class entirely<br />
an <code>APP</code> depends on <code>Module 2</code></p>
<p>I tried to add a typealias in <code... | the setup: Module 1 an external dependency that has Class A Module 2 depends on Class A but may in the future depends on another module/class entirely an APP depends on Module 2 I tried to add a typealias in Module 2 to Class A . it exposes the class "correctly" (lets say it is com.moduleTwo.ClassA instead of... | java|android|kotlin|gradle|alias | 0 | 2022-09-11T08:09:34.963Z | 2,022 | 9 | 8 | 6 | 44 | 1 | 713 | 55 | 5 | 0 | false | false | false | false | false | false | zero |
73,677,801 | Android - Listen for any touch event while the app is in foreground | <p>I want to listen for any touch event and check if the user is idle and close the app if it wasn't used during a time frame</p> | I want to listen for any touch event and check if the user is idle and close the app if it wasn't used during a time frame | android|kotlin | -1 | 2022-09-11T08:17:55.187Z | 2,022 | 9 | 8 | 6 | 18 | 0 | 122 | 67 | 2 | 0 | false | true | false | false | false | true | negative |
73,677,923 | ParseError at [row,col]:[13,344] | <p>ativeLayout
android:id="@+id/parentlatout"
android:layout_width="match_parent"</p>
<pre><code> android:layout_height="match_parent">
</code></pre> | ativeLayout android:id="@+id/parentlatout" android:layout_width="match_parent" [CODE] | android|android-studio|kotlin | -2 | 2022-09-11T08:39:52.480Z | 2,022 | 9 | 8 | 6 | 12 | 0 | 105 | 32 | 3 | 1 | true | true | false | false | false | true | negative |
73,677,973 | Google Play Games Broken - 100% Errors of Achievements and Leaderboard APIs | <p>There was an incident where my Google Play Games Services broke while integrating Google Firebase into my game. Somehow I fixed it by adding SHA-1 fingerprints of both uploading & app signing certificates, but achievements and the leaderboard system still don't work anymore.</p>
<p>The authentication works, and ... | There was an incident where my Google Play Games Services broke while integrating Google Firebase into my game. Somehow I fixed it by adding SHA-1 fingerprints of both uploading & app signing certificates, but achievements and the leaderboard system still don't work anymore. The authentication works, and also saved gam... | android|google-cloud-platform|google-play-games | 0 | 2022-09-11T08:47:23.277Z | 2,022 | 9 | 8 | 6 | 27 | 0 | 490 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
73,678,016 | Reorienting smartphone accelerometer readings to global frame of reference | <p>I have an android smartphone that I use to collect data from accelerometer sensor while driving a car. The mobile is placed on a holder inside the vehicle so that, it is nearly tilted about the Z-axis. I want to reorient the readings gathered from the accelerometer to the global frame of reference. I have found that... | I have an android smartphone that I use to collect data from accelerometer sensor while driving a car. The mobile is placed on a holder inside the vehicle so that, it is nearly tilted about the Z-axis. I want to reorient the readings gathered from the accelerometer to the global frame of reference. I have found that th... | android|accelerometer|coordinate-transformation|euler-angles | -1 | 2022-09-11T08:58:25.907Z | 2,022 | 9 | 8 | 6 | 17 | 0 | 824 | 74 | 4 | 1 | true | true | false | false | false | true | negative |
73,678,241 | want to redirect to next page with same id | <p>I am making a flight application. I want to redirect to page containing data same to one flight i select. I redirect from one page to other where containing flights and the flights redirect to hotels containing data same to flight. Now i want to take the same page data to third page containing select date. I am not ... | I am making a flight application. I want to redirect to page containing data same to one flight i select. I redirect from one page to other where containing flights and the flights redirect to hotels containing data same to flight. Now i want to take the same page data to third page containing select date. I am not sur... | android|flutter|firebase|google-cloud-firestore | 0 | 2022-09-11T09:40:03.940Z | 2,022 | 9 | 9 | 6 | 30 | 1 | 665 | 42 | 4 | 2 | true | false | false | false | false | false | zero |
73,678,281 | How to paginate data from firestore with MVVM using staggered grid recycler view | <p>I want to paginate data from Firestore, using RecyclerView when I scroll I want to fetch new documents when all items are seen</p>
<p>here is my implementation :
what's happening in my implementation is when I switch to the fragment which contains the recycler view, it loads data in chunks with a limit of 10,10,10..... | I want to paginate data from Firestore, using RecyclerView when I scroll I want to fetch new documents when all items are seen here is my implementation : what's happening in my implementation is when I switch to the fragment which contains the recycler view, it loads data in chunks with a limit of 10,10,10... but all ... | android|firebase|kotlin|google-cloud-platform|google-cloud-firestore | 0 | 2022-09-11T09:49:09.223Z | 2,022 | 9 | 9 | 6 | 84 | 1 | 542 | 80 | 5 | 8 | true | false | false | false | false | false | zero |
73,678,369 | Android Studio Video Recording | <p>I'm trying to make a camera application using Camera2 API. I have code and when trying to start recording, following error occurs:</p>
<blockquote>
<p>java.lang.IllegalStateException
at android.media.MediaRecorder.setVideoSource(Native Method)
at com.example.mycustomcamera.MainActivity.setUpMediaRecorder(MainActivit... | I'm trying to make a camera application using Camera2 API. I have code and when trying to start recording, following error occurs: java.lang.IllegalStateException at android.media.MediaRecorder.setVideoSource(Native Method) at com.example.mycustomcamera.MainActivity.setUpMediaRecorder(MainActivity.java:203) [CODE] I ha... | android-camera2 | 0 | 2022-09-11T10:04:24.637Z | 2,022 | 9 | 10 | 6 | 10 | 0 | 422 | 30 | 1 | 1 | true | true | false | false | false | false | zero |
73,678,441 | Multi tweet feature like twitter | <p>I have a question about layout in android. I am working on application that have an functionality like twitter so i want to make a multi tweet layout with all their feature like attach image, video, audio, etc..<a href="https://i.stack.imgur.com/YNqkH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co... | I have a question about layout in android. I am working on application that have an functionality like twitter so i want to make a multi tweet layout with all their feature like attach image, video, audio, etc.. | android|multidimensional-array|arraylist|dynamiclayout|android-dynamic-shortcuts | -1 | 2022-09-11T10:18:07.787Z | 2,022 | 9 | 10 | 6 | 11 | 0 | 211 | 32 | 5 | 0 | false | true | false | false | false | true | negative |
73,678,462 | How to sign CA over apk generated keys and how to check our app is signed with following certificate | <p>I'm junior android developer and a question is asked from me that don't know the answer ... Could someone help me and describes in the way I can understand or send links about that?
question: when we want to release android app we have a key generated with app, how we can sign these keys by a CA (certificate authori... | I'm junior android developer and a question is asked from me that don't know the answer ... Could someone help me and describes in the way I can understand or send links about that? question: when we want to release android app we have a key generated with app, how we can sign these keys by a CA (certificate authority)... | android|certificate|ca | 0 | 2022-09-11T10:21:38.953Z | 2,022 | 9 | 10 | 6 | 11 | 0 | 536 | 100 | 3 | 0 | false | true | false | false | false | false | zero |
73,678,512 | Android data binding? issue after calling recreate activity | <p>First of all, I am not sure if this is a data binding issue, that is just a guess. Please ignore it. Problem is as follows:</p>
<p>In my <code>MainActivity.kt</code>, I use DataBinding as follows:</p>
<pre><code>class MainActivity: BaseActivity(){
private lateinit var binding: ActivityMainBinding
override fu... | First of all, I am not sure if this is a data binding issue, that is just a guess. Please ignore it. Problem is as follows: In my MainActivity.kt , I use DataBinding as follows: [CODE] BaseActivity.kt , extends AppCompatActivity() . Now, upon clicking on a button, which changes user locale (and language of the app), I ... | android|kotlin|android-activity | 0 | 2022-09-11T10:30:22.787Z | 2,022 | 9 | 10 | 6 | 18 | 1 | 743 | 59 | 3 | 1 | true | false | false | false | false | false | zero |
73,678,541 | Universal max length for EditText - Android | <p>I know about the similar max length method for EditText that looks like this</p>
<p><code>editText.maxLength = "21"</code></p>
<p>But the problem is that this type of method isn't effective in my case. I have an EditText that has special dimension, so my goal is to not allow symbols to pass edittext's bord... | I know about the similar max length method for EditText that looks like this editText.maxLength = "21" But the problem is that this type of method isn't effective in my case. I have an EditText that has special dimension, so my goal is to not allow symbols to pass edittext's border. I nedd something that maxi... | java|android|kotlin|android-layout|maxlength | 1 | 2022-09-11T10:34:11.533Z | 2,022 | 9 | 10 | 6 | 37 | 0 | 546 | 43 | 5 | 0 | false | true | false | false | false | false | low |
73,678,604 | How can i display & position text in my NavBar using Inkwell in flutter | <p>I am using InkWell for my Custom Navigation Bar Icons as shown below. But i'm trying to position the text right below the Icons in the text, and looks like i'm finding it difficult to get around it.</p>
<p>I've tried using TextStyle but it seem not to work.</p>
<p>This is the desired look. <a href="https://i.stack.i... | I am using InkWell for my Custom Navigation Bar Icons as shown below. But i'm trying to position the text right below the Icons in the text, and looks like i'm finding it difficult to get around it. I've tried using TextStyle but it seem not to work. This is the desired look. This is what i am getting Below is my code ... | android|ios|flutter|dart|navbar | 0 | 2022-09-11T10:45:41.240Z | 2,022 | 9 | 10 | 6 | 38 | 2 | 432 | 71 | 5 | 2 | true | false | false | false | false | false | zero |
73,678,659 | How to pause audio programs in Android? | <p>I need some Java code to pause and resume Youtube Music and Android Music, I've found that you can use a MediaController but I don't know how to implement this. I would really appreciate if someone could give me some code for this.</p> | I need some Java code to pause and resume Youtube Music and Android Music, I've found that you can use a MediaController but I don't know how to implement this. I would really appreciate if someone could give me some code for this. | java|android | 0 | 2022-09-11T10:54:06.047Z | 2,022 | 9 | 10 | 6 | 21 | 0 | 231 | 39 | 2 | 0 | false | true | false | false | false | false | zero |
73,678,677 | How to use bottom sheets, with parent interaction enabled and expandable | <p>I want to implement a bottom sheet in an activity, at the same time user could use parent views and elements. When the user wants to focus on the bottom sheet, swipe up the sheet to expand to full size. Which library or view should I use? Is it possible to use native classes?
UI will be something like the Google map... | I want to implement a bottom sheet in an activity, at the same time user could use parent views and elements. When the user wants to focus on the bottom sheet, swipe up the sheet to expand to full size. Which library or view should I use? Is it possible to use native classes? UI will be something like the Google map ap... | android|kotlin|material-design|bottom-sheet | 2 | 2022-09-11T10:56:24.187Z | 2,022 | 9 | 10 | 6 | 41 | 1 | 322 | 72 | 4 | 0 | false | false | false | false | false | false | low |
73,678,710 | Unity Gradle Build Failure | <ul>
<li>How to fix unity 2020.1f gradle build failure. I need help with this. Please</li>
</ul>
<pre><code>UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
FAILURE: Build failed with an exception.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
UnityEngine.GUIUtility:ProcessEvent(... | How to fix unity 2020.1f gradle build failure. I need help with this. Please [CODE] I have been trying to build an apk bundle in unity 2020.1f with a targeted API 31 but I am getting this error. I download the SDK from android studio. I am using gradle 6.9 to build the apk bundle. Can anyone help me, please I am freaki... | c#|android|android-studio|unity3d|gradle | 0 | 2022-09-11T11:01:36.417Z | 2,022 | 9 | 11 | 6 | 21 | 1 | 327 | 26 | 5 | 1 | true | false | false | false | false | false | zero |
73,678,820 | Two TTS in one activity in Adroid Studio Kotlin | <p>I want to have two or more TTS in one activity. I have 4 textViews and want to be able to play each one seperatly.</p>
<p>I found a code and can play one, but can not play two. I copied the code and changed the variables but did not work.</p>
<p>Pretty basic in Android so any help is great, if this question has bee... | I want to have two or more TTS in one activity. I have 4 textViews and want to be able to play each one seperatly. I found a code and can play one, but can not play two. I copied the code and changed the variables but did not work. Pretty basic in Android so any help is great, if this question has been asked before I a... | android|android-studio|kotlin|text-to-speech | 1 | 2022-09-11T11:19:18.087Z | 2,022 | 9 | 11 | 6 | 16 | 0 | 419 | 47 | 4 | 1 | true | true | false | false | false | false | low |
73,678,861 | Placing a view on the screen in the position of another view android | <p>I have a view inside a FrameLayout that I want to animate it to zoom in and out, and get bigger than the layout it's sitting in. So the solution I came with is to make a new view and place it on top of the original FrameLayout, do the animation on it, and delete it. I manage to do the animation, but I can't place it... | I have a view inside a FrameLayout that I want to animate it to zoom in and out, and get bigger than the layout it's sitting in. So the solution I came with is to make a new view and place it on top of the original FrameLayout, do the animation on it, and delete it. I manage to do the animation, but I can't place it on... | android|kotlin|animation|position | 1 | 2022-09-11T11:26:17.227Z | 2,022 | 9 | 11 | 6 | 29 | 1 | 591 | 68 | 4 | 2 | true | false | false | false | false | false | low |
73,678,894 | Expo Location watchHeadingAsync not working on Android | <p>I am writing an app that requires me to track the heading of the user's device. Everything works fine on iOS, but on Android the heading is very unstable and flickers between 2 values very often:</p>
<pre><code>Log output:
angle: 17.43
angle: 358.7
angle: 17.43
angle: 358.7
</code></pre>
<p>Here is my code:</p>
<pre... | I am writing an app that requires me to track the heading of the user's device. Everything works fine on iOS, but on Android the heading is very unstable and flickers between 2 values very often: [CODE] Here is my code: [CODE] Thanks in advance. EDIT: I am using Location.requestForegroundPermissionsAsync every time the... | android|react-native|expo | 0 | 2022-09-11T11:31:20.543Z | 2,022 | 9 | 11 | 6 | 11 | 0 | 395 | 54 | 3 | 2 | true | true | false | false | false | false | zero |
73,679,006 | Setting An Initial Route on Mapbox NavigationView | <p>I want to start Mapbox NavigationWiew component with an already defined route which just takes a destination point for input (because origin point is already user location) in an android application. Everything is achievable with MapView, but it is hard to achieve this with NavigationView.(I preferred not to provide... | I want to start Mapbox NavigationWiew component with an already defined route which just takes a destination point for input (because origin point is already user location) in an android application. Everything is achievable with MapView, but it is hard to achieve this with NavigationView.(I preferred not to provide co... | kotlin|navigation|mapbox-android | 0 | 2022-09-11T11:48:36.003Z | 2,022 | 9 | 11 | 6 | 18 | 0 | 555 | 49 | 3 | 1 | true | true | false | false | false | false | zero |
73,679,030 | Google Places API Autocomplete search ACCESS DENIED ERROR: FLUTTER (Issue Not Resolved) | <p>I am trying to use the Autocomplete search (places suggestions) feature of <strong>Google Maps Platform</strong> using the <strong>Places API</strong>.<br />
<em><strong>The API KEY I am using is restricted to a single user (i.e., me) on the Maps Platform.</strong></em><br />
<strong>Approach-1:</strong></p>
<pre><c... | I am trying to use the Autocomplete search (places suggestions) feature of Google Maps Platform using the Places API . The API KEY I am using is restricted to a single user (i.e., me) on the Maps Platform. Approach-1: [CODE] Problem- But, when I use it on my Android Phone I get the following error response: [CODE] Appr... | android|flutter|google-maps|google-places-api|googleplacesautocomplete | 0 | 2022-09-11T11:52:41.217Z | 2,022 | 9 | 11 | 6 | 33 | 0 | 693 | 87 | 5 | 3 | true | true | false | false | false | false | zero |
73,679,078 | how to fix Kotlin Multiplatform Mobile gradle red error | <p>I have created a new KMM project and I get red errors in all Gradle files</p>
<p>kdoctor:</p>
<pre><code>[v] System
OS: macOS (12.5.1)
CPU: Apple M1 Pro
[v] Java
Java (openjdk version "17.0.4" 2022-07-19 LTS)
Location: /Library/Java/JavaVirtualMach... | I have created a new KMM project and I get red errors in all Gradle files kdoctor: [CODE] I created a project with regular ios distribution framework. I have even tried to install ruby 2.7 using homebrew and I add the path to env and the error is still the same so I revert all the changes back [CODE] I have tried too m... | android|android-studio|kotlin|gradle-kotlin-dsl|kotlin-multiplatform-mobile | 1 | 2022-09-11T11:59:57.603Z | 2,022 | 9 | 11 | 6 | 63 | 1 | 388 | 55 | 5 | 2 | true | false | false | false | false | false | low |
73,679,202 | Is there a way to automatically load pictures into App-Specific Internal storage on install? (KOTLIN) | <p>Is it possible for a set of images to be automatically loaded into the App-Specific Internal storage on the device when the app is installed? ie. Have the images saved in res/drawable and then have those images loaded into data/user/0/package_name/files ?</p> | Is it possible for a set of images to be automatically loaded into the App-Specific Internal storage on the device when the app is installed? ie. Have the images saved in res/drawable and then have those images loaded into data/user/0/package_name/files ? | android|kotlin | 0 | 2022-09-11T12:18:22.870Z | 2,022 | 9 | 12 | 6 | 16 | 0 | 255 | 101 | 2 | 0 | false | true | false | false | false | false | zero |
73,679,205 | Common fragments lead app not select bottom nav icon | <p>I have a bottom nav bar with 5 tabs, each tab has its own graph and all are collected in home nav_graph
in details:
host_nav_graph has</p>
<ul>
<li>Home Nav graph & all common fragments like ( product details or product listing )</li>
<li>include for Nav graph 1 ( Search )</li>
<li>include for Nav graph 2</li>
<... | I have a bottom nav bar with 5 tabs, each tab has its own graph and all are collected in home nav_graph in details: host_nav_graph has Home Nav graph & all common fragments like ( product details or product listing ) include for Nav graph 1 ( Search ) include for Nav graph 2 include for Nav graph 3 include for Nav grap... | android|android-fragments|android-jetpack|android-navigation | 0 | 2022-09-11T12:18:44.997Z | 2,022 | 9 | 12 | 6 | 14 | 0 | 946 | 52 | 4 | 3 | true | true | false | false | false | false | zero |
73,679,227 | Xamarin writing to External Storage (permissions) | <p>First of all I would like to ask am I trying to write to correct path or not? I would like to have a log file on device and currently it is created and maintained this way:</p>
<pre><code> string documentsPath = Path.Combine(Android.OS.Environment.ExternalStorageDirectory.AbsolutePath, Android.OS.Environment.Direct... | First of all I would like to ask am I trying to write to correct path or not? I would like to have a log file on device and currently it is created and maintained this way: [CODE] I mean is this the right place or is it better to store it somewhere else? For example in internal storage? Second question if above is fine... | c#|android|xaml|xamarin.forms | 0 | 2022-09-11T12:22:29.767Z | 2,022 | 9 | 12 | 6 | 40 | 0 | 565 | 49 | 4 | 3 | true | true | false | false | false | false | zero |
73,679,298 | how can i solve this error to debug the app | <p>when i run the app it say ""Could not connect to remote process. Aborting debug session.</p>
<p><a href="https://i.stack.imgur.com/T6RbI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T6RbI.png" alt="enter image description here" /></a></p> | when i run the app it say ""Could not connect to remote process. Aborting debug session. | android-studio|debugging | 0 | 2022-09-11T12:31:37.367Z | 2,022 | 9 | 12 | 6 | 10 | 0 | 98 | 43 | 2 | 0 | false | true | false | false | false | false | zero |
73,679,327 | I have Implement Bluetooth to my app and when i click on Bluetooth on or Off the side closs and it comes a error Message | <p>[![Screenshot App][1]][1]</p>
<p>I have Implement Bluetooth to my app and when i click on Bluetooth on or Off the side closs and it comes a error Message.</p>
<p>In line 158 startActivityForResult is crossed out and I can't find a solution in google why that is and how I can change it.</p>
<p>in</p>
<p>Code Main_Blu... | [![Screenshot App][1]][1] I have Implement Bluetooth to my app and when i click on Bluetooth on or Off the side closs and it comes a error Message. In line 158 startActivityForResult is crossed out and I can't find a solution in google why that is and how I can change it. in Code Main_Bluetooth: [CODE] Code ConnectedTh... | java|android|bluetooth | 0 | 2022-09-11T12:35:58.437Z | 2,022 | 9 | 12 | 6 | 29 | 1 | 346 | 120 | 3 | 3 | true | false | false | false | false | false | zero |
73,679,349 | Bluetooth pemissions in Android Studio | <p>I want to request BLUETOOTH_SCAN and BLUETOOTH_CONNECT permission. Could anyone tell me how should I do that in Kotlin? I have this piece of code but it always tells permission denied.</p>
<pre><code>class MainActivity : AppCompatActivity() {
var requestBluetooth = registerForActivityResult(ActivityResultContracts... | I want to request BLUETOOTH_SCAN and BLUETOOTH_CONNECT permission. Could anyone tell me how should I do that in Kotlin? I have this piece of code but it always tells permission denied. [CODE] } | android|kotlin|permissions|bluetooth|permission-denied | 0 | 2022-09-11T12:38:48.783Z | 2,022 | 9 | 12 | 6 | 41 | 1 | 193 | 38 | 5 | 1 | true | false | false | false | false | false | zero |
73,679,358 | FIrebase sign in and out options are not working | <p>Can someone explain to me why this simple code is not working properly?
In the beginning I created an object with auth and currentUser</p>
<pre><code>object FirebaseUtils {
val auth: FirebaseAuth = FirebaseAuth.getInstance()
val currentUser: FirebaseUser? = auth.currentUser
</code></pre>
<p>}</p>
<p>My login... | Can someone explain to me why this simple code is not working properly? In the beginning I created an object with auth and currentUser [CODE] } My login activity function [CODE] Start activity: [CODE] And sign out [CODE] The problem is that after the first login I can see that logged user is null so my app is crashing ... | android|firebase|kotlin|google-cloud-platform|firebase-authentication | 0 | 2022-09-11T12:39:46.857Z | 2,022 | 9 | 12 | 6 | 41 | 1 | 724 | 48 | 5 | 4 | true | false | false | false | false | false | zero |
73,679,454 | Why is window.navigator.virtualKeyboard undefined in local network? | <p>When I try to access <code>window.navigator.virtualKeyboard</code> on my dev server in the local network, e.g. via 192.168.1.69 (dev server runs on desktop, accessing via mobile) it is always <code>undefined</code>. When deploying the app to the web it is available.</p>
<p>Testing with Chrome 105 on Android.</p> | When I try to access window.navigator.virtualKeyboard on my dev server in the local network, e.g. via 192.168.1.69 (dev server runs on desktop, accessing via mobile) it is always undefined . When deploying the app to the web it is available. Testing with Chrome 105 on Android. | android|google-chrome|virtual-keyboard | 1 | 2022-09-11T12:54:43.823Z | 2,022 | 9 | 12 | 6 | 19 | 1 | 277 | 67 | 3 | 0 | false | false | false | false | false | false | low |
73,679,556 | Fragment has not been attached yet for Nested fragment | <p>I'm trying to display the bottom dialog fragment (AddNewHabit.java) when user clicked an item from the RecyclerView, but I kept getting the error that the fragment has not been attached yet. I don't know where or how should I attach it to make bottomSheetDialogFragment.show() work.</p>
<p>Logcat:</p>
<pre><code>2022... | I'm trying to display the bottom dialog fragment (AddNewHabit.java) when user clicked an item from the RecyclerView, but I kept getting the error that the fragment has not been attached yet. I don't know where or how should I attach it to make bottomSheetDialogFragment.show() work. Logcat: [CODE] Here's HabitsFragment:... | java|android|android-fragments | 0 | 2022-09-11T13:10:30.717Z | 2,022 | 9 | 13 | 6 | 24 | 1 | 386 | 54 | 3 | 4 | true | false | false | false | false | false | zero |
73,679,572 | Why can't I upgrade compose_version from compose_version = '1.1.0-beta01' to 1.2.1? | <p>I create an project based the wizard <em>Empty Compose Activity</em> of Android Studio Chipmunk | 2021.2.1 Patch 1. It can be compiled, and it works well.</p>
<p>I get the following running error after I upgrade compose_version from <code>compose_version = '1.1.0-beta01'</code> to <code>1.2.1</code>.</p>
<pre><code... | I create an project based the wizard Empty Compose Activity of Android Studio Chipmunk | 2021.2.1 Patch 1. It can be compiled, and it works well. I get the following running error after I upgrade compose_version from compose_version = '1.1.0-beta01' to 1.2.1 . [CODE] But the app can run well when I remove kotlinCompile... | android|android-jetpack-compose | 0 | 2022-09-11T13:13:32.783Z | 2,022 | 9 | 13 | 6 | 118 | 2 | 444 | 83 | 2 | 3 | true | false | false | false | false | false | zero |
73,679,588 | Execution failed for ExtractAarTransform. ZipException, message: invalid entry CRC gradle | <p>I used to work with Flutter v2.8 as much as I expected. because of the Firebase, I had to update flutter to v3 to get it to work.
After updating Flutter to v3, flutter said, "You have to get JDK version 11 or newer". I got confused why it was saying that because "flutter.dev" has mentioned the ap... | I used to work with Flutter v2.8 as much as I expected. because of the Firebase, I had to update flutter to v3 to get it to work. After updating Flutter to v3, flutter said, "You have to get JDK version 11 or newer". I got confused why it was saying that because "flutter.dev" has mentioned the appro... | java|android|flutter|gradle | 0 | 2022-09-11T13:17:28.867Z | 2,022 | 9 | 13 | 6 | 13 | 0 | 904 | 89 | 4 | 1 | true | true | false | false | false | false | zero |
73,679,609 | App crashes after scheduling a notification | <p>I'm trying to create a todo app with notifications (using: alarm manager and a broadcast receiver). The notification does not appear and the app crashes after ~1min or less. I believe the error cause is related with my handling of the alarm manager (it is my first time using it).</p>
<p>Any help will be appreciated<... | I'm trying to create a todo app with notifications (using: alarm manager and a broadcast receiver). The notification does not appear and the app crashes after ~1min or less. I believe the error cause is related with my handling of the alarm manager (it is my first time using it). Any help will be appreciated [CODE] whe... | android|android-studio|kotlin|android-notifications | 0 | 2022-09-11T13:20:39.483Z | 2,022 | 9 | 13 | 6 | 35 | 0 | 381 | 43 | 4 | 2 | true | true | false | false | false | false | zero |
73,679,616 | Android Studio - YouTube Player Switch videoId | <p>I'm using a YouTube Player made by PierfrancescoSoffritti
<a href="https://github.com/PierfrancescoSoffritti/android-youtube-player#full-screen" rel="nofollow noreferrer">https://github.com/PierfrancescoSoffritti/android-youtube-player#full-screen</a></p>
<p>How to create a when Button 1 Click then Load YouTube vide... | I'm using a YouTube Player made by PierfrancescoSoffritti https://github.com/PierfrancescoSoffritti/android-youtube-player#full-screen How to create a when Button 1 Click then Load YouTube video #1 and when Button 2 Click load YouTube video #2 I've read the whole documentation but I there's no option for setVideoID | java|android|youtubeplayer | -1 | 2022-09-11T13:21:17.093Z | 2,022 | 9 | 13 | 6 | 18 | 0 | 316 | 46 | 3 | 0 | false | true | false | false | false | true | negative |
73,679,617 | Review is not showing on Google play store | <p>Fetch Reviews from Google Play Store</p>
<p>I would like to use the API for fetching reviews from Google Play Store: <a href="https://developers.google.com/android-publisher/api-ref/reviews/list" rel="nofollow noreferrer">https://developers.google.com/android-publisher/api-ref/reviews/list</a> My expected flow to us... | Fetch Reviews from Google Play Store I would like to use the API for fetching reviews from Google Play Store: https://developers.google.com/android-publisher/api-ref/reviews/list My expected flow to use this API: 1)User(Owner of the application) log in my application by his Google credentials 2)I get user's ... | javascript|android|user-interface | 0 | 2022-09-11T13:21:21.347Z | 2,022 | 9 | 13 | 6 | 15 | 0 | 312 | 42 | 3 | 0 | false | true | false | false | false | false | zero |
73,679,671 | Unity Gradle Build Failed [Starting a Gradle Daemon, 1 incompatible and 3 stopped Daemons could not be reused, use --status for details] | <p>Everything worked fine the last time I used Unity (About 1 year ago). And one day I decided to create a project. After building It gives me this error also for all projects.</p>
<pre><code>https://i.stack.imgur.com/6Y69G.png
</code></pre>
<p>My Unity version is 2020.3.1</p>
<p>JDK - 1.8.0.281</p>
<p>NDK - r19c</p>
<... | Everything worked fine the last time I used Unity (About 1 year ago). And one day I decided to create a project. After building It gives me this error also for all projects. [CODE] My Unity version is 2020.3.1 JDK - 1.8.0.281 NDK - r19c Gradle - 6.1.1 I tried renaming d8 to dx in SDK. The main question is that 1 year a... | android|unity3d|build.gradle | -1 | 2022-09-11T13:30:17.037Z | 2,022 | 9 | 13 | 6 | 46 | 0 | 476 | 136 | 3 | 1 | true | true | false | false | false | true | negative |
73,679,751 | How to convert .py file into .apk file which does not crashes? | <p>So i have been trying to create a <strong>.apk</strong> file of a <strong>.py</strong> file with the help of buildozer and kivymd. The problem I am facing is the apk is being successfully created but whenever I open the app it crashes after the loading screen.</p>
<p>I am new to both python and kivymd as well as bui... | So i have been trying to create a .apk file of a .py file with the help of buildozer and kivymd. The problem I am facing is the apk is being successfully created but whenever I open the app it crashes after the loading screen. I am new to both python and kivymd as well as buildozer so I am not able to find the issue. A... | python|android|google-colaboratory|kivymd|buildozer | -1 | 2022-09-11T13:43:18.140Z | 2,022 | 9 | 13 | 6 | 37 | 0 | 386 | 62 | 5 | 1 | true | true | false | false | false | true | negative |
73,679,795 | Chrome browser in Android 12 emulator(Linux) doesn't load (internet is working!) | <p>I had the same issue with my Windows installation as in:</p>
<p><a href="https://stackoverflow.com/questions/69134922/google-chrome-browser-in-android-12-emulator-doesnt-load-any-webpages-internet/73678046?noredirect=1#comment130109042_73678046">Google Chrome browser in Android 12 emulator doesn't load any webpa... | I had the same issue with my Windows installation as in: Google Chrome browser in Android 12 emulator doesn't load any webpages (internet is working!) I did solve it following the steps in the previous link but now Im having the same issue in Ubuntu 22.04 and Debian. Could anyone please let me know how to solve it ... | android|android-studio | 0 | 2022-09-11T13:49:06.390Z | 2,022 | 9 | 13 | 6 | 16 | 0 | 366 | 80 | 2 | 0 | false | true | false | false | false | false | zero |
73,679,914 | Can't add Firebase FCM for notifications on my app (SDK Android 5.0). Why? | <p>Using LTS Android Studio, I made an app with the SDK of Android 5.0. I connected the app with Firebase but on step 2 of "Add FCM to your app", does not work. In fact, it does not do anything.</p>
<p>Trying to add <code>implementation 'com.google.firebase:firebase-messaging:23.0.8'</code> on <code>build.gra... | Using LTS Android Studio, I made an app with the SDK of Android 5.0. I connected the app with Firebase but on step 2 of "Add FCM to your app", does not work. In fact, it does not do anything. Trying to add implementation 'com.google.firebase:firebase-messaging:23.0.8' on build.gradle , doesn't help either. Th... | android|firebase|firebase-cloud-messaging | 0 | 2022-09-11T14:05:11.240Z | 2,022 | 9 | 14 | 6 | 20 | 1 | 725 | 74 | 3 | 0 | false | false | false | false | false | false | zero |
73,679,936 | setOnScrollChangeListener shake the screen when using setVisibility(GONE) for SearchView in Android | <p>I am using the following code to hide <code>SearchView</code> when scrolling down on <code>ScrollView</code> when I scroll slow, screen start to shake after the if <code>animationUtils.slideUp(search);</code> is custom animation function which slow the scroll view with animation. The problem is then screen start to... | I am using the following code to hide SearchView when scrolling down on ScrollView when I scroll slow, screen start to shake after the if animationUtils.slideUp(search); is custom animation function which slow the scroll view with animation. The problem is then screen start to shake if I scroll slow and the animation d... | android|scrollview|android-animation|searchview | -2 | 2022-09-11T14:09:10.007Z | 2,022 | 9 | 14 | 6 | 13 | 0 | 370 | 99 | 4 | 1 | true | true | false | false | false | true | negative |
73,680,276 | how can i turn a list into pie chart in android | <p>i have a mutable list of genres like this:</p>
<pre><code>[british singer-songwriter, turkish alternative, pop, turkish rock, ohio hip hop, electropop, pop,....
</code></pre>
<p>Its length is always more than 100 and it changes for every user. I researched a lot and learned that you have to specify color and name an... | i have a mutable list of genres like this: [CODE] Its length is always more than 100 and it changes for every user. I researched a lot and learned that you have to specify color and name and etc. for every slice to create one (like as in anychart lib) As these lists are dynamic and have a lot of values , there is no wa... | android|kotlin|pie-chart | 0 | 2022-09-11T14:57:21.850Z | 2,022 | 9 | 14 | 6 | 12 | 0 | 529 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
73,680,287 | EditText setText() resets the keyboard | <p>I have the next code for formatting text in <code>TextChangedListener</code>:</p>
<pre><code> override fun afterTextChanged(edit: Editable?) {
editText?.removeTextChangedListener(this)
editText?.setText(getFormattedText(edit?.toString())
editText?.addTextChangedListener(this)
}
</code>... | I have the next code for formatting text in TextChangedListener : [CODE] So initially I get the default input type which is ABC , now when I change it to ?123 type and after entering some number the keyboard changes back to ABC . I tried to use Editable.replace() и Editable.append() but these methods under the hood do ... | java|android|kotlin|android-edittext | 0 | 2022-09-11T14:59:14.730Z | 2,022 | 9 | 14 | 6 | 47 | 0 | 673 | 38 | 4 | 1 | true | true | false | false | false | false | zero |
73,680,312 | How can I set the fetched data of my app from firebase to my bottomSheetView? (Kotlin) | <p>its my first time in making question here in stackoverflow and I hope you understand how I structure this question like a newbie. So, I was working in a capstone project especifically a tracking device and I've been making progress just kinda stuck here in this part. So what I want to happen is that I want the data ... | its my first time in making question here in stackoverflow and I hope you understand how I structure this question like a newbie. So, I was working in a capstone project especifically a tracking device and I've been making progress just kinda stuck here in this part. So what I want to happen is that I want the data fet... | android|firebase|kotlin|android-bottomsheetdialog | -1 | 2022-09-11T15:01:44.657Z | 2,022 | 9 | 15 | 6 | 23 | 2 | 659 | 86 | 4 | 3 | true | false | false | false | false | true | negative |
73,680,359 | How to fetch API data during the launch screen? | <p>I have react native app using the default template which includes the default launch screen. In release mode, the launch screen only showed for a fraction of a second so I added the below (to AppDelegate) to force it to pause for 2 seconds.</p>
<pre><code>[NSThread sleepForTimeInterval:2.000];
</code></pre>
<p>My qu... | I have react native app using the default template which includes the default launch screen. In release mode, the launch screen only showed for a fraction of a second so I added the below (to AppDelegate) to force it to pause for 2 seconds. [CODE] My question is: is there a way to call my api to load data during this p... | android|ios|iphone|xcode|react-native | 0 | 2022-09-11T15:07:54.817Z | 2,022 | 9 | 15 | 6 | 27 | 1 | 602 | 47 | 5 | 2 | true | false | false | false | false | false | zero |
73,680,406 | How to populate an Android Spinner from ArrayMap | <p>How should I use an ArrayMap<String, CustomClass> to be the data source for a Spinner in Android? I would like it to use the .name field of the CustomClass as label in the Spinner. The map is dynamic as it contains devices that are detected.</p> | How should I use an ArrayMap<String, CustomClass> to be the data source for a Spinner in Android? I would like it to use the .name field of the CustomClass as label in the Spinner. The map is dynamic as it contains devices that are detected. | android|kotlin|spinner | -2 | 2022-09-11T15:13:31.260Z | 2,022 | 9 | 15 | 6 | 18 | 1 | 241 | 48 | 3 | 0 | false | false | false | false | false | true | negative |
73,680,421 | Android drawable turns black and white when changed programatically | <p>I have a Floating action button that has a drawable as a source looking like this (the chef button) -</p>
<p><a href="https://i.stack.imgur.com/DQaC7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DQaC7.png" alt="enter image description here" /></a></p>
<p>Later on in my app I change it's source... | I have a Floating action button that has a drawable as a source looking like this (the chef button) - Later on in my app I change it's source programatically to another source, and then back to the original source with this code - [CODE] but then it looks like this - Any ideas on how to prevent this? | android|drawable|android-drawable | 0 | 2022-09-11T15:16:46.643Z | 2,022 | 9 | 15 | 6 | 12 | 1 | 301 | 67 | 3 | 1 | true | false | false | false | false | false | zero |
73,680,426 | android.permission.INSTALL_PACKAGES permission in android-studio | <p>I want to know from where my app is installed <em>(who installed my app)</em>.</p>
<p>I need to use <code>getInstallerPackageName()</code>. And This method need to <code>android.permission.INSTALL_PACKAGES</code> permission. But this permission is <strong>not grant</strong> by <em>the system</em>.</p>
<p><a href="ht... | I want to know from where my app is installed (who installed my app) . I need to use getInstallerPackageName() . And This method need to android.permission.INSTALL_PACKAGES permission. But this permission is not grant by the system . Returns null in all above methods. What way do you suggest to solve the problem? What ... | android-studio|android-permissions | 0 | 2022-09-11T15:17:25.540Z | 2,022 | 9 | 15 | 6 | 89 | 1 | 362 | 64 | 2 | 0 | false | false | false | false | false | false | zero |
73,680,480 | how to play automatic songs or videos from links stored in Realtime data base | <p>Hi every one i am trying to making a video player app which is getting video links from Realtime database in recycler view my app is good with me till user clicking on recycler view item. But i want if user want to play videos automatically what code / method should be done by me when user select AutoPlay then vid... | Hi every one i am trying to making a video player app which is getting video links from Realtime database in recycler view my app is good with me till user clicking on recycler view item. But i want if user want to play videos automatically what code / method should be done by me when user select AutoPlay then videos s... | java|android | 0 | 2022-09-11T15:25:35.193Z | 2,022 | 9 | 15 | 6 | 13 | 0 | 478 | 77 | 2 | 1 | true | true | false | false | false | false | zero |
73,680,519 | Public virtual display has black screen | <p>I ran this example: <a href="https://github.com/android/media-samples/tree/main/ScreenCapture" rel="nofollow noreferrer">https://github.com/android/media-samples/tree/main/ScreenCapture</a></p>
<p>And changed the display to be public so that I can access it using scrcpy:</p>
<pre><code>mVirtualDisplay = mMediaProjec... | I ran this example: https://github.com/android/media-samples/tree/main/ScreenCapture And changed the display to be public so that I can access it using scrcpy: [CODE] When I open the display using scrcpy, I get a completely black screen, while on the preview it's showing correctly. Why is it giving a black screen throu... | android|virtual-screen | 1 | 2022-09-11T15:32:53.360Z | 2,022 | 9 | 15 | 6 | 43 | 0 | 649 | 39 | 2 | 1 | true | true | false | false | false | false | low |
73,680,541 | Test Pyjnius android api calls without rebuilding apk again and again | <p>I am developing an App with <strong>Kivy</strong> and fortunately <strong>Pyjnius</strong> module is helping me a lot to access the <em>Android Api(s)</em> to provide better functionality. But there is one problem, I had to build the apk again and again to test the code on phone because my code uses android Api(s) w... | I am developing an App with Kivy and fortunately Pyjnius module is helping me a lot to access the Android Api(s) to provide better functionality. But there is one problem, I had to build the apk again and again to test the code on phone because my code uses android Api(s) which is only possible to run on an android dev... | python|android|kivy|pyjnius | 0 | 2022-09-11T15:35:33.613Z | 2,022 | 9 | 15 | 6 | 20 | 1 | 561 | 69 | 4 | 0 | false | false | false | false | false | false | zero |
73,680,674 | How to get data from Response Header using Retrofit,okHttp client | <p>Where i can get response header ??
Here is view Model class to check response
[1]: <a href="https://i.stack.imgur.com/0zpiX.png" rel="nofollow noreferrer">https://i.stack.imgur.com/0zpiX.png</a></p>
<p>This is use case to observe on request body
[2]: <a href="https://i.stack.imgur.com/g0RwH.png" rel="nofollow norefe... | Where i can get response header ?? Here is view Model class to check response [1]: https://i.stack.imgur.com/0zpiX.png This is use case to observe on request body [2]: https://i.stack.imgur.com/g0RwH.png And here is repo class to create retrofit post method [3] https://i.stack.imgur.com/FZKXF.png In Retrofit module to ... | android|retrofit|okhttp|interceptor | 0 | 2022-09-11T15:58:34.713Z | 2,022 | 9 | 15 | 6 | 8 | 0 | 386 | 65 | 4 | 0 | false | true | false | false | false | false | zero |
73,680,749 | Android Jetpack Compose - Composable Function get recompose each time Text-field value changes | <p>I'm using TextField to get user input and using stateflow to handle the text state/value in viewmodel.</p>
<p>The thing is everytime textfield value changes HomeContent() function get recomposed.
<a href="https://i.stack.imgur.com/mr7mi.png" rel="nofollow noreferrer">Layout inspector output image</a>
My question is ... | I'm using TextField to get user input and using stateflow to handle the text state/value in viewmodel. The thing is everytime textfield value changes HomeContent() function get recomposed. Layout inspector output image My question is it ok the whole HomeContent() function is getting recompose just because of textfield ... | android|android-jetpack-compose|android-compose-textfield | 3 | 2022-09-11T16:09:23.997Z | 2,022 | 9 | 16 | 6 | 222 | 2 | 441 | 94 | 3 | 3 | true | false | false | false | false | false | low |
73,680,837 | [Android java]How do you know in advance where listview will eventually stop | <p>When the user scrolls the listview, can I know in advance the final position where the listview will stop when the user's finger leaves the screen, because I want to change the content of the final stop position but do not let the user know</p>
<p>I checked some information. Listview can use list_ view.smoothscrollt... | When the user scrolls the listview, can I know in advance the final position where the listview will stop when the user's finger leaves the screen, because I want to change the content of the final stop position but do not let the user know I checked some information. Listview can use list_ view.smoothscrolltoposition ... | java|android | 0 | 2022-09-11T16:23:20.150Z | 2,022 | 9 | 16 | 6 | 14 | 0 | 529 | 76 | 2 | 0 | false | true | false | false | false | false | zero |
73,680,861 | RecyclerView Items Duplicating When Search Filtering But Only When Using Object ArrayList Instead Of String ArrayList | <p>I have an empty RecyclerView which populates with different Strings as I enter the characters in the SearchView. When I use a String ArrayList to pass it on the setItems method of the Adapter the application works as intended but I wish to do it with an object ArrayList instead so I can choose on the onBindViewHolde... | I have an empty RecyclerView which populates with different Strings as I enter the characters in the SearchView. When I use a String ArrayList to pass it on the setItems method of the Adapter the application works as intended but I wish to do it with an object ArrayList instead so I can choose on the onBindViewHolder m... | java|string|arraylist|android-recyclerview | 0 | 2022-09-11T16:26:15.830Z | 2,022 | 9 | 16 | 6 | 40 | 0 | 993 | 117 | 4 | 4 | true | true | false | false | false | false | zero |
73,680,879 | How does assigning more variables affect performance of an app? | <p>I would say <code>println(sum)</code> is more readable than <code>println(var1.roundToInt() + var2.roundToInt())</code>, which is very important in my opinion, but requires assigning a new variable. How does this affect app performance and memory usage? Is it technically more efficient to use <code>println(var1.roun... | I would say println(sum) is more readable than println(var1.roundToInt() + var2.roundToInt()) , which is very important in my opinion, but requires assigning a new variable. How does this affect app performance and memory usage? Is it technically more efficient to use println(var1.roundToInt() + var2.roundToInt()) , wh... | android|kotlin|variables | 0 | 2022-09-11T16:29:40.090Z | 2,022 | 9 | 16 | 6 | 48 | 1 | 541 | 63 | 3 | 1 | true | false | false | false | false | false | zero |
73,680,998 | Get the second element in the array that fulfills some condition | <p>Working on Android/Kotlin app, I'm having trouble finding indices of second and third element in the array that fulfills some condition. Since I know there are 4 elements in the array that would return true, i can use indexOfFirst() and indexOfLast(), but that way, I get only the first and the fourth indices.</p>
<p... | Working on Android/Kotlin app, I'm having trouble finding indices of second and third element in the array that fulfills some condition. Since I know there are 4 elements in the array that would return true, i can use indexOfFirst() and indexOfLast(), but that way, I get only the first and the fourth indices. [CODE] I ... | android|arrays|kotlin|indexing | 1 | 2022-09-11T16:48:58.727Z | 2,022 | 9 | 16 | 6 | 40 | 2 | 458 | 64 | 4 | 1 | true | false | false | false | false | false | low |
73,680,999 | Android - How to create data class for response having dynamic keys? | <p>How can I create data class for below response?</p>
<pre><code>{
"1843700": {
"charge": "0.06600",
"start_count": "463",
"status": "Completed",
"remains": "0",
"currency": "USD"
},
... | How can I create data class for below response? [CODE] I tried the below data class but it doesn't work. In retrofit I see the response in logs but the keys are not mapped to below data class. [CODE] | android|json | 2 | 2022-09-11T16:48:59.303Z | 2,022 | 9 | 16 | 6 | 45 | 2 | 199 | 68 | 2 | 2 | true | false | false | false | false | false | low |
73,681,016 | @Provides methods cannot be abstract | <p>he doesn't Provide me with a Room</p>
<p>Module
interface DatabaseModule {</p>
<pre><code>@Singleton
@Provides
fun provideConstructionDatabase(context: Context): ConstructionDatabase {
return ConstructionDatabase.newInstance(context)
}
@Binds
fun provideJobRepository(jobRepositoryImpl: JobRepositoryImpl): JobRe... | he doesn't Provide me with a Room Module interface DatabaseModule { [CODE] } | android-room|dagger | 0 | 2022-09-11T16:50:28.507Z | 2,022 | 9 | 16 | 6 | 14 | 0 | 76 | 36 | 2 | 1 | true | true | false | false | false | false | zero |
73,681,147 | android studio set android to use proxy for app | <p>How can I set the android phone I am running my app on to use a proxy for running an app.
I have seen a few other apps do that so I know it's possible.</p> | How can I set the android phone I am running my app on to use a proxy for running an app. I have seen a few other apps do that so I know it's possible. | android|proxy | 1 | 2022-09-11T17:07:37.790Z | 2,022 | 9 | 17 | 6 | 21 | 0 | 151 | 47 | 2 | 0 | false | true | false | false | false | false | low |
73,681,201 | How to whitelist the Youtube domain in Cordova? | <p>I am using in my Cordova application. But youtube videos in iframes do not load and. When I play click on the Play button video does not play and I am getting a bunch of errors. I see similar questions but the solutions provided there do not work for me. How do I fix this?</p>
<blockquote>
<p>This is how it looks o... | I am using in my Cordova application. But youtube videos in iframes do not load and. When I play click on the Play button video does not play and I am getting a bunch of errors. I see similar questions but the solutions provided there do not work for me. How do I fix this? This is how it looks on Android phones Here is... | android|cordova|cors|content-security-policy|whitelist | 0 | 2022-09-11T17:13:47.293Z | 2,022 | 9 | 17 | 6 | 34 | 1 | 432 | 47 | 5 | 4 | true | false | false | false | false | false | zero |
73,681,208 | What is the best way to store database passphrase securely with Android? | <p>I'm using SQLite database with SQLCipher and I'm trying to figure out proper way to use KeyStore for encrypting the database passphrase.</p>
<p>Some threads suggests that I'd have to generate random key, encrypt it with asymmetric public key and then store it to SharedPreferences. How ever, I think it's unnecessary ... | I'm using SQLite database with SQLCipher and I'm trying to figure out proper way to use KeyStore for encrypting the database passphrase. Some threads suggests that I'd have to generate random key, encrypt it with asymmetric public key and then store it to SharedPreferences. How ever, I think it's unnecessary and my own... | android|sqlite|encryption|sqlcipher | -2 | 2022-09-11T17:14:22.593Z | 2,022 | 9 | 17 | 6 | 35 | 0 | 967 | 72 | 4 | 0 | false | true | false | false | false | true | negative |
73,681,241 | I have issue to show data in the recycle view in fragment | <p>I tested creating the user in local and it works properly, but when I try to obtain JSON, it shows the layout but doesn't show the info in the layout. So I think the problem is in the JSON parse function. I tried to use other JSON to do some tests, but I can't get the JSON info.</p>
<p>Fragment</p>
<pre><code>public... | I tested creating the user in local and it works properly, but when I try to obtain JSON, it shows the layout but doesn't show the info in the layout. So I think the problem is in the JSON parse function. I tried to use other JSON to do some tests, but I can't get the JSON info. Fragment [CODE] MainActivity [CODE] | java|android|json|android-recyclerview | 0 | 2022-09-11T17:20:31.653Z | 2,022 | 9 | 17 | 6 | 53 | 1 | 315 | 57 | 4 | 2 | true | false | false | false | false | false | zero |
73,681,295 | Set a delay of some seconds before reloading an interstitial ad | <p>I want to set/add a delay when reloading an ad when it has failed to load. I think it could be done with Looper.getMainLooper() but I don´t know how to do this. You can see I have implemented that if the ad fails to load,it will be reloaded up to 5 times, so I think that adding a delay before reloading the ad could ... | I want to set/add a delay when reloading an ad when it has failed to load. I think it could be done with Looper.getMainLooper() but I don´t know how to do this. You can see I have implemented that if the ad fails to load,it will be reloaded up to 5 times, so I think that adding a delay before reloading the ad could be ... | java|android|android-studio|admob|ads | 0 | 2022-09-11T17:26:15.160Z | 2,022 | 9 | 17 | 6 | 48 | 3 | 358 | 63 | 5 | 1 | true | false | false | false | false | false | zero |
73,681,405 | How to catch any exception from activiti bpmn subprocess? | <p>I have some serviceTask in my <strong>sequential</strong> sub process. Any of this tasks can generate exception.
<a href="https://i.stack.imgur.com/C0U0a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C0U0a.png" alt="enter image description here" /></a>
And i need to catch this, do some logic and... | I have some serviceTask in my sequential sub process. Any of this tasks can generate exception. And i need to catch this, do some logic and go back to iterative process. I have tried bpmn:boundaryEvent like this : but it generates [CODE] i read here https://www.activiti.org/userguide/#exceptionMapping that i can route ... | java|spring|android-activity|bpmn | 1 | 2022-09-11T17:41:35.870Z | 2,022 | 9 | 17 | 6 | 15 | 0 | 510 | 57 | 4 | 1 | true | true | false | false | false | false | low |
73,681,535 | How to set Spinner drop-down selected item color AND touch highlight color | <p>I have a Spinner and in its drop-down I want to do the following 2 things - but I can't get them both to work together:</p>
<ol>
<li>In the drop-down, highlight the selected item blue.</li>
<li>When the user touches a different item in the drop-down I want to have a momentary red highlight color (ripple?). But, it a... | I have a Spinner and in its drop-down I want to do the following 2 things - but I can't get them both to work together: In the drop-down, highlight the selected item blue. When the user touches a different item in the drop-down I want to have a momentary red highlight color (ripple?). But, it always shows a grey color ... | android|drop-down-menu|android-spinner|background-color | 0 | 2022-09-11T18:01:55.813Z | 2,022 | 9 | 18 | 6 | 46 | 0 | 884 | 74 | 4 | 4 | true | true | false | false | false | false | zero |
73,681,581 | Communicate between views from different fragments in Android | <p>Ok so imagine two fragments, one BrowserFragment with a WebView and one BookmarksFragment which contains a list of bookmarks and a button to add new ones.</p>
<p>If I click on the AddBookmarkButton, I have to call getUrl on the WebView in the BrowserFragment and pass it back to the BookmarksFragment.</p>
<p>If I cli... | Ok so imagine two fragments, one BrowserFragment with a WebView and one BookmarksFragment which contains a list of bookmarks and a button to add new ones. If I click on the AddBookmarkButton, I have to call getUrl on the WebView in the BrowserFragment and pass it back to the BookmarksFragment. If I click on a bookmark ... | android|android-fragments|androidx|android-viewmodel | 0 | 2022-09-11T18:08:31.920Z | 2,022 | 9 | 18 | 6 | 38 | 0 | 771 | 61 | 4 | 0 | false | true | false | false | false | false | zero |
73,681,587 | Android Java - Date EditText validation is not working | <p>I replicate how to show datepicker popup from edittext from a question here(i use the accepted answer):</p>
<p><a href="https://stackoverflow.com/questions/14933330/datepicker-how-to-popup-datepicker-when-click-on-edittext">Datepicker: How to popup datepicker when click on edittext</a></p>
<p>but when im trying to v... | I replicate how to show datepicker popup from edittext from a question here(i use the accepted answer): Datepicker: How to popup datepicker when click on edittext but when im trying to validate if the EditText is not empty, it didnt work. Here is my attempt: [CODE] I tried using 2 way but still didnt work: [CODE] how t... | java|android|xml | -1 | 2022-09-11T18:09:11.160Z | 2,022 | 9 | 18 | 6 | 44 | 1 | 389 | 54 | 3 | 2 | true | false | false | false | false | true | negative |
73,681,677 | After taking flutter build appbundle we are getting this error while uploading to playstore please give your way of solution it may help us | <p>Here we have attached screenshots please check it out.</p>
<p>Main app manifest file</p>
<p><a href="https://i.stack.imgur.com/mqQMk.jpg" rel="nofollow noreferrer">Manifest file</a></p>
<p><a href="https://i.stack.imgur.com/mqQMk.jpg" rel="nofollow noreferrer">Error</a></p> | Here we have attached screenshots please check it out. Main app manifest file Manifest file Error | android | -1 | 2022-09-11T18:23:08.877Z | 2,022 | 9 | 18 | 6 | 24 | 0 | 97 | 139 | 1 | 0 | false | true | false | false | false | true | negative |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.