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,833,293 | How to change app icon in manifest file programatically | <p>I want to say that when user insert there desire icon image as input and click on button then app icon automatically change in android. Or how to set ' activity-alias 'icon property programmatically, beacuse we use these property to change app icon .Please help me to solve these problem ..</p> | I want to say that when user insert there desire icon image as input and click on button then app icon automatically change in android. Or how to set ' activity-alias 'icon property programmatically, beacuse we use these property to change app icon .Please help me to solve these problem .. | java|android|android-studio | 1 | 2022-07-01T18:23:15.300Z | 2,022 | 7 | 18 | 4 | 45 | 0 | 290 | 55 | 3 | 0 | false | true | false | false | false | false | low |
72,833,309 | Is rest API communication blocked in Android Studio? | <p><strong>(I am using google translator.)</strong></p>
<p>I am trying to use the GET method.
So, I looked at a number of ways to do rest API communication in Android Studio.
But it failed.
How can I use get method in android studio?</p>
<p><strong>Below is one of the many methods I have used.</strong></p>
<p><strong>s... | (I am using google translator.) I am trying to use the GET method. So, I looked at a number of ways to do rest API communication in Android Studio. But it failed. How can I use get method in android studio? Below is one of the many methods I have used. success1 is normally output. But success2 is not normally output. [... | java|rest|android-studio|get | 0 | 2022-07-01T18:26:14.547Z | 2,022 | 7 | 18 | 4 | 22 | 0 | 325 | 52 | 4 | 1 | true | true | false | false | false | false | zero |
72,833,375 | RecyclerView DiffUtil does not change the model after update the database | <p>I have 2 Relation models</p>
<pre><code>data class AttachmentWithMessage(
@Embedded
val attachment: Attachment,
@Relation(entity = Message::class, parentColumn = "attachments_message_id", entityColumn = "messages_message_id")
val message: Message
</code></pre>
<p>And i have a qu... | I have 2 Relation models [CODE] And i have a query that returns a Flow<Map<Server, List> from the Database [CODE] There is a screen that shows all the files that are being downloaded at the moment. The user can see the Progress of the File which i get from the Messages.body field and he can also Pause/Resume the downlo... | android|android-recyclerview|android-room|kotlin-flow|android-diffutils | 0 | 2022-07-01T18:32:55.270Z | 2,022 | 7 | 18 | 4 | 102 | 0 | 1,540 | 73 | 5 | 4 | true | true | false | false | false | false | zero |
72,833,384 | I have problem in connect flutter in firebase | <p>Hi I have this problem:</p>
<blockquote>
<p>C:/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:272:26:<br />
Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.</p>
</blockquote>
<ul>
<li>'SchedulerBinding' is from 'package:flutter/s... | Hi I have this problem: C:/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:272:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null. 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/flutter/packages/flutte... | android|ios|flutter|firebase | 2 | 2022-07-01T18:33:53.590Z | 2,022 | 7 | 18 | 4 | 56 | 1 | 427 | 45 | 4 | 0 | false | false | false | false | false | false | low |
72,833,499 | Google Cast audio mirroring | <p>I am looking into Google Cast for my Android app as I use AirPlay for my iOS app. Overall, the setup seems overly complicated. I happen to use Exoplayer, but in a bit off-label manner with multiple players potentially instantiated at once.</p>
<p>For this I am hoping to find a method to 'mirror' the audio similar to... | I am looking into Google Cast for my Android app as I use AirPlay for my iOS app. Overall, the setup seems overly complicated. I happen to use Exoplayer, but in a bit off-label manner with multiple players potentially instantiated at once. For this I am hoping to find a method to 'mirror' the audio similar to AirPlay (... | android|google-cast|google-cast-sdk | 1 | 2022-07-01T18:46:37.637Z | 2,022 | 7 | 18 | 4 | 50 | 0 | 508 | 27 | 3 | 0 | false | true | false | false | false | false | low |
72,833,709 | Unable to access safepal wallet | <p>Please who can help me recover my safepal wallet from my device... I haven't backed up my mnemonic phrase and I forgot my password now I'm just staring at my money and can't access it .. I have just one more try left... is the anyway I could modify the app data on my phone and change the password or increase the amo... | Please who can help me recover my safepal wallet from my device... I haven't backed up my mnemonic phrase and I forgot my password now I'm just staring at my money and can't access it .. I have just one more try left... is the anyway I could modify the app data on my phone and change the password or increase the amount... | android-studio|adb | 0 | 2022-07-01T19:10:34.530Z | 2,022 | 7 | 19 | 4 | 24 | 0 | 334 | 31 | 2 | 0 | false | true | false | false | false | false | zero |
72,833,754 | Composable fillMaxSize and rotation not working | <p>How can I rotate composables and still make them fill their parent?</p>
<p>For example, I have a Column filling the Screen with two Boxes taking up half the size.
The size of the boxes seems to be calculated before the rotation and not after.</p>
<pre><code>Column(
modifier = Modifier
.fi... | How can I rotate composables and still make them fill their parent? For example, I have a Column filling the Screen with two Boxes taking up half the size. The size of the boxes seems to be calculated before the rotation and not after. [CODE] Edit after Thracians comment: This looks better but the maxHeight I get seems... | android|kotlin|android-jetpack-compose | 2 | 2022-07-01T19:16:40.253Z | 2,022 | 7 | 19 | 4 | 199 | 1 | 417 | 47 | 3 | 2 | true | false | false | false | false | false | low |
72,833,836 | Widget not loading on release mode | <p>I'm trying to create my own card carousel on Flutter without using external dependencies, but I'm facing some weird behavior. It's only happen on release mode but work fine on debug mode.</p>
<p><strong>Case 1</strong>. With the code like the following, the slider work but the card widget is not displaying. The plac... | I'm trying to create my own card carousel on Flutter without using external dependencies, but I'm facing some weird behavior. It's only happen on release mode but work fine on debug mode. Case 1 . With the code like the following, the slider work but the card widget is not displaying. The place where the card should ap... | android|flutter|flutter-animation | 0 | 2022-07-01T19:26:35.607Z | 2,022 | 7 | 19 | 4 | 53 | 0 | 979 | 34 | 3 | 5 | true | true | false | false | false | false | zero |
72,833,979 | How to fix animation bug? | <p>I have a VideoView (circle) and custom animation (Falling cards) on the screen, in Fragment, as in the screenshot:</p>
<p><a href="https://i.stack.imgur.com/p8YES.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p8YES.png" alt="enter image description here" /></a></p>
<p>I haven't figured out how t... | I have a VideoView (circle) and custom animation (Falling cards) on the screen, in Fragment, as in the screenshot: I haven't figured out how to do it any other way, so I've inserted four CardViews, and I'm scrolling through them using AnimationUtils. In code it looks like this: [CODE] [CODE] I launch VideoView in the s... | android|kotlin|animation|android-animation|android-videoview | 0 | 2022-07-01T19:42:58.167Z | 2,022 | 7 | 19 | 4 | 49 | 0 | 867 | 25 | 5 | 4 | true | true | false | false | false | false | zero |
72,834,026 | How to accept all Android studio licenses agreement with one shell commad line? | <p>Is there a simple solution (a command line for example) to accept Android studio licenses agreement all at once ?</p> | Is there a simple solution (a command line for example) to accept Android studio licenses agreement all at once ? | android|android-licenses | 0 | 2022-07-01T19:48:15.603Z | 2,022 | 7 | 19 | 4 | 12 | 0 | 113 | 79 | 2 | 0 | false | true | false | false | false | false | zero |
72,834,095 | How to decode encoded Base64 string and download it as PDF in Android? | <blockquote>
<p>I am getting/ downloading the encoded base64 string through api, Now I have to decoding it to base 64, and then after decoding the base64 string, I need to convert it as pdf file.so that when I click the downloading button it will give me the converted decoding base64 as PDF.</p>
</blockquote>
<p>Code:... | I am getting/ downloading the encoded base64 string through api, Now I have to decoding it to base 64, and then after decoding the base64 string, I need to convert it as pdf file.so that when I click the downloading button it will give me the converted decoding base64 as PDF. Code: [CODE] // Now i have the decoded base... | java|android-studio|pdf|base64|decode | 0 | 2022-07-01T19:55:46.513Z | 2,022 | 7 | 19 | 4 | 102 | 0 | 422 | 70 | 5 | 2 | true | true | false | false | false | false | zero |
72,834,717 | H264 stream produced by Apple M1 CPU don't play on many devices, any workaround? | <p>We've detected that the h264 streaming produced by Apple M1 hardware encoder apparently is not following the standard of H264 and some hardware decoders aren't able to play an stream produced with M1.</p>
<p>By our tests, it plays without any issues on M1 devices and also on Snapdragon ones. But We've checked that i... | We've detected that the h264 streaming produced by Apple M1 hardware encoder apparently is not following the standard of H264 and some hardware decoders aren't able to play an stream produced with M1. By our tests, it plays without any issues on M1 devices and also on Snapdragon ones. But We've checked that it fails on... | android|video-streaming|h.264|apple-m1|airplay | 4 | 2022-07-01T21:20:40.940Z | 2,022 | 7 | 21 | 4 | 157 | 0 | 1,366 | 80 | 5 | 0 | false | true | false | false | false | false | low |
72,834,739 | Flutter Appbar disappears when using Share | <p>When I use <code>Share.share</code> using Flutter share_plus package the app bar disappears and the content of the screen moves up...and it doesn't look very nice.</p>
<p>Simple example:</p>
<pre><code>import 'package:flutter/material.dart';
import 'package:share_plus/share_plus.dart';
class Example extends Statele... | When I use Share.share using Flutter share_plus package the app bar disappears and the content of the screen moves up...and it doesn't look very nice. Simple example: [CODE] Anyone knows why that happens? | android|flutter|dart|share|appbar | 0 | 2022-07-01T21:24:43.867Z | 2,022 | 7 | 21 | 4 | 47 | 2 | 204 | 42 | 5 | 1 | true | false | false | false | false | false | zero |
72,834,762 | How To send request with different body to an Api with paging3 kotlin | <p>Hi I have a function inside my viewModel which make a pager and return a flow:</p>
<pre><code>fun loadLastMoviesList(genreId: Int) = Pager(config = PagingConfig(10)) {
LastMoviesPaging(repository, genreId)
}.flow.cachedIn(viewModelScope)
</code></pre>
<p>and a click listener in my HomeFragment which when... | Hi I have a function inside my viewModel which make a pager and return a flow: [CODE] and a click listener in my HomeFragment which whenever user click it execute the function with different genreId: [CODE] my problem is that when I click on an Item of recyclerView and it send new request with new body the new itm's ap... | android|kotlin|android-livedata|kotlin-flow|android-paging-3 | 0 | 2022-07-01T21:27:39.797Z | 2,022 | 7 | 21 | 4 | 46 | 0 | 708 | 69 | 5 | 4 | true | true | false | false | false | false | zero |
72,834,763 | Icon on top of another icon in Android | <p>I'm coding an android app (using java) maps-like and I use two kind of markers from Google Maps SKD: one for my current position, the other one indicates me places of intereset.</p>
<p>I set two different icons for these markers, how can I give to one of them the priority?
I want mu current position icon marker to b... | I'm coding an android app (using java) maps-like and I use two kind of markers from Google Maps SKD: one for my current position, the other one indicates me places of intereset. I set two different icons for these markers, how can I give to one of them the priority? I want mu current position icon marker to be shown ov... | java|android|android-studio|google-maps-markers|android-icons | 0 | 2022-07-01T21:27:45.123Z | 2,022 | 7 | 21 | 4 | 43 | 1 | 611 | 38 | 5 | 2 | true | false | false | false | false | false | zero |
72,834,851 | How to know what version of assertEquals to use | <p>I'm working on an app in Kotlin on Android Studio.
When working on a test, and I type "assertEquals" the method name is shown in red. If I type alt+enter, I get a choice of 3 versions.</p>
<pre><code>assertEquals(String, Object, Object) (of junit.framework.assert)
assertEquals(String, Object, Object) (of j... | I'm working on an app in Kotlin on Android Studio. When working on a test, and I type "assertEquals" the method name is shown in red. If I type alt+enter, I get a choice of 3 versions. [CODE] How does one know which to choose? | android|unit-testing|kotlin|junit|import | 0 | 2022-07-01T21:40:29.820Z | 2,022 | 7 | 21 | 4 | 38 | 0 | 236 | 47 | 5 | 1 | true | true | false | false | false | false | zero |
72,834,888 | How to send user to a different activity (intent is not working) | <p>**In this code, I would like to send the user to a different activity when they hit the see more button in the dropdown menu but when I try and run the line <code>startActivity(Intent(this,home::class.java ))</code> I get an error that says none of the following function can be called with the argument supplied **</... | **In this code, I would like to send the user to a different activity when they hit the see more button in the dropdown menu but when I try and run the line startActivity(Intent(this,home::class.java )) I get an error that says none of the following function can be called with the argument supplied ** [CODE] | android|kotlin | 0 | 2022-07-01T21:45:04.610Z | 2,022 | 7 | 21 | 4 | 56 | 1 | 309 | 64 | 2 | 1 | true | false | false | false | false | false | zero |
72,834,946 | Android Chrome clipboard write text/html does not appear to work | <p>According to: <a href="https://chromestatus.com/feature/5357049665814528" rel="nofollow noreferrer">https://chromestatus.com/feature/5357049665814528</a> it appears that Android Chrome does support clipboard copy of text/html. It references the following example url: <a href="https://hyper-silly-cross.glitch.me/" r... | According to: https://chromestatus.com/feature/5357049665814528 it appears that Android Chrome does support clipboard copy of text/html. It references the following example url: https://hyper-silly-cross.glitch.me/ which does not appear to work on any Android devices I have tried. Can other developers confirm if Androi... | javascript|android|google-chrome | 1 | 2022-07-01T21:54:53.487Z | 2,022 | 7 | 21 | 4 | 191 | 1 | 641 | 64 | 3 | 1 | true | false | false | false | false | false | low |
72,834,997 | Unable to initialize FirebaseApp - Flutter | <p>My project suddenly stopped running properly - it is unable to initialize FirebaseApp.</p>
<p>I've been using an old-fashioned Firebase configuration - Google-Services files directly from Firebase console. I switched to the command <code>flutterfire configure</code> but the error isn't gone. I also tried to delete w... | My project suddenly stopped running properly - it is unable to initialize FirebaseApp. I've been using an old-fashioned Firebase configuration - Google-Services files directly from Firebase console. I switched to the command flutterfire configure but the error isn't gone. I also tried to delete whole ios directory and ... | android|ios|flutter|firebase | 7 | 2022-07-01T22:03:15.830Z | 2,022 | 7 | 22 | 4 | 3,008 | 8 | 452 | 42 | 4 | 3 | true | false | true | false | false | false | medium |
72,835,051 | Flutter and Android Studio Publishing | <p>Ok I am starting to get into the Flutter programming. I am in the process of implementing Flutter in Android Studio.</p>
<p>My question is when publishing a Kotlin app you have to publish with a .aab file for uploading to Google Play.</p>
<p>My question is that when I get to the publishing aspect of Flutter. Is the ... | Ok I am starting to get into the Flutter programming. I am in the process of implementing Flutter in Android Studio. My question is when publishing a Kotlin app you have to publish with a .aab file for uploading to Google Play. My question is that when I get to the publishing aspect of Flutter. Is the publishing straig... | android|flutter|publishing | 0 | 2022-07-01T22:12:57.400Z | 2,022 | 7 | 22 | 4 | 33 | 2 | 480 | 37 | 3 | 0 | false | false | false | false | false | false | zero |
72,835,194 | Kotlin Change ViewText with an ID provided by a String | <p><strong>Goal:</strong> To get a ViewText resource and edit it from an activity, using a mutable string (because then the string can be changed to alter other ViewTexts in the same function).</p>
<p><strong>Context:</strong> I'm making a grid using TableRows and TextViews that can be altered to form a sort of map tha... | Goal: To get a ViewText resource and edit it from an activity, using a mutable string (because then the string can be changed to alter other ViewTexts in the same function). Context: I'm making a grid using TableRows and TextViews that can be altered to form a sort of map that can be generated from an array. Issue: The... | android|kotlin|binding | 1 | 2022-07-01T22:40:43.380Z | 2,022 | 7 | 22 | 4 | 40 | 1 | 549 | 54 | 3 | 2 | true | false | false | false | false | false | low |
72,835,419 | Android Studio Getting Image From Firebase storage | <p>Hi everyone im trying to get images from Firebase Storage, each one is named after the userID, the problem and putting the images in itemListView the problem is sometimes it shows the right image for a second then it changes to the same as the other user, but it grabs all the other information right</p>
<p><a href="... | Hi everyone im trying to get images from Firebase Storage, each one is named after the userID, the problem and putting the images in itemListView the problem is sometimes it shows the right image for a second then it changes to the same as the other user, but it grabs all the other information right but all the arrayli... | android|firebase|kotlin|firebase-storage | 0 | 2022-07-01T23:26:51.857Z | 2,022 | 7 | 23 | 4 | 28 | 0 | 433 | 50 | 4 | 1 | true | true | false | false | false | false | zero |
72,835,461 | Customizing AlertDialog.Builder with multiple Buttons and EditTexts programmatically | <p>The issue I've been running into is creating an AlertDialog popup that includes multiple EditTexts and Buttons, while also including the usual positive and negative buttons. With an additional '+' Button that would create another 'set' of EditTexts and Buttons below the previous one.
<a href="https://i.stack.imgur.c... | The issue I've been running into is creating an AlertDialog popup that includes multiple EditTexts and Buttons, while also including the usual positive and negative buttons. With an additional '+' Button that would create another 'set' of EditTexts and Buttons below the previous one. A visual example. I would also like... | android | 0 | 2022-07-01T23:34:39.290Z | 2,022 | 7 | 23 | 4 | 27 | 0 | 815 | 84 | 1 | 0 | false | true | false | false | false | false | zero |
72,835,673 | Questions for making an app to take high resolution photos | <p>I'm trying to create a camera app using an android smartphone.</p>
<p>The smartphone camera is a 64 megapixel camera.
When you get the resolution using cameraX
You can only get a camera with a maximum of 12 million pixels.
I tried it on Samsung Galaxy S21.</p>
<p>When I contacted Samsung's developer support, it seem... | I'm trying to create a camera app using an android smartphone. The smartphone camera is a 64 megapixel camera. When you get the resolution using cameraX You can only get a camera with a maximum of 12 million pixels. I tried it on Samsung Galaxy S21. When I contacted Samsung's developer support, it seems that I can only... | android|android-studio|kotlin | 0 | 2022-07-02T00:32:48.237Z | 2,022 | 7 | 0 | 5 | 34 | 0 | 587 | 58 | 3 | 0 | false | true | false | false | false | false | zero |
72,835,709 | android studio doesn't show some attributes | <p>some attributes doesn't show up in the attributes bar.
I have like to write most of them in the xml code file by myself for every item in the design screen.
dies anyone have solution for this problem?<a href="https://i.stack.imgur.com/lQOra.png" rel="nofollow noreferrer">enter image description here</a></p> | some attributes doesn't show up in the attributes bar. I have like to write most of them in the xml code file by myself for every item in the design screen. dies anyone have solution for this problem? enter image description here | java|android-studio | 0 | 2022-07-02T00:43:19.963Z | 2,022 | 7 | 0 | 5 | 33 | 0 | 229 | 43 | 2 | 0 | false | true | false | false | false | false | zero |
72,835,833 | Change hamburger menu from drawable to imageview | <p>I am building an app using a side menu and using <code>supportActionBar</code> to access to it</p>
<p><code>supportActionBar?.setHomeAsUpIndicator(R.drawable.ic_hamburger)</code></p>
<p>I would like to review the <code>R.drawable.ic_hamburger</code> by a <code>layout</code> with an <code>ImageView</code>. The goal i... | I am building an app using a side menu and using supportActionBar to access to it supportActionBar?.setHomeAsUpIndicator(R.drawable.ic_hamburger) I would like to review the R.drawable.ic_hamburger by a layout with an ImageView . The goal is to display a circle shape profile picture instead of a standard icon. I cannot ... | android|kotlin|android-actionbar|android-navigationview | 0 | 2022-07-02T01:18:44.783Z | 2,022 | 7 | 1 | 5 | 48 | 0 | 358 | 48 | 4 | 0 | false | true | false | false | false | false | zero |
72,835,845 | Pure CSS carousel behaves incorrectly if there is an overlapping element with pointer-events: none (Chrome and Android) | <p>In my testing so far Chrome with mobile inspector or actual Android phone (my Pixel 6) both are experiencing incorrect dragging behavior if there is an overlapping element that has <code>pointer-events: none</code> on it. Amazingly it's working as expected in iOS.</p>
<p>Here's a quick code sandbox I made that shows... | In my testing so far Chrome with mobile inspector or actual Android phone (my Pixel 6) both are experiencing incorrect dragging behavior if there is an overlapping element that has pointer-events: none on it. Amazingly it's working as expected in iOS. Here's a quick code sandbox I made that shows the issue, you can tog... | android|css|google-chrome|carousel|pointer-events | 0 | 2022-07-02T01:24:23.210Z | 2,022 | 7 | 1 | 5 | 49 | 0 | 805 | 119 | 5 | 3 | true | true | false | false | false | false | zero |
72,835,995 | How to use Xamarin Android LocationManager.GetCurrentLocation? | <p>How can you use <code>LocationManager.GetCurrentLocation</code> with Xamarin.Android?</p>
<p>Specifically, I can't figure out how to use the IConsumer parameter required.</p>
<p><strong>Here's the documentation for it:</strong></p>
<p><a href="https://docs.microsoft.com/en-us/dotnet/api/android.locations.locationman... | How can you use LocationManager.GetCurrentLocation with Xamarin.Android? Specifically, I can't figure out how to use the IConsumer parameter required. Here's the documentation for it: https://docs.microsoft.com/en-us/dotnet/api/android.locations.locationmanager.getcurrentlocation?view=xamarin-android-sdk-12 EDIT : If I... | android|xamarin|xamarin.android | 0 | 2022-07-02T02:08:30.393Z | 2,022 | 7 | 2 | 5 | 51 | 0 | 766 | 62 | 3 | 1 | true | true | false | false | false | false | zero |
72,836,038 | sorting user list to alphabetical order in android studio | <p>I am making a chat application and want to arrange user in users list from firebaseStore in alphabetical order. if new users register with the application, these users will be added to the list automatically and arrange in alphabetical order ( like A to B to C, ..). I try to search the answer but I don't find the s... | I am making a chat application and want to arrange user in users list from firebaseStore in alphabetical order. if new users register with the application, these users will be added to the list automatically and arrange in alphabetical order ( like A to B to C, ..). I try to search the answer but I don't find the solut... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-02T02:20:49.673Z | 2,022 | 7 | 2 | 5 | 145 | 2 | 1,214 | 57 | 5 | 1 | true | false | false | false | false | false | zero |
72,836,047 | how to get the path of the image in android | <p>Hello I'm trying to get the path of the image so I can send it to the server by using retrofit 2.0</p>
<p>So I keep getting the errors:</p>
<blockquote>
<p>java.io.FileNotFoundException: : open failed: ENOENT (No such file or directory)</p>
</blockquote>
<p>OR</p>
<blockquote>
<p>"open failed: EISDIR (Is a dire... | Hello I'm trying to get the path of the image so I can send it to the server by using retrofit 2.0 So I keep getting the errors: java.io.FileNotFoundException: : open failed: ENOENT (No such file or directory) OR "open failed: EISDIR (Is a directory)" Here's my code to get the image : [CODE] Then for the Acti... | android|image|swagger|retrofit2|multipartform-data | 0 | 2022-07-02T02:23:04.833Z | 2,022 | 7 | 2 | 5 | 27 | 0 | 492 | 43 | 5 | 2 | true | true | false | false | false | false | zero |
72,836,092 | Why do I get only a part of string when I use getString in Kotlin? | <p>I saved a string in resources file, I run Code A and get Result A, I hope to get the Result B.</p>
<p>What's wrong with my code?</p>
<p><strong>Result A</strong></p>
<pre><code>Recommend the app to a friend
</code></pre>
<p><strong>Code A</strong></p>
<pre><code> val context = LocalContext.current
val temp=cont... | I saved a string in resources file, I run Code A and get Result A, I hope to get the Result B. What's wrong with my code? Result A [CODE] Code A [CODE] Result B [CODE] | android-studio|kotlin | -1 | 2022-07-02T02:37:25.087Z | 2,022 | 7 | 2 | 5 | 43 | 1 | 167 | 66 | 2 | 3 | true | false | false | false | false | true | negative |
72,836,239 | Rotating icon within FAB not the FAB itself | <p>I am trying to implement a FAB similar to Google Calendar's (<a href="https://i.imgur.com/7nawS7g.gif" rel="nofollow noreferrer">Animation here</a>). There the plus icon morphs into the calendar icon and rotates. I can't quite figure out how they are doing this. All I could do it to create two FABs with one being in... | I am trying to implement a FAB similar to Google Calendar's ( Animation here ). There the plus icon morphs into the calendar icon and rotates. I can't quite figure out how they are doing this. All I could do it to create two FABs with one being invisible. Once the plus FAB is clicked, I switch the FABs' visibility and ... | android|user-interface|floating-action-button | 1 | 2022-07-02T03:27:24.883Z | 2,022 | 7 | 3 | 5 | 35 | 1 | 516 | 43 | 3 | 2 | true | false | false | false | false | false | low |
72,836,406 | Flutter engine stop running ent exit the app if I use workmanager package | <p>This only happens if I use <code><strong>workmanager</strong></code> Package I think there is conflict with some google packages or <code>flutter_tesseract_ocr</code></p>
<pre class="lang-dart prettyprint-override"><code>void callbackDispatcher() {
Workmanager().executeTask((task, inputData) {
print('I dont kn... | This only happens if I use workmanager Package I think there is conflict with some google packages or flutter_tesseract_ocr [CODE] [CODE] | java|android|flutter|dart|flutter-dependencies | 0 | 2022-07-02T04:17:55.160Z | 2,022 | 7 | 4 | 5 | 70 | 0 | 137 | 73 | 5 | 2 | true | true | false | false | false | false | zero |
72,836,563 | Exoplayer Mime type for (.smi) subtitle files | <p>I am trying to integrate subtitles into videos using Exoplayer. Currently only <code>.srt</code> subtitle files are working with <code>MIMETypes.APPLICATION_SUBRIP</code>. How do I make it work for <code>.smi</code> subtitle files.</p>
<pre><code>MediaItem.SubtitleConfiguration subtitleConfiguration = new MediaItem.... | I am trying to integrate subtitles into videos using Exoplayer. Currently only .srt subtitle files are working with MIMETypes.APPLICATION_SUBRIP . How do I make it work for .smi subtitle files. [CODE] | android|exoplayer|subtitle | 1 | 2022-07-02T04:58:50.877Z | 2,022 | 7 | 4 | 5 | 84 | 1 | 200 | 45 | 3 | 1 | true | false | false | false | false | false | low |
72,836,617 | Google places library in android | <p>Do Autocomplete prediction uses place nearby search inbuild. Places API costing high when using FindAutocompletePredictionsRequest in android.</p>
<p>I am using FindAutocompletePredictionsRequest in android and ios but it is costing Near by places search api, contact data and atmosphere data.</p> | Do Autocomplete prediction uses place nearby search inbuild. Places API costing high when using FindAutocompletePredictionsRequest in android. I am using FindAutocompletePredictionsRequest in android and ios but it is costing Near by places search api, contact data and atmosphere data. | android | 1 | 2022-07-02T05:09:37.077Z | 2,022 | 7 | 5 | 5 | 13 | 0 | 286 | 32 | 1 | 0 | false | true | false | false | false | false | low |
72,836,639 | I can't install the google written app even though the apk I originally had was deleted | <p>Help please</p>
<p>I wanted to update a game that I was playing, but it was a modded apk. I deleted the one I had and went to download the updated modded apk but it wouldn't let me because it said "app not installed as package conflicts with an existing package". At this point I'm confused because the game... | Help please I wanted to update a game that I was playing, but it was a modded apk. I deleted the one I had and went to download the updated modded apk but it wouldn't let me because it said "app not installed as package conflicts with an existing package". At this point I'm confused because the game is nowher... | android|apk|adb | 0 | 2022-07-02T05:15:30.323Z | 2,022 | 7 | 5 | 5 | 67 | 1 | 1,346 | 87 | 3 | 0 | false | false | false | false | false | false | zero |
72,836,640 | Get result from activity that opened with intent filter | <p>I have an intent filter like below to open specific activity when custom scheme and host called:</p>
<pre><code><activity
android:name=".PurchaseActivity"
android:exported="true"
android:noHistory="true">
<intent-filter>
<action... | I have an intent filter like below to open specific activity when custom scheme and host called: [CODE] because I don't open this PurchaseActivity via code (it's just an intent-filter that opened automatically when test://payment called) I can't call startActivityForResult , registerForActivityResult , ... inside Purch... | android|kotlin|android-intent|android-activity|intentfilter | 0 | 2022-07-02T05:15:31.303Z | 2,022 | 7 | 5 | 5 | 53 | 0 | 394 | 55 | 5 | 1 | true | true | false | false | false | false | zero |
72,836,704 | Why does my window crash when i flutter run? | <p>Am currently working on a Flutter project, First everything was working fine but now for some reason whenever i tried to flutter run my project to a usb-connected devices my window just blue screen crash on me.</p> | Am currently working on a Flutter project, First everything was working fine but now for some reason whenever i tried to flutter run my project to a usb-connected devices my window just blue screen crash on me. | android|windows|flutter | 0 | 2022-07-02T05:32:12.777Z | 2,022 | 7 | 5 | 5 | 27 | 0 | 210 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
72,836,747 | Android WebView Database Image Not Display | <p>I am trying to Convert a Website to Android Applications with Android Studio (JAVA).
all type of Local image of Server is Displaying Well But The Image which is from Database with Laravel Voyager Storage it's not Showing on WebView.</p>
<p>[Note: Chrome and Others Brower Display properly only WebView not showing up ... | I am trying to Convert a Website to Android Applications with Android Studio (JAVA). all type of Local image of Server is Displaying Well But The Image which is from Database with Laravel Voyager Storage it's not Showing on WebView. [Note: Chrome and Others Brower Display properly only WebView not showing up from Datab... | android|laravel | 0 | 2022-07-02T05:41:44.647Z | 2,022 | 7 | 5 | 5 | 24 | 0 | 392 | 42 | 2 | 2 | true | true | false | false | false | false | zero |
72,836,769 | How to build toxcore libraries on android using cygwin? | <p>I asked a rather difficult question for me about compiling the toxcore library for Android. I read the instructions on the official git page, but without success.</p>
<ol>
<li>I tried to build on a virtual machine under the lubuntu shell, but unfortunately I got only the toxcore library (you also need toxencryptsave... | I asked a rather difficult question for me about compiling the toxcore library for Android. I read the instructions on the official git page, but without success. I tried to build on a virtual machine under the lubuntu shell, but unfortunately I got only the toxcore library (you also need toxencryptsave). And the libra... | android|qt|clang|qt5 | 0 | 2022-07-02T05:47:26.903Z | 2,022 | 7 | 5 | 5 | 24 | 0 | 793 | 55 | 4 | 0 | false | true | false | false | false | false | zero |
72,836,938 | Break the chain of work manager requests list for some specific condition or in case of failure | <p>I have three work requests as below</p>
<pre><code> val imageWorker = OneTimeWorkRequestBuilder<ImageUploadingWorker>()
.setConstraints(constraints)
.addTag("imageWork")
.build()
val gpSurveyWorker = OneTimeWorkRequestBuilder<GpSurveyUploadingWorker>()
.s... | I have three work requests as below [CODE] and I enqueue them in work Manager as [CODE] Now my question is that suppose that the second request name as gpSurveyWorker is failed or might be for some specific result from that worker I need to break the chain and execute a specific worker. I don't know how it is possible.... | android|kotlin|android-workmanager | 0 | 2022-07-02T06:26:46.940Z | 2,022 | 7 | 6 | 5 | 38 | 0 | 381 | 95 | 3 | 2 | true | true | false | false | false | false | zero |
72,836,957 | How to retain state of a fragment while switching between different fragments | <p>I have an activity consisting of 3 fragments and a bottom navigation view which navigates the user to different fragments.
Let say the fragments are A, B and C.
The issue I am facing is that if I have performed some operation in A, and I navigate to B, then, when I again navigate to A (from bottom navigation view an... | I have an activity consisting of 3 fragments and a bottom navigation view which navigates the user to different fragments. Let say the fragments are A, B and C. The issue I am facing is that if I have performed some operation in A, and I navigate to B, then, when I again navigate to A (from bottom navigation view and N... | android|fragment | 0 | 2022-07-02T06:30:43.327Z | 2,022 | 7 | 6 | 5 | 22 | 0 | 704 | 77 | 2 | 0 | false | true | false | false | false | false | zero |
72,836,969 | Is there any solution to solve range error while scraping table data from website? | <p>Step1: I have provided the directory of accessing the web data by storing it in a variable:</p>
<pre><code>final response = await http.get(url);
dom.Document html = dom.Document.html(response.body);
final engTable = _getengFee(html.querySelectorAll(
' div > div > div > div > div > div > div ... | Step1: I have provided the directory of accessing the web data by storing it in a variable: [CODE] Step2: Now I have created a method [CODE] The output gives me an error E/flutter (13030): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: RangeError (index): Invalid value: Only valid value is 0: 1 E/flu... | flutter|android-studio|dart|web-scraping | 0 | 2022-07-02T06:33:03.203Z | 2,022 | 7 | 6 | 5 | 37 | 1 | 490 | 82 | 4 | 2 | true | false | false | false | false | false | zero |
72,837,069 | [Android Emulator][Windows]Cannot debug react native app in visual studio code | <p>I set breakpoint on vs code and attach to packager but the program just skipped the breakpoint. Here are the steps of debugging in vs code. Are there any problems.</p>
<ol>
<li>install react native tools</li>
<li>create launch.json</li>
</ol>
<pre><code>{
// Use IntelliSense to learn about possible attributes.
/... | I set breakpoint on vs code and attach to packager but the program just skipped the breakpoint. Here are the steps of debugging in vs code. Are there any problems. install react native tools create launch.json [CODE] npm start and click run on Android device/Emulator Click Attach to packager in vs code There are no err... | android|react-native|visual-studio-code | 0 | 2022-07-02T06:54:19.467Z | 2,022 | 7 | 6 | 5 | 52 | 0 | 407 | 78 | 3 | 1 | true | true | false | false | false | false | zero |
72,837,078 | How to fix Depricated Api error on Android studio | <p>Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.</p>
<pre><code> new Handler().postDelayed(new Runnable() {
@Override
public void run() {
Intent intent = new Intent(SplashScreenActivity.this,Language_Activity.class);
... | Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. [CODE] | java|android | 1 | 2022-07-02T06:55:53.640Z | 2,022 | 7 | 6 | 5 | 23 | 0 | 116 | 49 | 2 | 1 | true | true | false | false | false | false | low |
72,837,092 | How to update textviews when data is updated in firebase | <p>I have a quotes app, and what I do is I store new quotes in excel and then convert them to JSON (as well as the old ones), and then import the json file into Firebase.</p>
<p>Now the problem is when I do this if my app is already running and I request a new quote to display, the total number of quotes (for example 1... | I have a quotes app, and what I do is I store new quotes in excel and then convert them to JSON (as well as the old ones), and then import the json file into Firebase. Now the problem is when I do this if my app is already running and I request a new quote to display, the total number of quotes (for example 1000) gets ... | java|android|firebase|firebase-realtime-database|textview | 3 | 2022-07-02T06:58:41.403Z | 2,022 | 7 | 6 | 5 | 134 | 1 | 942 | 56 | 5 | 2 | true | false | false | false | false | false | low |
72,837,097 | ADB Shows "unauthorized" device, on a device with a broken screen. How do I authorize the session while "blind"? | <p>I've done a bunch of reading on this topic and I believe this is the closest you can probably get, but I don't know if it's possible to do this in fastboot mode or another mode other than normal.</p>
<p><code> shell$ cd ~/.android/</code></p>
<p><code> shell$ adb push adbkey.pub /data/misc/adb/adb_keys</code><... | I've done a bunch of reading on this topic and I believe this is the closest you can probably get, but I don't know if it's possible to do this in fastboot mode or another mode other than normal. shell$ cd ~/.android/ shell$ adb push adbkey.pub /data/misc/adb/adb_keys This will push your key to the device, but obviousl... | android|usb|adb|android-debug|android-debugging | 0 | 2022-07-02T07:00:07.440Z | 2,022 | 7 | 7 | 5 | 221 | 0 | 831 | 112 | 5 | 0 | false | true | false | false | false | false | zero |
72,837,246 | parse No Key json list with moshi in Android | <p>What I am trying to do is to get Json response from GitHub API call of user's repository list.</p>
<p>response example from Github is like below.</p>
<pre><code>[
{
"id": 78688034,
"node_id": "MDEwOlJlcG9zaXRvcnk3ODY4ODAzNA==",
"name": "py3status",
... | What I am trying to do is to get Json response from GitHub API call of user's repository list. response example from Github is like below. [CODE] As you can see, the response is in arrayList form but with NO Key value . Since this response doesn't have Key value for Json List, auto generated data classes look like thes... | android|json|kotlin|retrofit2|moshi | -2 | 2022-07-02T07:23:14.637Z | 2,022 | 7 | 7 | 5 | 47 | 1 | 634 | 44 | 5 | 6 | true | false | false | false | false | true | negative |
72,837,284 | How can i get android accent colors from ADB or root | <p>I am trying to get Android 12 monet colors from ADB shell or Root, but not able to find them.
Its fine even its stored in any format even long.</p> | I am trying to get Android 12 monet colors from ADB shell or Root, but not able to find them. Its fine even its stored in any format even long. | android|root | 0 | 2022-07-02T07:29:53.953Z | 2,022 | 7 | 7 | 5 | 89 | 0 | 143 | 52 | 2 | 0 | false | true | false | false | false | false | zero |
72,837,296 | all texts in gradle.build is red but it working fine | <p><a href="https://i.stack.imgur.com/A8D5s.png" rel="nofollow noreferrer">Build.gradle file screen shot</a></p>
<p>So this is I'm seeing build.gradle file. tho code is working fine. I'm concern about all these red color.
It started happening since I update my android studio to <strong>Bumblebee | 2021.1.1 Patch 3</str... | Build.gradle file screen shot So this is I'm seeing build.gradle file. tho code is working fine. I'm concern about all these red color. It started happening since I update my android studio to Bumblebee | 2021.1.1 Patch 3 Is there any way to get rid of this ? | android|android-studio | 0 | 2022-07-02T07:31:33.200Z | 2,022 | 7 | 7 | 5 | 20 | 0 | 259 | 52 | 2 | 0 | false | true | false | false | false | false | zero |
72,837,312 | How can I pass the checked radio button value into text View in kotlin android studio? | <p>I made a dialogue box and I put radio group in it and I add three radio button 1)male 2)female 3)others if user select male so the selected radio button male should be shown in text View</p> | I made a dialogue box and I put radio group in it and I add three radio button 1)male 2)female 3)others if user select male so the selected radio button male should be shown in text View | android-studio|kotlin|radio-button|radio-group | 0 | 2022-07-02T07:33:34.723Z | 2,022 | 7 | 7 | 5 | 137 | 1 | 186 | 86 | 4 | 0 | false | false | false | false | false | false | zero |
72,837,320 | Im trying implement cast on my app but cast icon not show | <p>I'm trying to add an android cast for my android app but my cast icon does not show on my app.</p>
<p>Here is my menu Code</p>
<pre><code> <item
android:id="@+id/media_route_menu_item"
android:title="@string/media_route_menu_title"
app:actionProviderClass="androidx.mediarou... | I'm trying to add an android cast for my android app but my cast icon does not show on my app. Here is my menu Code [CODE] And this is my Cast options provider. I'm not registered with the google cast developer console so IM using CastMediaControlIntent.DEFAULT_MEDIA_RECEIVER_APPLICATION_ID here [CODE] } And here is my... | android|android-studio|kotlin|chromecast|android-cast-api | 0 | 2022-07-02T07:34:59.540Z | 2,022 | 7 | 7 | 5 | 29 | 0 | 412 | 57 | 5 | 3 | true | true | false | false | false | false | zero |
72,837,349 | How to Handle Switch Button When build on Actionbar Android Studio | <p><em>Some items of the action bar item were to be shown in the some fragment (which is the switch button), if Switch Button state is changed, the same layout then goes forward and then comes back then it comes to its initial state.</em><a href="https://i.stack.imgur.com/Cyxwy.png" rel="nofollow noreferrer"><img src="... | Some items of the action bar item were to be shown in the some fragment (which is the switch button), if Switch Button state is changed, the same layout then goes forward and then comes back then it comes to its initial state. | java|android|android-actionbar|navigationcontroller | 1 | 2022-07-02T07:39:39.147Z | 2,022 | 7 | 7 | 5 | 37 | 1 | 226 | 66 | 4 | 0 | false | false | false | false | false | false | low |
72,837,351 | How to get the position of data push in realtime database Anroid Java? | <p><strong>I have JSON tree structure like this</strong></p>
<pre><code>SampleData
-sampleEmail
-Push key // Generated by .push() in realtime database
"data1" : "Sample Data 1"
"data2" : "Sample Data 2"
"data3" : "Sample Data 3"
-Push ke... | I have JSON tree structure like this [CODE] Does firebase have method to get the position of push key like (0, 1, 2,...) Im working with RecyclerViewAdapter and I want to compare the holder position and the position in database to get the specific item. Is there a way to that? | java|android|firebase|firebase-realtime-database | 0 | 2022-07-02T07:39:51.687Z | 2,022 | 7 | 7 | 5 | 20 | 1 | 277 | 70 | 4 | 1 | true | false | false | false | false | false | zero |
72,837,417 | Is there a way to make only the navigation bar in android transparent | <p>I'm trying to make an app where the status bar is untouched, however, the navigation bar is transparent.</p>
<p>I currently have this code running in <code>MainActivity.java</code></p>
<pre class="lang-java prettyprint-override"><code>public class MainActivity extends BridgeActivity {
@Override
protected voi... | I'm trying to make an app where the status bar is untouched, however, the navigation bar is transparent. I currently have this code running in MainActivity.java [CODE] This does make the navigation bar fully transparent, which is what I wanted, however, it also makes the status bat disappear. Can anyone please steer me... | android | 0 | 2022-07-02T07:50:38.547Z | 2,022 | 7 | 7 | 5 | 24 | 0 | 344 | 69 | 1 | 1 | true | true | false | false | false | false | zero |
72,837,449 | Kotlin Recyclerview change item color onClick | <p>i have a Recyclerview adapter in Kotlin and when i click it change the color to Red but if i click another item, the previous item still have the Red color. How to make the logic when the item click it will change Red and when click another item it will back to default color and new item become Red.</p>
<p>this is t... | i have a Recyclerview adapter in Kotlin and when i click it change the color to Red but if i click another item, the previous item still have the Red color. How to make the logic when the item click it will change Red and when click another item it will back to default color and new item become Red. this is the adapter... | kotlin|android-recyclerview|android-adapter|android-viewbinding|android-diffutils | 0 | 2022-07-02T07:55:57.507Z | 2,022 | 7 | 7 | 5 | 84 | 1 | 365 | 45 | 5 | 2 | true | false | false | false | false | false | zero |
72,837,494 | How to resolve the error related send and recieve firebase notification using php and android? | <p>I want to send a notification to firebase from the backend and what to receive it on the android app.</p>
<p><strong>Steps which I have followed</strong></p>
<ol>
<li><p>Set up an android client and fetch the current token and store it on
backend as sown below</p>
<pre><code>private void getToken() {
FirebaseMes... | I want to send a notification to firebase from the backend and what to receive it on the android app. Steps which I have followed Set up an android client and fetch the current token and store it on backend as sown below [CODE] Wrote PHP code to send messages [CODE] It has successfully inserted notifications details in... | php|android|firebase|firebase-cloud-messaging | 0 | 2022-07-02T08:05:38.743Z | 2,022 | 7 | 8 | 5 | 41 | 1 | 613 | 94 | 4 | 3 | true | false | false | false | false | false | zero |
72,837,623 | Unhandled Exception: type 'String' is not a subtype of type 'int' of 'index' in flutter | <p>Am getting a json response from server that looks like this</p>
<pre class="lang-json prettyprint-override"><code>[
{
"player": {
"id": 146,
"is_cap": false,
"average_skill": 5,
"region": {
&... | Am getting a json response from server that looks like this [CODE] And am accessing it with a model that looks like this [CODE] After getting the response am trying to create a model using this function [CODE] so this line String theLogo = single_item['team']['logo']; causes the following error [CODE] | android|ios|json|flutter|dart | 1 | 2022-07-02T08:27:28.327Z | 2,022 | 7 | 8 | 5 | 122 | 2 | 302 | 87 | 5 | 4 | true | false | false | false | false | false | low |
72,837,658 | Validating data from a database | <p>I am trying to create a registration screen. When the registration button is pressed, I want the program to check if the provided username already exists in the database. Is it does, it will not proceed with the registration. Problem is, I cannot, find a way to access the data. Here's the related code</p>
<pre class... | I am trying to create a registration screen. When the registration button is pressed, I want the program to check if the provided username already exists in the database. Is it does, it will not proceed with the registration. Problem is, I cannot, find a way to access the data. Here's the related code [CODE] [CODE] [CO... | android|kotlin|android-room|android-jetpack-compose | 0 | 2022-07-02T08:34:45.060Z | 2,022 | 7 | 8 | 5 | 49 | 1 | 323 | 31 | 4 | 3 | true | false | false | false | false | false | zero |
72,837,860 | Switch and checkbox setchecked function not working in android studio | <pre><code>import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
i... | [CODE] this is my code i want to set the switch to true but it doesnt work, i want to read value from firebase and based on that i want to set switch to true or false i also tried to used setchecked and setselected on checkbox and switch and radiobutton but nothing work , what im doing wrong ? [CODE] this is my activit... | java|android-studio | 0 | 2022-07-02T09:10:12.793Z | 2,022 | 7 | 9 | 5 | 53 | 1 | 330 | 69 | 2 | 2 | true | false | false | false | false | false | zero |
72,837,864 | How to disable android autobackup for my app in code | <p>I am trying to add the ability for users to disable auto backup in my app.
Is it possible to check the saved preference value in onRestore?</p>
<pre><code>public class BackupAgent extends BackupAgentHelper {
public static final String AUTO_BACKUP_ENABLED = "auto_backup_enabled";
@Override
public void onC... | I am trying to add the ability for users to disable auto backup in my app. Is it possible to check the saved preference value in onRestore? [CODE] } | android|android-backup-service | 0 | 2022-07-02T09:10:38.623Z | 2,022 | 7 | 9 | 5 | 23 | 0 | 148 | 52 | 2 | 1 | true | true | false | false | false | false | zero |
72,837,978 | Expo Manifest merger failed error on android build | <p>I get this error while trying to run the android app with expo:</p>
<pre><code>FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : Attribute manifest@tools value=(http://schemas.android.com/tools) from AndroidManifest.x... | I get this error while trying to run the android app with expo: [CODE] I investigated similar questions but can't find the exact error anywhere. It was working fine a few months ago so I really don't know what's causing it. Here is my AndroidManifest file: [CODE] | android|react-native|expo | 0 | 2022-07-02T09:29:52.110Z | 2,022 | 7 | 9 | 5 | 105 | 0 | 263 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
72,838,005 | How to upgrade app bundle or delete previous version app bundle from google console | <p>By mistake, I uploaded to Version code 999999999. to internal testing to google console.
Now I want to upload version code 1.
but I can't do it.
It gives the below error</p>
<p><em>Error
You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added app bundles.</em></p>
<p>... | By mistake, I uploaded to Version code 999999999. to internal testing to google console. Now I want to upload version code 1. but I can't do it. It gives the below error Error You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added app bundles. is there any way to delete... | android|google-play-services|google-play-console|mobile-application|google-developers-console | 0 | 2022-07-02T09:34:06.590Z | 2,022 | 7 | 9 | 5 | 70 | 1 | 386 | 83 | 5 | 0 | false | false | false | false | false | false | zero |
72,838,077 | Speed up SensorManager when I use Priority.PRIORITY_HIGH_ACCURACY in LocationServices | <p>In the project, I use Google's LocationServices and SensorManager at the same time.
When I use SensorManager.SENSOR_DELAY_GAME, 50 frequency values are generated every second.
When I use Priority.PRIORITY_HIGH_ACCURACY in LocationServices, the speed of SensorManager in Android 11 and 12 becomes 100 frequencies every... | In the project, I use Google's LocationServices and SensorManager at the same time. When I use SensorManager.SENSOR_DELAY_GAME, 50 frequency values are generated every second. When I use Priority.PRIORITY_HIGH_ACCURACY in LocationServices, the speed of SensorManager in Android 11 and 12 becomes 100 frequencies every se... | android | 0 | 2022-07-02T09:45:58.373Z | 2,022 | 7 | 9 | 5 | 18 | 0 | 400 | 85 | 1 | 1 | true | true | false | false | false | false | zero |
72,838,110 | Time taken to remove Firebase Realtime Database Listener | <p>My question is simple "how much time does it take to remove a listener?"</p>
<p>I am asking this because when I assign a ValueEventListener to a specific place in a real-time database and remove it after the work is done. Now, if still the changes are made to the same database location where the listener w... | My question is simple "how much time does it take to remove a listener?" I am asking this because when I assign a ValueEventListener to a specific place in a real-time database and remove it after the work is done. Now, if still the changes are made to the same database location where the listener was working... | android|firebase|kotlin|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-02T09:51:32.797Z | 2,022 | 7 | 9 | 5 | 49 | 0 | 1,768 | 56 | 5 | 1 | true | true | false | false | false | false | zero |
72,838,140 | Upload image without losing quality and small size | <p>i want to upload images on my host with retrofit , and i use this codes.</p>
<p>target is upload images with low size and original quality , can you help me please ?</p>
<p>ImageChooser:</p>
<pre><code>private void imageChooser1() {
Intent pickPhoto = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERN... | i want to upload images on my host with retrofit , and i use this codes. target is upload images with low size and original quality , can you help me please ? ImageChooser: [CODE] onActivityResult: [CODE] Multipart prepare: [CODE] Upload Function: [CODE] if i remove snip section from imageChooser , uploaded images will... | java|android|upload|retrofit | 0 | 2022-07-02T09:56:41.563Z | 2,022 | 7 | 9 | 5 | 27 | 0 | 436 | 50 | 4 | 4 | true | true | false | false | false | false | zero |
72,838,156 | Stop rotation of osmdroid custom icon when user is moving | <p>To set icons in osmdroid map I use <code>myLocationNewOverlay.setDirectionArrow(bitmapIcon, bitmapIcon);</code>, but the icon rotate when the user moves.</p>
<p>Is there any way to stop the rotation of the icon when it is in motion?</p>
<p>I want the image to always be like this, even if the user is moving:</p>
<p><... | To set icons in osmdroid map I use myLocationNewOverlay.setDirectionArrow(bitmapIcon, bitmapIcon); , but the icon rotate when the user moves. Is there any way to stop the rotation of the icon when it is in motion? I want the image to always be like this, even if the user is moving: At the moment when the user moves the... | java|android|dictionary|icons|osmdroid | 0 | 2022-07-02T09:57:59.607Z | 2,022 | 7 | 9 | 5 | 46 | 0 | 359 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
72,838,277 | How to import and manage conflicts an excel file into room sqlite database? | <p>I want to import an excel file into my database designed with room library on android.
I can export the database using a library but for import i need to check items and handle conflicts but I don't know how.</p> | I want to import an excel file into my database designed with room library on android. I can export the database using a library but for import i need to check items and handle conflicts but I don't know how. | java|android|database|sqlite|android-room | 0 | 2022-07-02T10:16:46.447Z | 2,022 | 7 | 10 | 5 | 55 | 1 | 208 | 75 | 5 | 0 | false | false | false | false | false | false | zero |
72,838,279 | Caused by: org.gradle.plugin.internal.InvalidPluginIdException: plugin id 'androidx.navigation:navigation-safe-args-gradle-plugin' is invalid? | <p>I am developing new android app where I am using android navigation component but when I run the project I am getting following Caused by: org.gradle.plugin.internal.InvalidPluginIdException: plugin id 'androidx.navigation:navigation-safe-args-gradle-plugin' is invalid</p>
<p>below my build.gradle</p>
<pre><code>... | I am developing new android app where I am using android navigation component but when I run the project I am getting following Caused by: org.gradle.plugin.internal.InvalidPluginIdException: plugin id 'androidx.navigation:navigation-safe-args-gradle-plugin' is invalid below my build.gradle [CODE] below my app.gradle [... | android|kotlin|gradle|android-architecture-navigation|android-navigation | 0 | 2022-07-02T10:16:55.167Z | 2,022 | 7 | 10 | 5 | 140 | 1 | 573 | 142 | 5 | 2 | true | false | false | false | false | false | zero |
72,838,302 | API 19 and Bluetooth Low Energy | <p>I am currently working on a project to connect a Google Glass Explorer Edition (Android Kitkat and therefore API 19) to an Arduino board emitting data in BLE.</p>
<p>I have checked that this is possible and I have found and installed an APK that manages to make the link. However, I want to make a slightly different ... | I am currently working on a project to connect a Google Glass Explorer Edition (Android Kitkat and therefore API 19) to an Arduino board emitting data in BLE. I have checked that this is possible and I have found and installed an APK that manages to make the link. However, I want to make a slightly different applicatio... | java|android|arduino|bluetooth-lowenergy | 1 | 2022-07-02T10:21:30.337Z | 2,022 | 7 | 10 | 5 | 56 | 1 | 859 | 31 | 4 | 2 | true | false | false | false | false | false | low |
72,838,356 | Error while displaying data from Firebase Database to RecyclerView | <p>We have been facing this error while our app tries to display data from our Firebase Database. Here is the error shown in logcat:</p>
<blockquote>
<p>com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.example.projectrefill.retailer_model_datewise_dispwhenpressed... | We have been facing this error while our app tries to display data from our Firebase Database. Here is the error shown in logcat: com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.example.projectrefill.retailer_model_datewise_dispwhenpressed Here is the screenshot... | java|android|firebase-realtime-database|android-recyclerview | 0 | 2022-07-02T10:30:00.093Z | 2,022 | 7 | 10 | 5 | 25 | 1 | 639 | 66 | 4 | 3 | true | false | false | false | false | false | zero |
72,838,372 | how to changes files name dynamically in android studio? | <p>problem- only one files is save to the external storage with global name.
How to get the idea to changes the file name dynamically changes.</p>
<pre><code>private String FILE_NAME = "billReceipt"; // I declared this variable as globally
encodedBase64 = response;
try{
... | problem- only one files is save to the external storage with global name. How to get the idea to changes the file name dynamically changes. [CODE] | android-studio|file|pdf|android-external-storage | 0 | 2022-07-02T10:33:53.667Z | 2,022 | 7 | 10 | 5 | 25 | 0 | 146 | 56 | 4 | 1 | true | true | false | false | false | false | zero |
72,838,397 | Calling an API from BroadcastReceiver android fails | <p>I have written a WifiBroadcastReceiver that is triggered when there is a change in Wifi state. I have used the below intent filter for the same.</p>
<pre><code><intent-filter>
<action android:name="android.net.wifi.STATE_CHANGE" />
</intent-filter>
</code></pre>
<p>Whenever there is... | I have written a WifiBroadcastReceiver that is triggered when there is a change in Wifi state. I have used the below intent filter for the same. [CODE] Whenever there is a change in wifi state, onReceive from WifiBroadcastReceiver is being called as expected. However, I am trying to make a API request in onReceive() me... | android|android-intent|broadcastreceiver|android-volley|intentfilter | 0 | 2022-07-02T10:39:19.120Z | 2,022 | 7 | 10 | 5 | 28 | 1 | 708 | 51 | 5 | 2 | true | false | false | false | false | false | zero |
72,838,450 | Firebase receive messages from Android | <p>I want my users to send different short messages to firebase where I can count them manually.
Basically something like this:</p>
<p>user_a sends 'hello world'</p>
<p>user_a sends 'test'</p>
<p>user_b sends 'hello world'</p>
<p>I need a service that can log/store these messages or maybe even analytics of the messages... | I want my users to send different short messages to firebase where I can count them manually. Basically something like this: user_a sends 'hello world' user_a sends 'test' user_b sends 'hello world' I need a service that can log/store these messages or maybe even analytics of the messages ('hello world': 2, 'test': 1).... | java|android|firebase | 0 | 2022-07-02T10:48:44.353Z | 2,022 | 7 | 10 | 5 | 16 | 0 | 406 | 38 | 3 | 0 | false | true | false | false | false | false | zero |
72,838,530 | onClick is ignored when an input is focused and virtual keyboard is visible | <p>In my react app noticed that onClick handlers are not invoked on Android and iOS browsers until the virtual keyboard is visible. Only "touchStart" works. So first we need to hide the keyboard and only then the onClick handlers start work. And it seems like this is ok behavior. But I could not find any proo... | In my react app noticed that onClick handlers are not invoked on Android and iOS browsers until the virtual keyboard is visible. Only "touchStart" works. So first we need to hide the keyboard and only then the onClick handlers start work. And it seems like this is ok behavior. But I could not find any proof o... | javascript|android|reactjs|mobile-safari | 0 | 2022-07-02T11:00:10.347Z | 2,022 | 7 | 11 | 5 | 35 | 1 | 375 | 75 | 4 | 0 | false | false | false | false | false | false | zero |
72,838,558 | Google play signs apk with legacy signing key, not new key | <p>I have an application uploaded to my site and it has lots of installs.
I uploaded my app to playstore 2 years ago, but app rejected due to some issues.
Now i uploaded my app new version and google play accepted to publish.
but i have an issue:</p>
<p>I changed my signing key in play console, i can see new SHA-1 &... | I have an application uploaded to my site and it has lots of installs. I uploaded my app to playstore 2 years ago, but app rejected due to some issues. Now i uploaded my app new version and google play accepted to publish. but i have an issue: I changed my signing key in play console, i can see new SHA-1 & SHA-256 for ... | android|google-play | 0 | 2022-07-02T11:07:09.213Z | 2,022 | 7 | 11 | 5 | 65 | 1 | 917 | 58 | 2 | 0 | false | false | false | false | false | false | zero |
72,838,589 | What the difference between observe and wrapper observeEvents (LiveData)? | <p>There is a convenient wrapper that allows you to reduce the boilerplate when you work with LiveData - observeEvents.</p>
<pre class="lang-kotlin prettyprint-override"><code>open class Event<T>(value: T? = null) {
val liveData = MutableLiveData(value)
protected var hasBeenHandled = false
fun getCo... | There is a convenient wrapper that allows you to reduce the boilerplate when you work with LiveData - observeEvents. [CODE] Next, we can see how to use it. There is the following sealed class for specific events: [CODE] ViewModel code: [CODE] Activity/Fragment code: [CODE] Everything works fine, but there is one thing.... | android|android-livedata|android-lifecycle|lifecycleowner | 0 | 2022-07-02T11:13:20.833Z | 2,022 | 7 | 11 | 5 | 26 | 0 | 849 | 73 | 4 | 6 | true | true | false | false | false | false | zero |
72,838,596 | How to use android phone for SMS Sending app in C#? | <p>I am trying to develop a C# application that will be able to send SMS only through GSM Modem. When we connect a GSM Modem to our laptop/PC then we have to check the Port of that modem from Device manager > Modem > Port. But in this case, I want to connect my android phone as a GSM Modem with my laptop and tryi... | I am trying to develop a C# application that will be able to send SMS only through GSM Modem. When we connect a GSM Modem to our laptop/PC then we have to check the Port of that modem from Device manager > Modem > Port. But in this case, I want to connect my android phone as a GSM Modem with my laptop and trying to use... | c#|android|asp.net|model-view-controller|sms | 0 | 2022-07-02T11:15:18.797Z | 2,022 | 7 | 11 | 5 | 62 | 0 | 536 | 51 | 5 | 1 | true | true | false | false | false | false | zero |
72,838,672 | firebase email verification fails in android 12 devices | <p>I am using android studio and firebase to design my app. When user register in my app, I used to send an email with verification link to verify their email. The code I used for sending email verification link is shown below. It was working fine up to devices with android 11, and I was successful in sending verific... | I am using android studio and firebase to design my app. When user register in my app, I used to send an email with verification link to verify their email. The code I used for sending email verification link is shown below. It was working fine up to devices with android 11, and I was successful in sending verification... | android|firebase|firebase-authentication | 0 | 2022-07-02T11:26:02.293Z | 2,022 | 7 | 11 | 5 | 59 | 1 | 769 | 55 | 3 | 0 | false | false | false | false | false | false | zero |
72,838,787 | Flutter BloC migration from old version to 8.0 | <p>I'm trying to make a flutter app from a guide, to an updated version with newer BloC version but, i've trouble with the changes from the old version to the new version...</p>
<p>First, here is the error i got when i try to press "play" on my application at this stage:</p>
<blockquote>
<p>Bad state: add(Pla... | I'm trying to make a flutter app from a guide, to an updated version with newer BloC version but, i've trouble with the changes from the old version to the new version... First, here is the error i got when i try to press "play" on my application at this stage: Bad state: add(PlayerEvent) was called without a... | android|flutter|bloc | 0 | 2022-07-02T11:44:51.933Z | 2,022 | 7 | 11 | 5 | 114 | 2 | 1,172 | 46 | 3 | 2 | true | false | false | false | false | false | zero |
72,838,810 | PermissionError: [Errno 13] Permission denied: '/storage/emulated/0/b_test.ogg' - Kivy on android write and save file | <p>I made a Kivy app trying to load a wav file and transform it via Audiosegment to an ogg file. This ogg file should then be saved on the android storage.
But unfortunately anything I do, I get an Permission error but asking for it,
I also changed it manually on my phone where I run the app itself.</p>
<p>I would be v... | I made a Kivy app trying to load a wav file and transform it via Audiosegment to an ogg file. This ogg file should then be saved on the android storage. But unfortunately anything I do, I get an Permission error but asking for it, I also changed it manually on my phone where I run the app itself. I would be very thankf... | android|permissions|kivy|buildozer | 0 | 2022-07-02T11:48:03.363Z | 2,022 | 7 | 11 | 5 | 357 | 1 | 361 | 117 | 4 | 1 | true | false | false | false | false | false | zero |
72,838,936 | bullet physics multithreading on android devices | <p>I use bullet physics for android app.
App is written in C++ with NDK.
Testing it on Samsung A51 phone.
I simulate static ground and 100 cubes dropping on this ground.</p>
<p>In single thread bullet works good(debug and release).
I tried multithreading in bullet. Everything is default. No my code in lib.
In debug mod... | I use bullet physics for android app. App is written in C++ with NDK. Testing it on Samsung A51 phone. I simulate static ground and 100 cubes dropping on this ground. In single thread bullet works good(debug and release). I tried multithreading in bullet. Everything is default. No my code in lib. In debug mode it works... | android|c++|multithreading|physics|bullet | 0 | 2022-07-02T12:10:26.447Z | 2,022 | 7 | 12 | 5 | 34 | 0 | 550 | 48 | 5 | 0 | false | true | false | false | false | false | zero |
72,838,981 | Composable does not update when mutablestateflow in viewmodel | <p>I have Viewmodel where I keep reference to post. When i want to translate post i run function to update state flow and post and if I put logs there I see that value is changed but my composable did not get any new value. Here is part of code from viewmodel that doing this magic</p>
<pre><code>
private var origin... | I have Viewmodel where I keep reference to post. When i want to translate post i run function to update state flow and post and if I put logs there I see that value is changed but my composable did not get any new value. Here is part of code from viewmodel that doing this magic [CODE] Tile here is one post. And here is... | android|kotlin|android-jetpack-compose|kotlin-stateflow | 0 | 2022-07-02T12:16:57.600Z | 2,022 | 7 | 12 | 5 | 60 | 1 | 528 | 61 | 4 | 2 | true | false | false | false | false | false | zero |
72,839,008 | Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.15 | <p>I have this problem when I want to use <code>"react-native-webview": "^11.22.4"</code> with <code>"react-native-video": "^5.2.0"</code>. The problem appear when I wanted to use react native video</p>
<pre><code>D:\Document\Nodejs\Github\trender\mobile-interface\node_modules\re... | I have this problem when I want to use "react-native-webview": "^11.22.4" with "react-native-video": "^5.2.0" . The problem appear when I wanted to use react native video [CODE] That's my build.gradle file [CODE] | android|react-native|kotlin | 0 | 2022-07-02T12:20:39.033Z | 2,022 | 7 | 12 | 5 | 223 | 0 | 252 | 144 | 3 | 2 | true | true | false | false | false | false | zero |
72,839,108 | How to compress 2D animation for apk build? | <p>I develop a mobile game for Android.
I have simple 2D animation by changing sprites one after another with Unity animator.
The sprites are located in one big picture and are slices of the picture.
I noticed when I add animation, the build size increases.
Is there a good way to reduce / compress animation in build ap... | I develop a mobile game for Android. I have simple 2D animation by changing sprites one after another with Unity animator. The sprites are located in one big picture and are slices of the picture. I noticed when I add animation, the build size increases. Is there a good way to reduce / compress animation in build apk? | android|unity3d|animation | 0 | 2022-07-02T12:36:01.313Z | 2,022 | 7 | 12 | 5 | 25 | 1 | 319 | 43 | 3 | 0 | false | false | false | false | false | false | zero |
72,839,128 | My android application don't work in Android 12 devices . gives bluetooth permission error | <p>CONSOLE LOG :
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.eker.elterminali, PID: 1397
java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission</p>
<p>NOTE : App working Android 11 .</p>
<p>Manifest :</p>
<pre><code><uses-permission android:name="android.permission.BLUETOOTH&... | CONSOLE LOG : E/AndroidRuntime: FATAL EXCEPTION: main Process: com.eker.elterminali, PID: 1397 java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission NOTE : App working Android 11 . Manifest : [CODE] | permissions|bluetooth|android-12 | 0 | 2022-07-02T12:40:18.147Z | 2,022 | 7 | 12 | 5 | 141 | 1 | 226 | 90 | 3 | 1 | true | false | false | false | false | false | zero |
72,839,132 | Loading image from url fails | <p>I'm trying to load some icons from url using Coil. But it never shows on screen.</p>
<p>code:</p>
<pre><code> Image(
painter = rememberAsyncImagePainter(icon),
contentDescription = "condition icon"
)
</code></pre>
<p>When I log the icon variable I got the url without problems:</p>
<bl... | I'm trying to load some icons from url using Coil. But it never shows on screen. code: [CODE] When I log the icon variable I got the url without problems: icon: //cdn.weatherapi.com/weather/64x64/night/113.png But the image doesn't appear on the screen, any help? | android-jetpack-compose | 0 | 2022-07-02T12:41:16.360Z | 2,022 | 7 | 12 | 5 | 155 | 2 | 263 | 28 | 1 | 1 | true | false | false | false | false | false | zero |
72,839,181 | Android CameraX and Google ML Kit - QR-Code Scanner, onSuccess and onFailure never called | <p>This code just shows minimal requirement to use the QR-Code functionality of ML Kit.
When executing the ML task, the task only calls onComplete and then onCanceled. Am I missing something?</p>
<p>The app first asks for camera permission, then after granting the permission the CameraX PreviewView is displayed. Pointi... | This code just shows minimal requirement to use the QR-Code functionality of ML Kit. When executing the ML task, the task only calls onComplete and then onCanceled. Am I missing something? The app first asks for camera permission, then after granting the permission the CameraX PreviewView is displayed. Pointing the cam... | android|android-jetpack-compose|google-mlkit | 0 | 2022-07-02T12:50:37.047Z | 2,022 | 7 | 12 | 5 | 306 | 0 | 833 | 89 | 3 | 4 | true | true | false | false | false | false | zero |
72,839,224 | CoordinatorLayout with ViewPager2 and NestedScrollView is different then expected | <p>When I built a layout with a coordinator layout, I have used the view pager2. The design blueprint is right while the result is wrong. The height of view pager is wrong, could you tell me where I am wrong?</p>
<pre><code> <androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="... | When I built a layout with a coordinator layout, I have used the view pager2. The design blueprint is right while the result is wrong. The height of view pager is wrong, could you tell me where I am wrong? [CODE] | android|xml|android-coordinatorlayout|android-viewpager2|android-nestedscrollview | 0 | 2022-07-02T12:57:24.807Z | 2,022 | 7 | 12 | 5 | 44 | 0 | 212 | 81 | 5 | 1 | true | true | false | false | false | false | zero |
72,839,305 | Newsapi.org not displaying full content | <p>I am trying to create a news app using api provided by newsapi.org
<a href="https://i.stack.imgur.com/w4wyT.jpg" rel="nofollow noreferrer">but the content is appearing as follows.</a>. I am using a free api key</p>
<p>The code for the displaying and retrieving the data from api is given below</p>
<pre><code>import '... | I am trying to create a news app using api provided by newsapi.org but the content is appearing as follows. . I am using a free api key The code for the displaying and retrieving the data from api is given below [CODE] Is there any possibility to get the whole content. The api key has been removed for obvious reason | android|flutter | 0 | 2022-07-02T13:10:57.873Z | 2,022 | 7 | 13 | 5 | 47 | 1 | 317 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
72,839,341 | I have a problem when I compile the android app,and I don't know how to solve it | <p>I imported the gson.jar,
but when I compiling my project,the Gradle have this error:</p>
<pre><code>Cannot read entry 'com/google/gson/internal/bind/util/' (offset: 186273, size: 67) because it overlaps with 'com/google/gson/internal/bind/util/ISO8601Utils.class' (offset: 186338, size: 3001)
</code></pre> | I imported the gson.jar, but when I compiling my project,the Gradle have this error: [CODE] | android|gson | 0 | 2022-07-02T13:16:36.610Z | 2,022 | 7 | 13 | 5 | 20 | 0 | 91 | 80 | 2 | 1 | true | true | false | false | false | false | zero |
72,839,381 | /system/bin/sh: tr: not found - Android Azure Devops pipeline | <p>I get the following error when I try to start the emulator from my pipeline in Azure:</p>
<pre><code>nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -no-snapshot >
/dev/null 2>&1 &
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop
sys.boot_completed | t... | I get the following error when I try to start the emulator from my pipeline in Azure: [CODE] Given below is my pipeline yml [CODE] This works perfect when I use android-28 instead of android-19 Is there any change that I need to make in my pipeline such that I can launch the emulator? Any help is much appreciated | android|azure-devops|android-sdk-tools | 0 | 2022-07-02T13:23:20.887Z | 2,022 | 7 | 13 | 5 | 139 | 1 | 314 | 61 | 3 | 2 | true | false | false | false | false | false | zero |
72,839,390 | Android Jetpack Compose Navigation doesn't work | <p>I'm making an android app using Jetpack Compose and I have a problem. I used navigation to change the screen. I wanted to change firstRunLayout to loginLayout. You can see that i put that log.d code in order to check if this worked and I found out that logcat prints that successfully. I want to change the screen whe... | I'm making an android app using Jetpack Compose and I have a problem. I used navigation to change the screen. I wanted to change firstRunLayout to loginLayout. You can see that i put that log.d code in order to check if this worked and I found out that logcat prints that successfully. I want to change the screen when I... | android|kotlin|android-jetpack-compose | 2 | 2022-07-02T13:24:32.930Z | 2,022 | 7 | 13 | 5 | 228 | 1 | 594 | 47 | 3 | 3 | true | false | false | false | false | false | low |
72,839,407 | How do Composables get notified to recompose when a MutableState changes? | <p>I don't understand how the Compose system "knows" that it needs to recompose certain composables when MutableStates that they're observing change value. For example, AIUI, I could write something like:</p>
<pre class="lang-kotlin prettyprint-override"><code>class StateHolder {
val theState by mutableSt... | I don't understand how the Compose system "knows" that it needs to recompose certain composables when MutableStates that they're observing change value. For example, AIUI, I could write something like: [CODE] Then, elsewhere in my code I can assign a new value to theState , and that will trigger a recompositi... | android-jetpack-compose | 0 | 2022-07-02T13:27:42.720Z | 2,022 | 7 | 13 | 5 | 180 | 1 | 1,260 | 73 | 1 | 1 | true | false | false | false | false | false | zero |
72,839,468 | Android Q: FFmpeg Overlayed Video is Rotated | <p>I am using Following command to overlay a video on another video, at specific position and resized, It is working perfectly on Android 9 mobile i have. but on Android Q device the video is scaled properly but the content is rotated and stretched due too swap H/W</p>
<p>I don't have any idea about this rotation abnor... | I am using Following command to overlay a video on another video, at specific position and resized, It is working perfectly on Android 9 mobile i have. but on Android Q device the video is scaled properly but the content is rotated and stretched due too swap H/W I don't have any idea about this rotation abnormality. &q... | android|ffmpeg|mediastore|scoped-storage|file-storage | 0 | 2022-07-02T13:37:48.937Z | 2,022 | 7 | 13 | 5 | 14 | 0 | 492 | 44 | 5 | 0 | false | true | false | false | false | false | zero |
72,839,499 | I can't introduce the preferencescreen layout. I want to know why? | <p>My SDK version uses 33.
The "preferencescreen" of this code will turn red.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
</PreferenceScreen>
</code></pre>
<p>Why is that?I d... | My SDK version uses 33. The "preferencescreen" of this code will turn red. [CODE] Why is that?I don't understand. | android|layout | 0 | 2022-07-02T13:43:21.153Z | 2,022 | 7 | 13 | 5 | 21 | 1 | 123 | 66 | 2 | 1 | true | false | false | false | false | false | zero |
72,839,531 | How do i add image picker on Android App? | <p>im triying to use an image picker so I can open the gallery and choose a pic for the user profile.
Apparently the <a href="https://developer.android.com/about/versions/13/features/photopicker" rel="nofollow noreferrer">built-in image picker</a> works only on Android 13 (API 33) so in order to add this feature i have... | im triying to use an image picker so I can open the gallery and choose a pic for the user profile. Apparently the built-in image picker works only on Android 13 (API 33) so in order to add this feature i have to add this library . The first step is not clear to me: Gradle dependency: [CODE] [CODE] If you are yet to Mig... | android|android-studio|kotlin|gradle|imagepicker | 0 | 2022-07-02T13:50:15.847Z | 2,022 | 7 | 13 | 5 | 233 | 2 | 623 | 41 | 5 | 3 | true | false | false | false | false | false | zero |
72,839,565 | Databases Folder Empty In Device File Explorer-ROOM Database | <p><strong>When the app is ran, no errors occur however, the databases folder in device file explorer is empty. I have tried to fix the issue myself but since I'm new to android studio and kotlin I haven't been able to I just want to ensure the database is working before I carry on with the rest of the code.</strong></... | When the app is ran, no errors occur however, the databases folder in device file explorer is empty. I have tried to fix the issue myself but since I'm new to android studio and kotlin I haven't been able to I just want to ensure the database is working before I carry on with the rest of the code. Any help would be gre... | android|android-studio|android-room | 2 | 2022-07-02T13:53:24.310Z | 2,022 | 7 | 13 | 5 | 50 | 1 | 517 | 60 | 3 | 9 | true | false | false | false | false | false | low |
72,839,614 | How to enable/disable Bluetooth devices use for media audio / phone call options in Android using adb commands | <p><a href="https://i.stack.imgur.com/jUobe.jpg" rel="nofollow noreferrer">Use Bluetooth device for page</a></p>
<p>As you can see in the above image That we can use Bluetooth device for 1.Media Audio 2. Phone call 3. Contact sharing.</p>
<p>I want to enable and disable this functions use <strong>ADB commands.</strong>... | Use Bluetooth device for page As you can see in the above image That we can use Bluetooth device for 1.Media Audio 2. Phone call 3. Contact sharing. I want to enable and disable this functions use ADB commands. Is it even possible? If yes then how. The device which I am using are Redmi note 10 pro Fire Boltt Talk 2 sma... | android|bluetooth|adb | 0 | 2022-07-02T14:01:31.877Z | 2,022 | 7 | 14 | 5 | 107 | 0 | 328 | 110 | 3 | 0 | false | true | false | false | false | false | zero |
72,839,727 | Android: how to set a broadcast receiver in a Layered Architecture | <p>I have to make an application similar to an alarm clock and to design the architecture I am following <a href="https://developer.android.com/topic/architecture#data-layer" rel="nofollow noreferrer">these</a> articles.</p>
<p>In particular, after the user has entered the time, chosen the days of the week and pressed ... | I have to make an application similar to an alarm clock and to design the architecture I am following these articles. In particular, after the user has entered the time, chosen the days of the week and pressed the "save" button, an alarm manager is set up. The only solution I can think of is to start the broa... | android|architecture|alarmmanager|android-pendingintent|android-mvvm | 0 | 2022-07-02T14:13:55.240Z | 2,022 | 7 | 14 | 5 | 64 | 0 | 571 | 66 | 5 | 1 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.