id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,280,547 | Scrim color change callback on CollapsingToolbarLayout? | <p><strong>Problem</strong></p>
<p><strong>Given</strong> the following view hierarchy</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http... | Problem Given the following view hierarchy [CODE] When a user scrolls the list Then status bar background color should change as per the top navigation bar's background at-least in expanded and collapsed state. Current Solution Implement a custom OnOffsetChangedListener [CODE] Set an instance of AppBarLayoutOffsetState... | android|android-layout | 0 | 2022-05-17T20:51:38.767Z | 2,022 | 5 | 20 | 1 | 30 | 0 | 741 | 55 | 2 | 3 | true | true | false | false | false | false | zero |
72,280,663 | Android Databinding Initial Value | <p>I have been working on a project where I am implementing databinding for a while now. I understand a lot about how databinding works but there is one thing that has been bothering me and I would like to get a definitive answer.</p>
<h3>Main Question</h3>
<p>When is a databound variables default displayed, if ever?</... | I have been working on a project where I am implementing databinding for a while now. I understand a lot about how databinding works but there is one thing that has been bothering me and I would like to get a definitive answer. Main Question When is a databound variables default displayed, if ever? Example I am trying ... | java|android|android-databinding | 0 | 2022-05-17T21:03:37.990Z | 2,022 | 5 | 21 | 1 | 19 | 0 | 1,017 | 33 | 3 | 0 | false | true | false | false | false | false | zero |
72,280,735 | Execute in a separate thread | <p>I have a small application which is responsible for intercepting requests and responses. Forms them into a package and can save them to local storage. I'm using the Room library to save data locally.</p>
<p>My code (shown below) is working, but it has a small brake in the form of allowMainThreadQueries() when buildi... | I have a small application which is responsible for intercepting requests and responses. Forms them into a package and can save them to local storage. I'm using the Room library to save data locally. My code (shown below) is working, but it has a small brake in the form of allowMainThreadQueries() when building. I know... | android|kotlin|android-room | 0 | 2022-05-17T21:14:07.020Z | 2,022 | 5 | 21 | 1 | 64 | 1 | 497 | 28 | 3 | 1 | true | false | false | false | false | false | zero |
72,280,748 | AlarmManager does not cancel alarm properly | <p>I've got the following code which gets called once the user starts the application/Activity:</p>
<pre><code>SharedPreferences prefs = (getSharedPreferences(AppConstants.SETTINGS, MODE_PRIVATE));
boolean isNotifyReminder = prefs.getBoolean(AppConstants.IS_NOTIFY_REMINDER_ACTIVATED, true);
AlarmManager alarmManager = ... | I've got the following code which gets called once the user starts the application/Activity: [CODE] The code works wo any issues when the alarm is active. However when deleting the alarm, I always enter the delete function, even tough I already canceled the alarm. The PendingIntents are equal for creating and deleting ... | android|android-intent|alarmmanager|android-pendingintent|android-alarms | 0 | 2022-05-17T21:15:15.683Z | 2,022 | 5 | 21 | 1 | 25 | 0 | 411 | 43 | 5 | 1 | true | true | false | false | false | false | zero |
72,280,787 | How to see the output of my android app through command line (not only Log.d output, and not only while running) | <p>I tried all answers at <a href="https://stackoverflow.com/questions/7537419/how-to-filter-android-logcat-by-application">How to filter Android logcat by application?</a> but some of them only work when the app is running, or some require logging in to the device via shell.</p>
<p>If I run those commands before my ap... | I tried all answers at How to filter Android logcat by application? but some of them only work when the app is running, or some require logging in to the device via shell. If I run those commands before my app is running, I get the entire log output because there's no PID for my app yet. Example: [CODE] requires the ap... | android|adb | 0 | 2022-05-17T21:19:56.443Z | 2,022 | 5 | 21 | 1 | 288 | 0 | 817 | 112 | 2 | 2 | true | true | false | false | false | false | zero |
72,280,840 | Android App not responding after music service has started | <p>I have an android app in which I have an activity and a service.
The service is supposed to play music and switch between four songs (depends on what button you press)</p>
<p>The problem is that a few minutes/seconds (it's not always at the same time) after you start the service by playing a song a notification pop ... | I have an android app in which I have an activity and a service. The service is supposed to play music and switch between four songs (depends on what button you press) The problem is that a few minutes/seconds (it's not always at the same time) after you start the service by playing a song a notification pop ups which ... | java|android|android-studio|service | 0 | 2022-05-17T21:26:01.603Z | 2,022 | 5 | 21 | 1 | 20 | 0 | 861 | 58 | 4 | 2 | true | true | false | false | false | false | zero |
72,280,885 | How do I disable zooming on iframe | <p>I am embedding a webpage on my WordPress site with iframe
On the embedded webpage users write some text on the textareas,
the issue is;
when I click on the textarea on iframe, it zooms and my device becomes pretty much unresponsive. I am using chrome on Samsung S21.</p>
<p>I did try the viewport trick,
it did not w... | I am embedding a webpage on my WordPress site with iframe On the embedded webpage users write some text on the textareas, the issue is; when I click on the textarea on iframe, it zooms and my device becomes pretty much unresponsive. I am using chrome on Samsung S21. I did try the viewport trick, it did not work. Hope s... | javascript|android|html|css|viewport | 0 | 2022-05-17T21:30:57.040Z | 2,022 | 5 | 21 | 1 | 109 | 0 | 351 | 34 | 5 | 0 | false | true | false | false | false | false | zero |
72,280,964 | Change the default accessibility focus for a compose screen | <p>I am trying to change the default focus from the top left to a different composable when the screen displays. I am attempting to get Talkback to read the text that is further down instead of the top-left button.</p>
<pre><code>@Composable
fun Screen() {
val requester = FocusRequester()
Column {
Top()... | I am trying to change the default focus from the top left to a different composable when the screen displays. I am attempting to get Talkback to read the text that is further down instead of the top-left button. [CODE] This code will work if a LaunchedEffect is used and the requestFocus call is delayed for 550. I suspe... | android|kotlin|accessibility | 1 | 2022-05-17T21:40:20.177Z | 2,022 | 5 | 21 | 1 | 310 | 0 | 509 | 59 | 3 | 1 | true | true | false | false | false | false | low |
72,281,047 | Android getActivity() Context Goes Stale Over Time in PopupWindow | <p>I have an app that uses a <code>popupWindow</code> for user chat. It is launched from a <code>Fragment</code>, and the supplied <code>context</code> is <code>getActivity()</code>. I will be typing in the <code>popupWindow</code>'s <code>multilineEditText</code> and, after about 5 minutes or so, I will consistently g... | I have an app that uses a popupWindow for user chat. It is launched from a Fragment , and the supplied context is getActivity() . I will be typing in the popupWindow 's multilineEditText and, after about 5 minutes or so, I will consistently get a crash with this error: [CODE] I know this isn't super helpful in explaini... | java|android|android-fragments|android-context|android-popupwindow | 0 | 2022-05-17T21:52:15.603Z | 2,022 | 5 | 21 | 1 | 60 | 1 | 607 | 65 | 5 | 2 | true | false | false | false | false | false | zero |
72,281,072 | Screenshotting ADB using Python | <p>so I am trying to screenshot adb and handle it purely from Python hence there will be no files saved on the users device.</p>
<p>I created the following helper functions in order to do so</p>
<pre><code>def adb_run(command, verbose=False):
result = subprocess.run([r"D:\Program Files\Nox\bin\adb.exe"] +... | so I am trying to screenshot adb and handle it purely from Python hence there will be no files saved on the users device. I created the following helper functions in order to do so [CODE] I then called the screencap() function and wrote it to a file, the content seems to be a valid PNG file, but I am not able to load t... | python|android|adb|nox | 0 | 2022-05-17T21:55:58.810Z | 2,022 | 5 | 21 | 1 | 112 | 1 | 472 | 31 | 4 | 2 | true | false | false | false | false | false | zero |
72,281,080 | How to add data to spatialite table in android studio | <p>I try to make an app with spatialite. I try several methods. Finally, I try with <a href="https://github.com/sevar83/android-spatialite" rel="nofollow noreferrer">https://github.com/sevar83/android-spatialite</a> and follow bellow steps:
1 - Create a spatialite database with QGIS.
2 - Copy it to assets folder in and... | I try to make an app with spatialite. I try several methods. Finally, I try with https://github.com/sevar83/android-spatialite and follow bellow steps: 1 - Create a spatialite database with QGIS. 2 - Copy it to assets folder in android studio. 3 - implementation 'com.github.sevar83:android-spatialite:2.0.1' in build.gr... | android|android-studio|spatialite | 0 | 2022-05-17T21:57:12.027Z | 2,022 | 5 | 21 | 1 | 32 | 0 | 841 | 53 | 3 | 2 | true | true | false | false | false | false | zero |
72,281,167 | How to program an application on launch to close and automatically open the home screen (Launcher) (Wear OS) | <p>I am a beginner to programming in general and never have I programmed in Android Studio so I am probably doing all sorts wrong.</p>
<p>I just wanted to make a very simple app for my WearOS 3 (Based on Android 11) watch.</p>
<p>On launch of the application from any area (the apk) I want it to open the home screen (de... | I am a beginner to programming in general and never have I programmed in Android Studio so I am probably doing all sorts wrong. I just wanted to make a very simple app for my WearOS 3 (Based on Android 11) watch. On launch of the application from any area (the apk) I want it to open the home screen (default Launcher). ... | android|wear-os | 1 | 2022-05-17T22:06:44.413Z | 2,022 | 5 | 22 | 1 | 81 | 1 | 574 | 108 | 2 | 1 | true | false | false | false | false | false | low |
72,281,246 | How to change size image of splash by using migrate? | <p>I I try to make splash screen by using <a href="https://developer.android.com/guide/topics/ui/splash-screen/migrate" rel="nofollow noreferrer">migrate</a>. But I do not change resize image that I used. Here is <a href="https://i.stack.imgur.com/VUThE.png" rel="nofollow noreferrer">my picture</a>.
What I do:</p>
<pre... | I I try to make splash screen by using migrate . But I do not change resize image that I used. Here is my picture . What I do: [CODE] I added this implementation to gradle. I made theme part like this I put this theme in manifest. Finally, I added this in main activity I hope, someone can solve this problem. | android|splash-screen|android-splashscreen | 0 | 2022-05-17T22:17:01.030Z | 2,022 | 5 | 22 | 1 | 233 | 2 | 309 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
72,281,375 | C++ Builder 11.1 Android can't write a file to the Shared Documents folder | <p>I am having difficulty with C++ Builder 11.1 Android trying to write a file to the Shared Documents folder. It worked with C++ Builder 10.3.1 but it doesn't work in 11.1</p>
<p>I have the permissions set properly in the Project Options Dialog box:
Dangerous - Read External Storage = true
Dangerous - Write External ... | I am having difficulty with C++ Builder 11.1 Android trying to write a file to the Shared Documents folder. It worked with C++ Builder 10.3.1 but it doesn't work in 11.1 I have the permissions set properly in the Project Options Dialog box: Dangerous - Read External Storage = true Dangerous - Write External Storage = t... | android|c++|permissions|c++builder | 0 | 2022-05-17T22:32:29.487Z | 2,022 | 5 | 22 | 1 | 113 | 1 | 541 | 74 | 4 | 2 | true | false | false | false | false | false | zero |
72,281,431 | Importance of the high order bits from Android memory allocations? | <p>We’re using Visual Studio to develop our Android app and have recently moved from Microsoft’s Cross Platform environment to Google’s new “Android Game Development Extension” (AGDE). This change moved us from NDK 21 to 22, and we’re now seeing a slight difference in the addresses we’re getting from the memory alloca... | We’re using Visual Studio to develop our Android app and have recently moved from Microsoft’s Cross Platform environment to Google’s new “Android Game Development Extension” (AGDE). This change moved us from NDK 21 to 22, and we’re now seeing a slight difference in the addresses we’re getting from the memory allocators... | android|memory-management|android-ndk|dynamic-memory-allocation|android-agde | 0 | 2022-05-17T22:42:42.067Z | 2,022 | 5 | 22 | 1 | 36 | 1 | 1,148 | 66 | 5 | 0 | false | false | false | false | false | false | zero |
72,281,499 | Trying to read external file in flutter application | <p>I am developing mobile application where I have external document (TXT file) to read the strings from, but I keep having this error saying that no such directory as shown below</p>
<pre><code>E/flutter ( 8649): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: FileSystemException: Cannot open file, p... | I am developing mobile application where I have external document (TXT file) to read the strings from, but I keep having this error saying that no such directory as shown below [CODE] Below is my file utility codes [CODE] Please help me out, Thanks | android|flutter|dart | 0 | 2022-05-17T22:53:05.943Z | 2,022 | 5 | 22 | 1 | 88 | 1 | 248 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
72,281,540 | Remove shadow between cards on same elevation | <p>Given the following composable</p>
<pre><code>Column(
modifier = Modifier.padding(top = 32.dp),
horizontalAlignment = Alignment.CenterHorizontally
) {
Card(
modifier = Modifier.size(100.dp),
shape = MaterialTheme.shapes.medium.copy(
bottomStart = CornerSize(0),
bot... | Given the following composable [CODE] Is it possible to remove the shadows/lines between cards shown by the red arrow in the image above so it appears as one long card? Edit (Adding Context): The above is a very simplified version of the issue. What I want is a list of cards where each card represents a section. A sect... | android|android-jetpack-compose|android-cardview | 0 | 2022-05-17T22:57:16.327Z | 2,022 | 5 | 22 | 1 | 106 | 0 | 711 | 45 | 3 | 1 | true | true | false | false | false | false | zero |
72,281,641 | can't add type ColumnInfo database with references to other class | <p>Hi i'm new to android and i have a problem. I can't add type Terminous ColumnInfo into database.
The class constructor Line, has a reference to another class called Terminus.
My code is:</p>
<pre><code>@Entity
public class Line{
@ColumnInfo(name = "station")
private Terminous x;
@PrimaryKey
@... | Hi i'm new to android and i have a problem. I can't add type Terminous ColumnInfo into database. The class constructor Line, has a reference to another class called Terminus. My code is: [CODE] And Terminus class is: [CODE] Why type ColumnInfo(name="station") can't be Terminus type?How can i make database? | android | 0 | 2022-05-17T23:13:56.503Z | 2,022 | 5 | 23 | 1 | 6 | 0 | 317 | 65 | 1 | 2 | true | true | false | false | false | false | zero |
72,281,647 | How to update latest gradle version of kotlin library | <p>I created a library in multiplatform in latest intellij. My intellj added the outdated gradle version
<strong>settings.gradle.kts</strong></p>
<pre><code>pluginManagement {
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
resolutionStrategy {
eachPlugin {
... | I created a library in multiplatform in latest intellij. My intellj added the outdated gradle version settings.gradle.kts [CODE] I commented above in my code. Can someone guide how can I update my gradle version to latest and what is the use of 4.1.2 that piece of code? I tried to remove 4.1.2 below piece of code then ... | android|kotlin|gradle|android-gradle-plugin|kotlin-multiplatform | 0 | 2022-05-17T23:15:00.553Z | 2,022 | 5 | 23 | 1 | 664 | 2 | 615 | 53 | 5 | 9 | true | false | false | false | false | false | zero |
72,281,649 | ScrollListener does not work with tmdb api kotlin | <p>I was requested to build an app in kotlin that fetch 120 movies from tmdb api, using coroutines, mvvm and injections.My app worked great until I added the pagination using scrollListener, in order to add more pages. From some reason it is not working I am not seeing any list on the screen but the rest of the app wor... | I was requested to build an app in kotlin that fetch 120 movies from tmdb api, using coroutines, mvvm and injections.My app worked great until I added the pagination using scrollListener, in order to add more pages. From some reason it is not working I am not seeing any list on the screen but the rest of the app works ... | android|kotlin|mvvm|pagination|scrollview | 0 | 2022-05-17T23:15:15.107Z | 2,022 | 5 | 23 | 1 | 13 | 0 | 526 | 49 | 5 | 2 | true | true | false | false | false | false | zero |
72,281,673 | i want to display username in my project using SQLite? | <p>in my project after user sign up , i want to display the username in next page</p>
<p>so, this line works but with only first user sign up if another user sign up it will display the first username.</p>
<pre><code>displName =findViewById(R.id.displayName);
displName.setText(database.getAllNote().get(0).getUserName(... | in my project after user sign up , i want to display the username in next page so, this line works but with only first user sign up if another user sign up it will display the first username. [CODE] my database [CODE] how i can fix this small issue? pls help | java|android-studio | 0 | 2022-05-17T23:18:12.090Z | 2,022 | 5 | 23 | 1 | 37 | 1 | 258 | 54 | 2 | 2 | true | false | false | false | false | false | zero |
72,281,724 | How to programmatically control Switch (button) in Android App | <p>I am developing an app in Android Studio.</p>
<p>I have a <strong>Switch</strong> to enable / disable some functionality.</p>
<p>I am using an xml file to define the colour of the thumb and track – both gray when switch is disabled (thumb to the left), and both green when the switch is enabled (thumb to the right).<... | I am developing an app in Android Studio. I have a Switch to enable / disable some functionality. I am using an xml file to define the colour of the thumb and track – both gray when switch is disabled (thumb to the left), and both green when the switch is enabled (thumb to the right). This works fine. However, I also n... | android-studio|button|switch-statement | 0 | 2022-05-17T23:29:03.963Z | 2,022 | 5 | 23 | 1 | 209 | 0 | 2,381 | 62 | 3 | 9 | true | true | false | false | false | false | zero |
72,281,741 | use captive portal page on android as normal web page? | <p>I am hosting a web page (from an esp8266 in AP mode) for an rc toy. I want to easily access the web page from an android cellphone by just selecting the toy in the wifi selection page. In other words I want to use the captive portal page as a normal web page to run my single-page control app.</p>
<p>Right now the ... | I am hosting a web page (from an esp8266 in AP mode) for an rc toy. I want to easily access the web page from an android cellphone by just selecting the toy in the wifi selection page. In other words I want to use the captive portal page as a normal web page to run my single-page control app. Right now the page comes u... | android|google-chrome|captiveportal | 1 | 2022-05-17T23:32:07.723Z | 2,022 | 5 | 23 | 1 | 92 | 0 | 919 | 54 | 3 | 0 | false | true | false | false | false | false | low |
72,281,848 | How to repeat Volley requests after authentication failure and token refresh | <p>I am getting data from an API using Volley and JsonObjectRequest. I have many different calls to different endpoints, and I have a separate class which handles any network/authentication errors.
Since my authentication token needs to be refreshed every hour, there are moments when one of my API calls returns with au... | I am getting data from an API using Volley and JsonObjectRequest. I have many different calls to different endpoints, and I have a separate class which handles any network/authentication errors. Since my authentication token needs to be refreshed every hour, there are moments when one of my API calls returns with authe... | android|kotlin|http|authentication|android-volley | 0 | 2022-05-17T23:51:19.043Z | 2,022 | 5 | 23 | 1 | 37 | 0 | 1,064 | 76 | 5 | 1 | true | true | false | false | false | false | zero |
72,281,926 | Cannot delete AVDs or create new AVD in Android device manager due to "incompatible JDK" | <p>Am trying to make a mobile game with xamarin/monogame using an android emulator.</p>
<p>I have a virtual Pixel 5 (API 30) created in android device manager that launches fine but refuses to be deployed to, so I tried to delete it and create another.</p>
<p>Deletion returns error message saying that the AVD can't be ... | Am trying to make a mobile game with xamarin/monogame using an android emulator. I have a virtual Pixel 5 (API 30) created in android device manager that launches fine but refuses to be deployed to, so I tried to delete it and create another. Deletion returns error message saying that the AVD can't be deleted because I... | java|android|xamarin|incompatibility | 0 | 2022-05-18T00:08:01.823Z | 2,022 | 5 | 0 | 2 | 73 | 0 | 1,649 | 88 | 4 | 0 | false | true | false | false | false | false | zero |
72,282,107 | How to change StatusBar colour android studio? | <p>No matter what I try within themes I cant seem to change the colour of the status bar from this grey colour:</p>
<p><a href="https://i.stack.imgur.com/lO7cu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lO7cu.png" alt="enter image description here" /></a></p>
<p>Here is my themes file:</p>
<pre>... | No matter what I try within themes I cant seem to change the colour of the status bar from this grey colour: Here is my themes file: [CODE] I have tried multiple variations of this, removing some of these etc.. I have tried changing the colorPrimary/variant etc to no avail. I found this answer here that says to use the... | android|xml|android-studio|kotlin|android-theme | 1 | 2022-05-18T00:45:07.613Z | 2,022 | 5 | 0 | 2 | 50 | 2 | 487 | 46 | 5 | 1 | true | false | false | false | false | false | low |
72,282,135 | Local variable not restored on orientation change for fragments in backstack | <p>I have two fragments, <code>FragmentA</code> and <code>FragmentB</code>, the user can go from <code>FragmentA</code> to <code>FragmentB</code></p>
<p>Let's say <code>FragmentA</code> has a local variable <code>varA</code>. When the user is on <code>FragmentA</code> and changes orientation I can save that variable wi... | I have two fragments, FragmentA and FragmentB , the user can go from FragmentA to FragmentB Let's say FragmentA has a local variable varA . When the user is on FragmentA and changes orientation I can save that variable with onSaveInstanceState and then restore it in onViewCreated . No problem there. However, when the u... | android|fragment|android-lifecycle|back-stack | 0 | 2022-05-18T00:52:19.110Z | 2,022 | 5 | 0 | 2 | 33 | 0 | 525 | 76 | 4 | 0 | false | true | false | false | false | false | zero |
72,282,166 | In Android 10, the RecyclerView item drag-and-swap method is difficult to trigger (ItemTouchHelper.callback onMove) | <h2>This is my implementation of ItemTouchHelper.callback</h2>
<h2>I implemented getMovementFlags so that it could drag and drop in UP, Down, left, and right directions but didn't execute the onMove method</h2>
<blockquote>
<p>I know where the problem is because I'm in the setOnLongClickListener notifyDataSetChanged on... | This is my implementation of ItemTouchHelper.callback I implemented getMovementFlags so that it could drag and drop in UP, Down, left, and right directions but didn't execute the onMove method I know where the problem is because I'm in the setOnLongClickListener notifyDataSetChanged on the item and that causes it to fa... | android | 1 | 2022-05-18T00:58:35.077Z | 2,022 | 5 | 0 | 2 | 37 | 1 | 450 | 115 | 1 | 1 | true | false | false | false | false | false | low |
72,282,240 | Android BIND_JOB_SERVICE & sepolicy | <p>I have a valid manifest file with the right permission & "exported" set as well. But, I still get the below error:</p>
<pre><code>Error: Requires permission android.permission.BIND_JOB_SERVICE
</code></pre>
<p>The command (initiated over adb) is a running a service (via "am startservice") &am... | I have a valid manifest file with the right permission & "exported" set as well. But, I still get the below error: [CODE] The command (initiated over adb) is a running a service (via "am startservice") & the manifest file has these details: [CODE] Logcat doesn't have anything useful, just throws the... | android|selinux | 0 | 2022-05-18T01:12:25.327Z | 2,022 | 5 | 1 | 2 | 31 | 1 | 736 | 35 | 2 | 3 | true | false | false | false | false | false | zero |
72,282,356 | Crash when opening Android window after using Unity ScrollRect component | <p>java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***</p>
<p>Version '2020.3.14f1 (d0d1bb862f9d)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
Build fingerprint: 'HUAWEI/ANA-AN00/HWANA:10/HUAWEIANA-AN00/102.0.0.236C00:user/release-keys'
Revision: '0'
ABI: 'arm'
Timest... | java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Version '2020.3.14f1 (d0d1bb862f9d)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a' Build fingerprint: 'HUAWEI/ANA-AN00/HWANA:10/HUAWEIANA-AN00/102.0.0.236C00:user/release-keys' Revision: '0' ABI: 'arm' Timestamp: 2022-... | android|unity3d|crashlytics-android|scrollrect | -1 | 2022-05-18T01:40:06.910Z | 2,022 | 5 | 1 | 2 | 275 | 1 | 728 | 72 | 4 | 2 | true | false | false | false | false | true | negative |
72,282,366 | Flutter Method Chanel Error java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread | <p>Please Help Me.</p>
<p>My Flutter Plugin Java can't return the list from native android please tell me to resolve it.</p>
<p>I created a flutter plugin to connect to my watch. I created a method Chanel to execute android native SDK, but I am stuck because I can't send a value back to flutter in this function but oth... | Please Help Me. My Flutter Plugin Java can't return the list from native android please tell me to resolve it. I created a flutter plugin to connect to my watch. I created a method Chanel to execute android native SDK, but I am stuck because I can't send a value back to flutter in this function but other part works fin... | java|android|flutter|bluetooth-lowenergy|flutter-method-channel | 0 | 2022-05-18T01:43:03.823Z | 2,022 | 5 | 1 | 2 | 185 | 1 | 435 | 121 | 5 | 3 | true | false | false | false | false | false | zero |
72,282,384 | Caused by: java.text.ParseException: Unparseable date: "2015-06-18T23:30:00.000Z" | <p>I'm trying to format a date and then convert it to a local time , by upon trying it keeps throwing an exception that the data is unparsable , i have attached the code below , if anyone could help , Thank you</p>
<ul>
<li>Code that i'm using</li>
</ul>
<pre><code> fun test() : String {
val inputFormat = Simpl... | I'm trying to format a date and then convert it to a local time , by upon trying it keeps throwing an exception that the data is unparsable , i have attached the code below , if anyone could help , Thank you Code that i'm using [CODE] | android|kotlin|date|simpledateformat | 0 | 2022-05-18T01:47:18.173Z | 2,022 | 5 | 1 | 2 | 320 | 0 | 234 | 81 | 4 | 1 | true | true | false | false | false | false | zero |
72,282,505 | Maps sdk - Customize the info window just like in Google Maps app (Android studio) | <p>I'm trying to make a custom info window just like in Google Maps app that I can scroll and drag up and down (first picture) , not the one in Maps sdk documentation (second picture). How can I do this? Is it also called info window?</p>
<p><a href="https://i.stack.imgur.com/2Jfcj.jpg" rel="nofollow noreferrer"><img s... | I'm trying to make a custom info window just like in Google Maps app that I can scroll and drag up and down (first picture) , not the one in Maps sdk documentation (second picture). How can I do this? Is it also called info window? | java|android|android-studio|google-maps | 0 | 2022-05-18T02:09:01.107Z | 2,022 | 5 | 2 | 2 | 22 | 0 | 231 | 82 | 4 | 0 | false | true | false | false | false | false | zero |
72,282,521 | How to add data binding in old android project while adding new Activity? | <p>Getting databinding error while adding activity via Android studio. How to resolve this error ?.</p>
<p>I am trying to add New Activity in my existing project via android studio. That time i used <code>targetSdkVersion 30</code> sdk. But after updating <code>targetSdkVersion 32</code>, While trying to add New Activi... | Getting databinding error while adding activity via Android studio. How to resolve this error ?. I am trying to add New Activity in my existing project via android studio. That time i used targetSdkVersion 30 sdk. But after updating targetSdkVersion 32 , While trying to add New Activity via android studio, getting this... | android|android-studio | -1 | 2022-05-18T02:13:08.613Z | 2,022 | 5 | 2 | 2 | 68 | 1 | 378 | 73 | 2 | 1 | true | false | false | false | false | true | negative |
72,282,686 | How can I update AnyChart from input? | <p>I'm trying to update the AnyChart pie chart with data provided through an input field, I want to have the pie chart update to reflect the added data.</p>
<p>Here's my code:</p>
<pre><code>//Initialize the PieChart
AnyChartView anyChartView;
//Data Structures for Pie Chart
List<String> drinks = new... | I'm trying to update the AnyChart pie chart with data provided through an input field, I want to have the pie chart update to reflect the added data. Here's my code: [CODE] Whenever I add to the drinks and quantity lists from the inputted data, the pie chart does not update to reflect the changes. The lists however do ... | java|android|android-studio|anychart|anychart-8.2 | 0 | 2022-05-18T02:47:46.677Z | 2,022 | 5 | 2 | 2 | 66 | 1 | 434 | 37 | 5 | 1 | true | false | false | false | false | false | zero |
72,282,729 | How to use a small amount of memory to get application label in android | <p>I use this code</p>
<pre><code> for (PackageInfo packageInfo : list) {
String appName = packageInfo.applicationInfo.loadLabel(
getPackageManager()).toString();
}
</code></pre>
<p>It cost about 200MB memory
How can i get it in low memory?</p> | I use this code [CODE] It cost about 200MB memory How can i get it in low memory? | java|android | 0 | 2022-05-18T02:56:07.153Z | 2,022 | 5 | 2 | 2 | 18 | 0 | 81 | 71 | 2 | 1 | true | true | false | false | false | false | zero |
72,282,785 | USB Debugging Error but WIFI Debugging clearly Fine :( how to fix it? | <p>I want to debug using my USB Port, but the adb or something hold me an error. In other condition, when i used my Wifi/Wireless Debugging, the app running well.</p>
<p>I screenshot the messages Event Log my Android Studio on below, Check out.</p>
<p><a href="https://i.stack.imgur.com/ssff2.jpg" rel="nofollow noreferr... | I want to debug using my USB Port, but the adb or something hold me an error. In other condition, when i used my Wifi/Wireless Debugging, the app running well. I screenshot the messages Event Log my Android Studio on below, Check out. These Messages are from my Event Log - Newest Version Android Studio Chipmunk My ADB ... | android|kotlin|adb | 0 | 2022-05-18T03:07:25.413Z | 2,022 | 5 | 3 | 2 | 140 | 0 | 460 | 69 | 3 | 1 | true | true | false | false | false | false | zero |
72,282,836 | ionic capacitor run android failed | <p>ionic capacitor run android failed when running build gradle.
<a href="https://i.stack.imgur.com/JVEZw.png" rel="nofollow noreferrer">gradle failed</a></p>
<p>'* What went wrong:
Supplied javaHome must be a valid directory. You supplied: C:\Program Files\Java\jre1.8.0_321'</p>
<p>the gradle failed because he looking... | ionic capacitor run android failed when running build gradle. gradle failed '* What went wrong: Supplied javaHome must be a valid directory. You supplied: C:\Program Files\Java\jre1.8.0_321' the gradle failed because he looking for JAVA_HOME in 'C:\Program Files\Java\jre1.8.0_321' but this directory doesn't exist. but ... | java|android|gradle|ionic-framework|capacitor | 3 | 2022-05-18T03:17:12.070Z | 2,022 | 5 | 3 | 2 | 271 | 1 | 680 | 34 | 5 | 0 | false | false | false | false | false | false | low |
72,282,867 | Xml editor auto complete give wrong suggestion | <p>I know this problem have asked many times but i still cant solved my problem. My xml suddenly can't give suggestion, when i try use Ctrl+Space that give wrong suggestion like this
<a href="https://i.stack.imgur.com/tG6Jp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tG6Jp.png" alt="enter image d... | I know this problem have asked many times but i still cant solved my problem. My xml suddenly can't give suggestion, when i try use Ctrl+Space that give wrong suggestion like this I have try Invalidate Cache/Restart android studio Delete cache folder inside c > users > windows > .gradle Change setting like this But tha... | android|xml|android-layout | 0 | 2022-05-18T03:23:15.453Z | 2,022 | 5 | 3 | 2 | 26 | 0 | 419 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
72,282,914 | Mapbox Map not showing on android | <p>When I tested it the first couple of times it was showing perfectly well, then I added some code and it just stopped. It still shows the Mapbox logo on the left bottom screen but it's not loading the map. Here's the code on the <code>MapActivity</code>:</p>
<pre class="lang-java prettyprint-override"><code>public cl... | When I tested it the first couple of times it was showing perfectly well, then I added some code and it just stopped. It still shows the Mapbox logo on the left bottom screen but it's not loading the map. Here's the code on the MapActivity : [CODE] Oh and the Locash object is a class I use to store user location on fir... | java|android-studio|mapbox | 1 | 2022-05-18T03:33:40.767Z | 2,022 | 5 | 3 | 2 | 184 | 1 | 340 | 33 | 3 | 1 | true | false | false | false | false | false | low |
72,282,958 | how do I drag all the buttons at once? | <p>I'm new to Android Studio, so I want to ask how I can combine these buttons so that I can drag them all together as a block, and not separately. I need to position them in the center of the horizontal screen. so that they do not separate from each other. Thank you in advance</p>
<pre><code><AbsoluteLayout
and... | I'm new to Android Studio, so I want to ask how I can combine these buttons so that I can drag them all together as a block, and not separately. I need to position them in the center of the horizontal screen. so that they do not separate from each other. Thank you in advance [CODE] | android|android-layout | 0 | 2022-05-18T03:41:13.410Z | 2,022 | 5 | 3 | 2 | 29 | 0 | 282 | 38 | 2 | 1 | true | true | false | false | false | false | zero |
72,282,995 | flutter) Firebase Phone Auth's "verificationCompleted" does not work on Android devices | <p>I authenticate through firebase phone auth, and on Android, I want to authenticate automatically through "verificationComplete".
However, the function "codeSent" is called instead of "verificationCompleted".</p>
<pre><code> Future<void> _sendingCode(String phoneNum, BuildContext ... | I authenticate through firebase phone auth, and on Android, I want to authenticate automatically through "verificationComplete". However, the function "codeSent" is called instead of "verificationCompleted". [CODE] } Can I know the cause of this problem? | android|firebase|flutter|firebase-authentication | 0 | 2022-05-18T03:50:42.797Z | 2,022 | 5 | 3 | 2 | 171 | 2 | 284 | 87 | 4 | 1 | true | false | false | false | false | false | zero |
72,283,153 | How to keep the flutter plugin native-code private? | <p>As we know we can't hide flutter plugin code. But we actually want to hide native code of android and iOS because our organization making plugin for selling purpose and we don't want to share our native code. As I have seen the .aar, .jar and .framework solutions and implemented but not working so if anyone know how... | As we know we can't hide flutter plugin code. But we actually want to hide native code of android and iOS because our organization making plugin for selling purpose and we don't want to share our native code. As I have seen the .aar, .jar and .framework solutions and implemented but not working so if anyone know how to... | android|ios|flutter|dart | 0 | 2022-05-18T04:19:02.500Z | 2,022 | 5 | 4 | 2 | 27 | 0 | 366 | 51 | 4 | 0 | false | true | false | false | false | false | zero |
72,283,269 | How to cache image images in compose and load it even offline | <p>I'm working on a social media app, and that works on single source of truth so my user atleast can see something even without internet and can assign some task to my WorkManager...
but the problem is that I cant load images offline,
I'mean right now I'm using a function i.e. rememberPainter( "https://myu... | I'm working on a social media app, and that works on single source of truth so my user atleast can see something even without internet and can assign some task to my WorkManager... but the problem is that I cant load images offline, I'mean right now I'm using a function i.e. rememberPainter( "https://myurl..."... | kotlin|caching|android-jetpack-compose|android-jetpack | 0 | 2022-05-18T04:35:06.520Z | 2,022 | 5 | 4 | 2 | 309 | 0 | 528 | 61 | 4 | 0 | false | true | false | false | false | false | zero |
72,283,290 | Is there any solution for the error that is occur during execution | <p><img src="https://i.stack.imgur.com/3AXuW.png" alt="enter image description here" /></p>
<p>Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable
this error is gene... | Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable this error is generated while running the project on mobile | android|gradle|build.gradle | 0 | 2022-05-18T04:38:57.827Z | 2,022 | 5 | 4 | 2 | 51 | 0 | 266 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
72,283,291 | React native undefined is not an object error | <p>I have a MQTTConnection.js class inside a src folder this class defines methods like subscribe, unsubsribe and connect. Also the App.js class implements the methods imported from MQTTConnection.js and defines the prototypes functions that start with ONMQTT. When I try to run the project the next error is displayed :... | I have a MQTTConnection.js class inside a src folder this class defines methods like subscribe, unsubsribe and connect. Also the App.js class implements the methods imported from MQTTConnection.js and defines the prototypes functions that start with ONMQTT. When I try to run the project the next error is displayed : Ty... | javascript|android|reactjs|react-native|mqtt | 0 | 2022-05-18T04:39:04.640Z | 2,022 | 5 | 4 | 2 | 73 | 0 | 403 | 45 | 5 | 2 | true | true | false | false | false | false | zero |
72,283,562 | Emulator for vscode for Flutter | <p>How to set up android emulator for vscode?
I have been working with flutter in vscode but couldn't find android emulator option in vscode.</p> | How to set up android emulator for vscode? I have been working with flutter in vscode but couldn't find android emulator option in vscode. | android|flutter|visual-studio-code|android-emulator | 0 | 2022-05-18T05:21:04.353Z | 2,022 | 5 | 5 | 2 | 117 | 1 | 138 | 31 | 4 | 0 | false | false | false | false | false | false | zero |
72,283,564 | I can't get Android Studio Chipmonk to do anything | <p>I can't get Android Studio Chipmonk to do anything. I had a word search program that worked on the previous release. It had a couple of input boxes and two buttons. It worked fine. Not any more. Not even the debug output from system.out.println() commands. If anyone has a working program, such as "Hello World&q... | I can't get Android Studio Chipmonk to do anything. I had a word search program that worked on the previous release. It had a couple of input boxes and two buttons. It worked fine. Not any more. Not even the debug output from system.out.println() commands. If anyone has a working program, such as "Hello World"... | android | 0 | 2022-05-18T05:21:08.923Z | 2,022 | 5 | 5 | 2 | 15 | 0 | 371 | 50 | 1 | 0 | false | true | false | false | false | false | zero |
72,283,578 | Why am I getting a MissingPluginException when using platform-specific code (Kotlin) in my Flutter app? | <p>I've been trying to use Android code in a Flutter project to do audio-related tasks, and I've been following <a href="https://docs.flutter.dev/development/platform-integration/platform-channels" rel="nofollow noreferrer">Flutter's guide</a> to do so. However, when I try to call the method on the method channel, I've... | I've been trying to use Android code in a Flutter project to do audio-related tasks, and I've been following Flutter's guide to do so. However, when I try to call the method on the method channel, I've been getting a MissingPluginException that says that the method (getAudioSessionID) isn't implemented. I found a post ... | android|flutter|kotlin|platform-specific | 0 | 2022-05-18T05:22:50.670Z | 2,022 | 5 | 5 | 2 | 44 | 0 | 749 | 103 | 4 | 4 | true | true | false | false | false | false | zero |
72,283,647 | type 'Null' is not a subtype of type 'List<map<String,Object>>' in type cast | <p>This error keeps appearing and change from "not a subtype of type String" to what says on the screen</p>
<p><a href="https://i.stack.imgur.com/IDfHw.png" rel="nofollow noreferrer">Error on Flutter</a></p>
<p>this is the quiz.dart
<div class="snippet" data-lang="js" data-hide="false" data-console="true" dat... | This error keeps appearing and change from "not a subtype of type String" to what says on the screen Error on Flutter this is the quiz.dart [CODE] //if here preguntas[preguntasIndex]['textoPregunta'] there is a "as String" the error in the title appears, if not the red underline appears with The arg... | javascript|android|flutter|android-studio|dart | 0 | 2022-05-18T05:30:47.247Z | 2,022 | 5 | 5 | 2 | 54 | 1 | 429 | 76 | 5 | 3 | true | false | false | false | false | false | zero |
72,283,704 | Flutter Fire - [Firebase Storage] W/NetworkRequest( 5624): no auth token for request | <p>My flutter app has a download feature that displays pdf from firebase storage and a download button to download the file. The view pdf function is working fine. However, the download pdf throws an exception</p>
<pre><code>W/StorageUtil( 5624): no auth token for request
D/EGL_emulation( 5624): app_time_stats: avg=107... | My flutter app has a download feature that displays pdf from firebase storage and a download button to download the file. The view pdf function is working fine. However, the download pdf throws an exception [CODE] Details about the app:- The App does not have authentication (Feature not required so far) The storage rul... | android|firebase|flutter|google-cloud-firestore | 1 | 2022-05-18T05:37:49.410Z | 2,022 | 5 | 5 | 2 | 204 | 1 | 705 | 84 | 4 | 2 | true | false | false | false | false | false | low |
72,283,717 | how to access variable declared in onCreate method from onCreateView method and | <p>I have a java application that contains 2 fragments. In the first fragment I get the Facebook name and email as well as a random alias that is generated in the app. The idea is to be able to send the username and alias to a second fragment where both values will be displayed in a spinner. From what I read in the o... | I have a java application that contains 2 fragments. In the first fragment I get the Facebook name and email as well as a random alias that is generated in the app. The idea is to be able to send the username and alias to a second fragment where both values will be displayed in a spinner. From what I read in the offi... | java|android|android-fragments | 0 | 2022-05-18T05:38:58.797Z | 2,022 | 5 | 5 | 2 | 50 | 0 | 841 | 79 | 3 | 2 | true | true | false | false | false | false | zero |
72,283,769 | Unexpected null value | <p>This is my homepage.dart. The error here said that there is an unexpected null value. I've been trying to debug this for the day but i still could not manage to find it, how to solve this problem? When i try to run the code. It won't shows the data from the 'Parking' which is inside the firestore database. The data ... | This is my homepage.dart. The error here said that there is an unexpected null value. I've been trying to debug this for the day but i still could not manage to find it, how to solve this problem? When i try to run the code. It won't shows the data from the 'Parking' which is inside the firestore database. The data was... | android|firebase|flutter|google-cloud-firestore | 0 | 2022-05-18T05:46:00.420Z | 2,022 | 5 | 5 | 2 | 89 | 2 | 406 | 21 | 4 | 1 | true | false | false | false | false | false | zero |
72,283,773 | how to find why zram free is high,but direct reclaim is run,Android platform | <p>when I do some test,system is in low memory status.
I check the system,find out:</p>
<ol>
<li>zram free is high</li>
<li>a lot direct reclaim</li>
</ol> | when I do some test,system is in low memory status. I check the system,find out: zram free is high a lot direct reclaim | android|memory | 0 | 2022-05-18T05:46:11.283Z | 2,022 | 5 | 5 | 2 | 19 | 0 | 119 | 76 | 2 | 0 | false | true | false | false | false | false | zero |
72,283,797 | i cannot do multiple windows twice (webview) at the same running app , only once | <p>how to make a new window after closing the old multiple window.
the steps are:</p>
<ol>
<li>app loaded</li>
<li>go to login page</li>
<li>click google button</li>
<li>pop up opened with annoying size</li>
<li>logged in</li>
<li>logout</li>
<li>go to login page</li>
<li>click google button</li>
<li>here is the proble... | how to make a new window after closing the old multiple window. the steps are: app loaded go to login page click google button pop up opened with annoying size logged in logout go to login page click google button here is the problem, not showing pop up again. here is the video. https://youtu.be/W2sCeSnv0BQ (problem at... | android|android-studio|android-webview | 1 | 2022-05-18T05:49:05.187Z | 2,022 | 5 | 5 | 2 | 68 | 0 | 373 | 80 | 3 | 1 | true | true | false | false | false | false | low |
72,283,882 | Long Applovin interstitial Ads shows as a two cycle so there is a loss in user retention | <p>I am using applovin ads in my android app, but the ads are too long and not able to click on the close as well.</p>
<p>The user experience is too bad. Also the ads are shown as tow cycles. It leads to the loss in user retention.</p>
<p>Kindly let me know any one facing the issue like the same.</p>
<p>I have followed... | I am using applovin ads in my android app, but the ads are too long and not able to click on the close as well. The user experience is too bad. Also the ads are shown as tow cycles. It leads to the loss in user retention. Kindly let me know any one facing the issue like the same. I have followed this doc to show the in... | android|ads|applovin | 0 | 2022-05-18T06:00:18.727Z | 2,022 | 5 | 6 | 2 | 196 | 1 | 433 | 88 | 3 | 0 | false | false | false | false | false | false | zero |
72,283,884 | How to create a custom anchor using ARCore on Android? | <p>I am trying to create a simple rectangle-like Virtual Object and make that as an anchor in the ARCore space. So what I want my app to do is, as soon as I open the app, camera view comes up, and when I click a button, it should "render" a rectangle like anchor for the full camera view, and track that. Any s... | I am trying to create a simple rectangle-like Virtual Object and make that as an anchor in the ARCore space. So what I want my app to do is, as soon as I open the app, camera view comes up, and when I click a button, it should "render" a rectangle like anchor for the full camera view, and track that. Any sugg... | android|kotlin|arcore | 0 | 2022-05-18T06:00:36.920Z | 2,022 | 5 | 6 | 2 | 64 | 0 | 371 | 54 | 3 | 0 | false | true | false | false | false | false | zero |
72,284,005 | Get user number using intent request not working? | <p>I am justing trying to get phone number using <code>GetPhoneNumberHintIntentRequest</code> to replace <code>HintRequest</code>.
So just trying to follow google developer doc <a href="https://developers.google.com/identity/phone-number-hint/android#kotlin_2" rel="noreferrer">https://developers.google.com/identity/pho... | I am justing trying to get phone number using GetPhoneNumberHintIntentRequest to replace HintRequest . So just trying to follow google developer doc https://developers.google.com/identity/phone-number-hint/android#kotlin_2 . But after following doc I feel this doc is incomplete. [CODE] So as per doc you need to pass in... | android|gradle|android-intent|google-play-services|android-pendingintent | 5 | 2022-05-18T06:14:00.360Z | 2,022 | 5 | 6 | 2 | 410 | 1 | 614 | 49 | 5 | 1 | true | false | false | false | false | false | low |
72,284,021 | How to Scroll Xamarin Ui Picker DropDown in android for Mobile automation | <p>I need to select or scroll the Drop Down of Text2 Which is invisible in android but when i select the text2 manually and can flash the element in terminal</p>
<pre><code>Flashing query for All().Marked("Alaska pool 2 (AK, AK)") gave 1 results.
</code></pre>
<p>[
<code> [0] { Id => "numberpicker_i... | I need to select or scroll the Drop Down of Text2 Which is invisible in android but when i select the text2 manually and can flash the element in terminal [CODE] [ [0] { Id => "numberpicker_input", Description => "android.widget.NumberPicker$CustomEditText{6ff11fa IFED..CL. ........ 0,221-936,274 #10203b... | android-studio|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-05-18T06:15:36.590Z | 2,022 | 5 | 6 | 2 | 56 | 0 | 775 | 73 | 5 | 1 | true | true | false | false | false | false | zero |
72,284,112 | Emulator won't start without internet connection | <p>If I start the Android emulator in Android Studio, and my laptop (Linux) has no internet connection, the emulator doesn't start. A small window opens with a header and a black screen, and that's it. I see the process "qemu-system-x86_64" in System Monitor, but it will not boot the emulator.
There must be a... | If I start the Android emulator in Android Studio, and my laptop (Linux) has no internet connection, the emulator doesn't start. A small window opens with a header and a black screen, and that's it. I see the process "qemu-system-x86_64" in System Monitor, but it will not boot the emulator. There must be a wa... | android|android-emulator | 1 | 2022-05-18T06:25:09.963Z | 2,022 | 5 | 6 | 2 | 161 | 0 | 384 | 48 | 2 | 0 | false | true | false | false | false | false | low |
72,284,146 | I migrated existing android project to Android X using Android Studio, but I am unable to import/resolve any androidx library - what am i doing wrong? | <p>I recently migrated an old android project to Android X using the automated Android Studio route. My gradle dependencies are all there, but I am unable to use any androidx library. Can you please advise on what I am doing wrong? Every time I try to import an Android X library (i.e. import androidx.fragment.app.Fragm... | I recently migrated an old android project to Android X using the automated Android Studio route. My gradle dependencies are all there, but I am unable to use any androidx library. Can you please advise on what I am doing wrong? Every time I try to import an Android X library (i.e. import androidx.fragment.app.Fragment... | android|android-studio|gradle|androidx | 0 | 2022-05-18T06:28:29.117Z | 2,022 | 5 | 6 | 2 | 85 | 1 | 558 | 150 | 4 | 2 | true | false | false | false | false | false | zero |
72,284,613 | Google Play Billing 5.0 relations between Products, Subscriptions and Base Plans | <p>I have an app currently using Google Play Billing 4.0. I'd like to migrate from 4.0 to 5.0.</p>
<p>Previously I had different subscriptions distinct by billing period (e.g.: monthly, weekly yearly). I understand from this <a href="https://android-developers.googleblog.com/2022/05/whats-new-in-google-play.html" rel="... | I have an app currently using Google Play Billing 4.0. I'd like to migrate from 4.0 to 5.0. Previously I had different subscriptions distinct by billing period (e.g.: monthly, weekly yearly). I understand from this What's new in Google Play that the new Plans system addresses this, and kind of groups subscriptions by a... | android|kotlin|google-play|android-billing|play-billing-library | 3 | 2022-05-18T07:09:53.927Z | 2,022 | 5 | 7 | 2 | 666 | 0 | 770 | 80 | 5 | 0 | false | true | false | false | false | false | low |
72,284,681 | When month picker value is changed my day picker value will change in number picker using xamarin C# | <p>This is my code, I would like when month value is changed my day picker value will change. Day value is depends on month. Like, if month value is 1,3,5,7,8,10,12 then day value will 31 otherwise day value 30. If month is feb then day value will 28 and will depends on leap years.</p>
<p>I'm using XAMARIN with C#.</p>... | This is my code, I would like when month value is changed my day picker value will change. Day value is depends on month. Like, if month value is 1,3,5,7,8,10,12 then day value will 31 otherwise day value 30. If month is feb then day value will 28 and will depends on leap years. I'm using XAMARIN with C#. Thank you! [C... | c#|visual-studio|xamarin|xamarin.android | 0 | 2022-05-18T07:15:35.043Z | 2,022 | 5 | 7 | 2 | 75 | 1 | 324 | 100 | 4 | 1 | true | false | false | false | false | false | zero |
72,284,805 | Single instrumentation tests can't be started from Android Studio (starting from Chipmunk) | <p>After updating Android Studio to Chipmunk we can't start our UI tests located in differen folder than androidTest from AndroidStudio itself anymore.</p>
<p>We get instead an error message:</p>
<pre><code>Error running "...Test"
Class "..." not found in module 'OurApp:app'
</code></pre>
<p>As ment... | After updating Android Studio to Chipmunk we can't start our UI tests located in differen folder than androidTest from AndroidStudio itself anymore. We get instead an error message: [CODE] As mentioned above our tests are not located in androidTest folder, but in sharedTestDebug instead. However it wasn't a problem wit... | android|android-studio|android-studio-chipmunk | 2 | 2022-05-18T07:25:19.967Z | 2,022 | 5 | 7 | 2 | 455 | 1 | 1,028 | 90 | 3 | 2 | true | false | false | false | false | false | low |
72,284,856 | getLatitude() / getLongitide() stopped working after Android 12 upgrade | <p>Originally working perfectly on all versions before Android 12:</p>
<pre><code>var lat = 0;
var lon = 0;
...
var locationListener = new LocationListener({
onLocationChanged: function(location) {
lat = location.getLatitude().toFixed(4);
lon = location.getLongitude().toFixed(4);
...
</code></pr... | Originally working perfectly on all versions before Android 12: [CODE] stopped working after upgrade to Android 12 with the following error: At line XX: TypeError: Cannot find function getLatitude in object [Location[network 12.345678,12.345678 hAcc=12.345 et=+1d23h56m12s345ms alt=123.45678 vAcc=1.2345 {Bundle[mParcell... | android|location | 0 | 2022-05-18T07:28:44.287Z | 2,022 | 5 | 7 | 2 | 42 | 0 | 692 | 71 | 2 | 1 | true | true | false | false | false | false | zero |
72,284,939 | When removing a source from MediatorLiveData, does the associated Observer get removed as well? | <p>When removing a source from MediatorLiveData, does the associated Observer get removed as well?</p>
<pre><code>private final MediatorLiveData<Model> liveModel = new MediatorLiveData<>();
private LiveData<ModelEntity> liveData = repository.getModelEntity();
liveModel.addSource(liveData , new Ob... | When removing a source from MediatorLiveData, does the associated Observer get removed as well? [CODE] | android|android-livedata|mediatorlivedata | 0 | 2022-05-18T07:35:53.017Z | 2,022 | 5 | 7 | 2 | 40 | 1 | 102 | 95 | 3 | 1 | true | false | false | false | false | false | zero |
72,285,012 | Google Wallet app api / created passes lead to error | <p>I was following the tutorial
<a href="https://codelabs.developers.google.com/add-to-wallet-web" rel="nofollow noreferrer">https://codelabs.developers.google.com/add-to-wallet-web</a> for building a generic pass over the api.
using <a href="https://github.com/google-pay/wallet-web-codelab" rel="nofollow noreferrer">h... | I was following the tutorial https://codelabs.developers.google.com/add-to-wallet-web for building a generic pass over the api. using https://github.com/google-pay/wallet-web-codelab as repo. after some struggling with the 7 days test account (if someone gets 403 unauthorized requests check that you use the same iam em... | node.js|android-pay|google-pay | 0 | 2022-05-18T07:42:29.830Z | 2,022 | 5 | 7 | 2 | 185 | 0 | 648 | 52 | 3 | 0 | false | true | false | false | false | false | zero |
72,285,054 | Unable to fetch IMEI number of a mobile device using React-Native | <p>I have type-script code for a mobile app. I want to fetch the IMEI code of the device when I log into the app. I have linked react-native-imei (android) library with react-native successfully, but when I add following code at login, I do not get the number:
const IMEIObj = require('react-native-imei');</p>
<pre><cod... | I have type-script code for a mobile app. I want to fetch the IMEI code of the device when I log into the app. I have linked react-native-imei (android) library with react-native successfully, but when I add following code at login, I do not get the number: const IMEIObj = require('react-native-imei'); [CODE] Instead I... | android|typescript|react-native|imei | 0 | 2022-05-18T07:45:19.830Z | 2,022 | 5 | 7 | 2 | 106 | 0 | 526 | 65 | 4 | 1 | true | true | false | false | false | false | zero |
72,285,060 | How to debug JaCoCo gradle-plugin | <p>I use JaCoCo when develop android apps.</p>
<p>I think the function <code>excludes</code> of JaCoCo might have a bug.</p>
<p>So I want to debug JaCoCo gradle-plugin.</p>
<p>I tried to debug by jacoco.cli as below.</p>
<pre><code> $ git clone https://github.com/jacoco/jacoco.git
$ cd jacoco
$ mvn clean ver... | I use JaCoCo when develop android apps. I think the function excludes of JaCoCo might have a bug. So I want to debug JaCoCo gradle-plugin. I tried to debug by jacoco.cli as below. [CODE] But jacoco.cli doesn’t have a excludes option… all cli options https://github.com/jacoco/jacoco/blob/046ba52e9fd1288cf121fd1013c9019d... | android|gradle|android-gradle-plugin|jacoco | 1 | 2022-05-18T07:45:39.717Z | 2,022 | 5 | 7 | 2 | 97 | 1 | 698 | 33 | 4 | 1 | true | false | false | false | false | false | low |
72,285,114 | net.sqlcipher.database.SQLiteDatabaseCorruptException | <p>i am using sqlcipher to secure my database but sometimes it show exception which i can't replicate.
need to identify why this happened.</p>
<p>Fatal Exception: net.sqlcipher.database.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed
at net.sqlcipher.database.SQLiteStatement.native_execu... | i am using sqlcipher to secure my database but sometimes it show exception which i can't replicate. need to identify why this happened. Fatal Exception: net.sqlcipher.database.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed at net.sqlcipher.database.SQLiteStatement.native_execute(SQLiteS... | android|database|exception|disk|sqlexception | 0 | 2022-05-18T07:49:06.737Z | 2,022 | 5 | 7 | 2 | 8 | 0 | 1,519 | 53 | 5 | 1 | true | true | false | false | false | false | zero |
72,285,174 | Flutter Responsive Grid List scroll disable | <p>I made many responsive grids for better user experience and I got a problem with scroll. In grid section appears nested scroll, but un scrollable. And this nested scroll interfere to my all page to make scroll. How can I<a href="https://i.stack.imgur.com/cG9Xh.png" rel="nofollow noreferrer"><img src="https://i.stac... | I made many responsive grids for better user experience and I got a problem with scroll. In grid section appears nested scroll, but un scrollable. And this nested scroll interfere to my all page to make scroll. How can I solve this problem? | android|flutter|dart | 1 | 2022-05-18T07:52:48.140Z | 2,022 | 5 | 7 | 2 | 56 | 0 | 240 | 43 | 3 | 0 | false | true | false | false | false | false | low |
72,285,189 | Android Studio is getting stuck at Git Log Indexing and becomes non-responsive | <p>My Android project is a very huge one with numerous files and directories.
After launching the project, the Android Studio shows <code>Git Log Indexing...</code> and stuck forever.</p>
<p>Is there an explanation why this step takes so long?</p> | My Android project is a very huge one with numerous files and directories. After launching the project, the Android Studio shows Git Log Indexing... and stuck forever. Is there an explanation why this step takes so long? | android-studio | 2 | 2022-05-18T07:53:38.587Z | 2,022 | 5 | 7 | 2 | 85 | 0 | 220 | 78 | 1 | 0 | false | true | false | false | false | false | low |
72,285,334 | I do have a difference between emulator and android studio design there is about 10 sp or some staff like that | <p><a href="https://i.stack.imgur.com/tXKhd.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>Hi All I do have a difference between emulator in android studio and design page in the same android studio , there is the same phone but a little bit different size , see attached and please advice what c... | enter image description here Hi All I do have a difference between emulator in android studio and design page in the same android studio , there is the same phone but a little bit different size , see attached and please advice what can I do to fix it. | android|emulation | 0 | 2022-05-18T08:02:49.987Z | 2,022 | 5 | 8 | 2 | 23 | 1 | 252 | 110 | 2 | 0 | false | false | false | false | false | false | zero |
72,285,360 | Install new apk after download by Download Manager and exit from running app | <p>I have create android app using java. But i want upgrade my app without playstore.
I try to download manually but it make more time to do that.
I want make it simply.
So i use download manager for download new file from my server.
And now i donno how to install automatically my new app.</p>
<p>What shoul i do ?</p>
... | I have create android app using java. But i want upgrade my app without playstore. I try to download manually but it make more time to do that. I want make it simply. So i use download manager for download new file from my server. And now i donno how to install automatically my new app. What shoul i do ? This is manife... | java|android|android-studio|broadcastreceiver|android-download-manager | 1 | 2022-05-18T08:05:21.247Z | 2,022 | 5 | 8 | 2 | 61 | 1 | 456 | 76 | 5 | 4 | true | false | false | false | false | false | low |
72,285,366 | Start activity from button.setOnClickListener which lies in my RecyclerView | <p>I want an activity/class to run on a <code>Button</code> click. The <code>Button</code> is inside my <code>RecyclerView</code>. I first had the code in my <code>MainActivity</code> with:</p>
<pre><code>btnComplete.setOnClickListener {
startActivity(Intent(this@MainActivity, DelComplete::class.java))}
</c... | I want an activity/class to run on a Button click. The Button is inside my RecyclerView . I first had the code in my MainActivity with: [CODE] This code was in my onCreate of my MainActivity . How ever on running the code I found the error: [CODE] My first thought was that it could not reach the Button since it was in ... | kotlin|android-recyclerview|start-activity | 1 | 2022-05-18T08:05:55.843Z | 2,022 | 5 | 8 | 2 | 76 | 2 | 1,108 | 75 | 3 | 6 | true | false | false | false | false | false | low |
72,285,379 | mock retrofit service observable not calling onError method Android Mockito | <p>I am testing this code and I got success in the success response code but I am not able to reach the onError code</p>
<pre><code> internal class MaintenanceStatusResponseHandler {
fun getMaintenanceResponse (voiceAiServices: VoiceAiServices, header: String): MaintenanceStatus {
val maintenanceStatus = Mai... | I am testing this code and I got success in the success response code but I am not able to reach the onError code [CODE] } repository class [CODE] interface [CODE] } Pojo class [CODE] Below test code for Success response which is working fine [CODE] Below is code that is not able to reach to Error method and for this c... | android|junit|mockito|observable|retrofit | 0 | 2022-05-18T08:06:57.680Z | 2,022 | 5 | 8 | 2 | 28 | 0 | 388 | 75 | 5 | 6 | true | true | false | false | false | false | zero |
72,285,407 | Firebase Phone Auth suddenly don't works. onCodeSent triggered but no SMS received | <p>UPDATE:
Suddenly I tried to attempt this time and it suddenly works without changing any codes on my application and firebase console. I don't know why/how can someone explain? Does anyone know how to prevent this issue?</p>
<ul>
<li>this is my verification code history
<a href="https://i.stack.imgur.com/U2vMB.jpg" ... | UPDATE: Suddenly I tried to attempt this time and it suddenly works without changing any codes on my application and firebase console. I don't know why/how can someone explain? Does anyone know how to prevent this issue? this is my verification code history https://i.stack.imgur.com/U2vMB.jpg ORIGINAL POST: The onCodeS... | android-studio|firebase-authentication|recaptcha|verification|sms-verification | 0 | 2022-05-18T08:09:50.717Z | 2,022 | 5 | 8 | 2 | 195 | 1 | 1,698 | 82 | 5 | 1 | true | false | false | false | false | false | zero |
72,285,549 | Jetpack Compose maxRows Layout | <p>I have a requirement do display a variable number of variable-width elements up to a maximum of 2 rows.</p>
<p>For example I might have:</p>
<pre><code> |
V End of row
AA | BBBB | C | DDDDDDDD
EEEE | FF | GGGG
HHHHHHHHHHHHHHH (too wide to fit on row 2 therefore ignore... | I have a requirement do display a variable number of variable-width elements up to a maximum of 2 rows. For example I might have: [CODE] I'm not worried about reordering the elements to maximise the amount displayed but I'm not quite sure how to go about it. I feel like it should be a custom Layout but I can't see any ... | android-layout|android-jetpack-compose | 0 | 2022-05-18T08:19:29.297Z | 2,022 | 5 | 8 | 2 | 70 | 0 | 443 | 30 | 2 | 1 | true | true | false | false | false | false | zero |
72,285,568 | Remove unwanted permissions from Expo app | <p>I developed an Expo app (managed) and generated the Android binary using EAS. After submitting the binary for internal testing, I see many <strong>dangerous unwanted permissions</strong> on the Google Play store.</p>
<p><a href="https://i.stack.imgur.com/hlvuL.png" rel="nofollow noreferrer"><img src="https://i.stack... | I developed an Expo app (managed) and generated the Android binary using EAS. After submitting the binary for internal testing, I see many dangerous unwanted permissions on the Google Play store. The worse ones are "Camera: take pictures" and "Microphone: record audio." These scare away anyone conce... | android|react-native|expo|google-play | 2 | 2022-05-18T08:21:06.157Z | 2,022 | 5 | 8 | 2 | 483 | 2 | 826 | 41 | 4 | 0 | false | false | false | false | false | false | low |
72,285,569 | Material 3 Navigation Drawer not highlighting item for current fragment | <p>So, I'm migrating to Material 3 right now for building my app. For the first time, navigation drawer not selecting / highlighting the item I selected (It was working in material 2).</p>
<p>Screenshot:</p>
<p><a href="https://i.stack.imgur.com/jHb2L.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j... | So, I'm migrating to Material 3 right now for building my app. For the first time, navigation drawer not selecting / highlighting the item I selected (It was working in material 2). Screenshot: This app must selecting settings item right now, but the indicator doesn't show up This is what I'm looking for: I followed do... | java|android|xml|kotlin|material-design | 0 | 2022-05-18T08:21:13.473Z | 2,022 | 5 | 8 | 2 | 59 | 1 | 390 | 71 | 5 | 1 | true | false | false | false | false | false | zero |
72,285,611 | Android Kishonti GFXBench: Starting a specific test from adb shell without navigating through the app's menus | <p>Does anyone know if there is a way to fire up a specific test from the GFXBench suite directly from adb shell?</p>
<p>I have seen references on the net about a very similar command:</p>
<pre><code>adb shell am broadcast -a net.kishonti.testfw.ACTION_RUN_TESTS -n net.kishonti.gfxbench.vulkan.v50000.corporate/net.kish... | Does anyone know if there is a way to fire up a specific test from the GFXBench suite directly from adb shell? I have seen references on the net about a very similar command: [CODE] but this does not seem to work with the current GFXBench application. | android | 0 | 2022-05-18T08:24:15.730Z | 2,022 | 5 | 8 | 2 | 64 | 1 | 251 | 109 | 1 | 1 | true | false | false | false | false | false | zero |
72,285,645 | Vertically scrollable component was measured with an infinity maximum height constraints Jetpack Compose | <p>I have this hierarchy in a compose file,</p>
<pre><code>Column {
// Views
Card{
Column {
// views
// HERE I HAVE DYNAMIC LIST
}
}
}
</code></pre>
<p>I tried to solve it like this</p>
<pre><code>LazyColumn {
// Views
item {
C... | I have this hierarchy in a compose file, [CODE] I tried to solve it like this [CODE] Also like this: [CODE] and this [CODE] Nothing works, I need to add the dynamic list inside the column that is inside the card item, which is inside another column, any ideas about that? | android|kotlin|android-jetpack-compose | 0 | 2022-05-18T08:27:05.090Z | 2,022 | 5 | 8 | 2 | 644 | 0 | 271 | 104 | 3 | 4 | true | true | false | false | false | false | zero |
72,285,758 | How to close browser tab with Xamarin.Android? | <p>So, I wrote a Nuget that allows dev in my company to quickly setup authorization using OIDC. Part of that, of course, is handing off the authentication step to a browser so I'm simply invoking <code>Browse.OpenAsync</code> with <code>LaunchMode = BrowserLaunchMode.SystemPreferred</code>. I also set up a HTTP listene... | So, I wrote a Nuget that allows dev in my company to quickly setup authorization using OIDC. Part of that, of course, is handing off the authentication step to a browser so I'm simply invoking Browse.OpenAsync with LaunchMode = BrowserLaunchMode.SystemPreferred . I also set up a HTTP listener that awaits the ahtority's... | xamarin.android | 0 | 2022-05-18T08:34:10.743Z | 2,022 | 5 | 8 | 2 | 72 | 0 | 1,324 | 46 | 1 | 1 | true | true | false | false | false | false | zero |
72,285,821 | Jetpack Compose: ignoring descendants' content description | <p>Let's say I have a Column with Rows. Each Row is a logical unit and I want Talkback to navigate through the Column Row by Row, without selecting and descendants of the row. That's easily achievable with <code>mergeDescendants = true</code></p>
<p>Now, I have a tailored contentDescription for the Row, that provides a... | Let's say I have a Column with Rows. Each Row is a logical unit and I want Talkback to navigate through the Column Row by Row, without selecting and descendants of the row. That's easily achievable with mergeDescendants = true Now, I have a tailored contentDescription for the Row, that provides a more natural descripti... | android|accessibility|android-jetpack-compose|talkback | 2 | 2022-05-18T08:38:15.697Z | 2,022 | 5 | 8 | 2 | 489 | 1 | 541 | 58 | 4 | 1 | true | false | false | false | false | false | low |
72,285,828 | How can I add something to the savedinstancestate of an already destroyed fragment? | <p>Simple question. If a fragment is still existing then I can set the fields of that fragment so when it gets destroyed they will be put into the <code>savedInstanceState</code>. But if the fragment was already destroyed, is there a way to update the <code>savedInstanceState</code> for that fragment so it can get pick... | Simple question. If a fragment is still existing then I can set the fields of that fragment so when it gets destroyed they will be put into the savedInstanceState . But if the fragment was already destroyed, is there a way to update the savedInstanceState for that fragment so it can get picked up when the fragment is r... | android|android-fragments | 0 | 2022-05-18T08:38:33.550Z | 2,022 | 5 | 8 | 2 | 9 | 0 | 833 | 83 | 2 | 1 | true | true | false | false | false | false | zero |
72,285,890 | Reusing Xamarin.Forms.Application while LoadApplication in Xamarin Android | <p>How bad idea is to create application only once and use it all time when calling OnCreate in Android app:</p>
<pre><code>protected override void OnCreate(Bundle bundle)
{
...
if(FirstRun)
_app = new App(new AndroidInitializer());
LoadApplication(_app);
}
</code></pre>
<p>The application resumes much faster... | How bad idea is to create application only once and use it all time when calling OnCreate in Android app: [CODE] The application resumes much faster. I did not noticed any issues during basic tests. FirstRun and _app are static properties. OnCreate is called again for new activity when previous activity was destroyed. ... | xamarin|xamarin.forms|xamarin.android|prism | 0 | 2022-05-18T08:42:27.450Z | 2,022 | 5 | 8 | 2 | 70 | 1 | 403 | 74 | 4 | 1 | true | false | false | false | false | false | zero |
72,285,961 | Download file using Google drive api v3 in java | <p>I try to use google drive api v3 to download file in java with this code i get it from github from this link <a href="https://github.com/googleworkspace/java-samples/blob/master/drive/snippets/drive_v3/src/main/java/DownloadFile.java" rel="nofollow noreferrer">this link of java file in github</a></p>
<pre><code>pack... | I try to use google drive api v3 to download file in java with this code i get it from github from this link this link of java file in github [CODE] But when run app it show me this error Error : type of HttpCredentialsAdapter (com. google . auth.Credentials) is erroneous How i can solve this problem ? | java|android|google-drive-api|google-drive-android-api | 1 | 2022-05-18T08:47:48.597Z | 2,022 | 5 | 8 | 2 | 326 | 0 | 303 | 47 | 4 | 1 | true | true | false | false | false | false | low |
72,286,043 | How to extract advertisement data from Android apps? | <p>I am a student and currently doing an android app development project revolving around advertisement. My app will get all of the information contained inside the ads and show it to the user. For the most part, I have figured it out. Only the first part I have been struggling with. Which is, how do I get the ads data... | I am a student and currently doing an android app development project revolving around advertisement. My app will get all of the information contained inside the ads and show it to the user. For the most part, I have figured it out. Only the first part I have been struggling with. Which is, how do I get the ads data fr... | android|android-studio|web-scraping | 0 | 2022-05-18T08:54:06.240Z | 2,022 | 5 | 8 | 2 | 25 | 0 | 752 | 52 | 3 | 0 | false | true | false | false | false | false | zero |
72,286,182 | android no implementation room 2.4.2 | <p>Unable to install version room > 2.3.0.
I specify the version above - I do syns now gradle (does not show errors).</p>
<p>When compiling the project, it writes that it is not possible to find libraries and shows the links by which these libraries were searched, it is important to note that when you click on the l... | Unable to install version room > 2.3.0. I specify the version above - I do syns now gradle (does not show errors). When compiling the project, it writes that it is not possible to find libraries and shows the links by which these libraries were searched, it is important to note that when you click on the link, the link... | android|sqlite|gradle|android-room | 0 | 2022-05-18T09:03:35.780Z | 2,022 | 5 | 9 | 2 | 244 | 1 | 570 | 36 | 4 | 4 | true | false | false | false | false | false | zero |
72,286,201 | Implementation of smack api in android | <p>i'm implementing xmpp chat with smack api in android. i just want to clear one doubt about save login sessions. like i need to login every-time after app reopen. let's assume i logged in on xmpp when i restart app. i need to login again ?.</p>
<p>there is an flag in xmpptcpconnection isAuthenticated it give's me tru... | i'm implementing xmpp chat with smack api in android. i just want to clear one doubt about save login sessions. like i need to login every-time after app reopen. let's assume i logged in on xmpp when i restart app. i need to login again ?. there is an flag in xmpptcpconnection isAuthenticated it give's me true after lo... | android|session|xmpp|smack | 0 | 2022-05-18T09:04:37.907Z | 2,022 | 5 | 9 | 2 | 22 | 0 | 526 | 38 | 4 | 0 | false | true | false | false | false | false | zero |
72,286,279 | Changing icon color in ImangazelievM circle menu doesn't work | <p>I'm working on a personal project in which I used the <a href="https://github.com/ImangazalievM/CircleMenu" rel="nofollow noreferrer">ImangazelievM CircleMenu library</a>. In the docs, it says you have to change the <strong>iconsColor</strong> and <strong>centerButtonIconColor</strong> attributes to change the icon ... | I'm working on a personal project in which I used the ImangazelievM CircleMenu library . In the docs, it says you have to change the iconsColor and centerButtonIconColor attributes to change the icon color, but this doesn't seem to work. Here is the XML I use to define the menu: [CODE] However, the icon color doesn't c... | android|android-library | 0 | 2022-05-18T09:10:34.750Z | 2,022 | 5 | 9 | 2 | 55 | 0 | 528 | 61 | 2 | 1 | true | true | false | false | false | false | zero |
72,286,302 | to get the value of a variable declared in recycler view and use in fragment | <p>I am trying to call an activity called playerActivity from one of my fragment called Homefragment which uses an recycler view. I have created an interface to communicate between my fragment and activity but when i click on the recyclerview list it does not go to the activity.</p>
<pre><code>class MusicAdapter(privat... | I am trying to call an activity called playerActivity from one of my fragment called Homefragment which uses an recycler view. I have created an interface to communicate between my fragment and activity but when i click on the recyclerview list it does not go to the activity. [CODE] the fragment code [CODE] the interfa... | android|kotlin | 0 | 2022-05-18T09:12:07.640Z | 2,022 | 5 | 9 | 2 | 32 | 1 | 335 | 76 | 2 | 3 | true | false | false | false | false | false | zero |
72,286,368 | Conflicting overloads when add suspend | <p>I have a working application, but I would like to improve one point. The method ("private fun save"), which is responsible for saving the information I need, I would like to make asynchronous.</p>
<p>But the problem is that when I change it to - "private suspend fun save", I have to make suspend ... | I have a working application, but I would like to improve one point. The method ("private fun save"), which is responsible for saving the information I need, I would like to make asynchronous. But the problem is that when I change it to - "private suspend fun save", I have to make suspend and overri... | android|kotlin | 1 | 2022-05-18T09:16:35.350Z | 2,022 | 5 | 9 | 2 | 62 | 1 | 676 | 38 | 2 | 1 | true | false | false | false | false | false | low |
72,286,426 | ObjectBox, how to drop-everything migration on conflicts? | <p>In my case saved data can be cleaned without fear in case of model changes, there is a better way to do this ?</p>
<pre><code>private val dataSource = try {
MyObjectBox.builder().androidContext(context).build().boxFor(XXXX::class)
} catch (e: Exception) {
BoxStore.deleteAllFiles(context, BoxStoreBuilder.DEFA... | In my case saved data can be cleaned without fear in case of model changes, there is a better way to do this ? [CODE] I'm wondering if there is such a thing as this: https://developer.android.com/reference/android/arch/persistence/room/RoomDatabase.Builder#fallbackToDestructiveMigration() | android|objectbox|objectbox-android|objectbox-java | 2 | 2022-05-18T09:20:07.993Z | 2,022 | 5 | 9 | 2 | 53 | 1 | 289 | 57 | 4 | 1 | true | false | false | false | false | false | low |
72,286,472 | Prevent system font scaling - Jetpack Compose | <p>I am trying to restric the app from affected fro system font scaling. I had gone through many solutions but none helped. Most of them tell use dp instead of dp for text sizes but in compose we can use only sp if i am right as it expects a Text Unit.
Is there any right way to restrict font scaling in our app done wit... | I am trying to restric the app from affected fro system font scaling. I had gone through many solutions but none helped. Most of them tell use dp instead of dp for text sizes but in compose we can use only sp if i am right as it expects a Text Unit. Is there any right way to restrict font scaling in our app done with j... | android|kotlin|android-jetpack-compose|font-scaling | 1 | 2022-05-18T09:23:14.863Z | 2,022 | 5 | 9 | 2 | 292 | 2 | 698 | 45 | 4 | 0 | false | false | false | false | false | false | low |
72,286,566 | Why is jetpack compose animateDpAsState not working? | <p>I have a box, and I want to animate its width by using <code>animateDpAsState</code>.</p>
<pre><code>
Box(modifier = modifier)
{
val animatedDpState by animateDpAsState(
targetValue = vm.animateWidthTargetState,
tween(3000))
// box with animated width
Box(
modifier = Modifier
.fil... | I have a box, and I want to animate its width by using animateDpAsState . [CODE] In my viewModel, I have this animateWidthTargetState : [CODE] And somewhere else I changed the value of animateWidthTargetState to that of my screenWidth by clicking a button: [CODE] The problem is that the value of animatedDpState becomes... | android-jetpack-compose | 0 | 2022-05-18T09:29:12.883Z | 2,022 | 5 | 9 | 2 | 217 | 0 | 529 | 52 | 1 | 3 | true | true | false | false | false | false | zero |
72,286,594 | io.reactivex.rxjava3.exceptions.CompositeException on Google Play Console | <p>I'm getting below crash on Google Play Console for my app. But it hasn't highlighted any class of my app here. So, it's becoming hard to understand cause of the crash. This crash is coming very frequently.</p>
<pre><code>io.reactivex.rxjava3.exceptions.CompositeException:
at io.reactivex.rxjava3.internal.observers.... | I'm getting below crash on Google Play Console for my app. But it hasn't highlighted any class of my app here. So, it's becoming hard to understand cause of the crash. This crash is coming very frequently. [CODE] I'm using RxJava for all API calls or any local operation. Thanks in advance. | android|crash|rx-java|google-play-console | 0 | 2022-05-18T09:31:25.423Z | 2,022 | 5 | 9 | 2 | 120 | 0 | 290 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
72,286,701 | RxJava real World Usecase Scenario | <p>Currently im learning how to use RxJava. I fully understand the concept of the reactive Programming paradigma where the programm needs to react to certain types of changes (Userinputs, Sensordata, etc.)</p>
<p>A lot of Tutorials and even the RxJava Github page explains RxJava in a very Simple way of creating a Obser... | Currently im learning how to use RxJava. I fully understand the concept of the reactive Programming paradigma where the programm needs to react to certain types of changes (Userinputs, Sensordata, etc.) A lot of Tutorials and even the RxJava Github page explains RxJava in a very Simple way of creating a Observable and ... | java|functional-programming|rx-java|rx-android|reactive-streams | 0 | 2022-05-18T09:39:00.973Z | 2,022 | 5 | 9 | 2 | 54 | 1 | 1,285 | 34 | 5 | 0 | false | false | false | false | false | false | zero |
72,286,721 | How to add code reference in comments line in android studio? | <p>I want to add code reference in comments docs like following screen shoot.</p>
<p><a href="https://i.stack.imgur.com/G9AOZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G9AOZ.png" alt="enter image description here" /></a></p>
<hr />
<p>But this result I got</p>
<p><a href="https://i.stack.imgur.... | I want to add code reference in comments docs like following screen shoot. But this result I got I really glad if someone guide me some gits or useful links for results that I want. Thanks | flutter|android-studio|dart|comments | 3 | 2022-05-18T09:40:24.103Z | 2,022 | 5 | 9 | 2 | 261 | 2 | 188 | 61 | 4 | 0 | false | false | false | false | false | false | low |
72,286,753 | React Native App Crash in Android 11 If Given One Time Permission To Access Camera | <p>I have an app in react native for Android, when a user opens the camera it asks for Permission. In Android 11 user has two options in permission "<strong>ONLY THIS TIME</strong>" and "<strong>WHILE USING THE APP</strong>", to give access of the camera.</p>
<p>If the user selects the "<strong... | I have an app in react native for Android, when a user opens the camera it asks for Permission. In Android 11 user has two options in permission " ONLY THIS TIME " and " WHILE USING THE APP ", to give access of the camera. If the user selects the " ONLY THIS TIME " option, it opens the cam... | android|react-native|android-camera|android-permissions|android-11 | 1 | 2022-05-18T09:42:57.233Z | 2,022 | 5 | 9 | 2 | 276 | 0 | 700 | 82 | 5 | 0 | false | true | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.