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,321,253 | Cursor not moving after adding click tracking on endDrawable | <p>I add onTouch tracking for EditText. Here my code:</p>
<pre><code>editPassword.setOnTouchListener(
View.OnTouchListener { view, event ->
when (event.action) {
MotionEvent.ACTION_DOWN -> {
if (event.rawX >=
editPassword.right - resources.getDime... | I add onTouch tracking for EditText. Here my code: [CODE] Now, if i click at the button, work if (event.rawX >= ... But if i click at text, cursor(selection) dont update. Please, hilf mir. I will be glad to solutions in Java to | java|android|xml|kotlin|android-edittext | 0 | 2022-05-20T15:15:03.423Z | 2,022 | 5 | 15 | 4 | 28 | 0 | 227 | 60 | 5 | 1 | true | true | false | false | false | false | zero |
72,321,374 | How to create another PWA from a PWA | <p>I have a website where I want each page to have its own PWA icon (for both iOS and Android).</p>
<p>I'm able to dynamically change the manifest.json so the <code>name</code>, <code>icon</code> and <code>start_url</code> change depending on which page we are on, thus create a different PWA icon.</p>
<p>But the proble... | I have a website where I want each page to have its own PWA icon (for both iOS and Android). I'm able to dynamically change the manifest.json so the name , icon and start_url change depending on which page we are on, thus create a different PWA icon. But the problem is after we launch one of these PWA: The browser cont... | javascript|android|html|ios|progressive-web-apps | 2 | 2022-05-20T15:24:57.807Z | 2,022 | 5 | 15 | 4 | 32 | 0 | 826 | 36 | 5 | 0 | false | true | false | false | false | false | low |
72,321,528 | How to add data to list from user input | <p>I have problem in adding data to my list.
Users have to enter the data, then show the data in a <code>RecycleView</code> that use a model class.</p>
<p>App works fine, but the data is not shown on the <code>RecycleView</code>.
Before everything was working good, then i added a Swipe method to delete the item from th... | I have problem in adding data to my list. Users have to enter the data, then show the data in a RecycleView that use a model class. App works fine, but the data is not shown on the RecycleView . Before everything was working good, then i added a Swipe method to delete the item from the RecycleView , and I had to connec... | java|android|arraylist|user-input | 0 | 2022-05-20T15:38:51.540Z | 2,022 | 5 | 15 | 4 | 51 | 1 | 533 | 39 | 4 | 3 | true | false | false | false | false | false | zero |
72,321,570 | How to center setLogo drawable programatically in toolbar | <p>I have a custom toolbar that's built without a xml, all the code is just written in java. I am using the <code>setLogo()</code> method to add a <code>drawable</code> but the image's default <code>gravity</code> is to the left. How can I change its position/gravity so that it's in the middle?</p>
<p>I was trying to o... | I have a custom toolbar that's built without a xml, all the code is just written in java. I am using the setLogo() method to add a drawable but the image's default gravity is to the left. How can I change its position/gravity so that it's in the middle? I was trying to override the setLogo() method but I can't apply a ... | java|android|android-toolbar | 0 | 2022-05-20T15:42:33.037Z | 2,022 | 5 | 15 | 4 | 23 | 0 | 460 | 57 | 3 | 1 | true | true | false | false | false | false | zero |
72,321,849 | LiveData Doesn't Work With Nested ViewStubs | <p>I am using livedata and databinding in my project. And whenever i fetch data from webservices, i am databinding it with livedata. I can pass livedata object to first viewStub from root layout. It observes livedata as expected. But i am trying to pass this liveData to second viewStub which is placed in first viewStub... | I am using livedata and databinding in my project. And whenever i fetch data from webservices, i am databinding it with livedata. I can pass livedata object to first viewStub from root layout. It observes livedata as expected. But i am trying to pass this liveData to second viewStub which is placed in first viewStub. B... | android|android-layout|android-livedata | 0 | 2022-05-20T16:06:20.453Z | 2,022 | 5 | 16 | 4 | 24 | 0 | 904 | 43 | 3 | 3 | true | true | false | false | false | false | zero |
72,321,852 | Bluetooth server using Kotlin | <p>I am using Android Studio Chipmunk 2021.2.1
I am trying to create a Bluetooth SPP server as a coroutine.
I also want this coroutine to be written as a separate module</p>
<p>In the gradle I added</p>
<pre><code>implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
implementation "org.je... | I am using Android Studio Chipmunk 2021.2.1 I am trying to create a Bluetooth SPP server as a coroutine. I also want this coroutine to be written as a separate module In the gradle I added [CODE] In the Manifest I added [CODE] It is not going past the “Accept” command. Can someone tell me why? [CODE] [CODE] | android|kotlin|kotlin-coroutines|android-bluetooth | 0 | 2022-05-20T16:06:34.117Z | 2,022 | 5 | 16 | 4 | 194 | 0 | 308 | 29 | 4 | 4 | true | true | false | false | false | false | zero |
72,321,889 | Use background activity for more than 5 minutes - Ionic Angular | <p><strong>Problem</strong></p>
<p>Have built an app that communications with a vehicle OBD-II through Bluetooth scanner. It works perfect when the app is not screen locked or move to another app</p>
<p>We need to make continuous communication with the OBD-II bluetooth scanner during vehicle trips (each trip takes betw... | Problem Have built an app that communications with a vehicle OBD-II through Bluetooth scanner. It works perfect when the app is not screen locked or move to another app We need to make continuous communication with the OBD-II bluetooth scanner during vehicle trips (each trip takes between 1-60 minutes) Have tried multi... | android|angular|ionic-framework | 0 | 2022-05-20T16:10:10.277Z | 2,022 | 5 | 16 | 4 | 78 | 0 | 1,553 | 63 | 3 | 1 | true | true | false | false | false | false | zero |
72,321,900 | How to propely observe sign-in state in MVVM | <p>I'm trying to observing sign-in state with below code,</p>
<pre><code>@HiltViewModel
class LoginViewModel @Inject constructor(
private val auth: FirebaseAuth,
):ViewModel(){
fun getUser():MutableLiveData<FirebaseUser?>?{
return MutableLiveData(auth.currentUser)
}
}
</code></pre>
<p>and obe... | I'm trying to observing sign-in state with below code, [CODE] and obeserving it in Fragment [CODE] The problem is observe detect when FirebaseUser became null (when signed-out), but doesn't detect when signed-in. I don't know why it works like this.. | android|kotlin|firebase-authentication | 0 | 2022-05-20T16:10:54.567Z | 2,022 | 5 | 16 | 4 | 41 | 1 | 250 | 44 | 3 | 2 | true | false | false | false | false | false | zero |
72,321,909 | Issue with Application Packaging in Kotlin | <p>I have an app I built, deployed and is being tested with Google Developer Tester Option. My app(s) i have been developing has a wierd issue I can not put my finger on.</p>
<p>The App is a simple Note Taking App. So there is not a lot of code. I done my main activity only has about 60 lines of code. Everything else i... | I have an app I built, deployed and is being tested with Google Developer Tester Option. My app(s) i have been developing has a wierd issue I can not put my finger on. The App is a simple Note Taking App. So there is not a lot of code. I done my main activity only has about 60 lines of code. Everything else is composed... | android|kotlin|packaging | 2 | 2022-05-20T16:11:33.393Z | 2,022 | 5 | 16 | 4 | 28 | 2 | 1,037 | 42 | 3 | 0 | false | false | false | false | false | false | low |
72,322,041 | Issue with CameraX output on some devices models | <p>i am using camerax in my android application. when I capture photos in debug mode, everything is fine. but when i install the app from google play store, there is a very limited number of phone models not capturing photos properly (Huawei Y5 2019).</p>
<p>The problem is the length and the width of the captured image... | i am using camerax in my android application. when I capture photos in debug mode, everything is fine. but when i install the app from google play store, there is a very limited number of phone models not capturing photos properly (Huawei Y5 2019). The problem is the length and the width of the captured images are alwa... | android|android-studio|kotlin|android-camera|android-camerax | 1 | 2022-05-20T16:24:59.463Z | 2,022 | 5 | 16 | 4 | 226 | 0 | 1,141 | 48 | 5 | 2 | true | true | false | false | false | false | low |
72,322,112 | Gradle can't find androidx.compose.compiler - Searches in nodejs.org/dist/v1.2.0-beta02/compiler.jar | <p>I am fighting a weird issue with failing gradle builds, and I cannot pinpoint the cause.</p>
<p>This issue is <code>intermittent</code> when building on my local machine, I am trying to get CI/CD configured with <code>Bitrise</code> and my build <code>fails consistently</code> there.</p>
<h2>Log</h2>
<p>There's a co... | I am fighting a weird issue with failing gradle builds, and I cannot pinpoint the cause. This issue is intermittent when building on my local machine, I am trying to get CI/CD configured with Bitrise and my build fails consistently there. Log There's a couple things here that stand out to me. The project declares repos... | android|kotlin|gradle|android-jetpack-compose|bitrise | 0 | 2022-05-20T16:31:39.233Z | 2,022 | 5 | 16 | 4 | 260 | 0 | 1,258 | 100 | 5 | 4 | true | true | false | false | false | false | zero |
72,322,322 | Android Compose Faking Keyboard for specific textfields | <p>I have a screen where some <code>textfields</code> I want to show a 'fake' keyboard. The keyboard should be able have as many buttons as I like and be displayed however I want. Just as shown below.</p>
<img src="https://i.stack.imgur.com/YB4fu.png" height="400">
<p>My question then is how do you accomplish something... | I have a screen where some textfields I want to show a 'fake' keyboard. The keyboard should be able have as many buttons as I like and be displayed however I want. Just as shown below. My question then is how do you accomplish something like this? Is it possible to somehow override the interface to the keyboard so you ... | android-layout|android-jetpack-compose|textfield|custom-keyboard | 1 | 2022-05-20T16:51:36.993Z | 2,022 | 5 | 16 | 4 | 191 | 1 | 617 | 55 | 4 | 0 | false | false | false | false | false | false | low |
72,322,340 | boost 1.74+ jni ndk compilation cmake project | <p>I would like to compile boost for Android JNI CMake project.
I tried with this repo
<a href="https://github.com/moritz-wundke/Boost-for-Android" rel="nofollow noreferrer">https://github.com/moritz-wundke/Boost-for-Android</a></p>
<p>but fail build for boost v1.78 with ndk23..</p>
<p>Is there any tutorial or prebuilt... | I would like to compile boost for Android JNI CMake project. I tried with this repo https://github.com/moritz-wundke/Boost-for-Android but fail build for boost v1.78 with ndk23.. Is there any tutorial or prebuilt how to do it on CMakeLists.txt project. Thanks for help | boost|android-ndk|java-native-interface | 0 | 2022-05-20T16:52:55.340Z | 2,022 | 5 | 16 | 4 | 85 | 1 | 268 | 45 | 3 | 0 | false | false | false | false | false | false | zero |
72,322,394 | Type mismatch in compose state hoisting | <p>I am attempting to get one property to bind between a <code>ViewModel</code> and a <code>@Composable</code>.</p>
<p>I am getting the following error</p>
<pre><code>Type mismatch.
Required:String
Found:MutableState<String.Companion>
</code></pre>
<p>I don't understand what I am doing wrong.</p>
<pre><code>//R... | I am attempting to get one property to bind between a ViewModel and a @Composable . I am getting the following error [CODE] I don't understand what I am doing wrong. [CODE] | android|android-jetpack-compose | -3 | 2022-05-20T16:57:05.240Z | 2,022 | 5 | 16 | 4 | 140 | 2 | 172 | 39 | 2 | 2 | true | false | false | false | false | true | negative |
72,322,434 | Why can't debug my Flutter App on my phone in VS Code while coding | <p>I've just setup my windows environment for mobile development using Flutter in VS Code but I am getting this error while trying to debug on my phone</p>
<p>avdmanager is missing from the Android SDK</p> | I've just setup my windows environment for mobile development using Flutter in VS Code but I am getting this error while trying to debug on my phone avdmanager is missing from the Android SDK | flutter|visual-studio-code|android-sdk-manager | 1 | 2022-05-20T16:59:59.160Z | 2,022 | 5 | 16 | 4 | 47 | 1 | 191 | 66 | 3 | 0 | false | false | false | false | false | false | low |
72,322,489 | cordova build android - my first app build failed | <p>I try make a first app like in manual <a href="https://cordova.apache.org/docs/en/latest/guide/cli/index.html" rel="nofollow noreferrer">https://cordova.apache.org/docs/en/latest/guide/cli/index.html</a></p>
<p>but after command <code>cordova build android</code></p>
<p>FAILURE: Build failed with an exception.</p>
<... | I try make a first app like in manual https://cordova.apache.org/docs/en/latest/guide/cli/index.html but after command cordova build android FAILURE: Build failed with an exception. Where: Settings file '/Users/roman2322/Desktop/cordova/7/hello/platforms/android/settings.gradle' What went wrong: Could not compile setti... | android|cordova | 0 | 2022-05-20T17:05:14.937Z | 2,022 | 5 | 17 | 4 | 50 | 0 | 495 | 49 | 2 | 0 | false | true | false | false | false | false | zero |
72,322,600 | Android null object reference on getViewTreeObserver().addOnGlobalLayoutListener | <p>i need to check if a layout has been completely inflated before doing an operation, for that, I'm using the code below that has a semaphore that waits until a two specifics buttons is inflated. The code works fine most of the time but sometimes I get the Fatal Exception error: java.lang.NullPointerException: Attempt... | i need to check if a layout has been completely inflated before doing an operation, for that, I'm using the code below that has a semaphore that waits until a two specifics buttons is inflated. The code works fine most of the time but sometimes I get the Fatal Exception error: java.lang.NullPointerException: Attempt to... | android|arrays|exception|layout|null | 0 | 2022-05-20T17:17:14.283Z | 2,022 | 5 | 17 | 4 | 102 | 0 | 516 | 80 | 5 | 2 | true | true | false | false | false | false | zero |
72,322,616 | How do I prevent Android Chrome inputs from manipulating the scroll position when the input value "overflows"? | <p>Text input elements are behaving strangely for me on Android Chrome, where they start aggressively manipulating their own scroll position when typing enough characters to overflow their allotted content space.</p>
<p>The scroll position will follow the input cursor/caret --and the most recently entered character-- a... | Text input elements are behaving strangely for me on Android Chrome, where they start aggressively manipulating their own scroll position when typing enough characters to overflow their allotted content space. The scroll position will follow the input cursor/caret --and the most recently entered character-- as the cont... | android|html|google-chrome|input|virtual-keyboard | 2 | 2022-05-20T17:18:48.940Z | 2,022 | 5 | 17 | 4 | 108 | 0 | 1,548 | 110 | 5 | 2 | true | true | false | false | false | false | low |
72,322,623 | Is there a way to acces files in the phone's internal storage without using the Android API file picker? | <p>I've been stuck on this for almost a whole day now although it seems so trivial. So as a final resort I'll try to ask it here.</p>
<p>For an app I've been working on I want to be able to send binary data files over bluetooth from the android device to a BLE enabled chip. As we want the user to be able to send custom... | I've been stuck on this for almost a whole day now although it seems so trivial. So as a final resort I'll try to ask it here. For an app I've been working on I want to be able to send binary data files over bluetooth from the android device to a BLE enabled chip. As we want the user to be able to send custom files to ... | android|kotlin|filesystems | 0 | 2022-05-20T17:19:20.843Z | 2,022 | 5 | 17 | 4 | 116 | 0 | 2,057 | 104 | 3 | 2 | true | true | false | false | false | false | zero |
72,322,624 | is there a pdf editor tool to attach photos into it? (Preferably android) | <p>consider I am conducting a vehicle inspection and I'm noting down the defects of the vehicle. So what I'll be doing is clicking/touch on the part on the vehicle schematic pdf and taking a picture of the actual defect. So what happens is that it will create an icon on the schematic and an actual picture will be saved... | consider I am conducting a vehicle inspection and I'm noting down the defects of the vehicle. So what I'll be doing is clicking/touch on the part on the vehicle schematic pdf and taking a picture of the actual defect. So what happens is that it will create an icon on the schematic and an actual picture will be saved on... | android|pdf | 0 | 2022-05-20T17:19:28.733Z | 2,022 | 5 | 17 | 4 | 16 | 0 | 408 | 73 | 2 | 0 | false | true | false | false | false | false | zero |
72,322,683 | How to get string from a server in AsyncTask to a MainActivity? | <p>I want to show a string that I get from a server which is placed in <code>AsyncTask</code> (or as I call it <code>MessageSender</code> class) on a <code>MainActivity</code> textView. I know that I need to use a <code>setText()</code> method. I am getting the string from the server and it's shown in the console.</p>
... | I want to show a string that I get from a server which is placed in AsyncTask (or as I call it MessageSender class) on a MainActivity textView. I know that I need to use a setText() method. I am getting the string from the server and it's shown in the console. This is my MessageSender class: [CODE] and this is my MainA... | java|android|android-studio|android-asynctask | 0 | 2022-05-20T17:25:09.940Z | 2,022 | 5 | 17 | 4 | 40 | 1 | 341 | 63 | 4 | 2 | true | false | false | false | false | false | zero |
72,322,828 | Retrofit Call.enqueue method not being called - kotlin | <p>i was able to make Edit and Delete work in a test project, using Retrofit2, but now i needed to used it in my real project, and despite the code and webservice used (created using Slim 4 and Notorm) are the same, both Edit and Delete started not working for some reason (get and Post both work correctly)</p>
<p>For... | i was able to make Edit and Delete work in a test project, using Retrofit2, but now i needed to used it in my real project, and despite the code and webservice used (created using Slim 4 and Notorm) are the same, both Edit and Delete started not working for some reason (get and Post both work correctly) For both Edit i... | android|kotlin|retrofit | 0 | 2022-05-20T17:37:58.400Z | 2,022 | 5 | 17 | 4 | 229 | 1 | 1,294 | 54 | 3 | 5 | true | false | false | false | false | false | zero |
72,322,873 | Why CameraX library distorted picture the pictures or make them blurry? | <p>So I have implement CameraX in my new application but the pictures when saving are looking very bad with distorsion. Like the image is blurry and with lines everywhere. I tried multipile converters from imageProxy to Bitmap but the result is the same. I tested on 2 devices: Samsung A72 and Samsung S20 FE.</p>
<pre>... | So I have implement CameraX in my new application but the pictures when saving are looking very bad with distorsion. Like the image is blurry and with lines everywhere. I tried multipile converters from imageProxy to Bitmap but the result is the same. I tested on 2 devices: Samsung A72 and Samsung S20 FE. [CODE] | android|kotlin|android-camerax | 0 | 2022-05-20T17:41:26.997Z | 2,022 | 5 | 17 | 4 | 110 | 0 | 313 | 71 | 3 | 1 | true | true | false | false | false | false | zero |
72,322,901 | At most one element <fusing> with namespace 'http://schemas.android.com/apk/distribution' was expected, but 2 were found | <p>I'm getting this error because two dynamic features declare <code>dist:fusing</code>.</p>
<pre><code>At most one element <fusing> with namespace
'http://schemas.android.com/apk/distribution'
was expected, but 2 were found.
</code></pre>
<p>Can someone help with this?</p> | I'm getting this error because two dynamic features declare dist:fusing . [CODE] Can someone help with this? | android|android-manifest|dynamic-feature-module|dynamic-feature | 0 | 2022-05-20T17:43:26.160Z | 2,022 | 5 | 17 | 4 | 14 | 1 | 108 | 120 | 4 | 1 | true | false | false | false | false | false | zero |
72,322,947 | Progress bar lag when using multiple view inside recycler view | <p>I am using a <code>ProgressBar</code> while loading data for multiple view inside
<code>RecyclerView</code> but when i set <code>adaptor</code> after getting data the ui stuck for few second it look like app get hang
And after that it update <code>RecyclerView</code> so I want to know how to make a better <code>Nest... | I am using a ProgressBar while loading data for multiple view inside RecyclerView but when i set adaptor after getting data the ui stuck for few second it look like app get hang And after that it update RecyclerView so I want to know how to make a better NestedRecyclerView like youtube .In youtube the transition of pro... | android|progress-bar|nestedrecyclerview | 0 | 2022-05-20T17:47:45.063Z | 2,022 | 5 | 17 | 4 | 45 | 0 | 399 | 62 | 3 | 0 | false | true | false | false | false | false | zero |
72,323,063 | Unable to make field private final java.lang.String java.io.File.path accessible Qt Android | <p>I am trying to run my android program in Qt however I am getting the following error:</p>
<pre><code>Execution failed for task ':processDebugManifest'.
> Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @13d72a2... | I am trying to run my android program in Qt however I am getting the following error: [CODE] I tried different versions of jdk and gradle however nothing helps. Gradle version: 7.4.2 JDK version: 18 | java|android|android-studio|gradle|compiler-errors | 2 | 2022-05-20T17:57:15.917Z | 2,022 | 5 | 17 | 4 | 1,809 | 1 | 198 | 91 | 5 | 1 | true | false | false | false | false | false | low |
72,323,078 | How do i update an emulator on android studio? | <p>I would like to know how I can in Android Studio update the framework.
Once I change the content of a file how can I update the emulator to the new modified version?</p> | I would like to know how I can in Android Studio update the framework. Once I change the content of a file how can I update the emulator to the new modified version? | android|android-studio | 0 | 2022-05-20T17:58:42.287Z | 2,022 | 5 | 17 | 4 | 139 | 1 | 165 | 46 | 2 | 0 | false | false | false | false | false | false | zero |
72,323,094 | Android Studio aar-metadata.properties file not found | <p>I'm working on a project that is a continuation of a previous group's project and it has this error that I just cannot find the answer to anywhere else.</p>
<pre><code>Execution failed for task ':app:checkDebugAarMetadata'.
> Multiple task action failures occurred:
> A failure occurred while executing com.a... | I'm working on a project that is a continuation of a previous group's project and it has this error that I just cannot find the answer to anywhere else. [CODE] I've tried creating an empty file named aar-metadata.properties at the locations where it's trying to find them but it still says it can't find the file and del... | android|flutter|android-studio|dart | 0 | 2022-05-20T18:00:27.153Z | 2,022 | 5 | 18 | 4 | 121 | 0 | 479 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
72,323,200 | how to remove an item from listview and database | <p>I need to delete an item from the listview and immediately from the Mysql database, the code is presented below to add these same items from the database
code in xaml:</p>
<pre><code> <ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
... | I need to delete an item from the listview and immediately from the Mysql database, the code is presented below to add these same items from the database code in xaml: [CODE] code in c#: [CODE] | c#|listview|xamarin.forms|xamarin.android | 1 | 2022-05-20T18:11:49.390Z | 2,022 | 5 | 18 | 4 | 84 | 1 | 193 | 48 | 4 | 2 | true | false | false | false | false | false | low |
72,323,217 | Android Navigation Component jump a few steps in graph at once | <p>I use navigation component, and I need to in certain situations navigate a few steps forward at once. For example <code>FragmentA</code> has direction to <code>FragmentB</code> and the later has direction to <code>FragmentC</code>. My goal is to in certain situations jump directly to <code>FragmentC</code> but have ... | I use navigation component, and I need to in certain situations navigate a few steps forward at once. For example FragmentA has direction to FragmentB and the later has direction to FragmentC . My goal is to in certain situations jump directly to FragmentC but have the normal navigation graph, so when user comes back f... | android|android-jetpack-navigation | 0 | 2022-05-20T18:13:27.760Z | 2,022 | 5 | 18 | 4 | 106 | 1 | 893 | 62 | 2 | 1 | true | false | false | false | false | false | zero |
72,323,297 | Why an IllegalStateException is thrown inside Google Play In-App Review listeners when calling findNavController or requireActivity? | <p>We are using the <strong>Google Play In-App Reviews API</strong>.<br />
Since our last update to the Play Store (last week), we started receiving the following exception <code>java.lang.IllegalStateException</code>, inside of the following listeners: <code>request.addOnCompleteListener</code> and <code>request.addOn... | We are using the Google Play In-App Reviews API . Since our last update to the Play Store (last week), we started receiving the following exception java.lang.IllegalStateException , inside of the following listeners: request.addOnCompleteListener and request.addOnFailureListener In addOnCompleteListener it fails when w... | android|kotlin|android-fragments|android-architecture-navigation|google-play-core | 0 | 2022-05-20T18:21:17.750Z | 2,022 | 5 | 18 | 4 | 79 | 0 | 1,383 | 132 | 5 | 3 | true | true | false | false | false | false | zero |
72,323,304 | How to solve problem Android Application Bundle(AAB) duplicate class? | <p>premise:<br />
In the main project other people have import cronet, and wrote some code, let's call it feature A</p>
<pre><code>implementation "com.google.android.gms:play-services-cronet:16.0.0"
</code></pre>
<p>Then I build cronet source code and imported (cronet-api.jar cronet-xxx.jar libcronet.so) into... | premise: In the main project other people have import cronet, and wrote some code, let's call it feature A [CODE] Then I build cronet source code and imported (cronet-api.jar cronet-xxx.jar libcronet.so) into my dynamic feature module, and wrote some code, which we call this feature B question: then I package the aab f... | android|android-app-bundle|cronet | 0 | 2022-05-20T18:21:50.067Z | 2,022 | 5 | 18 | 4 | 72 | 0 | 1,070 | 69 | 3 | 3 | true | true | false | false | false | false | zero |
72,323,442 | Enable installing only on small and normal devices | <p>This question has been asked before but all the answers seem outdated.
I need to limit the screen size of the devices that can install the app.
I have set</p>
<pre><code> <compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screen... | This question has been asked before but all the answers seem outdated. I need to limit the screen size of the devices that can install the app. I have set [CODE] When I publish the bundle what I see is that tablets and Chrome book are excluded as expected but there are also some phones that are excluded. Google play sh... | android|google-play|screen-size | 0 | 2022-05-20T18:33:27.313Z | 2,022 | 5 | 18 | 4 | 22 | 0 | 851 | 50 | 3 | 3 | true | true | false | false | false | false | zero |
72,323,554 | How can I fix this error in Mokito? Wanted but not invoked | <p><strong>this is the real function : onMapLoaded()</strong></p>
<pre><code>override fun onMapLoaded(isWorking: Boolean) {
if (isWorking) {
activeArea?.let { interactor?.fetchHeatMapTiles(it.id) }
} else {
interactor?.fetchReservationCapacities()
}
if (activeArea != null) {
view... | this is the real function : onMapLoaded() [CODE] These is the basic settings for testing [CODE] and this is my test function: [CODE] But I get this error: Please help me fix this bug I want to make sure that the locateMe() function is executed But the test fails and is not run at all | android|unit-testing|kotlin|mockito|mvp | 1 | 2022-05-20T18:45:34.953Z | 2,022 | 5 | 18 | 4 | 41 | 0 | 284 | 58 | 5 | 3 | true | true | false | false | false | false | low |
72,323,633 | Jetpack compose rememberSaveable causing app crash | <p>I'm using <code>rememberSaveable</code> to store multiple states in composable as below</p>
<pre><code>var name by rememberSaveable { mutableStateOf(store.name) }
var description by rememberSaveable { mutableStateOf(store.description) }
</code></pre>
<p>It works sometimes, but I'm frequently facing app crash issue d... | I'm using rememberSaveable to store multiple states in composable as below [CODE] It works sometimes, but I'm frequently facing app crash issue due to following error. [CODE] I know it is related to savedInstanceState: Bundle? but how do I make sure that it does not happen? | android|android-jetpack-compose | 0 | 2022-05-20T18:54:07.127Z | 2,022 | 5 | 18 | 4 | 203 | 0 | 274 | 50 | 2 | 2 | true | true | false | false | false | false | zero |
72,323,669 | File uploading with php: problem with $_POST['filename'] | <p>I want to upload files from my Android app to my php server (through a https upload URL)</p>
<p>Here is my php code :</p>
<pre><code>$path = "../uploads";
if (!file_exists($path)) {
mkdir($path, 0777, true);
}
$filePath = $path."/".$_POST['filename'];
move_... | I want to upload files from my Android app to my php server (through a https upload URL) Here is my php code : [CODE] The content of $_FILES['uploaded_file'] is: [CODE] So everything seems ok as I get the name of my file and its correct size. But when I log $_POST['filename'] , I get a null string. How is that possible... | java|php|android|mysql|server | 0 | 2022-05-20T18:57:28.777Z | 2,022 | 5 | 18 | 4 | 31 | 1 | 476 | 56 | 5 | 3 | true | false | false | false | false | false | zero |
72,323,962 | Splash screen working on emulator Android studio but not on my mobile | <p>I'm using ionic, capacitor and android to test and make an application.</p>
<p>I've generate splash and icon image with the command:</p>
<pre><code>ionic cordova resources android
</code></pre>
<p>I build the project <code>npm run build</code></p>
<p>I launch the project on android studio <code>npx cap open android<... | I'm using ionic, capacitor and android to test and make an application. I've generate splash and icon image with the command: [CODE] I build the project npm run build I launch the project on android studio npx cap open android When i launch the application the splash screen displays well on the emulator of Android Stud... | android|ionic-framework|emulation|splash-screen|capacitor | 0 | 2022-05-20T19:28:59.420Z | 2,022 | 5 | 19 | 4 | 73 | 0 | 550 | 69 | 5 | 1 | true | true | false | false | false | false | zero |
72,324,121 | Oracle retail warehouse management system in android app | <p>can anyone tell me whether we can access/use the Oracle Retail Warehouse Management System in Android operating system mobile device and please tell me is there any other options to access it?</p> | can anyone tell me whether we can access/use the Oracle Retail Warehouse Management System in Android operating system mobile device and please tell me is there any other options to access it? | android|oracle|wms | 0 | 2022-05-20T19:46:34.933Z | 2,022 | 5 | 19 | 4 | 13 | 0 | 192 | 56 | 3 | 0 | false | true | false | false | false | false | zero |
72,324,233 | How to Add Proguard in Library Module in Android | <p><strong>I want to add proguard rule in library module.</strong></p> | I want to add proguard rule in library module. | android|build.gradle|proguard | -1 | 2022-05-20T19:57:45.750Z | 2,022 | 5 | 19 | 4 | 79 | 1 | 46 | 48 | 3 | 0 | false | false | false | false | false | true | negative |
72,324,318 | How to programmatically add different buttons to a table, android studio | <p>I'm new to android application development, I need to add buttons with different names, that is, the name of the button is taken from EditText and a button is created. The nuance of all this is that after I try to create another button and enter another name, this very name is transferred to other buttons. That is, ... | I'm new to android application development, I need to add buttons with different names, that is, the name of the button is taken from EditText and a button is created. The nuance of all this is that after I try to create another button and enter another name, this very name is transferred to other buttons. That is, if ... | android | 0 | 2022-05-20T20:08:24.683Z | 2,022 | 5 | 20 | 4 | 25 | 0 | 796 | 72 | 1 | 2 | true | true | false | false | false | false | zero |
72,324,323 | I want to change app package name from three words to four words | <p>I have an app with the project name "com.xyz.status_app_all" but I want to change it to "com.xyz.company.status_app_all", How can I do it?</p> | I have an app with the project name "com.xyz.status_app_all" but I want to change it to "com.xyz.company.status_app_all", How can I do it? | android | 0 | 2022-05-20T20:08:49.880Z | 2,022 | 5 | 20 | 4 | 19 | 0 | 158 | 64 | 1 | 0 | false | true | false | false | false | false | zero |
72,324,406 | Notification on Galaxy Watch (tizen) does not display icon | <p>I have simple application that sends notifications, which I want to show on Samsung Watch (Active 2). The notification itself is shown on watch, but I cannot get Icon to be displayed. Here is example of notification from gmail and from my app. On gmail (left) you can see icon of the app, while on the right you canno... | I have simple application that sends notifications, which I want to show on Samsung Watch (Active 2). The notification itself is shown on watch, but I cannot get Icon to be displayed. Here is example of notification from gmail and from my app. On gmail (left) you can see icon of the app, while on the right you cannot. ... | android|notifications|tizen|android-wear-notification | 1 | 2022-05-20T20:17:59.740Z | 2,022 | 5 | 20 | 4 | 71 | 0 | 394 | 58 | 4 | 1 | true | true | false | false | false | false | low |
72,324,413 | Android ML Text Recogniser is not returning text from a full image that it can see if the source image is cropped. Is there a response limit? | <p>I am using the Google ML Text Recogniser library in Android Studio for an Android app.</p>
<p>It is successfully returning a lot of text from a large image, but the specific, visible text I want it to return is not present in the result.</p>
<p>However, if I crop and save the part of the image containing the text I ... | I am using the Google ML Text Recogniser library in Android Studio for an Android app. It is successfully returning a lot of text from a large image, but the specific, visible text I want it to return is not present in the result. However, if I crop and save the part of the image containing the text I want, it returns ... | android|android-studio|google-mlkit | 0 | 2022-05-20T20:19:04.457Z | 2,022 | 5 | 20 | 4 | 28 | 0 | 884 | 141 | 3 | 0 | false | true | false | false | false | false | zero |
72,324,522 | Can I check if notifications are on for an app? | <p>In Android and iOS system settings you can toggle notifications on an off for an app after granting permissions.</p>
<p>When I go into Android settings, and turn off notifications for my app, the following code (using flutter_local_notifications) still indicates the app has notification permissions.</p>
<pre><code> ... | In Android and iOS system settings you can toggle notifications on an off for an app after granting permissions. When I go into Android settings, and turn off notifications for my app, the following code (using flutter_local_notifications) still indicates the app has notification permissions. [CODE] Is there a way to c... | android|ios|flutter | 0 | 2022-05-20T20:35:01.750Z | 2,022 | 5 | 20 | 4 | 317 | 1 | 384 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
72,324,532 | When they want to log in my app crashes firebase realtime database | <p>I am using a real-time database (in firebase) and my error is that when trying to enter the account it gives me an error and the application crashes in the case it indicates that the error is that attached the code and one more image clear</p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {... | I am using a real-time database (in firebase) and my error is that when trying to enter the account it gives me an error and the application crashes in the case it indicates that the error is that attached the code and one more image clear [CODE] IMG. LOGCAT | android-studio|firebase-realtime-database | 0 | 2022-05-20T20:35:50.020Z | 2,022 | 5 | 20 | 4 | 24 | 0 | 258 | 66 | 2 | 1 | true | true | false | false | false | false | zero |
72,324,582 | Unable to write file on Android 11 - FileNotFoundException | <p>I've read all the relevant questions and answers, but I still can not open a file for writing with <code>FileOutputStream</code>. When I call
<code>FileOutputStream fos = new FileOutputStream(newpathandfilename);</code><br />
It throws a <code>FileNotFoundException</code><br />
What I did so far:<br />
AndroidManife... | I've read all the relevant questions and answers, but I still can not open a file for writing with FileOutputStream . When I call FileOutputStream fos = new FileOutputStream(newpathandfilename); It throws a FileNotFoundException What I did so far: AndroidManifest.xml has: [CODE] Also application tag has android:request... | java|android | 0 | 2022-05-20T20:41:43.267Z | 2,022 | 5 | 20 | 4 | 99 | 0 | 668 | 58 | 2 | 3 | true | true | false | false | false | false | zero |
72,324,585 | Null check operator used on a null value while querying the User-Data | <p>So I am creating a chat-app. I need to show the list of all users in the firebase by mentioning their user-name and email.
I am getting the above stated error on line 56.
Also if I remove the null check operator in the line</p>
<pre><code>QuerySnapshot <Map<String, dynamic>>? searchResultSnapshot;
</code... | So I am creating a chat-app. I need to show the list of all users in the firebase by mentioning their user-name and email. I am getting the above stated error on line 56. Also if I remove the null check operator in the line [CODE] And replace late at the beginning it will produce late initialization error. [CODE] Here ... | firebase|flutter|android-studio|dart | 0 | 2022-05-20T20:42:36.597Z | 2,022 | 5 | 20 | 4 | 47 | 2 | 392 | 69 | 4 | 3 | true | false | false | false | false | false | zero |
72,324,590 | Request headers is not going along with request in retrofit 2.6.0 android kotlin | <p>I am trying to call an API through our app with an authorization token. I have tried all available solutions with no luck.</p>
<p>Here is my retrofit client with okhttp</p>
<pre><code>companion object {
var token: String = "token"
var apiService: ApiService? = null
fun getInstance(... | I am trying to call an API through our app with an authorization token. I have tried all available solutions with no luck. Here is my retrofit client with okhttp [CODE] Interceptor [CODE] Api Call [CODE] I tried sending a dynamic header as [CODE] I tried sending a hardcoded header as [CODE] And, Also tried with the int... | android|api|kotlin|retrofit|request-headers | 0 | 2022-05-20T20:42:54.713Z | 2,022 | 5 | 20 | 4 | 406 | 1 | 479 | 80 | 5 | 6 | true | false | false | false | false | false | zero |
72,324,629 | Flutter - Save a local text file visible for user on Android | <p>I'm trying to create a text file in a folder where the user can see for the file explorer apps of the mobile device, preferably in Documents folder.</p>
<p>Here is what I've till now (consider that we have all required permissions)</p>
<pre class="lang-dart prettyprint-override"><code> final directory = Platform.is... | I'm trying to create a text file in a folder where the user can see for the file explorer apps of the mobile device, preferably in Documents folder. Here is what I've till now (consider that we have all required permissions) [CODE] After that I try to find this new file on my file explorer apps, but it seems to not exi... | android|flutter|file-io | 0 | 2022-05-20T20:48:08.733Z | 2,022 | 5 | 20 | 4 | 325 | 1 | 1,104 | 60 | 3 | 1 | true | false | false | false | false | false | zero |
72,324,670 | What does the constructor do in the @HiltViewModel | <p>I am attempting to add Hilt DI to a view model class.</p>
<ol>
<li><p>It's not clear to be from the docs (in layman's terms) what the constructor is used for?</p>
</li>
<li><p>All the Google docs also indicate you need to add this : ViewModel interface after the constructor but I am also curious what purpose that in... | I am attempting to add Hilt DI to a view model class. It's not clear to be from the docs (in layman's terms) what the constructor is used for? All the Google docs also indicate you need to add this : ViewModel interface after the constructor but I am also curious what purpose that interface serves? [CODE] | android|dagger-hilt | 0 | 2022-05-20T20:52:42.873Z | 2,022 | 5 | 20 | 4 | 35 | 0 | 306 | 50 | 2 | 1 | true | true | false | false | false | false | zero |
72,324,764 | Firestore | SnapshotListener returned object cannot be used | <p>My current problem is that I need to get a document, but I have to make sure that if it's updated or modified in any way I can have them reflect it on my side.</p>
<p>Thanks in advance.</p>
<p>Main Activity:</p>
<pre><code> Anime anime;
Review review;
// gets all reviews that the current user ... | My current problem is that I need to get a document, but I have to make sure that if it's updated or modified in any way I can have them reflect it on my side. Thanks in advance. Main Activity: [CODE] My Review class: [CODE] | java|android|firebase|google-cloud-firestore | 1 | 2022-05-20T21:04:14.420Z | 2,022 | 5 | 21 | 4 | 34 | 0 | 224 | 59 | 4 | 2 | true | true | false | false | false | false | low |
72,324,824 | Android Studio Chipmunk : Gradle Sync issues | <p>I recently upgraded to Android studio Chipmunk, now I created a new project and this Gradle project sync failed every time. I tried updating Api in SDK manager, and also deleted the .gradle and .idea files. Invalidate and restart but nothing works.</p>
<pre><code> Gradle's dependency cache may be corrupt (this so... | I recently upgraded to Android studio Chipmunk, now I created a new project and this Gradle project sync failed every time. I tried updating Api in SDK manager, and also deleted the .gradle and .idea files. Invalidate and restart but nothing works. [CODE] | android|android-studio|gradle|android-gradle-plugin|android-studio-chipmunk | 1 | 2022-05-20T21:12:07.177Z | 2,022 | 5 | 21 | 4 | 1,891 | 0 | 255 | 44 | 5 | 1 | true | true | false | false | false | false | low |
72,324,859 | AlertDialog setItems with a list from room database: getValue() returns null | <p>I'm simply trying to select from a list of Artists in my room database in an AlertDialog. Calling getValue() on the LiveData object from the viewModel consistently gives me null. Do I really need to make a ListAdapter for something this simple?! Why is it so hard to get some strings from the database?</p>
<p><str... | I'm simply trying to select from a list of Artists in my room database in an AlertDialog. Calling getValue() on the LiveData object from the viewModel consistently gives me null. Do I really need to make a ListAdapter for something this simple?! Why is it so hard to get some strings from the database? ArtistDao [CODE] ... | android|android-alertdialog|kotlin-coroutines|android-livedata | 0 | 2022-05-20T21:17:47.380Z | 2,022 | 5 | 21 | 4 | 46 | 1 | 408 | 76 | 4 | 4 | true | false | false | false | false | false | zero |
72,324,891 | Calculating the route using the HERE OfflineRoutingEngine based on geocoordinates | <p>I need to show the Trip route on the map.
To calculate a route based on an imported GeoCoordinates list, I've used the HERE SDK's OfflineRoutingEngine class.
The problem is that the route returned by the calculateRoute function resembles a combination of all routes connected.
Could someone please help me identify th... | I need to show the Trip route on the map. To calculate a route based on an imported GeoCoordinates list, I've used the HERE SDK's OfflineRoutingEngine class. The problem is that the route returned by the calculateRoute function resembles a combination of all routes connected. Could someone please help me identify the p... | java|android|here-api|here-android | 0 | 2022-05-20T21:20:30.807Z | 2,022 | 5 | 21 | 4 | 61 | 1 | 441 | 81 | 4 | 1 | true | false | false | false | false | false | zero |
72,324,998 | Convert ArrayList<Custom> to gson in Java Android | <p>Good afternoon.
I can not understand why the code does not work after publishing in the Google market.
Before publishing in android studio code</p>
<pre><code>ArrayList<TableAccount> tableAccount = getTableAccount();
String jsonStr = new Gson().toJson(tableAccount);
</code></pre>
<p>result:</p>
<pre><code>Log.... | Good afternoon. I can not understand why the code does not work after publishing in the Google market. Before publishing in android studio code [CODE] result: [CODE] But, after posting, I see: [CODE] Why do the letters a b c appear? And where do the keys disappear? ["name", "valueFloat", "value... | java|android|gson | 1 | 2022-05-20T21:35:52.853Z | 2,022 | 5 | 21 | 4 | 40 | 1 | 352 | 49 | 3 | 3 | true | false | false | false | false | false | low |
72,325,082 | How can I display the incoming number as a Toast? | <p>I have to make a simple App for school.</p>
<p>It has to show a toast when a call is received.</p>
<p>The phone call receiver doesn't display anything.</p>
<p>I have this in my manifest, so permissions shouldn't be the issue</p>
<p><code><uses-permission android:name="android.permission.READ_PHONE_STATE"... | I have to make a simple App for school. It has to show a toast when a call is received. The phone call receiver doesn't display anything. I have this in my manifest, so permissions shouldn't be the issue <uses-permission android:name="android.permission.READ_PHONE_STATE"/> [CODE] The code for my broadcastRece... | java|android | 2 | 2022-05-20T21:49:19.167Z | 2,022 | 5 | 21 | 4 | 75 | 1 | 401 | 49 | 2 | 2 | true | false | false | false | false | false | low |
72,325,184 | Exoplayer consumes too much data while playing online video | <p>I'm making an app which plays videos from a URL. I'm using Exoplayer, but I noticed that when I play an online video in Exoplayer, it consumes too much data. For example, when I play a movie URL, it just loads for 2-3 seconds and my Exoplayer consumes around 400mb, and I'm not sure why.</p>
<p>This my video playing ... | I'm making an app which plays videos from a URL. I'm using Exoplayer, but I noticed that when I play an online video in Exoplayer, it consumes too much data. For example, when I play a movie URL, it just loads for 2-3 seconds and my Exoplayer consumes around 400mb, and I'm not sure why. This my video playing method in ... | java|android|firebase-realtime-database|exoplayer | 2 | 2022-05-20T22:04:15.663Z | 2,022 | 5 | 22 | 4 | 68 | 0 | 369 | 59 | 4 | 1 | true | true | false | false | false | false | low |
72,325,188 | Looking for an api for Quasar | <p>Probrably this looks a joke for someone but im very junior still.</p>
<p>Im doing a Quasar/firebase app and i want to upgrade some features, but for this I need to use the fingerprints auth from mobile devices, other is about QR reader and bars Reader, prefers this one.</p>
<p>Im looking for an api or tutorial to fo... | Probrably this looks a joke for someone but im very junior still. Im doing a Quasar/firebase app and i want to upgrade some features, but for this I need to use the fingerprints auth from mobile devices, other is about QR reader and bars Reader, prefers this one. Im looking for an api or tutorial to follow, want to exp... | android|qr-code|quasar | 0 | 2022-05-20T22:04:50.327Z | 2,022 | 5 | 22 | 4 | 19 | 0 | 627 | 29 | 3 | 0 | false | true | false | false | false | false | zero |
72,325,426 | how to retrieve data from firestore based on date range? | <p>Need to fetch all data rows from my collection("data") with my ID and date range as below</p>
<pre><code> Date start = new Date(01/4/2022);
Date end = new Date(30/4/2022);
fStore.collection("data").whereEqualTo("ID", userId).where("date", ">=",start ).where(&q... | Need to fetch all data rows from my collection("data") with my ID and date range as below [CODE] But its complaining using 2 where clauses | java|android|firebase | 0 | 2022-05-20T22:52:42.577Z | 2,022 | 5 | 22 | 4 | 31 | 1 | 148 | 56 | 3 | 1 | true | false | false | false | false | false | zero |
72,325,874 | I got this error : No signature of method | <p>What do I have to do in build.gradle in order to solve this issue? This error happens when I tried to sync the Gradle project.</p>
<p>I got this error from the terminal:</p>
<pre><code>Build file 'C:\Users\rodri\AndroidStudioProjects\firebase\android\app\build.gradle' line: 28
A problem occurred evaluating project ... | What do I have to do in build.gradle in order to solve this issue? This error happens when I tried to sync the Gradle project. I got this error from the terminal: [CODE] This is my build.gradle [CODE] What do I have to do in build.gradle in order to solve this issue? This error happens when I tried to sync the Gradle p... | flutter|android-studio | 0 | 2022-05-21T00:40:42.153Z | 2,022 | 5 | 0 | 5 | 175 | 0 | 348 | 41 | 2 | 2 | true | true | false | false | false | false | zero |
72,325,923 | Loading KML file onto Google Map | <p>I tried implementing KML in Google Maps fragment following official documentation (<a href="https://developers.google.com/maps/documentation/android-sdk/utility/kml" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/android-sdk/utility/kml</a>) but it didn't work. There are no errors, map op... | I tried implementing KML in Google Maps fragment following official documentation ( https://developers.google.com/maps/documentation/android-sdk/utility/kml ) but it didn't work. There are no errors, map opens but no KML overlay. I know how to load KML from a local file (stored in raw folder), but I'm trying to do the ... | java|android|google-maps|kml | 0 | 2022-05-21T00:55:30.237Z | 2,022 | 5 | 0 | 5 | 105 | 0 | 405 | 32 | 4 | 1 | true | true | false | false | false | false | zero |
72,325,996 | Where is the button to 'Create Landscape Variation' in the Design View in Android Studio version 2021.2.1? | <p>For the new version 2021.2.1, I can't find the button for “create landscape variation” in the design view unlike the older one as following link:</p>
<p>The older one</p>
<p><a href="https://i.stack.imgur.com/XhZvB.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/XhZvB.jpg</a></p>
<p>what shows on the list o... | For the new version 2021.2.1, I can't find the button for “create landscape variation” in the design view unlike the older one as following link: The older one https://i.stack.imgur.com/XhZvB.jpg what shows on the list of the New version https://i.stack.imgur.com/5Eelc.png Thanks for your answer~ | android|layout | 0 | 2022-05-21T01:14:01.033Z | 2,022 | 5 | 1 | 5 | 270 | 1 | 297 | 106 | 2 | 0 | false | false | false | false | false | false | zero |
72,326,041 | Please tell me how to get a push/notification when the phone is locked | <p>Please help.
When the phone screen is off (locked), at this time Android phones can’t receive push notifications.</p>
<p>Please tell me how to get a push/notification when the phone is locked.</p> | Please help. When the phone screen is off (locked), at this time Android phones can’t receive push notifications. Please tell me how to get a push/notification when the phone is locked. | android|push-notification|push|screen|light | -1 | 2022-05-21T01:32:43.377Z | 2,022 | 5 | 1 | 5 | 43 | 1 | 185 | 70 | 5 | 0 | false | false | false | false | false | true | negative |
72,326,048 | How to align elements on Compose Row to be on the edge of the screen | <p>Hey guys I'm creating a Compose function that contains a Row and two buttons.
I want to align those buttons in a way that the first one is on start of the screen and the second one is on the end of the border.
How can I do that?
Right now, I have this:</p>
<pre><code>@Composable
private fun TwoButtons() {
Row(
... | Hey guys I'm creating a Compose function that contains a Row and two buttons. I want to align those buttons in a way that the first one is on start of the screen and the second one is on the end of the border. How can I do that? Right now, I have this: [CODE] Im getting this result: | android-jetpack-compose | -2 | 2022-05-21T01:34:41.807Z | 2,022 | 5 | 1 | 5 | 202 | 1 | 283 | 68 | 1 | 1 | true | false | false | false | false | true | negative |
72,326,089 | Android Studio Add text view on button click | <p>So i'm trying to create a java app for tracking orders, and I need each button to create a view in an ordered list currently i'm just trying to get the first button to add information but it isn't doing anything. Any help would be appreciated as I am very new to android programming.</p>
<pre><code>Section of code in... | So i'm trying to create a java app for tracking orders, and I need each button to create a view in an ordered list currently i'm just trying to get the first button to add information but it isn't doing anything. Any help would be appreciated as I am very new to android programming. [CODE] [CODE] Layout resource file w... | java|android | -1 | 2022-05-21T01:47:01.290Z | 2,022 | 5 | 1 | 5 | 79 | 1 | 2,364 | 44 | 2 | 4 | true | false | false | false | false | true | negative |
72,326,098 | How to access packagemanager in viewmodel | <p>I was using fragment and now I attached ViewModel to it and was transferring code to ViewModel and <code>activity?.packageManager?.getPackageInfo(uri, PackageManager.GET_ACTIVITIES)</code> this line shows an error. How can I access package manager in ViewModel?</p> | I was using fragment and now I attached ViewModel to it and was transferring code to ViewModel and activity?.packageManager?.getPackageInfo(uri, PackageManager.GET_ACTIVITIES) this line shows an error. How can I access package manager in ViewModel? | android-studio|kotlin | -1 | 2022-05-21T01:48:44.507Z | 2,022 | 5 | 1 | 5 | 147 | 2 | 248 | 41 | 2 | 0 | false | false | false | false | false | true | negative |
72,326,182 | Why I'm getting this error: The argument type 'String' can't be assigned to the parameter type 'int'? | <p>This is the response of the statusCode and body if the user enters the wrong email and password. <code>I/flutter (20074): 200 I/flutter (20074): {"code":1,"message":"invalid username or password","data":null}</code> and if user enter a correct email and password this is the re... | This is the response of the statusCode and body if the user enters the wrong email and password. I/flutter (20074): 200 I/flutter (20074): {"code":1,"message":"invalid username or password","data":null} and if user enter a correct email and password this is the response I/flutter... | flutter|android-studio | 0 | 2022-05-21T02:09:52.677Z | 2,022 | 5 | 2 | 5 | 75 | 1 | 1,005 | 101 | 2 | 1 | true | false | false | false | false | false | zero |
72,326,297 | Shared Preferences, check box, Kotlin, Android | <p>I am developing an app that have two different splash screens, and I choose which one is displayed with the following code.</p>
<pre><code>class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.act... | I am developing an app that have two different splash screens, and I choose which one is displayed with the following code. [CODE] I have created a shared preferences initializing it at false. Now I have in another activity the following checkbox [CODE] How can I take the shared preferences from the main activity to th... | android|kotlin|checkbox|android-activity|sharedpreferences | 0 | 2022-05-21T02:44:47.540Z | 2,022 | 5 | 2 | 5 | 119 | 1 | 453 | 46 | 5 | 2 | true | false | false | false | false | false | zero |
72,326,402 | A problem occurred configuring project ':DragRecylerView' | <pre><code>A problem occurred configuring project ':DragRecylerView'.
</code></pre>
<blockquote>
<p>Could not resolve all files for configuration ':DragRecylerView:classpath'.
Could not find com.novoda:bintray-release:0.7.0.
Searched in the following locations:
- <a href="https://dl.google.com/dl/android/maven2/com/nov... | [CODE] Could not resolve all files for configuration ':DragRecylerView:classpath'. Could not find com.novoda:bintray-release:0.7.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/novoda/bintray-release/0.7.0/bintray-release-0.7.0.pom - https://repo.maven.apache.org/maven2/com/novoda/... | android|build.gradle | 0 | 2022-05-21T03:15:58.710Z | 2,022 | 5 | 3 | 5 | 80 | 1 | 630 | 57 | 2 | 2 | true | false | false | false | false | false | zero |
72,326,404 | Android Studio ListView Only 1 Time Clickable | <p>I created a class "users" and i add the some names.
Next i created a ArrayAdapter for ListView and i connect them.
But i wont items only one time clickable. I couldn't.
How can i, in listview items only once time clickable?
Show it with a sample code please?</p>
<pre><code>//Adapter
//ListView Adap... | I created a class "users" and i add the some names. Next i created a ArrayAdapter for ListView and i connect them. But i wont items only one time clickable. I couldn't. How can i, in listview items only once time clickable? Show it with a sample code please? [CODE] | java|android|listview|android-listview|onitemclicklistener | 0 | 2022-05-21T03:16:18.783Z | 2,022 | 5 | 3 | 5 | 76 | 3 | 275 | 45 | 5 | 1 | true | false | false | false | false | false | zero |
72,326,519 | drawable/rn_edit_text_material (aka com.listnbuy:drawable/rn_edit_text_material) not found in react-native | <p>Hy, I'm creating an application in react-native but while building the app I'm getting this error.</p>
<pre><code>error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNa... | Hy, I'm creating an application in react-native but while building the app I'm getting this error. [CODE] I tried reinstalling the node modules, gradlew clean and some more things that I find on the internet to solve but was unable to resolve. Can anyone what is this error and how we can fix it in react-native. | android|reactjs|react-native|react-hooks | 2 | 2022-05-21T03:48:24.013Z | 2,022 | 5 | 3 | 5 | 352 | 2 | 312 | 106 | 4 | 1 | true | false | false | false | false | false | low |
72,326,584 | How to use ViewBinding in a RecyclerView Adapter with Interface and Cardview in android java? | <p>i always mostly required Recycleview with viewbinding using interface in android java done any one help to do same ??</p> | i always mostly required Recycleview with viewbinding using interface in android java done any one help to do same ?? | android|android-recyclerview|interface|android-cardview|android-viewbinding | 0 | 2022-05-21T04:07:43.093Z | 2,022 | 5 | 4 | 5 | 294 | 1 | 117 | 93 | 5 | 0 | false | false | false | false | false | false | zero |
72,326,593 | React Native Android Build Fail Error on M1 Mac | <p>I cloned a project from github, and I get a build fail when I tried to run <code>react-native run-android</code>. I tried find the problem, but there are not many references, and most of the methods did not solve the problem. The error message is below:</p>
<pre><code>Task :react-native-nodemediaclient:compileDebugJ... | I cloned a project from github, and I get a build fail when I tried to run react-native run-android . I tried find the problem, but there are not many references, and most of the methods did not solve the problem. The error message is below: [CODE] I tried deleting node_modules, and re-installing. I also tried cleaning... | android|react-native|android-studio|apple-m1 | 0 | 2022-05-21T04:10:04.143Z | 2,022 | 5 | 4 | 5 | 742 | 0 | 478 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
72,326,628 | Unresolved package 'flutter' | <p>I download the flutter project from git hub start implementing in my android studio to learn but I get this problem in AndroidManifest.xml file only here and I also install all dependencies.
Please resolve my problem.
enter image description here</p>
<p><a href="https://i.stack.imgur.com/T6UJm.png" rel="nofollow nor... | I download the flutter project from git hub start implementing in my android studio to learn but I get this problem in AndroidManifest.xml file only here and I also install all dependencies. Please resolve my problem. enter image description here enter image description here enter image description here | flutter|android-studio|android-manifest | 2 | 2022-05-21T04:21:43.777Z | 2,022 | 5 | 4 | 5 | 305 | 2 | 304 | 28 | 3 | 0 | false | false | false | false | false | false | low |
72,326,635 | How to Read Data Compare of two table | <p>I Have Two Tables , Table1 Contains 10 Users Regular Data, Table2 Contains 3 vip users username(same as table1) only . Now how can I Get All 7 Non-VIP Users data using sql? Platform IS sqlite Database Android</p> | I Have Two Tables , Table1 Contains 10 Users Regular Data, Table2 Contains 3 vip users username(same as table1) only . Now how can I Get All 7 Non-VIP Users data using sql? Platform IS sqlite Database Android | android|sql | -1 | 2022-05-21T04:23:56.880Z | 2,022 | 5 | 4 | 5 | 30 | 2 | 208 | 37 | 2 | 0 | false | false | false | false | false | true | negative |
72,326,644 | Android emulator won't shut down in Android Studio (I don't see "Stop" under the Actions Tab of AVD Manager) | <p>From looking this up online, I should have a "Stop" option under the Actions Tab of the Device Manager's tool window?</p>
<p>But I only see six options: Duplicate, Wipe Data, Cold Boot Now, Show On Disk, Details, Delete.</p>
<p>Seems the only way I have to stop it is by holding down the (virtual) power but... | From looking this up online, I should have a "Stop" option under the Actions Tab of the Device Manager's tool window? But I only see six options: Duplicate, Wipe Data, Cold Boot Now, Show On Disk, Details, Delete. Seems the only way I have to stop it is by holding down the (virtual) power button to then shut ... | android|android-studio|android-emulator|virtual-device-manager|android-device-manager | 0 | 2022-05-21T04:25:12.913Z | 2,022 | 5 | 4 | 5 | 92 | 1 | 328 | 108 | 5 | 0 | false | false | false | false | false | false | zero |
72,326,648 | Load an image from HTTP Response | <p>I am using an API to make custom QR codes in my android app. I have used <a href="https://rapidapi.com/qrcode-monkey/api/custom-qr-code-with-logo" rel="nofollow noreferrer">this</a> api. Now, to get the QR code, I used this code:</p>
<pre class="lang-kotlin prettyprint-override"><code>val client = OkHttpClient()
va... | I am using an API to make custom QR codes in my android app. I have used this api. Now, to get the QR code, I used this code: [CODE] Now, from here, I dont know how to get that image and load it in an image view. I think Glide can be used but I dont have any idea about that. | android|json|kotlin|qr-code|rapidapi | 0 | 2022-05-21T04:26:08.057Z | 2,022 | 5 | 4 | 5 | 99 | 1 | 275 | 32 | 5 | 1 | true | false | false | false | false | false | zero |
72,326,653 | How to get cookie (full) from a site in Android | <p>I tried solutions from <a href="https://stackoverflow.com/questions/36101403/how-do-i-extract-and-view-cookies-from-android-chrome#comment125364082_68317037">How do I extract and view cookies from Android Chrome?</a></p>
<p>It works great and the code is below (runs javascript)</p>
<pre><code>javascript:document.coo... | I tried solutions from How do I extract and view cookies from Android Chrome? It works great and the code is below (runs javascript) [CODE] By @user123 - https://stackexchange.com/users/7946910/user123 And 2nd one also works the same by https://stackexchange.com/users/2318765/dimosthenis-nikoudis [CODE] But both codes ... | javascript|android|google-chrome|cookies | 0 | 2022-05-21T04:26:55.800Z | 2,022 | 5 | 4 | 5 | 124 | 0 | 852 | 47 | 4 | 2 | true | true | false | false | false | false | zero |
72,326,882 | How to make rounded and bordered button android? | <p>I am making a rounded and bordered button. But I am getting button with only primary color in the theme.
Here is my code in circular button drawable file:-</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">... | I am making a rounded and bordered button. But I am getting button with only primary color in the theme. Here is my code in circular button drawable file:- [CODE] here is my button code:- [CODE] | android|button|android-drawable | 0 | 2022-05-21T05:21:20.573Z | 2,022 | 5 | 5 | 5 | 29 | 2 | 194 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
72,326,930 | How do I setup Android Google Maven Repository? | <p>I downloaded the <strong>offline-gmaven-stable.zip</strong> like 3gb from the official website.</p>
<p>But I don't know how to add it to Android studio. And I can't find any Working tutorials on it too</p>
<p><a href="https://dl.google.com/android/studio/maven-google-com/stable/offline-gmaven-stable.zip" rel="nofoll... | I downloaded the offline-gmaven-stable.zip like 3gb from the official website. But I don't know how to add it to Android studio. And I can't find any Working tutorials on it too https://dl.google.com/android/studio/maven-google-com/stable/offline-gmaven-stable.zip | java|android|android-studio|android-gradle-plugin|mobile-application | 0 | 2022-05-21T05:32:18.997Z | 2,022 | 5 | 5 | 5 | 76 | 0 | 264 | 47 | 5 | 0 | false | true | false | false | false | false | zero |
72,326,943 | How to implement pages in android when user scroll horizontal like e-book apps? | <p>I am new to Android development. I need suggestion or any tutorial. I am creating an e-book app that will display list of books. By clicking on any book I want to show detail of the book, meaning all the chapters. Display the list of books I have done it with the help of recycler view, but after clicking on any item... | I am new to Android development. I need suggestion or any tutorial. I am creating an e-book app that will display list of books. By clicking on any book I want to show detail of the book, meaning all the chapters. Display the list of books I have done it with the help of recycler view, but after clicking on any item ho... | android | 0 | 2022-05-21T05:34:24.230Z | 2,022 | 5 | 5 | 5 | 43 | 0 | 1,273 | 79 | 1 | 1 | true | true | false | false | false | false | zero |
72,327,073 | How to implement pagination with kotlin flows | <p>I am new to kotlin flows. I am following <a href="https://developer.android.com/topic/architecture/ui-layer" rel="nofollow noreferrer">this</a> to set up the UI layer in Android.</p>
<p>This is my UI stateFlow</p>
<pre><code>private val _teamsUiState = MutableStateFlow(TeamsUiState())
val teamsUiState: StateFlow<... | I am new to kotlin flows. I am following this to set up the UI layer in Android. This is my UI stateFlow [CODE] This is my TeamsUiState data class: [CODE] I am fetching the response from the API on a coroutine and handling it like this [CODE] And in the fragment I am observing it like this: [CODE] Since I have paginati... | android|kotlin-coroutines|kotlin-flow|kotlin-stateflow | 0 | 2022-05-21T06:03:01.423Z | 2,022 | 5 | 6 | 5 | 518 | 2 | 530 | 45 | 4 | 5 | true | false | false | false | false | false | zero |
72,327,105 | How to trigger fresh install instead of update? | <p>I'm an android developer and I'll be releasing a new update of my application in the coming days. But the new update is a complete redesign of the app's entire architecture, so I'd like the user to uninstall the previous version of the app before he installs the new version so that all the cached data/already logged... | I'm an android developer and I'll be releasing a new update of my application in the coming days. But the new update is a complete redesign of the app's entire architecture, so I'd like the user to uninstall the previous version of the app before he installs the new version so that all the cached data/already logged in... | android|flutter|google-play-console | 0 | 2022-05-21T06:09:48.950Z | 2,022 | 5 | 6 | 5 | 26 | 2 | 452 | 47 | 3 | 0 | false | false | false | false | false | false | zero |
72,327,224 | Arrays.asList() how to append String value to each item | <p>I'm reading getting the names of all the images inside a <code>subfolder</code> of my <code>assets</code> folder.</p>
<pre><code>//Returns name of all the images inside folder_previews
private static List<String> getPreviews(Context context) throws IOException {
AssetManager assetManager = context.get... | I'm reading getting the names of all the images inside a subfolder of my assets folder. [CODE] I then want to concat a String before each one. [CODE] Is there a way to do it inside my method getPreviews with Array's .asList() so I can avoid using the loop? | java|android | 0 | 2022-05-21T06:30:40.157Z | 2,022 | 5 | 6 | 5 | 74 | 2 | 256 | 55 | 2 | 2 | true | false | false | false | false | false | zero |
72,327,267 | my chat application crashes when ever in try to react on a message | <p>When ever I try to send messages from device to device the app works fine a
,But when ever i try to react in a message the app crashes and returns back to main activity page, i don't know what is causing the error</p>
<p><strong>here is the messageAdapter.java code :</strong></p>
<pre><code>package com.example.baatc... | When ever I try to send messages from device to device the app works fine a ,But when ever i try to react in a message the app crashes and returns back to main activity page, i don't know what is causing the error here is the messageAdapter.java code : [CODE] Here is the getter and setter class for above adapter class ... | java|android|firebase|android-studio|crash | 0 | 2022-05-21T06:39:37.347Z | 2,022 | 5 | 6 | 5 | 38 | 1 | 479 | 66 | 5 | 3 | true | false | false | false | false | false | zero |
72,327,307 | Why I'm getting a null instead of the value of name? | <p>I'm trying to display the name of the user on another page after he/she login. I have no problem displaying the code or message on another page. But when I tried to display the name or the email I got a null value. This is the response of <code>print(data['name']); -> I/flutter ( 4896): null</code> and this is th... | I'm trying to display the name of the user on another page after he/she login. I have no problem displaying the code or message on another page. But when I tried to display the name or the email I got a null value. This is the response of print(data['name']); -> I/flutter ( 4896): null and this is the response of print... | flutter|android-studio | 1 | 2022-05-21T06:48:34.837Z | 2,022 | 5 | 6 | 5 | 58 | 1 | 659 | 52 | 2 | 5 | true | false | false | false | false | false | low |
72,327,341 | android firebase crashlytics Cannot invoke method all() on null object | <p>i've implemented firebase crashlytics as documented on it's official website. But when i build my project i get an error below:</p>
<pre><code>* What went wrong:
A problem occurred configuring project ':app'.
> Cannot invoke method all() on null object
* Try:
Run with --info or --debug option to get more log out... | i've implemented firebase crashlytics as documented on it's official website. But when i build my project i get an error below: [CODE] Here are my implementation versions : build.gradle (project) [CODE] build.gradle (app) [CODE] i've placed my google-services.json file under "app" folder. i couldn't figure ou... | android|firebase|gradle|android-gradle-plugin|crashlytics | 1 | 2022-05-21T06:53:54.557Z | 2,022 | 5 | 6 | 5 | 156 | 1 | 344 | 70 | 5 | 3 | true | false | false | false | false | false | low |
72,327,368 | Why number or digits showing dots on smartphone? | <p>I am facing one issue. My whole website digits change to "…" dots. Example if there is "123", it changes to "…".</p>
<p>Here is my deployed application: <a href="https://ezylegal.in/legal-consultation" rel="nofollow noreferrer">https://ezylegal.in/legal-consultation</a></p>
<p><strong>O... | I am facing one issue. My whole website digits change to "…" dots. Example if there is "123", it changes to "…". Here is my deployed application: https://ezylegal.in/legal-consultation On mobile view It is showing 100 lawyers online. But I am checking user experience using Microsoft clarit... | javascript|android|reactjs|ms-clarity | 1 | 2022-05-21T06:59:56.360Z | 2,022 | 5 | 6 | 5 | 68 | 1 | 501 | 48 | 4 | 0 | false | false | false | false | false | false | low |
72,327,385 | How to not show bottom nav bar in other fragments except the section fragments? | <p>I have a bottom nav bar with 4 section fragment attached. In every fragment there is something by clicking that I am going to other fragment which are not section fragment. I want to show bottom nav bar only in section fragment. So how to hide bottom nav bar in other fragment?<br>Here is my bottom nav bar code:<br><... | I have a bottom nav bar with 4 section fragment attached. In every fragment there is something by clicking that I am going to other fragment which are not section fragment. I want to show bottom nav bar only in section fragment. So how to hide bottom nav bar in other fragment? Here is my bottom nav bar code: [CODE] } | android|android-fragments|android-bottomnav | 0 | 2022-05-21T07:03:09.110Z | 2,022 | 5 | 7 | 5 | 51 | 1 | 318 | 79 | 3 | 1 | true | false | false | false | false | false | zero |
72,327,544 | Jetpack compose text background size is bigger | <p>I am trying to figure out why text background on bottom and top is bigger than needed, as you see on this picture, color on start and end is just big as the end of the text, but on bottom and top, it is a little more bigger and get more space than the text itself. How can I fix this and why is it like that?</p>
<pre... | I am trying to figure out why text background on bottom and top is bigger than needed, as you see on this picture, color on start and end is just big as the end of the text, but on bottom and top, it is a little more bigger and get more space than the text itself. How can I fix this and why is it like that? [CODE] | android-jetpack-compose|android-jetpack-compose-text | 0 | 2022-05-21T07:28:33.160Z | 2,022 | 5 | 7 | 5 | 88 | 0 | 315 | 46 | 2 | 1 | true | true | false | false | false | false | zero |
72,327,617 | Couldn't Android Studio's code autocomplete feature be more flexible like vscode? (Flutter) | <p>In the case of vscode, 'center' is automatically recommended even if you input only 'cnt' as in the picture, but Android Studio does not.
Is there a way to set autocomplete in android studio like vscode?</p>
<p><strong>android studio</strong></p>
<p><a href="https://i.stack.imgur.com/LMx1O.png" rel="nofollow norefer... | In the case of vscode, 'center' is automatically recommended even if you input only 'cnt' as in the picture, but Android Studio does not. Is there a way to set autocomplete in android studio like vscode? android studio vscode | android-studio | 0 | 2022-05-21T07:41:24.170Z | 2,022 | 5 | 7 | 5 | 15 | 0 | 225 | 91 | 1 | 0 | false | true | false | false | false | false | zero |
72,327,663 | React Native - onPress on child larger than parent component not working on Android | <p>I have the following component in React Native:</p>
<pre><code><View style={{ flex: 1, width: "100%", backgroundColor: "white" }} >
<View style={{ position: "absolute", top: 20, left: 20, height: 100, width: 100, backgroundColor: 'red' }}>
<TouchableWithoutFee... | I have the following component in React Native: [CODE] This renders the following screen: Render of component Now when I click on the part of the child (blue) component that is outside of the parent (red) component it doesn't log "click" on Android. But when I run this app on iOS, it does log "click"... | javascript|android|ios|react-native|mobile | 0 | 2022-05-21T07:48:44.297Z | 2,022 | 5 | 7 | 5 | 140 | 1 | 581 | 83 | 5 | 2 | true | false | false | false | false | false | zero |
72,327,692 | App full screen problem, error "No resource found that matched the given name" | <p>I have modified & created an app with apkeditor using html, css, javascript, jquery etc. Everything is going well, my app is running fine in all devices.</p>
<p>but i face a problem now after installing this app that it won't open with full screen area. and its showing extra black area on the bottom of this app.... | I have modified & created an app with apkeditor using html, css, javascript, jquery etc. Everything is going well, my app is running fine in all devices. but i face a problem now after installing this app that it won't open with full screen area. and its showing extra black area on the bottom of this app. If i want to ... | android|resources|android-actionbar|fullscreen|android-titlebar | 0 | 2022-05-21T07:53:45.333Z | 2,022 | 5 | 7 | 5 | 52 | 0 | 1,116 | 78 | 5 | 0 | false | true | false | false | false | false | zero |
72,327,707 | Video Camera with custom text | <p>I am new to react-native. Now, I would like to show the text while recording. For example, if I open the camera then show the text 1234 until I finished the recording. Can anyone please help to develop this UI? I am really worried about fixing this one. I have spent more than a week. but I couldn't able to fix this ... | I am new to react-native. Now, I would like to show the text while recording. For example, if I open the camera then show the text 1234 until I finished the recording. Can anyone please help to develop this UI? I am really worried about fixing this one. I have spent more than a week. but I couldn't able to fix this iss... | android|ios|react-native|react-native-image-picker|react-native-image-crop-picker | 1 | 2022-05-21T07:57:27.420Z | 2,022 | 5 | 7 | 5 | 50 | 1 | 582 | 29 | 5 | 0 | false | false | false | false | false | false | low |
72,327,776 | Android: Save CSV File to internal Storage | <p>I have put somehow together a code that records my sensor data from the phone and i want to save them as csv file in some directory (maybe DCIM) in the internal Storage on the phone, but i cannot find something similar, i am also new to Android Studio and java.</p>
<p>On the bottom you can see ,i found that code exa... | I have put somehow together a code that records my sensor data from the phone and i want to save them as csv file in some directory (maybe DCIM) in the internal Storage on the phone, but i cannot find something similar, i am also new to Android Studio and java. On the bottom you can see ,i found that code example with ... | java|android|csv|file | 0 | 2022-05-21T08:09:52.683Z | 2,022 | 5 | 8 | 5 | 152 | 0 | 534 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
72,327,930 | Multiple RecyclerView(two) has lag - android | <p>I have a list that load in <code>RecyclerView</code> with <code>CardView</code> and in <code>CardView</code> I have a <code>RecyclerView</code> that have (max) 10 items, I load it now, but it has lag:</p>
<p>My First <code>LessonContentListAdapter.kt</code>:</p>
<pre><code>class LessonContentListAdapter : RecyclerVi... | I have a list that load in RecyclerView with CardView and in CardView I have a RecyclerView that have (max) 10 items, I load it now, but it has lag: My First LessonContentListAdapter.kt : [CODE] Second ChildLessonContentListVectorsAdapter.kt : [CODE] First fragment_lesson_content_list.xml: [CODE] second lesson_content_... | android|android-recyclerview|android-adapter|android-diffutils | 0 | 2022-05-21T08:35:28.540Z | 2,022 | 5 | 8 | 5 | 97 | 1 | 387 | 44 | 4 | 5 | true | false | false | false | false | false | zero |
72,327,961 | Unable to start activity ComponentInfo{app.myProject/app.myProject.ui.screens.home.MainActivity}: java.lang.IllegalStateException | <p>App crash while run the apk at runtime.</p>
<blockquote>
<p>Logcat error log</p>
</blockquote>
<pre><code> E/AndroidRuntime: FATAL EXCEPTION: main
Process: app.myProject, PID: 23589
java.lang.RuntimeException: Unable to start activity ComponentInfo{app.myProject/app.myProject.ui.screens.home.MainActivity}: j... | App crash while run the apk at runtime. Logcat error log [CODE] Already have a application class which have annotation @HiltAndroidApp .and also added it to manifest file as like below :- Manifest file [CODE] App.kt file [CODE] Dependency i used [CODE] The app crashes as soon as it gets installed and throws the weird e... | android|kotlin|dependency-injection|runtime-error|android-manifest | 0 | 2022-05-21T08:42:15.677Z | 2,022 | 5 | 8 | 5 | 124 | 1 | 516 | 129 | 5 | 4 | true | false | false | false | false | false | zero |
72,327,985 | Unity: cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}' is expected | <p>I build Unity project with upgrade Android Target API level from 30 to 31. After adding a new library, it became necessary to raise the Target API. Local build (on my Mac) build correctly, but build in TeamCity on builder is Failed with exeption:</p>
<blockquote>
<p>cvc-complex-type.2.4.a: Invalid content was found ... | I build Unity project with upgrade Android Target API level from 30 to 31. After adding a new library, it became necessary to raise the Target API. Local build (on my Mac) build correctly, but build in TeamCity on builder is Failed with exeption: cvc-complex-type.2.4.a: Invalid content was found starting with element '... | android|unity3d|gradle|build | 0 | 2022-05-21T08:44:41.020Z | 2,022 | 5 | 8 | 5 | 1,301 | 1 | 928 | 129 | 4 | 0 | false | false | false | false | false | false | zero |
72,328,045 | How to add programmatically generated imageviews to room database | <p>How can I add multiple imageviews generated programmatically from linearlayout to room database. I have used byte for it but I can only store one image. I want to store all images in the same row</p>
<pre><code>
ImageView imageview = new ImageView(this);
linear.addView(imageView); ```
</code></pre> | How can I add multiple imageviews generated programmatically from linearlayout to room database. I have used byte for it but I can only store one image. I want to store all images in the same row [CODE] | android|database|android-room | 2 | 2022-05-21T08:51:44.857Z | 2,022 | 5 | 8 | 5 | 30 | 0 | 202 | 65 | 3 | 1 | true | true | false | false | false | false | low |
72,328,158 | Is there a way to generate a constructor with the default values in it already? | <p>Let's say I have a class with variables that I have initialized just after the declarations in the Class scope.</p>
<p>Is there a shortcut or plugin to generate a constructor that sets all the values to their initial initializations or original values set in the class scope, without manually entering them?</p>
<p>I ... | Let's say I have a class with variables that I have initialized just after the declarations in the Class scope. Is there a shortcut or plugin to generate a constructor that sets all the values to their initial initializations or original values set in the class scope, without manually entering them? I realize that just... | android-studio | 0 | 2022-05-21T09:09:04.680Z | 2,022 | 5 | 9 | 5 | 20 | 0 | 404 | 79 | 1 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.