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,921,684 | Model Class response issue | <p>I have a Model class</p>
<pre><code>data class OtpVerifyModel(
val result: Int? = null,
val msg: String? = null,
val data: Datas? = null)
</code></pre>
<p>in the response success stage, result is equal to 1 and we get Object in data where as if result is -1. we get string in data part. I used Datas class for data bu... | I have a Model class [CODE] in the response success stage, result is equal to 1 and we get Object in data where as if result is -1. we get string in data part. I used Datas class for data but app crashes in a case when data is a string. How can I handle two different type of data in same variable in different cases? he... | android|kotlin|retrofit2 | 0 | 2022-07-09T13:18:03.527Z | 2,022 | 7 | 13 | 5 | 31 | 1 | 351 | 26 | 3 | 2 | true | false | false | false | false | false | zero |
72,921,727 | Cannot upload files to Firebase Storage using Flutter in Debug mode | <p>Hi I'm having trouble testing uploading files to Firebase Storage with Flutter using an emulator in Android Studio. I keep getting this error even though I followed the documentation: <a href="https://firebase.google.com/docs/app-check/flutter/default-providers" rel="nofollow noreferrer">https://firebase.google.com/... | Hi I'm having trouble testing uploading files to Firebase Storage with Flutter using an emulator in Android Studio. I keep getting this error even though I followed the documentation: https://firebase.google.com/docs/app-check/flutter/default-providers . I also followed the one for debug mode: https://firebase.google.c... | flutter|android-studio|firebase-storage|firebase-app-check | 0 | 2022-07-09T13:24:41.320Z | 2,022 | 7 | 13 | 5 | 50 | 0 | 813 | 67 | 4 | 2 | true | true | false | false | false | false | zero |
72,921,740 | Android overlay window notification in xamarin form | <p>how to implement the android overlay window notification with some actions button to close the overlay window in xamarin android.</p>
<ol>
<li>Push notifications will come from FCM but instead of showing android regular notifications I wanted to show the overlay notification message with my custom view.</li>
</ol> | how to implement the android overlay window notification with some actions button to close the overlay window in xamarin android. Push notifications will come from FCM but instead of showing android regular notifications I wanted to show the overlay notification message with my custom view. | xamarin|xamarin.forms|xamarin.android|monodevelop | 0 | 2022-07-09T13:26:27.423Z | 2,022 | 7 | 13 | 5 | 33 | 1 | 291 | 51 | 4 | 0 | false | false | false | false | false | false | zero |
72,921,807 | Android Camera.PictureCallback crops width / height | <p>In my app I want to take a picture with Camera.PictureCallback in one fragment and then in another fragment display this picture.</p>
<p>The problem is that when I take a picture the shown frame is not cropped, but when I take a picture the saved image is actually cropped.</p>
<p>Here is my code:</p>
<p>CameraPrevie... | In my app I want to take a picture with Camera.PictureCallback in one fragment and then in another fragment display this picture. The problem is that when I take a picture the shown frame is not cropped, but when I take a picture the saved image is actually cropped. Here is my code: CameraPreview.java [CODE] If you nee... | java|android|android-camera | 0 | 2022-07-09T13:36:40.770Z | 2,022 | 7 | 13 | 5 | 26 | 0 | 345 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
72,921,982 | Call all values of a specific sub-child in firebase | <p>This is my firebase realtime database
<a href="https://i.stack.imgur.com/LwGHl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LwGHl.png" alt="enter image description here" /></a></p>
<p>I am trying to call all values of "Deadline" but I can't make it work.</p>
<p>I tried</p>
<pre><code>... | This is my firebase realtime database I am trying to call all values of "Deadline" but I can't make it work. I tried [CODE] and [CODE] and [CODE] and [CODE] then I test here to see if it works but it always return null no matter what. How can i make it work? Thank you in advance [CODE] | android|firebase|firebase-realtime-database | 0 | 2022-07-09T14:01:35.287Z | 2,022 | 7 | 14 | 5 | 25 | 1 | 296 | 51 | 3 | 5 | true | false | false | false | false | false | zero |
72,921,987 | Error: Target id 'android-19' is not valid. Pgs4a | <p>i am trying to create an apk from pygame and pgs4a but i am getting error:</p>
<p><code> Buildfile: build.xml does not exist!</code></p>
<p>but scrolling up I saw:</p>
<pre><code>Error: Target id 'android-19' is not
valid. Use 'android.bat' list targets to get the target ids.
</code></pre>
<p>It says that I don't h... | i am trying to create an apk from pygame and pgs4a but i am getting error: Buildfile: build.xml does not exist! but scrolling up I saw: [CODE] It says that I don't have 'android-19', but I then installed it but the error remained. Link to android sdk: https://drive.google.com/uc?export=download&id=1MmnT4VeKpYmt9nlGkmBK... | python|android|pygame | 0 | 2022-07-09T14:02:17.073Z | 2,022 | 7 | 14 | 5 | 29 | 0 | 332 | 49 | 3 | 1 | true | true | false | false | false | false | zero |
72,922,023 | Android Dialog - Attempt to invoke virtual method 'void android.app.Dialog.dismiss()' on a null object reference | <p>I have a <code>showImagePreviewDialog</code> function where I am calling dismissDialog which contains the code for dialog dismiss:</p>
<pre><code> private void showImagePreviewDialog(@Nullable final byte[] bitmapData) {
Bitmap bitmap = BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length);
... | I have a showImagePreviewDialog function where I am calling dismissDialog which contains the code for dialog dismiss: [CODE] Here is dismissDialog method: [CODE] I am initializing in the acitivity onCreate : [CODE] is there any possibility if we go back from the activity and the activity resumes then dialog will become... | java|android|nullpointerexception|dialog | 0 | 2022-07-09T14:06:52.307Z | 2,022 | 7 | 14 | 5 | 38 | 0 | 369 | 112 | 4 | 3 | true | true | false | false | false | false | zero |
72,922,120 | Tell me by what method can I read and save a file in the arm directory, Android applications? | <p>Tell me by what method can I read and save a file in the directory: /<strong>arm/armeabi/libMylib.so</strong> , Android applications?</p>
<p>During the operation of the application, need to change a few bytes in the native code library, and I want to open the library of the binary file and change a few bytes to save... | Tell me by what method can I read and save a file in the directory: / arm/armeabi/libMylib.so , Android applications? During the operation of the application, need to change a few bytes in the native code library, and I want to open the library of the binary file and change a few bytes to save this file back. | android | 0 | 2022-07-09T14:20:36.277Z | 2,022 | 7 | 14 | 5 | 17 | 0 | 310 | 93 | 1 | 0 | false | true | false | false | false | false | zero |
72,922,137 | Xamarin configure log level | <p>I created my first Xamarin Application using .Net 6.
Now when I debug the App with the Android emulator, it spams the log with the same log messages, to the point I cannot see the output from the tutorials I am doing currently.</p>
<p>Every second, it adds entries, which are all the same:</p>
<pre><code>07-09 14:19:... | I created my first Xamarin Application using .Net 6. Now when I debug the App with the Android emulator, it spams the log with the same log messages, to the point I cannot see the output from the tutorials I am doing currently. Every second, it adds entries, which are all the same: [CODE] How can I configure the log le... | android|.net|xamarin|rider | 0 | 2022-07-09T14:23:04.657Z | 2,022 | 7 | 14 | 5 | 30 | 0 | 362 | 27 | 4 | 1 | true | true | false | false | false | false | zero |
72,922,149 | FirestorePagingAdapter with additional/different list items crashes due to reuse of keys | <p>I am using the <a href="https://github.com/firebase/FirebaseUI-Android/blob/master/firestore/README.md#using-the-firestorepagingadapter" rel="nofollow noreferrer">FirestorePagingAdapter</a> to load data using paging from my backend.</p>
<p>My RecyclerView not only hosts the result of the paging request but also data... | I am using the FirestorePagingAdapter to load data using paging from my backend. My RecyclerView not only hosts the result of the paging request but also data that is displayed depending on the result of the paging (Imagine a Chat/message app where on each new day a label is added to the dataset that the user sees whil... | android|google-cloud-firestore|paging|firebaseui | 0 | 2022-07-09T14:24:24.950Z | 2,022 | 7 | 14 | 5 | 32 | 1 | 1,172 | 88 | 4 | 2 | true | false | false | false | false | false | zero |
72,922,205 | How to have natural pan and zoom with Modifier.graphicsLayer{}.pointerInput()? | <p>This is not the duplicate of using <code>Modifier.graphicsLayer{}</code> to rotate or pan Image. I want move, rotate and scale a Composable on screen not in a stationary position.</p>
<p>What i want to achieve is as in this image</p>
<p><a href="https://i.stack.imgur.com/jbScN.gif" rel="nofollow noreferrer"><img src... | This is not the duplicate of using Modifier.graphicsLayer{} to rotate or pan Image. I want move, rotate and scale a Composable on screen not in a stationary position. What i want to achieve is as in this image Order of Modifier.graphicsLayer{} and Modifier.pointerInput() matter. If Modifier.pointerInput() is placed aft... | android|android-jetpack-compose | 2 | 2022-07-09T14:32:07.203Z | 2,022 | 7 | 14 | 5 | 94 | 0 | 981 | 78 | 2 | 4 | true | true | false | false | false | false | low |
72,922,268 | How to check through Firebase Firestore that such a name already exists? - Java | <p>I need that if a person registers and enters a nickname that exists, it is checked and written that such a nickname already exists:</p>
<p><a href="https://i.stack.imgur.com/tDo7j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tDo7j.png" alt="enter image description here" /></a></p>
<p>For exampl... | I need that if a person registers and enters a nickname that exists, it is checked and written that such a nickname already exists: For example, I created an account. And so, we have an account with the nickname "Creator", and I want that if the next person wants to make the same nickname, then the system wou... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-07-09T14:40:03.657Z | 2,022 | 7 | 14 | 5 | 82 | 1 | 471 | 79 | 5 | 0 | false | false | false | false | false | false | zero |
72,922,400 | Gradle build failed in Unityv 2021.2.14 (gradle 6.1.1) | <p>i try to bulid unity 2021.2.14 but Gradle build failed error occured as follows</p>
<p>C:\Program Files\Unity\Hub\Editor\2021.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2021.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib... | i try to bulid unity 2021.2.14 but Gradle build failed error occured as follows C:\Program Files\Unity\Hub\Editor\2021.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2021.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-la... | android|unity3d|gradle|build.gradle | 0 | 2022-07-09T14:58:22.753Z | 2,022 | 7 | 14 | 5 | 643 | 0 | 1,246 | 54 | 4 | 3 | true | true | false | false | false | false | zero |
72,922,550 | what is this response format image | <p>i am trying to create an app which removes the image background, the send the image through api key and server sends the response, here i get response but i coulnt understand the response image format. PLEASE senior developer and programmers help me.
sample response code : : ‰PNG</p>
<p>������IHDR����˜����������,ƒ7... | i am trying to create an app which removes the image background, the send the image through api key and server sends the response, here i get response but i coulnt understand the response image format. PLEASE senior developer and programmers help me. sample response code : : ‰PNG ������IHDR����˜����������,ƒ7ª���� {{{;Ž... | android|binary-image | -1 | 2022-07-09T15:17:33.357Z | 2,022 | 7 | 15 | 5 | 26 | 1 | 1,338 | 34 | 2 | 0 | false | false | false | false | false | true | negative |
72,922,679 | ANDROID STUDIO, Something written in editText should stay there untill the user edits it again. it should stay there even if app is closed | <p>I am trying to make an app in android studio. I want my app to store what user types in the app in editText. Even if user opens the app after 1 week it should stay there in edit text. thanks.</p> | I am trying to make an app in android studio. I want my app to store what user types in the app in editText. Even if user opens the app after 1 week it should stay there in edit text. thanks. | java|android|android-studio|android-edittext | 0 | 2022-07-09T15:35:45.997Z | 2,022 | 7 | 15 | 5 | 30 | 2 | 191 | 138 | 4 | 0 | false | false | false | false | false | false | zero |
72,922,735 | How to specify weight in GlanceModifier | <p>Jetpack Glance version 1.0.0-alpha03</p>
<p>I want to do the following</p>
<pre><code>Row {
Text(text = "Test text", modifier = GlanceModifier.weight(1f))
Image(...)
}
</code></pre>
<p>However, it looks like there is no weight modifier for GlanceModifier?<br />
If not what is the best way to get th... | Jetpack Glance version 1.0.0-alpha03 I want to do the following [CODE] However, it looks like there is no weight modifier for GlanceModifier? If not what is the best way to get the same result? | android-jetpack-compose|glance | 0 | 2022-07-09T15:43:56.740Z | 2,022 | 7 | 15 | 5 | 57 | 1 | 193 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
72,922,746 | dependency url keeps getting appened to the end of our nexus respository | <p>Migrated to Kotlin <code>.kts</code> and now I'm getting some build issues.</p>
<p>These are some of the errors:</p>
<pre class="lang-none prettyprint-override"><code>> Could not resolve all files for configuration ':app:stagingNewDesignDebugRuntimeClasspath'.
> Could not resolve com.pierfrancescosoffritti.... | Migrated to Kotlin .kts and now I'm getting some build issues. These are some of the errors: [CODE] What I don't understand is that the dependency being appended to our Nexus server. [CODE] Our Nexus repository is https://nexus.central.tech/repository/nexus-releases But /com/pierfrancescosoffritti/androidyoutubeplayer/... | android-gradle-plugin|gradle-kotlin-dsl | 1 | 2022-07-09T15:46:00.597Z | 2,022 | 7 | 15 | 5 | 166 | 2 | 1,487 | 72 | 2 | 9 | true | false | false | false | false | false | low |
72,922,779 | How to Fix Duplicated Paypal Button in React Strict Mode | <p>Hi guys would like to know how to fix this issue after updating to React 18 I have a duplicated
button due to the useEffect while in StrictMode. Any guide how to unsubscribe to this API call
or maybe fix it using a proper cleanup. Thanks in advance.</p>
<pre><code>const paypalbutton = useRef();
useEffect(() => {... | Hi guys would like to know how to fix this issue after updating to React 18 I have a duplicated button due to the useEffect while in StrictMode. Any guide how to unsubscribe to this API call or maybe fix it using a proper cleanup. Thanks in advance. [CODE] | reactjs|use-effect|paypal-sandbox|android-strictmode|paypal-buttons | 0 | 2022-07-09T15:50:39.560Z | 2,022 | 7 | 15 | 5 | 123 | 1 | 256 | 56 | 5 | 1 | true | false | false | false | false | false | zero |
72,922,816 | Read chararacteritics and BLE | <p>I'm trying to get several characteritics from a BLE device (an Arduino).
My activity manages an automatic connection to the device address and it works without problems.</p>
<pre><code>package com.example.flyin_glass;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import ... | I'm trying to get several characteritics from a BLE device (an Arduino). My activity manages an automatic connection to the device address and it works without problems. [CODE] So it works until the line : [CODE] The callBack returns OK, which means I am connected automaticaly to the device. But when I add the next lin... | java|android|bluetooth-lowenergy | 0 | 2022-07-09T15:56:21.200Z | 2,022 | 7 | 15 | 5 | 29 | 0 | 520 | 29 | 3 | 3 | true | true | false | false | false | false | zero |
72,922,921 | How to access fingerprint data in Android Emulator | <p>I used BiometricPrompt and created an app that asks an user to authenticate. I ran it on an emulator (API 30) using extended controls to generate a fingerprint. How can I access the fingerprint data in the emulator? Is there a database in where it is stored?</p> | I used BiometricPrompt and created an app that asks an user to authenticate. I ran it on an emulator (API 30) using extended controls to generate a fingerprint. How can I access the fingerprint data in the emulator? Is there a database in where it is stored? | android-biometric-prompt | 0 | 2022-07-09T16:11:49.680Z | 2,022 | 7 | 16 | 5 | 17 | 0 | 258 | 50 | 1 | 0 | false | true | false | false | false | false | zero |
72,922,947 | problems with text alignment | <p>i have a problem with the output of my code, when I use <code>android:gravity="center_horizontal"</code> the text is not aligned as indicated</p>
<p>This is the code:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.... | i have a problem with the output of my code, when I use android:gravity="center_horizontal" the text is not aligned as indicated This is the code: [CODE] the result photo: code photo: | android|kotlin|android-layout | 1 | 2022-07-09T16:15:47.813Z | 2,022 | 7 | 16 | 5 | 53 | 1 | 193 | 28 | 3 | 1 | true | false | false | false | false | false | low |
72,922,980 | Unable to call local server-less NodeJS setup from android device | <p>Hi all I have a local nodejs setup and using the serverless framework. When I call the endpoint from browser of postman it works, however when I call from my android device on the same network it does not work.</p>
<p>This is my serverless.yml</p>
<pre><code>service: aws-debug-locally
frameworkVersion: '3'
provide... | Hi all I have a local nodejs setup and using the serverless framework. When I call the endpoint from browser of postman it works, however when I call from my android device on the same network it does not work. This is my serverless.yml [CODE] this generates the url: https://localhost:3000/hello which when called from ... | android|node.js|localhost|serverless-framework | 1 | 2022-07-09T16:20:38Z | -1 | -1 | -1 | -1 | 30 | 0 | 545 | 65 | 4 | 3 | true | true | false | false | false | false | low |
72,923,028 | How to Inject field in an object module that provides - Hilt Android | <p>I have two classes on my android project: one is an object module and the other one is providing functions to be returned in the object module.</p>
<p>Class 1: APIModule</p>
<pre><code>@Module
@InstallIn(SingletonComponent::class)
object APIModule {
@Inject
lateinit var db: FirestoreDB
@Singleton
@S... | I have two classes on my android project: one is an object module and the other one is providing functions to be returned in the object module. Class 1: APIModule [CODE] Class 2: FirestoreDB [CODE] After building, APIModule class throws error: dagger does not support injection into kotlin objects Any possible ways work... | android|kotlin|dagger-hilt | 2 | 2022-07-09T16:28:53.130Z | 2,022 | 7 | 16 | 5 | 34 | 0 | 396 | 68 | 3 | 2 | true | true | false | false | false | false | low |
72,923,175 | Moshi PolymorphicJsonAdapter can not make it to work | <p>I am quite new with android and Moshi, I am trying to make PolymorphicJsonAdapter to work</p>
<p>Here is my setup for now:</p>
<p>Retrofit:</p>
<pre class="lang-kotlin prettyprint-override"><code> enum class TileContentType {
@Json(name = "MediaTile")
mediaTile,
@Json(name = &quo... | I am quite new with android and Moshi, I am trying to make PolymorphicJsonAdapter to work Here is my setup for now: Retrofit: [CODE] Base Tile and Tile Response: [CODE] Post tile: [CODE] And here is for example MediaTile [CODE] When I try to fetch data I always get same error: Accessing hidden method Ljava/lang/invoke/... | android|kotlin|moshi | 1 | 2022-07-09T16:49:37.987Z | 2,022 | 7 | 16 | 5 | 31 | 0 | 415 | 52 | 3 | 4 | true | true | false | false | false | false | low |
72,923,191 | Android: how to show only some elements in a lazyList? | <p>I want to create a timepicker in jetpack Compose like this:</p>
<p><a href="https://i.stack.imgur.com/QMDRD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QMDRD.png" alt="enter image description here" /></a></p>
<p>To show the values I am using a lazyList, but I cannot find an elegant method to... | I want to create a timepicker in jetpack Compose like this: To show the values I am using a lazyList, but I cannot find an elegant method to show only 3 elements at a time better than: LazyColumn (modifier = Modifier.height(x.dp)) | android|android-jetpack-compose|android-timepicker|lazycolumn | 1 | 2022-07-09T16:52:32.460Z | 2,022 | 7 | 16 | 5 | 48 | 1 | 232 | 54 | 4 | 0 | false | false | false | false | false | false | low |
72,923,370 | Is there any tool allowing to locate app's elements on Android | <p>Is there any possible way to locate app's elements on Android? I need to write tests for an app that sometimes show ads, but using appium inspector and debugging this app via PC this ads aren't showing up</p> | Is there any possible way to locate app's elements on Android? I need to write tests for an app that sometimes show ads, but using appium inspector and debugging this app via PC this ads aren't showing up | android|automated-tests|location | 0 | 2022-07-09T17:20:25.640Z | 2,022 | 7 | 17 | 5 | 33 | 1 | 204 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
72,923,397 | BUG in .NET MAUI Android App freshly created | <p>I'm running VS Community 2022 Preview Version 17.3.0 Preview 2.0</p>
<p>I created a new .NET MAUI App using the Template.</p>
<p>When I run it under Windows, the button that you are supposed to click correctly says how many times it has been clicked after you click it.</p>
<p>But, when I run it under Android emulato... | I'm running VS Community 2022 Preview Version 17.3.0 Preview 2.0 I created a new .NET MAUI App using the Template. When I run it under Windows, the button that you are supposed to click correctly says how many times it has been clicked after you click it. But, when I run it under Android emulator Pixel 2 Pie 9.0, and I... | android|.net-maui | 0 | 2022-07-09T17:24:47.313Z | 2,022 | 7 | 17 | 5 | 82 | 1 | 404 | 44 | 2 | 0 | false | false | false | false | false | false | zero |
72,923,496 | How do I create a partial overlay on a RecyclerView? | <p>I have a <code>RecylerView</code> with a list of items, let's say <strong>30</strong> items. If any part of the top <strong>20</strong> items is visible, I want it to be covered with a "curtain" or scrim which is partially transparent, and says <em>Locked</em> in the middle of the visible scrim.</p>
<p><a ... | I have a RecylerView with a list of items, let's say 30 items. If any part of the top 20 items is visible, I want it to be covered with a "curtain" or scrim which is partially transparent, and says Locked in the middle of the visible scrim. I can't just add an overlay to the ViewHolder which I make visible fo... | android|kotlin|android-layout|android-recyclerview | -2 | 2022-07-09T17:43:05.573Z | 2,022 | 7 | 17 | 5 | 94 | 1 | 512 | 52 | 4 | 0 | false | false | false | false | false | true | negative |
72,923,581 | while resolving module `firebase/firestore`, the Haste package `firebase` was found. However the module could not be found within the package | <p>I am using React-native [Expo-cli] with firebase v9.
When I tried to run my app in my real device using Expo Go it throws this particular Error every time.</p>
<pre><code>Android Bundling failed 26102ms
While resolving module `firebase/firestore`, the Haste package `firebase` was found. However the module `firestore... | I am using React-native [Expo-cli] with firebase v9. When I tried to run my app in my real device using Expo Go it throws this particular Error every time. [CODE] I have also tried to change the version of firebase but the problem still exists. But the thing is when I run the same app in web browser of Expo it's works ... | android|firebase|react-native|expo | 2 | 2022-07-09T17:59:43.273Z | 2,022 | 7 | 17 | 5 | 44 | 0 | 660 | 141 | 4 | 1 | true | true | false | false | false | false | low |
72,923,628 | Difficulties in recognizing long text using Tesseract OCR in android studio | <p>I have created an OCR based on Tesseract using a tutorial from <a href="https://www.codeproject.com/Articles/1275580/Android-OCR-Application-Based-on-Tesseract" rel="nofollow noreferrer">https://www.codeproject.com/Articles/1275580/Android-OCR-Application-Based-on-Tesseract</a>. I have created the code below. Howeve... | I have created an OCR based on Tesseract using a tutorial from https://www.codeproject.com/Articles/1275580/Android-OCR-Application-Based-on-Tesseract . I have created the code below. However, the app seems to be only able to recognize when there are only a few texts in the picture. ( app result from short text , The s... | java|android-studio|ocr|tesseract | 0 | 2022-07-09T18:07:36.887Z | 2,022 | 7 | 18 | 5 | 33 | 0 | 589 | 75 | 4 | 2 | true | true | false | false | false | false | zero |
72,923,674 | Unable to instantiate fragment error after renaming android package | <p>enter image description hereI renamed my android package from com.example.remote to com.mqtttools.com and my app did not work after that so I tried changing it back but is still does not work. I was following a stackowerflow answer that worked for many people.</p>
<p>I'm getting this "Unable to instantiate frag... | enter image description hereI renamed my android package from com.example.remote to com.mqtttools.com and my app did not work after that so I tried changing it back but is still does not work. I was following a stackowerflow answer that worked for many people. I'm getting this "Unable to instantiate fragment mqttt... | android|android-studio | 0 | 2022-07-09T18:16:13.007Z | 2,022 | 7 | 18 | 5 | 31 | 2 | 469 | 67 | 2 | 0 | false | false | false | false | false | false | zero |
72,923,706 | Unable to install Android Studio even after accepting agreement | <p>I just downloaded Android studio. But unable to install it because licence agreement next button is not enabled even after accepting the agreement</p>
<p><a href="https://i.stack.imgur.com/urs9s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/urs9s.png" alt="enter image description here" /></a></p... | I just downloaded Android studio. But unable to install it because licence agreement next button is not enabled even after accepting the agreement | android-studio | -1 | 2022-07-09T18:21:28.240Z | 2,022 | 7 | 18 | 5 | 27 | 2 | 146 | 63 | 1 | 0 | false | false | false | false | false | true | negative |
72,923,773 | Ubuntu (WSL): How should I be setting these paths for Android Studio? | <p>I recently installed Android Studio on Ubuntu (WSL) for my Meteor project but it installed to <code>/opt/android-studio</code>. I see that the <code>SDK</code> is installed to <code>/root/Android/Sdk</code>. I've added it to the <code>ANDROID_SDK_ROOT</code> env variable but it says its a non existent path.</p>
<p... | I recently installed Android Studio on Ubuntu (WSL) for my Meteor project but it installed to /opt/android-studio . I see that the SDK is installed to /root/Android/Sdk . I've added it to the ANDROID_SDK_ROOT env variable but it says its a non existent path. How should I be setting these paths? This is the output I'm g... | android-studio|meteor | 0 | 2022-07-09T18:32:09.993Z | 2,022 | 7 | 18 | 5 | 42 | 2 | 403 | 69 | 2 | 1 | true | false | false | false | false | false | zero |
72,923,907 | Back button isn't working as expected in flutter's tab navigation setup | <p>I have a bottom navigation bar in my flutter application that contains multiple tabs. In this app, I am primarily facing 2 issues:</p>
<ol>
<li>If I press the android back button on the home page of any of the tabs, I am navigated back to my phone's home screen, I expect to be taken to the last tab. I referred <a hr... | I have a bottom navigation bar in my flutter application that contains multiple tabs. In this app, I am primarily facing 2 issues: If I press the android back button on the home page of any of the tabs, I am navigated back to my phone's home screen, I expect to be taken to the last tab. I referred this question but the... | android|flutter|flutter-navigation | 0 | 2022-07-09T18:56:40.573Z | 2,022 | 7 | 18 | 5 | 82 | 0 | 819 | 71 | 3 | 1 | true | true | false | false | false | false | zero |
72,923,924 | Kotlin - Modify nested Data (Add item to List in an Object in another List in an Object) | <p>My User object has a <code>List<Post></code>, each Post has a <code>List<Tag></code>.
Now I would like to add a Tag item to the <code>List<Tag></code>.</p>
<p>User:</p>
<pre><code>data class User(
val id: String,
val name: String,
val posts: List<Post> = listOf()
)
</code></pre>
<... | My User object has a List<Post> , each Post has a List<Tag> . Now I would like to add a Tag item to the List<Tag> . User: [CODE] Post: [CODE] Now I would like to update my MutableStateFlow containing the User object: [CODE] To find the correct Post (containing the List<Tag> I want to update) I have the id of it (passed... | android|kotlin|kotlin-coroutines | 1 | 2022-07-09T18:59:41.700Z | 2,022 | 7 | 18 | 5 | 88 | 2 | 666 | 88 | 3 | 6 | true | false | false | false | false | false | low |
72,924,039 | Its every project android native (kotlin) should use jetpack compose ? or its fine to use xml? | <p>Its every project android native (kotlin) should use jetpack compose ? or its fine to use xml ?</p> | Its every project android native (kotlin) should use jetpack compose ? or its fine to use xml ? | android|kotlin | 0 | 2022-07-09T19:22:16.287Z | 2,022 | 7 | 19 | 5 | 101 | 1 | 95 | 94 | 2 | 0 | false | false | false | false | false | false | zero |
72,924,056 | How do I connect to a device via bluetooth to play audio? | <p>I have a speaker and I would like to connect to this speaker via bluetooth, to play audio. So far i already managed to turn on bluetooth, as welll as show what devices i am connected too. What i would like to do now is play audio on my speaker, how can i go about doing this? I found some resource online but most of... | I have a speaker and I would like to connect to this speaker via bluetooth, to play audio. So far i already managed to turn on bluetooth, as welll as show what devices i am connected too. What i would like to do now is play audio on my speaker, how can i go about doing this? I found some resource online but most of the... | java|android | 1 | 2022-07-09T19:26:19.213Z | 2,022 | 7 | 19 | 5 | 18 | 0 | 398 | 57 | 2 | 1 | true | true | false | false | false | false | low |
72,924,116 | Adding Unity Ads in flutter application | <p>Hello stack overflow Community.</p>
<p>i am trying to set up unity Ads in my flutter application, but can't get it work.
I find only examples in the Internet which shows how to implement ads via buttons and click event but not how to show Ads for example without triggering an event.</p>
<p>I want a banner ad that's ... | Hello stack overflow Community. i am trying to set up unity Ads in my flutter application, but can't get it work. I find only examples in the Internet which shows how to implement ads via buttons and click event but not how to show Ads for example without triggering an event. I want a banner ad that's visible after app... | android|ios|flutter|unity3d|ads | 0 | 2022-07-09T19:36:12.657Z | 2,022 | 7 | 19 | 5 | 115 | 0 | 536 | 39 | 5 | 1 | true | true | false | false | false | false | zero |
72,924,142 | Daily push notification when the app is closed in android java | <p>Daily push notification when the app is closed in android java !</p>
<p>Hello guys , any help !
its working only when my app is opened
this is the code i'm using</p>
<p>How to Send a notification when the Android app is closed</p>
<p><strong>AndroidManifest.xml</strong></p>
<pre><code> <receiver android:name=&... | Daily push notification when the app is closed in android java ! Hello guys , any help ! its working only when my app is opened this is the code i'm using How to Send a notification when the Android app is closed AndroidManifest.xml [CODE] this is the reciever class Notification_reciever.java [CODE] Setup Alarm : [CODE... | java|android|push-notification | 1 | 2022-07-09T19:39:27.687Z | 2,022 | 7 | 19 | 5 | 44 | 1 | 321 | 62 | 3 | 3 | true | false | false | false | false | false | low |
72,924,193 | How to get true path of file in file picker in Flutter? | <p>How to get true file path in file_picker?</p>
<p>I'm getting examples only the cach path and the method's return I've looked for several examples but I haven't had success, it may be some other package besides file_picker , if anyone has an example.</p>
<p>I'm getting examples only the cah path and the method's retu... | How to get true file path in file_picker? I'm getting examples only the cach path and the method's return I've looked for several examples but I haven't had success, it may be some other package besides file_picker , if anyone has an example. I'm getting examples only the cah path and the method's return I've looked fo... | android|flutter|mobile | 0 | 2022-07-09T19:50:09.960Z | 2,022 | 7 | 19 | 5 | 147 | 0 | 449 | 55 | 3 | 1 | true | true | false | false | false | false | zero |
72,924,222 | How to get device location when a BTLE event triggers in broadcast receiver? | <p>I am statically registering Broadcast Receiver for BTLE connection/disconnection events to detect when my bluetooth headphones connects/disconnects with my Android phone. I also want to record the current location of my phone to update to a server when the OnReceive event for bluetooth is triggered. I am using <code... | I am statically registering Broadcast Receiver for BTLE connection/disconnection events to detect when my bluetooth headphones connects/disconnects with my Android phone. I also want to record the current location of my phone to update to a server when the OnReceive event for bluetooth is triggered. I am using FusedLoc... | android|kotlin|broadcastreceiver|currentlocation|fusedlocationproviderclient | 0 | 2022-07-09T19:54:46.193Z | 2,022 | 7 | 19 | 5 | 33 | 1 | 635 | 76 | 5 | 2 | true | false | false | false | false | false | zero |
72,924,329 | Google Messages Freezing-on-send on Android | <p>I have a text group via Google Messages for Web for Android on a Samsung Note 20. The other two participants have iphones.</p>
<p>When I communicate with one of them, everything is fine.</p>
<p>When I communicate with two, a few minutes into the convo, my message (short or long, text or sticker or picture) gets stu... | I have a text group via Google Messages for Web for Android on a Samsung Note 20. The other two participants have iphones. When I communicate with one of them, everything is fine. When I communicate with two, a few minutes into the convo, my message (short or long, text or sticker or picture) gets stuck sending for a n... | android|google-messages | 0 | 2022-07-09T20:14:05.260Z | 2,022 | 7 | 20 | 5 | 19 | 0 | 902 | 43 | 2 | 0 | false | true | false | false | false | false | zero |
72,924,370 | map_location_picker: Map is not loading | <p>I'm trying to work with the flutter package <a href="https://pub.dev/packages/map_location_picker" rel="nofollow noreferrer">map_location_picker: ^0.0.2</a></p>
<p>This seems to work but the map is not show, even if I change the location</p>
<p>Can anyone helps me to make it work well?</p>
<p><strong>My code</strong... | I'm trying to work with the flutter package map_location_picker: ^0.0.2 This seems to work but the map is not show, even if I change the location Can anyone helps me to make it work well? My code [CODE] Here is how it actually look like flutter doctor [✓] Flutter (Channel stable, 3.0.3, on macOS 12.4 21F79 darwin-x64, ... | android|flutter|google-maps | 0 | 2022-07-09T20:19:15.523Z | 2,022 | 7 | 20 | 5 | 24 | 1 | 656 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
72,924,422 | The function of adding a recipe to the database favorites does not work | <p>I have a problem in the application, I want to make a function to add a recipe to my favorites, but there is a problem, everything seems to look fine, but when I click on the save button, I first compare the current icon with two icons selected and not selected, if selected, I delete a recipe from my favorite fireba... | I have a problem in the application, I want to make a function to add a recipe to my favorites, but there is a problem, everything seems to look fine, but when I click on the save button, I first compare the current icon with two icons selected and not selected, if selected, I delete a recipe from my favorite firebase ... | java|android|firebase | 0 | 2022-07-09T20:26:51.643Z | 2,022 | 7 | 20 | 5 | 42 | 1 | 620 | 71 | 3 | 2 | true | false | false | false | false | false | zero |
72,924,466 | orderby with multiple data received from query in flutter firestore | <p>i have 2 collections .
first collection:
Categories - with the field 'position' and the field 'name'
for example:</p>
<ul>
<li>pos: 1 ----- name: vegetables</li>
<li>pos: 2 ----- name: fruits</li>
</ul>
<p>The other collection are my products with include the names of the products and a field 'category' which contai... | i have 2 collections . first collection: Categories - with the field 'position' and the field 'name' for example: pos: 1 ----- name: vegetables pos: 2 ----- name: fruits The other collection are my products with include the names of the products and a field 'category' which contains the name of the categories for examp... | android|flutter|google-cloud-firestore | 0 | 2022-07-09T20:36:02.560Z | 2,022 | 7 | 20 | 5 | 56 | 1 | 863 | 67 | 3 | 2 | true | false | false | false | false | false | zero |
72,924,490 | Eas build fails | <p>I tried to do <code>eas build --platform android</code> in my expo app but I always encounter an error. Can you please help me to fix it? The error:</p>
<pre><code>[stderr]
FAILURE: Build failed with an exception.
[stderr]
* Where:
[stderr]
Script '/home/expo/workingdir/build/node_modules/react-native/react.gradl... | I tried to do eas build --platform android in my expo app but I always encounter an error. Can you please help me to fix it? The error: [CODE] | javascript|android|react-native|expo|mobile-application | 0 | 2022-07-09T20:41:33.080Z | 2,022 | 7 | 20 | 5 | 113 | 0 | 142 | 15 | 5 | 1 | true | true | false | false | false | false | zero |
72,924,633 | How to intercept and parse a video from Android app? | <p>The task is to understand if a video quality really changed after changing it on Android app. API answer's interception isn't enough 'cause it can be misleading. The only way is to somehow get a video itself or part of it then parse and compare with the previous unchanged one. I use JS and Appium for it</p> | The task is to understand if a video quality really changed after changing it on Android app. API answer's interception isn't enough 'cause it can be misleading. The only way is to somehow get a video itself or part of it then parse and compare with the previous unchanged one. I use JS and Appium for it | javascript|node.js|automated-tests|appium-android|wdio-v6 | 0 | 2022-07-09T21:03:36.690Z | 2,022 | 7 | 21 | 5 | 32 | 0 | 304 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
72,924,648 | Forground service notification get replaced by another notification | <p>I have two forground service FS1 and FS2 , with each one i create notification , if FS1 is running and i start FS2 the old notification get replaced , i want both to stay ,
this is how i create notification</p>
<pre><code> private fun createNotification(): Notification {
val notificationChannelId = "... | I have two forground service FS1 and FS2 , with each one i create notification , if FS1 is running and i start FS2 the old notification get replaced , i want both to stay , this is how i create notification [CODE] and in the onCreate methode [CODE] and in the other service i create notification with the same way ! | android|kotlin|notifications|android-notifications | 0 | 2022-07-09T21:07:05.487Z | 2,022 | 7 | 21 | 5 | 33 | 1 | 315 | 67 | 4 | 2 | true | false | false | false | false | false | zero |
72,924,684 | Android - LinerarLayout.AddView - why do i need to call setLayoutParams for inserted view? | <p>In runtime I am changing child of LinearLayout using addView method.</p>
<p>Just wondering if someone can explain me why I need to call setLayoutParams with MATCH_PARENT as both arguments on inserted view, when in layout root node for this view has layout_width and layout_height already set to match_parent?</p>
<p>I... | In runtime I am changing child of LinearLayout using addView method. Just wondering if someone can explain me why I need to call setLayoutParams with MATCH_PARENT as both arguments on inserted view, when in layout root node for this view has layout_width and layout_height already set to match_parent? Issue is only when... | java|android|user-interface|android-linearlayout|android-constraintlayout | 1 | 2022-07-09T21:15:48.890Z | 2,022 | 7 | 21 | 5 | 43 | 0 | 710 | 90 | 5 | 4 | true | true | false | false | false | false | low |
72,924,774 | Why my KivyMD app Crashes On Startup after converting to Android? | <p>I have built an APP from <code>Python Kivy & KivyMD</code>, using <code>Buildozer</code>. It was converted to an <code>APK</code> file successfully. But when I open the app after installing, it is loaded a little while and crashes. Nothing Shows and nothing happens. But When I Converted a simple and small <code... | I have built an APP from Python Kivy & KivyMD , using Buildozer . It was converted to an APK file successfully. But when I open the app after installing, it is loaded a little while and crashes. Nothing Shows and nothing happens. But When I Converted a simple and small kivymd file and it was worked finely. This Code wa... | python|android|kivy|kivymd|buildozer | 1 | 2022-07-09T21:35:25.820Z | 2,022 | 7 | 21 | 5 | 214 | 1 | 508 | 65 | 5 | 2 | true | false | false | false | false | false | low |
72,924,794 | How to read/write expo-sqlite database from native Android code? | <p>I'm making a react native app with Expo and wanted to create a homescreen widget that could save data into the expo-sqlite database used by the rest of the app. However I'm not sure where exactly expo stores the sqlite database, so I can't access it from the native Android code. I found <a href="https://stackoverflo... | I'm making a react native app with Expo and wanted to create a homescreen widget that could save data into the expo-sqlite database used by the rest of the app. However I'm not sure where exactly expo stores the sqlite database, so I can't access it from the native Android code. I found this answer which let me export ... | android|react-native|sqlite | 0 | 2022-07-09T21:38:54.280Z | 2,022 | 7 | 21 | 5 | 14 | 0 | 581 | 64 | 3 | 0 | false | true | false | false | false | false | zero |
72,924,848 | Cropping Image from Map Android Kotlin | <p>I have a Google Map in my Android Kotlin App. I want to do something as follows :</p>
<ul>
<li>The User should be able to cut out a rectangular portion from the map</li>
<li>This rectangular portion should be send as an image to an API (Here the API accepts requests in the form of image in multipart data)</li>
<li>T... | I have a Google Map in my Android Kotlin App. I want to do something as follows : The User should be able to cut out a rectangular portion from the map This rectangular portion should be send as an image to an API (Here the API accepts requests in the form of image in multipart data) The location of the cut-out area sh... | android|api|kotlin|google-maps|imageview | 0 | 2022-07-09T21:52:08.590Z | 2,022 | 7 | 21 | 5 | 39 | 0 | 417 | 38 | 5 | 0 | false | true | false | false | false | false | zero |
72,924,969 | Update RecyclerView view after adding a new item to room database | <p>I'm making calculator app on android. I have two pages, calculator page and history page. The application saves math operations, results and operating times in room database. I would like the app to show these three entities in history page after pressing "equals" button.</p>
<p>Now my calculator app shows... | I'm making calculator app on android. I have two pages, calculator page and history page. The application saves math operations, results and operating times in room database. I would like the app to show these three entities in history page after pressing "equals" button. Now my calculator app shows the entit... | android|android-studio|android-recyclerview|android-room | 0 | 2022-07-09T22:20:36.847Z | 2,022 | 7 | 22 | 5 | 129 | 2 | 811 | 65 | 4 | 5 | true | false | false | false | false | false | zero |
72,925,053 | Osmdroid (open street map) marker slow to draw after click to map | <p>I'm brand new to <code>Open Street Map</code> and have successfully added a map to my activity at the user's location and implemented an <code>onClickListener</code> that upon a click shows a marker and retrieves the latitude and longitude of that point. Here is my code</p>
<pre><code>private fun showMap(dLatInit: ... | I'm brand new to Open Street Map and have successfully added a map to my activity at the user's location and implemented an onClickListener that upon a click shows a marker and retrieves the latitude and longitude of that point. Here is my code [CODE] It works. The latitude and longitude immediately populate, however t... | android|kotlin|openstreetmap|osmdroid | 0 | 2022-07-09T22:40:03.340Z | 2,022 | 7 | 22 | 5 | 56 | 1 | 434 | 65 | 4 | 2 | true | false | false | false | false | false | zero |
72,925,104 | Android Studio cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{codename, tag}' is expected | <p>I tried to import a project from GitHub and I was getting this error and failed to import and use this open-source project successfully.
Also, share with me some tips about How to use/import android based projects from GitHub</p>
<p>The project link: <a href="https://github.com/maziar-gh/MaterialX.git" rel="nofollow... | I tried to import a project from GitHub and I was getting this error and failed to import and use this open-source project successfully. Also, share with me some tips about How to use/import android based projects from GitHub The project link: https://github.com/maziar-gh/MaterialX.git complete shown error: [CODE] | android-studio|github|gradle|import | 2 | 2022-07-09T22:51:42.167Z | 2,022 | 7 | 22 | 5 | 146 | 0 | 315 | 141 | 4 | 1 | true | true | false | false | false | false | low |
72,925,116 | Trying to find out which Android control this is? | <p>I am new to Android so please bear with me...</p>
<p>Can someone tell which what the name of this control is in Android studio, I have been trying to google it but i just cant seem to find it!?</p>
<p><a href="https://i.stack.imgur.com/nSoZa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nSoZa.pn... | I am new to Android so please bear with me... Can someone tell which what the name of this control is in Android studio, I have been trying to google it but i just cant seem to find it!? | android|android-studio | 0 | 2022-07-09T22:55:00.020Z | 2,022 | 7 | 22 | 5 | 42 | 1 | 186 | 49 | 2 | 0 | false | false | false | false | false | false | zero |
72,925,174 | Flutter App running smooth on Android but not working on iOS | <p>Flutter Version: 2.10.4
App builds successfully for iOS but still not running. Stuck on White Screen!</p>
<p>Android App Running Fine working properly!</p>
<p>Please check screenshot for the warning.</p>
<p>Here are OUTPUT Logs:</p>
<pre><code>2022-07-10 03:58:01.349820+0500 Runner[94584:13679909] Metal API Validati... | Flutter Version: 2.10.4 App builds successfully for iOS but still not running. Stuck on White Screen! Android App Running Fine working properly! Please check screenshot for the warning. Here are OUTPUT Logs: [CODE] Screenshot: Warnings Please Help!!! | android|ios|flutter|firebase | -1 | 2022-07-09T23:09:03.513Z | 2,022 | 7 | 23 | 5 | 66 | 2 | 250 | 60 | 4 | 1 | true | false | false | false | false | true | negative |
72,925,248 | CapacitorJS: File selection issue with Input file on Android | <p>I have an issue with file selection on Android by using input type file and capacitor-file-picker plugin. Same issue with both.</p>
<p>When I click on the Browse button, it takes me to the Recent files box. In the sidebar, when I choose Downloads or Documents, it displays files that are disabled.</p>
<p><a href="htt... | I have an issue with file selection on Android by using input type file and capacitor-file-picker plugin. Same issue with both. When I click on the Browse button, it takes me to the Recent files box. In the sidebar, when I choose Downloads or Documents, it displays files that are disabled. But if I go to Gallery then I... | android|vue.js|cordova|input|capacitor | 0 | 2022-07-09T23:26:35.093Z | 2,022 | 7 | 23 | 5 | 89 | 1 | 1,061 | 60 | 5 | 1 | true | false | false | false | false | false | zero |
72,925,303 | Localhost:8080 is refusing to connect on my galaxy a32 | <p>When trying to get visual studios on my android I got localhost, at first it worked fine but the next day it refused to connect. I tried everything I could, like changing the proxy settings to none (it was already on none so that didn’t work) and saw recommendations to turn off firewall temporarily but I couldn’t, h... | When trying to get visual studios on my android I got localhost, at first it worked fine but the next day it refused to connect. I tried everything I could, like changing the proxy settings to none (it was already on none so that didn’t work) and saw recommendations to turn off firewall temporarily but I couldn’t, how ... | android|visual-studio|localhost | 0 | 2022-07-09T23:41:47.677Z | 2,022 | 7 | 23 | 5 | 45 | 0 | 376 | 54 | 3 | 0 | false | true | false | false | false | false | zero |
72,925,408 | Customize LinearProgressIndicator to have a Third Color in Jetpack Compose? | <p>Im fairly new to jetpack compose, I want to make a slider like this thats not really a slider, it's more like a UI bar, but the closest thing I have to my research is a LinearProgressIndicator.</p>
<p>If given a ratio where 1 = 100% green, and 1/2 or 0.5 would equal 50% red and 50% green. It's not clickable by the w... | Im fairly new to jetpack compose, I want to make a slider like this thats not really a slider, it's more like a UI bar, but the closest thing I have to my research is a LinearProgressIndicator. If given a ratio where 1 = 100% green, and 1/2 or 0.5 would equal 50% red and 50% green. It's not clickable by the way. But th... | android|android-studio|android-jetpack-compose|android-jetpack | 0 | 2022-07-10T00:10:05.857Z | 2,022 | 7 | 0 | 6 | 96 | 0 | 870 | 75 | 4 | 0 | false | true | false | false | false | false | zero |
72,925,483 | onHandleIntent not being called in Unity app Android plugin, how to fix? | <p>I'm developing a Unity app which will be able to interface with the Android app Termux via the Intent described here:</p>
<p><a href="https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent#advance-examples" rel="nofollow noreferrer">https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent#advance-examples<... | I'm developing a Unity app which will be able to interface with the Android app Termux via the Intent described here: https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent#advance-examples In my Unity-Android plugin I have two classes: PluginInstance.java : [CODE] PluginResultsService.java : [CODE] Then finally,... | java|android|android-intentservice | 0 | 2022-07-10T00:37:43.827Z | 2,022 | 7 | 0 | 6 | 24 | 1 | 763 | 72 | 3 | 3 | true | false | false | false | false | false | zero |
72,925,604 | Flutter android 10 issue - app looses connection | <p>My flutter app in android 10 on OnePlus plus has a problem. All data is lost if the app is closed and opened after a few hours. I am also not able to logout.
The connection to the services is lost.</p>
<p>How do I solve this issue</p> | My flutter app in android 10 on OnePlus plus has a problem. All data is lost if the app is closed and opened after a few hours. I am also not able to logout. The connection to the services is lost. How do I solve this issue | android|flutter | 0 | 2022-07-10T01:23:50.347Z | 2,022 | 7 | 1 | 6 | 24 | 0 | 223 | 48 | 2 | 0 | false | true | false | false | false | false | zero |
72,925,637 | Compose Desktop AlertDialog rounded corners | <p>In a compose desktop application I'm displaying an AlertDialog with rounded corners shape but there still appears a white rectangle at the corners.</p>
<p>Here is my code:</p>
<pre><code>AlertDialog(
modifier = Modifier
.size(280.dp, 260.dp)
.shadow(elevation = 20.dp),
onDismissRequest = {},
... | In a compose desktop application I'm displaying an AlertDialog with rounded corners shape but there still appears a white rectangle at the corners. Here is my code: [CODE] How can I get rid of the background white corners that are visible behind the dialog. | android-alertdialog | 0 | 2022-07-10T01:36:15.943Z | 2,022 | 7 | 1 | 6 | 126 | 1 | 257 | 43 | 1 | 1 | true | false | false | false | false | false | zero |
72,925,703 | aws sns push notification Creating a platform endpoint from Kotlin | <p>I am using AWS SNS for push notification using FCM. Push notification Implementation is working fine. Is there any tutorial on how to create platform endpoint from kotlin mobile side?. Or is it supposed to do it from server side?</p> | I am using AWS SNS for push notification using FCM. Push notification Implementation is working fine. Is there any tutorial on how to create platform endpoint from kotlin mobile side?. Or is it supposed to do it from server side? | android|kotlin|push-notification|amazon-sns | 0 | 2022-07-10T02:00:56.330Z | 2,022 | 7 | 2 | 6 | 88 | 1 | 229 | 66 | 4 | 0 | false | false | false | false | false | false | zero |
72,925,735 | How to put an exit icon that close the app in the main screen? | <p>The title is the question right here, but to be more specific, i'll show the example. <a href="https://i.stack.imgur.com/zjsTx.png" rel="nofollow noreferrer">Exit icon as i want to do.</a></p> | The title is the question right here, but to be more specific, i'll show the example. Exit icon as i want to do. | c#|android|xamarin|xamarin.android|icons | 0 | 2022-07-10T02:11:21.807Z | 2,022 | 7 | 2 | 6 | 58 | 2 | 112 | 62 | 5 | 0 | false | false | false | false | false | false | zero |
72,925,786 | AnimatedVisibility does not work in Compose | <p>My code:</p>
<pre><code>class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
var visibile by remember {
mutableStateOf(false)
}
Column(modifier = Modifier... | My code: [CODE] When the BasicTextField is displayed, I want it to enter from the right side of the screen; when the Image is displayed, I want it to enter from the right side of the screen. But, in this code, the expected effect is not appearing at all. How can I achieve it? | android|kotlin|android-jetpack-compose | 0 | 2022-07-10T02:28:35.670Z | 2,022 | 7 | 2 | 6 | 83 | 1 | 276 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
72,925,896 | How can I make the two buttons the same width when I use Jetpack Compose? | <p>I run Code A and get Result A.</p>
<p>How can I make the two buttons the same width?</p>
<p>BTW, you know different string has different width, you can't write a hard code such as <code>Modifier.width(100.dp)</code>.</p>
<p><strong>Code A</strong></p>
<pre><code> Row(
modifier =Modifier.fillMaxWi... | I run Code A and get Result A. How can I make the two buttons the same width? BTW, you know different string has different width, you can't write a hard code such as Modifier.width(100.dp) . Code A [CODE] Result A | android-studio|android-jetpack-compose | 1 | 2022-07-10T03:04:59.820Z | 2,022 | 7 | 3 | 6 | 205 | 1 | 213 | 73 | 2 | 1 | true | false | false | false | false | false | low |
72,926,123 | How to detect owned products with in_app_purchases in Flutter | <p>I've been following the <code>in_app_purchases</code> package <a href="https://pub.dev/packages/in_app_purchase/example" rel="nofollow noreferrer">example</a></p>
<p>I have implemented the in app purchase. A user can buy a product and the listener works to recognize this.</p>
<p>I am getting stuck on how to recogniz... | I've been following the in_app_purchases package example I have implemented the in app purchase. A user can buy a product and the listener works to recognize this. I am getting stuck on how to recognize what the user has purchased in previous sessions. There does not seem to be anything about that in the example/docume... | android|flutter|google-play|flutter-in-app-purchase | 2 | 2022-07-10T04:21:48.653Z | 2,022 | 7 | 4 | 6 | 48 | 1 | 551 | 61 | 4 | 0 | false | false | false | false | false | false | low |
72,926,142 | How to make a button in Dialog close that Dialog (Kotlin) | <p>I have a custom dialog that's initialized in <code>onCreate()</code> of some Activity. It displays some text and a button. I want the button to close the dialog when clicked. How can I achieve this?</p>
<p>Here's my attempt that fails.</p>
<p>MyActivity.kt</p>
<pre><code>class MyActivity : AppCompatActivity() {
... | I have a custom dialog that's initialized in onCreate() of some Activity. It displays some text and a button. I want the button to close the dialog when clicked. How can I achieve this? Here's my attempt that fails. MyActivity.kt [CODE] my_dialog_layout.xml (I stripped away some properties) [CODE] | android|kotlin | 1 | 2022-07-10T04:28:16.760Z | 2,022 | 7 | 4 | 6 | 51 | 2 | 298 | 57 | 2 | 2 | true | false | false | false | false | false | low |
72,926,162 | Android App Bundle signed with an incorrect key | <p>I'm creating an app and I'm about to submit it to Google Play. When submitting the .AAB file to prepare the release, I get an error like: Your Android App Bundle was signed with an incorrect key. Please use the correct signing key and try again. It should be signed with a certificate with the following fingerprint: ... | I'm creating an app and I'm about to submit it to Google Play. When submitting the .AAB file to prepare the release, I get an error like: Your Android App Bundle was signed with an incorrect key. Please use the correct signing key and try again. It should be signed with a certificate with the following fingerprint: ...... | java|android|android-studio|bundle | 1 | 2022-07-10T04:33:43.677Z | 2,022 | 7 | 4 | 6 | 38 | 0 | 321 | 47 | 4 | 0 | false | true | false | false | false | false | low |
72,926,209 | OnBackPressedCallback is no longer working after setting AppCompatDelegate.setDefaultNightMode | <p>We are updating the app theming using</p>
<pre><code> AppCompatDelegate.setDefaultNightMode(
when (item.isChecked) {
true -> AppCompatDelegate.MODE_NIGHT_YES
else -> AppCompatDelegate.MODE_NIGHT_NO
}
)
</code></pre>
<p>But this will recreate our MainActivity that h... | We are updating the app theming using [CODE] But this will recreate our MainActivity that host Fragments. This also means that all callback added in onBackPressedDispatcher is gone. [CODE] Is there a way to handle it gracefully? We are thinking of ViewModel since it allows data to survive configuration but not sure if ... | android|android-fragments|androidx|android-viewmodel|onbackpressed | 0 | 2022-07-10T04:51:35.443Z | 2,022 | 7 | 4 | 6 | 34 | 0 | 365 | 94 | 5 | 2 | true | true | false | false | false | false | zero |
72,926,301 | iOS showing black screen on both simulator and device - see screenshot | <p><a href="https://i.stack.imgur.com/VKaRn.jpg" rel="nofollow noreferrer">Screenshot: App shows up on Android, but not on IOS</a></p>
<p>When I run my application with <code>flutter run -d all</code>, the app works fine on Android but on IOS I am getting a black screen. The same behavior happens on real devices.</p>
<... | Screenshot: App shows up on Android, but not on IOS When I run my application with flutter run -d all , the app works fine on Android but on IOS I am getting a black screen. The same behavior happens on real devices. I already tried to use flutter build ios --release , and change the build configuration on XCode to rel... | android|ios|flutter|screen | 0 | 2022-07-10T05:20:25.870Z | 2,022 | 7 | 5 | 6 | 119 | 0 | 352 | 70 | 4 | 1 | true | true | false | false | false | false | zero |
72,926,343 | What is the menuInflater in Android Studio? | <p>I've been studying Kotlin and Android development, and studying the code samples in Android Studio, I've encountered this block:</p>
<pre><code> override fun onCreateOptionsMenu(menu: Menu): Boolean {
// Inflate the menu; this adds items to the action bar if it is present.
menuInflater.inflate(R.m... | I've been studying Kotlin and Android development, and studying the code samples in Android Studio, I've encountered this block: [CODE] I know that first you have to instantiate a variable for the inflater to use the inflate() method, but there is no menuInflater variable in this code. Looking at it, I see that it is s... | android|android-studio|kotlin | 0 | 2022-07-10T05:33:42.963Z | 2,022 | 7 | 5 | 6 | 93 | 3 | 533 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
72,926,359 | Show Snackbar in Material Design 3 using Scafffold | <p>Decided to try out <em><strong>Material Design 3</strong></em> in my new Jetpack Compose project. Everything was cozy until I needed to show a Snackbar when I hit a wall.</p>
<p>In <em><strong>MD2</strong></em> this was super-easy and you would show the snackbar in a Scaffold done with the <code>SnackbarHostState.sh... | Decided to try out Material Design 3 in my new Jetpack Compose project. Everything was cozy until I needed to show a Snackbar when I hit a wall. In MD2 this was super-easy and you would show the snackbar in a Scaffold done with the SnackbarHostState.showSnackbar() function inside a Coroutine scope. I observed you only ... | android|android-jetpack-compose|material-components-android | 2 | 2022-07-10T05:38:54.323Z | 2,022 | 7 | 5 | 6 | 535 | 1 | 664 | 50 | 3 | 1 | true | false | false | false | false | false | low |
72,926,402 | How do I get a small movable pop up window like this | <p>I am wondering how I create a small pop up window like my image. It is Samsungs timer window. I am wondering what it is. Is it an activity, fragment, something else? Any idea how I would do it? I still want to see whatever was on the screen at the time, just with the popup. <a href="https://i.stack.imgur.com/Vte36.j... | I am wondering how I create a small pop up window like my image. It is Samsungs timer window. I am wondering what it is. Is it an activity, fragment, something else? Any idea how I would do it? I still want to see whatever was on the screen at the time, just with the popup. | android|kotlin | 0 | 2022-07-10T05:49:00.267Z | 2,022 | 7 | 5 | 6 | 28 | 0 | 274 | 52 | 2 | 0 | false | true | false | false | false | false | zero |
72,926,473 | java.lang.NullPointerException: Attempt to invoke virtual method '...ConstraintLayout.findViewById(int)' on a null object reference | <blockquote>
<p>Caused by: java.lang.NullPointerException: Attempt to invoke virtual
method 'android.view.View
androidx.constraintlayout.widget.ConstraintLayout.findViewById(int)'
on a null object reference</p>
</blockquote>
<p>It says that this line causes it:</p>
<pre class="lang-java prettyprint-override"><code>Line... | Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View androidx.constraintlayout.widget.ConstraintLayout.findViewById(int)' on a null object reference It says that this line causes it: [CODE] The Java code ( MainActivity.java ): [CODE] The XML ( activity_main.xml ): [CODE] I also... | java|android|nullpointerexception|android-linearlayout|findviewbyid | 0 | 2022-07-10T06:09:22.170Z | 2,022 | 7 | 6 | 6 | 44 | 0 | 641 | 131 | 5 | 4 | true | true | false | false | false | false | zero |
72,926,589 | Add frame dependent appbar Options menu In bottom navigation view layout | <p>I need to add a options menu for each fragment in bottom navigation view. currently each app bar has only the name of the fragment. I want to add specific options menu for each.</p> | I need to add a options menu for each fragment in bottom navigation view. currently each app bar has only the name of the fragment. I want to add specific options menu for each. | android|android-layout|android-fragments|bottomnavigationview | 0 | 2022-07-10T06:36:12.093Z | 2,022 | 7 | 6 | 6 | 32 | 1 | 177 | 72 | 4 | 0 | false | false | false | false | false | false | zero |
72,926,660 | Kotlin - EditText in Inflated View keyboard show on back with black opacity | <p>I inflated popup view with below code
but the problem is keyboard is shown backof popup</p>
<pre><code> val inflater = it.context?.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater?
val menuPopup = inflater!!.inflate(R.layout.popup_search_new_cosmetics,null)
val popup = Pop... | I inflated popup view with below code but the problem is keyboard is shown backof popup [CODE] | java|android|kotlin | 0 | 2022-07-10T06:52:37.643Z | 2,022 | 7 | 6 | 6 | 22 | 1 | 94 | 75 | 3 | 1 | true | false | false | false | false | false | zero |
72,926,678 | What is the best alternative of react-native-camera as it is now deprecated? | <p>I am working on a project that requires a custom camera view in react-native. And the best option I found is react-native-camera but lack of maintenance, it is deprecated now. So I searched a lot of libraries in react-native but did not found.</p> | I am working on a project that requires a custom camera view in react-native. And the best option I found is react-native-camera but lack of maintenance, it is deprecated now. So I searched a lot of libraries in react-native but did not found. | react-native|android-camera | 2 | 2022-07-10T06:55:35.290Z | 2,022 | 7 | 6 | 6 | 271 | 4 | 243 | 76 | 2 | 0 | false | false | false | false | false | false | low |
72,926,753 | Is it possible to display a bundled Android app within a Unity 3D scene? | <p>If I have a 2D Android app, which has been bundled with my Unity Android app, is it possible to take this app and render it inside of a 3D Unity scene?</p>
<p>As in have the app render within a rectangle inside the 3D space?</p>
<p>I have done some research and have found lots of resources for doing this in reverse ... | If I have a 2D Android app, which has been bundled with my Unity Android app, is it possible to take this app and render it inside of a 3D Unity scene? As in have the app render within a rectangle inside the 3D space? I have done some research and have found lots of resources for doing this in reverse (running a Unity ... | android|unity3d | 0 | 2022-07-10T07:10:59.977Z | 2,022 | 7 | 7 | 6 | 30 | 0 | 621 | 72 | 2 | 0 | false | true | false | false | false | false | zero |
72,926,759 | when an android app show invalid domain or package name android? | <p>Recently I've encountered an issue and that is</p>
<p>invalid domain or package name android</p>
<p>Can anyone please describe to me why this type of issue occurred?</p> | Recently I've encountered an issue and that is invalid domain or package name android Can anyone please describe to me why this type of issue occurred? | java|android|android-studio | 0 | 2022-07-10T07:11:53.447Z | 2,022 | 7 | 7 | 6 | 30 | 0 | 151 | 64 | 3 | 0 | false | true | false | false | false | false | zero |
72,926,950 | Kotlin, Inflated EditText, when keyboard shows, view is crumbled | <p>when keyboard is up, inflated view show weird.
what may be the problem ?</p>
<pre><code> val inflater = it.context?.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater?
val menuPopup = inflater!!.inflate(R.layout.popup_search_new_cosmetics,null)
val popup = PopupWindow(menuPopup, WindowMa... | when keyboard is up, inflated view show weird. what may be the problem ? [CODE] [CODE] | java|android|kotlin | 0 | 2022-07-10T07:51:26.603Z | 2,022 | 7 | 7 | 6 | 17 | 0 | 86 | 64 | 3 | 2 | true | true | false | false | false | false | zero |
72,927,152 | Flutter: Cannot change AppBar's title color with AppBarTheme | <p>I'm trying to use a custom theme to control my app's theme, and among other things, I have colors set for my app bar.</p>
<p>Although the background color is set as expected, the font color doesn't get set. What's the reason?</p>
<p>Also, is this the correct way to set a theme? I'll be extending the theme later, so ... | I'm trying to use a custom theme to control my app's theme, and among other things, I have colors set for my app bar. Although the background color is set as expected, the font color doesn't get set. What's the reason? Also, is this the correct way to set a theme? I'll be extending the theme later, so I want everything... | android|flutter|dart | 0 | 2022-07-10T08:29:44.417Z | 2,022 | 7 | 8 | 6 | 77 | 1 | 371 | 60 | 3 | 3 | true | false | false | false | false | false | zero |
72,927,246 | Have a class be a NO-OP for any flavor other then a specific flavor | <p>What i want :
I want to have some class say Example, which used in the main project, be a complete NO-OP when being built with any <build type><flavor> other then <build type>example, only when built with <build type>example flavors, it should have code that really does stuff.</p>
<p>What i t... | What i want : I want to have some class say Example, which used in the main project, be a complete NO-OP when being built with any <build type><flavor> other then <build type>example, only when built with <build type>example flavors, it should have code that really does stuff. What i tried: I added an Example flavor to... | android|gradle | 1 | 2022-07-10T08:47:50.443Z | 2,022 | 7 | 8 | 6 | 29 | 1 | 1,022 | 67 | 2 | 1 | true | false | false | false | false | false | low |
72,927,508 | Working of ListView Adapter on Adding Item | <p>I am new to the android development and have got a doubt about the working of <code>setAdapter</code> and <code>ListView</code>.</p>
<p>My <code>MainActivity.java</code> looks like below:</p>
<pre><code>public class MainActivity extends AppCompatActivity {
private Button generate_btn;
private ArrayList<In... | I am new to the android development and have got a doubt about the working of setAdapter and ListView . My MainActivity.java looks like below: [CODE] As we can see above that I have two for loops, the first one adds integers till 5 to the ArrayList<Integer> arr and then I am calling the setAdapter on the listView . Til... | java|android|android-studio|android-layout | 0 | 2022-07-10T09:37:23.803Z | 2,022 | 7 | 9 | 6 | 11 | 1 | 723 | 42 | 4 | 1 | true | false | false | false | false | false | zero |
72,927,513 | Recycler view not update itself | <p>I have a problem with recycler view. In my previous app, when i get the list for recycler view adapter from database and observe it in my fragment, i used the notifyDataSetChanged() and when i tried to delete a item , view updated successfully. But in this app this does not work and i don't understand why. When i cl... | I have a problem with recycler view. In my previous app, when i get the list for recycler view adapter from database and observe it in my fragment, i used the notifyDataSetChanged() and when i tried to delete a item , view updated successfully. But in this app this does not work and i don't understand why. When i click... | android|kotlin|android-recyclerview | 0 | 2022-07-10T09:39:17.797Z | 2,022 | 7 | 9 | 6 | 36 | 3 | 682 | 31 | 3 | 3 | true | false | false | false | false | false | zero |
72,927,589 | How to fix this ["role"] == "Students" error in flutter | <p><a href="https://i.stack.imgur.com/yAihZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yAihZ.jpg" alt="enter image description here" /></a><a href="https://i.stack.imgur.com/lnngy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lnngy.jpg" alt="enter image description here" /><... | Please see the picture and fixed me this error | android|ios|flutter|flutter-layout | -1 | 2022-07-10T09:52:20.353Z | 2,022 | 7 | 9 | 6 | 38 | 1 | 46 | 55 | 4 | 0 | false | false | false | false | false | true | negative |
72,927,643 | How do I set and save the "Gradle user home" value for all projects in Android Studio? | <p>I have a problem with Gradle, due to the fact that it constantly consumes memory on the system C drive. Every time I create a new project or take a project from Github, I lose several gigabytes of memory due to Gradle, and soon I will run out of memory on disk C. I am trying to change the value of the "Gradle u... | I have a problem with Gradle, due to the fact that it constantly consumes memory on the system C drive. Every time I create a new project or take a project from Github, I lose several gigabytes of memory due to Gradle, and soon I will run out of memory on disk C. I am trying to change the value of the "Gradle user... | android|android-studio|gradle|path | 0 | 2022-07-10T10:00:44.963Z | 2,022 | 7 | 10 | 6 | 35 | 0 | 771 | 86 | 4 | 0 | false | true | false | false | false | false | zero |
72,927,719 | Unable to run Flutter app on iOS because of database locked | <p>I added some images to my Flutter app using XCode, then I closed it and opened VS Code to build the app (since I always use VS Code).</p>
<p>I'm always getting this error:</p>
<pre><code>Error (Xcode): unable to attach DB: error: accessing build database "/Users/username/Library/Developer/Xcode/DerivedData/Runn... | I added some images to my Flutter app using XCode, then I closed it and opened VS Code to build the app (since I always use VS Code). I'm always getting this error: [CODE] I tried to do some changes like "flutter clean" and reinstalling Pod files. I also tried to use an old "ios" folder but it doesn... | xcode|flutter|android-studio|visual-studio-code | 0 | 2022-07-10T10:16:18.040Z | 2,022 | 7 | 10 | 6 | 162 | 0 | 444 | 59 | 4 | 1 | true | true | false | false | false | false | zero |
72,927,772 | Version solving failed with flutter_localizations from SDK | <p>I have this problem ( error ) please,</p>
<blockquote>
<p>Because <code>skippar</code> depends on flutter_localizations from SDK which depends on collection 1.16.0, collection 1.16.0 is required.
So, because <code>skippar</code> depends on collection 1.15.0, version solving failed.
pub get failed (1; So, because <co... | I have this problem ( error ) please, Because skippar depends on flutter_localizations from SDK which depends on collection 1.16.0, collection 1.16.0 is required. So, because skippar depends on collection 1.15.0, version solving failed. pub get failed (1; So, because skippar depends on collection 1.15.0, version solvin... | flutter|android-studio|flutter-localizations | 0 | 2022-07-10T10:27:05.123Z | 2,022 | 7 | 10 | 6 | 91 | 0 | 420 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
72,927,811 | Not being able to convert flutter project into V2 embedding | <p>I am new to flutter and was trying out the Flutter clock project at <a href="https://github.com/afzalali15/flutter_alarm_clock" rel="nofollow noreferrer">https://github.com/afzalali15/flutter_alarm_clock</a>. After building it shows Convert to V2 embedding. Then I followed the steps given by the official flutter web... | I am new to flutter and was trying out the Flutter clock project at https://github.com/afzalali15/flutter_alarm_clock . After building it shows Convert to V2 embedding. Then I followed the steps given by the official flutter website. after updating all the things, I am now getting these errors. [CODE] could you please ... | flutter|android-studio|android-emulator | 0 | 2022-07-10T10:33:58.673Z | 2,022 | 7 | 10 | 6 | 44 | 0 | 350 | 59 | 3 | 1 | true | true | false | false | false | false | zero |
72,927,920 | Can one android app mute notifications of another app? | <p>Is it possible to make an app (Service?) that counts incoming notifications from another app and then change the behavior of those notifications?</p>
<p>Ssay contact A sends you a number of messages via Whatsapp/Telegram/... and after X notifications you could mute the sound of more incoming notifications of A via t... | Is it possible to make an app (Service?) that counts incoming notifications from another app and then change the behavior of those notifications? Ssay contact A sends you a number of messages via Whatsapp/Telegram/... and after X notifications you could mute the sound of more incoming notifications of A via that app bu... | android|notifications | 1 | 2022-07-10T10:50:51.087Z | 2,022 | 7 | 10 | 6 | 36 | 0 | 365 | 54 | 2 | 0 | false | true | false | false | false | false | low |
72,928,047 | virtualkeyboard "Go" button changed to "Next" button when clicking on a node on vuejs-pwa | <p>I'm building pwa apps with vuejs...</p>
<p>One of them has a curious behavior since a short time <a href="https://scenaristeur.github.io/agent/" rel="nofollow noreferrer">https://scenaristeur.github.io/agent/</a></p>
<p>It seems that the "Go" button in the virtualKeyboard is changed to the "Next"... | I'm building pwa apps with vuejs... One of them has a curious behavior since a short time https://scenaristeur.github.io/agent/ It seems that the "Go" button in the virtualKeyboard is changed to the "Next" button and I don't know how to catch a press on it with vuejs. I think remember that three mon... | android|vue.js|input|progressive-web-apps|virtual-keyboard | 2 | 2022-07-10T11:11:47.917Z | 2,022 | 7 | 11 | 6 | 51 | 0 | 1,844 | 89 | 5 | 1 | true | true | false | false | false | false | low |
72,928,173 | How to share a recyclerview background image and text as one | <p>I created a recyclerview for the purpose of sharing messages. Each item in the recyclerView has a different image(.png) background set as flower background with text set on it with TextView. It shows well. But whenever I clicked shareImage icon only image is shared.</p>
<p><strong>Screenshot from recyclerview. This ... | I created a recyclerview for the purpose of sharing messages. Each item in the recyclerView has a different image(.png) background set as flower background with text set on it with TextView. It shows well. But whenever I clicked shareImage icon only image is shared. Screenshot from recyclerview. This is how I want it t... | android-recyclerview | 0 | 2022-07-10T11:33:09.490Z | 2,022 | 7 | 11 | 6 | 33 | 0 | 549 | 60 | 1 | 1 | true | true | false | false | false | false | zero |
72,928,191 | How to properly implement MapBox SDK to Android Studio Project? | <p>I am trying to implement MapBox SDK to my Android Application. I followed the <a href="https://docs.mapbox.com/android/maps/guides/install/" rel="nofollow noreferrer">official documentation</a> but I am getting this error.</p>
<blockquote>
<p>Unable to resolve dependency for
':app@debugUnitTest/compileClasspath': Co... | I am trying to implement MapBox SDK to my Android Application. I followed the official documentation but I am getting this error. Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.mapbox.maps:android:10.6.1. I have tried following the legacy documentation , but still no luck.... | android|mapbox | 0 | 2022-07-10T11:37:56.930Z | 2,022 | 7 | 11 | 6 | 94 | 0 | 542 | 63 | 2 | 3 | true | true | false | false | false | false | zero |
72,928,192 | Accessing a forwarded port from Android Emulator | <p>I have a Vagrant box which runs a nodejs server with port 3000 which I have forwarded to my host with <code>vagrant ssh -- -L 3000:localhost:3000</code>. For some reason, using 10.0.2.2:3000 on the Android Emulator does not reach this server. Is there anything else that I have to do to access an already-forwarded ip... | I have a Vagrant box which runs a nodejs server with port 3000 which I have forwarded to my host with vagrant ssh -- -L 3000:localhost:3000 . For some reason, using 10.0.2.2:3000 on the Android Emulator does not reach this server. Is there anything else that I have to do to access an already-forwarded ip and port from ... | android|android-studio|android-emulator|vagrant|portforwarding | 0 | 2022-07-10T11:37:59.813Z | 2,022 | 7 | 11 | 6 | 18 | 1 | 427 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
72,928,197 | Jetpack compose list performance recomposition counts | <p>I notice ( i know it is not good to test in debug mode ) that my app has very laggy scroll and than i look into layout inspector and try to count recomposition. I see for example that for some post recomposition occurs 5 times or even 8. Can this actually heavily affect my app performance? here is image showing layo... | I notice ( i know it is not good to test in debug mode ) that my app has very laggy scroll and than i look into layout inspector and try to count recomposition. I see for example that for some post recomposition occurs 5 times or even 8. Can this actually heavily affect my app performance? here is image showing layout ... | android|android-jetpack-compose | 0 | 2022-07-10T11:38:42.880Z | 2,022 | 7 | 11 | 6 | 161 | 0 | 329 | 53 | 2 | 0 | false | true | false | false | false | false | zero |
72,928,285 | Restore purchase not working in Flutter/Google Play | <p>I have implemented in app purchases (IAP) as per <code>in_app_purchase</code> package <a href="https://pub.dev/packages/in_app_purchase/example" rel="nofollow noreferrer">example</a></p>
<p>I am able to buy a product from the store (I only have one set up). But when it comes to testing "user has a new phone&quo... | I have implemented in app purchases (IAP) as per in_app_purchase package example I am able to buy a product from the store (I only have one set up). But when it comes to testing "user has a new phone" scenario, the restore purchases does not seem to work. No error either. I've implemented this in a provider p... | android|flutter|google-play|flutter-in-app-purchase | 4 | 2022-07-10T11:52:55.383Z | 2,022 | 7 | 11 | 6 | 229 | 2 | 953 | 51 | 4 | 5 | true | false | false | false | false | false | low |
72,928,348 | setAdapter on ListView | <p>I was going through the source code of <code>ListView</code> and stumbled upon the <code>setAdapter</code> method which goes somewhat like this:-</p>
<pre><code>public void setAdapter(ListAdapter adapter) {
if (mAdapter != null && mDataSetObserver != null) {
mAdapter.unregisterDataSetObse... | I was going through the source code of ListView and stumbled upon the setAdapter method which goes somewhat like this:- [CODE] If we see the second line from bottom, we will see that we are setting the mItemCount to the size of Array passed to the adapter at the time of creation of the adapter object. My doubt is, let ... | android|android-studio|android-layout | 1 | 2022-07-10T12:03:52.620Z | 2,022 | 7 | 12 | 6 | 50 | 0 | 997 | 22 | 3 | 2 | true | true | false | false | false | false | low |
72,928,371 | Flow is not collected in Composable | <p>Im creating a Flow inside my repository which fetches data from an sse api</p>
<pre><code>override fun getStream() = flow {
try {
val response = api.getStream()
while (true) {
//do something with response
emit(result)
}
} catch (e: HttpException) {
..
... | Im creating a Flow inside my repository which fetches data from an sse api [CODE] It get forwarded into my composable where the viewmodel gets injected [CODE] The flow then gets collected like this [CODE] But in this scenario, the flow does not get collected. If i emit something before the try block, the value will sho... | android|kotlin|android-jetpack-compose|dagger-hilt | 2 | 2022-07-10T12:09:44.477Z | 2,022 | 7 | 12 | 6 | 93 | 0 | 454 | 35 | 4 | 3 | true | true | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.