id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,733,146 | Firebase Google login pop up not showing in android | <p>I'm implementing Google Sign by following Firebase <a href="https://firebase.google.com/docs/auth/android/google-signin" rel="nofollow noreferrer">offical docs</a>. But the below codes do not show any google account when I click on the button to start google login.</p>
<p>Looks like the problem is with <code>BeginSi... | I'm implementing Google Sign by following Firebase offical docs . But the below codes do not show any google account when I click on the button to start google login. Looks like the problem is with BeginSignInRequest . [CODE] | android|firebase|kotlin | 0 | 2022-09-15T14:40:34.443Z | 2,022 | 9 | 14 | 3 | 18 | 0 | 225 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
73,733,228 | Failed to convert value of type java.util.HashMap to String error when I'm trying to retrieve data from firebase to viewpager2 | <p>For my application, I added a ViewPager2 to show the recommended containing image, name, and country. But when I try to retrieve data from firebase this error shows. I tried tweaking the code but I think I'm only making it worse because the error is replaced by No setter/field for a class error. I have been stuck wi... | For my application, I added a ViewPager2 to show the recommended containing image, name, and country. But when I try to retrieve data from firebase this error shows. I tried tweaking the code but I think I'm only making it worse because the error is replaced by No setter/field for a class error. I have been stuck with ... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-09-15T14:45:58.607Z | 2,022 | 9 | 14 | 3 | 33 | 1 | 560 | 126 | 5 | 2 | true | false | false | false | false | false | zero |
73,733,310 | Flutter url_launcher showing white screen for PDF (file on GCP storage) :Android Flutter | <p>The following code opens up the in app browser in iOS and shows the PDF file.</p>
<pre><code>Uri resumeUrl = Uri.https(
storageBaseUrl,
'$storageBucketUrl/${filePath}',
);
if (await canLaunchUrl(resumeUrl)) {
launchUrl(resumeUrl
}
</code></pre>
<p>However in case of Android. A white screen is being shown
... | The following code opens up the in app browser in iOS and shows the PDF file. [CODE] However in case of Android. A white screen is being shown I tried LaunchMode.externalApplication but that takes the user to chrome and downloads the PDF which is not the experience I'm looking for. I would like to have the same behavio... | android|flutter|dart|webview|url-launcher | 0 | 2022-09-15T14:51:15.620Z | 2,022 | 9 | 14 | 3 | 51 | 0 | 719 | 88 | 5 | 2 | true | true | false | false | false | false | zero |
73,733,326 | Read image from gallery getting a Runtime exception. Image size is more than 1MB of data. How to fix this issue using java in Android | <p>**Perform Gallery Action **</p>
<p>As mentioned in below lines of code to perform action to read images from the Gallery.</p>
<pre><code> Intent intent = null;
intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
intent.setType("image/*");
startActivityForRe... | **Perform Gallery Action ** As mentioned in below lines of code to perform action to read images from the Gallery. [CODE] Getting Runtime exception : [CODE] Caused by: android.os.TransactionTooLargeException: data parcel size 1132804 bytes at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProx... | java|android|android-studio|android-fragments|android-edittext | 0 | 2022-09-15T14:52:44.430Z | 2,022 | 9 | 14 | 3 | 27 | 0 | 538 | 133 | 5 | 2 | true | true | false | false | false | false | zero |
73,733,438 | How to make transition animation from one Component to another (Jetpack Compose)? | <p>I have a <code>Column</code> with scroll, and when the user scrolls down, the toolbar appears otherwise disappearing. The toolbar has a text, and the current implementation works by changing the alpha of the toolbar, so the text on this toolbar appears with the toolbar itself by changing the alpha, however, what I n... | I have a Column with scroll, and when the user scrolls down, the toolbar appears otherwise disappearing. The toolbar has a text, and the current implementation works by changing the alpha of the toolbar, so the text on this toolbar appears with the toolbar itself by changing the alpha, however, what I need to achieve i... | android|animation|android-jetpack-compose|android-animation|android-jetpack | 0 | 2022-09-15T15:02:15.487Z | 2,022 | 9 | 15 | 3 | 69 | 0 | 1,227 | 81 | 5 | 1 | true | true | false | false | false | false | zero |
73,733,443 | Why not cast to MutableList since I set .toMutableList() | <p>I have cast this code to mutable list. But for some reason it still indicate it as a list.
This is my code</p>
<pre><code> return (stringToArray(userSharedPrefs.getString(MY_KEY, null))?.toMutableList()?.distinct()?.reversed() ?: mutableListOf<String>())
</code></pre>
<p>But got this error</p>
<pre><cod... | I have cast this code to mutable list. But for some reason it still indicate it as a list. This is my code [CODE] But got this error [CODE] Why it says Found: List<String> | android|kotlin | 0 | 2022-09-15T15:02:28.400Z | 2,022 | 9 | 15 | 3 | 32 | 1 | 171 | 56 | 2 | 2 | true | false | false | false | false | false | zero |
73,733,536 | Jetpack compose lazycolumn change items with on item click | <p>I'm new in the compose and i am trying to do some changes in lazycolumn with a like button click, it's like an instagram, when i was click to do button, button color and like count should be changed, i tried so many things but it doesn't work if u can help me i will be grateful</p>
<p>---viewmodel---</p>
<pre><code>... | I'm new in the compose and i am trying to do some changes in lazycolumn with a like button click, it's like an instagram, when i was click to do button, button color and like count should be changed, i tried so many things but it doesn't work if u can help me i will be grateful ---viewmodel--- [CODE] --homepage-- [CODE... | kotlin|android-jetpack-compose|lazycolumn | 0 | 2022-09-15T15:09:04.410Z | 2,022 | 9 | 15 | 3 | 36 | 0 | 354 | 58 | 3 | 3 | true | true | false | false | false | false | zero |
73,733,785 | How Do I Refresh Database and Navigate back to VewContact Fragment from dialog box? | <p>Currently I am working with my recycler adapter and i have opened Edit dialog box on list item and its getting edited successfully changes were saved , but i want to reflect the changes instantly in list and navigate back to viewContact fragment i've tried dissmiss listner but it didnt working.
note: I have only xml... | Currently I am working with my recycler adapter and i have opened Edit dialog box on list item and its getting edited successfully changes were saved , but i want to reflect the changes instantly in list and navigate back to viewContact fragment i've tried dissmiss listner but it didnt working. note: I have only xml fi... | java|android|android-recyclerview|android-dialog | 0 | 2022-09-15T15:27:04.090Z | 2,022 | 9 | 15 | 3 | 14 | 0 | 523 | 83 | 4 | 1 | true | true | false | false | false | false | zero |
73,733,849 | Override SetText for different types of buttons | <p>Hey guys i have an implementation doubt.</p>
<p>Im use different types of buttons, <code>Android.Widget.Button</code>, <code>Google.Android.Material.Button</code>, <code>Android.Widget.CompoundButton</code>, etc and i need to have a way to perform some text validations before displaying the text itself.</p>
<p>Right... | Hey guys i have an implementation doubt. Im use different types of buttons, Android.Widget.Button , Google.Android.Material.Button , Android.Widget.CompoundButton , etc and i need to have a way to perform some text validations before displaying the text itself. Right now i have different custom views that extend the di... | xamarin|xamarin.android | 1 | 2022-09-15T15:32:11.950Z | 2,022 | 9 | 15 | 3 | 25 | 0 | 526 | 47 | 2 | 1 | true | true | false | false | false | false | low |
73,733,853 | Increase zoom in android app using camera api | <p>Is there any solution to increase max camera zoom in android-camera api? I Know there is camera limitation but some of the application available on playstore able to increase max zoom using android camera api 1</p> | Is there any solution to increase max camera zoom in android-camera api? I Know there is camera limitation but some of the application available on playstore able to increase max zoom using android camera api 1 | android|camera|camera-api | 1 | 2022-09-15T15:32:19.037Z | 2,022 | 9 | 15 | 3 | 20 | 0 | 210 | 45 | 3 | 0 | false | true | false | false | false | false | low |
73,733,894 | How can I get a 3D point from 2D screen touch using anchor coordinates? | <p>I'm making an ARCore app. I want to get a 3D point from user's screen touch using anchor coordinates not world coordinates.</p>
<p>I need to get a 3D point based on an anchor coordinates so that I can restore the object at the same location later using the anchor.</p> | I'm making an ARCore app. I want to get a 3D point from user's screen touch using anchor coordinates not world coordinates. I need to get a 3D point based on an anchor coordinates so that I can restore the object at the same location later using the anchor. | android|arcore|aranchor | 1 | 2022-09-15T15:35:55.787Z | 2,022 | 9 | 15 | 3 | 17 | 0 | 257 | 71 | 3 | 0 | false | true | false | false | false | false | low |
73,733,902 | Kotlin OKHTTP, handle cache when header has change | <p>I'am using okhttp for my api call, it working very good and i would like to optimise my code a little bit so i wanted to add some cache control on my <code>OkHttpClient</code> like so :</p>
<pre><code>val cacheSize = 10 * 1024 * 1024 // 10MB
client = OkHttpClient.Builder()
.addInterceptor(lo... | I'am using okhttp for my api call, it working very good and i would like to optimise my code a little bit so i wanted to add some cache control on my OkHttpClient like so : [CODE] First of all i'am not really sure how it's work does it check if some cache is available and it doesn't call my api ? Anyways my problem is ... | android|kotlin|caching|okhttp | 0 | 2022-09-15T15:36:40.407Z | 2,022 | 9 | 15 | 3 | 15 | 0 | 926 | 50 | 4 | 1 | true | true | false | false | false | false | zero |
73,733,905 | How to get BuildConfig in multi module app | <p>I am quite new with android and now building some multi module android app. In my app module in build.gradle i set product flavors and i put there some variables for each environment. Now I have login module where I would like to read some of those variables. Any idea or advice how to get access to them from differe... | I am quite new with android and now building some multi module android app. In my app module in build.gradle i set product flavors and i put there some variables for each environment. Now I have login module where I would like to read some of those variables. Any idea or advice how to get access to them from different ... | android|build.gradle|android-productflavors | 0 | 2022-09-15T15:36:44.270Z | 2,022 | 9 | 15 | 3 | 19 | 1 | 327 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
73,733,959 | Android Studio with Flutter and Dart plugins - JIT compiler uses 30% of CPU | <p>Windows 11 Pro + Core i5 12600, Docker, WSL2.</p>
<p>Latest Android Studio with Flutter and Dart plugins and hello world project.</p>
<p>JIT compiler uses 30% of CPU used NOT during compilation, started by user.</p>
<p>Did not helped with invalidated cache and restart:</p>
<p>Power Saving Mode in AS. -XX:CICompilerC... | Windows 11 Pro + Core i5 12600, Docker, WSL2. Latest Android Studio with Flutter and Dart plugins and hello world project. JIT compiler uses 30% of CPU used NOT during compilation, started by user. Did not helped with invalidated cache and restart: Power Saving Mode in AS. -XX:CICompilerCount=2 Disabled all VCS backgro... | flutter|android-studio|dart|mobile | 0 | 2022-09-15T15:40:42.867Z | 2,022 | 9 | 15 | 3 | 8 | 0 | 354 | 75 | 4 | 0 | false | true | false | false | false | false | zero |
73,733,963 | Launch new Activity from FrameLayout | <p>I try to study overlay library for kotlin applications <a href="https://github.com/KoderLabs/overlay-service" rel="nofollow noreferrer">https://github.com/KoderLabs/overlay-service</a>. Right now I have a problem related with opening a new activity from a button which is located inside a <code>FrameLayout</code> cla... | I try to study overlay library for kotlin applications https://github.com/KoderLabs/overlay-service . Right now I have a problem related with opening a new activity from a button which is located inside a FrameLayout class. So, the task is push on button on Main Activity -> open new overlay small window and roll up Mai... | android|android-studio|kotlin|overlay | 0 | 2022-09-15T15:40:56.963Z | 2,022 | 9 | 15 | 3 | 27 | 1 | 1,099 | 36 | 4 | 4 | true | false | false | false | false | false | zero |
73,734,091 | How to set AutoCompleteTextView with his first value from the arrayAdapter with inputType of none | <p>So I have this AutoCompleteTextView</p>
<pre><code> <com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Widget.MaterialComponents.TextInputLa... | So I have this AutoCompleteTextView [CODE] This is how it looks visualy I want to achieve that when the client starts the activity it will initialize the value of the AutoCompleteTextView to be one of the values of my list values that I set in the adapter for example, I got these values And I want that when the client ... | java|android|android-studio|autocompletetextview | 0 | 2022-09-15T15:51:08.807Z | 2,022 | 9 | 15 | 3 | 53 | 1 | 435 | 97 | 4 | 1 | true | false | false | false | false | false | zero |
73,734,220 | Transparent Navigation Bar Android 13 (Tiramisu) | <p>Previous approaches to create a transparent navigation bar on Android do not work with SDK 33 (Android 13 - Tiramisu) anymore. At least on tablets where the navigation bar now contains some app shortcuts and a button to open the launcher app menu. Does anyone have a solution, yet?</p>
<p>Tried approaches:</p>
<pre c... | Previous approaches to create a transparent navigation bar on Android do not work with SDK 33 (Android 13 - Tiramisu) anymore. At least on tablets where the navigation bar now contains some app shortcuts and a button to open the launcher app menu. Does anyone have a solution, yet? Tried approaches: [CODE] Adding [CODE]... | android|navigationbar | 0 | 2022-09-15T15:59:52.380Z | 2,022 | 9 | 15 | 3 | 13 | 0 | 527 | 48 | 2 | 2 | true | true | false | false | false | false | zero |
73,734,415 | ROOM Dao ERROR: Not Sure How to handle insert method's return type & Not Sure how to handle delete method's return type | <p>I am giving the classes whatever I created and ,and where the error is showing.
I am unable to understand the error.</p>
<p><strong>DAO</strong></p>
<pre><code> package com.example.grocerylist
import androidx.lifecycle.LiveData
import androidx.room.*
@Dao
interface GroceryDao {
... | I am giving the classes whatever I created and ,and where the error is showing. I am unable to understand the error. DAO [CODE] Entity [CODE] ERRORS My gradle building is failed and the error is denoting "dao" class and the errors: [CODE] What i missed and what ahve to do now Please help. I don't Know where i... | android|android-studio|kotlin|android-room|kotlin-coroutines | 0 | 2022-09-15T16:14:40.507Z | 2,022 | 9 | 16 | 3 | 57 | 1 | 460 | 119 | 5 | 4 | true | false | false | false | false | false | zero |
73,734,470 | How to correctly convert Base64 to Bitmap in android studio? | <p>i have a problem doing a base64/bitmap conversion, the string that you can see there is a real HQVGA image, you can copy the string and paste in this page <a href="https://codebeautify.org/base64-to-image-converter" rel="nofollow noreferrer">https://codebeautify.org/base64-to-image-converter</a> and you will see tha... | i have a problem doing a base64/bitmap conversion, the string that you can see there is a real HQVGA image, you can copy the string and paste in this page https://codebeautify.org/base64-to-image-converter and you will see that is a valid image in Base64, now im trying to convert it to Bitmap in Android Studio (Kotlin)... | android|kotlin|bitmap|base64 | -1 | 2022-09-15T16:19:07.467Z | 2,022 | 9 | 16 | 3 | 34 | 0 | 426 | 60 | 4 | 1 | true | true | false | false | false | true | negative |
73,734,635 | How do I generate protobuf java files resolved for the correct package name? | <p>I am using the protobuf gradle plugin (<a href="https://github.com/google/protobuf-gradle-plugin" rel="nofollow noreferrer">https://github.com/google/protobuf-gradle-plugin</a>) to generate .java files from protbufs made by a different team at my company.</p>
<p>My setup looks like so</p>
<pre><code>protobuf {
g... | I am using the protobuf gradle plugin ( https://github.com/google/protobuf-gradle-plugin ) to generate .java files from protbufs made by a different team at my company. My setup looks like so [CODE] The files generate successfully under the directory structure like so: [CODE] The files are generated with the package na... | java|android|protocol-buffers|protobuf-java | 0 | 2022-09-15T16:31:40.367Z | 2,022 | 9 | 16 | 3 | 25 | 0 | 1,356 | 76 | 4 | 4 | true | true | false | false | false | false | zero |
73,734,670 | Android: What E/Perf stands for? | <p>My android app craches somethimes and only erros I can see at logcat are</p>
<pre><code>E/Perf: Fail to get file list com.company.app_id
E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
E/Perf: Fail to get file list com.company.app_id
E/Perf: getFolderSize()... | My android app craches somethimes and only erros I can see at logcat are [CODE] Does anybody has an idea what this ' Perf ' stands for? | android|kotlin | -1 | 2022-09-15T16:35:39.523Z | 2,022 | 9 | 16 | 3 | 22 | 1 | 135 | 32 | 2 | 1 | true | false | false | false | false | true | negative |
73,734,691 | Android - How to filter child list? | <p>I am working on an Android application in which I would like to filter both parent and child list.</p>
<p>To make it more clear: Let us consider that there are two data classes and one list.</p>
<pre><code>data class User(val id:String, val name: String, val devices: List<Devices>)
data class Device(val device... | I am working on an Android application in which I would like to filter both parent and child list. To make it more clear: Let us consider that there are two data classes and one list. [CODE] The UI hierarchy will be something like below. [CODE] And, I want to show the header and child only if includes the status "... | android|kotlin|filter | 0 | 2022-09-15T16:38:03.100Z | 2,022 | 9 | 16 | 3 | 58 | 4 | 539 | 35 | 3 | 4 | true | false | false | false | false | false | zero |
73,734,918 | Android Compose: Difference between LazyColumn and Column with verticalScroll | <p>I tried to look for reasons to use <code>LazyColumn</code> vs <code>Column</code> with <code>verticalScroll</code>. What is the difference between them? Like why would one be an ideal choice compare to other. They both make screen scrollable, isn't it? Would choosing one over the other one be wrong in any case?</p> | I tried to look for reasons to use LazyColumn vs Column with verticalScroll . What is the difference between them? Like why would one be an ideal choice compare to other. They both make screen scrollable, isn't it? Would choosing one over the other one be wrong in any case? | android|android-jetpack-compose|lazycolumn | 2 | 2022-09-15T16:58:37.687Z | 2,022 | 9 | 16 | 3 | 35 | 2 | 274 | 77 | 3 | 0 | false | false | false | false | false | false | low |
73,734,945 | How to get the "android:drawSelectorOnTop="true"" effect on TextViews? | <p>so I have an app with a few TextViews around a GridView, and all of them are clickable, do different stuff and have different background colors, and I want all of them to have the "clickable" look achieved by <code>android:drawSelectorOnTop="true"</code> in the GridView, but I haven't been able t... | so I have an app with a few TextViews around a GridView, and all of them are clickable, do different stuff and have different background colors, and I want all of them to have the "clickable" look achieved by android:drawSelectorOnTop="true" in the GridView, but I haven't been able to find something... | android|xml|android-studio|android-layout|textview | 0 | 2022-09-15T17:01:13.370Z | 2,022 | 9 | 17 | 3 | 16 | 0 | 553 | 70 | 5 | 1 | true | true | false | false | false | false | zero |
73,734,970 | How to mod obb files? | <p>First of all I don't have any knowledge in modding but I want to mod android game like gangstar Vegas or someother old games with obb...(like swap main character, change the climate etc)how to do it?what are the tools required? is there any other thread regarding this?any ideas appreciated.thanks.</p> | First of all I don't have any knowledge in modding but I want to mod android game like gangstar Vegas or someother old games with obb...(like swap main character, change the climate etc)how to do it?what are the tools required? is there any other thread regarding this?any ideas appreciated.thanks. | android|mobile|mod | -2 | 2022-09-15T17:03:09.810Z | 2,022 | 9 | 17 | 3 | 18 | 0 | 298 | 21 | 3 | 0 | false | true | false | false | false | true | negative |
73,735,006 | I was doing Flutter app development in Android Studio, and I got an error in the Android build. Record how to resolve this issue | <p>【Flutter】e: Class ‘SoundStreamPlugin’ is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult/e: ‘onRequestPermissionsResult’ overrides nothing
The error message is as follows: (Split for better viewing)</p>
<pre><code>e: /Users/UserName/development/flutter/.pub-cache/ho... | 【Flutter】e: Class ‘SoundStreamPlugin’ is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult/e: ‘onRequestPermissionsResult’ overrides nothing The error message is as follows: (Split for better viewing) [CODE] | java|android|flutter|dart | 0 | 2022-09-15T17:05:50.330Z | 2,022 | 9 | 17 | 3 | 23 | 2 | 256 | 128 | 4 | 1 | true | false | false | false | false | false | zero |
73,735,042 | Android Studio Resource Linking Failed for Resource xml Not Found | <p>I getting This Error</p>
<pre><code>Android resource linking failed
C:\Users\Z9F4\AndroidStudioProjects\TodoList\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:29: error: resource xml/text_view_circle (aka com.example.todolist:xml/text_view_circle) not found.
error: failed processing manifest.
... | I getting This Error [CODE] This error come out when i run my simulator This is my text_view_circle.xml [CODE] This is my AndroidManifest.xml SecondPage of AndroidManifest.xml ThirdPage of AndroidManifest.xml Help me to solve it :< thanks! I confuse it for long time :< | android | 0 | 2022-09-15T17:09:41.613Z | 2,022 | 9 | 17 | 3 | 23 | 1 | 269 | 65 | 1 | 2 | true | false | false | false | false | false | zero |
73,735,185 | Cannot resolve symbol 'MavenDeployment' | <p>I've an app and a library that supports the app, everything is fine ( I can compile the app with the library dependency</p> | I've an app and a library that supports the app, everything is fine ( I can compile the app with the library dependency | android|gradle | 0 | 2022-09-15T17:22:50.830Z | 2,022 | 9 | 17 | 3 | 21 | 0 | 119 | 39 | 2 | 0 | false | true | false | false | false | false | zero |
73,735,342 | Why does my BLE python code (using Jupyter and PythonHere) NOT detect any devices? | <p>I am very new in programming, I am using my iPad to write python code. My end goal is to create an android app that utilises BLE (bluetooth low energy) technology to act as a central, in order to get the RSSI values of some stationary beacons (peripherals).</p>
<p>As a programming environment, I am using an iPadOS a... | I am very new in programming, I am using my iPad to write python code. My end goal is to create an android app that utilises BLE (bluetooth low energy) technology to act as a central, in order to get the RSSI values of some stationary beacons (peripherals). As a programming environment, I am using an iPadOS app called ... | python|android|bluetooth-lowenergy|ipados|python-for-android | 0 | 2022-09-15T17:37:36.343Z | 2,022 | 9 | 17 | 3 | 21 | 0 | 1,547 | 82 | 5 | 1 | true | true | false | false | false | false | zero |
73,735,382 | How to cut images in image view | <p>My goal is to take this image and cut in in separated parts.
The problem is that everytime the player clicked a wrong button I will have to go to the next picture to the left.
I don't really know how to crop and to initialize part of the images but I surely know how to declare an image view.
Here is the image <a hre... | My goal is to take this image and cut in in separated parts. The problem is that everytime the player clicked a wrong button I will have to go to the next picture to the left. I don't really know how to crop and to initialize part of the images but I surely know how to declare an image view. Here is the image enter ima... | java|image|android-layout|android-imageview | -1 | 2022-09-15T17:41:25.860Z | 2,022 | 9 | 17 | 3 | 13 | 0 | 367 | 31 | 4 | 0 | false | true | false | false | false | true | negative |
73,735,427 | What's the best multi threading approach to separate tasks on android? | <p>I'm basically working with android sensors that provide new data in milliseconds. So for example on every rotation (gyroscope sensor) that the listener gets im collecting the data in a string (as this is the approach to write on an influxdb) compressing it into a gzip file after 2000 lines. Im also checking about fi... | I'm basically working with android sensors that provide new data in milliseconds. So for example on every rotation (gyroscope sensor) that the listener gets im collecting the data in a string (as this is the approach to write on an influxdb) compressing it into a gzip file after 2000 lines. Im also checking about file ... | android|multithreading|listener|sensors|threadpoolexecutor | 0 | 2022-09-15T17:45:09.873Z | 2,022 | 9 | 17 | 3 | 31 | 0 | 803 | 70 | 5 | 2 | true | true | false | false | false | false | zero |
73,735,473 | Android java cast integration | <p>I'm working with my app that plays some video source (actually with exoplayer) on my phone, very easy. Now I'd like to add cast function to send videos to my tv. I follow some guide (like this <a href="https://developers.google.com/cast/docs/android_sender/integrate" rel="nofollow noreferrer">https://developers.goog... | I'm working with my app that plays some video source (actually with exoplayer) on my phone, very easy. Now I'd like to add cast function to send videos to my tv. I follow some guide (like this https://developers.google.com/cast/docs/android_sender/integrate ) but I'm a bit confused. The guide invites me to register a r... | java|android|casting|sender | 0 | 2022-09-15T17:49:11.037Z | 2,022 | 9 | 17 | 3 | 32 | 0 | 799 | 29 | 4 | 0 | false | true | false | false | false | false | zero |
73,735,488 | /data/user directory is missing | <p>I created a database at <code>/data/user/0/name.vporton.purchases/databases/products.db</code> but in Android Studio folders structure for my virtual device there is no <code>/data/user</code> directory. What is this? Note that my code includes creating all parent directories.</p>
<p>Flutter (with sqlflite) code:</p... | I created a database at /data/user/0/name.vporton.purchases/databases/products.db but in Android Studio folders structure for my virtual device there is no /data/user directory. What is this? Note that my code includes creating all parent directories. Flutter (with sqlflite) code: [CODE] | android|flutter|android-studio | 0 | 2022-09-15T17:50:50.033Z | 2,022 | 9 | 17 | 3 | 19 | 0 | 288 | 31 | 3 | 1 | true | true | false | false | false | false | zero |
73,735,493 | Apple car play and android auto notification problem | <p>i'm testing my app with apple car play and android auto app work perfectly with app car play and android auto but on both platform not working with firebase push notification.</p> | i'm testing my app with apple car play and android auto app work perfectly with app car play and android auto but on both platform not working with firebase push notification. | flutter|carplay|android-automotive | -3 | 2022-09-15T17:50:58.177Z | 2,022 | 9 | 17 | 3 | 17 | 0 | 175 | 52 | 3 | 0 | false | true | false | false | false | true | negative |
73,735,500 | RecyclerView in Android app moves up at the same time with keyboard | <p>I'm developing an android app with Java and, when I click into a TextField, the keyboard moves up and so the RecycleView at the bottom.
I was inspired from a video that I watched and so there might be something I'm not considering (here's the link of the video): <a href="https://www.youtube.com/watch?v=q7NF-2gtfEU&a... | I'm developing an android app with Java and, when I click into a TextField, the keyboard moves up and so the RecycleView at the bottom. I was inspired from a video that I watched and so there might be something I'm not considering (here's the link of the video): https://www.youtube.com/watch?v=q7NF-2gtfEU&ab_channel=Ge... | xml|android-layout|mobile | 0 | 2022-09-15T17:51:27.003Z | 2,022 | 9 | 17 | 3 | 4 | 0 | 416 | 67 | 3 | 1 | true | true | false | false | false | false | zero |
73,735,517 | android Mediaplayer NPE on files in storage but not in system files | <p>I made a simple mediaplayer android app, but I've a bug:</p>
<pre><code>uri = Uri.parse(/data/hw_init/hw_product/media/Pre-loaded/Music/Beijing_Bass.mp3);
MediaPlayer.create(getApplicationContext(), uri).start();
</code></pre>
<p>works fine</p>
<p>but</p>
<pre><code>uri = Uri.parse(/storage/emulated/0/Download/Beij... | I made a simple mediaplayer android app, but I've a bug: [CODE] works fine but [CODE] doesn't work ! (Null Pointer Exception) On my MainActivity this is how I request permission : [CODE] in my manifest: [CODE] can you help me to understand my mistake ? Thanks a lot edit : this is how I got my uri : [CODE] and then this... | java|android|android-studio|nullpointerexception|android-mediaplayer | 0 | 2022-09-15T17:53:58.317Z | 2,022 | 9 | 17 | 3 | 21 | 1 | 544 | 67 | 5 | 6 | true | false | false | false | false | false | zero |
73,735,578 | How to sort list by date and time if the date and time are two separate strings in Flutter? | <p>I am using Flutter and I have a list of objects that I get from json api link, for example the json api looks like this:</p>
<pre><code>"data":[
{
"id":1,
"date":"07\/09\/2022",
"time":"18:30",
"name":&quo... | I am using Flutter and I have a list of objects that I get from json api link, for example the json api looks like this: [CODE] I want to sort it not just by date but also by time. I was able to sort it by date but it is not working with date and time at the same time. Here is the code: [CODE] (data is the name of the ... | android|flutter|dart|mobile | 0 | 2022-09-15T18:01:23.900Z | 2,022 | 9 | 18 | 3 | 51 | 1 | 391 | 91 | 4 | 2 | true | false | false | false | false | false | zero |
73,735,623 | Android device make multiple desktops? | <p>I want to create multiple desktops and run different applications on each desktop, is this possible?</p>
<p>You can think like virtual androids floating on android device how can i do this kind of thing.There are some programs that do this, running virtual android in android. However, since it consumes too much ram,... | I want to create multiple desktops and run different applications on each desktop, is this possible? You can think like virtual androids floating on android device how can i do this kind of thing.There are some programs that do this, running virtual android in android. However, since it consumes too much ram, I have to... | android | -1 | 2022-09-15T18:05:09.630Z | 2,022 | 9 | 18 | 3 | 17 | 0 | 427 | 38 | 1 | 0 | false | true | false | false | false | true | negative |
73,735,633 | How can I place two components in ScrollView, one being a cardView and other a recyclerView | <p>I am new to android and trying to make a profile section of a social media app. The profile section is a fragment and inside this I wanted to have a CardView to hold user's information and then a RecyclerView to show user's posts. I have tried implementing this using a ScrollView and putting insinde the cardView and... | I am new to android and trying to make a profile section of a social media app. The profile section is a fragment and inside this I wanted to have a CardView to hold user's information and then a RecyclerView to show user's posts. I have tried implementing this using a ScrollView and putting insinde the cardView and Re... | java|android|android-studio|android-recyclerview | 0 | 2022-09-15T18:05:58.033Z | 2,022 | 9 | 18 | 3 | 15 | 0 | 610 | 91 | 4 | 1 | true | true | false | false | false | false | zero |
73,735,651 | I'm trying to make a Internet Audio Player for my Xperia SP but I want to add my own user-agent | <p>Hello stackoverslow users!
I'm trying to make a Internet Audio Player of my radio Musicas Por Lukas and I did the code but when I try to play the radio in my Xperia SP, it cannot play the audio and I tried to check the code error but I only get warnings. I also want to add my user-agent.
Also when you are done fixin... | Hello stackoverslow users! I'm trying to make a Internet Audio Player of my radio Musicas Por Lukas and I did the code but when I try to play the radio in my Xperia SP, it cannot play the audio and I tried to check the code error but I only get warnings. I also want to add my user-agent. Also when you are done fixing t... | java|android|script|user-agent|radio | 0 | 2022-09-15T18:07:26.993Z | 2,022 | 9 | 18 | 3 | 12 | 0 | 624 | 95 | 5 | 2 | true | true | false | false | false | false | zero |
73,735,839 | Can't open my Expo project on an Android Studio simulator | <p>I have an Expo project that runs perfectly on XCodes IPhone simulator but when I try to open it on an Android Simulator it shows an error stating:</p>
<blockquote>
<p>TypeError: null is not an object (evaluating '(_NativeModules$UMReac = _reactNative.NativeModules.UMReactNativeEventEmitter).addProxiedListener')</p>
... | I have an Expo project that runs perfectly on XCodes IPhone simulator but when I try to open it on an Android Simulator it shows an error stating: TypeError: null is not an object (evaluating '(_NativeModules$UMReac = _reactNative.NativeModules.UMReactNativeEventEmitter).addProxiedListener') Before having this error me... | android|react-native|android-studio|expo|node-modules | 0 | 2022-09-15T18:26:41.787Z | 2,022 | 9 | 18 | 3 | 15 | 0 | 572 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
73,735,957 | Save and update radiobutton response correctly java | <p>I am trying to save the radio button user response in Firestore under the UID. I have two choices <code>yes</code> and <code>no</code> to the question. It only works one time that the user selects a choice with a button pressed but if the user wants to change the answer it does not update (replace the old response).... | I am trying to save the radio button user response in Firestore under the UID. I have two choices yes and no to the question. It only works one time that the user selects a choice with a button pressed but if the user wants to change the answer it does not update (replace the old response). I am wondering if anyone can... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-09-15T18:37:12.373Z | 2,022 | 9 | 18 | 3 | 91 | 2 | 516 | 51 | 5 | 3 | true | false | false | false | false | false | zero |
73,736,004 | sun.misc.BASE64Encoder error keeps appearing when trying to export apk | <p><a href="https://i.stack.imgur.com/FJFkQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FJFkQ.png" alt="enter image description here" /></a></p>
<p>i've searched everywhere and i couldnt fix this problem
can you guys help me pls thanks.</p> | i've searched everywhere and i couldnt fix this problem can you guys help me pls thanks. | android|eclipse | -1 | 2022-09-15T18:42:23.500Z | 2,022 | 9 | 18 | 3 | 18 | 0 | 88 | 70 | 2 | 0 | false | true | false | false | false | true | negative |
73,736,051 | how to Zip 2 lists with different sizes and display all elements inside lazy column? | <p>The current problem</p>
<pre><code>val todayRoute = selectRouteViewModel.TodayRoute.collectAsState().value. // 6 elements
val collected = listOf(CompletedRoute(id = 31, name = "Oxfam", completed = 1, arrived = 1)) // 1 element
val route = todayRoute.selectRoute.zip(collected)
val ids = route.first.id + &... | The current problem [CODE] todayRoute has 6 elements, collected has 1 element I want to show all elements in todayRoute regardless of list size | kotlin|android-jetpack-compose | 1 | 2022-09-15T18:46:31.690Z | 2,022 | 9 | 18 | 3 | 38 | 1 | 143 | 84 | 2 | 1 | true | false | false | false | false | false | low |
73,736,136 | How to use custom list view with bottom navigation bar in android java? | <p>Unable to use bottom navigation in this code on full page on list view is visible</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools&quo... | Unable to use bottom navigation in this code on full page on list view is visible [CODE] Unable to use bottom navigation in this code, On full page only list view is visible. | java|android|android-studio|native | 1 | 2022-09-15T18:55:59.297Z | 2,022 | 9 | 18 | 3 | 27 | 1 | 174 | 71 | 4 | 1 | true | false | false | false | false | false | low |
73,736,232 | How to move(directory to directory) images or audios above Android Q without using ManageExternalStorage? | <p>if (!file.delete()) {</p>
<p>Uri fileuri = getImageContentUri(Pager2Activity.this, file);</p>
<pre><code> if (fileuri != null) {
DeleteXI.getInstance().with(Pager2Activity.this).delete(launcher, fileuri, pager2Adapter);
myFile = file;
moveImage(fileuri);
... | if (!file.delete()) { Uri fileuri = getImageContentUri(Pager2Activity.this, file); [CODE] public IntentSender moveFileDirect() { [CODE] @Override protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { super.onActivityResult(requestCode, resultCode, data); [CODE] public static Uri getI... | android|image|move|scoped-storage|movefile | 0 | 2022-09-15T19:06:04.220Z | 2,022 | 9 | 19 | 3 | 17 | 0 | 376 | 105 | 5 | 4 | true | true | false | false | false | false | zero |
73,736,269 | Android Studio, JSON Object too long | <p>I followed a tutorial for an JSON Parser and tried to use it for another request with the same api. But now it always fails when trying to parse it to a JSON Object.</p>
<p>This is my JSON parser:</p>
<pre><code>public class GetProvider extends AsyncTask<String, String, String> {
protected String doInBackg... | I followed a tutorial for an JSON Parser and tried to use it for another request with the same api. But now it always fails when trying to parse it to a JSON Object. This is my JSON parser: [CODE] When running it fails with: W/System: A resource failed to call end. It doesn't even show the whole value. how can I get th... | java|android|json|parsing | 0 | 2022-09-15T19:10:21.970Z | 2,022 | 9 | 19 | 3 | 25 | 0 | 343 | 36 | 4 | 1 | true | true | false | false | false | false | zero |
73,736,271 | Android Room where is DB version stored? | <p>Refering to: <a href="https://developer.android.com/training/data-storage/room/prepopulate#migrations" rel="nofollow noreferrer">https://developer.android.com/training/data-storage/room/prepopulate#migrations</a></p>
<p>I want Room to remove my version 2 database and install a brand new version 3 database when updat... | Refering to: https://developer.android.com/training/data-storage/room/prepopulate#migrations I want Room to remove my version 2 database and install a brand new version 3 database when updating from version 2 to version 3. It says that for fallback migration to work you need "a prepackaged database file that is on... | android|database|migration|android-room | 0 | 2022-09-15T19:10:31.113Z | 2,022 | 9 | 19 | 3 | 25 | 1 | 765 | 40 | 4 | 0 | false | false | false | false | false | false | zero |
73,736,310 | Minimum supported Gradle version is 7.2. Current version is 7.1 | <p>I'm developing a flutter plugin for anroid and when I try to compile my build.gradle in android studio but when it compiles it throws my the
following error:</p>
<p><strong>Minimum supported Gradle version is 7.2. Current version is 7.1.
Please fix the project's Gradle settings.
Gradle Settings.</strong></p>
<p>When... | I'm developing a flutter plugin for anroid and when I try to compile my build.gradle in android studio but when it compiles it throws my the following error: Minimum supported Gradle version is 7.2. Current version is 7.1. Please fix the project's Gradle settings. Gradle Settings. When I update the version in my build.... | android|gradle | 0 | 2022-09-15T19:15:08.013Z | 2,022 | 9 | 19 | 3 | 36 | 0 | 624 | 63 | 2 | 1 | true | true | false | false | false | false | zero |
73,736,455 | Saving state on navigation | <p>i have 2 fragments, Fragment A which has 2 Text view one text view holds data the sent as an argument from Fragment B, in fragment B i have 2 radio Buttons, data will be sent depends on the selected radio button either Income or expense, then the argument will be set in Income text View, i have a problem here when t... | i have 2 fragments, Fragment A which has 2 Text view one text view holds data the sent as an argument from Fragment B, in fragment B i have 2 radio Buttons, data will be sent depends on the selected radio button either Income or expense, then the argument will be set in Income text View, i have a problem here when the ... | android|android-studio|kotlin|android-layout|navigation | 0 | 2022-09-15T19:29:30.460Z | 2,022 | 9 | 19 | 3 | 18 | 0 | 629 | 26 | 5 | 2 | true | true | false | false | false | false | zero |
73,736,478 | how to get a single data of a room database | <p>I have multiple Acitivitys and in one of them I want to get a single column (poiLinks) of a single row (id -> Primary Key) of my room database. Pulling a whole row with another activity works, but with the new command i get a "null object reference" error and I cant figure out why. I want to pass an int... | I have multiple Acitivitys and in one of them I want to get a single column (poiLinks) of a single row (id -> Primary Key) of my room database. Pulling a whole row with another activity works, but with the new command i get a "null object reference" error and I cant figure out why. I want to pass an int to th... | java|compiler-errors|android-room | 0 | 2022-09-15T19:32:15.010Z | 2,022 | 9 | 19 | 3 | 29 | 1 | 689 | 43 | 3 | 5 | true | false | false | false | false | false | zero |
73,736,674 | Android - Saving images to gallery in loop Mixes up the order | <p>I'm saving some images to gallery in a loop using the code below. However, the images do not keep their order when I view them in the Photos app. The order is all mixed up. I have added the meta data MediaStore.Images.Media.DATE_ADDED and .DATE_TAKEN as per some of the answers on SO but that does not help.</p>
<p>E.... | I'm saving some images to gallery in a loop using the code below. However, the images do not keep their order when I view them in the Photos app. The order is all mixed up. I have added the meta data MediaStore.Images.Media.DATE_ADDED and .DATE_TAKEN as per some of the answers on SO but that does not help. E.g. if they... | java|android|image|save|gallery | 1 | 2022-09-15T19:51:36.913Z | 2,022 | 9 | 19 | 3 | 35 | 0 | 1,047 | 61 | 5 | 1 | true | true | false | false | false | false | low |
73,736,715 | Why I get an error when onClick function is activated? | <p>I created Game Over window which has Restart and Exit buttons.</p>
<pre><code> <ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/exit"
android:onClick="exit&qu... | I created Game Over window which has Restart and Exit buttons. [CODE] [CODE] onClick functions (exit() and restart()) are described in GameOver class [CODE] Problem Exit function isn't responsive and Restart function yield this error: [CODE] What I understand from this error is that something went wrong with restart me... | java|android|android-studio|onclick|breakout | -1 | 2022-09-15T19:55:44.203Z | 2,022 | 9 | 19 | 3 | 27 | 1 | 356 | 54 | 5 | 5 | true | false | false | false | false | true | negative |
73,736,719 | getloadermanager.initLoader isnot accepting "this" parameter | <p>I've tried to use Loader to fetch the data from the database. I've tried getsupportloaderManager and all the other stuff still it's showing error.
In <strong>getloaderManager().initLoader(PET_LOADER, null, this);</strong>
Last parameter i.e <strong>this</strong> isnot getting accepted.</p>
<p>The code is:</p>
<pre><... | I've tried to use Loader to fetch the data from the database. I've tried getsupportloaderManager and all the other stuff still it's showing error. In getloaderManager().initLoader(PET_LOADER, null, this); Last parameter i.e this isnot getting accepted. The code is: [CODE] } and the problem i'm getting is: [CODE] How to... | java|android|loader | 0 | 2022-09-15T19:55:59.513Z | 2,022 | 9 | 19 | 3 | 10 | 0 | 338 | 60 | 3 | 2 | true | true | false | false | false | false | zero |
73,736,828 | Get value from deeplink parameter rather than dynamic link in android java | <p>I made an application in which users can send links to their friends. With the link, I added some parameters, So when the user clicks on the link the page with the given parameter will open.</p>
<p>The deep link user sends to his friends is:</p>
<pre><code> Intent sharingIntent = new Intent(android.content.In... | I made an application in which users can send links to their friends. With the link, I added some parameters, So when the user clicks on the link the page with the given parameter will open. The deep link user sends to his friends is: [CODE] While the dynamic link in firebase is: https://www.myapp.com/?mood=Happy&botto... | java|android|firebase|deep-linking|android-deep-link | 0 | 2022-09-15T20:04:37.977Z | 2,022 | 9 | 20 | 3 | 17 | 0 | 676 | 74 | 5 | 2 | true | true | false | false | false | false | zero |
73,736,850 | How to parse RetroFit 2 response by specific key | <p>I'm trying to parse the ResponseBody json object. I then need to create a WarehouseList array of Warehouse objects. Here is my response json.</p>
<pre><code>{
"GetUserWarehouseListResult": [
{
"Message": null,
"WarehouseId": 31232,
"W... | I'm trying to parse the ResponseBody json object. I then need to create a WarehouseList array of Warehouse objects. Here is my response json. [CODE] In objective-c, I can do this with below: [CODE] However, I need help doing this in Kotlin with RetroFit2 Here is my current code: [CODE] | android|json|kotlin|retrofit2 | 0 | 2022-09-15T20:06:53.523Z | 2,022 | 9 | 20 | 3 | 35 | 2 | 286 | 48 | 4 | 3 | true | false | false | false | false | false | zero |
73,736,872 | ANDROID-KOTLIN App crashing before starting | <p>I am trying to make the tutorials from a Jetpack Compose book but the app crashes when I start it:</p>
<p>This is the error code</p>
<blockquote>
<p>2022-09-15 22:03:05.983 14360-14360/com.raywenderlich.android.jetreddit E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.raywenderlich.android.jetreddit, PID: 14360... | I am trying to make the tutorials from a Jetpack Compose book but the app crashes when I start it: This is the error code 2022-09-15 22:03:05.983 14360-14360/com.raywenderlich.android.jetreddit E/AndroidRuntime: FATAL EXCEPTION: main Process: com.raywenderlich.android.jetreddit, PID: 14360 java.lang.IllegalArgumentExce... | android|kotlin|android-jetpack-compose|android-constraintlayout | -1 | 2022-09-15T20:09:04.877Z | 2,022 | 9 | 20 | 3 | 32 | 1 | 1,107 | 43 | 4 | 1 | true | false | false | false | false | true | negative |
73,736,880 | Android / IOS keyboard pop up time | <p>i was just wondering how long it took for the Android and IOS keyboards to fully extend, preferably in seconds. Perhaps a spreadsheet with the timing would be helpful for different android versions and I assume all IOS versions are unanimous I have looked through <a href="https://developer.android.com/reference/andr... | i was just wondering how long it took for the Android and IOS keyboards to fully extend, preferably in seconds. Perhaps a spreadsheet with the timing would be helpful for different android versions and I assume all IOS versions are unanimous I have looked through Android Keyboard Documentation and could not seem to fin... | android|ios|android-layout | -2 | 2022-09-15T20:09:55.437Z | 2,022 | 9 | 20 | 3 | 15 | 0 | 401 | 34 | 3 | 0 | false | true | false | false | false | true | negative |
73,736,900 | Conversion of a dot to comma during the String.format() operation in Kotlin | <p>I made a search in a list of items coming from the server by a few parameters of different types. An extension to convert the field "amount" of type Long to Double and divide the summ to display portion after dot was created</p>
<pre><code>fun Long.amount(): Double {
return this.toDouble().div(100)
</code... | I made a search in a list of items coming from the server by a few parameters of different types. An extension to convert the field "amount" of type Long to Double and divide the summ to display portion after dot was created [CODE] Field from the server: [CODE] Converted value to place into search array: [COD... | java|android|kotlin | -1 | 2022-09-15T20:12:05.450Z | 2,022 | 9 | 20 | 3 | 25 | 0 | 1,241 | 75 | 3 | 5 | true | true | false | false | false | true | negative |
73,736,926 | POST_NOTIFICATIONS permission dialog not showing | <p>I'm facing unwelcome behavior when asking new <code>POST_NOTIFICATIONS</code> permission on some particular device owned by remote tester - Pixel 4a (Android 13). Sadly don't have logs and "cable access". Freshly installed app - still targetting API30, but also tried with quick-try with target set to 33 j... | I'm facing unwelcome behavior when asking new POST_NOTIFICATIONS permission on some particular device owned by remote tester - Pixel 4a (Android 13). Sadly don't have logs and "cable access". Freshly installed app - still targetting API30, but also tried with quick-try with target set to 33 just for test - sh... | android|android-notifications|android-permissions|android-13 | 0 | 2022-09-15T20:13:55.930Z | 2,022 | 9 | 20 | 3 | 33 | 1 | 1,434 | 48 | 4 | 1 | true | false | false | false | false | false | zero |
73,736,998 | Android 13 notification content is empty after interacting with the notification buttons | <p>When I run my app on Android 13, the notification content becomes empty after interacting with the buttons. I have implemented the change related to the permission for Android 13 devices. Basically I'm able to see only the app logo and an empty notification, for all the buttons I have PendingIntents which are sent w... | When I run my app on Android 13, the notification content becomes empty after interacting with the buttons. I have implemented the change related to the permission for Android 13 devices. Basically I'm able to see only the app logo and an empty notification, for all the buttons I have PendingIntents which are sent when... | java|android|kotlin|mobile | 0 | 2022-09-15T20:21:04.950Z | 2,022 | 9 | 20 | 3 | 20 | 0 | 436 | 88 | 4 | 0 | false | true | false | false | false | false | zero |
73,737,007 | edittext doesn't allow dots for datetime | <p>I have an edittext for date and time. The input should be in the format "dd.MM.yyyy mm:hh". However i can't make it accept both . and :
I tried:</p>
<pre><code>editText.setInputType(InputType.TYPE_CLASS_DATETIME);
editText.setInputType(InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE)... | I have an edittext for date and time. The input should be in the format "dd.MM.yyyy mm:hh". However i can't make it accept both . and : I tried: [CODE] but none of them work. How do i tell it to accept this format? | android | 0 | 2022-09-15T20:22:07.567Z | 2,022 | 9 | 20 | 3 | 20 | 0 | 224 | 40 | 1 | 1 | true | true | false | false | false | false | zero |
73,737,019 | Problem with Android wireless debugging - "unexpected error during Wi-Fi pairing initialization" - no other info | <p>I am having trouble enabling wireless debugging in Android Studio. In fact when I select "Pair Devices using Wi-Fi" I get an almost instant error with the very general (useless) message "unexpected error during Wi-Fi pairing initialization". I was very surprised being that <strong>I was unable ... | I am having trouble enabling wireless debugging in Android Studio. In fact when I select "Pair Devices using Wi-Fi" I get an almost instant error with the very general (useless) message "unexpected error during Wi-Fi pairing initialization". I was very surprised being that I was unable to find any p... | android|android-studio|adb | 0 | 2022-09-15T20:24:03.677Z | 2,022 | 9 | 20 | 3 | 56 | 0 | 1,876 | 112 | 3 | 0 | false | true | false | false | false | false | zero |
73,737,208 | AdvertisingIdClient isLimitAdTrackingEnabled true but advertisement id is returned just fine | <p>If anyone knows why opting out of ads personalization has no effect on what is returned by AdvertisingIdClient, namely <code>AdvertisingIdClient.getAdvertisingIdInfo(context).getId()</code> - assuming target sdk 31 is in use and device is also android 12 (but emulator) - please share your knowledge.</p>
<p>I can cle... | If anyone knows why opting out of ads personalization has no effect on what is returned by AdvertisingIdClient, namely AdvertisingIdClient.getAdvertisingIdInfo(context).getId() - assuming target sdk 31 is in use and device is also android 12 (but emulator) - please share your knowledge. I can clearly see the value of A... | android|google-advertising-id | 0 | 2022-09-15T20:42:02.587Z | 2,022 | 9 | 20 | 3 | 13 | 0 | 560 | 92 | 2 | 0 | false | true | false | false | false | false | zero |
73,737,240 | Error: The method 'FlatButton' isn't defined for the class 'PlatformButton' | <p>im getting these errors and dont know how to fix them.</p>
<pre><code>../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart:269:14: Error: The method 'FlatButton' isn't defined for the class 'PlatformButton'.
- 'PlatformButton' is from 'package:flutter_platf... | im getting these errors and dont know how to fix them. [CODE] | ios|flutter|android-studio|dart | 1 | 2022-09-15T20:45:10.400Z | 2,022 | 9 | 20 | 3 | 500 | 1 | 61 | 75 | 4 | 1 | true | false | false | false | false | false | low |
73,737,278 | How to resolve Android get-app-links Returns State 1024? | <p>I can't get deep links to work on Android 13, I've followed every tutorial out there and can't get the app to simply start after entering the website.</p>
<p>I used the command in the android studio terminal:</p>
<pre><code>adb shell pm get-app-links com.where44444.cleanbook
</code></pre>
<p>and it returns</p>
<pre>... | I can't get deep links to work on Android 13, I've followed every tutorial out there and can't get the app to simply start after entering the website. I used the command in the android studio terminal: [CODE] and it returns [CODE] The documentation says Error code of 1024 or greater Custom error code that's specific to... | java|android|android-deep-link | 2 | 2022-09-15T20:49:11.260Z | 2,022 | 9 | 20 | 3 | 10 | 0 | 549 | 56 | 3 | 2 | true | true | false | false | false | false | low |
73,737,352 | java.lang.NullPointerException on converter app | <p>I'm currently creating a live currency converter app with API calls, but whenever I click the Button to convert the currency, my app crashes and I get this line:</p>
<pre><code>java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.gson.JsonObject com.google.gson.JsonObject.getAsJsonObject(java... | I'm currently creating a live currency converter app with API calls, but whenever I click the Button to convert the currency, my app crashes and I get this line: [CODE] Here's some of the code I wrote: [CODE] So apparently JsonObject rates = res.getAsJsonObject("rates"); is the line that's causing the problem... | java|android|android-studio|nullpointerexception|converters | 0 | 2022-09-15T20:56:34.303Z | 2,022 | 9 | 20 | 3 | 41 | 1 | 399 | 47 | 5 | 2 | true | false | false | false | false | false | zero |
73,737,444 | App to listen to the phone's volume buttons' events | <p>I need to create an app to listen to the phone's volume buttons' events.
As far as I could find and test, a simple page with javascript doesn't trigger those events, using something like this:
<code>window.addEventListener('keydown', keyDownHandler)</code>
Does making it a PWA change anything?
The requirement is onl... | I need to create an app to listen to the phone's volume buttons' events. As far as I could find and test, a simple page with javascript doesn't trigger those events, using something like this: window.addEventListener('keydown', keyDownHandler) Does making it a PWA change anything? The requirement is only for Android. T... | javascript|android|progressive-web-apps | 0 | 2022-09-15T21:06:30.410Z | 2,022 | 9 | 21 | 3 | 37 | 1 | 472 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
73,737,447 | Does Kotlin Coroutines replace AsyncTask? | <p>Is <code>AsyncTask</code> still needed?</p>
<p>In Android with Java, we used to implement an <code>AsyncTask</code> and <code>AsyncTaskLoader</code>, but recently I've been beginning to learn Kotlin and I've noticed that things like that are done by Kotlin Coroutines.</p> | Is AsyncTask still needed? In Android with Java, we used to implement an AsyncTask and AsyncTaskLoader , but recently I've been beginning to learn Kotlin and I've noticed that things like that are done by Kotlin Coroutines. | android|kotlin|android-asynctask|kotlin-coroutines | 3 | 2022-09-15T21:07:32.563Z | 2,022 | 9 | 21 | 3 | 97 | 2 | 223 | 41 | 4 | 0 | false | false | false | false | false | false | low |
73,737,568 | How to deal with "Duplicate class error" correctly | <p>In my build.gradle (app) I have added this dependency: <code>implementation 'androidx.preference:preference:1.2.0' </code></p>
<p>When I compile and build my project with the previous dependency these errors are shown:</p>
<pre><code>> A failure occurred while executing com.android.build.gradle.internal.tasks.Che... | In my build.gradle (app) I have added this dependency: implementation 'androidx.preference:preference:1.2.0' When I compile and build my project with the previous dependency these errors are shown: [CODE] I have been searching for information to solve it and adding these both dependencies has solved it but I think that... | java|android|build.gradle|androidx | 0 | 2022-09-15T21:22:00.110Z | 2,022 | 9 | 21 | 3 | 55 | 0 | 479 | 50 | 4 | 2 | true | true | false | false | false | false | zero |
73,737,649 | rawpy and kivy/buildozer -> rawpy.so is for EM_X86_64 instead of EM_AARCH64 | <p>I try to create a android app with python/kivy. The app is about editing raw files.
My main problem is now, that buildozer compiles the rawpy package for the wrong architecture.</p>
<p>If I open the app on my android phone it crashes. When I took a look into adb log,I got the hint, that rawpy is for EM_X86_64 instea... | I try to create a android app with python/kivy. The app is about editing raw files. My main problem is now, that buildozer compiles the rawpy package for the wrong architecture. If I open the app on my android phone it crashes. When I took a look into adb log,I got the hint, that rawpy is for EM_X86_64 instead of EM_AA... | python|android|kivy|buildozer|rawpy | -1 | 2022-09-15T21:33:20.797Z | 2,022 | 9 | 21 | 3 | 35 | 0 | 1,190 | 75 | 5 | 1 | true | true | false | false | false | true | negative |
73,737,742 | java.lang.RuntimeException: Unable to start activity ComponentInfo{....MapActivity}: java.lang.IllegalStateException: Task is not yet complete | <p>I'm making a simple app with 2 <code>Activities</code>. One is just a <code>Textview</code>, either with a <code>placeholder</code> or user-input coordinates(from map), and a button to move to the next Activity with <code>registerForActivityResult</code>. The next activity is a map with ability to place a mark and p... | I'm making a simple app with 2 Activities . One is just a Textview , either with a placeholder or user-input coordinates(from map), and a button to move to the next Activity with registerForActivityResult . The next activity is a map with ability to place a mark and press a button to submit the input. When this happens... | android|kotlin|android-activity | 1 | 2022-09-15T21:46:22.820Z | 2,022 | 9 | 21 | 3 | 37 | 0 | 573 | 142 | 3 | 3 | true | true | false | false | false | false | low |
73,737,813 | Publishing maven repository Failed by Received status code 403 from server: Request blocked by Privoxy | <p>When I want to publish my library module to private gitlab with access-token in Android Studio gradle build failed:</p>
<blockquote>
<p>Execution failed for task ':project:publishReleasePublicationToMavenRepository'.
Failed to publish publication 'release' to repository 'maven'
Could not PUT 'https://git.mygitlab.co... | When I want to publish my library module to private gitlab with access-token in Android Studio gradle build failed: Execution failed for task ':project:publishReleasePublicationToMavenRepository'. Failed to publish publication 'release' to repository 'maven' Could not PUT 'https://git.mygitlab.co/api/v4/projects/projec... | android|android-studio|maven|gradle|publish | 0 | 2022-09-15T21:52:45.617Z | 2,022 | 9 | 21 | 3 | 18 | 0 | 481 | 102 | 5 | 1 | true | true | false | false | false | false | zero |
73,737,889 | How to navigation page with action menu bar Android studio? | <p>I have action menu bar android studio, i want tried to move page with icon on action bar, how do this? once search on google it's are using MenuItem, i'm expected menuitem it's a dropdown list on action bar, but i just using icon.
In a sample code below, i got wrong with my code? tell me if u have see, thanks.</p>
<... | I have action menu bar android studio, i want tried to move page with icon on action bar, how do this? once search on google it's are using MenuItem, i'm expected menuitem it's a dropdown list on action bar, but i just using icon. In a sample code below, i got wrong with my code? tell me if u have see, thanks. code : [... | android|kotlin | -1 | 2022-09-15T22:04:22.410Z | 2,022 | 9 | 22 | 3 | 20 | 1 | 325 | 59 | 2 | 1 | true | false | false | false | false | true | negative |
73,737,987 | Google Fit with Bluetooth | <p>I am building a fitness product with the ESP32 microcontroller and want to interface with a phone via BLE to track data in the Google Fit app. I do NOT want to make my own mobile app and instead, use Google Fit to track and display the data. Is this possible? I read that fitness devices with BLE GATT are automatical... | I am building a fitness product with the ESP32 microcontroller and want to interface with a phone via BLE to track data in the Google Fit app. I do NOT want to make my own mobile app and instead, use Google Fit to track and display the data. Is this possible? I read that fitness devices with BLE GATT are automatically ... | android|google-fit | 0 | 2022-09-15T22:20:01.873Z | 2,022 | 9 | 22 | 3 | 16 | 0 | 397 | 25 | 2 | 0 | false | true | false | false | false | false | zero |
73,738,067 | load file_a.html with internet, load file_b.html if there is no Internet | <p>I am making an App in Android Studio. I am using webview. When someone opens the app, I want</p>
<p>load <strong>file_a.html</strong> with internet from assets folder</p>
<p>load <strong>file_b.html</strong> if there is no Internet from assets folder</p>
<p>How to do this? I have written this code in MainActivity.ja... | I am making an App in Android Studio. I am using webview. When someone opens the app, I want load file_a.html with internet from assets folder load file_b.html if there is no Internet from assets folder How to do this? I have written this code in MainActivity.java Where is the mistake? Even Back button is not functioni... | android-studio | 0 | 2022-09-15T22:33:15.527Z | 2,022 | 9 | 22 | 3 | 14 | 0 | 339 | 72 | 1 | 1 | true | true | false | false | false | false | zero |
73,738,225 | Flutter: How to define which debug keystore an Android app should use? | <p>I'm writing a Flutter Android app using Firebase auth.</p>
<p>I'm having a <code>sign_in_failed</code> error. I know it's because I need to add the SHA fingerprints in the Firebase console.</p>
<p>I was able to generate the keystore for debugging. But I have no idea how to associate this debug keystore with the Andr... | I'm writing a Flutter Android app using Firebase auth. I'm having a sign_in_failed error. I know it's because I need to add the SHA fingerprints in the Firebase console. I was able to generate the keystore for debugging. But I have no idea how to associate this debug keystore with the Android project. How to define whi... | android|flutter|firebase|keystore | 0 | 2022-09-15T23:00:59.213Z | 2,022 | 9 | 23 | 3 | 35 | 1 | 364 | 70 | 4 | 0 | false | false | false | false | false | false | zero |
73,738,316 | Combine data from Kotlin Flow/LiveData | <p>I've got a flow from my repository that looks something like this:</p>
<pre><code>val userListFlow: Flow<List<User>> = channelFlow<List<User>> {
source.setOnUserUpdatedListener { userList ->
trySend(userList)
}
awaitClose {
logger.info("w... | I've got a flow from my repository that looks something like this: [CODE] For each of these users I can call the suspend function to get a thumbnail for the user. I don't want to wait for the thumbnail before showing the list of users though, I'd rather it show the users and then when the thumbnail is fetched, update t... | android|kotlin|kotlin-coroutines|android-mvvm|kotlin-flow | 0 | 2022-09-15T23:22:24.197Z | 2,022 | 9 | 23 | 3 | 131 | 1 | 1,165 | 38 | 5 | 3 | true | false | false | false | false | false | zero |
73,738,427 | how to run xml auto suggestion | <p>At Android Studio the XML layout when you type for example <TextView
you expect that the auto-suggestion doesn't give me "match_parent" or "wrap_content" choice on the width and height attribute
like the photo :
<a href="https://i.stack.imgur.com/gLd6Q.jpg" rel="nofollow noreferrer">image 1</a... | At Android Studio the XML layout when you type for example <TextView you expect that the auto-suggestion doesn't give me "match_parent" or "wrap_content" choice on the width and height attribute like the photo : image 1 and also for the ID attribute I don't get any suggestion and can only write it f... | android|xml|autosuggest | 1 | 2022-09-15T23:44:56.087Z | 2,022 | 9 | 23 | 3 | 24 | 1 | 888 | 30 | 3 | 5 | true | false | false | false | false | false | low |
73,738,608 | Why all RadioButtons added programmatically inside RadioGroup can be selected | <p>I added my <code>RadioButtons</code> programmatically inside <code>RadioGroup</code> as below:</p>
<p>My main layout</p>
<pre><code><RadioGroup
android:id="@+id/rgAddresses"
android:layout_width="match_parent"
android:layout_height="wrap_content"
andro... | I added my RadioButtons programmatically inside RadioGroup as below: My main layout [CODE] And below is the code I used to add radio buttons inside the RadioGroup dynamically: [CODE] I expected to be able to choose/select only one radio button, but it turned out I can select all the radio buttons inside the RadioGroup ... | android|radio-group | -1 | 2022-09-16T00:21:36.177Z | 2,022 | 9 | 0 | 4 | 17 | 0 | 428 | 77 | 2 | 2 | true | true | false | false | false | true | negative |
73,738,674 | Android Studio kotlin file name is not recognized | <p><a href="https://i.stack.imgur.com/hpSFh.jpg" rel="nofollow noreferrer">The file structure and class name</a></p>
<p>So I have this file structure (checkout the link), as you can see, the Doctor is recognized normally, there is only one open class in the Doctor.kt class which is the Doctor class, and the HospitalDoc... | The file structure and class name So I have this file structure (checkout the link), as you can see, the Doctor is recognized normally, there is only one open class in the Doctor.kt class which is the Doctor class, and the HospitalDoctor.kt file also only contains HospitalDoctor class that extends Doctor, but it is rec... | android-studio|kotlin | 0 | 2022-09-16T00:34:06.340Z | 2,022 | 9 | 0 | 4 | 33 | 0 | 887 | 49 | 2 | 0 | false | true | false | false | false | false | zero |
73,738,682 | Activity only show, don't work with button | <p>internal class PingTool : Fragment() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
val view: View = inflater.inflate(R.layout.activity_ping, container, false)
return view
}
}</p> | internal class PingTool : Fragment() { override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View? { val view: View = inflater.inflate(R.layout.activity_ping, container, false) return view } } | java|android|kotlin | -3 | 2022-09-16T00:37:04.300Z | 2,022 | 9 | 0 | 4 | 24 | 0 | 245 | 42 | 3 | 0 | false | true | false | false | false | true | negative |
73,738,883 | Android resource linking failed, Android:platformBuildVersionCode not found | <p>Gives errors:
Android resource linking failed
D:\AndroidStudioProjects\AndroidStudioProjects\NewProject\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:2: error: attribute android:platformBuildVersionCode not found.
D:\AndroidStudioProjects\AndroidStudioProjects\NewProject\app\build\intermediate... | Gives errors: Android resource linking failed D:\AndroidStudioProjects\AndroidStudioProjects\NewProject\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:2: error: attribute android:platformBuildVersionCode not found. D:\AndroidStudioProjects\AndroidStudioProjects\NewProject\app\build\intermediates\p... | android|android-studio|android-webview|android-manifest | 0 | 2022-09-16T01:16:27.700Z | 2,022 | 9 | 1 | 4 | 17 | 0 | 543 | 75 | 4 | 1 | true | true | false | false | false | false | zero |
73,738,930 | Find Element AppiumBy.ID "com.google.android.calculator:id/formula" - element could not be located | <p>I want to get the calculator result by following code but it throw NoSuchElementError.
I have tested to find by XPath. It is same error.</p>
<p>driver.find_element(AppiumBy.ID, "com.google.android.calculator:id/formula")</p>
<p>Code:</p>
<pre><code>from appium import webdriver
from appium.webdriver.common... | I want to get the calculator result by following code but it throw NoSuchElementError. I have tested to find by XPath. It is same error. driver.find_element(AppiumBy.ID, "com.google.android.calculator:id/formula") Code: [CODE] Thanks Wilson | automated-tests|appium|appium-android | 0 | 2022-09-16T01:27:58.867Z | 2,022 | 9 | 1 | 4 | 16 | 1 | 250 | 98 | 3 | 1 | true | false | false | false | false | false | zero |
73,739,006 | Change associated EditText with keyboard | <p>I have four edit text with input type <code>number</code> on the same screen, now problem is that when I switch from one EditText to the other the default selection of keyboard resets to <code>1</code>, and it's reflecting that the new keyboard is shown. Is there any way I can use the previous keyboard and switch my... | I have four edit text with input type number on the same screen, now problem is that when I switch from one EditText to the other the default selection of keyboard resets to 1 , and it's reflecting that the new keyboard is shown. Is there any way I can use the previous keyboard and switch my focus to another EditText? ... | android|android-edittext|android-softkeyboard|android-input-method|onfocuschangelistener | 0 | 2022-09-16T01:40:43.987Z | 2,022 | 9 | 1 | 4 | 9 | 0 | 377 | 40 | 5 | 1 | true | true | false | false | false | false | zero |
73,739,061 | Resizing bitmap makes quality way worse | <p>I'm using this simple function to scale my bitmaps to the same size:</p>
<pre><code>fun resizeImage(file: File) {
val resized = BitmapFactory.decodeFile(file.absolutePath)
if (resized != null) {
val resizedBitmap = Bitmap.createScaledBitmap(
resized, 512, 512, false
)
... | I'm using this simple function to scale my bitmaps to the same size: [CODE] Using this function makes the image quality visibly worse, before the images have an resolution of 480x480, scaling them with this function makes the quality like 40% worse. I got the quality put on 100, what else can I do? | java|android|kotlin|bitmap|android-bitmap | 0 | 2022-09-16T01:52:03.760Z | 2,022 | 9 | 1 | 4 | 57 | 2 | 299 | 39 | 5 | 1 | true | false | false | false | false | false | zero |
73,739,147 | Amazon Prime Video Android App (Mod Version from divyanet.com) Analysis | <p>Seeking any kind of advice/input from this community.</p>
<p>Background Story:</p>
<p>I came across an cracked Amazon Prime Video Android App on divyanet.com (It claims it's the cracked version of the Original Amazon Prime Video Android App. Same movie selections and everything minus paying for the subscription)</p>... | Seeking any kind of advice/input from this community. Background Story: I came across an cracked Amazon Prime Video Android App on divyanet.com (It claims it's the cracked version of the Original Amazon Prime Video Android App. Same movie selections and everything minus paying for the subscription) I installed it and r... | android|video-streaming|malware | 0 | 2022-09-16T02:10:51.733Z | 2,022 | 9 | 2 | 4 | 34 | 1 | 1,825 | 71 | 3 | 0 | false | false | false | false | false | false | zero |
73,739,149 | "error CS0579: Duplicate 'global::Android.Runtime.Resource DesignerAttribute' attribute" while converting Xamarin project to .net MAUI | <p>I created a sample Xamarin project and tried to convert it to Maui project using these steps(<a href="https://github.com/dotnet/maui/wiki/Migrating-from-Xamarin.Forms-(Preview)" rel="nofollow noreferrer">https://github.com/dotnet/maui/wiki/Migrating-from-Xamarin.Forms-(Preview)</a>) but it is showing an error:-</p>
... | I created a sample Xamarin project and tried to convert it to Maui project using these steps( https://github.com/dotnet/maui/wiki/Migrating-from-Xamarin.Forms-(Preview) ) but it is showing an error:- [CODE] enter image description here | android|xamarin|xamarin.android | 3 | 2022-09-16T02:11:09.313Z | 2,022 | 9 | 2 | 4 | 27 | 0 | 235 | 134 | 3 | 1 | true | true | false | false | false | false | low |
73,739,199 | Flutter - Android bottom navigation bar not changing colors based on custom light/dark theme definitions | <p>I can't find any easy way to make the Android bottom navigation bar white in light mode and black in dark mode. Right now I have created custom AppBar themes for light and dark and they work just fine except for the bottom navigation bar. Even though I have them set appropriately.</p>
<p>main.dart</p>
<pre><code>voi... | I can't find any easy way to make the Android bottom navigation bar white in light mode and black in dark mode. Right now I have created custom AppBar themes for light and dark and they work just fine except for the bottom navigation bar. Even though I have them set appropriately. main.dart [CODE] custom_theme.dart [CO... | android|flutter|dart | 0 | 2022-09-16T02:20:50.743Z | 2,022 | 9 | 2 | 4 | 25 | 0 | 520 | 104 | 3 | 2 | true | true | false | false | false | false | zero |
73,739,264 | Sign up user and add to firestore | <p>I have a function that signs up a user and stores them in the Firestore database. For now, everything is happening inside the fragment but I would like to move it to the repo and connect via the view model.</p>
<pre><code> fun signUp(){
val username = binding.signUpUsername.editText!!.text.toString()
val ema... | I have a function that signs up a user and stores them in the Firestore database. For now, everything is happening inside the fragment but I would like to move it to the repo and connect via the view model. [CODE] My question is how to invoke suspend function addUser() inside my repo. Can I just create CoroutineScope i... | android|firebase|kotlin|google-cloud-platform|google-cloud-firestore | 1 | 2022-09-16T02:32:38.823Z | 2,022 | 9 | 2 | 4 | 45 | 1 | 427 | 33 | 5 | 1 | true | false | false | false | false | false | low |
73,739,270 | Android studio: Exit multiple cursor/selector mode | <p>I am not sure what keyboard combination I pressed to ended up in this mode, How to fix and exit from this mode of selection?</p>
<p><a href="https://i.stack.imgur.com/whQMo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/whQMo.png" alt="enter image description here" /></a></p> | I am not sure what keyboard combination I pressed to ended up in this mode, How to fix and exit from this mode of selection? | android-studio|intellij-idea|ide | 0 | 2022-09-16T02:34:27.273Z | 2,022 | 9 | 2 | 4 | 20 | 1 | 124 | 50 | 3 | 0 | false | false | false | false | false | false | zero |
73,739,285 | iOS and android subscription | <p>Hi I have a flutter app with in-app subscription. I want to give some user access to my app without having to pay for subscription or life time free subscription. Is there a way that I can achieve it on iOS and android devices?</p> | Hi I have a flutter app with in-app subscription. I want to give some user access to my app without having to pay for subscription or life time free subscription. Is there a way that I can achieve it on iOS and android devices? | android|ios|flutter | -2 | 2022-09-16T02:37:36.820Z | 2,022 | 9 | 2 | 4 | 21 | 0 | 227 | 28 | 3 | 0 | false | true | false | false | false | true | negative |
73,739,297 | Pyjnius autoclass method can't find any 'android.X' classes | <p>I'm just trying to do a simple app to lock android screen, but using Python. For that I try Pyjnius.</p>
<p>When I try to get any class within <code>'android'</code> package, like this:</p>
<pre><code>DevicePolicyManager = autoclass('android.admin.DevicePolicyManager')
</code></pre>
<p>it just doesn't find and retur... | I'm just trying to do a simple app to lock android screen, but using Python. For that I try Pyjnius. When I try to get any class within 'android' package, like this: [CODE] it just doesn't find and returns: [CODE] However, it does find the classes within 'java' package and returns the correct class when I do something ... | python|android|lockscreen|pyjnius|autoclass | 0 | 2022-09-16T02:40:34.140Z | 2,022 | 9 | 2 | 4 | 12 | 0 | 548 | 59 | 5 | 4 | true | true | false | false | false | false | zero |
73,739,351 | How to create both Android application and website using same backend laravel backend | <p>I am developing a E-commerce website and application and i want same backend for both app and web how can i do this in laravel?</p> | I am developing a E-commerce website and application and i want same backend for both app and web how can i do this in laravel? | android|laravel|api|backend | -2 | 2022-09-16T02:49:05.777Z | 2,022 | 9 | 2 | 4 | 23 | 1 | 127 | 85 | 4 | 0 | false | false | false | false | false | true | negative |
73,739,443 | How to detect touch on empty ListView | <p>I have an empty listView and I want to detect when user click on this empty listView, but I cannot figure out how to do this a good way.</p>
<p>setOnClickListener is not supported for ListView and setOnItemClickListener can only handle items but my list is empty.</p> | I have an empty listView and I want to detect when user click on this empty listView, but I cannot figure out how to do this a good way. setOnClickListener is not supported for ListView and setOnItemClickListener can only handle items but my list is empty. | android|listview|android-listview | 0 | 2022-09-16T03:06:58.220Z | 2,022 | 9 | 3 | 4 | 33 | 0 | 256 | 37 | 3 | 0 | false | true | false | false | false | false | zero |
73,739,447 | How to show Image over image at same location on Android? | <p>I am trying to show image over image at exactly same location on anroid devices. i have X & Y coordinates of image 1 on which image 2 will be shown.
I am able to achive this for website but when I try to do same for Android using Java. Then same logic won't work. Any idea how to achive this?
I tried to multiply ... | I am trying to show image over image at exactly same location on anroid devices. i have X & Y coordinates of image 1 on which image 2 will be shown. I am able to achive this for website but when I try to do same for Android using Java. Then same logic won't work. Any idea how to achive this? I tried to multiply x y wit... | android | 0 | 2022-09-16T03:07:33.447Z | 2,022 | 9 | 3 | 4 | 13 | 0 | 348 | 57 | 1 | 0 | false | true | false | false | false | false | zero |
73,739,535 | android studio image click event (combine...) | <p><img src="https://i.stack.imgur.com/lmk1s.png" alt="enter image description here" /></p>
<p><strong>strong text</strong>
Below is an image stored in firebase db via recyclerview.</p>
<p>The goal is to store the combined images after putting several images inside the square through a click event. What should I do?</p... | strong text Below is an image stored in firebase db via recyclerview. The goal is to store the combined images after putting several images inside the square through a click event. What should I do? | android|firebase | 0 | 2022-09-16T03:23:11.970Z | 2,022 | 9 | 3 | 4 | 33 | 1 | 198 | 45 | 2 | 0 | false | false | false | false | false | false | zero |
73,739,563 | Why i cannot read text file from project (Android Studio) | <p>I created assets folder in a project, put my text file there. But when i run my app, it crashes with error:
"Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)"
I tried different ways to definite var filename for example: "assets/file.txt", "assets\file... | I created assets folder in a project, put my text file there. But when i run my app, it crashes with error: "Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)" I tried different ways to definite var filename for example: "assets/file.txt", "assets\file.tx... | android-studio|kotlin | 0 | 2022-09-16T03:29:28.463Z | 2,022 | 9 | 3 | 4 | 38 | 1 | 449 | 57 | 2 | 1 | true | false | false | false | false | false | zero |
73,739,610 | Is there any image button in flutter_quill toolbar in web? | <p>Is there any image button in <a href="https://pub.dev/packages/flutter_quill" rel="nofollow noreferrer"><code>flutter_quill</code></a> toolbar in web?</p>
<p>When I read the <a href="https://pub.dev/packages/flutter_quill" rel="nofollow noreferrer"><code>flutter_quill</code></a> package readme, I see that there is a... | Is there any image button in flutter_quill toolbar in web? When I read the flutter_quill package readme, I see that there is an image button in the flutter_quill toolbar in Android, as shown in the image below: However, in the app I run via web (Chrome) , there is no image button in the flutter_quill toolbar, as shown ... | android|flutter|dart|flutter-dependencies|flutter-web | 0 | 2022-09-16T03:37:57.120Z | 2,022 | 9 | 3 | 4 | 26 | 0 | 527 | 58 | 5 | 0 | false | true | false | false | false | false | zero |
73,739,629 | Local install of APK in Android 13 | <p><strong>Goal:</strong> Have an app that can update itself on a custom/rooted ROM in Android 13 by saving the APK locally, then having an app install it without user <a href="https://stackoverflow.com/questions/72217216/android-13-enable-accessibility-service-for-apk-which-installed-not-from-googl">interaction</a>.</... | Goal: Have an app that can update itself on a custom/rooted ROM in Android 13 by saving the APK locally, then having an app install it without user interaction . Solution: Use an intention as described in the second answer here. What no longer works: Originally this was a question because after a lot of time I only fou... | android|apk|android-permissions|selinux|android-13 | 0 | 2022-09-16T03:41:11.470Z | 2,022 | 9 | 3 | 4 | 66 | 0 | 1,752 | 34 | 5 | 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.