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,032,547 | How to create combine title and menu list in one box (drop down ) in jetpack compose? | <p>I have created a drop down menu using jetpack compose. here used card for the menu title. I just want to combine title box of drop down and body box of drop down using jetpack compose.</p>
<p>Dropdown menu</p> | I have created a drop down menu using jetpack compose. here used card for the menu title. I just want to combine title box of drop down and body box of drop down using jetpack compose. Dropdown menu | android|kotlin|dropdown|android-jetpack-compose|menu-list | 0 | 2022-07-19T07:09:12.587Z | 2,022 | 7 | 7 | 1 | 55 | 1 | 198 | 85 | 5 | 0 | false | false | false | false | false | false | zero |
73,032,615 | Android - How to set a key shortcut for app programmatically | <p>I want when F1 has pressed on the phone my app opens.</p>
<p>Is there any way to programmatically set the F1 key shortcut for opening my app on android?</p> | I want when F1 has pressed on the phone my app opens. Is there any way to programmatically set the F1 key shortcut for opening my app on android? | android|kotlin|hotkeys | 0 | 2022-07-19T07:14:57.847Z | 2,022 | 7 | 7 | 1 | 15 | 0 | 145 | 60 | 3 | 0 | false | true | false | false | false | false | zero |
73,032,625 | how to make a view inside fragment extend above tool bar and bottom navigation view action bar? | <p>I have created a music player inside fragment. The music player is its own view and it lies inside the fragment which displays all the songs. It expands to the height of the fragment when I click a miniplayer in the same fragment. I want to be able to have it expand to the whole screen. How do i do this ??</p>
<p>mu... | I have created a music player inside fragment. The music player is its own view and it lies inside the fragment which displays all the songs. It expands to the height of the fragment when I click a miniplayer in the same fragment. I want to be able to have it expand to the whole screen. How do i do this ?? music player... | android|android-fragments|bottomnavigationview | 0 | 2022-07-19T07:15:41.713Z | 2,022 | 7 | 7 | 1 | 24 | 0 | 386 | 95 | 3 | 2 | true | true | false | false | false | false | zero |
73,032,631 | How to access play-services-tapandpay repository in production app? | <p>In my application I am working on play-services-tapandpay.
<a href="https://stackoverflow.com/questions/68982591/failed-to-resolve-tapandpay-dependency-in-local">With the help of following link, adding dependency in local</a> I am able to run the code smoothly in local.</p>
<p>Now the problem is I am creating produc... | In my application I am working on play-services-tapandpay. With the help of following link, adding dependency in local I am able to run the code smoothly in local. Now the problem is I am creating production apk to deploy in play store, where I am not getting idea how to access "play-services-tapandpay" depen... | android|android-studio|maven|android-pay|google-pay | 0 | 2022-07-19T07:16:38.757Z | 2,022 | 7 | 7 | 1 | 132 | 1 | 497 | 67 | 5 | 0 | false | false | false | false | false | false | zero |
73,032,776 | How to configure Kotlin for tests in Android Studio | <p>I just started using Kotlin in my Android project. The project compiles and runs.</p>
<p>But when I try to convert an instrumented test file from Java to Kotlin i get the dialog "Kotlin is not configured in the project. You will have to configure Kotlin in project before performing a conversion."</p>
<hr /... | I just started using Kotlin in my Android project. The project compiles and runs. But when I try to convert an instrumented test file from Java to Kotlin i get the dialog "Kotlin is not configured in the project. You will have to configure Kotlin in project before performing a conversion." Here is my build.gr... | android|kotlin|testing|build.gradle | 0 | 2022-07-19T07:29:27.803Z | 2,022 | 7 | 7 | 1 | 58 | 2 | 336 | 51 | 4 | 1 | true | false | false | false | false | false | zero |
73,032,815 | Flutter Android: One or more plugins require a higher Android NDK version | <p>One or more plugins require a higher Android NDK version.</p>
<p>Fix this issue by adding the following to /Users/qqq/data/github/qqq/qqq/android/app/build.gradle:
android {
ndkVersion 21.3.6528147
...
}</p>
<p>But if I add <code>ndkVersion</code> and my file looks like this:</p>
<pre><code>
android {
compileSdk... | One or more plugins require a higher Android NDK version. Fix this issue by adding the following to /Users/qqq/data/github/qqq/qqq/android/app/build.gradle: android { ndkVersion 21.3.6528147 ... } But if I add ndkVersion and my file looks like this: [CODE] I receive different error: [CODE] | android|flutter|gradle|build.gradle|gradle-plugin | 0 | 2022-07-19T07:32:03.300Z | 2,022 | 7 | 7 | 1 | 447 | 1 | 290 | 73 | 5 | 2 | true | false | false | false | false | false | zero |
73,032,891 | Removing specific notification when you don't know the notification id? | <p>How can I remove a specific notification when I don't know the notification id (when app was not running and OS generated the notifications)? I don't want to use <code>notificationManager.cancelAll()</code> because there are multiple types of notifications and I can't use <code>notificationManager.cancel(id)</code> ... | How can I remove a specific notification when I don't know the notification id (when app was not running and OS generated the notifications)? I don't want to use notificationManager.cancelAll() because there are multiple types of notifications and I can't use notificationManager.cancel(id) because I don't know the ID o... | android|push-notification | 0 | 2022-07-19T07:37:29.383Z | 2,022 | 7 | 7 | 1 | 20 | 0 | 779 | 71 | 2 | 0 | false | true | false | false | false | false | zero |
73,032,901 | Problem with ViewModelFactory in Android Studio | <p>I am trying to create a ViewModel Factory with the below code:</p>
<pre><code>class TestViewModelFactory(private val testId: UUID) : ViewModelProvider.Factory {
override fun <T : ViewModel> create(modelClass: Class<T>): T {
return TestViewModel(testId) as T
}
}
</code></pre>
<p>However, a... | I am trying to create a ViewModel Factory with the below code: [CODE] However, against the class definition, there is a compilation error saying: [CODE] Can someone help me with what this problem is about? | java|android|android-studio|kotlin|viewmodel | 0 | 2022-07-19T07:37:55.653Z | 2,022 | 7 | 7 | 1 | 37 | 0 | 205 | 47 | 5 | 2 | true | true | false | false | false | false | zero |
73,033,040 | How to use the front-facing camera on an android as the back-facing camera | <p>Many android apps require a camera using the back-facing camera only which is a problem for me because my back-facing camera doesn't work, I was wondering if there was a way I could use the front-facing camera as a replacement for that camera.</p> | Many android apps require a camera using the back-facing camera only which is a problem for me because my back-facing camera doesn't work, I was wondering if there was a way I could use the front-facing camera as a replacement for that camera. | android|camera|android-camera2|rooted | 0 | 2022-07-19T07:47:28.723Z | 2,022 | 7 | 7 | 1 | 29 | 0 | 243 | 74 | 4 | 0 | false | true | false | false | false | false | zero |
73,033,082 | google pay error OR_BIBED_07 when resolving "ResolvableApiException: 6: BuyFlow UI needs to be shown" | <p>I'm currently having an issue with google pay on production. With test cards everything is working fine but as soon it comes to production with 3ds i have the following issue.</p>
<p>When the google pay flow starts I get first ("Of course") the error "<strong>ResolvableApiException: 6: BuyFlow UI need... | I'm currently having an issue with google pay on production. With test cards everything is working fine but as soon it comes to production with 3ds i have the following issue. When the google pay flow starts I get first ("Of course") the error " ResolvableApiException: 6: BuyFlow UI needs to be shown &qu... | android|google-pay | 0 | 2022-07-19T07:51:02.223Z | 2,022 | 7 | 7 | 1 | 235 | 0 | 738 | 101 | 2 | 0 | false | true | false | false | false | false | zero |
73,033,100 | Android Project Upgrade - Issue with gradle file | <p>I have to upgrade old android project.
I have done some changes to build.gradle file as below :</p>
<p><strong>build.gradle file</strong>:</p>
<pre><code> plugins {
id 'com.android.application'
id 'io.fabric'
}
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
... | I have to upgrade old android project. I have done some changes to build.gradle file as below : build.gradle file : [CODE] Currently, Getting below error : A problem occurred configuring root project 'skyazul-android'. Could not resolve all artifacts for configuration ':classpath'. Could not find any version that match... | android|android-studio|android-layout|android-gradle-plugin|build.gradle | 1 | 2022-07-19T07:52:02.143Z | 2,022 | 7 | 7 | 1 | 202 | 2 | 856 | 48 | 5 | 2 | true | false | false | false | false | false | low |
73,033,105 | Firebase Database gives null values | <p>This is my Firebase Database snippet</p>
<p><a href="https://i.stack.imgur.com/Ywvld.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ywvld.png" alt="Database Snippet" /></a></p>
<p>I am trying to get the name of the expense and the expense amount and set it into a <code>RecyclerView</code>.</p>
<p... | This is my Firebase Database snippet I am trying to get the name of the expense and the expense amount and set it into a RecyclerView . This is my adapter for the RecyclerView: [CODE] This is my POJO class for Expense Model [CODE] This is my code snippet [CODE] The log shows that every value in the expense class has be... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-19T07:52:31.470Z | 2,022 | 7 | 7 | 1 | 39 | 1 | 422 | 35 | 5 | 4 | true | false | false | false | false | false | zero |
73,033,125 | Mobile keyboard in Unity | <p>I am implementing unity login screen in my android game. The problem is that when I click on the InputField, the keyboard opens in floating mode:
<a href="https://i.stack.imgur.com/SlY4X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SlY4X.png" alt="Floating Mode" /></a></p>
<p>I attached the fol... | I am implementing unity login screen in my android game. The problem is that when I click on the InputField, the keyboard opens in floating mode: I attached the following method to the InputField: [CODE] I've tried various variations of the overloaded Open method and keyboard types. It opened different types of keyboar... | c#|android|unity3d | 0 | 2022-07-19T07:53:35.390Z | 2,022 | 7 | 7 | 1 | 180 | 1 | 1,009 | 24 | 3 | 2 | true | false | false | false | false | false | zero |
73,033,273 | How to support Map<String, Boolean> for rememberSaveable? | <p>Using the below</p>
<pre><code>var state by rememberSaveable {
mutableStateOf(
enumValues<NavigationItem>().associate { it.route to true }
)
}
enum class NavigationItem(val route: String, val icon: Int) {
Home("home", R.drawable.ic_home),
Music("music", R.drawable.i... | Using the below [CODE] The rememberSaveable is not saving and restoring the state. How can I have it save and restore? | android|android-jetpack-compose | 0 | 2022-07-19T08:05:04.157Z | 2,022 | 7 | 8 | 1 | 31 | 1 | 118 | 57 | 2 | 1 | true | false | false | false | false | false | zero |
73,033,345 | Issue with android application MobileMoney | <p>I'm facing an issue with this application in my xiaomi mi 6x</p>
<p>The app developer says the issue is at my side. I'm not sure what should I do.</p>
<p>Here is the error that I receive when I open the app and it closes and shows the below.</p>
<pre><code>java.lang.RuntimeException: Unable to start activity Compone... | I'm facing an issue with this application in my xiaomi mi 6x The app developer says the issue is at my side. I'm not sure what should I do. Here is the error that I receive when I open the app and it closes and shows the below. [CODE] | java|android|android-activity|crash | 0 | 2022-07-19T08:10:16.313Z | 2,022 | 7 | 8 | 1 | 24 | 0 | 234 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
73,033,373 | Cursor goes to start(left) of the EditText after a character is entered or deleted | <blockquote>
<p>everything works as it should except the problem is that the cursor
just goes to the start after a character is deleted or inputted, i
want to it to stay at the same position</p>
</blockquote>
<p>This is the code:</p>
<pre><code>binding.includeFirstSeekbar.seekBar.setOnSeekBarChangeListener(object : On... | everything works as it should except the problem is that the cursor just goes to the start after a character is deleted or inputted, i want to it to stay at the same position This is the code: [CODE] | java|android|kotlin|android-edittext|cursor | 0 | 2022-07-19T08:12:33.893Z | 2,022 | 7 | 8 | 1 | 33 | 1 | 199 | 82 | 5 | 1 | true | false | false | false | false | false | zero |
73,033,398 | null result variables in fragment android kotlin | <p>I´m traying to send variables to my fragment in android with kotlin. My problem it´s when i load my fragment this values it´s null.</p>
<p>Im sending my data so:</p>
<pre><code>if (jsonObject != null) {
val dataJson: JSONObject = jsonObject.getJSONObject("user")
... | I´m traying to send variables to my fragment in android with kotlin. My problem it´s when i load my fragment this values it´s null. Im sending my data so: [CODE] and in my fragment i´m capturing it: [CODE] But load my app, and in my EditText set null. What i´m doing wrong?. Thanks for readme and help me UPDATE MainActi... | android|kotlin|android-volley | 0 | 2022-07-19T08:14:17.060Z | 2,022 | 7 | 8 | 1 | 62 | 1 | 394 | 48 | 3 | 6 | true | false | false | false | false | false | zero |
73,033,421 | Writing a unit test for a function in Kotlin | <p>I am new to writing Unit tests. I have a function that takes as input an Android Package name, and outputs the SHA-256 digest for that package. Here it is:</p>
<pre><code> fun getSignatureByteArray(packageInfo: PackageInfo): ByteArray {
var outputDigestByteArray: ByteArray = byteArrayOf()
val signature = pa... | I am new to writing Unit tests. I have a function that takes as input an Android Package name, and outputs the SHA-256 digest for that package. Here it is: [CODE] Now I have to write the unit test for the above function. Can anyone help me get started as to how can I write the UT for this function? | android|unit-testing|kotlin | 0 | 2022-07-19T08:15:59.567Z | 2,022 | 7 | 8 | 1 | 27 | 0 | 299 | 44 | 3 | 1 | true | true | false | false | false | false | zero |
73,033,422 | Get kotlin class failed with string but works with constant - on dynamic feature | <p>I just call a method class through this line :</p>
<pre class="lang-kotlin prettyprint-override"><code>val instance = Class.forName(nameClass).kotlin.objectInstance
</code></pre>
<p>When I set the nameClass with a constant value (see below) it's work.</p>
<pre class="lang-kotlin prettyprint-override"><code>private c... | I just call a method class through this line : [CODE] When I set the nameClass with a constant value (see below) it's work. [CODE] But, when I set the nameClass to string (not constant), like this [CODE] it's not work and throw java.lang.ClassNotFoundException . I have trying make log, check is the value PROVIDER_CLASS... | android|kotlin|dynamic-feature-module|dynamic-feature | -1 | 2022-07-19T08:16:04.460Z | 2,022 | 7 | 8 | 1 | 63 | 1 | 651 | 80 | 4 | 3 | true | false | false | false | false | true | negative |
73,033,617 | Telegram API integration for Android | <p>I'm trying to read every Telegram channel message with my app. (I'm using Java)
I want to take the Image, description and links of every message.</p>
<p>Every Telegram message have a specific link like this:</p>
<p><a href="https://t.me/example/**4091*" rel="nofollow noreferrer">https://t.me/example/**4091*</a>*</p>... | I'm trying to read every Telegram channel message with my app. (I'm using Java) I want to take the Image, description and links of every message. Every Telegram message have a specific link like this: https://t.me/example/**4091* * https://t.me/example/**4092* * https://t.me/example/**4093* * https://t.me/example/**409... | android|telegram|py-telegram-bot-api | 0 | 2022-07-19T08:28:41.257Z | 2,022 | 7 | 8 | 1 | 38 | 0 | 403 | 36 | 3 | 0 | false | true | false | false | false | false | zero |
73,033,647 | Recycler view android studioAttempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference | <p>I am creating an app called Pricepointcrypto in which when a certain crypto currencies of your intersenst hit you budget range then you will get notfied say you wanted to buy Bitcoin 15,000 the stock market hits that you will get notfied, in this app i need to display crypto currencies and their rates and i am using... | I am creating an app called Pricepointcrypto in which when a certain crypto currencies of your intersenst hit you budget range then you will get notfied say you wanted to buy Bitcoin 15,000 the stock market hits that you will get notfied, in this app i need to display crypto currencies and their rates and i am using co... | java|android|android-layout|android-recyclerview|nullpointerexception | 0 | 2022-07-19T08:30:25.003Z | 2,022 | 7 | 8 | 1 | 39 | 1 | 882 | 150 | 5 | 6 | true | false | false | false | false | false | zero |
73,033,869 | What are the alternatives to RCTEventEmitter and RCTModernEventEmitter? | <p>I am trying to integrate a <code>Native UI</code> component in <code>react-native</code> using the <code>new architecture</code> with <code>fabric</code> enabled</p>
<p>Here is my spec file</p>
<pre><code>import type {HostComponent, ViewProps} from 'react-native';
import type {
DirectEventHandler,
BubblingEventH... | I am trying to integrate a Native UI component in react-native using the new architecture with fabric enabled Here is my spec file [CODE] Then on native side I created following files [CODE] What is the alternative to dispatch and RCTEventEmitter as both are deprecated? I was looking into RCTModernEventEmitter and it a... | java|android|react-native|kotlin | 2 | 2022-07-19T08:46:24.303Z | 2,022 | 7 | 8 | 1 | 219 | 1 | 573 | 71 | 4 | 2 | true | false | false | false | false | false | low |
73,033,927 | How to use Edit Text value for delay parameter in Handler? | <p>I am writing a mobile application for parking in android studio. On one activity, I have an Edit Text field where the user enters the parking time, then pays for the selected parking space, immediately after that he goes to another activity where the button with this place lights up red and it is necessary that with... | I am writing a mobile application for parking in android studio. On one activity, I have an Edit Text field where the user enters the parking time, then pays for the selected parking space, immediately after that he goes to another activity where the button with this place lights up red and it is necessary that with a ... | java|android|android-studio | -1 | 2022-07-19T08:50:17.040Z | 2,022 | 7 | 8 | 1 | 37 | 1 | 486 | 58 | 3 | 1 | true | false | false | false | false | true | negative |
73,034,023 | IllegalStateException androidx.fragment.app.DialogFragment$4 in onChanged | <p>I'm facing a weird crash , I don’t know how can I track this crash.</p>
<pre><code>DialogFragment can not be attached to a container view
java.lang.IllegalStateException: DialogFragment can not be attached to a container view
at androidx.fragment.app.DialogFragment$4.onChanged(DialogFragment.java:151)
at androidx.... | I'm facing a weird crash , I don’t know how can I track this crash. [CODE] BaseDialogFragment [CODE] I am using this Abstract class to not repeat init code for ViewModel & onViewCreated & binding [CODE] styles.xml [CODE] these are all my classes this crash mostly comes from android version 8.1.0 I tried running the app... | android|kotlin|android-dialogfragment | 0 | 2022-07-19T08:57:34.707Z | 2,022 | 7 | 8 | 1 | 42 | 0 | 414 | 73 | 3 | 4 | true | true | false | false | false | false | zero |
73,034,115 | mobsf FFMPEG no relro | <p>My apps contain FFmpeg ,and the customer needs to add the relro safe compilation option to the ffmpeg library. After I added the option during compilation, I used linux's checksec to detect library and found that relro has been added. However, when I package library into the app and put it into mobsf for detection, ... | My apps contain FFmpeg ,and the customer needs to add the relro safe compilation option to the ffmpeg library. After I added the option during compilation, I used linux's checksec to detect library and found that relro has been added. However, when I package library into the app and put it into mobsf for detection, mob... | android|ffmpeg | 0 | 2022-07-19T09:03:04.807Z | 2,022 | 7 | 9 | 1 | 15 | 0 | 426 | 21 | 2 | 0 | false | true | false | false | false | false | zero |
73,034,117 | How can I make an Augmented Reality SkyView-like UI on Android Studio? | <p>I am working on a satellite tracker app for android, and after the orbit propagation I have to display on the screen visible satellites based on device orientation. I want it to look somehow like <a href="https://youtu.be/_VqbtIpLjaE" rel="nofollow noreferrer">this app</a>. I wonder If someone could tell me how can ... | I am working on a satellite tracker app for android, and after the orbit propagation I have to display on the screen visible satellites based on device orientation. I want it to look somehow like this app . I wonder If someone could tell me how can I make this, if there is a graphics library for this type of augmented ... | android|android-studio|kotlin|augmented-reality | 1 | 2022-07-19T09:03:06.480Z | 2,022 | 7 | 9 | 1 | 20 | 0 | 331 | 70 | 4 | 0 | false | true | false | false | false | false | low |
73,034,196 | Use same GPS location code on multiple fragments | <p>I want to make an application that will include five different fragments. In each fragment I need the GPS location of the device but the purpose will be different.</p>
<p>In order not to implement FusedLocationProviderClient five times for each fragment, I was thinking of doing this once in MainActivity and sending ... | I want to make an application that will include five different fragments. In each fragment I need the GPS location of the device but the purpose will be different. In order not to implement FusedLocationProviderClient five times for each fragment, I was thinking of doing this once in MainActivity and sending the result... | java|android|android-studio|android-fragments|location | 0 | 2022-07-19T09:09:45.547Z | 2,022 | 7 | 9 | 1 | 29 | 1 | 624 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
73,034,201 | Android studio : How do I retrieve specific data from Firebase? | <pre><code>private TextView welcomeText;
DatabaseReference databaseReference = database.getReference("Users").child("name");
</code></pre>
<p><a href="https://i.stack.imgur.com/Qayc6.png" rel="nofollow noreferrer">https://i.stack.imgur.com/Qayc6.png</a></p>
<p>What I want to do is retrieve the data ... | [CODE] https://i.stack.imgur.com/Qayc6.png What I want to do is retrieve the data "name" from the Firebase database and setText for the welcomeText to the data "name". | java|android|firebase-realtime-database | 0 | 2022-07-19T09:10:01.427Z | 2,022 | 7 | 9 | 1 | 37 | 2 | 187 | 63 | 3 | 1 | true | false | false | false | false | false | zero |
73,034,244 | What is the faster way to add the items from a class to an ArrayList to create a ListView? | <pre><code>public class LengthConversion {
public static final String M_TO_CM = "meter to centimeter";
public static final String M_TO_MM = "meter to millimeter";
public static final String M_TO_DM = "meter to decimeter";
public static final String KM_TO_M = "kilometer... | [CODE] I am adding these string to the ArrayList one by one by .add() function. Is there another way? | java|android|arraylist | 0 | 2022-07-19T09:12:33.113Z | 2,022 | 7 | 9 | 1 | 37 | 1 | 101 | 90 | 3 | 1 | true | false | false | false | false | false | zero |
73,034,294 | Update recyclerview after activity in fragment | <p>Favorites button onBackPressed and if i delete film in favorites. but when i go to fragment favorites films, recycler view didnt update. I want to update recyclerview when i come from movieDetailActivity</p>
<pre><code>public class FavoritesFragment extends Fragment {
private List<MoviesForFavorites> movi... | Favorites button onBackPressed and if i delete film in favorites. but when i go to fragment favorites films, recycler view didnt update. I want to update recyclerview when i come from movieDetailActivity [CODE] in activity onBackPressed [CODE] | android|android-fragments|android-recyclerview | 0 | 2022-07-19T09:15:55.990Z | 2,022 | 7 | 9 | 1 | 39 | 2 | 243 | 46 | 3 | 2 | true | false | false | false | false | false | zero |
73,034,302 | Android multiple ImageViews to use the same scale | <p>I have an image that is sliced into 3 parts (top <code>320x57</code>, middle <code>320x138</code>, bottom <code>320x233</code>).</p>
<p>How could I ensure that those 3 parts use the same scale, on every screen so that the final picture does not get distorted.</p>
<p>Here is my layout, with 3 corresponding ImageViews... | I have an image that is sliced into 3 parts (top 320x57 , middle 320x138 , bottom 320x233 ). How could I ensure that those 3 parts use the same scale, on every screen so that the final picture does not get distorted. Here is my layout, with 3 corresponding ImageViews: (Ignore the AutoResizeTextView - it's just my custo... | java|android|android-layout|android-imageview | 0 | 2022-07-19T09:16:29.020Z | 2,022 | 7 | 9 | 1 | 60 | 1 | 905 | 49 | 4 | 1 | true | false | false | false | false | false | zero |
73,034,368 | Flutter Android TV app Google Play rejection | <p>I have developed flutter tv app and uploaded to Google pay store it's keep getting rejected , attached image rejection reason <a href="https://i.stack.imgur.com/Vdnil.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vdnil.jpg" alt="enter image description here" /></a></p> | I have developed flutter tv app and uploaded to Google pay store it's keep getting rejected , attached image rejection reason | android|flutter|television | 0 | 2022-07-19T09:20:46.333Z | 2,022 | 7 | 9 | 1 | 126 | 0 | 125 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
73,034,388 | How to map entity IDs to actual entities? | <p>I'm building a mobile app in Flutter and am trying to figure out how to go about the following scenario: the REST API I am using returns unmapped data from the database i.e.</p>
<pre><code>{ "id": 103152, "name": "Entity name", "companyId": 12, "baseId": 131, "l... | I'm building a mobile app in Flutter and am trying to figure out how to go about the following scenario: the REST API I am using returns unmapped data from the database i.e. [CODE] The question is: how do I go about mapping these IDs to actual entities? Do I use DTOs? I'm currently thinking about returning DTOs from th... | android|flutter|architecture|flutter-moor|drift | 0 | 2022-07-19T09:22:40.187Z | 2,022 | 7 | 9 | 1 | 78 | 0 | 707 | 41 | 5 | 1 | true | true | false | false | false | false | zero |
73,034,459 | Share Android.variantFilter for all app modules | <p>I would like to use the same implementation for the <code>android.variantFilter(...)</code> for all my android apps modules.</p>
<p>Currently I have such a variantFilter in the "app"-Module which works fine:</p>
<pre><code>android.variantFilter { variant ->
String buildType = variant.buildType.name
... | I would like to use the same implementation for the android.variantFilter(...) for all my android apps modules. Currently I have such a variantFilter in the "app"-Module which works fine: [CODE] The app contains several modules however and I would like to filter the variants in all modules likewise. Without h... | android|build.gradle|android-build-flavors | 1 | 2022-07-19T09:27:14.043Z | 2,022 | 7 | 9 | 1 | 99 | 2 | 584 | 47 | 3 | 1 | true | false | false | false | false | false | low |
73,034,480 | How can I make recyclerview scroll by only one direction and disable others | <p>I just want to allow only scroll left in horizontal recyclerview for example. Please help me on that</p> | I just want to allow only scroll left in horizontal recyclerview for example. Please help me on that | android|android-studio|kotlin|mvvm|android-recyclerview | 0 | 2022-07-19T09:28:42.853Z | 2,022 | 7 | 9 | 1 | 45 | 2 | 100 | 75 | 5 | 0 | false | false | false | false | false | false | zero |
73,034,504 | How to replace Bundle/Argument deprecated get(key) calls in Android | <p>I have the following extension functions that allow me to pass bundle data items between my applications activities and fragments.</p>
<pre><code>inline fun <reified T : Any> Activity.extra(key: String, default: T? = null): Lazy<T?> = lazy {
val value: Any? = intent?.extras?.get(key)
if (value is... | I have the following extension functions that allow me to pass bundle data items between my applications activities and fragments. [CODE] the .get(key) methods are all now deprecated and i cannot see how to replace them. as it looks as though i will need specific .getXxxx() calls now based on the passed data type. what... | android|kotlin | 1 | 2022-07-19T09:30:49.120Z | 2,022 | 7 | 9 | 1 | 137 | 1 | 426 | 67 | 2 | 2 | true | false | false | false | false | false | low |
73,034,553 | Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting | <p>Step I have taken</p>
<ul>
<li>flutter clean</li>
<li>flutter pub get</li>
<li>invalidate cache</li>
<li>delete build file
and this error still persist.</li>
</ul>
<p>Anyone has a better approach to solve this</p>
<p><a href="https://i.stack.imgur.com/5FrtX.png" rel="nofollow noreferrer"><img src="https://i.stack.im... | Step I have taken flutter clean flutter pub get invalidate cache delete build file and this error still persist. Anyone has a better approach to solve this | android|flutter | 0 | 2022-07-19T09:34:19.780Z | 2,022 | 7 | 9 | 1 | 19 | 0 | 155 | 64 | 2 | 0 | false | true | false | false | false | false | zero |
73,034,585 | How do I disable screen mirroring for Flutter app? | <p>I'm working on a new flutter app and the client wants to detect screen mirroring and disable it, Is there is a way to do so in Flutter using a third party package or something?</p>
<p>I've tried using the FLAG_SECURE in android but it disables only screenshots not screen mirroring.</p> | I'm working on a new flutter app and the client wants to detect screen mirroring and disable it, Is there is a way to do so in Flutter using a third party package or something? I've tried using the FLAG_SECURE in android but it disables only screenshots not screen mirroring. | android|ios|flutter|dart | 0 | 2022-07-19T09:36:14.237Z | 2,022 | 7 | 9 | 1 | 77 | 2 | 275 | 50 | 4 | 0 | false | false | false | false | false | false | zero |
73,034,637 | Shortcut to close all open operations in android studio? | <p>I have many operations I have coded and I want to know if there is a way to close them all at once.
For example:</p>
<pre><code> private void saveData(){
//code
}
private void clearData(){
//code
}
</code></pre>
<p>after close:</p>
<pre><code> private void saveData(){...}
priva... | I have many operations I have coded and I want to know if there is a way to close them all at once. For example: [CODE] after close: [CODE] I know they can be closed manually but when there are a lot of operations it takes time to close them all. | java|android-studio | 0 | 2022-07-19T09:40:12.467Z | 2,022 | 7 | 9 | 1 | 22 | 0 | 246 | 56 | 2 | 2 | true | true | false | false | false | false | zero |
73,034,817 | Create list/array of Textviews to change .text via index | <p>So I was hoping to make a list/array of textviews so that I can iterate a loop and set the .text value of the TextViews as I go. Otherwise I would have to set the values in the code statically which would be a whole lot messier and potentially not even feasible for my needs.</p>
<p>So in the code below the idea woul... | So I was hoping to make a list/array of textviews so that I can iterate a loop and set the .text value of the TextViews as I go. Otherwise I would have to set the values in the code statically which would be a whole lot messier and potentially not even feasible for my needs. So in the code below the idea would be to it... | android|android-studio|kotlin | 1 | 2022-07-19T09:54:02.013Z | 2,022 | 7 | 9 | 1 | 36 | 1 | 721 | 56 | 3 | 1 | true | false | false | false | false | false | low |
73,034,854 | How to make a popup view appear above a specific section an not above the whole activity | <p>I made a keyboard with a key view. I want a preview to appear above each key of the keyboard without distorting the keyboard layout.</p>
<p>I made the Key view with a constraint layout and two card views:</p>
<pre><code><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.... | I made a keyboard with a key view. I want a preview to appear above each key of the keyboard without distorting the keyboard layout. I made the Key view with a constraint layout and two card views: [CODE] In making the keyboard I created a Linear layout with each key in a row for flexibility and ease of adding another ... | android|android-studio|android-layout|dialog|popup | 0 | 2022-07-19T09:56:39.053Z | 2,022 | 7 | 9 | 1 | 39 | 2 | 581 | 88 | 5 | 1 | true | false | false | false | false | false | zero |
73,034,874 | Change the background of a table row onClick | <p>I have a table in Android Studio and when I click on a cell, it should turn green, or any other color, that is not important, but I don't know how to implement that.
I only have the xml file now and I am unsure what to add exactly and where.
It's the first time when I try to implement something like that and I don't... | I have a table in Android Studio and when I click on a cell, it should turn green, or any other color, that is not important, but I don't know how to implement that. I only have the xml file now and I am unsure what to add exactly and where. It's the first time when I try to implement something like that and I don't kn... | java|android|android-studio|onclick | 1 | 2022-07-19T09:58:29.707Z | 2,022 | 7 | 9 | 1 | 58 | 2 | 443 | 44 | 4 | 1 | true | false | false | false | false | false | low |
73,034,887 | i can't run my Android Studio project - it shows me Manifest merger failed with multiple errors | <p>This is my android.manifest file. I searched a lot of things here but my problem is not solved yet. What can I do?</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android... | This is my android.manifest file. I searched a lot of things here but my problem is not solved yet. What can I do? [CODE] this is my build.gradle(module:appname) | android | 0 | 2022-07-19T09:59:55.497Z | 2,022 | 7 | 9 | 1 | 41 | 1 | 161 | 95 | 1 | 1 | true | false | false | false | false | false | zero |
73,034,912 | Jetpack Compose: How to detect when TabRow inside HorizontalPager is visible and call a ViewModel function? | <p>I am building a simple app which has a TabLayout with two tabs. One tab is a list of items which you can click and make a note about the item. The other tab is a list of notes you made in the first tab.</p>
<p>I have created a TabLayout using TabRows and HorizontalPager here is the code for that section:</p>
<pre><c... | I am building a simple app which has a TabLayout with two tabs. One tab is a list of items which you can click and make a note about the item. The other tab is a list of notes you made in the first tab. I have created a TabLayout using TabRows and HorizontalPager here is the code for that section: [CODE] In RecordScree... | android|kotlin|android-jetpack-compose|android-viewmodel | 1 | 2022-07-19T10:01:42.723Z | 2,022 | 7 | 10 | 1 | 244 | 1 | 2,187 | 107 | 4 | 2 | true | false | false | false | false | false | low |
73,034,957 | Google play console shows warning when release application bundle | <p>The problem is that I don't import any version of google play billing, neither i declare billing permission in my manifest.</p>
<p>Error :We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library
version 3 or newer to publish this app.</p>
<p>I will check in my code no an... | The problem is that I don't import any version of google play billing, neither i declare billing permission in my manifest. Error :We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app. I will check in my code no any billing depende... | android|google-play|google-play-console|playstation | 1 | 2022-07-19T10:04:50.710Z | 2,022 | 7 | 10 | 1 | 76 | 1 | 421 | 65 | 4 | 0 | false | false | false | false | false | false | low |
73,034,972 | Why does the permissions dialog not appear when I ask for background location? | <p>I am attempting to request background location permission for my app, but the locations permission dialog doesn't appear at all if I ask for background location.
If I just ask for coarse location and fine location, the permissions dialog appears as it should.</p>
<p>Manifest:</p>
<pre><code><uses-permission andro... | I am attempting to request background location permission for my app, but the locations permission dialog doesn't appear at all if I ask for background location. If I just ask for coarse location and fine location, the permissions dialog appears as it should. Manifest: [CODE] code: [CODE] No permissions dialog appears ... | android|location|android-permissions | 0 | 2022-07-19T10:06:02.890Z | 2,022 | 7 | 10 | 1 | 114 | 2 | 522 | 78 | 3 | 2 | true | false | false | false | false | false | zero |
73,035,013 | Onesignal device token not fetching | <p>I am using Onesignal in my application. For the first time of installation user ID gets null. After a few minutes able to read it. Few devices are not able to fetch the user ID. What could be the issue for those?</p>
<p><code>OneSignal.getDeviceState().getUserId()</code></p> | I am using Onesignal in my application. For the first time of installation user ID gets null. After a few minutes able to read it. Few devices are not able to fetch the user ID. What could be the issue for those? OneSignal.getDeviceState().getUserId() | android|onesignal | 0 | 2022-07-19T10:09:31.703Z | 2,022 | 7 | 10 | 1 | 32 | 1 | 251 | 35 | 2 | 0 | false | false | false | false | false | false | zero |
73,035,021 | Is there any best way to port all eventbus code to coroutine from a lagacy Android project? | <p>We have a large lagacy Android project.
It's code contains hundreds of greenrobot eventbus source.
We need to port them to kotlin coroutine version now.
What is the best and high efficiency way to port them to kotlin coroutine version?</p> | We have a large lagacy Android project. It's code contains hundreds of greenrobot eventbus source. We need to port them to kotlin coroutine version now. What is the best and high efficiency way to port them to kotlin coroutine version? | android|kotlin|coroutine|porting|greenrobot-eventbus | 0 | 2022-07-19T10:10:25.367Z | 2,022 | 7 | 10 | 1 | 16 | 1 | 235 | 91 | 5 | 0 | false | false | false | false | false | false | zero |
73,035,070 | Flutter Lottie: Works on Lottie player but not in Flutter | <p>Lottie animation works absolutely fine in lottie player but does not work in Flutter Web or Flutter Android. (Haven't tested on iOS)</p>
<p><strong>Animation:</strong></p>
<p><a href="https://lottiefiles.com/113275-sad-character" rel="nofollow noreferrer">https://lottiefiles.com/113275-sad-character</a></p>
<p><stro... | Lottie animation works absolutely fine in lottie player but does not work in Flutter Web or Flutter Android. (Haven't tested on iOS) Animation: https://lottiefiles.com/113275-sad-character Code: [CODE] This is how it looks on Android or Flutter Web: | android|flutter|dart|lottie|bodymovin | 2 | 2022-07-19T10:13:22.290Z | 2,022 | 7 | 10 | 1 | 90 | 1 | 249 | 57 | 5 | 1 | true | false | false | false | false | false | low |
73,035,134 | Toolbar slides up when calling share intent | <p>I have a toolbar at the top of the screen, and when I call share intent the toolbar crawls up, how can I fix that?</p>
<p><a href="https://i.stack.imgur.com/aFFlE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aFFlE.jpg" alt="" /></a></p>
<p><a href="https://i.stack.imgur.com/bQLDk.jpg" rel="nofo... | I have a toolbar at the top of the screen, and when I call share intent the toolbar crawls up, how can I fix that? | java|android|kotlin | 0 | 2022-07-19T10:19:41.087Z | 2,022 | 7 | 10 | 1 | 22 | 1 | 114 | 43 | 3 | 0 | false | false | false | false | false | false | zero |
73,035,360 | Privacy Indicator Green dot control flow | <p>From Android S OS we can see <a href="https://source.android.com/devices/tech/config/privacy-indicators#:%7E:text=Runtime%20permissions%20in%20Android%206,a%20dialog%20the%20system%20presents." rel="nofollow noreferrer">Privacy Indicators</a> . When any of the sensors like Microphone, Camera or Location is being use... | From Android S OS we can see Privacy Indicators . When any of the sensors like Microphone, Camera or Location is being used by any of the app then this Green dot is visible in the Status bar just like Battery Icon. And this is visible even after screen goes off(also in lock screen). Q1> Is this Green dot is a sensor li... | android|android-layout|animation | 0 | 2022-07-19T10:35:18.783Z | 2,022 | 7 | 10 | 1 | 64 | 1 | 594 | 40 | 3 | 0 | false | false | false | false | false | false | zero |
73,035,388 | Continued gestures/strokes on Android 7 | <p>Continued strokes is introduced in Android 8.0. But Anydesk can reproduce such on Android 7.0. How does he do it? I tried adding another long stroke to each gesture, which essentially does nothing, but it didn't help</p>
<pre><code>touchPath.moveTo(lastPoint.x, lastPoint.y);
touchPath.lineTo(point.x, point.y);
durat... | Continued strokes is introduced in Android 8.0. But Anydesk can reproduce such on Android 7.0. How does he do it? I tried adding another long stroke to each gesture, which essentially does nothing, but it didn't help [CODE] | android|accessibility|gesture | 0 | 2022-07-19T10:37:21.157Z | 2,022 | 7 | 10 | 1 | 27 | 1 | 223 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
73,035,404 | how can I make game card animation in flutter | <p>please, I want to make the card move to another card animation like the video</p>
<p>Example: <a href="https://www.veed.io/view/d0f4bfbe-fdf7-4d77-ab21-3263be24ca4b" rel="nofollow noreferrer">https://www.veed.io/view/d0f4bfbe-fdf7-4d77-ab21-3263be24ca4b</a></p> | please, I want to make the card move to another card animation like the video Example: https://www.veed.io/view/d0f4bfbe-fdf7-4d77-ab21-3263be24ca4b | android|ios|flutter|flutter-layout|flutter-animation | 0 | 2022-07-19T10:38:37.970Z | 2,022 | 7 | 10 | 1 | 40 | 1 | 148 | 45 | 5 | 0 | false | false | false | false | false | false | zero |
73,035,448 | Getting org related error while migrating old android project | <p>Getting :</p>
<pre><code>Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
</code></pre>
<p><strong>build.gradle file as below</strong></p>
<pre><code> buildscript {
ext {
... | Getting : [CODE] build.gradle file as below [CODE] App level build.gradle : [CODE] What might be the issue? EDIT Below is the complete stacktrace of error : Executing tasks: [:app:assembleDebug] in project /home/jaiminmodi/StudioProjects/skyazul-android Task :app:preBuild UP-TO-DATE Task :app:preDebugBuild UP-TO-DATE T... | android|android-studio|gradle|android-gradle-plugin | 0 | 2022-07-19T10:40:50.097Z | 2,022 | 7 | 10 | 1 | 60 | 2 | 3,896 | 61 | 4 | 3 | true | false | false | false | false | false | zero |
73,035,528 | Sticky header in android project | <p>I have a view in my android project like : <a href="https://i.stack.imgur.com/yiI1b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yiI1b.png" alt="enter image description here" /></a></p>
<p>I want to show a header when I scroll down when the Title (lblHeaderJobTitle in the code below) reaches th... | I have a view in my android project like : I want to show a header when I scroll down when the Title (lblHeaderJobTitle in the code below) reaches the top, and hide it back when the title is visible in the screen when I scroll up. [CODE] In my activity I tried this: [CODE] In my custom behavior: [CODE] For the sticky b... | android|android-studio|xamarin|xamarin.forms|xamarin.android | 0 | 2022-07-19T10:46:41.797Z | 2,022 | 7 | 10 | 1 | 102 | 0 | 619 | 32 | 5 | 3 | true | true | false | false | false | false | zero |
73,035,533 | Why code is not showing the List in the spinner that call with API? | <blockquote>
<p>There is an Array of String that passes from the API. What is the problem with the code?
I am trying to pass that value into a spinner</p>
</blockquote>
<pre><code> Call<List<ResponseSubject>>
subjectOption=ApiClient.getInstance().getApi().subjectOption();
subjectOption.enqueu... | There is an Array of String that passes from the API. What is the problem with the code? I am trying to pass that value into a spinner [CODE] In the above code, it is checking if the value coming from API is null or not. After checking that data is passing in an array and that array data is assigned to the spinner. | java|api|retrofit|spinner|android-arrayadapter | 0 | 2022-07-19T10:47:11.290Z | 2,022 | 7 | 10 | 1 | 18 | 0 | 316 | 67 | 5 | 1 | true | true | false | false | false | false | zero |
73,035,644 | R8 minifyEnabled ExceptionInInitializerError | <p>I get this error when building for release.
This happens for release only. The error doesn't appear for debuggable or when I set the flag -dontobfuscate
How can I tell which classes are being stripped?</p>
<pre><code>java.lang.ExceptionInInitializerError
at androidx.fragment.app.FragmentHostCallback.<init>... | I get this error when building for release. This happens for release only. The error doesn't appear for debuggable or when I set the flag -dontobfuscate How can I tell which classes are being stripped? [CODE] Proguard rules configuration [CODE] And this is my gradle file configuration [CODE] Thanks | android|proguard|android-r8 | 0 | 2022-07-19T10:56:06.553Z | 2,022 | 7 | 10 | 1 | 51 | 0 | 299 | 44 | 3 | 3 | true | true | false | false | false | false | zero |
73,035,657 | How to show error message using compose and a viewModel | <p>I want to display an error message with compose, this works the problem is that the viewModel state call always the state function</p>
<p>I have a <code>Textfield</code> like this</p>
<pre><code>class Test {
@Composable
fun Test() {
val viewModel:TestViewModel = viewModel()
var text by remem... | I want to display an error message with compose, this works the problem is that the viewModel state call always the state function I have a Textfield like this [CODE] The problem is everytime the recomposition happens, the val state by viewModel.viewState.observeAsState(EmailViewState.Nothing) is called with the latest... | android|android-jetpack-compose|textfield|android-viewmodel | 0 | 2022-07-19T10:56:57.467Z | 2,022 | 7 | 10 | 1 | 95 | 0 | 497 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,035,675 | Caused by: java.lang.RuntimeException: API key not found. Check that <meta-data android:name="com.google.android.geo.API_KEY" | <p>I am trying to compile a simple map display on in my activity, but the app keeps closing. This is my first time working with an API in Android Studio. Here is my complete manifest code. because when I debug the code it shows API key not found.<br />
Check that is in the element of AndroidManifest.xml</p>
<pre><cod... | I am trying to compile a simple map display on in my activity, but the app keeps closing. This is my first time working with an API in Android Studio. Here is my complete manifest code. because when I debug the code it shows API key not found. Check that is in the element of AndroidManifest.xml [CODE] Here is the compl... | java|android | 0 | 2022-07-19T10:58:07.837Z | 2,022 | 7 | 10 | 1 | 87 | 2 | 363 | 125 | 2 | 2 | true | false | false | false | false | false | zero |
73,035,725 | How to do string concatenate inside viewmodel observe? | <p>So the <code>Categories</code> here is a <code>List<Category></code> which has <code>id</code> and <code>name</code> attribute. I want to concat all of <code>category.name</code> elements in the list before I bind it to view. But the <code>categoryString</code> still <code>""</code>.</p>
<pre><code>p... | So the Categories here is a List<Category> which has id and name attribute. I want to concat all of category.name elements in the list before I bind it to view. But the categoryString still "" . [CODE] | android-studio|kotlin|android-layout | 0 | 2022-07-19T11:02:19.913Z | 2,022 | 7 | 11 | 1 | 17 | 0 | 211 | 54 | 3 | 1 | true | true | false | false | false | false | zero |
73,035,740 | Jetpack Compose not updating / recomposing Flow List Values from Room DB when DB Data is getting changed | <p>I'm trying to show a List of Items in my Android App. I'm using Jetpack Compose, Flows and RoomDB.</p>
<p>When <strong>launching the Activity all Items are shown without any problems</strong>, the <strong>Flow get's items collected</strong> and they are <strong>displayed</strong>.</p>
<p>But when I <strong>change</... | I'm trying to show a List of Items in my Android App. I'm using Jetpack Compose, Flows and RoomDB. When launching the Activity all Items are shown without any problems , the Flow get's items collected and they are displayed . But when I change some properties of the Item in the Database , the changes are not displayed ... | kotlin|android-room|android-jetpack-compose|kotlin-coroutines|kotlin-flow | 1 | 2022-07-19T11:03:17.137Z | 2,022 | 7 | 11 | 1 | 152 | 2 | 1,034 | 104 | 5 | 4 | true | false | false | false | false | false | low |
73,035,850 | Highlighted marker window cut off at the left corner of Chart MPAndroidChart | <p>I'm using a custom class for creating an MPAndroidChart marker. It's just a simple class where I'm using my own XML layout for creating a marker. I'm sending 35 entries to my chart and it's not scrollable. The problem is: if the highlight value at the beginning of the chart it's ok and marker window always sticks to... | I'm using a custom class for creating an MPAndroidChart marker. It's just a simple class where I'm using my own XML layout for creating a marker. I'm sending 35 entries to my chart and it's not scrollable. The problem is: if the highlight value at the beginning of the chart it's ok and marker window always sticks to le... | kotlin|mpandroidchart | 1 | 2022-07-19T11:10:26.210Z | 2,022 | 7 | 11 | 1 | 31 | 0 | 573 | 76 | 2 | 1 | true | true | false | false | false | false | low |
73,035,863 | Use Android Studio composable preview with multiple flavored projects | <p>I have a project with several flavors. Each of these flavors has its own configuration which is available as a json file in the assets folder in the respective project structure.</p>
<p>In the theme definition I read the JSON using Gson and cast it into a corresponding model.</p>
<p>My problem is now the following:<... | I have a project with several flavors. Each of these flavors has its own configuration which is available as a json file in the assets folder in the respective project structure. In the theme definition I read the JSON using Gson and cast it into a corresponding model. My problem is now the following: At runtime of the... | android|android-studio|android-jetpack-compose|preview|android-productflavors | 0 | 2022-07-19T11:11:26.487Z | 2,022 | 7 | 11 | 1 | 37 | 0 | 1,105 | 69 | 5 | 2 | true | true | false | false | false | false | zero |
73,035,982 | ClassNotFoundException rises from Custom Android Version (i.e., AOSP) when using DexClassLoader | <p>I want to call my <em><strong>kotlin</strong></em> library inside Android using <strong>DexClassLoader</strong> after converting my library & its dependencies jar files to dex files using <strong>d8</strong> tool.</p>
<p>The d8 tool is able to compile the library without any warnings but the dexClassLoader can't... | I want to call my kotlin library inside Android using DexClassLoader after converting my library & its dependencies jar files to dex files using d8 tool. The d8 tool is able to compile the library without any warnings but the dexClassLoader can't find kotlin.jvm.internal.Intrinsics class which I made sure it's there wh... | android|kotlin|dexclassloader|jdk-desugaring | 0 | 2022-07-19T11:21:24.193Z | 2,022 | 7 | 11 | 1 | 48 | 0 | 385 | 95 | 4 | 0 | false | true | false | false | false | false | zero |
73,036,031 | CustomMaterialDataPicker to select just one day | <p>I was developing an App where I need to implement the following component of android library: RangeDateSelector.</p>
<p>My main goal is limit the selection to just one day, instead of allow pick a range of days.</p>
<p>To do this I use my CustomDataPicker, which allow to select a range of dates:</p>
<p>CustomMateri... | I was developing an App where I need to implement the following component of android library: RangeDateSelector. My main goal is limit the selection to just one day, instead of allow pick a range of days. To do this I use my CustomDataPicker, which allow to select a range of dates: CustomMaterialDatePicker [CODE] And c... | android|kotlin | 0 | 2022-07-19T11:25:30.377Z | 2,022 | 7 | 11 | 1 | 32 | 0 | 870 | 47 | 2 | 2 | true | true | false | false | false | false | zero |
73,036,141 | How to use Workmanagement in flutter to run app when mobile in boot | <p>I want to run app on android tv when the android tv box connects with TV .</p>
<p>How can I do this by using Workmanagement ?</p> | I want to run app on android tv when the android tv box connects with TV . How can I do this by using Workmanagement ? | android|flutter | 0 | 2022-07-19T11:34:17.520Z | 2,022 | 7 | 11 | 1 | 12 | 0 | 118 | 67 | 2 | 0 | false | true | false | false | false | false | zero |
73,036,306 | None of the following functions can be called with the arguments supplied on koin in jetpack compose | <p>I am using koin <strong>v3.2.0</strong> in my jetpack compose application. I am getting weird issue on my <code>viewModelOf</code>. I imported correctly as well from the <a href="https://github.com/InsertKoinIO/koin-compose/blob/main/sample-compose/src/main/java/org/koin/sample/androidx/compose/di/appModule.kt" rel=... | I am using koin v3.2.0 in my jetpack compose application. I am getting weird issue on my viewModelOf . I imported correctly as well from the sample project . [CODE] AppModule.kt [CODE] MainActivityViewModel.kt [CODE] Image Error Error is too big I am short description. [CODE] Can somone guide me please. My Project on G... | android|kotlin|android-jetpack-compose|android-jetpack|koin | 0 | 2022-07-19T11:45:04.957Z | 2,022 | 7 | 11 | 1 | 106 | 1 | 332 | 100 | 5 | 4 | true | false | false | false | false | false | zero |
73,036,380 | Device Info JSON is empty on certain phones | <p>I want to send info about users device for better debugging. Its working on 90% of devices, but on some of them its returning empty <code>JSON</code> for some reason.</p>
<p>I know only about single case when its happening and its on <code>Samsung A71</code> (Android 11). I dont understand how BuildConfig is null or... | I want to send info about users device for better debugging. Its working on 90% of devices, but on some of them its returning empty JSON for some reason. I know only about single case when its happening and its on Samsung A71 (Android 11). I dont understand how BuildConfig is null or empty or Build data are missing. Co... | android | 0 | 2022-07-19T11:51:09.150Z | 2,022 | 7 | 11 | 1 | 25 | 0 | 330 | 43 | 1 | 1 | true | true | false | false | false | false | zero |
73,036,472 | Google Cloud TextToSpeech : java.io.IOException: The Application Default Credentials are not available | <p>I am trying to run the TextToSpeech code from <strong>Google Cloud TextToSpeech</strong> Service.</p>
<p>Curently stuck at <strong>Authentication</strong> part referring link <a href="https://cloud.google.com/docs/authentication/production" rel="nofollow noreferrer">Authenticating as a service account </a></p>
<p><s... | I am trying to run the TextToSpeech code from Google Cloud TextToSpeech Service. Curently stuck at Authentication part referring link Authenticating as a service account Below is the Code : [CODE] But getting below error on : [CODE] Also tried Explicit credentials : [CODE] But on device it gives error like : [CODE] And... | android|google-cloud-storage|google-authentication|google-text-to-speech | 0 | 2022-07-19T11:58:12.040Z | 2,022 | 7 | 11 | 1 | 95 | 1 | 566 | 102 | 4 | 6 | true | false | false | false | false | false | zero |
73,036,577 | Why I can only retrieve current location when already having permission? | <p>I want to handle something in my ViewModel whenever the current location retrieved. But it didn't work at the first time I start the app and approve the permission. Only be able to see some logs after I close and start the app again.</p>
<pre><code>init {
viewModelScope.launch {
locationRepository.locati... | I want to handle something in my ViewModel whenever the current location retrieved. But it didn't work at the first time I start the app and approve the permission. Only be able to see some logs after I close and start the app again. [CODE] My repository to connect the location data source as you can see [CODE] And the... | android|kotlin|location|kotlin-coroutines|clean-architecture | 0 | 2022-07-19T12:05:08.230Z | 2,022 | 7 | 12 | 1 | 46 | 1 | 406 | 72 | 5 | 3 | true | false | false | false | false | false | zero |
73,036,645 | How can I keep a countdown timer running even if I don't open the app for a long time? | <p>I've been making a timer app using CountDownTimer, and now I'm testing if it works properly. However, if I set a bit longer period, for example 1h30m, and close the app, it stops working, and when I open the app, it shows the initial screen, the timer I set disappears.
I tried to turn off "Battery Optimization&... | I've been making a timer app using CountDownTimer, and now I'm testing if it works properly. However, if I set a bit longer period, for example 1h30m, and close the app, it stops working, and when I open the app, it shows the initial screen, the timer I set disappears. I tried to turn off "Battery Optimization&quo... | android|android-studio|kotlin|countdowntimer | 0 | 2022-07-19T12:09:34.863Z | 2,022 | 7 | 12 | 1 | 84 | 1 | 417 | 86 | 4 | 0 | false | false | false | false | false | false | zero |
73,036,723 | How to Store an YEAR from DatePickerDialog in Kotlin? | <p>So basically i want to get the year from the user using the datePickerDialog and then substract that year to the current year. Till this i have no issues.
The problem is i have button created and want users to get a Toast message if they haven't chosen the date. I am using <strong>if else</strong> and validating the... | So basically i want to get the year from the user using the datePickerDialog and then substract that year to the current year. Till this i have no issues. The problem is i have button created and want users to get a Toast message if they haven't chosen the date. I am using if else and validating the Year when the dateP... | android|android-studio|kotlin | 0 | 2022-07-19T12:14:12.153Z | 2,022 | 7 | 12 | 1 | 31 | 1 | 443 | 53 | 3 | 1 | true | false | false | false | false | false | zero |
73,036,729 | Skip an already reviewed android app version on Play Store | <p>Due to some reason, I do not wish to publish the already reviewed, App on Play Store. (Let's call this the buggy version - v1.0.3(5))</p>
<p>I have a new version uploaded with bugs fixed and version updated - v1.0.4(6)</p>
<p>I have Managed Publishing turned on.</p>
<p>What will be the behaviour after I click on pub... | Due to some reason, I do not wish to publish the already reviewed, App on Play Store. (Let's call this the buggy version - v1.0.3(5)) I have a new version uploaded with bugs fixed and version updated - v1.0.4(6) I have Managed Publishing turned on. What will be the behaviour after I click on publish changes. (When both... | android|google-play|google-play-console | 0 | 2022-07-19T12:14:25.157Z | 2,022 | 7 | 12 | 1 | 43 | 1 | 418 | 58 | 3 | 0 | false | false | false | false | false | false | zero |
73,036,759 | Crash with recyclerView on fragment in basic activity | <p>My project to make recycler View with dynamic list which is defined on Note type List on fragment in Basic Activity, first step for me to code the adapter, and cause am just at beginner level, I have no Experience about that in the lessons I don't Know why the application crash.</p>
<p>I hope to know the reason... | My project to make recycler View with dynamic list which is defined on Note type List on fragment in Basic Activity, first step for me to code the adapter, and cause am just at beginner level, I have no Experience about that in the lessons I don't Know why the application crash. I hope to know the reason I did not chan... | java|android-fragments|android-recyclerview|dynamic|android-arrayadapter | 0 | 2022-07-19T12:16:35.993Z | 2,022 | 7 | 12 | 1 | 42 | 0 | 480 | 53 | 5 | 6 | true | true | false | false | false | false | zero |
73,036,881 | How to trigger a paste action into currently focused input view? | <p>I'm currently implementing a clipboard manager feature for a custom keyboard application.
Recording the clipboard history has been pretty straight forward, however I now need to implement a pasting functionality.</p>
<p>Whenever a user selects an item from the clipboard history, the currently focused input view must... | I'm currently implementing a clipboard manager feature for a custom keyboard application. Recording the clipboard history has been pretty straight forward, however I now need to implement a pasting functionality. Whenever a user selects an item from the clipboard history, the currently focused input view must be filled... | android | 0 | 2022-07-19T12:25:32.763Z | 2,022 | 7 | 12 | 1 | 19 | 0 | 513 | 64 | 1 | 0 | false | true | false | false | false | false | zero |
73,036,929 | WhatsApp sticker whitelist returns false for both true and false when received result in React Native | <p>I am using a code snippet from whatsapp to if sticker is whitelisted or not.
It always returns false while in logs it shows proper result.</p>
<pre class="lang-java prettyprint-override"><code> if (cursor != null && cursor.moveToFirst()) {
final int whiteListResult = cursor... | I am using a code snippet from whatsapp to if sticker is whitelisted or not. It always returns false while in logs it shows proper result. [CODE] | java|android|react-native|whatsapp|whatsapp-stickers | -1 | 2022-07-19T12:28:23.663Z | 2,022 | 7 | 12 | 1 | 31 | 1 | 145 | 101 | 5 | 1 | true | false | false | false | false | true | negative |
73,037,029 | Facing issues with retrofit in kotlin. in mvvm and dagger | <p>I am trying to parse this json response using retrofit and kotlin in mvvm
<code>{ "statusCode":200, "status":true, "dataObject":[ { "myHierarchy":[ { "heirarchyList":[ { "contactName":"name1", "contactNumber":"9182928292", &quo... | I am trying to parse this json response using retrofit and kotlin in mvvm { "statusCode":200, "status":true, "dataObject":[ { "myHierarchy":[ { "heirarchyList":[ { "contactName":"name1", "contactNumber":"9182928292", "designa... | android|android-studio|kotlin|mvvm|retrofit | 0 | 2022-07-19T12:35:49.883Z | 2,022 | 7 | 12 | 1 | 27 | 0 | 896 | 57 | 5 | 1 | true | true | false | false | false | false | zero |
73,037,030 | How to make the android app fit all Screen Sizes? | <p>I have a customized application , i install the app for select users . My application has separate drawable for each sizes (no problems with the drawables) , but my textViews and other content sizes does not change as per screen size . i have dimens values and i use only these 3 values across my 60 layouts, but Each... | I have a customized application , i install the app for select users . My application has separate drawable for each sizes (no problems with the drawables) , but my textViews and other content sizes does not change as per screen size . i have dimens values and i use only these 3 values across my 60 layouts, but Each ti... | android|android-layout|android-screen-support | 0 | 2022-07-19T12:35:50.613Z | 2,022 | 7 | 12 | 1 | 37 | 1 | 562 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
73,037,067 | ANR on FirebaseInstanceIdReceiver | <p>I'm getting the following error in my play console without any stack trace (on android 7 and 10).</p>
<pre><code>Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000010 pkg=com.mycompany.myapp cmp=com.mycompany.myapp/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) }
</code></p... | I'm getting the following error in my play console without any stack trace (on android 7 and 10). [CODE] Firebase version used, [CODE] I don't know which part of my code exactly causing this error, I'm posting the code that is responsible for uploading the FCM token to my server. MyFirebaseMessagingService, [CODE] Toke... | android|firebase|firebase-cloud-messaging | 1 | 2022-07-19T12:38:42.497Z | 2,022 | 7 | 12 | 1 | 248 | 4 | 565 | 33 | 3 | 4 | true | false | false | false | false | false | low |
73,037,168 | Algorithm to calculate "skippable days" for a 3 times per week habit tracker | <p>I have a habit app where you can do something 3 times per week, you can choose which days of the week freely, if all three times that week are finished, I want all other days to be automatically seen as skipped instead of undone.<a href="https://i.stack.imgur.com/yRYd2.png" rel="nofollow noreferrer"><img src="https:... | I have a habit app where you can do something 3 times per week, you can choose which days of the week freely, if all three times that week are finished, I want all other days to be automatically seen as skipped instead of undone. checked = done, horizontal = skipped, no marking = failed I've figured it out for future s... | android|algorithm | 0 | 2022-07-19T12:45:24.320Z | 2,022 | 7 | 12 | 1 | 34 | 1 | 476 | 76 | 2 | 1 | true | false | false | false | false | false | zero |
73,037,256 | How to query many to many relationship in Firebase for Android? | <p>I'm trying to build a simple shopping list android app with a firebase database.</p>
<p>Quick context:
User registers with email and should be able to create a group to share a shopping list that belongs to the group (and all the members of the group). And then later on shopping list items are added to the shopping ... | I'm trying to build a simple shopping list android app with a firebase database. Quick context: User registers with email and should be able to create a group to share a shopping list that belongs to the group (and all the members of the group). And then later on shopping list items are added to the shopping list. I'm ... | android|firebase|firebase-realtime-database|many-to-many | 0 | 2022-07-19T12:52:07.483Z | 2,022 | 7 | 12 | 1 | 27 | 1 | 1,760 | 63 | 4 | 1 | true | false | false | false | false | false | zero |
73,037,305 | Realm Unit Test copyToRealmOrUpdate using PowerMockito | <p>I want to know if we can test <code>copyToRealmOrUpdate</code> with <code>executeTransaction</code></p>
<p>I'm trying to follow this example <a href="https://github.com/realm/realm-java/blob/master/examples/unitTestExample/src/test/java/io/realm/examples/unittesting/ExampleActivityTest.java" rel="nofollow noreferrer... | I want to know if we can test copyToRealmOrUpdate with executeTransaction I'm trying to follow this example this Link I'm getting error on the line with arrow [CODE] Argument should be a mock, but is: class java.lang.Class org.mockito.exceptions.misusing.NotAMockException: Argument should be a mock, but is: class java.... | android|unit-testing|junit|realm|powermockito | 0 | 2022-07-19T12:55:16.303Z | 2,022 | 7 | 12 | 1 | 15 | 0 | 446 | 54 | 5 | 2 | true | true | false | false | false | false | zero |
73,037,379 | App crash after sending message to Firebase Database? | <p>So I use Firebase Realtime Database for messaging feature and when I send a message, the following error comes out, and the app crash. Later on, the chatting activity keeps crashing, and need to delete the message on Firebase manually to be able to reopen the chatting activity.</p>
<pre><code>2022-07-19 22:56:27.078... | So I use Firebase Realtime Database for messaging feature and when I send a message, the following error comes out, and the app crash. Later on, the chatting activity keeps crashing, and need to delete the message on Firebase manually to be able to reopen the chatting activity. [CODE] Reading message code: [CODE] JSON ... | android|firebase|kotlin|google-cloud-platform|firebase-realtime-database | 0 | 2022-07-19T13:00:02.863Z | 2,022 | 7 | 13 | 1 | 119 | 1 | 374 | 53 | 5 | 4 | true | false | false | false | false | false | zero |
73,037,389 | Why are there only five states in Lifecycle in android? | <p>I had always thought that onStop had a corresponding state of STOPPED, but when I looked at Lifecycle.state, there are only five. There are no STOPPED OR PAUSED, OR RESTARTED.
My question is if there is not a STOPPED state, why is onStop able to work?</p> | I had always thought that onStop had a corresponding state of STOPPED, but when I looked at Lifecycle.state, there are only five. There are no STOPPED OR PAUSED, OR RESTARTED. My question is if there is not a STOPPED state, why is onStop able to work? | android|lifecycle | 0 | 2022-07-19T13:00:30.453Z | 2,022 | 7 | 13 | 1 | 31 | 1 | 251 | 55 | 2 | 0 | false | false | false | false | false | false | zero |
73,037,398 | How to get screen orientation (including upside down options) now that getDefaultDisplay() is deprecated? | <p>I've been using this code for many years and it works perfectly:</p>
<pre><code>final int orientation = myActivity.getWindowManager().getDefaultDisplay().getRotation() * 90;
</code></pre>
<p>The <code>* 90</code> part happens to yield rotation in degrees, which is convenient but not essential. The main point is that... | I've been using this code for many years and it works perfectly: [CODE] The * 90 part happens to yield rotation in degrees, which is convenient but not essential. The main point is that it returns 0, 1, 2 or 3 and lets you distinguish "normal" portrait / landscape from their upside down variants. The current ... | android|orientation | 0 | 2022-07-19T13:01:12.567Z | 2,022 | 7 | 13 | 1 | 32 | 1 | 587 | 105 | 2 | 1 | true | false | false | false | false | false | zero |
73,037,399 | The onItemChangeListener crashes | <p>So I am currently working on a spinner that changes entries in a list. When loading into the Fragment and loading the List into the spinner adapter and setting up the onItemChangedListener everything works fine. But when the App goes to another Fragment and then goes back the app crashes with the following exception... | So I am currently working on a spinner that changes entries in a list. When loading into the Fragment and loading the List into the spinner adapter and setting up the onItemChangedListener everything works fine. But when the App goes to another Fragment and then goes back the app crashes with the following exception: [... | android|kotlin|spinner | 0 | 2022-07-19T13:01:14.520Z | 2,022 | 7 | 13 | 1 | 29 | 1 | 380 | 32 | 3 | 2 | true | false | false | false | false | false | zero |
73,037,488 | moving the code to the activity java class (making two java classes into one) | <p>I have codes in two classes</p>
<p>First class is ExampleBroadcastReceiver:</p>
<pre><code>public class ExampleBroadcastReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
if (ConnectivityManager.CONNECTIVITY_ACTION.equals(intent.getAction())) {
... | I have codes in two classes First class is ExampleBroadcastReceiver: [CODE] Second class is MainActivity: [CODE] How can I make the two classes into one by passing the code from the ExampleBroadcastReceiver class to MainActivity? Is it possible? Please don't ask why. Thanks. | java|android|android-studio | 0 | 2022-07-19T13:06:20.450Z | 2,022 | 7 | 13 | 1 | 40 | 1 | 275 | 77 | 3 | 2 | true | false | false | false | false | false | zero |
73,037,533 | React native apps too large size | <p>Am working on app development using react native,am getting one problem after i convert the react code into apk file,The size of the app gets too large around 60 to 70 mb even though there is only one screen in the app with two three ui components,How can i reduce the size?</p> | Am working on app development using react native,am getting one problem after i convert the react code into apk file,The size of the app gets too large around 60 to 70 mb even though there is only one screen in the app with two three ui components,How can i reduce the size? | javascript|android|reactjs|react-native|expo | 0 | 2022-07-19T13:08:52.340Z | 2,022 | 7 | 13 | 1 | 38 | 0 | 274 | 32 | 5 | 0 | false | true | false | false | false | false | zero |
73,037,539 | Can't override styles of a library (Android) | <p>I have a library which has its own Activity. I want to override some styles (colors and strings). With strings all OK, but I can't override any colors.</p>
<ol>
<li><p>Manifest:
(not working)</p>
<pre><code><uses-sdk tools:overrideLibrary="com.iproov.sdk" />
<activity
android:name=".ui.TestA... | I have a library which has its own Activity. I want to override some styles (colors and strings). With strings all OK, but I can't override any colors. Manifest: (not working) [CODE] onCreate of this activity (setTheme not working): [CODE] Here is my CustomTestActivity (I also add tools:override="true" to col... | android|android-styles | 0 | 2022-07-19T13:09:20.477Z | 2,022 | 7 | 13 | 1 | 30 | 0 | 356 | 44 | 2 | 3 | true | true | false | false | false | false | zero |
73,037,608 | Problem with voice recognition in Greek Language in Android | Chrome | <p>I have a problem that I searched everywhere but I didn't find a solution.</p>
<p>So I will tell you what I want to do.
I have 3 inputs "text" and I want the user to press a button and to say something and fill the first input, after to fill the second and after the third. Between in three steps I want to s... | I have a problem that I searched everywhere but I didn't find a solution. So I will tell you what I want to do. I have 3 inputs "text" and I want the user to press a button and to say something and fill the first input, after to fill the second and after the third. Between in three steps I want to show alert ... | jquery|speech-recognition|speech-to-text|android-chrome | 0 | 2022-07-19T13:14:06.727Z | 2,022 | 7 | 13 | 1 | 55 | 0 | 988 | 68 | 4 | 1 | true | true | false | false | false | false | zero |
73,037,645 | expo/react-native: How to play a scheduled sound while app in the background (Alarm App) | <p><strong>For context:</strong> I'm developing an alarm app, which needs to play a sound at a certain time, even when the app is not running/not in the foreground. Preferably, it should wake up the screen and open the alarm page where the user can shut it off (but at this point I'd be happy if it rings or does anythin... | For context: I'm developing an alarm app, which needs to play a sound at a certain time, even when the app is not running/not in the foreground. Preferably, it should wake up the screen and open the alarm page where the user can shut it off (but at this point I'd be happy if it rings or does anything at all) The issue:... | android|react-native|expo|alarm | 1 | 2022-07-19T13:16:32.240Z | 2,022 | 7 | 13 | 1 | 84 | 0 | 1,920 | 88 | 4 | 2 | true | true | false | false | false | false | low |
73,037,833 | Android Studio Kotlin Recyclerview how to do multiple type view for specific object feature? | <p>I have data from RickandMorty Api and saving them on CharacterList and I am showing them in a recyclerview.I have name,location and status informations and showing them in cards.I have another carditem for displaying dead users and I want to show Alive persons in default card and Dead persons in another carditem (De... | I have data from RickandMorty Api and saving them on CharacterList and I am showing them in a recyclerview.I have name,location and status informations and showing them in cards.I have another carditem for displaying dead users and I want to show Alive persons in default card and Dead persons in another carditem (Defau... | android|kotlin|android-recyclerview|retrofit|cardview | -1 | 2022-07-19T13:27:33.767Z | 2,022 | 7 | 13 | 1 | 179 | 2 | 743 | 92 | 5 | 3 | true | false | false | false | false | true | negative |
73,038,076 | How can I detect click of AutocompleteSupportFragment in Android | <p>I have implemented AutocompleteSupportFragment to search for <a href="https://developers.google.com/maps/documentation/places/android-sdk/autocomplete" rel="nofollow noreferrer">places</a> in Android. When we click on the autocompleteFragment in the layout, it opens the places search fragment as overlay.</p>
<p>I ne... | I have implemented AutocompleteSupportFragment to search for places in Android. When we click on the autocompleteFragment in the layout, it opens the places search fragment as overlay. I need to detect that click on its search box that opens the overlay. If I override the click listener on the view, then the original c... | android|google-places-api|googleplacesautocomplete | 2 | 2022-07-19T13:42:11.383Z | 2,022 | 7 | 13 | 1 | 21 | 0 | 443 | 64 | 3 | 1 | true | true | false | false | false | false | low |
73,038,198 | Can't solve error regarding 'org.codeaurora.qcamera3.exposure_metering.exposure_metering_mode' | <p>I am working on an android application with AR elements. When it is redirecting me from the onboarding screen to the AR screen it crashes with the following error.</p>
<pre><code>java.lang.IllegalArgumentException: Could not find tag for key 'org.codeaurora.qcamera3.exposure_metering.exposure_metering_mode')
... | I am working on an android application with AR elements. When it is redirecting me from the onboarding screen to the AR screen it crashes with the following error. [CODE] It works fine on android API level 31 and the crash only happens on level 29 . Does anybody have any idea what is causing this error? | android|kotlin|arcore|android-camera2|sceneform | 0 | 2022-07-19T13:49:41.003Z | 2,022 | 7 | 13 | 1 | 45 | 1 | 304 | 94 | 5 | 1 | true | false | false | false | false | false | zero |
73,038,203 | how to get actual path of a file picked in jetpack compose? | <p>how to get actual path of a file picked in jetpack compose and upload in via retrofit.i had tried to get path via content resolver but it returning "ERROR: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is correctly initialized before accessing data"</p> | how to get actual path of a file picked in jetpack compose and upload in via retrofit.i had tried to get path via content resolver but it returning "ERROR: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is correctly initialized before accessing data" | android|kotlin|android-jetpack-compose | 0 | 2022-07-19T13:49:54.477Z | 2,022 | 7 | 13 | 1 | 60 | 0 | 281 | 59 | 3 | 0 | false | true | false | false | false | false | zero |
73,038,274 | How to move the image as transparent after erasing background to other screen? | <p>I'm developing a photo editing app, in that I have a feature to add the image to other image as transparent after editing in the app. So I can able to erase the background of the image. But I don't know how to move the background erased image to other screen , like how we do for the normal image. Now if I move the t... | I'm developing a photo editing app, in that I have a feature to add the image to other image as transparent after editing in the app. So I can able to erase the background of the image. But I don't know how to move the background erased image to other screen , like how we do for the normal image. Now if I move the tran... | kotlin|android-jetpack-compose|android-canvas | 0 | 2022-07-19T13:54:19.690Z | 2,022 | 7 | 13 | 1 | 21 | 0 | 422 | 78 | 3 | 1 | true | true | false | false | false | false | zero |
73,038,308 | How do i add permissions to AndroidManifest via expo plugins? | <p>My expo react native application comunicates with a zebra printer via a HTTP post request this works just fine in web , however on android and I suspect also iOS this isnt the case, from what i gather i need to add something along the lines of :</p>
<p><code><uses-permission android:name="android.permission.... | My expo react native application comunicates with a zebra printer via a HTTP post request this works just fine in web , however on android and I suspect also iOS this isnt the case, from what i gather i need to add something along the lines of : <uses-permission android:name="android.permission.INTERNET" /> I... | android|react-native|http|expo|zebra-printers | 0 | 2022-07-19T13:56:51.357Z | 2,022 | 7 | 13 | 1 | 193 | 1 | 722 | 61 | 5 | 1 | true | false | false | false | false | false | zero |
73,038,311 | How to update insert delete to Contentprovider with nosql | <p>I am not using sql db. a single key contains all my data as list of object.
(key:list)</p>
<p>How would I remove or insert or update the files and object holding paths of those files and also effect on content provider so that third party apps should know the changes and also dir, key-value storage and content provi... | I am not using sql db. a single key contains all my data as list of object. (key:list) How would I remove or insert or update the files and object holding paths of those files and also effect on content provider so that third party apps should know the changes and also dir, key-value storage and content provider all sh... | android|android-contentprovider | 0 | 2022-07-19T13:56:58.690Z | 2,022 | 7 | 13 | 1 | 14 | 0 | 1,118 | 57 | 2 | 2 | true | true | false | false | false | false | zero |
73,038,340 | Flutter When I use a textfield on the page I designed with expanded, everything gets smaller when the keyboard is opened | <p>When I use a textfield on the page I designed with expanded, everything gets shrink when the keyboard is opened. How can i disable this.</p> | When I use a textfield on the page I designed with expanded, everything gets shrink when the keyboard is opened. How can i disable this. | android|flutter|dart|android-layout|flutter-responsive-layout | 1 | 2022-07-19T13:59:27.190Z | 2,022 | 7 | 13 | 1 | 33 | 2 | 136 | 120 | 5 | 0 | false | false | false | false | false | false | low |
73,038,356 | Xbee to Xbee communication using android app | <p>I am currently trying to build an app on Android that will let me connect a Xbee to my phone through a OTG cable, then send data to an Arduino based on input from the app. I have seen lots of posts about similar projects, but I cant seem to find any that give good documentation on exactly how to do this.</p>
<p>Any ... | I am currently trying to build an app on Android that will let me connect a Xbee to my phone through a OTG cable, then send data to an Arduino based on input from the app. I have seen lots of posts about similar projects, but I cant seem to find any that give good documentation on exactly how to do this. Any help is ap... | android|xbee | 0 | 2022-07-19T14:00:56.733Z | 2,022 | 7 | 14 | 1 | 26 | 0 | 398 | 44 | 2 | 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.