id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,279,520 | Flutter - Cannot find out how to get camera's current location on Google Map plugin | <p>I'm using <a href="https://pub.dev/packages/google_maps_flutter" rel="nofollow noreferrer">Google Map plugin</a> and found a problem to get current location on the map (I mean camera's location not my live GPS location).</p>
<p>This is the map setup part. <code>map</code> is a class property.</p>
<pre><code>map = Go... | I'm using Google Map plugin and found a problem to get current location on the map (I mean camera's location not my live GPS location). This is the map setup part. map is a class property. [CODE] When I execute an action, map.cameraTargetBounds.bounds returns null. I'm not getting it on moving camera. Just in case for ... | android|flutter|google-maps | 0 | 2022-08-08T14:28:21.730Z | 2,022 | 8 | 14 | 0 | 52 | 2 | 412 | 83 | 3 | 1 | true | false | false | false | false | false | zero |
73,279,576 | Android RxJava Room query not executing with Completable | <p>I am performing a query on my Room database and wrapping it in a Completable.
The @Query is actually a DELETE with parameters. The function does not return anything.</p>
<p>When I call the function which is wrapped in the Completable, nothing happens. I log the output and my logs dont get printed.</p>
<p>See below:<... | I am performing a query on my Room database and wrapping it in a Completable. The @Query is actually a DELETE with parameters. The function does not return anything. When I call the function which is wrapped in the Completable, nothing happens. I log the output and my logs dont get printed. See below: [CODE] So the fir... | android|rx-java|android-room | 0 | 2022-08-08T14:32:05.987Z | 2,022 | 8 | 14 | 0 | 34 | 0 | 688 | 56 | 3 | 4 | true | true | false | false | false | false | zero |
73,279,619 | Unable to add window android.view.ViewRootImpl$W@ba4bbf5 -- permission denied for window type 2003 | <p>I encounter this error when I want to show a dialog in MainActivity, that is, on the main screen of the application.</p>
<p>I'm grateful if you can help.<a href="https://i.stack.imgur.com/4gdTH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4gdTH.png" alt="enter image description here" /></a></p>... | I encounter this error when I want to show a dialog in MainActivity, that is, on the main screen of the application. I'm grateful if you can help. TCPServer [CODE] | java|android|sockets|dialog|presentation | 0 | 2022-08-08T14:34:46.827Z | 2,022 | 8 | 14 | 0 | 30 | 0 | 163 | 98 | 5 | 1 | true | true | false | false | false | false | zero |
73,279,784 | Generate include files with ndk-build? | <p>When using a normal build system like Makefiles, issuing <code>make install</code> will, for most open source libs out there, produce two directories in the <code>--prefix=</code>: <code>lib/</code> and <code>include/</code>.</p>
<p><code>ndk-build -h</code> is not helpful, neither is the android developers <a href=... | When using a normal build system like Makefiles, issuing make install will, for most open source libs out there, produce two directories in the --prefix= : lib/ and include/ . ndk-build -h is not helpful, neither is the android developers page . I've seen somewhere that specifying [CODE] provides the desired lib direct... | android|c++|c|android-ndk|header-files | 0 | 2022-08-08T14:46:46.977Z | 2,022 | 8 | 14 | 0 | 23 | 0 | 510 | 38 | 5 | 1 | true | true | false | false | false | false | zero |
73,279,790 | Big white spaces between items of recycler view? | <p>when i add items to my recyclerview it always puts big white spaces between them (5 cm between items). I implemented the recyclerview just like my other recyclerviews but here it always adds these white spots.. Does anyone know how to fix it?</p>
<p>the recycler view is inside a Nestedscrollview but this doesn't hav... | when i add items to my recyclerview it always puts big white spaces between them (5 cm between items). I implemented the recyclerview just like my other recyclerviews but here it always adds these white spots.. Does anyone know how to fix it? the recycler view is inside a Nestedscrollview but this doesn't have impact o... | android|android-studio|android-recyclerview | 0 | 2022-08-08T14:47:10.880Z | 2,022 | 8 | 14 | 0 | 32 | 1 | 431 | 48 | 3 | 3 | true | false | false | false | false | false | zero |
73,279,812 | How to change measurement pivot for layouts in jetpack compose? | <p>Start point for each layout is 0.0 top left corner. I wanna change start position to get result like that:
<a href="https://i.stack.imgur.com/jlAlQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jlAlQ.jpg" alt="enter image description here" /></a></p>
<p>Found just Modifier.graphicsLayer { transf... | Start point for each layout is 0.0 top left corner. I wanna change start position to get result like that: Found just Modifier.graphicsLayer { transformOrigin } which can change layout transformation point from center to other side. Right now just using Modifier.offset - layout center point coordinates but wonder if th... | kotlin|android-jetpack-compose | 0 | 2022-08-08T14:48:39.730Z | 2,022 | 8 | 14 | 0 | 27 | 0 | 350 | 63 | 2 | 0 | false | true | false | false | false | false | zero |
73,280,007 | Executing shared library (.so) from my android app instead of importing it into the source? | <p>I came across this project on github: <a href="https://github.com/tytydraco/LADB" rel="nofollow noreferrer">https://github.com/tytydraco/LADB</a></p>
<p>Basically, thanks to Surge1223, that compiled ADB for the ARM/ARM64 architecture it's possible to run an ADB server directly on the mobile device. The compiled ADB ... | I came across this project on github: https://github.com/tytydraco/LADB Basically, thanks to Surge1223, that compiled ADB for the ARM/ARM64 architecture it's possible to run an ADB server directly on the mobile device. The compiled ADB for the ARM/ARM64 architecture would be the file: libadb.so Even though I don't read... | java|android|kotlin|shared-libraries|adb | 0 | 2022-08-08T15:01:29.580Z | 2,022 | 8 | 15 | 0 | 40 | 0 | 1,097 | 91 | 5 | 1 | true | true | false | false | false | false | zero |
73,280,011 | Animated Text in Flutter , dart add curves in text style | <p>How to add <code>curves.bounceOut</code> in text animation;</p>
<pre><code>Container(child:Text("hello"));
</code></pre> | How to add curves.bounceOut in text animation; [CODE] | android|flutter|dart | 0 | 2022-08-08T15:01:46.763Z | 2,022 | 8 | 15 | 0 | 41 | 3 | 53 | 56 | 3 | 1 | true | false | false | false | false | false | zero |
73,280,052 | stuck at Preparing "Install Android Emulator (revision: 31.2.10)" | <p>while installing the android emulator mine was stuck at
<a href="https://i.stack.imgur.com/AbstB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AbstB.png" alt="enter image description here" /></a></p>
<p>os Linux: manjaro</p>
<pre><code>Preparing "Install Android Emulator (revision: 31.2.10)... | while installing the android emulator mine was stuck at os Linux: manjaro [CODE] | android-emulator | 1 | 2022-08-08T15:04:32.343Z | 2,022 | 8 | 15 | 0 | 183 | 2 | 80 | 65 | 1 | 1 | true | false | false | false | false | false | low |
73,280,149 | How to make HTTPs Request with Cookie in Android | <p>What I need is = My App need to send a HTTPs Request with my Session Cookie and it needs to return the response to my TextView.</p>
<p>there are many answers around the internet for HTTP Request and i tried HTTP request and it gave me a different response. I cant find any answer for HTTPs Request, If anyone can help... | What I need is = My App need to send a HTTPs Request with my Session Cookie and it needs to return the response to my TextView. there are many answers around the internet for HTTP Request and i tried HTTP request and it gave me a different response. I cant find any answer for HTTPs Request, If anyone can help me then i... | java|android | 0 | 2022-08-08T15:11:25.280Z | 2,022 | 8 | 15 | 0 | 17 | 0 | 648 | 48 | 2 | 2 | true | true | false | false | false | false | zero |
73,280,218 | Provide a music library into Flutter app like Instagram | <p>I'm building a video editing app in Flutter and my goal is to provide audios files to users which could be downloaded and used to be merged with multiple video...
This use case is the same on Instagram or TikTok.</p>
<p>I searched a lot and everything I tried to provide a music library to users lead to a dead-end. (... | I'm building a video editing app in Flutter and my goal is to provide audios files to users which could be downloaded and used to be merged with multiple video... This use case is the same on Instagram or TikTok. I searched a lot and everything I tried to provide a music library to users lead to a dead-end. (Spotify, D... | android|ios|flutter|audio|video | 1 | 2022-08-08T15:15:11.473Z | 2,022 | 8 | 15 | 0 | 40 | 0 | 868 | 55 | 5 | 0 | false | true | false | false | false | false | low |
73,280,467 | How can make RecyclerView item in front of some item | <p>i know i can use GridLayoutManager But I need make it by RecyclerView.LayoutManager</p>
<p><a href="https://i.stack.imgur.com/5I7iA.png" rel="nofollow noreferrer">This i need To make by use RecyclerView.LayoutManager</a></p>
<p><a href="https://i.stack.imgur.com/d94z7.png" rel="nofollow noreferrer">This is normal Of... | i know i can use GridLayoutManager But I need make it by RecyclerView.LayoutManager This i need To make by use RecyclerView.LayoutManager This is normal Of Recycler View Item In Layout | android|kotlin|android-recyclerview | -1 | 2022-08-08T15:31:28.310Z | 2,022 | 8 | 15 | 0 | 32 | 2 | 184 | 52 | 3 | 0 | false | false | false | false | false | true | negative |
73,280,527 | Creating ICS file in PHP only works on android? | <p>My PHP code to create an ICS file works fine on android but doesn't work on my iPhone 12 (IOS 15.5). In android, the ics file is downloaded correctly, but on my iPhone, it doesn't do anything at all.
I already tried changing "METHOD:REQUEST" to "METHOD:PUBLISH" without success.
Anyone got an idea... | My PHP code to create an ICS file works fine on android but doesn't work on my iPhone 12 (IOS 15.5). In android, the ics file is downloaded correctly, but on my iPhone, it doesn't do anything at all. I already tried changing "METHOD:REQUEST" to "METHOD:PUBLISH" without success. Anyone got an idea wh... | javascript|php|android|ios|icalendar | 1 | 2022-08-08T15:36:12.093Z | 2,022 | 8 | 15 | 0 | 34 | 0 | 455 | 47 | 5 | 2 | true | true | false | false | false | false | low |
73,280,532 | Compose: How to stretch an item height or create a staggered grid in LazyVerticalGrid? | <p>I'm using <code>LazyVerticalGrid</code> to create a responsive grid with 96 dp columns, it looks like this:</p>
<pre class="lang-kotlin prettyprint-override"><code>LazyVerticalGrid(
columns = GridCells.Adaptive(96.dp),
horizontalArrangement = Arrangement.spacedBy(8.dp),
verticalArrangement = Arrangement.... | I'm using LazyVerticalGrid to create a responsive grid with 96 dp columns, it looks like this: [CODE] but there is a problem: the card content can has different heights due to text wrapping and I get negative space between the cards (marked with red arrows). Which of these solutions is possible in Compose without resor... | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-08-08T15:36:25.837Z | 2,022 | 8 | 15 | 0 | 166 | 0 | 453 | 86 | 4 | 1 | true | true | false | false | false | false | zero |
73,280,574 | How to set a OutlinedTextField occupy the remaining space Jetpack Compose? | <p>I want to create a top app bar that contains a back icon and a search. Here is what I have tried.</p>
<pre><code>SmallTopAppBar(
title = {
Text(
text = "MyApp"
)
},
navigationIcon = {
IconButton(
onClick = navController.popBackStack()
) {
... | I want to create a top app bar that contains a back icon and a search. Here is what I have tried. [CODE] The problem comes when I try to use .fillMaxWidth(1f) , it doesn't take only the remaining space, but it get over the arrow button? This is what I expect: How to solve this? | android|kotlin|android-jetpack-compose | 0 | 2022-08-08T15:39:17.900Z | 2,022 | 8 | 15 | 0 | 45 | 1 | 278 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
73,280,655 | Type mismatch: inferred type is ViewPagerAdapterS but PagerAdapter? was expected | <p>i am trying to implement viewpager and tablyout in android studio using kotlin
i have tried fragmentpageradapter but it is not longer used</p>
<p>this is the adapter</p>
<pre><code>package com.example.pgm
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.Li... | i am trying to implement viewpager and tablyout in android studio using kotlin i have tried fragmentpageradapter but it is not longer used this is the adapter [CODE] [CODE] [CODE] and this is the xml file [CODE] i get the error Type mismatch: inferred type is ViewPagerAdapterS but PagerAdapter? was expected So, what ca... | android|kotlin|android-viewpager|fragment|adapter | 0 | 2022-08-08T15:45:03.480Z | 2,022 | 8 | 15 | 0 | 61 | 1 | 345 | 80 | 5 | 4 | true | false | false | false | false | false | zero |
73,280,662 | which is the efficient way to implement post likes feature with firestore database | <p>I have a collection "images" in which there is a document representing a Post containing Uri of image , and a field "likes" , I have already implemented firebase authentication . now I want to implement a like feature to to that post so when a user press the like button , there is a collection in... | I have a collection "images" in which there is a document representing a Post containing Uri of image , and a field "likes" , I have already implemented firebase authentication . now I want to implement a like feature to to that post so when a user press the like button , there is a collection in th... | android|kotlin|firebase-realtime-database|google-cloud-firestore | 0 | 2022-08-08T15:45:23.603Z | 2,022 | 8 | 15 | 0 | 38 | 0 | 675 | 82 | 4 | 0 | false | true | false | false | false | false | zero |
73,280,695 | isEmailVerified does not perform its task properly. Verified email, still returning false | <p>I am trying to do email verification with the help of firebase, this after you have registered. This code is then executed and then a new scene is applied with a button inside which checks if the email got verified. Here are both codes. Thanks in advance for any answer!!
I gladly accept any advice!</p>
<p>More detai... | I am trying to do email verification with the help of firebase, this after you have registered. This code is then executed and then a new scene is applied with a button inside which checks if the email got verified. Here are both codes. Thanks in advance for any answer!! I gladly accept any advice! More detailed error ... | java|android|firebase|firebase-authentication | 0 | 2022-08-08T15:48:03.397Z | 2,022 | 8 | 15 | 0 | 22 | 1 | 592 | 89 | 4 | 2 | true | false | false | false | false | false | zero |
73,280,724 | KSoap2 throws Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference for some reason | <pre><code>Login_btn.setOnClickListener((View v) ->
{
byte[] login_info = new byte[1000];
FileInputStream fIn;
try {
fIn = new FileInputStream(f);
fIn.read(login_info);
fIn.close();
} catch (FileNotFoundException... | [CODE] class Connector and MyRunnable: [CODE] I can't figure out why it throws this error! My guess is because of me passing a "local reference" of s1, s2 from main thread to another thread. But it seems weird because I've done these many times and they all work. What's wrong here! I'm using: implementation '... | java|android|ksoap2 | 0 | 2022-08-08T15:50:10.057Z | 2,022 | 8 | 15 | 0 | 29 | 1 | 1,173 | 138 | 3 | 3 | true | false | false | false | false | false | zero |
73,280,755 | monitor.bat does not do anything but error with error logs | <p>I am trying to see debug logs from an Android app which I have been told can be achieved by android device monitor (adm). When I click monitor.bat in order to turn on the adm, I will just get this popup window: <a href="https://i.stack.imgur.com/dcR4g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co... | I am trying to see debug logs from an Android app which I have been told can be achieved by android device monitor (adm). When I click monitor.bat in order to turn on the adm, I will just get this popup window: The log looks like this: [CODE] Does anyone know how to fix this issue? I am using SDK installed with Unity H... | java|android|unity3d | 0 | 2022-08-08T15:52:11.923Z | 2,022 | 8 | 15 | 0 | 35 | 0 | 343 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
73,281,088 | How to add items to the menu bar using the new MenuProvider? | <p>Very much a beginner question here. Since the old paradigm which used "setHasOptionsMenu(true)" in the fragments was recently deprecated in Android Studio, I have been trying to convert my app to the newest scheme as outlined in the documentation. All explanation about this I can find centers around the fo... | Very much a beginner question here. Since the old paradigm which used "setHasOptionsMenu(true)" in the fragments was recently deprecated in Android Studio, I have been trying to convert my app to the newest scheme as outlined in the documentation. All explanation about this I can find centers around the follo... | android|kotlin|menu|toolbar|deprecated | 1 | 2022-08-08T16:20:15.677Z | 2,022 | 8 | 16 | 0 | 245 | 1 | 951 | 60 | 5 | 1 | true | false | false | false | false | false | low |
73,281,094 | why does appium open data:; in browser before the actual url | <p>I am trying to use appium for android browser automation and my tests are passing, however I see that before it opens the actual URL , it goes to <code>data:;</code> before that. Can anyone help me understand why this happens? What is appium trying to do here?</p> | I am trying to use appium for android browser automation and my tests are passing, however I see that before it opens the actual URL , it goes to data:; before that. Can anyone help me understand why this happens? What is appium trying to do here? | appium|appium-android|browser-automation | 0 | 2022-08-08T16:20:38.867Z | 2,022 | 8 | 16 | 0 | 24 | 1 | 247 | 60 | 3 | 0 | false | false | false | false | false | false | zero |
73,281,122 | Input dispatching timed out ANR error (Media Player) | <p>I have had many "Input dispatching timed out" ANR error and I think it could be a problem of the mediaPlayer as I have seen that the error occurs in one function that I have coded that manages the media player. I wish someone can help me or at least explain me why this error appears in this context. Thank ... | I have had many "Input dispatching timed out" ANR error and I think it could be a problem of the mediaPlayer as I have seen that the error occurs in one function that I have coded that manages the media player. I wish someone can help me or at least explain me why this error appears in this context. Thank you... | java|android|timeout|android-mediaplayer|android-anr-dialog | 0 | 2022-08-08T16:22:16.687Z | 2,022 | 8 | 16 | 0 | 37 | 0 | 358 | 52 | 5 | 1 | true | true | false | false | false | false | zero |
73,281,284 | Android: Espresso take too much time to do it's first check or perform | <p>I had an issue to run my ui test</p>
<pre><code>@Test
fun firstUi() {
onView(withId(R.id.home_profile_tab)).perform(click())
onView(withId(R.id.enter)).perform(click())
onView(withId(R.id.tvCountryCode)).check(matches(withText("+964")))
}
</code></pre>
<p>This test run and passed</p>
<p>But the... | I had an issue to run my ui test [CODE] This test run and passed But the issue is, after running test and reaching to first line, the firs perform(click)) executed after around 90 seconds, and it is almost constant and every time it takes 90 seconds But after that (90sec) other lines executed and test completed around ... | android|automated-tests|android-espresso | 0 | 2022-08-08T16:35:34.337Z | 2,022 | 8 | 16 | 0 | 26 | 1 | 790 | 70 | 3 | 1 | true | false | false | false | false | false | zero |
73,281,345 | How to get data binding to work with RRO or SRRO | <p>So android let you use databinding to bind observable data directly to the XML which works and I am very familiar with.</p>
<p>Now the question is how would this work with Runtime Resource Overlay?</p>
<p>RRO allows you to have multiple different resources for different scenarios. This is different from a cradle bui... | So android let you use databinding to bind observable data directly to the XML which works and I am very familiar with. Now the question is how would this work with Runtime Resource Overlay? RRO allows you to have multiple different resources for different scenarios. This is different from a cradle build flavour. And d... | android|android-layout|android-resources|android-databinding|rro | 0 | 2022-08-08T16:41:00.723Z | 2,022 | 8 | 16 | 0 | 12 | 0 | 493 | 48 | 5 | 0 | false | true | false | false | false | false | zero |
73,281,369 | Flutter run stuck at installing when using compileSdkVersion=33 | <p>I noticed these kind of warnings when running my Flutter app:</p>
<blockquote>
<p>One or more plugins require a higher Android SDK version.</p>
<p>Warning: The plugin geolocator_android requires Android SDK version
33. For more information about build configuration, see <a href="https://docs.flutter.dev/deployment/a... | I noticed these kind of warnings when running my Flutter app: One or more plugins require a higher Android SDK version. Warning: The plugin geolocator_android requires Android SDK version 33. For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuratio... | android|flutter | 2 | 2022-08-08T16:42:58.533Z | 2,022 | 8 | 16 | 0 | 435 | 1 | 1,303 | 63 | 2 | 3 | true | false | false | false | false | false | low |
73,281,378 | Closed Push notifications not working when app is in background & when is closed - [ Android ] | <p>I am trying to make push notifications work when the app is in background & when is closed. It works perfectly in froeground but not when the app is closed or in the background. Is there a way to make this work? Any workaround of some sort to get this to work?</p>
<pre><code> useLayoutEffect(() => {
regi... | I am trying to make push notifications work when the app is in background & when is closed. It works perfectly in froeground but not when the app is closed or in the background. Is there a way to make this work? Any workaround of some sort to get this to work? [CODE] | javascript|react-native|push-notification|expo|android-notifications | 0 | 2022-08-08T16:44:20.540Z | 2,022 | 8 | 16 | 0 | 33 | 0 | 267 | 94 | 5 | 1 | true | true | false | false | false | false | zero |
73,281,645 | How to hide a activity class for production build | <p>I'm doing some action on dev/qa environment, so I've a activity called <em>DexActivity.kt</em>, now I dont want <em>DexActivity</em> to shown in production environment when I do PenTest.</p>
<pre><code> Q. Can this activity hidden in production build, if yes how?
</code></pre> | I'm doing some action on dev/qa environment, so I've a activity called DexActivity.kt , now I dont want DexActivity to shown in production environment when I do PenTest. [CODE] | android | -1 | 2022-08-08T17:06:39.347Z | 2,022 | 8 | 17 | 0 | 26 | 1 | 176 | 49 | 1 | 1 | true | false | false | false | false | true | negative |
73,281,736 | Getting bad image quality with android CameraX library | <p>I am developing a camera application with CameraX library, but I found quality discrepancy native camera app photo and my application photo. I have tested photos taken same lighting condition.
Is there any way to improve image quality with CameraX?</p>
<p>Thanks in advance</p> | I am developing a camera application with CameraX library, but I found quality discrepancy native camera app photo and my application photo. I have tested photos taken same lighting condition. Is there any way to improve image quality with CameraX? Thanks in advance | android|android-camera|jpeg|android-camerax | 0 | 2022-08-08T17:15:30.860Z | 2,022 | 8 | 17 | 0 | 45 | 1 | 266 | 54 | 4 | 0 | false | false | false | false | false | false | zero |
73,281,753 | I have a problem with retrieving data from firebase realtime database | <p>so basically when i retrieve a link from my real time database it adds this "{abs=" at the beginning and this "}" at the end which makes picasso unable to load the link.
i tried loading the link by pasting the link directly into picasso and it worked just fine
Here is a copy of my code :</p>
<pre... | so basically when i retrieve a link from my real time database it adds this "{abs=" at the beginning and this "}" at the end which makes picasso unable to load the link. i tried loading the link by pasting the link directly into picasso and it worked just fine Here is a copy of my code : [CODE] and ... | java|android|android-studio|firebase-realtime-database|picasso | 0 | 2022-08-08T17:16:48.890Z | 2,022 | 8 | 17 | 0 | 28 | 1 | 405 | 69 | 5 | 2 | true | false | false | false | false | false | zero |
73,281,797 | PNG with Transparent Background Turns Black in ImageSource | <p>Edit: my issue was that in using SkiaSharp to scale down the image size I was encoding it as Jpeg instead of PNG. Encoding as PNG made the background transparent.</p>
<hr />
<p>I am loading images from an HTTP endpoint, storing the image in a DB, and displaying the image in an ImageSource. I have a PNG with a transp... | Edit: my issue was that in using SkiaSharp to scale down the image size I was encoding it as Jpeg instead of PNG. Encoding as PNG made the background transparent. I am loading images from an HTTP endpoint, storing the image in a DB, and displaying the image in an ImageSource. I have a PNG with a transparent background.... | xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-08-08T17:20:35.587Z | 2,022 | 8 | 17 | 0 | 65 | 1 | 844 | 58 | 3 | 3 | true | false | false | false | false | false | zero |
73,281,892 | facebook audience-network-sdk -> java.lang.NoSuchMethodError onAdEventManagerCreated when updating to recent versions | <p>I'm using 6.5.1 with no problems:</p>
<pre><code>implementation 'com.facebook.android:audience-network-sdk:6.5.1'
bannerListener = new AdListener() {
@Override public void onError(Ad ad, AdError adError) {}
@Override public void onAdLoaded(Ad ad) {}
@Overr... | I'm using 6.5.1 with no problems: [CODE] But if I update the sdk to 6.11.0 or even 6.6.0 , i'm getting this exception: [CODE] The error line is banner = new AdView(context, id, AdSize.BANNER_HEIGHT_50); Does anyone have any idea about what is happening? I'm building with api 31: [CODE] | android|facebook-ads-api|nosuchmethoderror|facebook-audience-network | 0 | 2022-08-08T17:30:00.487Z | 2,022 | 8 | 17 | 0 | 63 | 1 | 286 | 117 | 4 | 3 | true | false | false | false | false | false | zero |
73,281,970 | firebase realtime does not work on phone but its working on emulator | <pre><code>class MainActivity : AppCompatActivity() {
lateinit var binding: ActivityMainBinding
lateinit var database: DatabaseReference
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding = ActivityMainBinding.inflate(layoutInflater)
set... | [CODE] and I give internet access to the project what should I do now ?? but app is working for Auth ! | android|firebase|firebase-realtime-database | 0 | 2022-08-08T17:37:01.630Z | 2,022 | 8 | 17 | 0 | 29 | 0 | 102 | 68 | 3 | 1 | true | true | false | false | false | false | zero |
73,282,401 | RecyclerView Clipping Into ScrollView with CornerRadius | <p>I have a recycler view inside a linear layout and the linear layout's parent is a scrollview whose background has a corner radius. When you scroll the view the recycler view appears on top of the corners of the scrollview clipping into the view.<a href="https://i.stack.imgur.com/TWl9f.png" rel="nofollow noreferrer">... | I have a recycler view inside a linear layout and the linear layout's parent is a scrollview whose background has a corner radius. When you scroll the view the recycler view appears on top of the corners of the scrollview clipping into the view. This is the view without scrolling Here's the view when you scroll | java|android|xml | -1 | 2022-08-08T18:17:13.743Z | 2,022 | 8 | 18 | 0 | 32 | 1 | 312 | 55 | 3 | 0 | false | false | false | false | false | true | negative |
73,282,441 | Firebase cloud message setBackgroundMessageHandler not working when app swiped closed | <p>I am trying to receive notification while the app is closed. It works fine when I have minimized app, but when I swipe away the app, that is close it, the receiver doesnt receives and show any notification.</p>
<pre><code>messaging().setBackgroundMessageHandler(async remoteMessage => {
console.log('Message ha... | I am trying to receive notification while the app is closed. It works fine when I have minimized app, but when I swipe away the app, that is close it, the receiver doesnt receives and show any notification. [CODE] I am trying to do this on android. | android|firebase|react-native|firebase-cloud-messaging | 0 | 2022-08-08T18:20:39.197Z | 2,022 | 8 | 18 | 0 | 32 | 0 | 248 | 85 | 4 | 1 | true | true | false | false | false | false | zero |
73,282,496 | AnnotatedStringBuilder.withStyle cannot call stringResource anymore (jetpack compose 1.2.0) | <p>I have been using withStyle extensively to build annotated string. For example to show</p>
<blockquote>
<p><strong>OPTION A</strong> or <strong>OPTION B</strong></p>
</blockquote>
<p>I do</p>
<pre class="lang-kotlin prettyprint-override"><code>val optionAorB = buildAnnotatedString {
withStyle(MaterialTheme.typog... | I have been using withStyle extensively to build annotated string. For example to show OPTION A or OPTION B I do [CODE] This was working like a charm until I updated jetpack compose to 1.2.0 . Now compiler throws error @Composable invocations can only happen from the context of a @Composable function One solution can b... | android|android-jetpack-compose|android-jetpack | 0 | 2022-08-08T18:25:34.620Z | 2,022 | 8 | 18 | 0 | 74 | 0 | 582 | 91 | 3 | 1 | true | true | false | false | false | false | zero |
73,282,752 | AppBar showing during debug mode, but not after building apk | <p>I have an AppBar widget that works perfectly on an emulator and on my phone via USB, but after I build the apk and test it, the AppBar is completely grey. Pressing on the supposed locations of the action buttons doesn't do anything either. It's just gone.</p>
<pre><code> Widget build(BuildContext context) {
final... | I have an AppBar widget that works perfectly on an emulator and on my phone via USB, but after I build the apk and test it, the AppBar is completely grey. Pressing on the supposed locations of the action buttons doesn't do anything either. It's just gone. [CODE] It's because of the flexibleSpace I am using to customize... | android|flutter|user-interface | 0 | 2022-08-08T18:53:36.643Z | 2,022 | 8 | 18 | 0 | 71 | 0 | 537 | 60 | 3 | 1 | true | true | false | false | false | false | zero |
73,282,795 | Shared Image is not visible in chat room | <p>I created the chat application where I'm trying to share the media, Its not appearing the chat room. But its getting saved in the firebase with the url in the database.</p>
<p>Can anyone help me to figure out this.</p>
<pre><code> if (task.isSuccessful()) {
Uri downloadUri = task.getResult();
Calendar cdate... | I created the chat application where I'm trying to share the media, Its not appearing the chat room. But its getting saved in the firebase with the url in the database. Can anyone help me to figure out this. [CODE] | java|android|firebase | 0 | 2022-08-08T18:58:10.510Z | 2,022 | 8 | 18 | 0 | 39 | 0 | 214 | 40 | 3 | 1 | true | true | false | false | false | false | zero |
73,282,968 | Attempt to refer a null pointer view in android studio | <p>stackoverflow! I'm new to developing in android and I'm trying to figure out Fragments in android. I created a FrameLayout in activity_main.xml</p>
<pre><code><FrameLayout
android:id="@+id/mainFragment"
android:layout_width="match_parent"
android:layout_height="match_parent&q... | stackoverflow! I'm new to developing in android and I'm trying to figure out Fragments in android. I created a FrameLayout in activity_main.xml [CODE] And in onCreate method of MainActivity I'm trying to pass the LoginFragment to the FrameLayout. Here's the code of MainActivity: [CODE] The LoginFragment code: class Log... | android|android-studio|kotlin | -1 | 2022-08-08T19:17:14.763Z | 2,022 | 8 | 19 | 0 | 34 | 2 | 906 | 54 | 3 | 3 | true | false | false | false | false | true | negative |
73,282,995 | Conditional Remember Invalidation | <p>I have a composable that I want to animate in/out of my UI when the type of a class is specific type.</p>
<p>The code looks like this.</p>
<pre><code>AnimatedVisibility(currentValue is MyType) {
if (currentValue is MyType) // required check as MyComposable only takes MyType
MyComposable(myType = currentVa... | I have a composable that I want to animate in/out of my UI when the type of a class is specific type. The code looks like this. [CODE] The problem is this will animate in just fine but it doesn't animate out since when currentValue isn't MyType the AnimatedVisibility composable is empty. I really need to remember the v... | android-jetpack-compose | 0 | 2022-08-08T19:20:53.673Z | 2,022 | 8 | 19 | 0 | 25 | 1 | 774 | 33 | 1 | 2 | true | false | false | false | false | false | zero |
73,283,003 | Not able to open Google Maps Turn By Turn Navigation: Flutter | <p>I am trying to integrate the following functionality into my flutter app-
**When a user clicks a Navigate button, it should redirect the user to Google Maps App and start Turn by Turn Navigation (which we generally use) **<br />
I am using the following code- (just an example error message although I am using latitu... | I am trying to integrate the following functionality into my flutter app- **When a user clicks a Navigate button, it should redirect the user to Google Maps App and start Turn by Turn Navigation (which we generally use) ** I am using the following code- (just an example error message although I am using latitude and lo... | android|flutter|google-maps|android-intent|navigation | 0 | 2022-08-08T19:21:27.820Z | 2,022 | 8 | 19 | 0 | 109 | 0 | 2,195 | 61 | 5 | 1 | true | true | false | false | false | false | zero |
73,283,074 | Set Offer Token using Flutter in app purchase package for Google Play Store | <p>I am trying to offer a subscription <strong>with a specified <a href="https://support.google.com/googleplay/android-developer/answer/12154973?hl=en#:%7E:text=Using%20Google%20Play%27s%20billing%20system,your%20app%20on%20Google%20Play." rel="nofollow noreferrer">offer</a></strong> for specific users using Flutter in... | I am trying to offer a subscription with a specified offer for specific users using Flutter in app purchases in the Google Play console. I created an offer in Google Play Store with the "Eligibility Criteria" set to "Developer Determined", but I cannot figure out how to specify this offer in an in a... | flutter|google-play|in-app-purchase|android-billing|flutter-in-app-purchase | 0 | 2022-08-08T19:29:00.257Z | 2,022 | 8 | 19 | 0 | 67 | 0 | 842 | 75 | 5 | 0 | false | true | false | false | false | false | zero |
73,283,263 | How to disconnect from Firebase emulator using Android Hilt | <p>I am trying to use the Firebase Auth and Firestore emulator for testing, but my real Firebase app for development. I have Hilt for dependency injection. In my test module, I set <code>useEmulator</code> but in my development module, I just use the Firebase singletons. It turns out development is still using the emul... | I am trying to use the Firebase Auth and Firestore emulator for testing, but my real Firebase app for development. I have Hilt for dependency injection. In my test module, I set useEmulator but in my development module, I just use the Firebase singletons. It turns out development is still using the emulator because the... | android|firebase|kotlin|dagger-hilt|firebase-tools | 0 | 2022-08-08T19:47:01.640Z | 2,022 | 8 | 19 | 0 | 40 | 2 | 496 | 59 | 5 | 3 | true | false | false | false | false | false | zero |
73,283,601 | Passing an interceptor to retrofit builder using dagger-hilt | <p>I'm learning about retrofit interceptors, for work purposes I'm using dagger-hilt for the injection of dependencies to fragments etc. I wrote a custom interceptor to check for connection errors and I'm trying to add it to the <code>Retrofit.Builder()</code>:</p>
<pre><code> @Provides
@Singleton
fun provid... | I'm learning about retrofit interceptors, for work purposes I'm using dagger-hilt for the injection of dependencies to fragments etc. I wrote a custom interceptor to check for connection errors and I'm trying to add it to the Retrofit.Builder() : [CODE] however, I have no clue how to pass that: [CODE] as a .client() to... | android|dependency-injection|dagger-hilt | 0 | 2022-08-08T20:21:01.853Z | 2,022 | 8 | 20 | 0 | 130 | 1 | 376 | 60 | 3 | 2 | true | false | false | false | false | false | zero |
73,284,007 | Is SQLite/Android Room the right database for my app? | <p>I'm building an app where the user will control a few sliders, produce an output based on those sliders, and then that output will be saved so they can scroll through their history. The sliders will be labeled with information and attributes assigned, the outputs of the sliders will be procedurally generated (with t... | I'm building an app where the user will control a few sliders, produce an output based on those sliders, and then that output will be saved so they can scroll through their history. The sliders will be labeled with information and attributes assigned, the outputs of the sliders will be procedurally generated (with the ... | android|sqlite|kotlin|android-room|sanity-check | 0 | 2022-08-08T21:04:57.280Z | 2,022 | 8 | 21 | 0 | 99 | 2 | 1,701 | 53 | 5 | 0 | false | false | false | false | false | false | zero |
73,284,058 | Best practise of using view model in jetpack compose | <p>I have few doubt using viewmodel in composable function. I am adding my activity code, I am passing my intent bundle.</p>
<ol>
<li>So I want to ask is this best practise to use viewmodel like this to create <code>viewmodel</code> global in the activity?</li>
</ol>
<p><strong>InputActivity.kt</strong></p>
<pre><code>... | I have few doubt using viewmodel in composable function. I am adding my activity code, I am passing my intent bundle. So I want to ask is this best practise to use viewmodel like this to create viewmodel global in the activity? InputActivity.kt [CODE] I have so many composable function Input [CODE] InputItem [CODE] Pul... | android|kotlin|android-jetpack-compose|android-jetpack|android-viewmodel | 2 | 2022-08-08T21:10:15.137Z | 2,022 | 8 | 21 | 0 | 367 | 3 | 719 | 52 | 5 | 11 | true | false | false | false | false | false | low |
73,284,087 | How to show PIN field with custom drawables? | <p>I have to show a custom PIN field, for each numeric keyboard entry. Instead of using <code>BasicTextField</code> I would like to show custom drawables for entered numeric values:</p>
<p><a href="https://i.stack.imgur.com/1bMst.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1bMst.png" alt="enter i... | I have to show a custom PIN field, for each numeric keyboard entry. Instead of using BasicTextField I would like to show custom drawables for entered numeric values: The example above shows a 2 digit pin (doen not make sense, just for example purpose), whereas the first digit (green) was entered: If no numeric was ente... | android|android-jetpack-compose|android-jetpack|android-jetpack-compose-text | 0 | 2022-08-08T21:13:52.397Z | 2,022 | 8 | 21 | 0 | 119 | 2 | 828 | 44 | 4 | 0 | false | false | false | false | false | false | zero |
73,284,227 | Is there a way to add items to an array in an xml file? | <p>I have an xml file e.g. "list.xml" :</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="country_name">
<item>Switzerland</item>
<item>Iceland</item>
</array>
<array name="flag_url">... | I have an xml file e.g. "list.xml" : [CODE] Then in my MainActivity.java I do various things with them, but that is not the point here, is there a way I can do something like name.add("CountryName")? The MainActivity.java: [CODE] So my list.xml would look like this: [CODE] | java|arrays|xml|android-studio|xml-formatting | 0 | 2022-08-08T21:30:11.453Z | 2,022 | 8 | 21 | 0 | 23 | 0 | 293 | 55 | 5 | 3 | true | true | false | false | false | false | zero |
73,284,258 | SocketBuildError: Permission Denied for raw sockets | <p>I was asked to adapt our network testing libraries so that they are able to run on Android.
The application's base functionalities are written in Rust and include <code>ping</code>, <code>dns</code>, <code>traceroute</code>, etc.</p>
<p>I'll use ping as an example, but the same problem applies to other applications ... | I was asked to adapt our network testing libraries so that they are able to run on Android. The application's base functionalities are written in Rust and include ping , dns , traceroute , etc. I'll use ping as an example, but the same problem applies to other applications that rely on the creation of a raw socket. For... | android|flutter|networking|rust | 1 | 2022-08-08T21:30:35.333Z | 2,022 | 8 | 21 | 0 | 83 | 0 | 3,388 | 51 | 4 | 2 | true | true | false | false | false | false | low |
73,284,294 | Move container to the left | <p>I want the container to be in the left side but i am always getting in the center of the screen. I tried using alignment and also used row,column but nothing worked.</p>
<pre><code>Widget _guitarChord(BuildContext context) {
return GestureDetector(
child: Container(
height: 200,
width: 250,
... | I want the container to be in the left side but i am always getting in the center of the screen. I tried using alignment and also used row,column but nothing worked. [CODE] | flutter|android-studio|dart|containers | 0 | 2022-08-08T21:39:36.227Z | 2,022 | 8 | 21 | 0 | 55 | 1 | 172 | 26 | 4 | 1 | true | false | false | false | false | false | zero |
73,284,347 | Actionbar flickering when applying fitsSystemWindows | <p>I am working on the full-screen fragment(with status bar). I set fitsSystemWindows to true. The issue is that the action bar flickers when navigating back to that fragment.</p>
<pre><code> <androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
androi... | I am working on the full-screen fragment(with status bar). I set fitsSystemWindows to true. The issue is that the action bar flickers when navigating back to that fragment. [CODE] | android|android-actionbar | 0 | 2022-08-08T21:46:35.740Z | 2,022 | 8 | 21 | 0 | 12 | 0 | 179 | 52 | 2 | 1 | true | true | false | false | false | false | zero |
73,284,438 | How to hide NavController & AppBarConfiguration in a fragment & activity | <p>I'm using a navigation graph in my Android app (Java) and have set up a NavController & AppBarConfiguration in my home activity. This is how I have it set up:</p>
<pre><code>public class Activity extends BaseActivity {
NavController navController;
private AppBarConfiguration appBarConfiguration;
priv... | I'm using a navigation graph in my Android app (Java) and have set up a NavController & AppBarConfiguration in my home activity. This is how I have it set up: [CODE] I want the NavController & AppBarConfiguration to be hidden to allow for fullscreen visibility in one fragment & one activity. For my fragment, I've tried... | java|android|android-navigation|android-navigation-graph | 0 | 2022-08-08T21:58:20.600Z | 2,022 | 8 | 21 | 0 | 87 | 1 | 692 | 72 | 4 | 6 | true | false | false | false | false | false | zero |
73,284,487 | How to read system time zone of an Android device from Espresso | <p>I need to write an Espresso test case to read the device time zone. I know there is an <strong>adb shell command</strong> to output device timestamp on a command shell (e.g.):</p>
<pre><code>c:\>adb shell date
Mon Aug 8 17:46:23 EDT 2022
</code></pre>
<p>From where I could grab the time zone 'EDT'.
But, how to d... | I need to write an Espresso test case to read the device time zone. I know there is an adb shell command to output device timestamp on a command shell (e.g.): [CODE] From where I could grab the time zone 'EDT'. But, how to do it in Espresso ? I have tried the above adb shell command in an Espresso code as below, but it... | adb|android-espresso | 0 | 2022-08-08T22:04:16.823Z | 2,022 | 8 | 22 | 0 | 31 | 1 | 406 | 63 | 2 | 2 | true | false | false | false | false | false | zero |
73,284,612 | Kotlin use variable used in a while loop | <p>I want to use a function in loop condition and reuse it in the loop, like this code in Java, but I want it in kotlin :</p>
<pre><code>while ( (data = in.readLine()) != null ) {
System.out.println("\r\nMessage from " + clientAddress + ": " + data);
}
</code></pre>
<p>I tried copying this code ... | I want to use a function in loop condition and reuse it in the loop, like this code in Java, but I want it in kotlin : [CODE] I tried copying this code in android studio to automatically convert to Kotlin and the code looks like this : [CODE] So I managed to get the lines with var line = "" before the loop, b... | android-studio|kotlin|sockets|while-loop|bufferedreader | 0 | 2022-08-08T22:20:04.930Z | 2,022 | 8 | 22 | 0 | 57 | 1 | 616 | 40 | 5 | 2 | true | false | false | false | false | false | zero |
73,284,725 | How to bring specific data from firestore to a textView in android kotlin? | <p>I want to bring user data from Firestore to a TextView. However, when the activity starts, the textView hard string disappears and doesn't display anything. The field is within the collection "Generales." Its name is "Nombre." Please help me out.</p>
<p>Here's the behavior:</p>
<p><a href="https... | I want to bring user data from Firestore to a TextView. However, when the activity starts, the textView hard string disappears and doesn't display anything. The field is within the collection "Generales." Its name is "Nombre." Please help me out. Here's the behavior: My snipped code: [CODE] layout [... | android|firebase|kotlin|google-cloud-firestore | 0 | 2022-08-08T22:34:36.723Z | 2,022 | 8 | 22 | 0 | 66 | 0 | 359 | 74 | 4 | 3 | true | true | false | false | false | false | zero |
73,284,785 | Convert string to date in Java for given format | <p>I have a response from an API for a date field.</p>
<pre><code>"billCycleDate":"2022-07-15T00:00:00-05:00"
</code></pre>
<p>I'm trying to convert this to a "dd-MM-yyyy" date format. The easy way is to simply extract the date from the string and then convert into the format I want. But I... | I have a response from an API for a date field. [CODE] I'm trying to convert this to a "dd-MM-yyyy" date format. The easy way is to simply extract the date from the string and then convert into the format I want. But I wanted to know if there is a 'correct' way of doing this. The following code is what I've b... | java|android | -2 | 2022-08-08T22:45:14.983Z | 2,022 | 8 | 22 | 0 | 80 | 3 | 527 | 47 | 2 | 3 | true | false | false | false | false | true | negative |
73,285,038 | RecyclerView inside BottomSheetBehavior | <p>I am building an Android screen that allows the user to place multiple "sticker" images on top of a background image. When the user taps on an icon, a BottomSheet containing a RecyclerView of stickers images is rendered from the bottom at around 75% of the screen height. As you will see in the attached <... | I am building an Android screen that allows the user to place multiple "sticker" images on top of a background image. When the user taps on an icon, a BottomSheet containing a RecyclerView of stickers images is rendered from the bottom at around 75% of the screen height. As you will see in the attached GIF , ... | android|android-recyclerview|bottom-sheet | 0 | 2022-08-08T23:29:54.287Z | 2,022 | 8 | 23 | 0 | 38 | 0 | 998 | 39 | 3 | 3 | true | true | false | false | false | false | zero |
73,285,242 | E/RecyclerView: No adapter attached; skipping layout in fragment android studio using kotlin | <p>i am a beginner in android studio with kotlin
i alwayes struggle in fragment, they are difficult to cope with.
i am trying to implement recyclerview in fragment
but it does not work
i keep getting this error
E/RecyclerView: No adapter attached; skipping layout
here is my fragment</p>
<pre><code>package com.example.p... | i am a beginner in android studio with kotlin i alwayes struggle in fragment, they are difficult to cope with. i am trying to implement recyclerview in fragment but it does not work i keep getting this error E/RecyclerView: No adapter attached; skipping layout here is my fragment [CODE] my adapter [CODE] XML [CODE] wha... | android|kotlin|android-fragments|android-recyclerview|adapter | -1 | 2022-08-09T00:08:14.047Z | 2,022 | 8 | 0 | 1 | 83 | 1 | 334 | 92 | 5 | 3 | true | false | false | false | false | true | negative |
73,285,264 | Kotlin - Use an object of ListOf List as an element in another Object w/ListOf List | <p>I have a class that describes an object such that:</p>
<pre><code>data class Item(
var productName: String = "",
var productId: String = "",
var productDesc: String = "",
var productPrice: String = ""
)
</code></pre>
<p>and an object which holds a variable of... | I have a class that describes an object such that: [CODE] and an object which holds a variable of a ListOf Item(s): [CODE] This works great, I can access the List with: [CODE] or other similar methods. What I have run into lately is that the list of items has grown too big and the file is becoming too large for Android... | android|kotlin | 0 | 2022-08-09T00:12:55.700Z | 2,022 | 8 | 0 | 1 | 54 | 1 | 703 | 83 | 2 | 4 | true | false | false | false | false | false | zero |
73,285,618 | Andriod build-error-"platform-bootclasspath" depends on undefined module "WfdCommon"plz help me | <p>Build Miku-ui
. build/envsetup.sh
lunch miku_alphalm-userdebug
make diva</p>
<p>I encountered a problem when i built mikuui . I built it for the first time and couldn't konw the solution to the problem</p>
<p>here are the error messages</p>
<p>[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FA... | Build Miku-ui . build/envsetup.sh lunch miku_alphalm-userdebug make diva I encountered a problem when i built mikuui . I built it for the first time and couldn't konw the solution to the problem here are the error messages [100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja FAILED: out/soong/build.nin... | android|android-build | 0 | 2022-08-09T01:28:45.967Z | 2,022 | 8 | 1 | 1 | 78 | 0 | 1,039 | 95 | 2 | 0 | false | true | false | false | false | false | zero |
73,285,654 | How to render from Android to Unity | <p>I am developing an Unity APP with video chat using Amazon Chime, which only provides Android and iOS SDK. How do I display video frame in Unity?</p>
<p>I now have video frame data(ByteBuffer, stride, width and height) from Chime Android SDK, looks like this:</p>
<pre><code>class VideoFrameRGBABuffer(
override val wi... | I am developing an Unity APP with video chat using Amazon Chime, which only provides Android and iOS SDK. How do I display video frame in Unity? I now have video frame data(ByteBuffer, stride, width and height) from Chime Android SDK, looks like this: [CODE] Unity version: 2021.3.5 | android|unity3d|opengl-es|bytebuffer | 0 | 2022-08-09T01:35:26.767Z | 2,022 | 8 | 1 | 1 | 33 | 0 | 282 | 35 | 4 | 1 | true | true | false | false | false | false | zero |
73,285,661 | Retrieve count data from Firebase Java | <p>I am trying to count the number of children in my DB table that meet a certain condition. If the <code>isSeen</code> column equals <code>false</code> then I want to count that, if it equals <code>true</code> I don't want to count it.</p>
<p>Currently, it's not working but if I change the query from <code>Query query... | I am trying to count the number of children in my DB table that meet a certain condition. If the isSeen column equals false then I want to count that, if it equals true I don't want to count it. Currently, it's not working but if I change the query from Query query = usersRef.orderByChild("isSeen").equalTo(tr... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-08-09T01:36:21.647Z | 2,022 | 8 | 1 | 1 | 101 | 3 | 516 | 38 | 5 | 3 | true | false | false | false | false | false | zero |
73,285,710 | onSaveInstance outState saving all state with last putString | <p>I was working with Activity</p>
<p>I am using <em>onSaveInstanceState</em> lifecycle</p>
<p>when I tried to updating</p>
<pre><code>companion object {
const val EXTRA_INDEX = "extra_index"
private const val STATE_COMMENT_NAME = ""
private const val STATE_COMMENT_COMMENT = ""... | I was working with Activity I am using onSaveInstanceState lifecycle when I tried to updating [CODE] on GalleryDetail class with [CODE] within onSaveInstanceState lifecycle, STATE_COMMENT_NAME was filled by tvCommentComment.text.toString().trim() even when I changed the order, for example [CODE] vice versa, STATE_COMME... | android|kotlin|lifecycle|onsaveinstancestate | 1 | 2022-08-09T01:47:56Z | -1 | -1 | -1 | -1 | 29 | 1 | 873 | 60 | 4 | 4 | true | false | false | false | false | false | low |
73,285,788 | Android MediaCodec crash while stopping | <p>My app usually crash while stopping play or back to background in android 11 mobile.</p>
<p>The error message shows: postPendingRepliesAndDeferredMessages: mReplyID == null, from kWhatError:STOPPING following kWhatError:STOPPING.</p>
<p>crashed thread info start</p>
<pre><code> 0 libc.so + 0x8cd24 (abort+164)
1 l... | My app usually crash while stopping play or back to background in android 11 mobile. The error message shows: postPendingRepliesAndDeferredMessages: mReplyID == null, from kWhatError:STOPPING following kWhatError:STOPPING. crashed thread info start [CODE] crashed thread info end Anyone knows the reason and how to solve... | android|android-mediacodec | 0 | 2022-08-09T02:01:32.653Z | 2,022 | 8 | 2 | 1 | 37 | 0 | 349 | 39 | 2 | 1 | true | true | false | false | false | false | zero |
73,285,872 | one-shot operation with Flow in Android | <p>I'm trying to show a user information in <code>DetailActivity</code>. So, I request a data and get a data for the user from server. but in this case, the return type is <code>Flow<User></code>. Let me show you the following code.</p>
<p><strong>ServiceApi.kt</strong></p>
<pre><code>@GET("endpoint")
s... | I'm trying to show a user information in DetailActivity . So, I request a data and get a data for the user from server. but in this case, the return type is Flow<User> . Let me show you the following code. ServiceApi.kt [CODE] Repository.kt [CODE] DetailViewModel.kt [CODE] DetailActivity.kt [CODE] But, all of sudden, I... | android|android-lifecycle|kotlin-flow | 1 | 2022-08-09T02:16:32.623Z | 2,022 | 8 | 2 | 1 | 99 | 1 | 881 | 39 | 3 | 5 | true | false | false | false | false | false | low |
73,286,005 | Android WearOS ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS is being ignored | <p>On Android WearOS with SDK 28 I am trying to disable doze mode. From my understanding, the following code will disable doze mode:</p>
<pre><code>PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
boolean isIgnoringBatteryOptimizations = pm.isIgnoringBatteryOptimizations(getPackageName());
if(... | On Android WearOS with SDK 28 I am trying to disable doze mode. From my understanding, the following code will disable doze mode: [CODE] In my manifest I have added [CODE] Later in my activity I have added the following code to test if battery optimizations have been disabled (what I understand doze mode to be) [CODE] ... | android|android-permissions|wear-os|android-doze | 1 | 2022-08-09T02:43:13.593Z | 2,022 | 8 | 2 | 1 | 37 | 1 | 546 | 75 | 4 | 3 | true | false | false | false | false | false | low |
73,286,106 | Is there any way to find target View by matOfPoint | <p>I use <code>Imgproc.findContours()</code> to find some different of android views in android program and the function returns <code>ArrayList<MatOfPoint></code>.<br />
Is there some way that I can use to convert <code>MatOfPoint</code> to Android <code>Rect</code> so I can use these to find the target view ?
o... | I use Imgproc.findContours() to find some different of android views in android program and the function returns ArrayList<MatOfPoint> . Is there some way that I can use to convert MatOfPoint to Android Rect so I can use these to find the target view ? or some way to mapping MatOfPoint to views on screen ? [CODE] | java|android|opencv | 0 | 2022-08-09T03:06:09.537Z | 2,022 | 8 | 3 | 1 | 28 | 0 | 314 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
73,286,114 | The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.40 and higher | <p>Problem when I run the app-</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.40 and higher.
The following dependencies do not satisfy the required version:
project ':google_map_location_picker' -> org.jetbrains.k... | Problem when I run the app- FAILURE: Build failed with an exception. What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.40 and higher. The following dependencies do not satisfy the required version: project ':google_map_location_picker' -> org.jetbrains.kotlin:kotlin-gradle-plugin... | android|ios|flutter|dart | 1 | 2022-08-09T03:07:38.503Z | 2,022 | 8 | 3 | 1 | 82 | 3 | 499 | 86 | 4 | 3 | true | false | false | false | false | false | low |
73,286,335 | image sticking to top left corner of grid | <p>I am using Android Studio Dolphin. When I attached an image using (image view) on a (grid layout), the image is sticking to the top left corner of the grid.The grid is 3*3.
And even if I tried to resize the image, it resizes on that same top left corner axis.
So, <a href="https://i.stack.imgur.com/ml2EM.png" rel="no... | I am using Android Studio Dolphin. When I attached an image using (image view) on a (grid layout), the image is sticking to the top left corner of the grid.The grid is 3*3. And even if I tried to resize the image, it resizes on that same top left corner axis. So, what can i do to get rid of the top left corner axis? en... | java|android|image|layout|grid | 0 | 2022-08-09T03:48:13.547Z | 2,022 | 8 | 3 | 1 | 17 | 0 | 346 | 41 | 5 | 0 | false | true | false | false | false | false | zero |
73,286,392 | Trying to run my app on an iphone simulator through VS Studio and Xcode and when I run the simulator I get this error: | <pre><code>/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
/Libr... | [CODE] Error output from CocoaPods: ↳ [!] Automatically assigning platform iOS with version 9.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform . Error running pod install Error launching applica... | android|ios|flutter|dart|visual-studio-code | 1 | 2022-08-09T03:59:18.810Z | 2,022 | 8 | 3 | 1 | 24 | 2 | 353 | 118 | 5 | 1 | true | false | false | false | false | false | low |
73,286,403 | How to find download to trial and trial to paid user conversion data on Google Play Console? | <p>Hi Stackoverflow community,</p>
<p>We've built a cross-platform app and I'm trying to figure out our conversion rates. We are using RevenueCat, however we don't trust the information it's giving us. Our app offers a free 7-day trial with either a monthly or a yearly paid subscription.</p>
<p>On Google Play Console, ... | Hi Stackoverflow community, We've built a cross-platform app and I'm trying to figure out our conversion rates. We are using RevenueCat, however we don't trust the information it's giving us. Our app offers a free 7-day trial with either a monthly or a yearly paid subscription. On Google Play Console, under Financial R... | android|google-play|google-play-console|in-app-subscription | 0 | 2022-08-09T04:01:16.210Z | 2,022 | 8 | 4 | 1 | 21 | 0 | 1,011 | 92 | 4 | 0 | false | true | false | false | false | false | zero |
73,286,430 | I am facing problem for adding "implementation 'com.firebaseui:firebase-ui-database:8.0.1" in android studio(java) | <p>I am facing problem for adding "implementation 'com.firebaseui:firebase-ui-database:8.0.1" in android studio(java).if I try to add this dependency then i face this problem,"error reading C:\Users\sourov ahmed.gradle\caches\modules-2\files-2.1\io.reactivex.rxjava3\rxjava\3.0.2\e652ec63717b1a92509abc8dc... | I am facing problem for adding "implementation 'com.firebaseui:firebase-ui-database:8.0.1" in android studio(java).if I try to add this dependency then i face this problem,"error reading C:\Users\sourov ahmed.gradle\caches\modules-2\files-2.1\io.reactivex.rxjava3\rxjava\3.0.2\e652ec63717b1a92509abc8dc884... | java|android|android-studio|firebase-realtime-database | 0 | 2022-08-09T04:05:34.810Z | 2,022 | 8 | 4 | 1 | 43 | 1 | 464 | 114 | 4 | 3 | true | false | false | false | false | false | zero |
73,286,459 | How to set HTTP 2.0 in my HttpsUrlConnection in Android | <p>I am new to Android and Java so when I make a Get Request using HttpsUrlConnection. do I need to add HTTP Version and if so then how to specify that in my Request. if my question looks mad then I am sorry for that because I don't fully understand this Concept.</p>
<p>does HTTP version make a change in HTTP response ... | I am new to Android and Java so when I make a Get Request using HttpsUrlConnection. do I need to add HTTP Version and if so then how to specify that in my Request. if my question looks mad then I am sorry for that because I don't fully understand this Concept. does HTTP version make a change in HTTP response ? | java|android | 0 | 2022-08-09T04:11:40.217Z | 2,022 | 8 | 4 | 1 | 15 | 0 | 311 | 55 | 2 | 0 | false | true | false | false | false | false | zero |
73,286,508 | Gradle 7.0 Bitbucket artifactory | <p>I have been trying to use bitbucket as maven artifactory. Since Gradle 7 the uploadarchives as deprecated and replaced with maven_publish with publish method. The methods no longer compatible with wagonGit. Does any try to use Bitbucket with Gradle 7?. I couldnt find out a way to push my artifactory any help would b... | I have been trying to use bitbucket as maven artifactory. Since Gradle 7 the uploadarchives as deprecated and replaced with maven_publish with publish method. The methods no longer compatible with wagonGit. Does any try to use Bitbucket with Gradle 7?. I couldnt find out a way to push my artifactory any help would be g... | android|gradle|maven-publish | 0 | 2022-08-09T04:21:25.783Z | 2,022 | 8 | 4 | 1 | 18 | 0 | 338 | 32 | 3 | 0 | false | true | false | false | false | false | zero |
73,286,572 | Xcode Error accessing build database: database is locked | <p><img src="https://i.stack.imgur.com/KTgR9.png" alt="1" /></p>
<p>Xcode Error accessing build database: database is locked</p> | Xcode Error accessing build database: database is locked | android|xcode | 0 | 2022-08-09T04:34:28.403Z | 2,022 | 8 | 4 | 1 | 22 | 0 | 56 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
73,286,599 | Conditional query getting crash in android | <p>I am using room database in android studio when run query like Select * from table_name it is working but if I apply some conditions like WHERE then false response.</p>
<p>The same conditional query run on DB Browser for SQLite then it is working fine.</p>
<pre><code>public interface SubscriptionDataDao {
@Insert(on... | I am using room database in android studio when run query like Select * from table_name it is working but if I apply some conditions like WHERE then false response. The same conditional query run on DB Browser for SQLite then it is working fine. [CODE] View Model class [CODE] Fragment [CODE] Error Which i getting NullP... | android|sqlite|android-room|jave | 2 | 2022-08-09T04:39:15.350Z | 2,022 | 8 | 4 | 1 | 35 | 0 | 543 | 42 | 4 | 3 | true | true | false | false | false | false | low |
73,286,862 | Android: Can't move the Keyboard accessible control to the Include Tag Layout | <p>I am not able to access the contents of include layout from Bluetooth Keyboard.</p>
<p>In my scenario there are 2 layouts:</p>
<ul>
<li>One is for the toolbar which is kept under include Tag and</li>
<li>Other is a simple scrollview layout.</li>
</ul>
<p>I have tried by providing android:nextFocusUp="@id/includ... | I am not able to access the contents of include layout from Bluetooth Keyboard. In my scenario there are 2 layouts: One is for the toolbar which is kept under include Tag and Other is a simple scrollview layout. I have tried by providing android:nextFocusUp="@id/include_toolbar" to my scrollview layout but th... | android|android-layout|accessibility|android-include | 0 | 2022-08-09T05:19:53.557Z | 2,022 | 8 | 5 | 1 | 38 | 0 | 553 | 77 | 4 | 2 | true | true | false | false | false | false | zero |
73,286,884 | How to use ClearCheck() method to restart radiogroup, all recycler view items? | <p>I have a simple question app that shows the user a question and five answers <strong>RadioButton</strong> inside a Recyclerview.</p>
<p><strong>Problem</strong></p>
<p>1- How can I use ClearCheck() method to reset all items in the recycled view when the user has set the response?</p>
<p>2- When I click the Next butt... | I have a simple question app that shows the user a question and five answers RadioButton inside a Recyclerview. Problem 1- How can I use ClearCheck() method to reset all items in the recycled view when the user has set the response? 2- When I click the Next button to save the user's answer, only one of the items, and o... | android|kotlin|android-recyclerview|radio-group|android-radiobutton | 0 | 2022-08-09T05:22:24.803Z | 2,022 | 8 | 5 | 1 | 31 | 0 | 593 | 78 | 5 | 2 | true | true | false | false | false | false | zero |
73,286,907 | Why every time Getting getRssnr() SNR value 2147483647(UNAVAILABLE) for LTE | <p>Did run time Access Fine Location permission and read phone state permission.</p>
<pre><code>TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
List<CellInfo> cellInfos = telephonyManager.getAllCellInfo();
if (cellInfos != null) {
for (int i = 0; i ... | Did run time Access Fine Location permission and read phone state permission. [CODE] | android|telecommunication | 0 | 2022-08-09T05:25:16.703Z | 2,022 | 8 | 5 | 1 | 33 | 0 | 84 | 75 | 2 | 1 | true | true | false | false | false | false | zero |
73,286,930 | Is it possible R/W data to /system/bin/ from system/pri-system app in android 11/12 | <p>I am Using rock-chip device and working on AOSP 11/12 source code.</p>
<p>I have created privileged system app to Read/Write data to /system/bin/ .</p>
<p>Tried below things :</p>
<ul>
<li><p><code>new File("/system/bin").exists()</code> ===> Getting value is "true"</p>
</li>
<li><p><code>new... | I am Using rock-chip device and working on AOSP 11/12 source code. I have created privileged system app to Read/Write data to /system/bin/ . Tried below things : new File("/system/bin").exists() ===> Getting value is "true" new File("/system/bin").canRead() ===> Getting value is "fals... | android|filesystems|android-source|android-11|android-12 | 0 | 2022-08-09T05:27:52.377Z | 2,022 | 8 | 5 | 1 | 33 | 0 | 474 | 83 | 5 | 0 | false | true | false | false | false | false | zero |
73,286,940 | Ionic Cordova Build --release not compile css | <p>When i run ionic in emulator background color black is working
But after i run ionic cordova build android --release my app background back to white.</p>
<p>Can anyone help my problem?
This screenshot on my emulator (when run ionic cordova emulate android --livereload)
<a href="https://i.stack.imgur.com/N3Z7X.png" r... | When i run ionic in emulator background color black is working But after i run ionic cordova build android --release my app background back to white. Can anyone help my problem? This screenshot on my emulator (when run ionic cordova emulate android --livereload) And this is after ionic cordova build android --release [... | android|cordova|ionic-framework|ionic6 | 0 | 2022-08-09T05:28:55.817Z | 2,022 | 8 | 5 | 1 | 30 | 1 | 325 | 45 | 4 | 1 | true | false | false | false | false | false | zero |
73,286,945 | text color of textfield in dark theme has issue | <p>so I try to use textfield in my project, a textfield with custom colors, everything is ok in light theme, but when i active the dark theme, text color of textfield gets white, which I already defined as black, here a sample code:</p>
<pre class="lang-kotlin prettyprint-override"><code>
TextField(
... | so I try to use textfield in my project, a textfield with custom colors, everything is ok in light theme, but when i active the dark theme, text color of textfield gets white, which I already defined as black, here a sample code: [CODE] I even put textfield in surface, and nothing changed do u have any idea why all of ... | android|kotlin|android-jetpack-compose | 0 | 2022-08-09T05:29:14.683Z | 2,022 | 8 | 5 | 1 | 75 | 1 | 370 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
73,286,982 | Fetching assests from cloud into Android app | <p>I have an android app where I want to store images and lottie files in cloud, fetch them into local storage, and then render them from local storage and thus effectively reducing the app download size.</p> | I have an android app where I want to store images and lottie files in cloud, fetch them into local storage, and then render them from local storage and thus effectively reducing the app download size. | android|resources|cloud|assets | 0 | 2022-08-09T05:34:47.333Z | 2,022 | 8 | 5 | 1 | 15 | 0 | 201 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
73,287,051 | Token based authentication for log-in in Android Application | <p>The application I am developing is a credit scoring application. This software should prevent unauthorized access. In order to implement this, I've used user and password-based authentication with two roles available - standard user and administrator.</p>
<p>This was implemented entirely in Python by using SQLAlchem... | The application I am developing is a credit scoring application. This software should prevent unauthorized access. In order to implement this, I've used user and password-based authentication with two roles available - standard user and administrator. This was implemented entirely in Python by using SQLAlchemy for inte... | android|authentication|token | 0 | 2022-08-09T05:46:04.757Z | 2,022 | 8 | 5 | 1 | 26 | 1 | 812 | 60 | 3 | 2 | true | false | false | false | false | false | zero |
73,287,095 | Does Android WebView Support for requestPointerLock()? | <p>I am trying to use <code>requestPointerLock</code> from Javascript on Android. I got some errors when trying the most basic things, so I tried out some examples like <a href="https://mdn.github.io/dom-examples/pointer-lock/" rel="nofollow noreferrer">this</a> or <a href="https://archive.org/details/msdos_Scorched_E... | I am trying to use requestPointerLock from Javascript on Android. I got some errors when trying the most basic things, so I tried out some examples like this or this don't work. At the same time, I read that the API should be supported in Android Chrome. Does anyone have a working example of this? The specific error I ... | javascript|android|webview|pointerlock | 1 | 2022-08-09T05:53:53.083Z | 2,022 | 8 | 5 | 1 | 31 | 0 | 542 | 54 | 4 | 0 | false | true | false | false | false | false | low |
73,287,128 | open dialog fragment in Fragment | <p>I have DialogFragment within just some text
and I want open it in Fragment</p>
<p>It's Dialog Fragment first</p>
<pre><code>public class subscribe_dialog_frag extends DialogFragment {
@Override
@Nullable
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable ... | I have DialogFragment within just some text and I want open it in Fragment It's Dialog Fragment first [CODE] and it's my fragment code [CODE] I just open the dialogFragment. possible?? or i do another way? | java|android|android-fragments | 0 | 2022-08-09T05:59:45.093Z | 2,022 | 8 | 5 | 1 | 36 | 1 | 205 | 32 | 3 | 2 | true | false | false | false | false | false | zero |
73,287,144 | Refresh another activity from current activity | <p>is this possible to refresh another activity from current activity once I clicked a button in android so when I clicked that button it will refresh the other activity content?</p> | is this possible to refresh another activity from current activity once I clicked a button in android so when I clicked that button it will refresh the other activity content? | java|android|android-studio|android-studio-3.0 | 0 | 2022-08-09T06:02:34.797Z | 2,022 | 8 | 6 | 1 | 50 | 1 | 175 | 46 | 4 | 0 | false | false | false | false | false | false | zero |
73,287,165 | Could not find androidx.compose.compiler:compiler:1.3.0-alpha02 when updating to 1.3.0-alpha02 | <p>I wanted to test latest version of jetpack compose 1.3.0-alpha02 (<a href="https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.3.0-alpha02" rel="nofollow noreferrer">Changelog</a>). So I created a new project and updated the version to <code>1.3.0-alpha02</code></p>
<p>But when running it, I... | I wanted to test latest version of jetpack compose 1.3.0-alpha02 ( Changelog ). So I created a new project and updated the version to 1.3.0-alpha02 But when running it, I get this error like something's not found: [CODE] What is the reason? I did nothing special. Just updated the version | android|android-jetpack-compose | 2 | 2022-08-09T06:04:45.253Z | 2,022 | 8 | 6 | 1 | 195 | 1 | 288 | 94 | 2 | 1 | true | false | false | false | false | false | low |
73,287,176 | how do i access getParentFragmentManager() from inside an adapter | <p>am trying to send a one time data from one a recyclerView adapter to a fragment in order to check which button was presses. according to the official documentation for this case it is best to use a getParentFragmentManager() method to interact with the fragment but i can only access it from a fragment and not from a... | am trying to send a one time data from one a recyclerView adapter to a fragment in order to check which button was presses. according to the official documentation for this case it is best to use a getParentFragmentManager() method to interact with the fragment but i can only access it from a fragment and not from an a... | android|android-fragments|android-recyclerview|fragment|android-adapter | 0 | 2022-08-09T06:05:59.727Z | 2,022 | 8 | 6 | 1 | 41 | 1 | 726 | 65 | 5 | 2 | true | false | false | false | false | false | zero |
73,287,312 | How to hide TextFieldCursorHandle in Jetpack compose for TextField/BasicTextField? | <p>The solution I have so far is to use a <code>Transparent</code> Color for the cursor.<br />
I am looking for a better way to hide it if there is any.</p>
<pre><code>cursorBrush = SolidColor(Transparent)
</code></pre>
<p>TextField should be focused, the keyboard should be open and the user should be able to type inpu... | The solution I have so far is to use a Transparent Color for the cursor. I am looking for a better way to hide it if there is any. [CODE] TextField should be focused, the keyboard should be open and the user should be able to type input. The problem with this is I can still see the TextFieldCursorHandle after entering ... | android|android-jetpack-compose | 1 | 2022-08-09T06:21:40.203Z | 2,022 | 8 | 6 | 1 | 142 | 1 | 325 | 82 | 2 | 1 | true | false | false | false | false | false | low |
73,287,324 | Android Studio Emulator is already running. But I can't see the emulator on the windows and run my project | <p>Installed android studio latest update and
started a project. But when I press run, emulator is not showing up.
And it say delete *.lock files. But I have already tried. Still couldn't see
the emulator. Please help me.<a href="https://i.stack.imgur.com/YbUxc.png" rel="nofollow noreferrer">enter image description her... | Installed android studio latest update and started a project. But when I press run, emulator is not showing up. And it say delete *.lock files. But I have already tried. Still couldn't see the emulator. Please help me. enter image description here | android | 0 | 2022-08-09T06:23:05.593Z | 2,022 | 8 | 6 | 1 | 118 | 6 | 247 | 106 | 1 | 0 | false | false | false | false | false | false | zero |
73,287,539 | Edit Admob app id for iOS and Android in Unity for third party sdk? | <p>I use Unity plugin from Yandex:
<a href="https://github.com/yandexmobile/yandex-ads-unity-plugin" rel="nofollow noreferrer">https://github.com/yandexmobile/yandex-ads-unity-plugin</a></p>
<p>The problem is I can use Admob inner plugin but I can't change Admob app id. Here is instruction:</p>
<p><a href="https://deve... | I use Unity plugin from Yandex: https://github.com/yandexmobile/yandex-ads-unity-plugin The problem is I can use Admob inner plugin but I can't change Admob app id. Here is instruction: https://developers.google.com/admob/unity/quick-start But this "Google Mobile Ads" even doesn't appear in Unity UI. It appea... | android|ios|unity3d|admob|app-id | 0 | 2022-08-09T06:47:35.780Z | 2,022 | 8 | 6 | 1 | 47 | 0 | 398 | 67 | 5 | 0 | false | true | false | false | false | false | zero |
73,287,699 | React native: why cant access camera after setting permission in app.json | <p>I'm trying to create an app where the user can take a photo when they press a button. Before setting the camera permission on the app.json, it works perfectly fine on my physical device but after setting the permission on the app.json, it doesn't work. I still got the popup where it asks for user permission but afte... | I'm trying to create an app where the user can take a photo when they press a button. Before setting the camera permission on the app.json, it works perfectly fine on my physical device but after setting the permission on the app.json, it doesn't work. I still got the popup where it asks for user permission but after a... | javascript|react-native|android-permissions | 0 | 2022-08-09T07:04:07.950Z | 2,022 | 8 | 7 | 1 | 87 | 1 | 468 | 73 | 3 | 2 | true | false | false | false | false | false | zero |
73,287,743 | Data is not display in the real-time database | <p>I went through all the steps according to the documents, read and writing to the real-time database works well but the data is not displayed in the database, how to fix this?</p>
<pre><code>classpath 'com.google.gms:google-services:4.3.13'
implementation 'com.google.firebase:firebase-database-ktx:20.0.5'
</code></pr... | I went through all the steps according to the documents, read and writing to the real-time database works well but the data is not displayed in the database, how to fix this? [CODE] [CODE] [CODE] | android|firebase|kotlin|firebase-realtime-database | 0 | 2022-08-09T07:08:24.060Z | 2,022 | 8 | 7 | 1 | 47 | 1 | 195 | 45 | 4 | 3 | true | false | false | false | false | false | zero |
73,287,841 | How to move files from internal storage to app directory? | <p>I am making a app that store files get files from <code>Internal Storage</code> and lock those files in app directory <code>/data/data/[package_name]/videos/</code>.</p>
<p>I try to move files files through this method but it is not working for me.</p>
<pre><code>source.renameTo(new File("data/data/" + thi... | I am making a app that store files get files from Internal Storage and lock those files in app directory /data/data/[package_name]/videos/ . I try to move files files through this method but it is not working for me. [CODE] TRIED BEFORE I tried this source.renameTo(new File("/storage/emulated/0/" + this.getPa... | java|android|android-studio | 0 | 2022-08-09T07:16:38.163Z | 2,022 | 8 | 7 | 1 | 49 | 1 | 582 | 57 | 3 | 2 | true | false | false | false | false | false | zero |
73,287,854 | How to use data binding and UI state in combination? | <p>I recently read the "Guide to app architecture" and tried to integrate an UI state into my project. I also read that it's necessary to use a method like "distinctUntilChanged". Now I'm wondering how to use UI state in combination with data binding in my project. The problem is, that you have to u... | I recently read the "Guide to app architecture" and tried to integrate an UI state into my project. I also read that it's necessary to use a method like "distinctUntilChanged". Now I'm wondering how to use UI state in combination with data binding in my project. The problem is, that you have to use ... | android|mvvm|android-livedata|android-databinding|android-viewmodel | 0 | 2022-08-09T07:18:10.577Z | 2,022 | 8 | 7 | 1 | 83 | 0 | 782 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
73,287,857 | Android Notifications - Popup but with no Sound | <p>We are sending Push Notifcations to our Android app. We want them to appear as a "Pop-Up" by default.</p>
<p>The only way I have been able to get that to work dfo that seend to do that is to target a specific notification channel with an Importance of High.When we do that we do get a visible pop-up for our... | We are sending Push Notifcations to our Android app. We want them to appear as a "Pop-Up" by default. The only way I have been able to get that to work dfo that seend to do that is to target a specific notification channel with an Importance of High.When we do that we do get a visible pop-up for our Notificat... | android-notifications|android-push-notification | 0 | 2022-08-09T07:18:19.030Z | 2,022 | 8 | 7 | 1 | 23 | 1 | 570 | 47 | 2 | 0 | false | false | false | false | false | false | zero |
73,287,904 | Android Web view set Image from locally stored image | <p>I need to pass device stored picture to android webview html img src="". I have done exactly as per the guide in <a href="https://developer.android.com/guide/webapps/load-local-content" rel="nofollow noreferrer">https://developer.android.com/guide/webapps/load-local-content</a>, things work fine for intern... | I need to pass device stored picture to android webview html img src="". I have done exactly as per the guide in https://developer.android.com/guide/webapps/load-local-content , things work fine for internet image url. Local image was selected by referring java codes in https://developer.android.com/training/... | java|android|webview | 0 | 2022-08-09T07:22:07.057Z | 2,022 | 8 | 7 | 1 | 18 | 0 | 735 | 52 | 3 | 2 | true | true | false | false | false | false | zero |
73,287,946 | My Android App is not loading the new url page in webview using intent-filters | <p>I am using webview and calling my website to show it in the android app. And I used intent-filters to open the external URLs to redirect and open them in the app instead of web-browser. Everything works fine but the problem is when I click on a URL it opens my app but when I click on another URL it opens the same ap... | I am using webview and calling my website to show it in the android app. And I used intent-filters to open the external URLs to redirect and open them in the app instead of web-browser. Everything works fine but the problem is when I click on a URL it opens my app but when I click on another URL it opens the same app b... | java|android|webview | 0 | 2022-08-09T07:25:24.383Z | 2,022 | 8 | 7 | 1 | 50 | 0 | 438 | 78 | 3 | 2 | true | true | false | false | false | false | zero |
73,287,956 | What solution to update the app without the base file? | <p>A month ago I deleted the .jks file thinking it was a duplicate.
I had a file of the same name in my backups, unfortunately I deleted the wrong file and the file I have is not identical to the base signature</p>
<p>I lost the jks keystore file for publishing my app on google play console.</p> | A month ago I deleted the .jks file thinking it was a duplicate. I had a file of the same name in my backups, unfortunately I deleted the wrong file and the file I have is not identical to the base signature I lost the jks keystore file for publishing my app on google play console. | android|google-play-console | 0 | 2022-08-09T07:26:24.410Z | 2,022 | 8 | 7 | 1 | 37 | 1 | 282 | 54 | 2 | 0 | false | 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.