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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,941,471 | flutter doctor --verbose reporting 0 issues from command line but 1 issue when launched from pubspec.yaml Flutter commands | <p>When I run flutter doctor --verbose from command line I get 0 issues as seen here :</p>
<p><a href="https://i.stack.imgur.com/scOW3.png" rel="nofollow noreferrer">flutter doctor success</a>,</p>
<p><a href="https://i.stack.imgur.com/LtMsa.png" rel="nofollow noreferrer">flutter doctor success --verbose</a></p>
<p>Whe... | When I run flutter doctor --verbose from command line I get 0 issues as seen here : flutter doctor success , flutter doctor success --verbose When I open my pubspec.yaml file in android studio and click the flutter doctor command from the Flutter commands line that appears I get 1 issue with android tool chain. Specifi... | android|linux|flutter | 0 | 2022-07-11T16:04:56.237Z | 2,022 | 7 | 16 | 0 | 31 | 1 | 962 | 122 | 3 | 0 | false | false | false | false | false | false | zero |
72,941,573 | can you use InputStream.available() to calculate file size | <blockquote>
<p>should I use inputStream to calculate file size or use parcelFileDescriptor as inputstream is faster than parcelFileDescriptor</p>
</blockquote>
<pre><code> public static long get_file_size_using_stream(InputStream is) {
return is.available();
}
public static long get_file_size... | should I use inputStream to calculate file size or use parcelFileDescriptor as inputstream is faster than parcelFileDescriptor [CODE] | java|android|size|inputstream | 0 | 2022-07-11T16:13:22.710Z | 2,022 | 7 | 16 | 0 | 31 | 1 | 133 | 58 | 4 | 1 | true | false | false | false | false | false | zero |
72,941,579 | Selenium saucelabs mobile automation pdf viewer comming | <p>I am automating to click on a pdf link in my website in android platform over saucelabs. But when I click on pdf link it opens in an pdf viewer. Is there a way I can switch back to chrome in android . Selenium window handler is not working.</p> | I am automating to click on a pdf link in my website in android platform over saucelabs. But when I click on pdf link it opens in an pdf viewer. Is there a way I can switch back to chrome in android . Selenium window handler is not working. | android|selenium|saucelabs|pdf-viewer | 0 | 2022-07-11T16:13:40.920Z | 2,022 | 7 | 16 | 0 | 14 | 0 | 240 | 55 | 4 | 0 | false | true | false | false | false | false | zero |
72,941,585 | Implementing Dao Crashes the App (Kotlin) | <p>I've been following an Android App Development tutorial on Udemy and was working on getting the room database working.</p>
<p>Link to the GitHub: <a href="https://github.com/tutorialseu/RoomDatabaseDemo/tree/169_completing_the_demo" rel="nofollow noreferrer">https://github.com/tutorialseu/RoomDatabaseDemo/tree/169_c... | I've been following an Android App Development tutorial on Udemy and was working on getting the room database working. Link to the GitHub: https://github.com/tutorialseu/RoomDatabaseDemo/tree/169_completing_the_demo For some reason, the following line causes the app to crash once loaded. I have tried to follow the tuto... | android|kotlin|data-access-object | 0 | 2022-07-11T16:14:21.903Z | 2,022 | 7 | 16 | 0 | 55 | 2 | 1,010 | 41 | 3 | 9 | true | false | false | false | false | false | zero |
72,941,592 | Dropping a column with Room AutoMigration | <p>I am trying to drop a column <code>oldColumn</code> from my table <code>EverChangingTable</code>.</p>
<p>I bumped the <code>version</code> number in my <code>@Database</code> annotation...</p>
<p>I added an <code>AutoMigration</code> with a <code>spec</code> consistent with what the Room error is asking (however the... | I am trying to drop a column oldColumn from my table EverChangingTable . I bumped the version number in my @Database annotation... I added an AutoMigration with a spec consistent with what the Room error is asking (however the Room error seems to contradict itself). Entity: [CODE] Database and AutoMigrations: [CODE] Th... | android|android-room | 0 | 2022-07-11T16:14:57.283Z | 2,022 | 7 | 16 | 0 | 141 | 2 | 704 | 41 | 2 | 3 | true | false | false | false | false | false | zero |
72,941,621 | How to get ClusterItem inside InfoWindowClickListener? | <p>Good afternoon! <br/>
I have integrated Google Maps into my Android application and I have clustered points on the map. For this I created a separate class:</p>
<pre><code>public class MyClusterItem implements ClusterItem {
private final LatLng position;
public final Integer vectorId;
public List<Stri... | Good afternoon! I have integrated Google Maps into my Android application and I have clustered points on the map. For this I created a separate class: [CODE] When creating a cluster object, I pass an array into it as a tag: [CODE] Also I have InfoWindowAdapter . I installed it like this: [CODE] Only the object with the... | java|android|google-maps|infowindow | 0 | 2022-07-11T16:17:23.380Z | 2,022 | 7 | 16 | 0 | 37 | 0 | 603 | 54 | 4 | 4 | true | true | false | false | false | false | zero |
72,941,722 | The argument type 'Stream<dynamic>' can't be assigned to the parameter type 'Stream<DocumentSnapshot<Object?>>?' | <p>I tried to connect my Application to Firebase. But there is a mistake at line 70 with the "stream: database.getToDo()," I cant compile it and it says that the mistake is "The argument type 'Stream' can't be assigned to the parameter type 'Stream<DocumentSnapshot<Object?>>?'." I have n... | I tried to connect my Application to Firebase. But there is a mistake at line 70 with the "stream: database.getToDo()," I cant compile it and it says that the mistake is "The argument type 'Stream' can't be assigned to the parameter type 'Stream<DocumentSnapshot<Object?>>?'." I have no clue what i d... | android|dart | 0 | 2022-07-11T16:25:54.533Z | 2,022 | 7 | 16 | 0 | 25 | 0 | 600 | 112 | 2 | 2 | true | true | false | false | false | false | zero |
72,941,770 | I have those problems after a change | <blockquote>
<p><strong><strong>ERROR 11:12 Error: Problem validating fields in app.json. Learn more: <a href="https://docs.expo.dev/workflow/configuration/" rel="nofollow noreferrer">https://docs.expo.dev/workflow/configuration/</a> • Field:
android.config - should NOT have additional property 'permissions'.
ERROR 11... | ERROR 11:12 Error: Problem validating fields in app.json. Learn more: https://docs.expo.dev/workflow/configuration/ • Field: android.config - should NOT have additional property 'permissions'. ERROR 11:12 Error: Problems validating asset fields in app.json. Learn more: https://docs.expo.dev/ • Field: android.adaptiveIc... | android|ios|visual-studio-code|expo|runtime-error | 0 | 2022-07-11T16:29:58.717Z | 2,022 | 7 | 16 | 0 | 65 | 1 | 439 | 36 | 5 | 2 | true | false | false | false | false | false | zero |
72,941,777 | How to remember state of a class not primary type in jetpack compose | <p>Hi developers in jetpack compose if i do this:</p>
<pre><code>var model by remember{ mutableStateOf(false)}
</code></pre>
<p>It works !!</p>
<p>but why if i do this:</p>
<pre><code> var model by remember{ mutableStateOf(Register())}
</code></pre>
<p>Register is a class:</p>
<pre><code>class Register {
var correo... | Hi developers in jetpack compose if i do this: [CODE] It works !! but why if i do this: [CODE] Register is a class: [CODE] but the second way is not binding properties How can i do that? | android-jetpack-compose | 0 | 2022-07-11T16:30:49.793Z | 2,022 | 7 | 16 | 0 | 56 | 1 | 186 | 68 | 1 | 3 | true | false | false | false | false | false | zero |
72,941,811 | How to access static images as uri for using as whatsapp stickers files in RN? | <p>I want to pass the static images as uri so that whatsapp can use it as stickers.
I tried searching about React Native Images but all are talking about displaying the images.
asset resolver of Image component gives dyanamic URI like 'localhost:8080..assets/src/image/myImgae.webp' which is not helping to solve the iss... | I want to pass the static images as uri so that whatsapp can use it as stickers. I tried searching about React Native Images but all are talking about displaying the images. asset resolver of Image component gives dyanamic URI like 'localhost:8080..assets/src/image/myImgae.webp' which is not helping to solve the issue.... | android|react-native|react-native-fs | 0 | 2022-07-11T16:35:17.387Z | 2,022 | 7 | 16 | 0 | 40 | 0 | 625 | 78 | 3 | 1 | true | true | false | false | false | false | zero |
72,941,886 | Android NFC tag record not read-able | <p>I have a little project to write data to Ntag 213, 215, and 216.</p>
<p>I success write the data using the MifareUltraLight method.
The problem is when I scan using NfcTools, the data format is different than I expected.</p>
<p>Here's the format that I expected.</p>
<p><a href="https://i.stack.imgur.com/OJ608.jpg" r... | I have a little project to write data to Ntag 213, 215, and 216. I success write the data using the MifareUltraLight method. The problem is when I scan using NfcTools, the data format is different than I expected. Here's the format that I expected. Here's the format that I got. I want that when the Ntag scan, it will o... | android|kotlin|nfc|mifare | 1 | 2022-07-11T16:40:54.973Z | 2,022 | 7 | 16 | 0 | 75 | 2 | 747 | 36 | 4 | 1 | true | false | false | false | false | false | low |
72,941,916 | How to connect libraries to android sdk? | <p>I make library which use another libraries. After connection to Root app useng .aar file - runtime crush.</p>
<pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Lretrofit2/converter/moshi/MoshiConverterFactory;
at com.test.player.di.AppContainer.<init>(AppContainer.kt:33)
at com.test.play... | I make library which use another libraries. After connection to Root app useng .aar file - runtime crush. [CODE] Libraries from my sdk are not included in the final dex. I switched to the studio view project and made sure of it. Libraries from my SDK are missing. Why? | android | 0 | 2022-07-11T16:43:19.323Z | 2,022 | 7 | 16 | 0 | 19 | 0 | 268 | 40 | 1 | 1 | true | true | false | false | false | false | zero |
72,941,976 | How to host widgets in an Android launcher app (stuck on "Loading...") | <p>Every example I've seen of this uses a picker and startActivityForResult() which is deprecated. I've attempted to host the analog clock, but it's stuck on "Loading widget..." What am I missing?</p>
<pre><code>override fun onStart() {
super.onStart()
appWidgetHost = AppWidgetHost(this, 1)
appWid... | Every example I've seen of this uses a picker and startActivityForResult() which is deprecated. I've attempted to host the analog clock, but it's stuck on "Loading widget..." What am I missing? [CODE] Edit: Just figured out this works on Android 10/11 but not 12. | android|android-widget|androidx | 0 | 2022-07-11T16:49:26.580Z | 2,022 | 7 | 16 | 0 | 26 | 0 | 273 | 70 | 3 | 1 | true | true | false | false | false | false | zero |
72,941,987 | Kotlin generic type issue with reified | <p>I've following class to map request status (Loading, Success, Error)</p>
<pre><code>data class Resource<out T>(
val status: Status,
val data: T?
) {
sealed class Status {
data class Success<out T>(val data: T?) : Status()
data class Error(
val message: String,
... | I've following class to map request status (Loading, Success, Error) [CODE] I use following class to map the request [CODE] I use that class as below [CODE] When i try to map that flow, I'm seeing unchecked cast issue. I've tried to play with reified type but found no solution. [CODE] How should i make sure that i have... | android|kotlin|generics | 0 | 2022-07-11T16:50:06.597Z | 2,022 | 7 | 16 | 0 | 41 | 0 | 382 | 38 | 3 | 4 | true | true | false | false | false | false | zero |
72,942,017 | Xamarin.Android not hitting breakpoints in library project (Visual Studio for Mac) | <p>I have a Xamarin.Android (12.0) project that references a .Net Standard 2.0 library that contains all the code for the business logic of the app.</p>
<p>When I drop a breakpoint in the Android project in Visual Studio for Mac, they work as expected. However when I put a breakpoint in the library project, the breakpo... | I have a Xamarin.Android (12.0) project that references a .Net Standard 2.0 library that contains all the code for the business logic of the app. When I drop a breakpoint in the Android project in Visual Studio for Mac, they work as expected. However when I put a breakpoint in the library project, the breakpoints stay ... | visual-studio|xamarin|xamarin.android | 0 | 2022-07-11T16:52:29.760Z | 2,022 | 7 | 16 | 0 | 26 | 1 | 599 | 82 | 3 | 0 | false | false | false | false | false | false | zero |
72,942,031 | Google Play Console: 'Your app signing key's encryption strength does not meet Google Play's recommended minimum standard' | <p>I enrolled my apps in 'Google Play Signing'. Now I see in the console the following message:</p>
<p><a href="https://i.stack.imgur.com/Jmygo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jmygo.png" alt="enter image description here" /></a></p>
<p>I thought that it is due the fact that all my app... | I enrolled my apps in 'Google Play Signing'. Now I see in the console the following message: I thought that it is due the fact that all my apps were initially signed with the same release key (that I uploaded to Google Play Console during the enrolling procedure to Google Play Signing). So I thought that Google Play se... | java|android|kotlin|google-play|google-play-console | 0 | 2022-07-11T16:53:31.637Z | 2,022 | 7 | 16 | 0 | 130 | 1 | 937 | 122 | 5 | 0 | false | false | false | false | false | false | zero |
72,942,085 | All my xamarin projects throw Unsupported AAP2 version found at path..., I cannot compile | <p>I was working on a Xamarin Android project and I was just editing a class file that can be edited by a user and then I tried to build like I have built a thousand times before without errors but this time this error was thrown <code> Xamarin.Android.Legacy.targets(265, 5): [XA0111] Unsupported version of AAPT2 foun... | I was working on a Xamarin Android project and I was just editing a class file that can be edited by a user and then I tried to build like I have built a thousand times before without errors but this time this error was thrown Xamarin.Android.Legacy.targets(265, 5): [XA0111] Unsupported version of AAPT2 found at path '... | android|xamarin|build|project | 1 | 2022-07-11T16:57:32.933Z | 2,022 | 7 | 16 | 0 | 35 | 0 | 779 | 89 | 4 | 0 | false | true | false | false | false | false | low |
72,942,135 | Flutter real device is not recognised | <p>I have installed flutter (Fresh installation) but not android studio. Because my laptop specifications does not meet the minimum requirements of android studio.</p>
<pre><code>---android studio minimum requirements---
- 64-bit Microsoft® Windows® 8/10/11.
- x86_64 CPU architecture; 2nd generation Intel Core or new... | I have installed flutter (Fresh installation) but not android studio. Because my laptop specifications does not meet the minimum requirements of android studio. [CODE] And I also don't want to install android studio. When I run flutter doctor it just shows results of flutter doctor command Even after a real device ( US... | android|flutter|installation | 1 | 2022-07-11T17:01:04.350Z | 2,022 | 7 | 17 | 0 | 58 | 1 | 655 | 37 | 3 | 1 | true | false | false | false | false | false | low |
72,942,359 | How to handle Espresso idling resource in Compose Android | <p>Pretty new to Compose and I am having an <code>Espresso test to become idle timed out</code> when I run all my tests in the test folder. When I run test alone it does pass, I have tried following instruction from this medium post on the <code>waitUntil</code> but I am still facing the same issue. Here is my code sni... | Pretty new to Compose and I am having an Espresso test to become idle timed out when I run all my tests in the test folder. When I run test alone it does pass, I have tried following instruction from this medium post on the waitUntil but I am still facing the same issue. Here is my code snippet. // https://medium.com/a... | android|android-jetpack-compose | 0 | 2022-07-11T17:20:20.683Z | 2,022 | 7 | 17 | 0 | 47 | 0 | 441 | 57 | 2 | 1 | true | true | false | false | false | false | zero |
72,942,452 | How to open mobile app after clicking a button in mobile browser (using javascript / react) [Deep Linking] | <p>So basically what I want is when the user clicks on a button on a mobile browser :</p>
<ol>
<li>If the app is already installed on the user's mobile, the app opens up.</li>
<li>If the app is not installed, I want to redirect the user to the play store app/apple store from where the user can install that app.</li>
</... | So basically what I want is when the user clicks on a button on a mobile browser : If the app is already installed on the user's mobile, the app opens up. If the app is not installed, I want to redirect the user to the play store app/apple store from where the user can install that app. Any solution/overview/idea/sourc... | javascript|android|ios|reactjs|deep-linking | 0 | 2022-07-11T17:27:09.837Z | 2,022 | 7 | 17 | 0 | 165 | 2 | 449 | 106 | 5 | 0 | false | false | false | false | false | false | zero |
72,942,539 | Flutter PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null)) Error | <p>I'm trying to make a desktop program with Flutter. And I will do transactions with Firebase Storage. I installed Firebase but when running I get an error like this:</p>
<p><a href="https://i.stack.imgur.com/cP54n.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cP54n.jpg" alt="enter image descripti... | I'm trying to make a desktop program with Flutter. And I will do transactions with Firebase Storage. I installed Firebase but when running I get an error like this: [CODE] I am getting this error in the file named messages_pigeon.dart . And although it gives an error, the program opens. But this error bothers me so muc... | android|flutter | 0 | 2022-07-11T17:34:16.090Z | 2,022 | 7 | 17 | 0 | 299 | 1 | 417 | 122 | 2 | 1 | true | false | false | false | false | false | zero |
72,942,729 | Jetpack Compose Material Design TextField WrapContentWidth | <p>I have a disabled OutlinedTextField and i am giving it a value manually. I want to change textfield width by using wrapContentSize because i want to make it small as much as possible.</p>
<pre><code>ConstraintLayout(
constraintSet = constraints,
modifier = modifier.fillMaxSize()
) {
// This is working wit... | I have a disabled OutlinedTextField and i am giving it a value manually. I want to change textfield width by using wrapContentSize because i want to make it small as much as possible. [CODE] Pictures : It has single line. : It has 2 lines and i don't want it. | android|android-jetpack-compose | 1 | 2022-07-11T17:53:00.347Z | 2,022 | 7 | 17 | 0 | 37 | 0 | 259 | 58 | 2 | 1 | true | true | false | false | false | false | low |
72,942,826 | Retrieving data from an Intent containing a NavArgs Bundle | <p>I have an <code>Activity</code> that is used as a "wrapper"; it takes a <code>nextIntent</code>, does its work, then launches the next Intent.</p>
<p>The wrapper <code>Activity</code> needs to access data within the <code>nextIntent</code> it is passed. However, the data within the next intent is set via &... | I have an Activity that is used as a "wrapper"; it takes a nextIntent , does its work, then launches the next Intent. The wrapper Activity needs to access data within the nextIntent it is passed. However, the data within the next intent is set via "NavArgs". Here's an example of how an Intent like t... | android|android-intent|android-bundle|android-navigation-graph | 0 | 2022-07-11T18:00:59.557Z | 2,022 | 7 | 18 | 0 | 20 | 0 | 814 | 58 | 4 | 3 | true | true | false | false | false | false | zero |
72,942,873 | Unable to create application in AOSP | <p>Actually, im trying to add a source code of app in the AOSP but when i do the "make" and launch the emulator, the app is there but it's crashing, in the logcat it says "unable to create application" securityException. Each and every mk file is correct but the app is crashing.</p> | Actually, im trying to add a source code of app in the AOSP but when i do the "make" and launch the emulator, the app is there but it's crashing, in the logcat it says "unable to create application" securityException. Each and every mk file is correct but the app is crashing. | java|android|android-studio|android-layout|android-source | 0 | 2022-07-11T18:05:50.593Z | 2,022 | 7 | 18 | 0 | 38 | 1 | 296 | 36 | 5 | 0 | false | false | false | false | false | false | zero |
72,943,041 | Jetpack Compose - mutableStateOf() not updating | <p>I got a ScreenState data class in my ViewModel:</p>
<pre><code>data class ScreenState(
var isLoading: Boolean = true,
val items: List<Posts> = emptyList()
)
</code></pre>
<p>and a mutableStateof:</p>
<pre><code>private val _homeScreenState = mutableStateOf(ScreenState())
val homeScreenState: State<S... | I got a ScreenState data class in my ViewModel: [CODE] and a mutableStateof: [CODE] Updating the isLoading property works fine, the change gets send to my UI: [CODE] But updating an item inside my List<Posts> does not work. Here is how I try to do it: [CODE] I'm trying to update the isLiked Boolean inside my Post data ... | android|kotlin|android-jetpack-compose|kotlin-coroutines | 1 | 2022-07-11T18:25:15.813Z | 2,022 | 7 | 18 | 0 | 343 | 1 | 657 | 47 | 4 | 5 | true | false | false | false | false | false | low |
72,943,048 | "The following SDK component was not installed: Android Emulator" | <p>I'm trying to install Android Studio, but I can't install Android Emulator. Here's what I see:</p>
<blockquote>
<p>The following SDK component was not installed:
Android Emulator</p>
</blockquote>
<blockquote>
<p><code>javax.net.ssl.SSLException: Tag mismatch!</code></p>
<p><code>Warning: An error occurred while pre... | I'm trying to install Android Studio, but I can't install Android Emulator. Here's what I see: The following SDK component was not installed: Android Emulator javax.net.ssl.SSLException: Tag mismatch! Warning: An error occurred while preparing SDK package Android Emulator: Tag mismatch!. | android|android-studio|android-emulator|failed-installation | 0 | 2022-07-11T18:25:59.393Z | 2,022 | 7 | 18 | 0 | 78 | 1 | 288 | 65 | 4 | 0 | false | false | false | false | false | false | zero |
72,943,059 | Android Recyclerview item selection get lost when scrolling | <p>I have radio buttons in recyclerview about 50 to 100 radio button which losses checked when scrolling the recyclerview</p> | I have radio buttons in recyclerview about 50 to 100 radio button which losses checked when scrolling the recyclerview | android|android-recyclerview | -1 | 2022-07-11T18:26:42.217Z | 2,022 | 7 | 18 | 0 | 45 | 1 | 118 | 59 | 2 | 0 | false | false | false | false | false | true | negative |
72,943,159 | Using Executer instead of AsyncTask to Get Data From Room Database in Android | <p>I am new to this concept and trying to follow a YouTube tutorial, in the video, he used AsyncTask to add the note object to the DB and AsyncTask to retrieve the data</p>
<p>He used this code to add the notes to DB</p>
<pre><code>class AddNotesToDatabase extends AsyncTask<Void,Void,Void> {
@Override
... | I am new to this concept and trying to follow a YouTube tutorial, in the video, he used AsyncTask to add the note object to the DB and AsyncTask to retrieve the data He used this code to add the notes to DB [CODE] Which I easily replaced with this code after reading an answer on StackOverflow and it's working fine [COD... | java|android|android-asynctask|java.util.concurrent | 1 | 2022-07-11T18:36:32.563Z | 2,022 | 7 | 18 | 0 | 26 | 0 | 593 | 77 | 4 | 3 | true | true | false | false | false | false | low |
72,943,305 | Automation of End to end Test with Selenium (for web App) and Appium (For Mobile App Testing) | <p><strong>We have this kind of end to end tests to automate :</strong></p>
<ol>
<li>Log in in Web application. Follow few steps there. Do something in Web app so that logged user in Mobile App gets notification.</li>
<li>In Mobile App perform few steps.</li>
<li>Check in Web app that the statuses are reflected correc... | We have this kind of end to end tests to automate : Log in in Web application. Follow few steps there. Do something in Web app so that logged user in Mobile App gets notification. In Mobile App perform few steps. Check in Web app that the statuses are reflected correctly on the basis of what was done in Mobile App. Wha... | c#|selenium-webdriver|appium-android|appium-ios|end-to-end | 0 | 2022-07-11T18:49:18.160Z | 2,022 | 7 | 18 | 0 | 47 | 0 | 1,199 | 93 | 5 | 0 | false | true | false | false | false | false | zero |
72,943,335 | Spacing between firebase items | <p><a href="https://i.stack.imgur.com/x8sYE.jpg" rel="nofollow noreferrer">I wanted to give a space between all the conversations so they don't stay like this together</a></p>
<p>I wanted to give a space between all the conversations so they don't get like this together and not be able to give a space between the conve... | I wanted to give a space between all the conversations so they don't stay like this together I wanted to give a space between all the conversations so they don't get like this together and not be able to give a space between the conversations, can anyone see what it could be? or some code to give a space between the co... | android|firebase | 0 | 2022-07-11T18:52:34.813Z | 2,022 | 7 | 18 | 0 | 23 | 0 | 439 | 30 | 2 | 2 | true | true | false | false | false | false | zero |
72,943,346 | How to check if the file is trashed and not permanently deleted? | <p>I'm writing an app that loads files (images) from storage into recyclerview. For that I'm just getting files using:</p>
<pre><code>File(FOLDER_PATH).listFiles()
</code></pre>
<p>And then loading the bitmap using Glide library.</p>
<p>Everything is working fine except when that file/image is deleted using other galle... | I'm writing an app that loads files (images) from storage into recyclerview. For that I'm just getting files using: [CODE] And then loading the bitmap using Glide library. Everything is working fine except when that file/image is deleted using other gallery apps like Google Photos. In G-Photos, when you delete the file... | android|delete-file|android-file|recycle-bin | 0 | 2022-07-11T18:53:24.457Z | 2,022 | 7 | 18 | 0 | 27 | 0 | 578 | 64 | 4 | 1 | true | true | false | false | false | false | zero |
72,943,432 | Checking for Internet Connection in Android/Java Code | <p>I have been using the following code (acquired from the web) to check for Internet connection in my Android (web) app.</p>
<pre><code>import android.content.Context;
import android.net.ConnectivityManager;
public class DetectConnection {
public static boolean checkInternetConnection(Context context) {
... | I have been using the following code (acquired from the web) to check for Internet connection in my Android (web) app. [CODE] Android studio is now giving me deprecation warnings concerning the use of getActiveNetworkInfo() . A simple search in the Internet shows that I should be using the API in [1]. I however could n... | android|android-connectivitymanager | 0 | 2022-07-11T19:02:45.277Z | 2,022 | 7 | 19 | 0 | 60 | 2 | 450 | 53 | 2 | 1 | true | false | false | false | false | false | zero |
72,943,471 | Why is Android Studio giving me an error about .so files when I try to add a .jar file as a dependency? | <p>I am trying to add a .jar file to my company's app. I added it to <code>app\libs</code>, and added the dependency to my gradle file as <code>implementation files('libs\\libname.jar)</code>. Android Studio detects the imported classes and everything, but when I go to build and run my app, it immediately crashes with ... | I am trying to add a .jar file to my company's app. I added it to app\libs , and added the dependency to my gradle file as implementation files('libs\\libname.jar) . Android Studio detects the imported classes and everything, but when I go to build and run my app, it immediately crashes with the following error: Failed... | java|android|android-studio|gradle|build.gradle | 1 | 2022-07-11T19:06:04.570Z | 2,022 | 7 | 19 | 0 | 24 | 1 | 580 | 103 | 5 | 0 | false | false | false | false | false | false | low |
72,943,520 | How can i set up Download Button that download an apk via Link? | <p>How can i set up Download Button that download an apk via Google Drive Link?</p>
<h2>Sample Code MainActivity.java:</h2>
<pre><code>package com.example.project;
public class VersionActivity extends AppCompatActivity
</code></pre> | How can i set up Download Button that download an apk via Google Drive Link? Sample Code MainActivity.java: [CODE] | android|android-studio|kotlin | 0 | 2022-07-11T19:10:14.283Z | 2,022 | 7 | 19 | 0 | 24 | 1 | 114 | 63 | 3 | 1 | true | false | false | false | false | false | zero |
72,943,634 | How to inject dependency in composable using dagger hilt | <p>Maybe I'm blind but I can't find anything about injecting a dependency that needs parameters in side a composable using dagger hilt.</p>
<p>Lets say my ViewModel looks something like this:</p>
<pre><code>class MyViewModel @AssistedInject constructor(@Assisted myValue: Int) : ViewModel() {
...
}
</code></pre>
<p>and ... | Maybe I'm blind but I can't find anything about injecting a dependency that needs parameters in side a composable using dagger hilt. Lets say my ViewModel looks something like this: [CODE] and I've got a factory interface like this: [CODE] how can I inject that dependency with a certain value as parameter? All answers ... | android|kotlin|dependency-injection|dagger-hilt | 0 | 2022-07-11T19:22:08.403Z | 2,022 | 7 | 19 | 0 | 187 | 0 | 404 | 56 | 4 | 4 | true | true | false | false | false | false | zero |
72,943,690 | Why can't I delete a checkbox if it is checked in RecyclerView? But if the checkbox is unchecked deletion works properly | <p>In the RecyclerView if there is any checked checkbox then the deletion is not work properly, but if all checkboxes are uncheck in the RecyclerView then deletion works good.
If I delete a checked Checkbox I get this error and the checkbox reappears again in the last index.</p>
<blockquote>
<p>java.lang.IndexOutOfBoun... | In the RecyclerView if there is any checked checkbox then the deletion is not work properly, but if all checkboxes are uncheck in the RecyclerView then deletion works good. If I delete a checked Checkbox I get this error and the checkbox reappears again in the last index. java.lang.IndexOutOfBoundsException: Index: 2, ... | java|android|android-recyclerview | 0 | 2022-07-11T19:27:55.123Z | 2,022 | 7 | 19 | 0 | 32 | 0 | 453 | 120 | 3 | 4 | true | true | false | false | false | false | zero |
72,943,746 | Xamarin Forms ListView does not Fire TapGestureOrganizer in Android, OK in UWP | <p>I have a simple listview in my Xamarin Forms App:</p>
<pre><code> lstMetrics = new ListView();
DataTemplate dataTemplate = new DataTemplate(() =>
{
Label lblMetricDesc = new Label();
lblMetricDesc.FontSize = PublicConstants.SmallFontSize;
... | I have a simple listview in my Xamarin Forms App: [CODE] This works fine in UWP but it does not fire in Android Environment. Is there a workaround for this in Android? Any and all help will be appreciated. | xamarin.forms|xamarin.android | 0 | 2022-07-11T19:33:35.700Z | 2,022 | 7 | 19 | 0 | 27 | 0 | 205 | 78 | 2 | 1 | true | true | false | false | false | false | zero |
72,943,752 | Android camera recording is not working in background mode for some newest smartphones on Android 12 | <p>To record video from camera in background mode I use something like this (<code>MediaCodec</code>, <code>Camera2</code> APIs):</p>
<pre><code>// record stuff
val recorderSurface = MediaCodec.createPersistentInputSurface()
...
// configure camera using camera2 API
val surfaces = ArrayList<Surface>().apply {
... | To record video from camera in background mode I use something like this ( MediaCodec , Camera2 APIs): [CODE] It works fine for almost all devices from Android 6 up to Android 12 It is working fine for my Samsung S10 on Android 12 in both foreground and background modes But on some more modern/newest devices like Samsu... | android|android-camera|android-camera2 | 0 | 2022-07-11T19:34:52.180Z | 2,022 | 7 | 19 | 0 | 179 | 0 | 765 | 100 | 3 | 1 | true | true | false | false | false | false | zero |
72,943,856 | Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. flutter application | <p>when i start to emulate to my android phone and active developer mode and USB debugging
ii got these messages and i tried some things but it didn't work<a href="https://i.stack.imgur.com/prsqL.png" rel="nofollow noreferrer">enter image description here</a></p>
<p><a href="https://i.stack.imgur.com/zCFpR.png" rel="no... | when i start to emulate to my android phone and active developer mode and USB debugging ii got these messages and i tried some things but it didn't work enter image description here enter image description here enter image description here enter image description here | flutter|android-studio | 0 | 2022-07-11T19:43:47.877Z | 2,022 | 7 | 19 | 0 | 46 | 2 | 268 | 98 | 2 | 0 | false | false | false | false | false | false | zero |
72,943,983 | Can't store data from sqlite database to multidimensional array using for loop (CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1) | <p>The code is error, but when I use array like this : double[][] alternatifkriteria = {{3500, 70, 10, 36}, {4500, 90, 10, 48},{4000, 80, 9, 48},{4000, 70, 8, 60} }; the code is running well. but when I use looping and the data from database, the code is error. here's my code:</p>
<pre><code> alternatifkriteria = ne... | The code is error, but when I use array like this : double[][] alternatifkriteria = {{3500, 70, 10, 36}, {4500, 90, 10, 48},{4000, 80, 9, 48},{4000, 70, 8, 60} }; the code is running well. but when I use looping and the data from database, the code is error. here's my code: [CODE] | java|android|android-studio|android-sqlite | 0 | 2022-07-11T19:55:54.050Z | 2,022 | 7 | 19 | 0 | 35 | 0 | 281 | 150 | 4 | 1 | true | true | false | false | false | false | zero |
72,944,011 | Kotlin/AndroidStudio - problem with connect listView with RecyclerView | <p>I’m still learning and I see that there’s a long way ahead of me. However I got stuck with my app and I can’t find any clues online so I need your help.</p>
<p>I have a problem with connect listView with RecyclerView: in the first ACTIVITY I have a list and after selecting the first position, my intention was that i... | I’m still learning and I see that there’s a long way ahead of me. However I got stuck with my app and I can’t find any clues online so I need your help. I have a problem with connect listView with RecyclerView: in the first ACTIVITY I have a list and after selecting the first position, my intention was that it should r... | android|android-studio|kotlin|android-recyclerview|android-listview | 0 | 2022-07-11T19:58:33.640Z | 2,022 | 7 | 19 | 0 | 47 | 1 | 565 | 70 | 5 | 3 | true | false | false | false | false | false | zero |
72,944,034 | Camera stopped working after changing to getExternalFilesDir() | <p>I switched from <code>Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES)</code> to the supported <code>getExternalFilesDir(Environment.DIRECTORY_PICTURES)</code> but now when an image is taken the camera app stops and the image isn't accessible. Using android 12.0 API 31.</p>
<pre><code>pr... | I switched from Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) to the supported getExternalFilesDir(Environment.DIRECTORY_PICTURES) but now when an image is taken the camera app stops and the image isn't accessible. Using android 12.0 API 31. [CODE] [CODE] | java|android|android-studio | 2 | 2022-07-11T20:00:52.067Z | 2,022 | 7 | 20 | 0 | 20 | 0 | 287 | 62 | 3 | 2 | true | true | false | false | false | false | low |
72,944,077 | Call popup composable function inside onclick of Button in jetpack compose | <p>Hi i want to show popup when something happens . I have this popup:</p>
<pre><code>@Composable
fun popup(message:String,height:Dp,width:Dp,icon:String=""){
Column() {
val openDialog = remember { mutableStateOf(true) }
val dialogWidth = width/(1.3F)
val dialogHeight = height/2
... | Hi i want to show popup when something happens . I have this popup: [CODE] But i am trying to call him inside onclick Button event : [CODE] and Android Studio says: "@Composable invocations can only happen from the context of a @Composable function" How can i call the popup ?? | android-jetpack-compose | 0 | 2022-07-11T20:05:07.320Z | 2,022 | 7 | 20 | 0 | 186 | 1 | 287 | 74 | 1 | 2 | true | false | false | false | false | false | zero |
72,944,117 | How to build walkie talkie app through wifi or mobile data? | <p>I want to build a function in my app. That should work like walkie talkie through mobile data or wifi.There will be a button that when they press it will send real time their voice to all logged in users IN THEIR GROUP and when they unpress it it stops, but I have no idea where to start with this. Like I know I prob... | I want to build a function in my app. That should work like walkie talkie through mobile data or wifi.There will be a button that when they press it will send real time their voice to all logged in users IN THEIR GROUP and when they unpress it it stops, but I have no idea where to start with this. Like I know I probabl... | java|android|android-studio|call|voice | -1 | 2022-07-11T20:08:46.750Z | 2,022 | 7 | 20 | 0 | 96 | 1 | 363 | 59 | 5 | 0 | false | false | false | false | false | true | negative |
72,944,213 | Use multiple variables in single string interpolation kotlin | <p><a href="https://i.stack.imgur.com/mUEwB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mUEwB.png" alt="enter image description here" /></a></p>
<h4>How should can I use multiple var in single ${}</h4>
<pre><code>fun main() {
var a = 5
var b = 20
if (b % a == 0 && b > a++)... | How should can I use multiple var in single ${} [CODE] | android|kotlin|intellij-idea | 0 | 2022-07-11T20:18:07.167Z | 2,022 | 7 | 20 | 0 | 66 | 0 | 54 | 60 | 3 | 1 | true | true | false | false | false | false | zero |
72,944,312 | common attributes not showing for TextView in android studio | <p>[image of android studio**][1]**</p>
<p><strong>so the problem im facing is that i cant see common attributes tab for TextView and im following a tutorial in which that person has the common attributes tab in the right side for TextView.</strong>
[1]: <a href="https://i.stack.imgur.com/5PLL3.png" rel="nofollow noref... | [image of android studio**][1]** so the problem im facing is that i cant see common attributes tab for TextView and im following a tutorial in which that person has the common attributes tab in the right side for TextView. [1]: https://i.stack.imgur.com/5PLL3.png | android-studio | 0 | 2022-07-11T20:27:37.997Z | 2,022 | 7 | 20 | 0 | 423 | 2 | 263 | 60 | 1 | 0 | false | false | false | false | false | false | zero |
72,944,320 | Parsing custom track data from ARCore mp4 recordings | <p>I'm using the <a href="https://developers.google.com/ar/develop/java/recording-and-playback/developer-guide" rel="nofollow noreferrer">Android ARCore Recording API</a> to record custom data per frame and replay those values in tests to instrument test our ARCore functionality on devices and in CI. However, separatel... | I'm using the Android ARCore Recording API to record custom data per frame and replay those values in tests to instrument test our ARCore functionality on devices and in CI. However, separately I'd also like to parse the generated mp4 recordings myself, outside of ARCore, and use my per frame recorded data for analysis... | android|ffmpeg|arcore | 0 | 2022-07-11T20:28:13.987Z | 2,022 | 7 | 20 | 0 | 40 | 0 | 917 | 52 | 3 | 2 | true | true | false | false | false | false | zero |
72,944,345 | InterstitialAd in Android Studio is not showing | <p>I'm developing a mobile app and the interstitial ad is not showing.</p>
<p>I have declared the ad and this is the code</p>
<pre><code>private InterstitialAd mInterstitialAd;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mya... | I'm developing a mobile app and the interstitial ad is not showing. I have declared the ad and this is the code [CODE] I have implemented the ad following the Google AdMob documentation, I don't know why the ad doesn't load. I tried to pass the second activity when I call to mInterstitialAd.show but I get an error | android|android-studio|admob|interstitial | 0 | 2022-07-11T20:31:12.987Z | 2,022 | 7 | 20 | 0 | 96 | 1 | 315 | 47 | 4 | 1 | true | false | false | false | false | false | zero |
72,944,348 | How to get the index number outside of a listview.builder | <p>I have an application that will open a pdf file based on the selection from a listview. I want the title of the app bar on <code>journal_view.dart</code> to display the corresponding <code>journalTitle</code> of the selection from <code>journal_data.dart</code>.</p>
<pre><code>import 'package:aplikasi_jurnal_mobile/... | I have an application that will open a pdf file based on the selection from a listview. I want the title of the app bar on journal_view.dart to display the corresponding journalTitle of the selection from journal_data.dart . [CODE] I have a listview.builder that functions correctly on a seperate dart file. This is the ... | android|flutter|dart|listview | 0 | 2022-07-11T20:31:42.073Z | 2,022 | 7 | 20 | 0 | 47 | 2 | 848 | 57 | 4 | 4 | true | false | false | false | false | false | zero |
72,944,401 | Jetpack Compose ImageVector to Path/Shape | <p>I am trying to get an Icon shadow in Jetpack Compose and already opened a question for that: <a href="https://stackoverflow.com/questions/72941049/jetpack-compose-icon-shadow-elevation/72942226#72942226">Jetpack Compose icon shadow/elevation</a></p>
<p>The proposed solution requires to convert an <code>ImageVector</... | I am trying to get an Icon shadow in Jetpack Compose and already opened a question for that: Jetpack Compose icon shadow/elevation The proposed solution requires to convert an ImageVector or XML resource to Path or Shape , but I don't seem to find a solution for that. Has anyone ever stumbled upon a library or other so... | android|android-jetpack-compose | 1 | 2022-07-11T20:37:28.600Z | 2,022 | 7 | 20 | 0 | 85 | 0 | 343 | 41 | 2 | 0 | false | true | false | false | false | false | low |
72,944,468 | Storing emitted Flow values in a list | <p>Storing emitted Flow values in a list
I have a list of URLs for each of them. I am emitting objects I need to save and display. Getting is working fine, as they say in a lazy grid. But, I lose the last one and would like to store it in a list that updates the UI.</p>
<p>This happens in the ViewModel</p>
<pre class="... | Storing emitted Flow values in a list I have a list of URLs for each of them. I am emitting objects I need to save and display. Getting is working fine, as they say in a lazy grid. But, I lose the last one and would like to store it in a list that updates the UI. This happens in the ViewModel [CODE] This happens in the... | android|kotlin-flow | 0 | 2022-07-11T20:44:44.577Z | 2,022 | 7 | 20 | 0 | 21 | 0 | 330 | 37 | 2 | 2 | true | true | false | false | false | false | zero |
72,944,516 | Flutter - Can't build apk. Execution failed for task ':app:minifyReleaseWithR8' | <p>I'm trying to build the release apk of my project and stumbled on this error today:</p>
<p>R8: Type io.flutter.plugins.webviewflutter.GeneratedAndroidWebView$WebViewClientHostApiCodec is defined multiple times</p>
<ul>
<li>What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.</li>
</ul>
<blockquote>... | I'm trying to build the release apk of my project and stumbled on this error today: R8: Type io.flutter.plugins.webviewflutter.GeneratedAndroidWebView$WebViewClientHostApiCodec is defined multiple times What went wrong: Execution failed for task ':app:minifyReleaseWithR8'. com.android.tools.r8.CompilationFailedExceptio... | android|flutter|mobile | 0 | 2022-07-11T20:49:04.773Z | 2,022 | 7 | 20 | 0 | 75 | 1 | 941 | 79 | 3 | 0 | false | false | false | false | false | false | zero |
72,944,543 | Why the background color of the top bar changes automatically not as I set it? Material Design 3 | <p>I'm trying to change the background color of the top bar and make it like the main background. I'm using <a href="https://m3.material.io/" rel="nofollow noreferrer">Material You (MD3)</a>.</p>
<p>The user can change from light mode to dark mode or vice versa.</p>
<p><strong>Here is what I tried to do:</strong></p>
<... | I'm trying to change the background color of the top bar and make it like the main background. I'm using Material You (MD3) . The user can change from light mode to dark mode or vice versa. Here is what I tried to do: values\themes.xml [CODE] values-night\themes.xml [CODE] colors.xml [CODE] activity_main.xml [CODE] The... | android|material-design|android-toolbar|material-components-android | 0 | 2022-07-11T20:50:47.767Z | 2,022 | 7 | 20 | 0 | 65 | 1 | 899 | 96 | 4 | 4 | true | false | false | false | false | false | zero |
72,944,569 | Question about launchWhenX and repeatOnLifecycle | <p>I have the following code and a few questions that need to be answered:</p>
<pre class="lang-kotlin prettyprint-override"><code>override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
lifecycleScope.launchWhenResumed {
delay(... | I have the following code and a few questions that need to be answered: [CODE] As far as I understand, the method (or any of them) launchWhenResumed, is called when the Lifecycle has reached the RESUMED state, and I also know that when I move the app to the background, the corrutine will stop, but it will not stop if i... | android|kotlin|kotlin-coroutines | 2 | 2022-07-11T20:54:18.277Z | 2,022 | 7 | 20 | 0 | 103 | 1 | 1,711 | 48 | 3 | 2 | true | false | false | false | false | false | low |
72,944,592 | UNABLE TO GET DATABASE JOURNAL OF MY ANDROID APP | <p>I don't get my database journal in my device file explorer of android studio. don't know why
my android studio code is -></p>
<pre><code> package com.example.dbms_tutorial;
import android.content.ContentValues;
import android.database.sqlite.SQLiteOpenHelper;
import android.content.Context;
import android.dat... | I don't get my database journal in my device file explorer of android studio. don't know why my android studio code is -> [CODE] please tell me my mistake why I am unable to build my database | android | 0 | 2022-07-11T20:56:59.463Z | 2,022 | 7 | 20 | 0 | 11 | 0 | 191 | 48 | 1 | 1 | true | true | false | false | false | false | zero |
72,944,715 | How can to create a curved Text Button | <p>I'm beginner in jetpack compose, especially in Canvas.</p>
<p>I want to create this with Canvas:</p>
<p><a href="https://i.stack.imgur.com/wTnH8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wTnH8.jpg" alt="enter image description here" /></a></p>
<p>But I don't know how.
I could create curved T... | I'm beginner in jetpack compose, especially in Canvas. I want to create this with Canvas: But I don't know how. I could create curved Text but with fillMaxSize and it's not useful for me. Because I want to use this picture as a button in a page and I have some buttons like this one in one page. So I want to have this C... | kotlin|android-jetpack-compose|android-canvas|android-jetpack | 1 | 2022-07-11T21:11:41.523Z | 2,022 | 7 | 21 | 0 | 55 | 1 | 374 | 38 | 4 | 0 | false | false | false | false | false | false | low |
72,944,820 | Program crashes when reading data from firestore to display in an accordion in android | <p>I am trying to create an accordion with the rias and their respective poligonos. To do this I read the two collections from firebase and put them in their respective arraylists (rias, poligonos). It shows me the screen with the rias fine but if I spread the accordion of one of the rias the program crashes and sends ... | I am trying to create an accordion with the rias and their respective poligonos. To do this I read the two collections from firebase and put them in their respective arraylists (rias, poligonos). It shows me the screen with the rias fine but if I spread the accordion of one of the rias the program crashes and sends thi... | android|firebase|google-cloud-firestore | 0 | 2022-07-11T21:24:33.513Z | 2,022 | 7 | 21 | 0 | 30 | 1 | 799 | 86 | 3 | 3 | true | false | false | false | false | false | zero |
72,944,884 | Android sending .getClass() to another class function | <p>Hey all I am having an issue fixing the following error:</p>
<pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxxxxxxxxxxx/com.xxxxxxxxxxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.reflect.Method.getName()' on a null o... | Hey all I am having an issue fixing the following error: [CODE] My code I'm calling: [CODE] And the class I am calling GlobalCls: [CODE] The error being on this line of code: [CODE] I am not understanding why I am getting that error when I know _c has data and is not null ? If I call the same code but within the same c... | java|android|android-studio|class | 0 | 2022-07-11T21:32:16.723Z | 2,022 | 7 | 21 | 0 | 41 | 2 | 384 | 53 | 4 | 4 | true | false | false | false | false | false | zero |
72,944,926 | Android Room Database auto-genereated code does not compile | <p>I cannot compile the project because the auto-generated code does not compile.
Here is my code:</p>
<p>I'm using version 2.4.2 of Room</p>
<p>My database class:</p>
<p>RecipeDatabase.java</p>
<pre class="lang-java prettyprint-override"><code>@Database(entities = {Person.class, Recipe.class}, version = 1)
public abst... | I cannot compile the project because the auto-generated code does not compile. Here is my code: I'm using version 2.4.2 of Room My database class: RecipeDatabase.java [CODE] Entity classes: Person.java [CODE] Recipe.java [CODE] DAO classes: PersonDao.java [CODE] RecipeDao.java [CODE] And here is the code which does not... | android|android-room | 0 | 2022-07-11T21:38:55.790Z | 2,022 | 7 | 21 | 0 | 78 | 1 | 743 | 59 | 2 | 9 | true | false | false | false | false | false | zero |
72,944,989 | Kotlin Compose global footer view | <p>I am trying to show an <em>Ad banner</em> at the bottom which is globally displayed. That means that I want to stick there when I navigate throughout the app.
So far I've tried adding the <code>NavHost</code> and the <code>AdView</code> inside a <code>Column</code>, hoping that the navigation with the linked pages w... | I am trying to show an Ad banner at the bottom which is globally displayed. That means that I want to stick there when I navigate throughout the app. So far I've tried adding the NavHost and the AdView inside a Column , hoping that the navigation with the linked pages will just take the remaining space and the bottom v... | android|kotlin|android-jetpack-compose | 2 | 2022-07-11T21:48:31.247Z | 2,022 | 7 | 21 | 0 | 47 | 2 | 1,163 | 33 | 3 | 1 | true | false | false | false | false | false | low |
72,945,107 | Remove lock screen blue icon | <p>Removing the blue icon on an Android that created when using multiple users I've tried to use build prop however it doesn't remove the actual user blue icon unless I remove the user. I want to keep using multiple users however, remove the blue icon entirely</p> | Removing the blue icon on an Android that created when using multiple users I've tried to use build prop however it doesn't remove the actual user blue icon unless I remove the user. I want to keep using multiple users however, remove the blue icon entirely | android | 0 | 2022-07-11T22:03:14.697Z | 2,022 | 7 | 22 | 0 | 18 | 0 | 257 | 28 | 1 | 0 | false | true | false | false | false | false | zero |
72,945,207 | Unexpected implicit cast to TextView>: layout tag was TextView | <p>I have a function that accepts a <code>Map<Int, TextView></code>:</p>
<pre><code>private fun chooseActiveElement(m: Map<Int, TextView?>) {}
</code></pre>
<p>This code works:</p>
<pre><code>chooseActiveElement(mapOf(
1 to (findViewById(R.id.labelFixNo))
))
</code></pre>
<p>But this one (parentheses re... | I have a function that accepts a Map<Int, TextView> : [CODE] This code works: [CODE] But this one (parentheses removed) does not: [CODE] Unexpected implicit cast to TextView>: layout tag was TextView I'm curious, why are the parentheses necessary and what does the error message mean exactly? | android|kotlin|generics | 0 | 2022-07-11T22:18:03.937Z | 2,022 | 7 | 22 | 0 | 26 | 0 | 292 | 62 | 3 | 3 | true | true | false | false | false | false | zero |
72,945,437 | React Native: Failed launching Android emulator | <p>I've started a new project and successfully run IOS, a few hours in I decided to get my android running too.</p>
<p>When I run npm run android I am prompted with the following error:</p>
<pre><code>npm run android
</code></pre>
<blockquote>
<p>flexe@0.0.1 android
react-native run-android</p>
</blockquote>
<p>info Ru... | I've started a new project and successfully run IOS, a few hours in I decided to get my android running too. When I run npm run android I am prompted with the following error: [CODE] flexe@0.0.1 android react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-... | android|reactjs|react-native|android-emulator | 0 | 2022-07-11T22:55:52.697Z | 2,022 | 7 | 22 | 0 | 47 | 0 | 2,435 | 47 | 4 | 2 | true | true | false | false | false | false | zero |
72,945,443 | Android - LiveData observe not getting update from AndroidViewModel in active Activity | <p>I do see quite some questions about this issue but most of them are related to Fragment. I am calling it inside the activity but still not observing any changes.</p>
<p>MainActivity.kt:</p>
<pre><code>class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.on... | I do see quite some questions about this issue but most of them are related to Fragment. I am calling it inside the activity but still not observing any changes. MainActivity.kt: [CODE] MainViewModel.kt: [CODE] MainViewModelFactory.kt: [CODE] Both getSomething and load work as expected. I can print out the observable b... | android|kotlin | 0 | 2022-07-11T22:57:02.933Z | 2,022 | 7 | 22 | 0 | 78 | 2 | 409 | 86 | 2 | 3 | true | false | false | false | false | false | zero |
72,945,461 | How to validate if call was succed with Retrofit in Kotlin | <p>I have a method calling API to create user but sometimes when fails and API returns HTTP 400 Bad Request I cannot be able to validate that state:</p>
<pre><code>private suspend fun createUserPrepare():Boolean{
var result=false
try {
val retrofit=retrofit.getInstance()
val payl... | I have a method calling API to create user but sometimes when fails and API returns HTTP 400 Bad Request I cannot be able to validate that state: [CODE] How can i validate status response? (HTTP 400 Bad Request or 200 Ok) | retrofit2|android-jetpack-compose | 0 | 2022-07-11T23:00:19.750Z | 2,022 | 7 | 23 | 0 | 33 | 1 | 221 | 58 | 2 | 1 | true | false | false | false | false | false | zero |
72,945,569 | Laravel unique validator doesn't work in Ionic but works fine on Insomnia | <p>Unique validator for the parameter "dato1" doesn't work in Ionic but works fine on Insomnia it seems that is ignoring the validator->fails
and the error is being caught by the QueryException and only happens when the only repeated parameter is "dato1"</p>
<p>The code is something like this:</p... | Unique validator for the parameter "dato1" doesn't work in Ionic but works fine on Insomnia it seems that is ignoring the validator->fails and the error is being caught by the QueryException and only happens when the only repeated parameter is "dato1" The code is something like this: [CODE] | php|android|laravel|ionic-framework | 0 | 2022-07-11T23:23:19.337Z | 2,022 | 7 | 23 | 0 | 37 | 0 | 311 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
72,945,626 | ViewPager2 Error Fragment Manager is already executing | <p>I am trying to fix a bug where my app crashes if a user performs an orientation change during the onboarding process (I used a 3 fragment viewpager2 layout within JetPack NavHost). I tried adding my viewmodel to it so that it would be lifecycle aware during onboarding, but I received this identical error message bot... | I am trying to fix a bug where my app crashes if a user performs an orientation change during the onboarding process (I used a 3 fragment viewpager2 layout within JetPack NavHost). I tried adding my viewmodel to it so that it would be lifecycle aware during onboarding, but I received this identical error message both b... | android|android-jetpack-compose|viewmodel|fragmentmanager|android-viewpager2 | 0 | 2022-07-11T23:35:22.717Z | 2,022 | 7 | 23 | 0 | 63 | 1 | 941 | 54 | 5 | 4 | true | false | false | false | false | false | zero |
72,945,653 | Jetpack Compose viewModel never cleared | <p>I need your help.</p>
<p>I'm porting a large application from iOS (<strong>iPad</strong>) to Android (<strong>Tablet only</strong>), using <strong>Jetpack Compose</strong>.</p>
<p>This is the context.
I've got a list of Pins (objets on a map). A pin is a very complex element with many parameters (states, photos, his... | I need your help. I'm porting a large application from iOS ( iPad ) to Android ( Tablet only ), using Jetpack Compose . This is the context. I've got a list of Pins (objets on a map). A pin is a very complex element with many parameters (states, photos, history, and about 20 parameters more) When I select a pin in the ... | android-jetpack-compose|viewmodel | 0 | 2022-07-11T23:40:36.180Z | 2,022 | 7 | 23 | 0 | 92 | 2 | 1,104 | 39 | 2 | 5 | true | false | false | false | false | false | zero |
72,945,840 | Is there any custom Picker/Select component using customized Item Renderer in React Native? | <p>In React Native, I want to implement the select component like below, with no Java coding in Android and C-coding in XCode.</p>
<p><a href="https://i.stack.imgur.com/r3rew.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r3rew.png" alt="enter image description here" /></a></p>
<p>It requires someth... | In React Native, I want to implement the select component like below, with no Java coding in Android and C-coding in XCode. It requires something similar to renderItem property in VirtualizedList or SectionList component. [CODE] Is there any suitable component for this? - selectable like RNPickerSelect and customizable... | android|ios|react-native | 0 | 2022-07-12T00:16:58.167Z | 2,022 | 7 | 0 | 1 | 21 | 0 | 365 | 91 | 3 | 1 | true | true | false | false | false | false | zero |
72,945,853 | Subtle 'ticks' noise in WAVE files with AudioRecord | <p>My app saves WAVE MONO files at 44100 and 16BIT PCM captured with <code>AudioRecord</code> using a RODE VideoMicro. Everything works just fine, except for the fact that I can see some very subtle "ticks" in the WAVE files uniformly spaced by 0.135 seconds. You can hear the ticks if your volume is very loud... | My app saves WAVE MONO files at 44100 and 16BIT PCM captured with AudioRecord using a RODE VideoMicro. Everything works just fine, except for the fact that I can see some very subtle "ticks" in the WAVE files uniformly spaced by 0.135 seconds. You can hear the ticks if your volume is very loud, or you can see... | android|microphone|noise|wave|audiorecord | 0 | 2022-07-12T00:20:32.330Z | 2,022 | 7 | 0 | 1 | 66 | 1 | 1,171 | 51 | 5 | 3 | true | false | false | false | false | false | zero |
72,945,959 | Swipe to Refresh But Swiping Up from Bottom Of Screen? in Jetpack Compose | <p>I haven't found a question that was exactly what I was asking. The only one I found was from 6 years ago: <a href="https://stackoverflow.com/questions/32396673/android-swipe-up-to-refresh-listview">Android Swipe Up to Refresh ListView</a></p>
<p>When I reach the bottom of a Column of Text lists, I want to be able to... | I haven't found a question that was exactly what I was asking. The only one I found was from 6 years ago: Android Swipe Up to Refresh ListView When I reach the bottom of a Column of Text lists, I want to be able to swipe up from the bottom of the screen to refresh and load more content of the list view. Bottom to Up. I... | java|android|android-studio|kotlin|android-jetpack-compose | 0 | 2022-07-12T00:44:02.567Z | 2,022 | 7 | 0 | 1 | 45 | 0 | 560 | 73 | 5 | 0 | false | true | false | false | false | false | zero |
72,946,086 | navigation bar doesn't work after fragment change | <p>bottom navigation bar doesn't work at all after I change fragment with supportFragmentManager.</p>
<pre><code>binding.addBookSelectBackBtn.setOnClickListener {
(context as MainActivity).supportFragmentManager.beginTransaction().replace(
R.id.nav_host_fragment_container,
AddBookFragmen... | bottom navigation bar doesn't work at all after I change fragment with supportFragmentManager. [CODE] How can I solve it? | android-studio|kotlin | 0 | 2022-07-12T01:14:40.347Z | 2,022 | 7 | 1 | 1 | 15 | 0 | 121 | 49 | 2 | 1 | true | true | false | false | false | false | zero |
72,946,174 | applicationContext.getSystemService(SmsManager::class.java) returning null inside a Service | <p>Viewed quite a few similar questions so far, but none ended up a solution.</p>
<p>I'm trying to start up a foreground service in order to handle SMS messaging. This service is started when the app is first opened and does work on background threads via kotlin coroutines. This process remains active even when the app... | Viewed quite a few similar questions so far, but none ended up a solution. I'm trying to start up a foreground service in order to handle SMS messaging. This service is started when the app is first opened and does work on background threads via kotlin coroutines. This process remains active even when the app has been ... | android|kotlin|null|android-service|system-services | 1 | 2022-07-12T01:34:27.423Z | 2,022 | 7 | 1 | 1 | 79 | 1 | 1,029 | 91 | 5 | 2 | true | false | false | false | false | false | low |
72,946,183 | Android should you really use by Lazy in ViewModel as per Docs? | <p><a href="https://developer.android.com/topic/libraries/architecture/viewmodel#implement" rel="nofollow noreferrer">This Android doc</a> shows following code:</p>
<pre><code>class MyViewModel : ViewModel() {
private val users: MutableLiveData<List<User>> by lazy {
MutableLiveData<List<User>... | This Android doc shows following code: [CODE] and I'm wondering if it is really correct to use by lazy or really needed since I can not encounter any projects using this. If you do use it and you for example do following: [CODE] the code access "users" again and since it is not initialized yet loadUsers() is ... | android|kotlin|android-viewmodel | 0 | 2022-07-12T01:35:30.307Z | 2,022 | 7 | 1 | 1 | 97 | 0 | 403 | 63 | 3 | 2 | true | true | false | false | false | false | zero |
72,946,199 | Is there a way to reduce a dynamic links list on the same intent-filter on Android Manifest | <p>So I'm using dynamic links in my app and I have made that one activity handles several dynamic links, but the list is getting long and literally is just the last parameter that changes, which are numbers. So is there a way to reduce the list or I will have to just keep on adding more?</p>
<pre><code><activity
... | So I'm using dynamic links in my app and I have made that one activity handles several dynamic links, but the list is getting long and literally is just the last parameter that changes, which are numbers. So is there a way to reduce the list or I will have to just keep on adding more? [CODE] This is my android manifest... | android-studio|android-manifest|filepath|deep-linking|firebase-dynamic-links | 0 | 2022-07-12T01:38:04.657Z | 2,022 | 7 | 1 | 1 | 86 | 1 | 451 | 91 | 5 | 1 | true | false | false | false | false | false | zero |
72,946,274 | What are these weird entries in the Chrome logins DB? | <p>I've been working on allowing users to import logins from a chrome-style login DB and found some odd entries like:</p>
<pre><code>android://base64(64_bytes)@app.package.name/
</code></pre>
<p>Does anybody know what these are and what they're used for?</p> | I've been working on allowing users to import logins from a chrome-style login DB and found some odd entries like: [CODE] Does anybody know what these are and what they're used for? | android|google-chrome | 0 | 2022-07-12T01:55:27.890Z | 2,022 | 7 | 1 | 1 | 12 | 0 | 181 | 53 | 2 | 1 | true | true | false | false | false | false | zero |
72,946,359 | Some Attributes not showing in Android Studio inside the Linear Layout | <p>Some Attributes are now showing in Andoid Studio. I also rebuid project, cleared cache, resync project and also reinstalled everything but still it is not working.enter image description here</p>
<p><a href="https://i.stack.imgur.com/CvrD5.png" rel="nofollow noreferrer">enter image description here</a></p> | Some Attributes are now showing in Andoid Studio. I also rebuid project, cleared cache, resync project and also reinstalled everything but still it is not working.enter image description here enter image description here | java|android | -1 | 2022-07-12T02:13:44.257Z | 2,022 | 7 | 2 | 1 | 28 | 1 | 220 | 70 | 2 | 0 | false | false | false | false | false | true | negative |
72,946,403 | react-native-vision-camera doesn't appears after initialization | <p><strong>react-native-vision-camera doesn't appears after initialization</strong></p>
<p><strong>I was expecting Camera or something like this but screen stucks on <em>Loading</em></strong></p>
<p>I've tried a lot of things but couldn't solve the problem. Documentation didn't give any of useful information</p>
<pre><... | react-native-vision-camera doesn't appears after initialization I was expecting Camera or something like this but screen stucks on Loading I've tried a lot of things but couldn't solve the problem. Documentation didn't give any of useful information [CODE] | android|reactjs|react-native|react-native-camera|react-native-vision-camera | 0 | 2022-07-12T02:22:54.910Z | 2,022 | 7 | 2 | 1 | 308 | 0 | 256 | 63 | 5 | 1 | true | true | false | false | false | false | zero |
72,946,408 | run option is disabled for my react native project in android studio | <p>I made a new react native project.</p>
<p>According to this link <code>https://reactnative.dev/docs/environment-setup</code></p>
<p>In the document
they start the application by running this command</p>
<p><code>npx react-native run-android</code></p>
<p>Its working fine on my machine, I mean the app is running.</p>... | I made a new react native project. According to this link https://reactnative.dev/docs/environment-setup In the document they start the application by running this command npx react-native run-android Its working fine on my machine, I mean the app is running. But what I want to do is run the app without command. I open... | android|react-native | 0 | 2022-07-12T02:24:07.707Z | 2,022 | 7 | 2 | 1 | 31 | 1 | 456 | 68 | 2 | 0 | false | false | false | false | false | false | zero |
72,946,425 | The equals sign (=) in android assigns a reference | <p>Here's the xml file</p>
<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:/... | Here's the xml file [CODE] and this is the main. [CODE] As you can see, I assign fortesting to an arbitrary variable and change its value. Suddenly, this changes the value of fortesting , also. I reckon newValue is a reference, but I know you must use the box operator :: to obtain a reference. This is strange. Could yo... | android|textview | 0 | 2022-07-12T02:26:21.413Z | 2,022 | 7 | 2 | 1 | 23 | 0 | 353 | 50 | 2 | 2 | true | true | false | false | false | false | zero |
72,946,472 | Foreground Service is getting stopped after few hours by OS (Redmi note 8) | <p>I need a help. How do you run foreground service in Chinese phones? I've followed documentations of android and it worked on other phones like samsung smoothly. But Failed In Xiaomi, Vivo.
Note: I have no memory leaks in my code.
In Xiaomi I have whitelisted the app and put no restrictions on battery. But still does... | I need a help. How do you run foreground service in Chinese phones? I've followed documentations of android and it worked on other phones like samsung smoothly. But Failed In Xiaomi, Vivo. Note: I have no memory leaks in my code. In Xiaomi I have whitelisted the app and put no restrictions on battery. But still doesn't... | java|android|service|foreground | 0 | 2022-07-12T02:36:29.327Z | 2,022 | 7 | 2 | 1 | 32 | 0 | 444 | 74 | 4 | 0 | false | true | false | false | false | false | zero |
72,946,503 | How can I launch a function only onetime when I use Jetpack Compose? | <p>I need to launch <code>mViewMode.iniBilling(context as Activity)</code> first before I launch <code>mViewMode.purchaseProduct(context as Activity)</code> in fun <code>ScreenPurchase</code>.</p>
<p>You know the fun <code>ScreenPurchase</code> may be launched repeatedly when the system needs to refresh UI.</p>
<p>I ho... | I need to launch mViewMode.iniBilling(context as Activity) first before I launch mViewMode.purchaseProduct(context as Activity) in fun ScreenPurchase . You know the fun ScreenPurchase may be launched repeatedly when the system needs to refresh UI. I hope mViewMode.iniBilling(context as Activity) can be launched only on... | android|android-jetpack-compose | 1 | 2022-07-12T02:43:49.813Z | 2,022 | 7 | 2 | 1 | 100 | 1 | 348 | 68 | 2 | 1 | true | false | false | false | false | false | low |
72,946,520 | How can I add text to an existing Android Leanback Fragment? | <p>I have a BrowseSupportFragment with multiple pages which are VerticalGridSupportFragments. The relevant code for this is essentially in this file <a href="https://github.com/googlearchive/leanback-showcase/blob/master/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/PageAndListRowFragm... | I have a BrowseSupportFragment with multiple pages which are VerticalGridSupportFragments. The relevant code for this is essentially in this file here . Sometimes these pages or VerticalGridSupportFragments don't have content to show. I'd like to display a brief message or image explaining this, but I cannot find how t... | android-fragmentactivity|android-tv|leanback | 0 | 2022-07-12T02:47:37.963Z | 2,022 | 7 | 2 | 1 | 31 | 0 | 522 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
72,946,538 | Can't find my programs on the Watch Next row on Android TV Home | <p>I am trying to add video programs from my app to the Watch Next row on the Android TV Home. Here's my code snippet:</p>
<pre><code>content.put(WatchNextPrograms.COLUMN_WATCH_NEXT_TYPE, WatchNextPrograms.WATCH_NEXT_TYPE_CONTINUE);
content.put(PreviewPrograms.COLUMN_INTERNAL_PROVIDER_ID, programId);
content.put(Previ... | I am trying to add video programs from my app to the Watch Next row on the Android TV Home. Here's my code snippet: [CODE] I did get a returned uri from the insert call, but I don't see this program showing up on the android tv home (I don't even see a Watch Next row). Am I missing something in my code or in the Androi... | android-tv | 0 | 2022-07-12T02:51:47.150Z | 2,022 | 7 | 2 | 1 | 24 | 0 | 409 | 63 | 1 | 1 | true | true | false | false | false | false | zero |
72,946,540 | Flutter Android set compileSdkVersion in local.properties file | <p>If I set <code>compileSdkVersion 33</code> in build.gradle, it's ok.
But it's kind of hard code, so I try to set it in <code>local.properties</code> file.</p>
<p>As I already set <code>flutter.minSdkVersion=23</code> in that file, I think <code>flutter.compileSdkVersion=33</code> works the same, but it's not.</p>
<p... | If I set compileSdkVersion 33 in build.gradle, it's ok. But it's kind of hard code, so I try to set it in local.properties file. As I already set flutter.minSdkVersion=23 in that file, I think flutter.compileSdkVersion=33 works the same, but it's not. Details: local.properties file: [CODE] build.gradle file: [CODE] Err... | android|flutter|gradle | 1 | 2022-07-12T02:52:15.147Z | 2,022 | 7 | 2 | 1 | 234 | 1 | 409 | 62 | 3 | 3 | true | false | false | false | false | false | low |
72,946,595 | getting image Uri in android | <p>i am wanting to grab the image uri, upload it to firebase in order for it to be available there and other users r able to see this image when connecting to the firebase database. only issue is when an image is selected, <code>firstImage</code> is set as <code>content://com.android.providers.media.documents/document/... | i am wanting to grab the image uri, upload it to firebase in order for it to be available there and other users r able to see this image when connecting to the firebase database. only issue is when an image is selected, firstImage is set as content://com.android.providers.media.documents/document/image%3A525 which does... | android|firebase|image|kotlin|google-cloud-firestore | 0 | 2022-07-12T03:02:26.330Z | 2,022 | 7 | 3 | 1 | 47 | 0 | 490 | 28 | 5 | 1 | true | true | false | false | false | false | zero |
72,946,622 | add version of app at bottom navigation view is not displayed properly | <p>As a lot of people are probably trying to do it, I am trying to add a footer to a navigation view. I did this:</p>
<pre><code><com.google.android.material.navigation.NavigationView
android:id="@+id/navigationView"
android:layout_width="match_parent"
android:... | As a lot of people are probably trying to do it, I am trying to add a footer to a navigation view. I did this: [CODE] This working fine but not in 2 cases: small screen because the linearlayout overlap the menu and also if the keyboard is popped up, it move the layout. Any idea how to make sure that the linear layout w... | android|kotlin|navigation-drawer|navigationview|android-navigationview | 1 | 2022-07-12T03:09:14.257Z | 2,022 | 7 | 3 | 1 | 42 | 1 | 453 | 70 | 5 | 1 | true | false | false | false | false | false | low |
72,946,663 | Price GoogleMaps SDK mobile aplication (2022) | <p>I am currently working on a native Android application with kotlin and IOS with swift in which I am integrating the google maps sdk.</p>
<p>I am integrating a simple map where a marker will be drawn with a specific coordinate (latitude and longitude).</p>
<p>My question is if the google maps sdk has any cost with th... | I am currently working on a native Android application with kotlin and IOS with swift in which I am integrating the google maps sdk. I am integrating a simple map where a marker will be drawn with a specific coordinate (latitude and longitude). My question is if the google maps sdk has any cost with the mentioned featu... | android|ios|swift|kotlin|google-maps | 0 | 2022-07-12T03:17:01.730Z | 2,022 | 7 | 3 | 1 | 53 | 0 | 618 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
72,946,677 | Please tell me how to upgrade the QR code scanning recognition rate | <p>I am developing using android studio and java and am a beginner developer.</p>
<p>It works by implementing zxing-android-embedded:4.3.0 in the app to scan the QR.</p>
<p>Depending on the angle, light, etc., there are many cases in which recognition is delayed.</p>
<p>Please tell me how to improve the recognition rat... | I am developing using android studio and java and am a beginner developer. It works by implementing zxing-android-embedded:4.3.0 in the app to scan the QR. Depending on the angle, light, etc., there are many cases in which recognition is delayed. Please tell me how to improve the recognition rate. Please help. <build.g... | java|android|android-studio|zxing | 0 | 2022-07-12T03:21:42.850Z | 2,022 | 7 | 3 | 1 | 48 | 0 | 503 | 67 | 4 | 3 | true | true | false | false | false | false | zero |
72,946,847 | How to smooth the animation from loading to complete | <p>I have a progressBar(android default) and complete imageView</p>
<pre><code> <ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"... | I have a progressBar(android default) and complete imageView [CODE] if i use View.GONE and View.INVISIBLE , it looks weird here is example Is there have easy way to make it smooth? | android|animation|android-animation|loading|loading-animation | 0 | 2022-07-12T03:52:56.367Z | 2,022 | 7 | 3 | 1 | 33 | 1 | 180 | 52 | 5 | 1 | true | false | false | false | false | false | zero |
72,946,957 | What is a reason behind this "OnChecksumsReadyListener.onChecksumsReady" AbstractMethodError? | <p>I received this exception on release build with <code>Android 12</code>.</p>
<pre><code>exception.class.missing._Unknown_: java.lang.AbstractMethodError abstract method "void android.content.pm.PackageManager$OnChecksumsReadyListener.onChecksumsReady(java.util.List)"
at android.app.ApplicationPackageM... | I received this exception on release build with Android 12 . [CODE] Anyone knows reason behind this? or How to fix this issue!? | android|android-package-managers|android-12 | 3 | 2022-07-12T04:13:27.673Z | 2,022 | 7 | 4 | 1 | 206 | 1 | 127 | 93 | 3 | 1 | true | false | false | false | false | false | low |
72,947,030 | GridView Lauching wrong app is there away to fix this? | <p>Okay so I am making this app that launch's games but I cannot seem to get the search functionality for my GridView (named grid) to work properly. Every time I search for a game and then tap the game I want to launch instead of launching the correct game it launches a different game. Before I added the search functio... | Okay so I am making this app that launch's games but I cannot seem to get the search functionality for my GridView (named grid) to work properly. Every time I search for a game and then tap the game I want to launch instead of launching the correct game it launches a different game. Before I added the search functional... | java|android|android-studio | 0 | 2022-07-12T04:25:32.943Z | 2,022 | 7 | 4 | 1 | 41 | 1 | 806 | 54 | 3 | 3 | true | false | false | false | false | false | zero |
72,947,243 | How to remove subscription in Google Play Console? | <p>I create new subscription in Google Play Console for my app but now I want to remove this subscription. I don't find any button as remove feature.</p>
<p><strong>How to remove it ?</strong></p>
<p>Thanks everyone in advance.</p> | I create new subscription in Google Play Console for my app but now I want to remove this subscription. I don't find any button as remove feature. How to remove it ? Thanks everyone in advance. | android|google-play-console|in-app-subscription|play-billing-library | 0 | 2022-07-12T05:02:53.630Z | 2,022 | 7 | 5 | 1 | 22 | 0 | 193 | 50 | 4 | 0 | false | true | false | false | false | false | zero |
72,947,260 | How to shuffle in Android Studio using JAVA | <p>I'm reading text document file and displaying it on screen word by word. On button click it displays next word by random but some times it will repeat some words. So I did some research and I figured that it's best for me to use <code>shuffle</code>. How can I manage that. Here's my code:</p>
<pre><code>public void ... | I'm reading text document file and displaying it on screen word by word. On button click it displays next word by random but some times it will repeat some words. So I did some research and I figured that it's best for me to use shuffle . How can I manage that. Here's my code: [CODE] | java|android-studio | 0 | 2022-07-12T05:05:19.570Z | 2,022 | 7 | 5 | 1 | 25 | 1 | 284 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
72,947,265 | java.io.FileNotFoundException open failed: EPERM (Operation not permitted) | <p>After modifying build.gradle with :
compileSdkVersion 28 to 32
targetSdkVersion 28 to 32
I can't write a local file from retrofit response.
I get error :</p>
<pre><code>java.io.FileNotFoundException: /storage/emulated/0/DontEat/rangt_00001.jpg: open failed: EPERM (Operation not permitted)
</code></pre>
<p><strong>An... | After modifying build.gradle with : compileSdkVersion 28 to 32 targetSdkVersion 28 to 32 I can't write a local file from retrofit response. I get error : [CODE] AndroidManifest.xml contains : [CODE] and my code is : [CODE] Permissions are verified with : [CODE] Is my mistake in the code or the permissions please? I don... | java|android|file-io|permissions | 0 | 2022-07-12T05:06:04.323Z | 2,022 | 7 | 5 | 1 | 458 | 1 | 770 | 74 | 4 | 4 | true | false | false | false | false | false | zero |
72,947,274 | How to fix "Unexpected null value" error in Flutter | <p>I am creating a clone of the Instagram app and I am getting a "Unexpected null value" error in the feed screen of the app. Can you help me out fix the error? Here is the code of the app: <a href="https://github.com/zfr18/Instagram_Clone" rel="nofollow noreferrer">https://github.com/zfr18/Instagram_Clone</a... | I am creating a clone of the Instagram app and I am getting a "Unexpected null value" error in the feed screen of the app. Can you help me out fix the error? Here is the code of the app: https://github.com/zfr18/Instagram_Clone | android|flutter|web|instagram|mobile-application | 0 | 2022-07-12T05:07:44.037Z | 2,022 | 7 | 5 | 1 | 72 | 0 | 237 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
72,947,324 | flutter In VS Code show error when I hit flutter run on my real device | <p>when i hit flutter run on my real device it show me error below.my code was work ok at first but now it stuck.
Launching lib\main.dart on SM A307FN in debug mode...</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li><p>Where:
Build file 'C:\flutter_application_1\android\app\build.gradle' line: 24</p>
</li>... | when i hit flutter run on my real device it show me error below.my code was work ok at first but now it stuck. Launching lib\main.dart on SM A307FN in debug mode... FAILURE: Build failed with an exception. Where: Build file 'C:\flutter_application_1\android\app\build.gradle' line: 24 What went wrong: A problem occurred... | android|flutter|dart|debugging|gradle | 0 | 2022-07-12T05:14:22.233Z | 2,022 | 7 | 5 | 1 | 132 | 2 | 1,426 | 70 | 5 | 0 | false | false | false | false | false | false | zero |
72,947,357 | Easiest way to code/debug in Android studio without Gradle | <p>So a couple of days ago, I decided to start android programming using Android studio. After installing the IDE I had some problems syncing Gradle (discussed <a href="https://stackoverflow.com/questions/72857531/com-android-application-version-7-1-3-apply-false-was-not-found-in-any-o">here</a>). Now I'm trying to use... | So a couple of days ago, I decided to start android programming using Android studio. After installing the IDE I had some problems syncing Gradle (discussed here ). Now I'm trying to use Android studio without Gradle. I've read some topics about using Ant etc. but I don't know which one is the easiest way to do that, A... | android|android-studio|build | 0 | 2022-07-12T05:19:32.910Z | 2,022 | 7 | 5 | 1 | 38 | 1 | 478 | 58 | 3 | 0 | false | false | false | false | false | false | zero |
72,947,432 | how to make action from included graph? | <p>I can make action from nested graph to any destination, but apprently I can't make action from included other file.</p>
<p>i thought included graph and nested graph is almost same.
how can I make action from included graph?</p> | I can make action from nested graph to any destination, but apprently I can't make action from included other file. i thought included graph and nested graph is almost same. how can I make action from included graph? | android-navigation|android-navigation-graph | 0 | 2022-07-12T05:32:28.893Z | 2,022 | 7 | 5 | 1 | 36 | 1 | 216 | 39 | 2 | 0 | false | false | false | false | false | false | zero |
72,947,637 | android fails to open file using intent ACTION_VIEW. On failure, it makes a toast saying couldn't find item. No error thrown into the logs either | <p>here is my current code -</p>
<pre><code>/**
* takes list of keys and the file to open. decrypts the file and opens it using context it
* received as a parameter
* @param keyList takes list of keys used for encryption and decryption.
* @param safeFile the file to open from safe
*/
fun openFile(
keyList: Lis... | here is my current code - [CODE] Here's what I can verify for you - While starting the intent the file exists with the correct data already written to it I navigated to the location and checked for myself. Also, You can see the log outputs - [CODE] The issue I face is that the file isn't opened and I get a Toast saying... | android|kotlin | 0 | 2022-07-12T05:58:16.910Z | 2,022 | 7 | 5 | 1 | 41 | 1 | 410 | 145 | 2 | 3 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.