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,171,879 | I have a problem with saving variable and using it in another class | <p>I have a class, and I created a variable in it and want to use it in another class, but it doesn't save (When I call method <code>getLogin()</code> in another class, it shows null).</p>
<p>How can I save this variable?(I think, that when i switch to another activity, entire class's data just deletes (But it isn't th... | I have a class, and I created a variable in it and want to use it in another class, but it doesn't save (When I call method getLogin() in another class, it shows null). How can I save this variable?(I think, that when i switch to another activity, entire class's data just deletes (But it isn't the case for Loginpassed ... | java|android-studio | 0 | 2022-05-09T12:17:45.690Z | 2,022 | 5 | 12 | 0 | 23 | 0 | 421 | 67 | 2 | 1 | true | true | false | false | false | false | zero |
72,171,934 | Change canvas size | <p>I'm working on my first mobile app (i use java and android studio) and its gonna generate pascal's triangle <a href="https://en.wikipedia.org/wiki/Pascal%27s_triangle" rel="nofollow noreferrer">(wikipedia page)</a> and show it. I know how to paint stuff but i don't know how to change a canvas size. Everytime i try t... | I'm working on my first mobile app (i use java and android studio) and its gonna generate pascal's triangle (wikipedia page) and show it. I know how to paint stuff but i don't know how to change a canvas size. Everytime i try to generate the triangle the canvas is on the whole screen, but i only want the canvas in a co... | java|android|canvas|paint | 0 | 2022-05-09T12:22:01.613Z | 2,022 | 5 | 12 | 0 | 27 | 0 | 387 | 18 | 4 | 1 | true | true | false | false | false | false | zero |
72,171,961 | Activity result contracts with Ucrop: cannot get crop result into app | <p>I have an activity that is supposed to get an image from gallery and preview it before allowing the user to upload it to a database. I am using UCrop as my image cropper with Activity Result Contracts for this. The image cropper activity launches successfully but the app is unable to get the result into my Image Vie... | I have an activity that is supposed to get an image from gallery and preview it before allowing the user to upload it to a database. I am using UCrop as my image cropper with Activity Result Contracts for this. The image cropper activity launches successfully but the app is unable to get the result into my Image View f... | android|kotlin|ucrop|activityresultcontracts | 0 | 2022-05-09T12:24:17.710Z | 2,022 | 5 | 12 | 0 | 292 | 0 | 533 | 69 | 4 | 1 | true | true | false | false | false | false | zero |
72,171,962 | Android NFC read Records getting a null Ndef Record | <p>I am a junior android developper working on a Nfc Reader project. And I use Mifare Cards. I can only read the UID for the card but unable to read records that I wrote using Nfc Tools with my app but it gives me a null when logging the Ndef value in my console. Any help? Thanks in advance
Here's my code</p>
<pre><cod... | I am a junior android developper working on a Nfc Reader project. And I use Mifare Cards. I can only read the UID for the card but unable to read records that I wrote using Nfc Tools with my app but it gives me a null when logging the Ndef value in my console. Any help? Thanks in advance Here's my code [CODE] | java|android|nfc | -2 | 2022-05-09T12:24:22.987Z | 2,022 | 5 | 12 | 0 | 73 | 1 | 310 | 51 | 3 | 1 | true | false | false | false | false | true | negative |
72,172,157 | PagerSnapHelper smooth scroll to the top | <p>I have a screen with a RecyclerView with vertical orientation.
I have derived <code>PagerSnapHelper</code> to allow smooth-scrolling vertically, one item at a time. The problem is that the RecyclerView scrolls putting the current <code>page</code> in the center. I need it at the top.</p>
<p>Is that possible?</p> | I have a screen with a RecyclerView with vertical orientation. I have derived PagerSnapHelper to allow smooth-scrolling vertically, one item at a time. The problem is that the RecyclerView scrolls putting the current page in the center. I need it at the top. Is that possible? | android|android-recyclerview|vertical-scrolling | 2 | 2022-05-09T12:38:15.783Z | 2,022 | 5 | 12 | 0 | 123 | 0 | 276 | 40 | 3 | 0 | false | true | false | false | false | false | low |
72,172,194 | Cannot run emulator in a container on a windows host | <p>I want to run an emulator in a docker container, so i searched for it and found
many docker-android-emulator images on the internet but most of them have written that this docker image won't run on a Windows host.</p>
<p>This is because the emulator uses KVM on Linux so we need to have access to the host's KVM. In t... | I want to run an emulator in a docker container, so i searched for it and found many docker-android-emulator images on the internet but most of them have written that this docker image won't run on a Windows host. This is because the emulator uses KVM on Linux so we need to have access to the host's KVM. In the Linux k... | android|docker|android-emulator|emulation|docker-for-windows | 1 | 2022-05-09T12:40:40.173Z | 2,022 | 5 | 12 | 0 | 173 | 0 | 678 | 52 | 5 | 0 | false | true | false | false | false | false | low |
72,172,200 | Checking Json type in kotlin | <p>I have an json object that can be String or JsonArray. Its depending on the API which I get the data from, but I dont know what I am getting so I need to check.</p>
<p>What I tried to do:</p>
<pre><code> val myData = optional.get("keyOfData")
when(myData) {
is JsonObject -> {
... | I have an json object that can be String or JsonArray. Its depending on the API which I get the data from, but I dont know what I am getting so I need to check. What I tried to do: [CODE] But the "myData" is JsonPrimitive, so it does work. I do not wish to check in with try/catch. Can you please suggest how t... | android|json|kotlin | 0 | 2022-05-09T12:41:37.433Z | 2,022 | 5 | 12 | 0 | 238 | 1 | 354 | 28 | 3 | 1 | true | false | false | false | false | false | zero |
72,172,205 | Remove extra bottom padding when using Accompanist Insets library in Compose | <p>I have a column, containing TextFields, and a button at the bottom of the screen.</p>
<p>I'm trying to make the Column scrollable so that I can scroll down to see the button that hides behind the keyboard when that opens.</p>
<p>My Column looks like this.</p>
<pre><code> Column(
modifier = Modifier
... | I have a column, containing TextFields, and a button at the bottom of the screen. I'm trying to make the Column scrollable so that I can scroll down to see the button that hides behind the keyboard when that opens. My Column looks like this. [CODE] If i put navigationBarsWithImePadding() the Column scrolls but adds som... | android|kotlin|android-jetpack-compose|insets|jetpack-compose-accompanist | 1 | 2022-05-09T12:41:53.403Z | 2,022 | 5 | 12 | 0 | 228 | 0 | 567 | 76 | 5 | 1 | true | true | false | false | false | false | low |
72,172,259 | how to open an spesific form(ui) when get firebase data message in xamarin | <p>I am try to to open a xamarin form when i get a spesific message from firebse . i can make a simple notification with a a spesific title and then my app should react for that notification . i tried to do it and it doesn't work .I am trying it on android platform and the form which i want open is locatated at cro... | I am try to to open a xamarin form when i get a spesific message from firebse . i can make a simple notification with a a spesific title and then my app should react for that notification . i tried to do it and it doesn't work .I am trying it on android platform and the form which i want open is locatated at cross plat... | xamarin.forms|xamarin.android|firebase-cloud-messaging | 0 | 2022-05-09T12:46:35.567Z | 2,022 | 5 | 12 | 0 | 58 | 1 | 347 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
72,172,348 | After upgrading android studio to Android Studio Chipmunk | 2021.2.1 getting this gradle issue | <p>Plugin [id: 'com.android.library', version: '7.2.0', apply: false] was not found in any of the following sources:</p>
<ul>
<li>Try:</li>
</ul>
<blockquote>
<p>Run with --info or --debug option to get more log output.
Run with --scan to get full insights.</p>
</blockquote>
<ul>
<li>Exception is:
org.gradle.api.plugin... | Plugin [id: 'com.android.library', version: '7.2.0', apply: false] was not found in any of the following sources: Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.library', version: ... | java|android|android-studio|gradle|android-gradle-plugin | 5 | 2022-05-09T12:53:44.603Z | 2,022 | 5 | 12 | 0 | 6,741 | 3 | 949 | 94 | 5 | 0 | false | false | true | false | false | false | low |
72,172,367 | How to test android application in jmeter | <p>How to test apk file application by using jmeter in mobile? I have already installed jmeter certificate and set the proxy, But when I open browser after starting recording then it works rather than I open any apk software then any record of http requests are not coming. Please help me to rectify this issue.</p> | How to test apk file application by using jmeter in mobile? I have already installed jmeter certificate and set the proxy, But when I open browser after starting recording then it works rather than I open any apk software then any record of http requests are not coming. Please help me to rectify this issue. | android|jmeter|apk | 0 | 2022-05-09T12:55:21.527Z | 2,022 | 5 | 12 | 0 | 49 | 1 | 308 | 41 | 3 | 0 | false | false | false | false | false | false | zero |
72,172,439 | How to find exact route distance between two geo point in flutter | <p>I'm trying to find the travelling distance between two point in flutter app like in image.<br />
I used geolocator and geocode plugin but there outputs are straight distance. How can I find travelling distance?</p>
<p><a href="https://i.stack.imgur.com/hozwm.png" rel="nofollow noreferrer"><img src="https://i.stack.i... | I'm trying to find the travelling distance between two point in flutter app like in image. I used geolocator and geocode plugin but there outputs are straight distance. How can I find travelling distance? | android|ios|flutter|dart|flutter-dependencies | 1 | 2022-05-09T13:01:38.953Z | 2,022 | 5 | 13 | 0 | 68 | 1 | 204 | 65 | 5 | 0 | false | false | false | false | false | false | low |
72,172,458 | Rejection of some android version | <p>my application that interacts with a sql server works correctly on my emulator and a HUAWEI tablet version 7.x, but it fails to connect to the server on a Samsung tablet version 10+ and cell phone version 10+.
I think it's a permission.INTERNET error or another one if someone can help me.</p>
<p>here are my codes an... | my application that interacts with a sql server works correctly on my emulator and a HUAWEI tablet version 7.x, but it fails to connect to the server on a Samsung tablet version 10+ and cell phone version 10+. I think it's a permission.INTERNET error or another one if someone can help me. here are my codes and the log ... | android|retrofit2 | 0 | 2022-05-09T13:03:19.647Z | 2,022 | 5 | 13 | 0 | 17 | 0 | 448 | 33 | 2 | 4 | true | true | false | false | false | false | zero |
72,172,574 | Android Compose Constraint Layout Issue | <p>I have a Compable function that is composed of 1 column that contains 11 rows. Each row contains a Text and a Button. In the first row I can position each object. I copy the code to the second row (also changing each objects "name") and get errors:
CreateRefs -can't be called in this context
constraintAs (... | I have a Compable function that is composed of 1 column that contains 11 rows. Each row contains a Text and a Button. In the first row I can position each object. I copy the code to the second row (also changing each objects "name") and get errors: CreateRefs -can't be called in this context constraintAs (bot... | android-jetpack-compose | -1 | 2022-05-09T13:13:48.763Z | 2,022 | 5 | 13 | 0 | 102 | 1 | 485 | 39 | 1 | 0 | false | false | false | false | false | true | negative |
72,172,584 | How to access the Login state from everywhere? Jetpack Compose + MVVM | <p>I'm building my app in Jetpack Compose and use one ViewModel for every feature/screen.
Now I need to access the login state from everywhere inside the app, I also have a coin system where I need access to from every screen.</p>
<p>How do I accomplish this?
My first idea was to put the login state and coin state insi... | I'm building my app in Jetpack Compose and use one ViewModel for every feature/screen. Now I need to access the login state from everywhere inside the app, I also have a coin system where I need access to from every screen. How do I accomplish this? My first idea was to put the login state and coin state inside a "... | android|kotlin|mvvm|viewmodel|android-jetpack-compose | 2 | 2022-05-09T13:14:29.293Z | 2,022 | 5 | 13 | 0 | 264 | 1 | 648 | 69 | 5 | 0 | false | false | false | false | false | false | low |
72,172,655 | Android bluetooth microphone stops recognizing after a few seconds | <p>I've implemented <a href="https://stackoverflow.com/a/60230275/8494080">this solution</a> to get AudioRecord working with bluetooth earpieces.</p>
<p>This works well until no sound is transferred to and from the bluetooth device, however if there is no sound output, and no microphone output for a few seconds, the mi... | I've implemented this solution to get AudioRecord working with bluetooth earpieces. This works well until no sound is transferred to and from the bluetooth device, however if there is no sound output, and no microphone output for a few seconds, the micro phone stops listening. I tried to listen almost all intent action... | android|bluetooth|speech-recognition|android-bluetooth | 0 | 2022-05-09T13:20:13.157Z | 2,022 | 5 | 13 | 0 | 34 | 0 | 460 | 66 | 4 | 0 | false | true | false | false | false | false | zero |
72,172,669 | Running node (ffmpeg) on linux produces Error: spawn EACCES | <p>So I'm using a nodejs frontend app on android (Arm v7a) to run ffmpeg, especially fluent-ffmpeg, the problem here is that when I run a command the console just says "error spawn /ffmpeg eacces", yes, I moved ffmpeg to the root partition and I tried all kind of permissions to the folder and the file of ffmp... | So I'm using a nodejs frontend app on android (Arm v7a) to run ffmpeg, especially fluent-ffmpeg, the problem here is that when I run a command the console just says "error spawn /ffmpeg eacces", yes, I moved ffmpeg to the root partition and I tried all kind of permissions to the folder and the file of ffmpeg,... | node.js|linux|ffmpeg|android-permissions|superuser | 0 | 2022-05-09T13:21:23.820Z | 2,022 | 5 | 13 | 0 | 156 | 1 | 465 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
72,172,846 | Multiple projects react-native android build error | <p>Here are the android/build.gradle files contents of two different project.</p>
<p><strong>PROJECT 1</strong></p>
<pre><code> ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 30
supportLibVersion = "29.0.0"
... | Here are the android/build.gradle files contents of two different project. PROJECT 1 [CODE] PROJECT 2 [CODE] When I execute: react-native-android, I get the following error. PROJECT 1 [CODE] PROJECT 2 [CODE] Note that I checked the following solutions but none worked react native - could not resolve all dependencies fo... | android|react-native|facebook | 2 | 2022-05-09T13:33:53.213Z | 2,022 | 5 | 13 | 0 | 1,259 | 2 | 549 | 50 | 3 | 4 | true | false | false | false | false | false | low |
72,172,881 | pyenv for android, python installation faled | <p>I'm trying to install python version 3.11-dev or another on my android device, but getting error (make: *** [Makefile:2427: Python/bootstrap_hash.o] Error 1).
Full logs here -></p>
<pre><code> pastebin.com/g0nvHeQi
</code></pre>
<p>I have
$ gcc --version
clang version 14.0.3
Target: armv7a-unknown-linux-androi... | I'm trying to install python version 3.11-dev or another on my android device, but getting error (make: *** [Makefile:2427: Python/bootstrap_hash.o] Error 1). Full logs here -> [CODE] I have $ gcc --version clang version 14.0.3 Target: armv7a-unknown-linux-android24 Thread model: posix InstalledDir: /data/data/com.term... | android|pyenv | 0 | 2022-05-09T13:35:50.853Z | 2,022 | 5 | 13 | 0 | 30 | 0 | 430 | 44 | 2 | 1 | true | true | false | false | false | false | zero |
72,172,924 | Restrict Android Flurry SDK from getting phones sensitive data | <p>An Android application I'm developing keeps getting rejected from some China stores with the reason that "Flurry SDK is reading sensitive data like IMEI/MAC info etc." that's forbidden based on their policy. Is there any way to enable it for crashlytics purposes only and avoid collecting this kind of data?... | An Android application I'm developing keeps getting rejected from some China stores with the reason that "Flurry SDK is reading sensitive data like IMEI/MAC info etc." that's forbidden based on their policy. Is there any way to enable it for crashlytics purposes only and avoid collecting this kind of data? By... | android|flurry|flurry-analytics | 0 | 2022-05-09T13:39:28.620Z | 2,022 | 5 | 13 | 0 | 31 | 1 | 372 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
72,172,932 | Using different folders with play asset delivery | <p>I am trying to implement Play Asset Delivery for my Android app. The basic implementation (of on-demand delivery) is done. My folder structure looks something like this:</p>
<ul>
<li>on_demand
<ul>
<li>folder1</li>
<li>folder2</li>
</ul>
</li>
</ul>
<p>Both these sub-folders contain some files that are installed on-... | I am trying to implement Play Asset Delivery for my Android app. The basic implementation (of on-demand delivery) is done. My folder structure looks something like this: on_demand folder1 folder2 Both these sub-folders contain some files that are installed on-demand. Is there a way I can have contents of only folder1 i... | android|google-play | 0 | 2022-05-09T13:39:51.310Z | 2,022 | 5 | 13 | 0 | 106 | 1 | 348 | 48 | 2 | 0 | false | false | false | false | false | false | zero |
72,172,940 | Is the Gboard's `emoji fast-access row` functional? | <p>I have tried enabling it from the <code>Emojis, stickers and GIFs</code> section with no luck so far.
It works however nicely on <code>Youtube</code>, <code>Whatssap</code>, among other messaging apps. So, what I'm not sure if this is open, or you have to register your app somewhere. I have also tried with multiple ... | I have tried enabling it from the Emojis, stickers and GIFs section with no luck so far. It works however nicely on Youtube , Whatssap , among other messaging apps. So, what I'm not sure if this is open, or you have to register your app somewhere. I have also tried with multiple TextInput/EditText configurations. | android|keyboard|emoji|gboard | 1 | 2022-05-09T13:40:23.430Z | 2,022 | 5 | 13 | 0 | 67 | 0 | 314 | 51 | 4 | 0 | false | true | false | false | false | false | low |
72,173,027 | Unable access mqrtt library from my another module to main App module | <p>I created another module from my mqrtt client but unable to access mrqtt library methods
for example :- Unable to access MqrttMessage method?
<a href="https://i.stack.imgur.com/00im5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/00im5.png" alt="enter image description here" /></a></p>
<p>you can... | I created another module from my mqrtt client but unable to access mrqtt library methods for example :- Unable to access MqrttMessage method? you can see in above picture Please tell what I am doing wrong? I am new to this thing Thanks | android|multi-module|clean-architecture|java-module | 0 | 2022-05-09T13:46:27.637Z | 2,022 | 5 | 13 | 0 | 18 | 0 | 235 | 69 | 4 | 0 | false | true | false | false | false | false | zero |
72,173,032 | How to create intent for sharing different files types simultaneously for android | <p>In <code>AndroidManifest.xml</code> the following <code>intent-filter</code> allows to display the Android app while you select same types to share (all images or all videos).</p>
<pre class="lang-xml prettyprint-override"><code><intent-filter>
<action android:name="android.intent.action.MAIN"/... | In AndroidManifest.xml the following intent-filter allows to display the Android app while you select same types to share (all images or all videos). [CODE] But if user select different types of content (image + video) the app with this intent is not is displaying in the share window. So the question is - what intent s... | android|android-intent|share|intentfilter | 0 | 2022-05-09T13:47:04.633Z | 2,022 | 5 | 13 | 0 | 47 | 1 | 425 | 81 | 4 | 1 | true | false | false | false | false | false | zero |
72,173,081 | How to make Alert Dialog is reusable / customizable for another new Alert Dialog | <p>can u guys help me with this coding? I'm quite confused about how to implement final and required parameters and display them with input. I want to create one file dart which is GoAlertDialog (go_alert_dialog.dart) that can pop out a warning icon, title, description, and button to close it. Here is my coding:</p>
<p... | can u guys help me with this coding? I'm quite confused about how to implement final and required parameters and display them with input. I want to create one file dart which is GoAlertDialog (go_alert_dialog.dart) that can pop out a warning icon, title, description, and button to close it. Here is my coding: [CODE] Ne... | flutter|dart|android-alertdialog|mobile-application|flutter-alertdialog | 1 | 2022-05-09T13:50:33.833Z | 2,022 | 5 | 13 | 0 | 71 | 0 | 755 | 80 | 5 | 2 | true | true | false | false | false | false | low |
72,173,197 | How to detect down arrow on keypad | <p>how can I detect the down arrow on the keypad.</p>
<p>I have an edit text, when it is clicked i open a number keypad, I want to detect when the keyboard is closed by clicking on the down arrow as shown in the pic.</p>
<p>I tried <code>etCostLimit.setOnFocusChangeListener</code> this method is not triggered when down... | how can I detect the down arrow on the keypad. I have an edit text, when it is clicked i open a number keypad, I want to detect when the keyboard is closed by clicking on the down arrow as shown in the pic. I tried etCostLimit.setOnFocusChangeListener this method is not triggered when down arrow is pressed on the keypa... | android|kotlin|android-edittext|android-softkeyboard|android-keypad | 0 | 2022-05-09T13:57:36.260Z | 2,022 | 5 | 13 | 0 | 22 | 0 | 558 | 34 | 5 | 1 | true | true | false | false | false | false | zero |
72,173,303 | Error al mostrar imagen con cordova-plugin-camera | <p>I need some help. I am developing a small application with cordova and Android Studio in which I must take a photo with the camera and show it on the screen in an img tag, I have also added the option to choose a photo from the gallery. To do this, I have included the cordova-plugin-camera plugin. It seems that ever... | I need some help. I am developing a small application with cordova and Android Studio in which I must take a photo with the camera and show it on the screen in an img tag, I have also added the option to choose a photo from the gallery. To do this, I have included the cordova-plugin-camera plugin. It seems that everyth... | android|android-studio|cordova|camera|cordova-plugins | 0 | 2022-05-09T14:05:42.127Z | 2,022 | 5 | 14 | 0 | 68 | 0 | 712 | 49 | 5 | 2 | true | true | false | false | false | false | zero |
72,173,323 | Android 12 Scoped Storage Migration: Exchange Data from public sdcard-directory to App-internal-directory and vice versa | <p>I'll have an <strong>Android App</strong> currently compiled against the API29 which I'm working on an <strong>update for API31.</strong>
The App is using an huge ultralite database which is located in the directory
<strong>/sdcard/Documents/myApp/db</strong></p>
<p>Because I now have to apply scoped storage', I'll ... | I'll have an Android App currently compiled against the API29 which I'm working on an update for API31. The App is using an huge ultralite database which is located in the directory /sdcard/Documents/myApp/db Because I now have to apply scoped storage', I'll use the App-Directory on the external sdcard by using context... | android|scoped-storage | 0 | 2022-05-09T14:07:02.380Z | 2,022 | 5 | 14 | 0 | 393 | 1 | 2,685 | 120 | 2 | 2 | true | false | false | false | false | false | zero |
72,173,429 | Customizing the setError icon for EditText kotlin | <p>I Am using TextInputLayout. I try this but the icon is not shown. Help me to visible errorIcon in TextInputLayout.<br />
I want to set a setError method to my EditText, with a custom icon instead of the default Android icon. So I tried this:</p>
<p>Thanks in Advance</p>
<pre><code> <com.google.android.material.te... | I Am using TextInputLayout. I try this but the icon is not shown. Help me to visible errorIcon in TextInputLayout. I want to set a setError method to my EditText, with a custom icon instead of the default Android icon. So I tried this: Thanks in Advance [CODE] [CODE] | android|kotlin | 1 | 2022-05-09T14:13:47.743Z | 2,022 | 5 | 14 | 0 | 136 | 2 | 267 | 49 | 2 | 2 | true | false | false | false | false | false | low |
72,173,591 | "Could not find com.android.tools.build:gradle:7.2.0." with Chipmunk | <p>I have just updated Android Studio to Chipmunk and gradle file sync no longer works. The sync has the following errors:</p>
<pre><code>Could not find com.android.tools.build:gradle:7.2.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.2.0/gradle-7.2.... | I have just updated Android Studio to Chipmunk and gradle file sync no longer works. The sync has the following errors: [CODE] I clicked "Add google Maven repository and sync project" but nothing happened. I have the following in build.gradle: [CODE] Could anyone offer a tip on how to fix this? [CODE] | android-studio|android-gradle-plugin|android-studio-chipmunk | 2 | 2022-05-09T14:24:21.733Z | 2,022 | 5 | 14 | 0 | 4,895 | 3 | 312 | 68 | 3 | 3 | true | false | true | false | false | false | low |
72,173,676 | What is the most simple way to make a local notification in Xamarin.Android? | <p>I'm working on a Xamarin application and I'm very confused about making a local notification because it has a lot of details and channels things and others.
does anyone know how to make a simple notification</p> | I'm working on a Xamarin application and I'm very confused about making a local notification because it has a lot of details and channels things and others. does anyone know how to make a simple notification | c#|android|xamarin|xamarin.android|xamarin-studio | 0 | 2022-05-09T14:30:58.927Z | 2,022 | 5 | 14 | 0 | 59 | 1 | 207 | 76 | 5 | 0 | false | false | false | false | false | false | zero |
72,173,817 | Gradle build failed to produce an .apk file while connecting AppCenter to GitHub | <p>I want to build a flutter app through AppCenter by connecting to github, but getting this error:</p>
<blockquote>
<p>Gradle build failed to produce an .apk file. It's likely that this
file was generated under /Users/runner/work/1/s/build, but the tool
couldn't find it.</p>
</blockquote> | I want to build a flutter app through AppCenter by connecting to github, but getting this error: Gradle build failed to produce an .apk file. It's likely that this file was generated under /Users/runner/work/1/s/build, but the tool couldn't find it. | android|flutter|dart-pub|visual-studio-app-center | 0 | 2022-05-09T14:40:12.590Z | 2,022 | 5 | 14 | 0 | 130 | 1 | 249 | 80 | 4 | 0 | false | false | false | false | false | false | zero |
72,173,869 | Gradle project sync failed (Android Studio/Kotlin) | <p>I am currently having a problem syncing the gradle. Whenever I am trying to sync it, I am getting the below message. I created a new project from scratch, and I don't know how to progress from here.</p>
<p>Build file 'C:\Users\Yun\AndroidStudioProjects\Prac_App_2\build.gradle' line: 3</p>
<p>Plugin [id: 'com.android... | I am currently having a problem syncing the gradle. Whenever I am trying to sync it, I am getting the below message. I created a new project from scratch, and I don't know how to progress from here. Build file 'C:\Users\Yun\AndroidStudioProjects\Prac_App_2\build.gradle' line: 3 Plugin [id: 'com.android.application', ve... | android-studio|kotlin|gradle | 0 | 2022-05-09T14:43:55.827Z | 2,022 | 5 | 14 | 0 | 552 | 1 | 20,503 | 50 | 3 | 3 | true | false | false | false | false | false | zero |
72,173,963 | google play console "Need login credentials for app review " error Although the credentials are correct | <p>I sent an app to review in google play console, and I got an email saying.</p>
<blockquote>
<p>Issue: Need login credentials for app review
In order for us to review your app for compliance with Developer Program Policies, we will need you to provide valid login credentials for your app.
If users need credentials to... | I sent an app to review in google play console, and I got an email saying. Issue: Need login credentials for app review In order for us to review your app for compliance with Developer Program Policies, we will need you to provide valid login credentials for your app. If users need credentials to access your app, pleas... | android|ionic-framework|apk|google-play-console | 2 | 2022-05-09T14:50:01.403Z | 2,022 | 5 | 14 | 0 | 320 | 0 | 944 | 103 | 4 | 0 | false | true | false | false | false | false | low |
72,173,999 | Qt android debugger adb error Address already in use | <p>Im trying to debug android application using Qt Creator and getting the following error:</p>
<pre><code>W ActivityThread: Application org.qtproject.example.tid_trains_android10 is waiting for the debugger on port 8100...
adb: error: cannot bind listener: Address already in use
17:47:24: Failed to forward JDB debuggi... | Im trying to debug android application using Qt Creator and getting the following error: [CODE] When I try to see the open ports Im not seeing anything listening at 8100 I searched the net but found nothing. Thanks in advance. :) | android|qt|gdb|adb | 0 | 2022-05-09T14:53:39.537Z | 2,022 | 5 | 14 | 0 | 45 | 0 | 229 | 52 | 4 | 1 | true | true | false | false | false | false | zero |
72,174,027 | how to add safeargs to project level Kotlin gradle | <p>Another user asked the same question, but I could not understand the solution. I also don't understand why the Android Developer page doesn't show a path according to this new version.</p>
<pre><code>buildscript {
repositories {
google()
}
dependencies {
val nav_version = "2.4.2"
classpath(&quo... | Another user asked the same question, but I could not understand the solution. I also don't understand why the Android Developer page doesn't show a path according to this new version. [CODE] These are the codes I need to add for navigation, but in the new project gradle; [CODE] These methods are written. Where should ... | android|android-studio|kotlin|android-fragments|arguments | 2 | 2022-05-09T14:55:53.547Z | 2,022 | 5 | 14 | 0 | 490 | 2 | 370 | 50 | 5 | 2 | true | false | false | false | false | false | low |
72,174,119 | How to save the data while killing the App React native | <p>I am trying to save the data through local storage during unmount phase. However, <code>componentWillUnmount()</code> doesn't support saving the local storage.
Any alternative solution is available to save the data while killing the app.</p> | I am trying to save the data through local storage during unmount phase. However, componentWillUnmount() doesn't support saving the local storage. Any alternative solution is available to save the data while killing the app. | android|reactjs|react-native | 0 | 2022-05-09T15:01:32.627Z | 2,022 | 5 | 15 | 0 | 437 | 2 | 224 | 55 | 3 | 0 | false | false | false | false | false | false | zero |
72,174,207 | Use UAMP or ExoPlayer for video playback on automotive Android | <p>I would like to create an app prototype for cars with video playback capability (running on Android Automotive directly, no Android Auto projection from phone). As I understood the <a href="https://developer.android.com/docs/quality-guidelines/car-app-quality" rel="nofollow noreferrer">https://developer.android.com/... | I would like to create an app prototype for cars with video playback capability (running on Android Automotive directly, no Android Auto projection from phone). As I understood the https://developer.android.com/docs/quality-guidelines/car-app-quality guidelines that's possible while the car is not driving / parking. Th... | android|exoplayer|automotive | 0 | 2022-05-09T15:07:35.640Z | 2,022 | 5 | 15 | 0 | 87 | 0 | 1,154 | 62 | 3 | 0 | false | true | false | false | false | false | zero |
72,174,284 | Android ImageButton and Spinner not working | <p>When user clicks on icon adjacent to the item in spinner, some action has to be performed. i have not added functionality for button click handler. Before that i am facing below issue. For button with icon, i have used ImageButton in Spinner.</p>
<p>But when item in spinner is selected, all the items are shown and l... | When user clicks on icon adjacent to the item in spinner, some action has to be performed. i have not added functionality for button click handler. Before that i am facing below issue. For button with icon, i have used ImageButton in Spinner. But when item in spinner is selected, all the items are shown and list down i... | android | 0 | 2022-05-09T15:12:27.853Z | 2,022 | 5 | 15 | 0 | 35 | 1 | 482 | 43 | 1 | 5 | true | false | false | false | false | false | zero |
72,174,300 | flutter error javax.xml.bind.UnmarshalException | <p>when i try to build apk in my fluttter project
the terminal show me a lot of lines probleme in gradle i tried to use flutter build apk no sound null safety and also the also the project is related with firebase</p>
<pre><code>Could not determine the dependencies of task ':app:lintVitalRelease'.
</code></pre>
<blockq... | when i try to build apk in my fluttter project the terminal show me a lot of lines probleme in gradle i tried to use flutter build apk no sound null safety and also the also the project is related with firebase [CODE] Could not resolve all dependencies for configuration ':app:lintClassPath'. Could not create task ':app... | android|flutter|dart | 0 | 2022-05-09T15:13:27.623Z | 2,022 | 5 | 15 | 0 | 33 | 0 | 757 | 47 | 3 | 2 | true | true | false | false | false | false | zero |
72,174,391 | Rounded corner image view with a custom view | <p>I currently am trying to make a project which does not use any libraries. Now, I wanted to use a round image many times I can't just do this:</p>
<pre><code><CardView>
<ImageView/>
</CardView>
</code></pre>
<p>every time. So, I decided to make a custom class for it. This is my class:</p>
<pre cl... | I currently am trying to make a project which does not use any libraries. Now, I wanted to use a round image many times I can't just do this: [CODE] every time. So, I decided to make a custom class for it. This is my class: [CODE] But, that does not seem to work. This is what I get as a result: And, this the code I use... | android|kotlin|android-imageview|android-custom-view|round-imageview | -1 | 2022-05-09T15:18:54.867Z | 2,022 | 5 | 15 | 0 | 214 | 3 | 577 | 44 | 5 | 3 | true | false | false | false | false | true | negative |
72,174,439 | Store data and "Cannot create an instance of class ViewModel" - Hilt - Room - JetpackCompose | <p>I try to store some days from <code>ScheduleScreen</code> screen. Lib uses in theme topic.<br />
While I was doing this, I had two questions:</p>
<ul>
<li><p>why i got this error</p>
<p><code>Cannot create an instance of class com.example.ic.ScheduleScreenVM</code><br />
<code>at androidx.lifecycle.ViewModelProvider... | I try to store some days from ScheduleScreen screen. Lib uses in theme topic. While I was doing this, I had two questions: why i got this error Cannot create an instance of class com.example.ic.ScheduleScreenVM at androidx.lifecycle.ViewModelProvider$NewInstanceFactory.create etc. and how i can store my days. So my cla... | android|android-room|viewmodel|android-jetpack-compose|dagger-hilt | 0 | 2022-05-09T15:22:35.623Z | 2,022 | 5 | 15 | 0 | 186 | 1 | 1,326 | 92 | 5 | 11 | true | false | false | false | false | false | zero |
72,174,509 | Kotlin null object reference on recyclerview when ids match | <p>I know this is a basic question but it's been doing my head in all day.</p>
<pre class="lang-sh prettyprint-override"><code>Error: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.recyclerview.widget.RecyclerView.setLayoutManager(androidx.recyclerview.widget.RecyclerView$LayoutManager)... | I know this is a basic question but it's been doing my head in all day. [CODE] As you can see below the ID for the recyclerview and where I am calling the recyclerview in mainactivity are the same, so I am really stumped as to why this is returning a null object reference. Any insight will be greatly appreciated. MainA... | android|kotlin|android-recyclerview | 0 | 2022-05-09T15:28:12.993Z | 2,022 | 5 | 15 | 0 | 73 | 2 | 461 | 59 | 3 | 6 | true | false | false | false | false | false | zero |
72,174,637 | How can I refer to a fragment from a class implemented inside it? | <p>I have an activity with some fragments of the same type.
In fragments I have a list. As soon as I click on a list item, I need to invoke an activity method, passing the fragment where the click took place.</p>
<p>I think this is a rather silly question, but I can't figure it out.</p>
<pre><code>public class MapFragm... | I have an activity with some fragments of the same type. In fragments I have a list. As soon as I click on a list item, I need to invoke an activity method, passing the fragment where the click took place. I think this is a rather silly question, but I can't figure it out. [CODE] | java|android | 0 | 2022-05-09T15:38:13.083Z | 2,022 | 5 | 15 | 0 | 22 | 2 | 280 | 65 | 2 | 1 | true | false | false | false | false | false | zero |
72,174,643 | Combining Navigation Rail with Drawer | <p>I am currently improving the tablet version of my app and was looking to add a "Navigation Rail" similar to the "Reply" app from the Material Design, you can see an example of the rail in this link: <a href="https://material.io/design/material-studies/reply.html#product-architecture" rel="nofollo... | I am currently improving the tablet version of my app and was looking to add a "Navigation Rail" similar to the "Reply" app from the Material Design, you can see an example of the rail in this link: https://material.io/design/material-studies/reply.html#product-architecture and video example here: h... | android|material-design | 0 | 2022-05-09T15:38:56.263Z | 2,022 | 5 | 15 | 0 | 180 | 0 | 881 | 37 | 2 | 0 | false | true | false | false | false | false | zero |
72,174,829 | How do I display this firebase branch's data to app? | <p><a href="https://i.stack.imgur.com/stOOD.png" rel="nofollow noreferrer">Firebase Realtime Database tree</a></p>
<p>I am new to Firebase and Java. All I need to do is display the single line Key1(image linked above) to my app.
This is the java I used:</p>
<pre><code> firebaseDatabase = FirebaseDatabase.getInst... | Firebase Realtime Database tree I am new to Firebase and Java. All I need to do is display the single line Key1(image linked above) to my app. This is the java I used: [CODE] The data from that specific line is not getting displayed and which means I am probably not getting the data correctly I assume. I am not sure ho... | java|android|firebase|firebase-realtime-database|google-cloud-platform | 0 | 2022-05-09T15:53:08.283Z | 2,022 | 5 | 15 | 0 | 24 | 1 | 364 | 52 | 5 | 1 | true | false | false | false | false | false | zero |
72,174,900 | Flutter-Dart NoSuchMethodError (NoSuchMethodError: Class 'int' has no instance method 'call'. Receiver: 5 Tried calling: call("25")) | <p>Im using Getx for state management. I'm getting an error when I use getx set method.</p>
<p>I am using this code for Getx class:</p>
<pre><code>import 'package:flutter/material.dart';
import 'package:get/get.dart';
// Bu alan benim sayac değişkenlerimi Getx yardımı ile tuttuğum classdır.farkllı değişken classla... | Im using Getx for state management. I'm getting an error when I use getx set method. I am using this code for Getx class: [CODE] I am using this code for main page. [CODE] and I'am getting this error [CODE] Screenshots about codes. https://ibb.co/LP85JGR https://ibb.co/YpFHjQF https://ibb.co/HqPhxHd | android|flutter|dart|flutter-getx | 0 | 2022-05-09T15:58:47.913Z | 2,022 | 5 | 15 | 0 | 297 | 1 | 300 | 132 | 4 | 3 | true | false | false | false | false | false | zero |
72,174,926 | Expo can't install Expo Go on Android Emulator | <p>I have just installed an Android Emulator - which is <code>Pixel 4 API 28</code> - on my Windows 11 computer. I have a project in Expo and I want to test it on Android Emulator. For this, the Expo needs to install Expo Go on Emulator to load my project. By default, it installs automatically when I request for instal... | I have just installed an Android Emulator - which is Pixel 4 API 28 - on my Windows 11 computer. I have a project in Expo and I want to test it on Android Emulator. For this, the Expo needs to install Expo Go on Emulator to load my project. By default, it installs automatically when I request for installation by pressi... | android|android-emulator|expo|expo-go | 1 | 2022-05-09T16:00:27.627Z | 2,022 | 5 | 16 | 0 | 195 | 0 | 1,010 | 46 | 4 | 1 | true | true | false | false | false | false | low |
72,174,992 | How to implement a contentobserver specifically for contacts | <p>I am looking a way to handle this case when I would expect some service gets a notificaction when the contact database changed... but I dont find an example how to implement this class(for example a handler in this case would be some Action?) and how do I find the Uri for the contacts' db ?</p>
<pre class="lang-cs p... | I am looking a way to handle this case when I would expect some service gets a notificaction when the contact database changed... but I dont find an example how to implement this class(for example a handler in this case would be some Action?) and how do I find the Uri for the contacts' db ? [CODE] | java|xamarin.android|android-contacts|maui | 1 | 2022-05-09T16:06:01.270Z | 2,022 | 5 | 16 | 0 | 46 | 0 | 298 | 60 | 4 | 1 | true | true | false | false | false | false | low |
72,175,081 | Get all the activities/packagename/apps name which are displayed in chooser intent | <p>I want to get list of all the activities that can handle UPI intent.
OR
I want to get list of all activities that are displayed in Chooser intent for a upi intent.</p>
<p>e.g google pay, amazon pay, paytm etc</p>
<p><a href="https://i.stack.imgur.com/TkXV5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.img... | I want to get list of all the activities that can handle UPI intent. OR I want to get list of all activities that are displayed in Chooser intent for a upi intent. e.g google pay, amazon pay, paytm etc [CODE] I have tried below snippet provided in other Stackoverflow answer [CODE] it gave output like below: android and... | java|android|android-intent|payment-gateway|intentfilter | 1 | 2022-05-09T16:11:51.117Z | 2,022 | 5 | 16 | 0 | 84 | 0 | 442 | 82 | 5 | 2 | true | true | false | false | false | false | low |
72,175,139 | Flutter/Android Studio: debug async function | <p>Hey I want to debug a Flutter <code>async</code> function in <strong>the debugger of Android Studio</strong>. I have a breakpoint and when I evaluate the function I get this error:</p>
<pre><code>Cannot evaluate
</code></pre>
<p>This is caused by the fact that the function I am trying to debug is <code>async</code>:... | Hey I want to debug a Flutter async function in the debugger of Android Studio . I have a breakpoint and when I evaluate the function I get this error: [CODE] This is caused by the fact that the function I am trying to debug is async : [CODE] I will get the same error regardless of the actual async function that I am t... | flutter|android-studio|dart | 1 | 2022-05-09T16:15:54.117Z | 2,022 | 5 | 16 | 0 | 67 | 0 | 642 | 44 | 3 | 2 | true | true | false | false | false | false | low |
72,175,141 | How am I going to solve this error in Flutter? | <p>I am a student and I have started learning flutter. I have java and Gradle installed and I am using VS Code in Kali Linux.
I am building an app and when I try to run it, it gives this error:</p>
<pre><code> Launching lib/main.dart on SM A715F in debug mode...
Picked up _JAVA_OPTIONS: -Dawt.use... | I am a student and I have started learning flutter. I have java and Gradle installed and I am using VS Code in Kali Linux. I am building an app and when I try to run it, it gives this error: [CODE] | android|flutter|gradle|visual-studio-code|mobile-development | 0 | 2022-05-09T16:16:08.877Z | 2,022 | 5 | 16 | 0 | 57 | 0 | 197 | 46 | 5 | 1 | true | true | false | false | false | false | zero |
72,175,191 | Type mismatched : Activity (for callback binding) | <p>I am trying to add firebase phone OTP verification in a fragment and I got stuck at .setActivity(...) <a href="https://i.stack.imgur.com/L85hT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/L85hT.png" alt="1" /></a></p>
<p>when in an activity we use "this", but in a fragment what to us... | I am trying to add firebase phone OTP verification in a fragment and I got stuck at .setActivity(...) when in an activity we use "this", but in a fragment what to use? [CODE] I also referred to this stackoverflow solution but didn't help | android|firebase|firebase-authentication|android-fragmentactivity | 0 | 2022-05-09T16:19:51.910Z | 2,022 | 5 | 16 | 0 | 25 | 2 | 247 | 49 | 4 | 1 | true | false | false | false | false | false | zero |
72,175,534 | mobile app using google maps api, can use user api-key? | <p>sorry im poor english.</p>
<p>I trying make an open-source mobile application using google maps api ( needed api key feature )</p>
<p>problem: i do not want pay by api usage from all user.</p>
<p>my solution: <strong>application let do not have app-key, and user need setup ( input to app ) self-private-api-key.</str... | sorry im poor english. I trying make an open-source mobile application using google maps api ( needed api key feature ) problem: i do not want pay by api usage from all user. my solution: application let do not have app-key, and user need setup ( input to app ) self-private-api-key. question: i know api-key can separat... | android|google-maps|google-cloud-platform | 0 | 2022-05-09T16:46:50.153Z | 2,022 | 5 | 16 | 0 | 67 | 0 | 741 | 55 | 3 | 0 | false | true | false | false | false | false | zero |
72,175,598 | Is webrtc good for more than 100 connection? | <p>i have project that im going to use webrtc in</p>
<p>In my project i have about 500 channel and about 8k users in the app</p>
<p>some channels have 500 max connections
and
some channels have 70 max connections
and some have 40 max connections</p>
<p>in each channel there will be one person or two people speak in mic... | i have project that im going to use webrtc in In my project i have about 500 channel and about 8k users in the app some channels have 500 max connections and some channels have 70 max connections and some have 40 max connections in each channel there will be one person or two people speak in microphone and all the othe... | webrtc|simplewebrtc|webrtc-android|webrtc-ios|react-native-webrtc | 0 | 2022-05-09T16:52:19.380Z | 2,022 | 5 | 16 | 0 | 61 | 0 | 558 | 44 | 5 | 0 | false | true | false | false | false | false | zero |
72,175,664 | How do I set firebase security rule | <p>I am using firebase real time database. I have an application where users can share posts on the homepage, comment and like on posts, give each other points and comments, and message each other. Users enter the application by registering. There is a mail verification requirement. My app is getting a lot of data down... | I am using firebase real time database. I have an application where users can share posts on the homepage, comment and like on posts, give each other points and comments, and message each other. Users enter the application by registering. There is a mail verification requirement. My app is getting a lot of data downloa... | android|firebase|firebase-realtime-database|firebase-security | 0 | 2022-05-09T16:56:59.893Z | 2,022 | 5 | 16 | 0 | 49 | 0 | 771 | 35 | 4 | 5 | true | true | false | false | false | false | zero |
72,175,774 | Why is <CalendarStrip /> not working properly? | <pre><code>import {StyleSheet, Text, View} from 'react-native';
import React, {useRef, useState} from 'react';
import CalenderCard from '../../component/CalenderCard';
import CalendarStrip from 'react-native-calendar-strip';
import moment from 'moment';
import {colors} from '../../../config/colors';
const Home = () =&... | [CODE] This is my code. I can only click on the selected date. Whenever I click on any other day, it does not do anything. It should highlight that day, right? But it does not do that. I tried to console log and it seems the onDateSelected gets invoked only when I click on the selected date. How do I make it so that wh... | javascript|android|react-native | 0 | 2022-05-09T17:05:50.290Z | 2,022 | 5 | 17 | 0 | 116 | 1 | 380 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
72,175,841 | Building a metasploit module that runs an .sh script in the shell of an android device. Metasploit fails to load module? | <p>I'm trying to build a module that will allow me to run a .sh script on an android device through meterpreter. I can run this manually by typing shell in the meterpreter session the problem is I can't automate this with an .rc file because it stops when it opens the shell, however I was thinking I could make a module... | I'm trying to build a module that will allow me to run a .sh script on an android device through meterpreter. I can run this manually by typing shell in the meterpreter session the problem is I can't automate this with an .rc file because it stops when it opens the shell, however I was thinking I could make a module th... | python|android|ruby|module|metasploit | 1 | 2022-05-09T17:12:47.070Z | 2,022 | 5 | 17 | 0 | 112 | 0 | 776 | 120 | 5 | 2 | true | true | false | false | false | false | low |
72,175,889 | How to load more items without pages in API in Android recyclerview? | <p>I am trying to add a load more feature in my recyclerview. I followed some tips I found on Stackoverflow but each one requires the existence of pages in the API. In my API there are no pages and that's why I can't figure out how to adjust this <a href="https://stackoverflow.com/questions/51822115/how-to-handle-pagin... | I am trying to add a load more feature in my recyclerview. I followed some tips I found on Stackoverflow but each one requires the existence of pages in the API. In my API there are no pages and that's why I can't figure out how to adjust this code to my recyclerview as there are no pages. Any answer would be appreciat... | java|android-recyclerview|retrofit|retrofit2 | 1 | 2022-05-09T17:16:52.410Z | 2,022 | 5 | 17 | 0 | 16 | 0 | 324 | 68 | 4 | 0 | false | true | false | false | false | false | low |
72,175,934 | Google One Tap Sign In | <p>Once I sign in using google one tap sign in then after sign out, again clicking on google one tap sign button it automatically signing into the same google account before I signed in. It is not showing the "Choose an google account" intent, why? I think any modification needed to this below portion or you ... | Once I sign in using google one tap sign in then after sign out, again clicking on google one tap sign button it automatically signing into the same google account before I signed in. It is not showing the "Choose an google account" intent, why? I think any modification needed to this below portion or you can... | android|firebase | 0 | 2022-05-09T17:21:22.507Z | 2,022 | 5 | 17 | 0 | 221 | 0 | 447 | 22 | 2 | 1 | true | true | false | false | false | false | zero |
72,176,033 | How to make the code work on a real server, Glide not working for me on real server | <p>I have little experience in programming for android, so I turn to you. The fact is that I created a program for myself to practice my skills. Right now I have one ListView and the ListView has one ImageView and a TextView to fill in successfully through an Adapter. On ImageView I get a picture from the server, the p... | I have little experience in programming for android, so I turn to you. The fact is that I created a program for myself to practice my skills. Right now I have one ListView and the ListView has one ImageView and a TextView to fill in successfully through an Adapter. On ImageView I get a picture from the server, the prob... | android|android-manifest|android-glide | 0 | 2022-05-09T17:31:21.803Z | 2,022 | 5 | 17 | 0 | 20 | 0 | 763 | 83 | 3 | 3 | true | true | false | false | false | false | zero |
72,176,068 | no recomposition (Jetpack Compose) | <p>How can I start recomposition in my buttons?
As far as I understand something in the list itself needs to be changed, how can I go about this?</p>
<pre><code>data class KeyData(var text: String, val size: Int, var colour: Color)
val firstRowKeyboard = listOf("Q", "W", "E", "R"... | How can I start recomposition in my buttons? As far as I understand something in the list itself needs to be changed, how can I go about this? [CODE] and the trigger: [CODE] and my composables: [CODE] the colour is changing in the list, so something is working, however recomposition is never triggered. If the colour of... | android|kotlin|android-jetpack-compose | 1 | 2022-05-09T17:34:55.983Z | 2,022 | 5 | 17 | 0 | 366 | 1 | 435 | 34 | 3 | 3 | true | false | false | false | false | false | low |
72,176,083 | Android resource Linking Failed in Flutter on Android Studio | <p>When I created a project with an organisation name of com.example, my application runs without any errors. But when I created a project with an organisation name as in.myname, it throws an error while running the application.</p>
<p>Error stated as,</p>
<p><a href="https://i.stack.imgur.com/9toI0.jpg" rel="nofollow ... | When I created a project with an organisation name of com.example, my application runs without any errors. But when I created a project with an organisation name as in.myname, it throws an error while running the application. Error stated as, Can someone suggest me a solution for this. | android|flutter|android-studio | 2 | 2022-05-09T17:36:32.140Z | 2,022 | 5 | 17 | 0 | 35 | 1 | 286 | 60 | 3 | 0 | false | false | false | false | false | false | low |
72,176,094 | Google / Fb sign in round button - Android studio | <p>I made an app with the possibility to sign in with google or facebook accounts. Everything work fine, except that I don't have nice images for those buttons.</p>
<p>I've seen app with round button (like a G and a F in a circle, with the google/fb colors). Am I suppose to create those myself ? I tought it would be po... | I made an app with the possibility to sign in with google or facebook accounts. Everything work fine, except that I don't have nice images for those buttons. I've seen app with round button (like a G and a F in a circle, with the google/fb colors). Am I suppose to create those myself ? I tought it would be possible to ... | facebook|android-studio|google-signin | 0 | 2022-05-09T17:37:31.167Z | 2,022 | 5 | 17 | 0 | 49 | 0 | 386 | 49 | 3 | 0 | false | true | false | false | false | false | zero |
72,176,177 | Using WmtsService not working for airbusds | <p>I am using the following</p>
<pre><code>private val wmtsService: WmtsService by lazy { WmtsService("https://view.geoapi-airbusds.com/api/v1/map/imagery.wmts") }
val configuration = RequestConfiguration()
configuration.headers = mapOf(Pair("Authorization","Bearer $Bearer_Token"))
wmtsSe... | I am using the following [CODE] But I cannot seem to load the satellite imagery from the service. I get a grid of grey squares from the interactive map view. Not sure what I am doing wrong. | kotlin|arcgis-android-api|airbusds | 0 | 2022-05-09T17:45:01.700Z | 2,022 | 5 | 17 | 0 | 17 | 0 | 189 | 42 | 3 | 1 | true | true | false | false | false | false | zero |
72,176,199 | Error occurred during initialization of boot layer java.lang.module.FindException: Module java.xml.bind not found | <p>when i run sdkmanager command from terminal it prints out this error</p>
<pre><code>Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found
</code></pre>
<p>sdkmanager is a command from android studio command tools kit</p>
<p>i tried
<code>set JAVA_OPTS=-XX:+... | when i run sdkmanager command from terminal it prints out this error [CODE] sdkmanager is a command from android studio command tools kit i tried set JAVA_OPTS=-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee but it doesnt seem to fix it Os:Arch Linux how can i fix this? | java|linux|flutter|android-studio | 1 | 2022-05-09T17:46:29.967Z | 2,022 | 5 | 17 | 0 | 125 | 0 | 280 | 113 | 4 | 1 | true | true | false | false | false | false | low |
72,176,215 | What are other use cases of the Repository class in MVVM? | <p>I know its used for getting Data from the server and cache but what else is the repository class used for?
I’m using the MVVM pattern and wonder where to put I/O operations like saving and writing a file.
I also have a coin system in my app and I need to access that coin Int from every screen in my app (settings, pr... | I know its used for getting Data from the server and cache but what else is the repository class used for? I’m using the MVVM pattern and wonder where to put I/O operations like saving and writing a file. I also have a coin system in my app and I need to access that coin Int from every screen in my app (settings, profi... | android|kotlin|mvvm|repository|dagger-hilt | 1 | 2022-05-09T17:47:56.090Z | 2,022 | 5 | 17 | 0 | 38 | 0 | 402 | 57 | 5 | 0 | false | true | false | false | false | false | low |
72,176,219 | Views connecting to another View | <p>I'm trying to "link" 2 buttons together, without hardcoding references. Basically, if i press Button_1, i want my app to know, that i am referencing link_1 to which i then could apply some changes (like switching color). I'm using 2 different Views containing these buttons. I can't put them in the same vie... | I'm trying to "link" 2 buttons together, without hardcoding references. Basically, if i press Button_1, i want my app to know, that i am referencing link_1 to which i then could apply some changes (like switching color). I'm using 2 different Views containing these buttons. I can't put them in the same view, ... | android|android-view | 2 | 2022-05-09T17:48:13.740Z | 2,022 | 5 | 17 | 0 | 18 | 0 | 1,341 | 32 | 2 | 2 | true | true | false | false | false | false | low |
72,176,327 | Get notifcation when add new data to firebase realtime database | <p>when open the application i want to get notification if new data added to firebase realtime database .
but whan i open the app i got notifcation every time i open the it.
what should i do
this is my code.</p>
<pre><code> cam_firebase.child("Detection").addChildEventListener(new ChildEventListener() {
... | when open the application i want to get notification if new data added to firebase realtime database . but whan i open the app i got notifcation every time i open the it. what should i do this is my code. [CODE] | java|android | 2 | 2022-05-09T17:56:53.757Z | 2,022 | 5 | 17 | 0 | 16 | 0 | 211 | 63 | 2 | 1 | true | true | false | false | false | false | low |
72,176,341 | React Native Android app crashes in production | <p>React Native Android Application is crashing in release mode. I am not able to discover the issue or a fix
here are the dependencies used</p>
<pre class="lang-json prettyprint-override"><code>{
"dependencies": {
"@react-native-community/async-storage": "^1.12.1",
"@react-... | React Native Android Application is crashing in release mode. I am not able to discover the issue or a fix here are the dependencies used [CODE] | android|react-native|crash | 1 | 2022-05-09T17:58:14.150Z | 2,022 | 5 | 17 | 0 | 530 | 1 | 144 | 46 | 3 | 1 | true | false | false | false | false | false | low |
72,176,495 | Error: Attempt to invoke virtual method MediaPlayer.isPlaying() on a null object reference | <p>I am trying to make a music player for Android. The problem is that as soon as I open the app and press the play button it gives me an error</p>
<pre><code>playPauseBtn.setOnClickListener(v -> {
if (musicService != null){
musicService.playPauseBtnClicked();
if (musicService != null && musi... | I am trying to make a music player for Android. The problem is that as soon as I open the app and press the play button it gives me an error [CODE] Error: [CODE] | java|android|audio-player | 0 | 2022-05-09T18:14:11.493Z | 2,022 | 5 | 18 | 0 | 11 | 0 | 161 | 90 | 3 | 2 | true | true | false | false | false | false | zero |
72,176,501 | Why does AndroidStudio fail when Building Signed APK for Google Play (says bad password, but I've confirmed password)? | <p>I have a Keystore (.jks) which I used to sign the previous release of my App (.APK) for Google Play. That was 1 year ago or so.</p>
<p>Now, when I attempt to build and use my keystore, Android Studio gives me the following incorrect error:
<em>Could not build signed APK. Keystore was tampered with, or password was ... | I have a Keystore (.jks) which I used to sign the previous release of my App (.APK) for Google Play. That was 1 year ago or so. Now, when I attempt to build and use my keystore, Android Studio gives me the following incorrect error: Could not build signed APK. Keystore was tampered with, or password was incorrect. [COD... | android-studio|keystore|jks | 0 | 2022-05-09T18:14:31.380Z | 2,022 | 5 | 18 | 0 | 121 | 1 | 1,371 | 118 | 3 | 1 | true | false | false | false | false | false | zero |
72,176,508 | How to return value when navigator to another page in Flutter? | <p>I have a code like this:</p>
<pre><code>Navigator.push(context, MaterialPageRoute<String>(builder: (context) => bolatAktar_bolatAktar_filtrelemeSonucu()));
</code></pre>
<p>When going to the <code>bolatAktar_bolatTransfer_filterlemeResult()</code> page, I want to import data that I can use on that page. I w... | I have a code like this: [CODE] When going to the bolatAktar_bolatTransfer_filterlemeResult() page, I want to import data that I can use on that page. I will send a total of 2 data. One is double and the other is String type data. How can I do that? Thanks in advance for your help. | android|flutter | 0 | 2022-05-09T18:15:02.443Z | 2,022 | 5 | 18 | 0 | 38 | 1 | 282 | 62 | 2 | 1 | true | false | false | false | false | false | zero |
72,176,543 | Android - Request accessibility permission on Xiaomi | <p>what is the proper way to request accessibility permission on xiaomi/miui devices programmatically?</p>
<p>The code snippet below on all other devices takes you to the screen with the option to enable accessibility. But on Xiaomi devices it takes to a screen with the following options: "Volume Shortcut", &... | what is the proper way to request accessibility permission on xiaomi/miui devices programmatically? The code snippet below on all other devices takes you to the screen with the option to enable accessibility. But on Xiaomi devices it takes to a screen with the following options: "Volume Shortcut", "Acces... | android|accessibilityservice|xiaomi|miui | 1 | 2022-05-09T18:18:20.933Z | 2,022 | 5 | 18 | 0 | 100 | 0 | 455 | 52 | 4 | 1 | true | true | false | false | false | false | low |
72,176,564 | Is it possible for two apps to communicate via NFC and exchange data? | <p>I'm building a Flutter application that will be used by two users and they will have to exchange data via NFC. One user sending data (a string) to another. However, I'm reading mixed things about being possible in general and in flutter, I haven't found a guide or something to guide me (only tags). Any information/h... | I'm building a Flutter application that will be used by two users and they will have to exchange data via NFC. One user sending data (a string) to another. However, I'm reading mixed things about being possible in general and in flutter, I haven't found a guide or something to guide me (only tags). Any information/help... | android|flutter|nfc | 0 | 2022-05-09T18:19:54.147Z | 2,022 | 5 | 18 | 0 | 51 | 0 | 336 | 69 | 3 | 0 | false | true | false | false | false | false | zero |
72,176,618 | Create URI to a file using android Uri.Builder() function | <p>I am new to using Uri's to locate files on the emulators storage in android studio.</p>
<p>I have a png file saved in the android emulators <code>data/data/com.domain.appname/files</code> directory. I would like to create the uri for this file using android's <code>Uri.Builder()</code> function. I want to make sure ... | I am new to using Uri's to locate files on the emulators storage in android studio. I have a png file saved in the android emulators data/data/com.domain.appname/files directory. I would like to create the uri for this file using android's Uri.Builder() function. I want to make sure the uri is consctucted correctly, ra... | android|uri|glance-appwidget | 1 | 2022-05-09T18:24:36.493Z | 2,022 | 5 | 18 | 0 | 35 | 0 | 729 | 57 | 3 | 1 | true | true | false | false | false | false | low |
72,176,701 | Migration in Room with an Android Array of Strings | <p>I have a database in Android with Room from which I have deleted a column. I was doing the migration, and I saw that it was not as simple as doing a DROP of the deleted column.</p>
<p>Then I have seen that I have to take a series of steps, creating a provisional table that will later be the new table with the delete... | I have a database in Android with Room from which I have deleted a column. I was doing the migration, and I saw that it was not as simple as doing a DROP of the deleted column. Then I have seen that I have to take a series of steps, creating a provisional table that will later be the new table with the deleted column, ... | android|sqlite|migration|android-room | 2 | 2022-05-09T18:32:35.863Z | 2,022 | 5 | 18 | 0 | 92 | 1 | 795 | 50 | 4 | 2 | true | false | false | false | false | false | low |
72,176,801 | How can I display a number in an EditText (kotlin) | <p>So I have a number and I want to show it in an EditText I managed to do it but only If I get the number from another edittext so If I have a val myNumber = 5 how can I make to show it in edittext?
(not TextView its EditText)</p>
<p>exemple
myEditText.text = myNumber</p> | So I have a number and I want to show it in an EditText I managed to do it but only If I get the number from another edittext so If I have a val myNumber = 5 how can I make to show it in edittext? (not TextView its EditText) exemple myEditText.text = myNumber | android-studio|kotlin | 0 | 2022-05-09T18:40:58.727Z | 2,022 | 5 | 18 | 0 | 45 | 1 | 259 | 50 | 2 | 0 | false | false | false | false | false | false | zero |
72,176,835 | How to detect which dataset has been tapped on? | <p>I have a chart with MPAndroidCharts, and it draws more linecharts onto the canvas:</p>
<p><a href="https://i.stack.imgur.com/jUbib.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jUbib.png" alt="enter image description here" /></a></p>
<p>There can be even more series, but it's getting confusing a... | I have a chart with MPAndroidCharts, and it draws more linecharts onto the canvas: There can be even more series, but it's getting confusing as their number is increasing, therefore I wish to implement a "highlighter" for this. A highlighter which is different from the normal highlighter which this charting l... | mpandroidchart | 0 | 2022-05-09T18:45:00.457Z | 2,022 | 5 | 18 | 0 | 32 | 0 | 1,349 | 47 | 1 | 0 | false | true | false | false | false | false | zero |
72,176,868 | Implement both bottom navigation and burger menu with different fragments | <p>is it a good practice to implement these 2</p>
<p>if yes {any documentation or sample codes to implement is}</p>
<p>if no {what is the reason}</p> | is it a good practice to implement these 2 if yes {any documentation or sample codes to implement is} if no {what is the reason} | java|android | 0 | 2022-05-09T18:48:38.737Z | 2,022 | 5 | 18 | 0 | 8 | 0 | 128 | 73 | 2 | 0 | false | true | false | false | false | false | zero |
72,176,969 | Is there a way to make my app constantly look for connection in the background? | <p>I'm trying to figure out if it is plusible to make an app constantly look for any kind of internet connection so once it finds any it makes a comparison of its local database with the one in the cloud and upload anything that is not in the cloud.</p>
<p>I was thinking about a code that triggers every time the phone ... | I'm trying to figure out if it is plusible to make an app constantly look for any kind of internet connection so once it finds any it makes a comparison of its local database with the one in the cloud and upload anything that is not in the cloud. I was thinking about a code that triggers every time the phone connects t... | android|sql-update|cloud | 1 | 2022-05-09T18:58:02.777Z | 2,022 | 5 | 18 | 0 | 25 | 1 | 405 | 79 | 3 | 0 | false | false | false | false | false | false | low |
72,177,019 | (Android) How to match child ID to parent in one-to-many relationship | <p><a href="https://i.stack.imgur.com/D4l4a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D4l4a.png" alt="enter image description here" /></a></p>
<p>I'm working on an image-like, <code>one-to-many</code> database.</p>
<p>To explain the flow of functions, <code>WorkoutSetInfo</code> is added to the... | I'm working on an image-like, one-to-many database. To explain the flow of functions, WorkoutSetInfo is added to the list whenever the Add button is pressed. ( It is not inserted into DB. ) Finally, when the Save button is pressed, the Workout and WorkoutSetInfo list are inserted into the DB . I have completed setting ... | android|android-studio|android-room|android-database | 2 | 2022-05-09T19:01:23.677Z | 2,022 | 5 | 19 | 0 | 67 | 1 | 628 | 69 | 4 | 4 | true | false | false | false | false | false | low |
72,177,058 | Problems reading data from Binary store from tmp folder | <p>Getting this error</p>
<pre><code>* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
> Problems reading data from Binary store in /tmp/gradle16425735337117079234.bin offset 753438 exist... | Getting this error [CODE] Result of flutter doctor [CODE] Content of android/build.gradle [CODE] | android|flutter|gradle|crashlytics | 5 | 2022-05-09T19:04:58.883Z | 2,022 | 5 | 19 | 0 | 1,043 | 7 | 96 | 55 | 4 | 3 | true | false | false | false | false | false | low |
72,177,070 | Android. Fragment not updated when change locale | <p>I'am using single activity approach with bottom navigation. And in my application it is possible to change the language. For example, my fragment manager contains two fragments: <code>A</code> and <code>B</code>. I'm going to fragment <code>C</code> and change locale. After that I come back to fragment <code>A</code... | I'am using single activity approach with bottom navigation. And in my application it is possible to change the language. For example, my fragment manager contains two fragments: A and B . I'm going to fragment C and change locale. After that I come back to fragment A and the view is updated depending on locale. Everyth... | android|android-fragments|android-configchanges|android-bottomnavigationview|android-fragment-manager | 0 | 2022-05-09T19:06:42.570Z | 2,022 | 5 | 19 | 0 | 43 | 0 | 520 | 48 | 5 | 2 | true | true | false | false | false | false | zero |
72,177,114 | Best way to use ExoPlayer for USAGE_ASSISTANT and CONTENT_TYPE_SPEECH | <p>I'm developing an application for Android in Kotlin that takes the user through a routine. They can choose to have audio assistance while they are performing the tasks. What is the best way to design this? Think something like Google Maps shooting off voice directions every once in a while.</p>
<p>Here are a few req... | I'm developing an application for Android in Kotlin that takes the user through a routine. They can choose to have audio assistance while they are performing the tasks. What is the best way to design this? Think something like Google Maps shooting off voice directions every once in a while. Here are a few requirements:... | android|kotlin|media-player|exoplayer | 2 | 2022-05-09T19:10:27.030Z | 2,022 | 5 | 19 | 0 | 110 | 0 | 2,830 | 69 | 4 | 3 | true | true | false | false | false | false | low |
72,177,127 | Can we set Firebase database node name from edittext? | <p>Heyy Community...!</p>
<p>I want to create a node in firebase database each time with different node for different details with different name from edittext in Android, means I want to put my database node name from edittext, but I'm unable to do this I have tried various methods but it is not working.
I want to sh... | Heyy Community...! I want to create a node in firebase database each time with different node for different details with different name from edittext in Android, means I want to put my database node name from edittext, but I'm unable to do this I have tried various methods but it is not working. I want to show it like ... | java|android-studio|firebase-realtime-database | 0 | 2022-05-09T19:11:35.813Z | 2,022 | 5 | 19 | 0 | 24 | 0 | 655 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
72,177,174 | Ionic build fails at "Could not resolve com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99]" | <p>So building was always fine until it wasn't. Nothing new was added, nothing was removed, no packages installed, nothing. Everything was working fine until the build issues happened. This is the full error report</p>
<pre><code>> Configure project :app
Error 'Plugin-Version' of 'unspecified' for 'com.android.build... | So building was always fine until it wasn't. Nothing new was added, nothing was removed, no packages installed, nothing. Everything was working fine until the build issues happened. This is the full error report [CODE] Any ideas on what could be causing this? I tried the following but nothing resolved the issue: Re-ins... | android|cordova|ionic-framework|build|onesignal | 1 | 2022-05-09T19:15:54.383Z | 2,022 | 5 | 19 | 0 | 881 | 4 | 462 | 110 | 5 | 1 | true | false | false | false | false | false | low |
72,177,352 | JUnit 5 testing not working with activities | <p>I am trying to use JUnit 5 to test a function inside of an activity in Android Studio using Java, however, I am getting the following error:</p>
<pre><code>
Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
java.lang.RuntimeException: Method getMainLooper in ... | I am trying to use JUnit 5 to test a function inside of an activity in Android Studio using Java, however, I am getting the following error: [CODE] I am following online tutorials, but none of them are implementing testing on activities, instead they are simple classes within main. This is my test code: [CODE] I am fai... | java|android|unit-testing|junit | -1 | 2022-05-09T19:34:14.987Z | 2,022 | 5 | 19 | 0 | 103 | 1 | 562 | 43 | 4 | 2 | true | false | false | false | false | true | negative |
72,177,452 | How to display a layout with hybrid composition of Flutter | <p>I've read <a href="https://docs.flutter.dev/development/platform-integration/platform-views" rel="nofollow noreferrer">how host native Android and iOS views on flutter</a>. As you can see the exemple about <strong>Hybrid composition</strong> (Android Side) they return directly a TextView. How I must do to load a lay... | I've read how host native Android and iOS views on flutter . As you can see the exemple about Hybrid composition (Android Side) they return directly a TextView. How I must do to load a layout file. | android|flutter | 1 | 2022-05-09T19:45:09.780Z | 2,022 | 5 | 19 | 0 | 65 | 0 | 197 | 58 | 2 | 0 | false | true | false | false | false | false | low |
72,177,555 | Problem on Reading ip packets from Android VPN service file descriptor | <p>When reading data from VPN service interface(file descriptor) I can get all ip headers there is no any problem on this problem is that when reading ip payload which should be simple http request but VPN interface only shows something like question marks .I tried to so many encoding types in android java but none of ... | When reading data from VPN service interface(file descriptor) I can get all ip headers there is no any problem on this problem is that when reading ip payload which should be simple http request but VPN interface only shows something like question marks .I tried to so many encoding types in android java but none of the... | java|android|packet-sniffers|packet-capture|android-vpn-service | 0 | 2022-05-09T19:55:29.877Z | 2,022 | 5 | 19 | 0 | 21 | 0 | 428 | 70 | 5 | 0 | false | true | false | false | false | false | zero |
72,177,563 | "Sensors Off" developer tile removed in Android 12 - Can't open camera | <p>I recently updated my OnePlus 8t phone to Android 12, I was on Android 11 before, I quickly noticed the new camera and microphone tiles in the notification drawer. I like this new individual tiles for them.</p>
<p>I was previously using a work around solution in Android 11 with the "Sensors Off" tile locat... | I recently updated my OnePlus 8t phone to Android 12, I was on Android 11 before, I quickly noticed the new camera and microphone tiles in the notification drawer. I like this new individual tiles for them. I was previously using a work around solution in Android 11 with the "Sensors Off" tile located in the ... | android|android-sensors|android-12 | 1 | 2022-05-09T19:56:01.393Z | 2,022 | 5 | 19 | 0 | 549 | 1 | 931 | 70 | 3 | 0 | false | false | false | false | false | false | low |
72,177,787 | how to change color primary text , and color navigation | <p>How to change the color of dial . Pay attention not color primary variant , and how to change the color on of button of navigation , not navigation bar color .</p>
<p>from this picture</p>
<p><a href="https://i.stack.imgur.com/WKfB8.jpg" rel="nofollow noreferrer">enter image description here</a></p>
<p>to that pictu... | How to change the color of dial . Pay attention not color primary variant , and how to change the color on of button of navigation , not navigation bar color . from this picture enter image description here to that picture enter image description here sorry for bad english, I'm from Ukraine | java|android|xml|android-studio | 1 | 2022-05-09T20:19:21.120Z | 2,022 | 5 | 20 | 0 | 41 | 2 | 291 | 55 | 4 | 0 | false | false | false | false | false | false | low |
72,177,862 | Show keyboard programmatically on specific display in Android app for multiscreen device | <p>I have <code>Android</code> app in multiscreen device. In this code:</p>
<pre><code>DisplayManager displayManager = (DisplayManager) getContext().getSystemService(Context.DISPLAY_SERVICE);
Display[] displays = displayManager.getDisplays();
</code></pre>
<p><code>displays</code> array size is 2.</p>
<p>And my questio... | I have Android app in multiscreen device. In this code: [CODE] displays array size is 2. And my question is: how to show programmatically keyboard for specific display, for example, displays[1] ? | android|keyboard|android-multi-display | 2 | 2022-05-09T20:26:13.813Z | 2,022 | 5 | 20 | 0 | 17 | 0 | 195 | 88 | 3 | 1 | true | true | false | false | false | false | low |
72,177,975 | Test Navigation Component with SafeArgs and Mockito | <p>I'm trying to test if a fragment A calls fragment B through Navigation Component's navigate(NavDirection) method, and using Mockito. The problem is that the action from fragment A to fragment B has safe args (one object, to be exact), and when trying to do the following:</p>
<pre><code>verify(navController).navigate... | I'm trying to test if a fragment A calls fragment B through Navigation Component's navigate(NavDirection) method, and using Mockito. The problem is that the action from fragment A to fragment B has safe args (one object, to be exact), and when trying to do the following: [CODE] Mockito throws an "Argument(s) are d... | android|mockito|android-espresso|android-architecture-navigation|ui-testing | 1 | 2022-05-09T20:37:57.480Z | 2,022 | 5 | 20 | 0 | 162 | 1 | 1,282 | 51 | 5 | 2 | true | false | false | false | false | false | low |
72,178,004 | why use areItemsTheSame with areContentsTheSame at diffutil recyclerview? | <p>why need to use <code>areItemsTheSame</code> with <code>areContentsTheSame</code> at diffutil recyclerview?
i don't understand i think areItemsTheSame is enough to compare data?
is possible more explain to me?
thank you</p> | why need to use areItemsTheSame with areContentsTheSame at diffutil recyclerview? i don't understand i think areItemsTheSame is enough to compare data? is possible more explain to me? thank you | android|list|android-recyclerview|compare|android-diffutils | 4 | 2022-05-09T20:42:01.450Z | 2,022 | 5 | 20 | 0 | 872 | 2 | 193 | 73 | 5 | 0 | false | false | false | false | false | false | low |
72,178,046 | Flutter performance optimisation tips? | <p>I am looking for some practices to follow for making my startup's app performant.
Please share the tips/tricks and practices that you follow for making Flutter apps smoother. I have shared some practices that I currently follow. Thank you!</p> | I am looking for some practices to follow for making my startup's app performant. Please share the tips/tricks and practices that you follow for making Flutter apps smoother. I have shared some practices that I currently follow. Thank you! | android|ios|flutter|mobile | 1 | 2022-05-09T20:47:35.163Z | 2,022 | 5 | 20 | 0 | 152 | 1 | 239 | 38 | 4 | 0 | false | false | false | false | false | false | low |
72,178,183 | Flutter TextFormField doesn't move caret behind a 'Ç' or 'ç' input | <p>I have this strange behavior throughout all TextFormField widgets in my app that given a Ç or ç input the caret will move back in front of the Ç/ç instead of behind it (observed on Android and iOS). On top of that strange behavior, if I was to insert a new letter, that new letter wouldn't be placed in front of the Ç... | I have this strange behavior throughout all TextFormField widgets in my app that given a Ç or ç input the caret will move back in front of the Ç/ç instead of behind it (observed on Android and iOS). On top of that strange behavior, if I was to insert a new letter, that new letter wouldn't be placed in front of the Ç/ç ... | android|ios|flutter|dart|flutter-textformfield | 2 | 2022-05-09T21:01:21.347Z | 2,022 | 5 | 21 | 0 | 40 | 1 | 1,275 | 66 | 5 | 1 | true | false | false | false | false | false | low |
72,178,286 | Cannot resolve symbol builder when trying to Implement Stripe in Android | <p>I am attempting to implement payment in my application using Strip Documentation, but i am having some issues with the presentPaymentSheetMethod. I am following the docs precisely by using this site: <a href="https://stripe.com/docs/payments/accept-a-payment?platform=android" rel="nofollow noreferrer">https://stripe... | I am attempting to implement payment in my application using Strip Documentation, but i am having some issues with the presentPaymentSheetMethod. I am following the docs precisely by using this site: https://stripe.com/docs/payments/accept-a-payment?platform=android , the issue I am confronted with is inside the presen... | android|stripe-payments | 1 | 2022-05-09T21:16:01.107Z | 2,022 | 5 | 21 | 0 | 209 | 1 | 496 | 72 | 2 | 1 | true | false | false | false | false | false | low |
72,178,345 | Navigation component with BottomNavigationView | <p>I am trying to get started with using the Android navigation component architecture along with a <code>BottomNavigationView</code>. As a simplified example, I have a <code>Fragment</code> called MainFragment with a button, which when pressed navigates to a new view with a <code>BottomNavigationView</code> which allo... | I am trying to get started with using the Android navigation component architecture along with a BottomNavigationView . As a simplified example, I have a Fragment called MainFragment with a button, which when pressed navigates to a new view with a BottomNavigationView which allows the user to switch between FragmentA a... | java|android|android-jetpack|android-architecture-navigation | 0 | 2022-05-09T21:23:39.173Z | 2,022 | 5 | 21 | 0 | 64 | 0 | 1,185 | 46 | 4 | 5 | true | true | false | false | false | false | zero |
72,178,403 | Android mapbox v10 - dynamically change the source url | <p>We have a usual source url of something like <code>https://my-source/{x}/{y}/{z}</code>. When the user selects filtering options, we'd like to add these params to the url as something like <code>https://my-source/{x}/{y}/{z}?my-param=true</code> and instantly update the map.</p>
<p>Is this possible to achieve in map... | We have a usual source url of something like https://my-source/{x}/{y}/{z} . When the user selects filtering options, we'd like to add these params to the url as something like https://my-source/{x}/{y}/{z}?my-param=true and instantly update the map. Is this possible to achieve in mapbox? | android|mapbox|mapbox-android | 1 | 2022-05-09T21:30:51.460Z | 2,022 | 5 | 21 | 0 | 120 | 1 | 289 | 54 | 3 | 0 | false | false | 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.