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,126,499 | I got an issue with 2.1.0 socket version in android | <p>How can make Socket.IO works on android client side</p>
<p>I wrote this code in <code>build.gradle</code></p>
<pre><code>implementation('io.socket:socket.io-client:2.1.0') {
exclude group: 'org.json', module: 'json'
}
</code></pre>
<p>and here's my code in fragment, this code not work for me, how can I resolve i... | How can make Socket.IO works on android client side I wrote this code in build.gradle [CODE] and here's my code in fragment, this code not work for me, how can I resolve it [CODE] | java|android|kotlin|websocket|socket.io | 1 | 2022-07-26T15:59:30.253Z | 2,022 | 7 | 15 | 1 | 73 | 1 | 179 | 51 | 5 | 2 | true | false | false | false | false | false | low |
73,126,556 | function to check if a value exists in firebase database (variable needs to be final or effectively final) | <p>I need a function that checks if a value exists or not in my firebase realtime database.
I tried to write the code below:</p>
<pre><code> public boolean esiste(String desc, DatabaseReference meseref){
boolean exists = false;
meseref.addListenerForSingleValueEvent(new ValueEventListener() {
... | I need a function that checks if a value exists or not in my firebase realtime database. I tried to write the code below: [CODE] Maybe it is not the best way, but it is seems very simple for me (I am not an expert programmer). The problem is that compiler says that "Variable 'exists' is accessed from within inner ... | java|android|firebase|firebase-realtime-database | 1 | 2022-07-26T16:03:28.660Z | 2,022 | 7 | 16 | 1 | 31 | 1 | 481 | 106 | 4 | 1 | true | false | false | false | false | false | low |
73,126,703 | Can't attach debugger (GDB) to Android emulator | <p>I'm playing around with the code from the "Embedded Programming with Android: Bringing Up an Android System from Scratch" book.
The Android versions meant in the book are a bit outdated, like 4.4, so I decided to use the current ones.
My setup is:</p>
<ul>
<li>Debian 11</li>
<li>emulator 31.2.10</li>
<li>a... | I'm playing around with the code from the "Embedded Programming with Android: Bringing Up an Android System from Scratch" book. The Android versions meant in the book are a bit outdated, like 4.4, so I decided to use the current ones. My setup is: Debian 11 emulator 31.2.10 android 24/armeabi-v7a system image... | android|android-emulator|arm|gdb|qemu | 1 | 2022-07-26T16:13:47.523Z | 2,022 | 7 | 16 | 1 | 134 | 0 | 1,265 | 47 | 5 | 1 | true | true | false | false | false | false | low |
73,126,721 | Android eSim activation flow | <p>I tried to launch the LPA activation flow from my app following this <a href="https://source.android.com/devices/tech/connect/esim-overview#lpa-flow" rel="nofollow noreferrer">https://source.android.com/devices/tech/connect/esim-overview#lpa-flow</a>.</p>
<p>My app can host multiple carriers (every carrier with dedi... | I tried to launch the LPA activation flow from my app following this https://source.android.com/devices/tech/connect/esim-overview#lpa-flow . My app can host multiple carriers (every carrier with dedicated eSim). Must i sign my app for every carrier or can i launch activation flow sending "ACTION_START_EUICC_ACTIV... | android|euiccmanager | 1 | 2022-07-26T16:15:11.200Z | 2,022 | 7 | 16 | 1 | 75 | 0 | 871 | 28 | 2 | 2 | true | true | false | false | false | false | low |
73,126,866 | Multichecklist Recyclerview in kotlin | <p>I'm lost, I need some orientation.</p>
<p>I need insert one checklist with many checkoption (boolean) (1 to n)
(one checklist have many checkoption, many checkoption have one checklist)</p>
<p>What do i need to insert checklist with list checkoptions?</p>
<p><a href="https://i.stack.imgur.com/mGdCC.png" rel="nofoll... | I'm lost, I need some orientation. I need insert one checklist with many checkoption (boolean) (1 to n) (one checklist have many checkoption, many checkoption have one checklist) What do i need to insert checklist with list checkoptions? data class Checklist (model) [CODE] Object Checkoption (model) [CODE] relatation r... | kotlin|android-recyclerview|radio-button|android-arrayadapter|radio-group | 0 | 2022-07-26T16:26:48.220Z | 2,022 | 7 | 16 | 1 | 17 | 0 | 476 | 37 | 5 | 7 | true | true | false | false | false | false | zero |
73,126,940 | W/OpenGLRenderer: Bitmap too large to be uploaded into a texture (1968x4160, max=4096x4096) | <p>When I upload the image from camera , Imageview appears white and it shows Bitmap too large to be uploaded into a texture (1968x4160, max=4096x4096) and I need to load the image whose zoom about 4096x4096 pixels high.</p>
<pre><code>
protected void onActivityResult(int requestCode, int resultCode, Intent data) {... | When I upload the image from camera , Imageview appears white and it shows Bitmap too large to be uploaded into a texture (1968x4160, max=4096x4096) and I need to load the image whose zoom about 4096x4096 pixels high. [CODE] | android|android-bitmap | 0 | 2022-07-26T16:34:43.293Z | 2,022 | 7 | 16 | 1 | 21 | 0 | 224 | 91 | 2 | 1 | true | true | false | false | false | false | zero |
73,127,000 | Bottom Navigation Bar and NestedScroll View hide my fragment activity | <p>I have an activity with a bottom navigation bar and fragments to show trough the items of this activity, in the first item i have a fragment layout with a nedted scroll view menu with 14 options, but when im scrolling in this fragment dont show completely all the option of my menu.</p>
<p>Here my "activity_inic... | I have an activity with a bottom navigation bar and fragments to show trough the items of this activity, in the first item i have a fragment layout with a nedted scroll view menu with 14 options, but when im scrolling in this fragment dont show completely all the option of my menu. Here my "activity_inicio" w... | java|android|xml|android-fragments|android-bottomnavigationview | 0 | 2022-07-26T16:40:29.247Z | 2,022 | 7 | 16 | 1 | 34 | 2 | 486 | 69 | 5 | 2 | true | false | false | false | false | false | zero |
73,127,002 | Missing road arguments value while using Navigation in Jetpack Compose | <p>I created a road using Navigation (with Jetpack Compose) as so</p>
<pre><code> composable(CatLifeScreen.AddCatFormScreen.route + "?catId={catId}",
arguments = listOf(
navArgument(name = "catId") {
nullable = tr... | I created a road using Navigation (with Jetpack Compose) as so [CODE] If I don't add any argument, the road works good [CODE] If I define an argument it.arguments?.getInt("catId") is 0 when my passed argument is not 0. [CODE] Does anyone have a lead to follow or something? I've been stuck for a long time now | android|kotlin|android-jetpack-compose|android-jetpack-navigation | 1 | 2022-07-26T16:40:58.310Z | 2,022 | 7 | 16 | 1 | 82 | 2 | 319 | 70 | 4 | 3 | true | false | false | false | false | false | low |
73,127,091 | passing parameter to ActivityResultContracts.StartActivityForResult always default | <p>I'm trying to pass parameter for ActivityResultContracts.StartActivityForResult() but it's always null (getParcelableExtra), or default (getIntExtra). I don't understand what I do wrong.</p>
<pre><code> ActivityResultLauncher<Intent> activityResultLauncher;
protected void onCreate(Bundle savedInstanceState)... | I'm trying to pass parameter for ActivityResultContracts.StartActivityForResult() but it's always null (getParcelableExtra), or default (getIntExtra). I don't understand what I do wrong. [CODE] I always get : [CODE] (Code is just an example, don't focus on intent type please) | java|android|android-intent|parameter-passing | 0 | 2022-07-26T16:50:05.500Z | 2,022 | 7 | 16 | 1 | 51 | 0 | 276 | 82 | 4 | 2 | true | true | false | false | false | false | zero |
73,127,101 | How to use Android File Chooser througth a Capacitor custom Plugin | <p>I'm trying to develop a File Chooser for an app developed in Ionic, the intention of this function is to read big files. I tried using <a href="https://ionicframework.com/docs/native/Chooser" rel="nofollow noreferrer">Capacitor plugin</a>, however the app crashes with files above 25mb, depending on cell phone. Throu... | I'm trying to develop a File Chooser for an app developed in Ionic, the intention of this function is to read big files. I tried using Capacitor plugin , however the app crashes with files above 25mb, depending on cell phone. Through Memory Profiler I understand that it's because of the high memory usage of the Chooser... | java|android|ionic-framework|capacitor|capacitor-plugin | 3 | 2022-07-26T16:51:40.073Z | 2,022 | 7 | 16 | 1 | 94 | 0 | 1,947 | 66 | 5 | 3 | true | true | false | false | false | false | low |
73,127,173 | Set callback in intent BACKGROUND Location Android Studio Java | <p>Good morning,</p>
<p>I would like to add a localization service in background. After many unsuccessful searches, I decided to ask the question here.</p>
<p>My problem is this, I can’t find complete documentation that explains how to make a service in the background on Android.</p>
<p>I managed to find a preferred co... | Good morning, I would like to add a localization service in background. After many unsuccessful searches, I decided to ask the question here. My problem is this, I can’t find complete documentation that explains how to make a service in the background on Android. I managed to find a preferred code on github, which uses... | java|android|android-studio|android-intent | 0 | 2022-07-26T16:58:06.777Z | 2,022 | 7 | 16 | 1 | 90 | 3 | 1,554 | 62 | 4 | 1 | true | false | false | false | false | false | zero |
73,127,271 | Detect all user gesture with in the android app | <p>Is there is any way via which all user gestures, touch can be detected in app?</p>
<p>Using LifecycleCallbackHandler, I am able to get all the activity instances in <code>onActivityResumed(Activity activity)</code>. Is it possible for us to track gesture using this methodology. Or any alternate way via without going... | Is there is any way via which all user gestures, touch can be detected in app? Using LifecycleCallbackHandler, I am able to get all the activity instances in onActivityResumed(Activity activity) . Is it possible for us to track gesture using this methodology. Or any alternate way via without going into each activity or... | android|android-layout|layout|touch-event | 0 | 2022-07-26T17:07:59.063Z | 2,022 | 7 | 17 | 1 | 27 | 0 | 418 | 47 | 4 | 0 | false | true | false | false | false | false | zero |
73,127,299 | Parse Xml with retrofit and tikxml | <p>I'm trying to get data from
<a href="https://rss.nytimes.com/services/xml/rss/nyt/US.xml" rel="nofollow noreferrer">https://rss.nytimes.com/services/xml/rss/nyt/US.xml</a>
I want just to extract the title from that XML
but I'm getting an error. can someone help me please</p>
<p>this is the code :</p>
<pre><code>@Xml... | I'm trying to get data from https://rss.nytimes.com/services/xml/rss/nyt/US.xml I want just to extract the title from that XML but I'm getting an error. can someone help me please this is the code : [CODE] interface : [CODE] retrofit instance: i did it with Hilt [CODE] and finally error : java.io.IOException: Could not... | android|xml|kotlin|xml-parsing|retrofit | 0 | 2022-07-26T17:10:07.607Z | 2,022 | 7 | 17 | 1 | 31 | 0 | 587 | 34 | 5 | 3 | true | true | false | false | false | false | zero |
73,127,346 | How do I make a navigation app for android auto? | <p>I understand that the question is too general but I really have no idea how to even start. So far only I've managed to build a Hello World app and that's it. Apparently, in order to develop an app in android auto you need to use one of their available templates, one of which is the navigation template. The problem i... | I understand that the question is too general but I really have no idea how to even start. So far only I've managed to build a Hello World app and that's it. Apparently, in order to develop an app in android auto you need to use one of their available templates, one of which is the navigation template. The problem is, ... | kotlin|android-auto|android-automotive | 0 | 2022-07-26T17:15:14.213Z | 2,022 | 7 | 17 | 1 | 77 | 0 | 523 | 48 | 3 | 0 | false | true | false | false | false | false | zero |
73,127,464 | Android - DropDownPreference not working in Landscape orientation | <p>I have a pretty weird issue. In my <code>SettingsActivity</code>, I have a DropDownPreference (the one that displays a list when clicked), and it works fine on Portrait mode.
However, when I go into Landscape mode, whenever the preference is clicked, it quickly disappears after being displayed, as if I had pressed t... | I have a pretty weird issue. In my SettingsActivity , I have a DropDownPreference (the one that displays a list when clicked), and it works fine on Portrait mode. However, when I go into Landscape mode, whenever the preference is clicked, it quickly disappears after being displayed, as if I had pressed the screen twice... | android|android-preferences|preferenceactivity | 1 | 2022-07-26T17:26:01.163Z | 2,022 | 7 | 17 | 1 | 47 | 0 | 581 | 65 | 3 | 2 | true | true | false | false | false | false | low |
73,127,527 | Interoperability Renderer with Jetpack Compose | <p>I currently have a GlSurfaceView that is sending messages through the JNI to a C library to render. I am curious if anyone has tried to figure out how to use a renderer in Jetpack Compose so that there is a onDrawFrame call similar to the GlSurfaceView.Renderer? I know that Jetpack Compose is using an altogether dif... | I currently have a GlSurfaceView that is sending messages through the JNI to a C library to render. I am curious if anyone has tried to figure out how to use a renderer in Jetpack Compose so that there is a onDrawFrame call similar to the GlSurfaceView.Renderer? I know that Jetpack Compose is using an altogether differ... | kotlin|android-jetpack-compose|kotlin-multiplatform | 0 | 2022-07-26T17:32:32.650Z | 2,022 | 7 | 17 | 1 | 39 | 0 | 503 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
73,127,662 | AM trying to pass data image Url, fileurl into my movie app in the Tablayout am getting some erroes | <p>AM trying to pass data image Url, fileurl into my movie app in the Tablayout am getting some erroes
<strong>This is the Main MainActivity</strong></p>
<p>public class MainActivity extends AppCompatActivity {</p>
<pre><code>BannerMoviesPagerAdapter bannerMoviesPagerAdapter;
TableLayout tableLayout;
ViewPager bannerMo... | AM trying to pass data image Url, fileurl into my movie app in the Tablayout am getting some erroes This is the Main MainActivity public class MainActivity extends AppCompatActivity { [CODE] } //BannerMoviesPageAdapter// public class BannerMoviesPagerAdapter extends PagerAdapter { [CODE] } BannerMovies public class Ban... | android|video | 0 | 2022-07-26T17:44:11.230Z | 2,022 | 7 | 17 | 1 | 30 | 2 | 340 | 99 | 2 | 3 | true | false | false | false | false | false | zero |
73,127,675 | Getting error "Default FirebaseApp is not initialized in this process com.example.ecom. Make sure to call FirebaseApp.initializeApp(Context) first" | <p><strong>MainActivity.java</strong></p>
<p>package com.example.ecom;</p>
<p>import android.app.ProgressDialog;</p>
<p>import android.content.Intent;</p>
<p>import android.os.Bundle;</p>
<p>import android.text.TextUtils;</p>
<p>import android.view.View;</p>
<p>import android.widget.Button;</p>
<p>import android.widget... | MainActivity.java package com.example.ecom; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.appcompat.app.Ap... | android|firebase | 0 | 2022-07-26T17:45:15.267Z | 2,022 | 7 | 17 | 1 | 76 | 1 | 831 | 147 | 2 | 2 | true | false | false | false | false | false | zero |
73,127,988 | Is Gradle Wrapper command part of AGP or Gradle? | <p>We cannot see an answer to the question on whether command like <code>./gradlew lint</code> is part of Android Gradle Plugin (AGP) or the Gradle itself. We are getting error when executing lint but it seems a bug with the lint itself and we are not sure if we supposedly report it on AGP or Gradle.</p>
<p>Logs:</p>
<... | We cannot see an answer to the question on whether command like ./gradlew lint is part of Android Gradle Plugin (AGP) or the Gradle itself. We are getting error when executing lint but it seems a bug with the lint itself and we are not sure if we supposedly report it on AGP or Gradle. Logs: Error: Unexpected failure du... | gradle|android-gradle-plugin|build.gradle|gradle-plugin|gradlew | 0 | 2022-07-26T18:12:09.493Z | 2,022 | 7 | 18 | 1 | 30 | 1 | 495 | 48 | 5 | 0 | false | false | false | false | false | false | zero |
73,128,096 | Test if Spotify is paused using the Android SDK, and keep that variable updated? | <p>I have a beginner's understanding of C++ and have no prior experience with Java. I've been following <a href="https://developer.spotify.com/documentation/android/quick-start/" rel="nofollow noreferrer">https://developer.spotify.com/documentation/android/quick-start/</a> and started coding an app to control Spotify p... | I have a beginner's understanding of C++ and have no prior experience with Java. I've been following https://developer.spotify.com/documentation/android/quick-start/ and started coding an app to control Spotify playback. The issue I'm running into is that I can't figure out how to create a boolean variable that simply ... | java|android|spotify | 0 | 2022-07-26T18:21:31.470Z | 2,022 | 7 | 18 | 1 | 32 | 0 | 1,287 | 80 | 3 | 3 | true | true | false | false | false | false | zero |
73,128,233 | How to create an user logout activity in Android Studio? | <p>I'm trying to create a logout activity class that allow the user to sign out of their account and bring them back to the login page. Although nothing crashed when I ran the application, but the logout button does not process the logout activity class. Any idea on what I might did wrong below?</p>
<pre><code>public c... | I'm trying to create a logout activity class that allow the user to sign out of their account and bring them back to the login page. Although nothing crashed when I ran the application, but the logout button does not process the logout activity class. Any idea on what I might did wrong below? [CODE] | java|android | 0 | 2022-07-26T18:34:30.883Z | 2,022 | 7 | 18 | 1 | 35 | 0 | 300 | 56 | 2 | 1 | true | true | false | false | false | false | zero |
73,128,256 | Firebase Authentication is working but data is not storing in relatime database | <p>My Authentication is working fine but I am not able to store and retrive data from realtime database. Below is the firebase rule(I am using locked mode and Usa server) and my signup Activity class. Please help me with this thing. I am taking database refernce and giving setValue method but still its not working. I h... | My Authentication is working fine but I am not able to store and retrive data from realtime database. Below is the firebase rule(I am using locked mode and Usa server) and my signup Activity class. Please help me with this thing. I am taking database refernce and giving setValue method but still its not working. I have... | android|firebase|firebase-realtime-database | 0 | 2022-07-26T18:36:34.743Z | 2,022 | 7 | 18 | 1 | 35 | 0 | 441 | 79 | 3 | 2 | true | true | false | false | false | false | zero |
73,128,315 | how to show dialog only once in Kotlin? | <p>When opening my app a dialog is always shown that closes when you press "Ok", I would like it to only be shown the first time they open the app, this is my code:</p>
<pre><code>val miDialogo = AlertDialog.Builder(this)
miDialogo.setTitle(R.string.dialogo_titulo)
miDialogo.setMessage(R.string.dialog... | When opening my app a dialog is always shown that closes when you press "Ok", I would like it to only be shown the first time they open the app, this is my code: [CODE] | android|kotlin|dialog | 0 | 2022-07-26T18:41:59.840Z | 2,022 | 7 | 18 | 1 | 69 | 1 | 178 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
73,128,508 | How to load plugins when updating to MvvmCross 6.4.2 from 5.6.2 | <p>I've been tasked with maintaining a Xamarin native project using MvvmCross 5.6.2. Not knowing exactly how to approach this, I've decided to update to one major version at a time (6 first, then 7 and 8). I'm not sure why I specifically have chosen 6.4.2, but it was maybe because this was the latest version of the maj... | I've been tasked with maintaining a Xamarin native project using MvvmCross 5.6.2. Not knowing exactly how to approach this, I've decided to update to one major version at a time (6 first, then 7 and 8). I'm not sure why I specifically have chosen 6.4.2, but it was maybe because this was the latest version of the majori... | xamarin|xamarin.android|mvvmcross | 0 | 2022-07-26T19:01:33.773Z | 2,022 | 7 | 19 | 1 | 38 | 2 | 1,859 | 63 | 3 | 1 | true | false | false | false | false | false | zero |
73,128,530 | Why i cordova app doesn`t work on android 6 or lower | <p>An application was developed on cordova and svelte. The application runs without problems on androids version 7 and newer, but on version 6 it starts, gives errors and does not load a single element. JS doesn't work.</p>
<p>Logs:</p>
<pre><code>I/chromium: [INFO:CONSOLE(46)] "Uncaught SyntaxError: Block-scoped ... | An application was developed on cordova and svelte. The application runs without problems on androids version 7 and newer, but on version 6 it starts, gives errors and does not load a single element. JS doesn't work. Logs: [CODE] The FileTransfer plugin costs the latest version (installed via git) | android|cordova|svelte | 0 | 2022-07-26T19:04:40.443Z | 2,022 | 7 | 19 | 1 | 34 | 0 | 298 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
73,128,587 | Kotlin/AndroidStudio - problem with selecting applications action share - options menu | <p>I have a problem with selecting applications in setShareActionIntent. This is my code:</p>
<pre><code> override fun onCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.menu_main, menu)
val menuItem: MenuItem = menu.findItem(R.id.action_share)
shareActionProvider = MenuIt... | I have a problem with selecting applications in setShareActionIntent. This is my code: [CODE] and now I have two opportunities: when I enter to activity, popup opens with applications (correct applications - i.e. messenger or text messages) [CODE] when I click in toolbar share icon (wrong applications are on the list i... | android|android-studio|kotlin|android-optionsmenu | 0 | 2022-07-26T19:09:18.547Z | 2,022 | 7 | 19 | 1 | 28 | 0 | 829 | 86 | 4 | 3 | true | true | false | false | false | false | zero |
73,128,748 | block image/jpeg;base64 using url filter | <p>I using WebViewClient's <code>shouldInterceptRequest</code> function to filter photos in my android webView.</p>
<p><strong>The problem</strong><br />
I'm trying to block google's base64 URL photos (like:<code>data:image/jpeg;base64,+</code>) using this regex <code>data:image/(jpg|png|jpeg);base64,</code> but withou... | I using WebViewClient's shouldInterceptRequest function to filter photos in my android webView. The problem I'm trying to block google's base64 URL photos (like: data:image/jpeg;base64,+ ) using this regex data:image/(jpg|png|jpeg);base64, but without success. I done my research and found that : these base64 background... | javascript|java|android|webview|android-webview | 2 | 2022-07-26T19:24:30.860Z | 2,022 | 7 | 19 | 1 | 50 | 0 | 501 | 40 | 5 | 3 | true | true | false | false | false | false | low |
73,128,987 | How do I use Shared Preferences in flutter to save user selection after hot restart? | <p>I want to be able to not lose the stroke width and color selected after hot restart. This is how I initialized:</p>
<pre><code> class _DoodleBoardState extends State<DoodleBoard> {
GlobalKey globalKey = GlobalKey();
List<TouchPoints> pointsList = [];
double opacity = 1.0;
StrokeCap strokeType =... | I want to be able to not lose the stroke width and color selected after hot restart. This is how I initialized: [CODE] This is what I have tried for the color [CODE] | flutter|android-studio|dart | 0 | 2022-07-26T19:48:12.617Z | 2,022 | 7 | 19 | 1 | 18 | 1 | 165 | 84 | 3 | 2 | true | false | false | false | false | false | zero |
73,129,045 | Page Object Model -- Kotlin -- Testing | <p>I need help with Page Object Model pattern in Android. I keep getting this error for the verify() method on page.verify(); I have tried adding MockK dependencies. I am still new at Android testing. Any advice is very much appreciated!</p>
<p>Resources: <a href="https://hanru-yeh.medium.com/pageobject-pattern-by-kotl... | I need help with Page Object Model pattern in Android. I keep getting this error for the verify() method on page.verify(); I have tried adding MockK dependencies. I am still new at Android testing. Any advice is very much appreciated! Resources: https://hanru-yeh.medium.com/pageobject-pattern-by-kotlin-into-android-ui-... | android|kotlin|testing|android-espresso|android-testing | 0 | 2022-07-26T19:53:46.217Z | 2,022 | 7 | 19 | 1 | 45 | 1 | 347 | 38 | 5 | 1 | true | false | false | false | false | false | zero |
73,129,187 | FlexboxLayoutManager throw an indexOutOfBoundException | <p>We have a RecyclerView with a FlexboxLayoutManager witch throw an IndexOutOfBound on each scroll of the recyclerView.</p>
<pre><code>FlexBox version: 2.0.1
Kotlin version: 1.4.30
</code></pre>
<p>Our code</p>
<pre><code>C = EbookFlexController(this)
B.recycler.setItemViewCacheSize(10)
C.adapter.hasSt... | We have a RecyclerView with a FlexboxLayoutManager witch throw an IndexOutOfBound on each scroll of the recyclerView. [CODE] Our code [CODE] C represents the FlexBoxController [CODE] On firebase, we have this error: [CODE] The same lib is used somewhere in the app and works without bugs. We don't know why with the exac... | android|kotlin|flexbox | 0 | 2022-07-26T20:07:37.160Z | 2,022 | 7 | 20 | 1 | 31 | 0 | 383 | 54 | 3 | 4 | true | true | false | false | false | false | zero |
73,129,319 | Returning position from RecyclerView(Adapter) | <p>I have two class and I would like to be able to change the imageview(e.g. upmainchar) in select_characters_life after clicking the item in recyclerview.</p>
<pre><code>class select_characters_life : AppCompatActivity() {
private lateinit var adapter: MyAdapter
override fun onCreate(savedInstanceState: Bundle... | I have two class and I would like to be able to change the imageview(e.g. upmainchar) in select_characters_life after clicking the item in recyclerview. [CODE] and adapter class [CODE] I think that there are two ways to resolve this problem. The first one is adding a new view in the adapter class (first class layout). ... | android|kotlin|android-recyclerview | 0 | 2022-07-26T20:20:54.163Z | 2,022 | 7 | 20 | 1 | 39 | 2 | 425 | 45 | 3 | 2 | true | false | false | false | false | false | zero |
73,129,574 | You can't submit updates as some information about your app is incomplete (Google Play) | <p>Cannot update my app in Google Play since it says:</p>
<blockquote>
<p>This release includes the com.google.android.gms.permission.AD_ID
permission but your declaration on Play Console says your app doesn't
use advertising ID.</p>
<p>You must update your advertising ID declaration.</p>
</blockquote>
<p>First thing i... | Cannot update my app in Google Play since it says: This release includes the com.google.android.gms.permission.AD_ID permission but your declaration on Play Console says your app doesn't use advertising ID. You must update your advertising ID declaration. First thing is that the app not using ads. The library which is ... | android|android-studio|google-play|android-manifest|google-advertising-id | 20 | 2022-07-26T20:47:36.463Z | 2,022 | 7 | 20 | 1 | 3,373 | 4 | 1,219 | 87 | 5 | 2 | true | false | true | false | true | false | medium |
73,129,620 | Respond from Volley library comes in twice | <p>I am trying to figure out why a response from the Volley library comes in twice (and it is not always the same response that is doubled).</p>
<p>This is the result, a pie chart:</p>
<p><a href="https://i.stack.imgur.com/fsOyp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fsOyp.jpg" alt="enter im... | I am trying to figure out why a response from the Volley library comes in twice (and it is not always the same response that is doubled). This is the result, a pie chart: As we can see the total income and the total spending comes in twice (and if I debug it, it is never 4 GET calls, it is always at least 6 GET calls, ... | rest|android-volley | 0 | 2022-07-26T20:53:02.187Z | 2,022 | 7 | 20 | 1 | 12 | 1 | 567 | 42 | 2 | 1 | true | false | false | false | false | false | zero |
73,129,627 | Starting an expo/react-native app automatically on boot - what to do in the receiver? | <p>I've figured out how to get android to run some Java code on the systemwide <code>BOOT_COMPLETED</code> event. It's not clear to me what I need to do next to start my app in some form. As a novice android developer, I'm not even sure exactly if I can call into the JS side of the app at this point - is it even initia... | I've figured out how to get android to run some Java code on the systemwide BOOT_COMPLETED event. It's not clear to me what I need to do next to start my app in some form. As a novice android developer, I'm not even sure exactly if I can call into the JS side of the app at this point - is it even initialized? Right now... | android|react-native|expo|boot | 0 | 2022-07-26T20:53:35.963Z | 2,022 | 7 | 20 | 1 | 100 | 0 | 1,465 | 85 | 4 | 1 | true | true | false | false | false | false | zero |
73,129,782 | How to prevent AutoComplete of two different search fields | <p>First off, please excuse my attempt at trying to solve the problem I'm about to describe.</p>
<p><strong>Problem:</strong> I have two search fields, 1) "Enter Origin Address" and 2) "Enter Destination Address". Within these fields, a user can enter an address and the Google Places API launches to... | First off, please excuse my attempt at trying to solve the problem I'm about to describe. Problem: I have two search fields, 1) "Enter Origin Address" and 2) "Enter Destination Address". Within these fields, a user can enter an address and the Google Places API launches to present various predicted ... | java|android-studio|google-places-api | 0 | 2022-07-26T21:10:14.697Z | 2,022 | 7 | 21 | 1 | 31 | 0 | 630 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
73,129,829 | How to send and receive notifications like social media apps | <p>I have successfully developed a chat app using java and firebase and I am stuck at sending and receiving chat notifications when chatting with a friend who has install my app. i have tried using FCM but to no avail. I have written the code and when i send a message, the friend doesn't receive a notification whether ... | I have successfully developed a chat app using java and firebase and I am stuck at sending and receiving chat notifications when chatting with a friend who has install my app. i have tried using FCM but to no avail. I have written the code and when i send a message, the friend doesn't receive a notification whether app... | java|android|firebase|firebase-cloud-messaging|android-notifications | 1 | 2022-07-26T21:15:41.503Z | 2,022 | 7 | 21 | 1 | 56 | 1 | 487 | 60 | 5 | 1 | true | false | false | false | false | false | low |
73,129,874 | Flutter Page Not Updating Upon Exiting The Page | <p>I am trying to make a product management application. In this application, I divided the products into categories. And in order to reach the products, it is necessary to choose a category from the main page.</p>
<p>I'm saving the user-selected category with GetX and on the Listing Products page, I'm trying to list t... | I am trying to make a product management application. In this application, I divided the products into categories. And in order to reach the products, it is necessary to choose a category from the main page. I'm saving the user-selected category with GetX and on the Listing Products page, I'm trying to list the product... | android|flutter|google-cloud-firestore | 0 | 2022-07-26T21:21:52.143Z | 2,022 | 7 | 21 | 1 | 21 | 0 | 1,423 | 47 | 3 | 3 | true | true | false | false | false | false | zero |
73,129,904 | Jetpack Compose - TextField loses focus after typing | <p>I have an <code>AlertDialog</code> with dynamic height. It has a <code>TextField</code>, on which some basic validation is performed, such as making sure the content is not empty. A warning message is displayed below it if validation fails. Once the user enters text in the text field, the warning message automatical... | I have an AlertDialog with dynamic height. It has a TextField , on which some basic validation is performed, such as making sure the content is not empty. A warning message is displayed below it if validation fails. Once the user enters text in the text field, the warning message automatically disappears. The problem i... | android-jetpack-compose|textfield | 0 | 2022-07-26T21:24:22.630Z | 2,022 | 7 | 21 | 1 | 67 | 0 | 610 | 52 | 2 | 2 | true | true | false | false | false | false | zero |
73,129,978 | gallery pick then crop the photo gives my blank image | <p>I'm trying to follow the example of @bigant02 on <a href="https://stackoverflow.com/questions/64571762/can-not-resolve-com-android-camera-action-crop-in-android-11-for-first-time-app">Can not resolve com.android.camera.action.CROP in android 11 for first time app is installed</a> (not enough reputation to post there... | I'm trying to follow the example of @bigant02 on Can not resolve com.android.camera.action.CROP in android 11 for first time app is installed (not enough reputation to post there) but, if I can pick my photo and show it if needed, if I send this Uri to a cropImage(), I get empty image to crop capture I don't understand... | java|android|image|crop|pickup | 0 | 2022-07-26T21:34:39.133Z | 2,022 | 7 | 21 | 1 | 22 | 0 | 458 | 53 | 5 | 3 | true | true | false | false | false | false | zero |
73,130,050 | Colab gives me this error: AttributeError: module 'shlex' has no attribute 'join'... how can i fix it? | <p>I always ran the code like this but now it gives me this error.</p>
<p>!wget <a href="https://github.com/HeaTTheatR/KivyMD-data/raw/master/install-kivy-buildozer-dependencies.sh" rel="nofollow noreferrer">https://github.com/HeaTTheatR/KivyMD-data/raw/master/install-kivy-buildozer-dependencies.sh</a>
!chmod +x instal... | I always ran the code like this but now it gives me this error. !wget https://github.com/HeaTTheatR/KivyMD-data/raw/master/install-kivy-buildozer-dependencies.sh !chmod +x install-kivy-buildozer-dependencies.sh !./install-kivy-buildozer-dependencies.sh !sudo apt update !sudo apt install -y git zip unzip openjdk-8-jdk p... | android|kivy|apk|google-colaboratory|buildozer | 0 | 2022-07-26T21:43:14.573Z | 2,022 | 7 | 21 | 1 | 59 | 0 | 1,057 | 102 | 5 | 0 | false | true | false | false | false | false | zero |
73,130,076 | Multi Unit convertor android application | <p>I am designing a multi unit convertor app...</p>
<p>for that i created a spinner and store its value in array.
then an edittext where we can put numbers</p>
<p>i want when I press convert button it takes unit from the spinner like weight,currency etc whatever the user select then and solve the equation like if i sel... | I am designing a multi unit convertor app... for that i created a spinner and store its value in array. then an edittext where we can put numbers i want when I press convert button it takes unit from the spinner like weight,currency etc whatever the user select then and solve the equation like if i select weight catego... | java|android | -2 | 2022-07-26T21:46:04.183Z | 2,022 | 7 | 21 | 1 | 22 | 1 | 501 | 40 | 2 | 1 | true | false | false | false | false | true | negative |
73,130,106 | BottomNavigationView Navigation displays wrong icon in Android app | <p>I have 3 tabs with BottomNavigationView, each tab has:</p>
<pre><code>tab 1: recyclerview list (home icon)
tab 2: recyclerview list (cart icon)
tab 3: Button which navigates to tab 1 (search icon)
</code></pre>
<p>all is good, when I navigate between BottomNavigationView (the icon changes good), <strong>BUT when I... | I have 3 tabs with BottomNavigationView, each tab has: [CODE] all is good, when I navigate between BottomNavigationView (the icon changes good), BUT when I click the button, fragment changes good but the icon does not change (always is search icon and should be the home icon) this is my code: Button click: [CODE] Botto... | java|android | 0 | 2022-07-26T21:49:11.820Z | 2,022 | 7 | 21 | 1 | 55 | 1 | 482 | 66 | 2 | 5 | true | false | false | false | false | false | zero |
73,130,111 | cordova-android 11 :: Could not find com.google.xy | <p>After updating to cordova-android 11.0.0, the Android build fails with the following error(s):</p>
<p>I have tried everything possible, but am at a loss...</p>
<pre><code> > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.google.android.gms:play-services-au... | After updating to cordova-android 11.0.0, the Android build fails with the following error(s): I have tried everything possible, but am at a loss... [CODE] build.gradle: [CODE] repositories.gradle: [CODE] cordova.gradle: [CODE] Does anyone have an idea? | android-studio|cordova | 0 | 2022-07-26T21:49:36.177Z | 2,022 | 7 | 21 | 1 | 90 | 1 | 253 | 50 | 2 | 4 | true | false | false | false | false | false | zero |
73,130,130 | How to add chip to edit text in Android Studio | <p>I found a dependency that I thought might help me, and it looked promising. But when I try to implement it I get a
<code>"Failed to resolve: com.hootsuite.android:nachos:1.1.1" :</code></p>
<p><a href="https://i.stack.imgur.com/qgbEx.png" rel="nofollow noreferrer">https://i.stack.imgur.com/qgbEx.png</a></p... | I found a dependency that I thought might help me, and it looked promising. But when I try to implement it I get a "Failed to resolve: com.hootsuite.android:nachos:1.1.1" : https://i.stack.imgur.com/qgbEx.png And the thing I'm trying to accomplish is this: https://i.stack.imgur.com/d2JaU.png as seen in this v... | android|kotlin|android-edittext|android-chips|xml-layout | 1 | 2022-07-26T21:51:37.887Z | 2,022 | 7 | 21 | 1 | 136 | 3 | 448 | 46 | 5 | 0 | false | false | false | false | false | false | low |
73,130,183 | React Native Custom UI Component doesn't appear in the DOM | <p>I created a super simple custom component based on the <a href="https://reactnative.dev/docs/native-components-android" rel="nofollow noreferrer">official docs</a>.</p>
<p>I created a View Manager that contains a blue view:</p>
<pre><code>package com.awesomeapp.customview
import android.graphics.Color
import androi... | I created a super simple custom component based on the official docs . I created a View Manager that contains a blue view: [CODE] A package: [CODE] Then registered the package in MainApplication : [CODE] And wrapped in Typescript: [CODE] But when I use it: [CODE] It doesn't appear in the DOM at all: Why doesn't the cus... | android|react-native | 1 | 2022-07-26T21:58:19.630Z | 2,022 | 7 | 21 | 1 | 33 | 0 | 354 | 58 | 2 | 5 | true | true | false | false | false | false | low |
73,130,207 | Can't set 'Module' in Android Studio run configuration | <p>I have a module in my Android app, and I can find it in my project structure:</p>
<p><a href="https://i.stack.imgur.com/XLbis.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XLbis.png" alt="enter image description here" /></a></p>
<p>...but I can't find it when trying to build a run configuration:... | I have a module in my Android app, and I can find it in my project structure: ...but I can't find it when trying to build a run configuration: No modules at all appear as options in the Module dropdown control. What do I need to do differently? (I can build the project on the command line with ./gradlew assembleProdRel... | android|android-studio | 0 | 2022-07-26T22:02:58.303Z | 2,022 | 7 | 22 | 1 | 18 | 0 | 327 | 54 | 2 | 0 | false | true | false | false | false | false | zero |
73,130,320 | How to export a font from Android Studio | <p>I am attempting to retrain an OCR model off of a font used in an application. The problem lies in the fact that I can not find this specific font anywhere to download. So, is there any way to export a font used in android studio, or find it in the emulator's memory or anything?</p> | I am attempting to retrain an OCR model off of a font used in an application. The problem lies in the fact that I can not find this specific font anywhere to download. So, is there any way to export a font used in android studio, or find it in the emulator's memory or anything? | android|android-studio|ocr | 0 | 2022-07-26T22:16:37.623Z | 2,022 | 7 | 22 | 1 | 25 | 0 | 278 | 40 | 3 | 0 | false | true | false | false | false | false | zero |
73,130,378 | App Signing Error "The app signature key information is different from that of the app version uploaded earlier. Please upload a valid key file" | <p>Trying to upload an update in Huawei App Gallery I have created the .zip required for "App Signing":</p>
<blockquote>
<p>java -jar pepk.jar --keystore jorgesyskeystore.jks --alias
jorgesysioana --output=output.zip
--encryptionkey=1234567892224EE22B45D19B23DB91BA9F52DE0A06513E03A5821409B34976FDEED6E0A47DBA4... | Trying to upload an update in Huawei App Gallery I have created the .zip required for "App Signing": java -jar pepk.jar --keystore jorgesyskeystore.jks --alias jorgesysioana --output=output.zip --encryptionkey=1234567892224EE22B45D19B23DB91BA9F52DE0A06513E03A5821409B34976FDEED6E0A47DBA48CC249DD93734A6C5D9A0F4... | android|huawei-mobile-services|huawei-developers|android-app-signing|app-signing | 2 | 2022-07-26T22:25:18.737Z | 2,022 | 7 | 22 | 1 | 81 | 2 | 761 | 144 | 5 | 0 | false | false | false | false | false | false | low |
73,130,510 | react-native-share App crashing after trying to share Android | <p>I'm trying to use react-native-share to share a QR code on my react native app, unfortunately once I press the send button to share the image the app crashes and sometimes the share is completed sometimes it isn't. I'm not sure were this error might be happening. Opening the share is slower than usual. This is the f... | I'm trying to use react-native-share to share a QR code on my react native app, unfortunately once I press the send button to share the image the app crashes and sometimes the share is completed sometimes it isn't. I'm not sure were this error might be happening. Opening the share is slower than usual. This is the func... | javascript|android|react-native|image|react-native-share | 1 | 2022-07-26T22:46:53.217Z | 2,022 | 7 | 22 | 1 | 77 | 1 | 654 | 61 | 5 | 1 | true | false | false | false | false | false | low |
73,130,593 | Wear OS Custom Rotary Function | <p>I have been trying to add a custom function to my bevel / rotary input for wear OS.
Simply I just want to increment a number when I turn the bevel one way or another.</p>
<p>If anyone would have any examples of custom Rotary Input with the .XML I would appreciate it!
Sadly I can't seem to figure out from the documen... | I have been trying to add a custom function to my bevel / rotary input for wear OS. Simply I just want to increment a number when I turn the bevel one way or another. If anyone would have any examples of custom Rotary Input with the .XML I would appreciate it! Sadly I can't seem to figure out from the documentation alo... | java|android|android-studio|wear-os | 1 | 2022-07-26T23:00:42.707Z | 2,022 | 7 | 23 | 1 | 29 | 1 | 323 | 30 | 4 | 0 | false | false | false | false | false | false | low |
73,130,992 | When I try to play a not-playable youtube video, Youtube Player endless loading in android | <p>When I try to play a not-playable youtube video,
the youtube player displays an infinite loading
I want to display a screen that fits the errorReason of onError method like PC youtube</p>
<p>I want
<a href="https://i.stack.imgur.com/t5oh9.png" rel="nofollow noreferrer">Error</a></p>
<p>but, Youtube Player in Android... | When I try to play a not-playable youtube video, the youtube player displays an infinite loading I want to display a screen that fits the errorReason of onError method like PC youtube I want Error but, Youtube Player in Android Loading | android|youtube|android-youtube-api | 0 | 2022-07-27T00:14:35.383Z | 2,022 | 7 | 0 | 2 | 41 | 0 | 235 | 90 | 3 | 0 | false | true | false | false | false | false | zero |
73,131,015 | How to update TabRow Indicator with LazyListState in jetpack compose? | <p>I can't show the app due to company policies, but pretty much I have a Lazy List that will animateToItem when a tab is selected, but also when the User scrolls on the Lazy List, the tab indicator needs to be updated as well according to the corresponding section and tab the User is on. I got the text color to update... | I can't show the app due to company policies, but pretty much I have a Lazy List that will animateToItem when a tab is selected, but also when the User scrolls on the Lazy List, the tab indicator needs to be updated as well according to the corresponding section and tab the User is on. I got the text color to update up... | android|android-studio|kotlin|android-layout|android-jetpack-compose | 0 | 2022-07-27T00:18:35.287Z | 2,022 | 7 | 0 | 2 | 73 | 1 | 452 | 69 | 5 | 1 | true | false | false | false | false | false | zero |
73,131,269 | Why do I need use derivedStateOf in Compose? | <p>I think the running result of either Code A or Code B will be the same, why do I need to use <code>derivedStateOf</code> in Code A?</p>
<p><strong>Code A</strong></p>
<pre><code> var age by remember { mutableStateOf(1) }
val person by remember {
derivedStateOf { "my age is... | I think the running result of either Code A or Code B will be the same, why do I need to use derivedStateOf in Code A? Code A [CODE] Code B [CODE] | kotlin|android-jetpack-compose | 1 | 2022-07-27T01:13:08.007Z | 2,022 | 7 | 1 | 2 | 70 | 2 | 146 | 44 | 2 | 2 | true | false | false | false | false | false | low |
73,131,483 | Should I to wrap variables with remember as much as possible for @Composable function when I use Jetpack Compose? | <p>I know <code>remember</code> can reduce recomposition in <code>@Composable</code> function, but sometimes I forget to add remember for simple variables.</p>
<p>Should I to wrap variables with <code>remember</code> as much as possible for <code>@Composable</code> function when I use Jetpack Compose ? Just Like Code A... | I know remember can reduce recomposition in @Composable function, but sometimes I forget to add remember for simple variables. Should I to wrap variables with remember as much as possible for @Composable function when I use Jetpack Compose ? Just Like Code A should be Code B? Code A [CODE] Code B [CODE] | android|kotlin|android-jetpack-compose | 1 | 2022-07-27T01:58:03.350Z | 2,022 | 7 | 1 | 2 | 54 | 1 | 304 | 113 | 3 | 2 | true | false | false | false | false | false | low |
73,131,707 | There is an error when importing the Room library | <p><strong>Errors only occur when importing room libraries.</strong></p>
<p>There was no problem when importing kapt and ksp, but An error occurs only when you add a room library</p>
<p>"https://developer.android.com/training/data-storage/room?hl=ko." I followed what was said here</p>
<p>Below is my build.gra... | Errors only occur when importing room libraries. There was no problem when importing kapt and ksp, but An error occurs only when you add a room library "https://developer.android.com/training/data-storage/room?hl=ko." I followed what was said here Below is my build.gradle file [CODE] Error message: [CODE] Wha... | java|android|android-studio|kotlin|gradle | 0 | 2022-07-27T02:36:06.277Z | 2,022 | 7 | 2 | 2 | 48 | 1 | 334 | 49 | 5 | 2 | true | false | false | false | false | false | zero |
73,131,813 | Flutter RouterDelegate: Android back button closes the whole app despite RootBackButtonDispatcher | <p>I am using <code>PopNavigatorRouterDelegateMixin</code> and <code>RootBackButtonDispatcher</code> and I would expect that the back button press would call the <code>onPopPage</code> method of the navigator built in the router delegate. Instead the back button pops the whole app.</p>
<p>This is the app code</p>
<pre>... | I am using PopNavigatorRouterDelegateMixin and RootBackButtonDispatcher and I would expect that the back button press would call the onPopPage method of the navigator built in the router delegate. Instead the back button pops the whole app. This is the app code [CODE] and this is the RouterDelegate [CODE] | android|flutter | 1 | 2022-07-27T02:56:26.793Z | 2,022 | 7 | 2 | 2 | 60 | 0 | 306 | 97 | 2 | 2 | true | true | false | false | false | false | low |
73,131,847 | Android Studio Push Rejected | <p>I need to merge or rebase? I don't know what's the difference
I just want to push on github.</p>
<p><a href="https://i.stack.imgur.com/CIDtg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CIDtg.png" alt="push rejected" /></a></p> | I need to merge or rebase? I don't know what's the difference I just want to push on github. | android|android-studio | -2 | 2022-07-27T03:03:15.587Z | 2,022 | 7 | 3 | 2 | 40 | 1 | 92 | 28 | 2 | 0 | false | false | false | false | false | true | negative |
73,131,868 | Attempt to invoke virtual method 'int androidx.constraintlayout.motion.widget.MotionScene$Transition.getStartConstraintSetId()' on a null object refer | <p>While I was working in motion layout. I got an error saying</p>
<blockquote>
<p>Attempt to invoke virtual method 'int androidx.constraintlayout.motion.widget.MotionScene$Transition.getStartConstraintSetId()' on a null object reference</p>
</blockquote>
<p><a href="https://i.stack.imgur.com/8t9yS.jpg" rel="nofollow n... | While I was working in motion layout. I got an error saying Attempt to invoke virtual method 'int androidx.constraintlayout.motion.widget.MotionScene$Transition.getStartConstraintSetId()' on a null object reference | android|android-motionlayout|android-motionscene | 0 | 2022-07-27T03:07:54.900Z | 2,022 | 7 | 3 | 2 | 53 | 1 | 214 | 150 | 3 | 0 | false | false | false | false | false | false | zero |
73,131,932 | Force Stop Scrolling | <p>How To "Force Stop" a Scrollable View (like a ListView) From Scrolling?</p>
<p>I want to stop a scrollable view from scrolling.
Is there a method to do this? I want it to stop after I "TOUCH"
the EditText. The scrollable view must not be disabled from
scrolling, but if this happens I want to enab... | How To "Force Stop" a Scrollable View (like a ListView) From Scrolling? I want to stop a scrollable view from scrolling. Is there a method to do this? I want it to stop after I "TOUCH" the EditText. The scrollable view must not be disabled from scrolling, but if this happens I want to enable it agai... | java|android|scroll | 0 | 2022-07-27T03:23:48.053Z | 2,022 | 7 | 3 | 2 | 31 | 1 | 512 | 20 | 3 | 0 | false | false | false | false | false | false | zero |
73,131,973 | Android external fingerprint USB always returns false on USB permission | <p>I have problem with Futronic fingerprint usb device on <code>Android 10</code> & <code>11</code>. The code</p>
<pre><code>intent.getBooleanExtra(UsbManager.EXTRA_PERMISSION_GRANTED, false)
</code></pre>
<p>always return false when I press the OK button on permission dialog. I have old an android 5 device, it wor... | I have problem with Futronic fingerprint usb device on Android 10 & 11 . The code [CODE] always return false when I press the OK button on permission dialog. I have old an android 5 device, it works OK. Here is the code from their SDK (UsbDeviceDataExchangeImpl.java) , included as module on Android Studio [CODE] Are th... | android|broadcastreceiver|fingerprint|android-usb | 0 | 2022-07-27T03:33:04.337Z | 2,022 | 7 | 3 | 2 | 61 | 1 | 410 | 71 | 4 | 2 | true | false | false | false | false | false | zero |
73,132,050 | How to Fix Leaked GCP FCM Server Keys, expose FCM server keys? | <p>After I published my app to the google play console. The google play support warns me that they found</p>
<blockquote>
<p>security vulnerabilities for users</p>
<p>Leaked GCP FCM Server Keys</p>
<p>Your app(s) expose FCM server keys.</p>
<p>To address this issue, follow the steps in this <a href="https://support.goo... | After I published my app to the google play console. The google play support warns me that they found security vulnerabilities for users Leaked GCP FCM Server Keys Your app(s) expose FCM server keys. To address this issue, follow the steps in this Google Help Center article . com.example.mypackagename.FcmNotificationsS... | android|push-notification|firebase-cloud-messaging|android-security | 0 | 2022-07-27T03:47:35.307Z | 2,022 | 7 | 3 | 2 | 92 | 0 | 889 | 62 | 4 | 0 | false | true | false | false | false | false | zero |
73,132,284 | Android Studio Download Archive | <p>Windows 11 Pro. Android Studio download archives. I try to download Arctic Fox patch 4 for a class I wish to take. I can download the windows.executable file with no problem except that the finished downloaded file is not executable. The file does not download as a .executable file. Actually any of the archive file... | Windows 11 Pro. Android Studio download archives. I try to download Arctic Fox patch 4 for a class I wish to take. I can download the windows.executable file with no problem except that the finished downloaded file is not executable. The file does not download as a .executable file. Actually any of the archive files do... | android | 0 | 2022-07-27T04:34:54.843Z | 2,022 | 7 | 4 | 2 | 28 | 1 | 723 | 31 | 1 | 0 | false | false | false | false | false | false | zero |
73,132,357 | How to round a square image and put it on video | <p>I've a video, videoPath.
I've a square image, squarePath.</p>
<p>This code places the squarePath on the video at a desired position to output, outputVideo.</p>
<pre><code>final String[] cmd = new String[]{"-i", videoPath, "-i", squarePath, "-filter_complex", "[1:v][0:v]scale2ref=(3... | I've a video, videoPath. I've a square image, squarePath. This code places the squarePath on the video at a desired position to output, outputVideo. [CODE] I would like to round the squarePath in the same command. Is it possible? This is the code to make it rounded as I found: [CODE] but I don't understand how to merge... | android|ffmpeg | 0 | 2022-07-27T04:49:50.343Z | 2,022 | 7 | 4 | 2 | 32 | 1 | 340 | 47 | 2 | 2 | true | false | false | false | false | false | zero |
73,132,376 | How can I use a post request with Retrofit to deliver data in parameters? | <p>I designed an API that sends data in parameters, however retrofit prevents us from sending data in parameters through a post request. Is there a way to send data in parameters through a post request with retrofit?</p> | I designed an API that sends data in parameters, however retrofit prevents us from sending data in parameters through a post request. Is there a way to send data in parameters through a post request with retrofit? | java|android|api|android-studio|retrofit | 0 | 2022-07-27T04:53:32.897Z | 2,022 | 7 | 4 | 2 | 55 | 2 | 213 | 73 | 5 | 0 | false | false | false | false | false | false | zero |
73,132,385 | Play Console Sensitive App Permission QUERY_ALL_PACKAGES | <p>Recently I am Publishing my bundle for internal testing and getting this error while rolling out.</p>
<p><img src="https://i.stack.imgur.com/CKfyv.png" alt="enter image description here" /></p>
<p>Even I deleted the permission from the manifest and it's showing error</p>
<p><img src="https://i.stack.imgur.com/uU2XI.... | Recently I am Publishing my bundle for internal testing and getting this error while rolling out. Even I deleted the permission from the manifest and it's showing error ] | android|flutter|google-play-console | 1 | 2022-07-27T04:54:38.333Z | 2,022 | 7 | 4 | 2 | 115 | 0 | 170 | 56 | 3 | 0 | false | true | false | false | false | false | low |
73,132,388 | Difference Between callbackFlow and Lambda Function | <p>I am using firebase functions in my app and I need callbacks when the functions are succesful or failed. First I tried to use lambda function and it's working perfectly. Then I was researching about callbacks and I found the callbackflow method. What is difference between them. Which one should I use with firebase f... | I am using firebase functions in my app and I need callbacks when the functions are succesful or failed. First I tried to use lambda function and it's working perfectly. Then I was researching about callbacks and I found the callbackflow method. What is difference between them. Which one should I use with firebase func... | android|callback|kotlin-coroutines | 0 | 2022-07-27T04:55:02.213Z | 2,022 | 7 | 4 | 2 | 62 | 0 | 454 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
73,132,412 | Playing 360 degree split screen videos with ExoPlayer | <p>I'm using ExoPlayer to create an VR video
I have a 360 degree video and I did this</p>
<pre><code><com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/video_view_player"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:fastforward_... | I'm using ExoPlayer to create an VR video I have a 360 degree video and I did this [CODE] and in PlayerActivity I setDefaultStereoMode [CODE] and it shows like this what I need is something like this | android|exoplayer|virtual-reality|360-virtual-reality | 1 | 2022-07-27T05:00:12.083Z | 2,022 | 7 | 5 | 2 | 97 | 1 | 199 | 53 | 4 | 2 | true | false | false | false | false | false | low |
73,132,516 | Firebase Auth UI with Phone issue - missing `layout_width` attribute | <p>App crashes with Phone Auth while Google Auth works fine.
Both Phone Auth and Google Auth are enabled at firebase console.</p>
<p>Crash Log:</p>
<pre><code>2022-07-27 10:18:08.847 4454-4454/redacted.com E/AndroidRuntime: FATAL EXCEPTION: main
Process: redacted.com, PID: 4454
android.view.InflateException: Binary XML... | App crashes with Phone Auth while Google Auth works fine. Both Phone Auth and Google Auth are enabled at firebase console. Crash Log: [CODE] I'm using the official firebase auth ui library without any custom modification. The crash reason is obvious may be from the error but how do I solve this?. [CODE] I have checked ... | android|firebase-authentication|firebaseui | 0 | 2022-07-27T05:13:46.243Z | 2,022 | 7 | 5 | 2 | 40 | 0 | 764 | 68 | 3 | 4 | true | true | false | false | false | false | zero |
73,132,628 | In android billing invoice application, the android application pdf was generated for all 8 items but for 2 or 3 items it's not working | <p>I have developed an android invoice billing app that shows the correct output for 8 items quantity price total [app work fine<a href="https://i.stack.imgur.com/hBGL2.png" rel="nofollow noreferrer">][1]</a>in the drop-down list but for 2 or 3 items it's not showing the proper result app getting a crash</p>
<p>I have ... | I have developed an android invoice billing app that shows the correct output for 8 items quantity price total [app work fine ][1] in the drop-down list but for 2 or 3 items it's not showing the proper result app getting a crash I have set the text value default value 0 to all textboxes [CODE] //Logcat error Process: c... | java|android | 0 | 2022-07-27T05:27:45.360Z | 2,022 | 7 | 5 | 2 | 19 | 0 | 1,303 | 135 | 2 | 1 | true | true | false | false | false | false | zero |
73,132,630 | Bitmap PNG not fully saved in onPause | <p>I am developing a coloring book. And I want the state of the drawing to be saved when the user exits the application or changes the screen orientation.</p>
<p>My method works correctly when I set it to a button.</p>
<p>But when I add it to onPause it saves only part of the image.</p>
<p>I have already added executio... | I am developing a coloring book. And I want the state of the drawing to be saved when the user exits the application or changes the screen orientation. My method works correctly when I set it to a button. But when I add it to onPause it saves only part of the image. I have already added execution of it in a separate th... | java|android | 0 | 2022-07-27T05:27:53.443Z | 2,022 | 7 | 5 | 2 | 57 | 2 | 749 | 37 | 2 | 3 | true | false | false | false | false | false | zero |
73,132,633 | Android app to switch users with a quick tile or something else (in the lockscreen) | <p>The background: I have a new device with MIUI 13 (mi pad 5), that removed (hidden it ) the Android stock multi-user feature that I need.</p>
<p>The problem: I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI do... | The background: I have a new device with MIUI 13 (mi pad 5), that removed (hidden it ) the Android stock multi-user feature that I need. The problem: I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI doesn't show... | android|tile|multiple-users | 0 | 2022-07-27T05:27:59.120Z | 2,022 | 7 | 5 | 2 | 78 | 0 | 886 | 83 | 3 | 0 | false | true | false | false | false | false | zero |
73,132,674 | Error: AGPBI: {"kind":"error","text":"Android resource linking failed", | <p>I need to remove Huawei related code from the project. I have already removed all related code from classes and files, disabled plugin and huawei repo in build(project) and build(app). When I include at least one of these dependencies, no error occurs. If I disable all dependencies, I get an error:</p>
<pre><code>AG... | I need to remove Huawei related code from the project. I have already removed all related code from classes and files, disabled plugin and huawei repo in build(project) and build(app). When I include at least one of these dependencies, no error occurs. If I disable all dependencies, I get an error: [CODE] Dependencies:... | android|gradle|build|huawei-mobile-services | 0 | 2022-07-27T05:32:19.077Z | 2,022 | 7 | 5 | 2 | 66 | 1 | 327 | 71 | 4 | 2 | true | false | false | false | false | false | zero |
73,132,752 | I don't use ads in my flutter app then why this message is showing in my play console? | <p>I am using Firebase and google analytics though.</p>
<blockquote>
<p>The advertising ID declaration form is now available for you to
complete.</p>
<p>We'll use this declaration to provide safeguards in Play Console. You
will not be able to create releases targeting Android 13 until you
complete the declaration.</p>
... | I am using Firebase and google analytics though. The advertising ID declaration form is now available for you to complete. We'll use this declaration to provide safeguards in Play Console. You will not be able to create releases targeting Android 13 until you complete the declaration. Apps using advertising ID that tar... | android|flutter | 12 | 2022-07-27T05:41:23.613Z | 2,022 | 7 | 5 | 2 | 4,271 | 4 | 721 | 86 | 2 | 0 | false | false | true | false | true | false | medium |
73,132,783 | Detect blur image using MLKit (TensorFlow) | <p>I am working on camera2 api and sometime getting blur images while capturing images from camera. I need to check if clicked image is blur or not, Using openCV increase the .apk size 3x times. I also check the solution posted on a SO thread <a href="https://stackoverflow.com/questions/68565533/is-there-any-way-to-det... | I am working on camera2 api and sometime getting blur images while capturing images from camera. I need to check if clicked image is blur or not, Using openCV increase the .apk size 3x times. I also check the solution posted on a SO thread Here but seems incomplete. Is it possible to detect if image is blur or not usin... | android|tensorflow|android-camera2|firebase-mlkit|google-mlkit | 0 | 2022-07-27T05:45:15.493Z | 2,022 | 7 | 5 | 2 | 104 | 0 | 367 | 42 | 5 | 0 | false | true | false | false | false | false | zero |
73,132,899 | How can I test Exception with JUnit4 | <p>Here's a simple function that convert a string to currency format.</p>
<pre><code>fun String.toCurrency(): String{
return try {
DecimalFormat("###,###").format(this.replace(",","").toInt())
} catch (E: NumberFormatException) {
this
}
}
</code></pre>
<p>And I ... | Here's a simple function that convert a string to currency format. [CODE] And I want to test this method. So, I did [CODE] It didn't work and shows failure. How can I pass the test case? I don't need to check the message but just ExceptionClass. | android|junit|junit4|android-testing | 0 | 2022-07-27T05:58:07.153Z | 2,022 | 7 | 5 | 2 | 23 | 1 | 245 | 36 | 4 | 2 | true | false | false | false | false | false | zero |
73,132,936 | Unable to solve constructor applied to given types | <p>I am doing a Semester project of our own app development. I am making a Recipe/Restaurant app.
The issue is that in my Restaurant.java is unable to get the RestaurantAdapter -> public void setFilteredList as it has come with an error I am unable to solve after referring to <a href="https://stackoverflow.com/ques... | I am doing a Semester project of our own app development. I am making a Recipe/Restaurant app. The issue is that in my Restaurant.java is unable to get the RestaurantAdapter -> public void setFilteredList as it has come with an error I am unable to solve after referring to previous error . The current error I got was: ... | java|android|arraylist|android-recyclerview|searchview | 1 | 2022-07-27T06:03:04.363Z | 2,022 | 7 | 6 | 2 | 64 | 1 | 673 | 50 | 5 | 1 | true | false | false | false | false | false | low |
73,132,966 | Android Studio Flutter Installation Problem | <p><a href="https://i.stack.imgur.com/2oEBA.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>Can somoeone please help me solved this problem. I have tried flutter config-android-studio-dir=/ and other things multiple times but it does not seem to be working</p> | enter image description here Can somoeone please help me solved this problem. I have tried flutter config-android-studio-dir=/ and other things multiple times but it does not seem to be working | flutter|android-studio|installation|flutter-dependencies | 0 | 2022-07-27T06:06:43.573Z | 2,022 | 7 | 6 | 2 | 19 | 0 | 193 | 43 | 4 | 0 | false | true | false | false | false | false | zero |
73,133,029 | PhoneNumberUtils.formatNumber is not testable for unit test | <p>This is util method for converting phone number format.</p>
<pre><code>fun String.toDisplayPhoneNumber(): String {
return PhoneNumberUtils.formatNumber(this, Locale.getDefault().country).replace("+82 ", "0")
}
</code></pre>
<p>And this is test code:</p>
<pre><code> @Test
fun convertGlo... | This is util method for converting phone number format. [CODE] And this is test code: [CODE] And I get: [CODE] How can I solve this problem? | android|unit-testing|kotlin|android-testing|android-unit-testing | 0 | 2022-07-27T06:13:59.317Z | 2,022 | 7 | 6 | 2 | 67 | 1 | 140 | 59 | 5 | 3 | true | false | false | false | false | false | zero |
73,133,080 | ARCore geospatial - how to get geospatial position from a saved anchor | <p>I'm playing with the new ARcore cloud anchor with geospatial API. I was following the <a href="https://developers.google.com/ar/develop/java/geospatial/codelab#0" rel="nofollow noreferrer">google codelab</a> to understand how it works, but I can't get the geospatial coordinates after the anchor is saved.
When I crea... | I'm playing with the new ARcore cloud anchor with geospatial API. I was following the google codelab to understand how it works, but I can't get the geospatial coordinates after the anchor is saved. When I create the anchor the code is like this: [CODE] but, when the onHostedAnchorAvailable(anchor: Anchor) is called, I... | android|geospatial|arcore | 0 | 2022-07-27T06:18:38.067Z | 2,022 | 7 | 6 | 2 | 75 | 0 | 692 | 70 | 3 | 1 | true | true | false | false | false | false | zero |
73,133,089 | Jetpack Compose AndroidView call Update | <p>Changing the state in the following way can work just fine</p>
<pre class="lang-kotlin prettyprint-override"><code>
@Composable
fun CustomView() {
val selectedItem = remember { mutableStateOf(0) }
AndroidView(
modifier = Modifier.fillMaxSize(),
factory = { context ->
CustomVi... | Changing the state in the following way can work just fine [CODE] What if I want to make a call? Update the value by calling, not by changing the state [CODE] What if I want to make a call? Update the value by calling, not by changing the state | kotlin|android-jetpack-compose | 0 | 2022-07-27T06:20:02.540Z | 2,022 | 7 | 6 | 2 | 52 | 0 | 244 | 39 | 2 | 2 | true | true | false | false | false | false | zero |
73,133,145 | How To disable system settings automatically while playing music in Android | <p>This question is for anyone who knows about audio on Android devices.</p>
<p>We need an Android app for auditory training.<br />
In this app, individualised music is downloaded for each user and then listened to for a while for trining purposes.</p>
<p>It is essential that this music is played unchanged, i.e. withou... | This question is for anyone who knows about audio on Android devices. We need an Android app for auditory training. In this app, individualised music is downloaded for each user and then listened to for a while for trining purposes. It is essential that this music is played unchanged, i.e. without the influence of equa... | android|audio-player|android-music-player|audio-processing|equalizer | 0 | 2022-07-27T06:25:08.797Z | 2,022 | 7 | 6 | 2 | 25 | 0 | 1,127 | 75 | 5 | 0 | false | true | false | false | false | false | zero |
73,133,169 | Android app rejected from Play Store - Issue: Access to device storage not required | <blockquote>
<p>Android app getting rejected even after I've removed the Storage permission MANAGE_EXTERNAL_STORAGE.</p>
</blockquote>
<pre><code><uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STOR... | Android app getting rejected even after I've removed the Storage permission MANAGE_EXTERNAL_STORAGE. [CODE] Please suggest me, what I'm doing wrong. | android|android-permissions|google-play-console | 0 | 2022-07-27T06:27:08.510Z | 2,022 | 7 | 6 | 2 | 52 | 0 | 148 | 83 | 3 | 1 | true | true | false | false | false | false | zero |
73,133,200 | How to detect Screen Sharing is enabled, and stop it, my code working for google meet, but it not working for MS Teams | <pre><code>val displayManager =
applicationContext.getSystemService(Context.DISPLAY_SERVICE) as DisplayManager
val var1: Array<Display> = displayManager.displays
val var2 =displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION)
Log.i("SIze1",""+var1.size.to... | [CODE] This is my code for Display Screens, Its working properly for Google meet but not working for MS Teams, what i need to do?, It's happening on all android versions and teams app. | android-studio|kotlin|display-manager | 0 | 2022-07-27T06:30:13.717Z | 2,022 | 7 | 6 | 2 | 32 | 0 | 184 | 118 | 3 | 1 | true | true | false | false | false | false | zero |
73,133,344 | How to add filter to edit text for mentioning a user in group chat | <p>How can I add a textwatcher to the edit text which can detect the character "@" and suggest user name from a list that matches the characters after @ ?</p>
<p>This is what I have tried but something is wrong with it:</p>
<pre><code>binding.etMessage.addTextChangedListener(object : TextWatcher {
... | How can I add a textwatcher to the edit text which can detect the character "@" and suggest user name from a list that matches the characters after @ ? This is what I have tried but something is wrong with it: [CODE] | android|textwatcher|android-textwatcher | 0 | 2022-07-27T06:45:17.963Z | 2,022 | 7 | 6 | 2 | 26 | 0 | 226 | 66 | 3 | 1 | true | true | false | false | false | false | zero |
73,133,398 | How to get sorted data from Room DB on the base of Date/TimeStamp? | <p>I have a class which is containing Data related to different teams. There is a column in db named as "LastMessageAt" and its data type is String.
I am getting this field as String from API and I am storing it as String in Room Database.
Now I want to get Sorted Teams Data from my Database, Sorting should b... | I have a class which is containing Data related to different teams. There is a column in db named as "LastMessageAt" and its data type is String. I am getting this field as String from API and I am storing it as String in Room Database. Now I want to get Sorted Teams Data from my Database, Sorting should be o... | android|sorting|sql-order-by|android-database|roomdb | 0 | 2022-07-27T06:49:56.610Z | 2,022 | 7 | 6 | 2 | 34 | 1 | 503 | 66 | 5 | 1 | true | false | false | false | false | false | zero |
73,133,453 | Problems with reusing IDs of nested elements in <include> layout in multiple fragments? | <p>Being new to android development and working on approach of navigating user to multiple fragments within an activity, I came across a doubt regarding including a layout file within multiple(not all) fragments using as:</p>
<pre><code><include layout="@layout/toolbar_layout" />
</code></pre>
<p><stron... | Being new to android development and working on approach of navigating user to multiple fragments within an activity, I came across a doubt regarding including a layout file within multiple(not all) fragments using as: [CODE] toolbar_layout.xml : [CODE] Which gives output shown below, after adding NavigationButton prog... | android|android-layout | 0 | 2022-07-27T06:54:03.227Z | 2,022 | 7 | 6 | 2 | 12 | 0 | 810 | 87 | 2 | 2 | true | true | false | false | false | false | zero |
73,133,584 | Flutter Firebase How can I give the error that the phone number is already registered | <p>I'm using Firebase phone and email sign-in providers. I can give an error that the e-mail address already exists, but I cannot give the same error for the phone number. How can I get the error that the phone number already exists? Thanks for help.</p> | I'm using Firebase phone and email sign-in providers. I can give an error that the e-mail address already exists, but I cannot give the same error for the phone number. How can I get the error that the phone number already exists? Thanks for help. | android|flutter|firebase|dart|firebase-authentication | 0 | 2022-07-27T07:05:15.093Z | 2,022 | 7 | 7 | 2 | 25 | 0 | 247 | 85 | 5 | 0 | false | true | false | false | false | false | zero |
73,133,644 | Jailbreak simulator to test jailbreak measure | <p>I'm really new to react native and am developing an app that is not operable on jailbroken device.
Now, I'd like to test if the jailbreak measures really work. Is it possible to test it without an actual jailbroken device? For example, using a simulator that is jailbroken?
And also, is it possible to jailbreak a sim... | I'm really new to react native and am developing an app that is not operable on jailbroken device. Now, I'd like to test if the jailbreak measures really work. Is it possible to test it without an actual jailbroken device? For example, using a simulator that is jailbroken? And also, is it possible to jailbreak a simula... | android|ios|react-native|ios-simulator|jailbreak | 0 | 2022-07-27T07:10:30.590Z | 2,022 | 7 | 7 | 2 | 64 | 0 | 350 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
73,133,661 | EAS build error when adding react-native-image-filter-kit | <p>I am trying to implement image filters with react-native-image-filter-kit.
I follow the implementation steps for with react-native >=0.64.0 from <a href="https://github.com/iyegoroff/react-native-image-filter-kit" rel="nofollow noreferrer">here</a> .</p>
<p>I use EAS build. When i try to build a new apk i get the... | I am trying to implement image filters with react-native-image-filter-kit. I follow the implementation steps for with react-native >=0.64.0 from here . I use EAS build. When i try to build a new apk i get the error below: [CODE] In the answer here i see that i need to do the following: or 32-bit binaries : sudo apt-get... | android|react-native|expo|imagefilter|eas | 0 | 2022-07-27T07:11:49.083Z | 2,022 | 7 | 7 | 2 | 36 | 0 | 538 | 57 | 5 | 1 | true | true | false | false | false | false | zero |
73,133,676 | How to use a Contact Class to work with AZListView in Flutter | <p>So I have successfully used azlistview with a List type of String but I also wanted to implement this package with a class named contacts, I think what is causing this error is that because the List is null to begin with as it takes an async to fill the List, but for some reason I cannot implement the same method wi... | So I have successfully used azlistview with a List type of String but I also wanted to implement this package with a class named contacts, I think what is causing this error is that because the List is null to begin with as it takes an async to fill the List, but for some reason I cannot implement the same method with ... | android|flutter|dart|oop | 0 | 2022-07-27T07:13:16.990Z | 2,022 | 7 | 7 | 2 | 71 | 0 | 1,133 | 61 | 4 | 4 | true | true | false | false | false | false | zero |
73,133,683 | what's the differences between sendOrNothing vs trySend of Coroutine Channel? | <p>I wanted to know how to pass lifeCycleScope or viewModelScope to <code>WebSocketListener</code> class.</p>
<p>And I couldn't find the solution and ended up to using GlobalScope like below:</p>
<pre><code>override fun onFailure(webSocket: WebSocket, t: Throwable, response: Response?) {
GlobalScope.launch {
... | I wanted to know how to pass lifeCycleScope or viewModelScope to WebSocketListener class. And I couldn't find the solution and ended up to using GlobalScope like below: [CODE] And I've found there's trySend for channel like below. [CODE] What's the difference? Do they have any pros and cons? And which way is better? | android|kotlin|kotlin-coroutines|kotlin-coroutine-channel | 1 | 2022-07-27T07:13:52.250Z | 2,022 | 7 | 7 | 2 | 41 | 0 | 317 | 77 | 4 | 2 | true | true | false | false | false | false | low |
73,133,750 | adb command select device, which is not connected to workstation | <p>I have a device connected to a worksation, lets says it serial number to be "abcdefgh", whenever I run any adb command, it throws an o/p "adb: unable to connect for root: device 'mnopqrst' not found", the device wih serial number 'mnopqrst' is not connected to worksation. So for any command to ru... | I have a device connected to a worksation, lets says it serial number to be "abcdefgh", whenever I run any adb command, it throws an o/p "adb: unable to connect for root: device 'mnopqrst' not found", the device wih serial number 'mnopqrst' is not connected to worksation. So for any command to run o... | android|shell|android-studio|adb|android-debug | 0 | 2022-07-27T07:21:17.133Z | 2,022 | 7 | 7 | 2 | 19 | 0 | 457 | 64 | 5 | 0 | false | true | false | false | false | false | zero |
73,133,760 | onDataSetChanged() is not called after notifyAppWidgetViewDataChanged in case of Android 12 | <p><strong>Why onDataSetChanged doesn't react on notifyAppWidgetViewDataChanged in app widget to update listview in case of Android 12? Does somebody know, what's changed in Android 12?</strong></p>
<p>Similar problem on Android 12 is described here, but there is no any answer:
<a href="https://stackoverflow.com/questi... | Why onDataSetChanged doesn't react on notifyAppWidgetViewDataChanged in app widget to update listview in case of Android 12? Does somebody know, what's changed in Android 12? Similar problem on Android 12 is described here, but there is no any answer: onDataSetChanged() in RemoteViewService is not called after notifyAp... | java|android|kotlin|android-listview|android-widget | 0 | 2022-07-27T07:21:56.047Z | 2,022 | 7 | 7 | 2 | 29 | 0 | 1,567 | 91 | 5 | 2 | true | true | false | false | false | false | zero |
73,133,763 | Combine Api data and room database Android | <p><a href="https://github.com/PuruPanda1/Expense-Manager" rel="nofollow noreferrer">github link</a></p>
<p>I am trying to create an Android application where I can want to kind of display crypto portfolio which contains: crypto name, symbol, current price, profit</p>
<p>Now, I have the crypto name, id, symbol, and buy... | github link I am trying to create an Android application where I can want to kind of display crypto portfolio which contains: crypto name, symbol, current price, profit Now, I have the crypto name, id, symbol, and buying price in the room database and I have the current price in API from coingecko which I can get using... | android|api|android-recyclerview|retrofit|android-room | 0 | 2022-07-27T07:22:12.620Z | 2,022 | 7 | 7 | 2 | 67 | 1 | 517 | 42 | 5 | 0 | false | false | false | false | false | false | zero |
73,133,845 | Compose-LazyVerticalGrid-Update list item properties on click | <p>I am having a lazy vertical grid which is rendered with a mutable list of items. i want alter the items properties in clicking in it.
Classes used:
Screen State</p>
<pre><code>@Keep
data class ScreenState(
val isLoading: Boolean = false,
var items: MutableList<Item> = mutableListOf(),
val error: St... | I am having a lazy vertical grid which is rendered with a mutable list of items. i want alter the items properties in clicking in it. Classes used: Screen State [CODE] List item data class: [CODE] Inside viewModel: create a variable to store the state [CODE] On Api response success i am adding the items from json to th... | kotlin|android-jetpack-compose|lazy-evaluation|jetpack-compose-accompanist | 0 | 2022-07-27T07:30:28.523Z | 2,022 | 7 | 7 | 2 | 84 | 1 | 803 | 61 | 4 | 6 | true | false | false | false | false | false | zero |
73,133,961 | Cannot create a Publication named 'android' because this container does not support creating elements by name alone | <p>I'm using Gradle to publish a number of variants on Artifactory, and following an example I've found online, I've used this code:</p>
<pre><code> publishing {
publications {
android.buildTypes.all { variant ->
"${variant.name}Aar"(MavenPublication) {
artifactI... | I'm using Gradle to publish a number of variants on Artifactory, and following an example I've found online, I've used this code: [CODE] These are my plugins and dependencies: [CODE] When I synchronise my files on Android Studio, in the console the following error is printed: "Cannot create a Publication named 'an... | android|gradle|artifactory | 1 | 2022-07-27T07:40:18.640Z | 2,022 | 7 | 7 | 2 | 40 | 0 | 812 | 115 | 3 | 2 | true | true | false | false | false | false | low |
73,134,355 | Xamarin Android install APK programmatically StartActivity doesnt do anything | <p>Hello i'm trying to install an apk programmatically.</p>
<p>AndroidManifest.xml:</p>
<pre><code><application android:label="ABM.Ablesegeraet.Android">
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider... | Hello i'm trying to install an apk programmatically. AndroidManifest.xml: [CODE] provider_paths.xml: [CODE] other code: [CODE] I don't get any errors but when context.StartActivity(install) is executed nothing happens. What's the problem here? //edit: this does not work in debug... In Release the activity does start bu... | android|xamarin|xamarin.forms|android-intent|xamarin.android | 1 | 2022-07-27T08:10:28.270Z | 2,022 | 7 | 8 | 2 | 83 | 0 | 660 | 77 | 5 | 3 | true | true | false | false | false | false | low |
73,134,469 | How to dispatch multi touch gestures using AccessibilityService (disptachGesture) | <p>As we know that Android O.S. supports **multi finger gestures **. I want to develop an app that dispatches complex gesture for user. I am able to capture the motion events and dispatch gestures which are made only of one finger.</p>
<p>But if the user uses multiple pointers (fingers) for making a gesture, then I am ... | As we know that Android O.S. supports **multi finger gestures **. I want to develop an app that dispatches complex gesture for user. I am able to capture the motion events and dispatch gestures which are made only of one finger. But if the user uses multiple pointers (fingers) for making a gesture, then I am able to ca... | android|gesture|accessibilityservice | 1 | 2022-07-27T08:19:16.847Z | 2,022 | 7 | 8 | 2 | 118 | 2 | 459 | 81 | 3 | 0 | false | false | false | false | false | false | low |
73,134,535 | Kotlin Arrangement.SpaceBetween has no affect | <p>I'm trying to have a Spacer between two columns, so I've added <code>Arrangement.SpaceBetween</code>, but nothing seems to be happening?</p>
<p>I want the first Column to be on the top, and the second Column to be pushed to the very bottom.</p>
<p>I'm not sure what to try, this is the code:</p>
<pre><code> BoxWithCo... | I'm trying to have a Spacer between two columns, so I've added Arrangement.SpaceBetween , but nothing seems to be happening? I want the first Column to be on the top, and the second Column to be pushed to the very bottom. I'm not sure what to try, this is the code: [CODE] I've also tried adding a "Spacer()" i... | android|kotlin|android-jetpack-compose | 1 | 2022-07-27T08:24:08.900Z | 2,022 | 7 | 8 | 2 | 44 | 2 | 411 | 45 | 3 | 1 | true | false | false | false | false | false | low |
73,134,589 | Adb shell top - multi cpu | <p>Hi i try to use the <code>top</code> command via <code>adb shell</code> but i want to make the overview displaying the cpu usage per cpu. On regular unix i can just press <code>1</code> and the display mode changes displaying the cpu usage per cpu.</p>
<p>But as im not connected to my device via putty but with comma... | Hi i try to use the top command via adb shell but i want to make the overview displaying the cpu usage per cpu. On regular unix i can just press 1 and the display mode changes displaying the cpu usage per cpu. But as im not connected to my device via putty but with command line and using adb i cant make it happen to se... | android|shell|adb | 0 | 2022-07-27T08:27:58.990Z | 2,022 | 7 | 8 | 2 | 81 | 0 | 783 | 25 | 3 | 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.