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,969,076 | Cordova Android 10 - Trouble to assign the root path | <p>As breautek wonderfully explain <a href="https://github.com/apache/cordova-android/issues/1354#issuecomment-921752541" rel="nofollow noreferrer">here</a> , with Android 10 Platform (the mximum platform available at the moment on Cordova and the minimum platform required to publish on playstore) "XHR not CORS re... | As breautek wonderfully explain here , with Android 10 Platform (the mximum platform available at the moment on Cordova and the minimum platform required to publish on playstore) "XHR not CORS request" and "file://" not working if I don't set on my config.xml [CODE] I'm pretty sure that this solutio... | android|cordova | 0 | 2022-07-13T15:44:20.007Z | 2,022 | 7 | 15 | 2 | 16 | 1 | 948 | 52 | 2 | 2 | true | false | false | false | false | false | zero |
72,969,090 | show per screen in background of model | <p>i have a list of items and i want to show a bottomsheet dialog when I click on items by navigation. But when i <code>navigate.to</code> dialog, it shows me a white background and doesn't show my list:</p>
<p><a href="https://i.stack.imgur.com/hfmPJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h... | i have a list of items and i want to show a bottomsheet dialog when I click on items by navigation. But when i navigate.to dialog, it shows me a white background and doesn't show my list: my bottomsheet: [CODE] on item click: [CODE] navgrapghBuilder: [CODE] | android|android-jetpack-compose|android-jetpack-navigation | 0 | 2022-07-13T15:45:35.750Z | 2,022 | 7 | 15 | 2 | 36 | 0 | 257 | 38 | 3 | 3 | true | true | false | false | false | false | zero |
72,969,150 | video disappears when setting match_parent in webview | <p>I have a webview in which video is played, if you set the size of the webview, for example, 200 to 200, then everything is ok, but when installed programmatically</p>
<pre><code> android:layout_width="match_parent"
android:layout_height="wrap_content"
</code></pre>
... | I have a webview in which video is played, if you set the size of the webview, for example, 200 to 200, then everything is ok, but when installed programmatically [CODE] then the video disappears from the screen, the screen becomes black. While the stream from the video continues to play as the music from the video con... | java|android|kotlin | 1 | 2022-07-13T15:49:54.987Z | 2,022 | 7 | 15 | 2 | 23 | 1 | 372 | 53 | 3 | 3 | true | false | false | false | false | false | low |
72,969,225 | OutputStream ops makes error in android studio java | <p>Hello i have this code that its supposed to update values in mysql, but the <strong>OutputStream</strong> ops is making my app crash. I have it run in AsyncTask but still makes error.</p>
<pre><code>try {
URL url = new URL(connstring);
HttpURLConnection http = (HttpURLConnection) url.openCon... | Hello i have this code that its supposed to update values in mysql, but the OutputStream ops is making my app crash. I have it run in AsyncTask but still makes error. [CODE] This is the error i get: [CODE] | java|android | 0 | 2022-07-13T15:55:28.063Z | 2,022 | 7 | 15 | 2 | 20 | 0 | 205 | 51 | 2 | 2 | true | true | false | false | false | false | zero |
72,969,327 | Alternate to manage_external_Storage permissiopn in android | <p>I have a status save app with Manage_External_Storage permission. which works fine on all android versions. But google play keep rejecting my app that I cannot use this permission. If removed, App does not work on Android 11 and 12. Is there any alternate that it works on Android 11 and 12 without this permission?</... | I have a status save app with Manage_External_Storage permission. which works fine on all android versions. But google play keep rejecting my app that I cannot use this permission. If removed, App does not work on Android 11 and 12. Is there any alternate that it works on Android 11 and 12 without this permission? | android|permissions | 0 | 2022-07-13T16:02:53.577Z | 2,022 | 7 | 16 | 2 | 15 | 0 | 315 | 59 | 2 | 0 | false | true | false | false | false | false | zero |
72,969,522 | TT-Chocolates font not rendering properly in small sizes | <p>I've started using the font TT-Chocolates font in an Android app, but with font sizes < 16sp the font is being rendered uneven/inconsistently (e.g. TT-Chocolates-Regular 14sp, full resolution screenshot taken with android studio 1080x2400 Poco X3):</p>
<p><a href="https://i.stack.imgur.com/8Nvpd.png" rel="nofollo... | I've started using the font TT-Chocolates font in an Android app, but with font sizes < 16sp the font is being rendered uneven/inconsistently (e.g. TT-Chocolates-Regular 14sp, full resolution screenshot taken with android studio 1080x2400 Poco X3): As you can see e.g. the "r" letters is drawn differently in t... | android|fonts | 0 | 2022-07-13T16:19:35.473Z | 2,022 | 7 | 16 | 2 | 24 | 0 | 504 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
72,969,559 | Why does Android Studio want the debug version of a library in a release build? | <p>Why does a release build complain about a missing debug library?</p>
<p>In order to verify that a release version of an app uses only the release components, I deleted the debug variants of some externally-built libraries, and then tried building the release version of the app. The build variant 'release" is s... | Why does a release build complain about a missing debug library? In order to verify that a release version of an app uses only the release components, I deleted the debug variants of some externally-built libraries, and then tried building the release version of the app. The build variant 'release" is selected, ye... | android|build.gradle | 0 | 2022-07-13T16:21:57Z | -1 | -1 | -1 | -1 | 28 | 0 | 1,270 | 79 | 2 | 1 | true | true | false | false | false | false | zero |
72,969,572 | Auto focus EditText that sits inside RecyclerView adapter | <p>I've got a Fragment, which has a RecyclerView. This RecyclerView has a header adapter, which contains an EditText.</p>
<p>When the Fragment comes into view, I want the EditText to auto focus (i.e. show the keyboard automatically).</p>
<p>How would I do this?</p>
<p>The Fragment:</p>
<pre><code>public class My Fragme... | I've got a Fragment, which has a RecyclerView. This RecyclerView has a header adapter, which contains an EditText. When the Fragment comes into view, I want the EditText to auto focus (i.e. show the keyboard automatically). How would I do this? The Fragment: [CODE] The adapter class, HeaderAdapter: [CODE] As you can se... | android|android-fragments|android-recyclerview|android-adapter | 2 | 2022-07-13T16:22:36.277Z | 2,022 | 7 | 16 | 2 | 198 | 2 | 477 | 57 | 4 | 2 | true | false | false | false | false | false | low |
72,969,643 | TypeError: null is not an object (evaluating 'AgoraRTM.prefix') | <p>i am making a chat app and using <a href="https://www.npmjs.com/package/agora-react-native-rtm" rel="nofollow noreferrer">agora rtm messaging package</a>, I used their <a href="https://github.com/AgoraIO/agora-react-native-rtm/tree/master/example" rel="nofollow noreferrer">exampe</a>
and I am getting this error <em>... | i am making a chat app and using agora rtm messaging package , I used their exampe and I am getting this error TypeError: null is not an object (evaluating 'AgoraRTM.prefix') I saw the package and found that this AgoraRTM is coming from the native code written for the package and I am not familiar with native swift or ... | android|react-native|agora.io | 0 | 2022-07-13T16:28:24.210Z | 2,022 | 7 | 16 | 2 | 27 | 1 | 419 | 63 | 3 | 0 | false | false | false | false | false | false | zero |
72,969,661 | If I want to automatically update my app with the Managed Google Play Store, do I have to give up some of my profit for In-App purchases? | <p>I am planning to develop an flutter app for dedicated devices, which will be made available through the Managed Google Play Store. These devices will be sold to customers who will exclusively use the app on the devices.</p>
<p>I want to use the Managed Google Play Store because I want to use the Google Play Store f... | I am planning to develop an flutter app for dedicated devices, which will be made available through the Managed Google Play Store. These devices will be sold to customers who will exclusively use the app on the devices. I want to use the Managed Google Play Store because I want to use the Google Play Store for automati... | android|flutter|google-play | 0 | 2022-07-13T16:29:54.470Z | 2,022 | 7 | 16 | 2 | 28 | 0 | 865 | 137 | 3 | 0 | false | true | false | false | false | false | zero |
72,969,682 | How to display Situm (indoor positioning) maps in Android Studio? | <p>Suppose that the <code>Situm API</code> key is already implemented.
I replaced the API key with <code>@@</code> in the code to not show the key for security.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android&quo... | Suppose that the Situm API key is already implemented. I replaced the API key with @@ in the code to not show the key for security. [CODE] The Output: It shows a Google map and a search bar (Not working yet)at the top. I want the output to be like this: It shows a google map with the image of the floor of the building. | android-studio|maps|indoor-positioning-system | 0 | 2022-07-13T16:31:50.300Z | 2,022 | 7 | 16 | 2 | 38 | 0 | 320 | 65 | 3 | 1 | true | true | false | false | false | false | zero |
72,969,767 | Fragment Toolbar menu not visible onBackPressed | <p>I have ViewPager with <strong>fragment MAIN</strong> and each fragment has it's own toolbar menu. When i click on option menu 1 which launch just simple fragment with no menu and when i press back button the <strong>fragment MAIN</strong> shows it's option menu but on click on option menu 2 which launch fragment (<s... | I have ViewPager with fragment MAIN and each fragment has it's own toolbar menu. When i click on option menu 1 which launch just simple fragment with no menu and when i press back button the fragment MAIN shows it's option menu but on click on option menu 2 which launch fragment ( let's call it D ) with viewpager and t... | java|android|android-fragments|android-viewpager | 0 | 2022-07-13T16:39:19.127Z | 2,022 | 7 | 16 | 2 | 37 | 0 | 1,180 | 47 | 4 | 2 | true | true | false | false | false | false | zero |
72,969,851 | How do you fill in the background of a vector image in Jetpack Compose? | <p>I have a vector image that I'm trying to put on a button. Unfortunately, my image shows with a white background. How do I fill in the background with the color of the button?</p>
<p><a href="https://i.stack.imgur.com/G2qkb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G2qkb.png" alt="button wi... | I have a vector image that I'm trying to put on a button. Unfortunately, my image shows with a white background. How do I fill in the background with the color of the button? Here is the code for the button. [CODE] | android|android-jetpack-compose|android-vectordrawable | 3 | 2022-07-13T16:46:55.450Z | 2,022 | 7 | 16 | 2 | 295 | 1 | 214 | 71 | 3 | 1 | true | false | false | false | false | false | low |
72,970,026 | Flutter Firebase Android app cannot load in-app products | <p>i have followed the below tutorial and completed setup for closed testing, however my android app cannot load any in-app product, any idea why?</p>
<p>No error message at all, and <code>StoreState.available</code> is true , just no in app product displayed in my purchase page</p>
<p><a href="https://codelabs.develop... | i have followed the below tutorial and completed setup for closed testing, however my android app cannot load any in-app product, any idea why? No error message at all, and StoreState.available is true , just no in app product displayed in my purchase page https://codelabs.developers.google.com/codelabs/flutter-in-app-... | android|flutter|firebase|in-app-purchase | 0 | 2022-07-13T17:01:11.580Z | 2,022 | 7 | 17 | 2 | 18 | 0 | 331 | 56 | 4 | 0 | false | true | false | false | false | false | zero |
72,970,120 | When developing on Android, how can I interface with USB DAC without preventing other applications from playing sound on it? | <p>I have a headphone that connect to my phone via type-c. It has USB DAC in it, connected to type-c with USB protocol.</p>
<p>To control its sidetone volume, I do:</p>
<pre><code> UsbInterface usbInterface = theDevice.getInterface(0);
UsbDeviceConnection connection = usbManager.openDevice(theDevice);
... | I have a headphone that connect to my phone via type-c. It has USB DAC in it, connected to type-c with USB protocol. To control its sidetone volume, I do: [CODE] I captured those addresses and commands on my USB port via wireshark, when I connect the headset to my Windows laptop and change the sidetone volume via setti... | android|audio|usb|driver | 0 | 2022-07-13T17:08:22.693Z | 2,022 | 7 | 17 | 2 | 32 | 0 | 625 | 124 | 4 | 1 | true | true | false | false | false | false | zero |
72,970,208 | setRequiresDeviceIdle For work manager not working | <pre><code> Constraints.Builder()
.setRequiresStorageNotLow(true)
.setRequiresDeviceIdle(true)
.setRequiresBatteryNotLow(true)
.setRequiredNetworkType(NetworkType.CONNECTED)
.build()
</code></pre>
<p>So when using that constraints for work manager, it works if I remove the requiresdeviceidle. But I am unable ... | [CODE] So when using that constraints for work manager, it works if I remove the requiresdeviceidle. But I am unable to get it run when setRequiresDeviceIdle is set to true. ON Emulator. | android|android-workmanager | 0 | 2022-07-13T17:15:22.410Z | 2,022 | 7 | 17 | 2 | 57 | 0 | 186 | 50 | 2 | 1 | true | true | false | false | false | false | zero |
72,970,382 | How to send an initial message using ServiceConnection? | <p>I have an android service, which is connected to a service connection. Upon initialization, I'd like to send a single String, for example "test message" to the Service connection. How would I do this?</p>
<p>This is my <code>Service</code> class:</p>
<pre class="lang-java prettyprint-override"><code>public... | I have an android service, which is connected to a service connection. Upon initialization, I'd like to send a single String, for example "test message" to the Service connection. How would I do this? This is my Service class: [CODE] This is my ServiceConnection implementation: [CODE] | android|android-studio|android-service|android-service-binding | 0 | 2022-07-13T17:30:53.160Z | 2,022 | 7 | 17 | 2 | 63 | 1 | 295 | 55 | 4 | 2 | true | false | false | false | false | false | zero |
72,970,450 | How to make "int" based on number from database? - Java | <p>I'm making a game, so far I've made two buttons for the test. The first button makes a win, and the second one loses, all this is added to the database.</p>
<p><a href="https://i.stack.imgur.com/HehHv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HehHv.png" alt="enter image description here" /><... | I'm making a game, so far I've made two buttons for the test. The first button makes a win, and the second one loses, all this is added to the database. [CODE] The fact is that every time you enter this activity, the number is reset to zero, since I set the number 0 in the variable. I want to understand how to make &qu... | java|android|firebase|firebase-realtime-database|integer | 0 | 2022-07-13T17:38:11.763Z | 2,022 | 7 | 17 | 2 | 54 | 1 | 643 | 55 | 5 | 2 | true | false | false | false | false | false | zero |
72,970,560 | I'm trying to build a text to speech, am using flutter_tts package but I'm running into a fatal error when i try to debug on my android mobile | <p>I'm trying to build a text to speech app but I'm getting this fatal error when i try debug using my android mobile.
I noticed that when I run my app as web app,it is working just okay..the error seems to be caused by <strong>flutter_tts_web</strong> package which I'm required to import for controlling the <strong>Tt... | I'm trying to build a text to speech app but I'm getting this fatal error when i try debug using my android mobile. I noticed that when I run my app as web app,it is working just okay..the error seems to be caused by flutter_tts_web package which I'm required to import for controlling the TtsState , any help will be hi... | android|flutter-dependencies | 1 | 2022-07-13T17:47:57.120Z | 2,022 | 7 | 17 | 2 | 43 | 0 | 1,794 | 142 | 2 | 2 | true | true | false | false | false | false | low |
72,970,647 | Android Emulator Build Failure in Windows Server 2019 (AWS EC2 Instance) | <p><strong>Unable to Create and Config Android Emulator and USB Debugging in Windows Server 2019 (AWS EC2 Instance).</strong></p>
<p>As shown in <a href="https://i.stack.imgur.com/jhC0X.png" rel="nofollow noreferrer">Image</a> is the error, When I create Emulator in Android Studio.</p>
<p>Then, I tried USB Debuging (<a... | Unable to Create and Config Android Emulator and USB Debugging in Windows Server 2019 (AWS EC2 Instance). As shown in Image is the error, When I create Emulator in Android Studio. Then, I tried USB Debuging ( USBFX ) in Windows Instance (RDP), but device didn't connected. What is the instance type that accepts emulator... | android|amazon-web-services|amazon-ec2|android-emulator|windows-server-2019 | 0 | 2022-07-13T17:55:21.207Z | 2,022 | 7 | 17 | 2 | 19 | 0 | 394 | 72 | 5 | 0 | false | true | false | false | false | false | zero |
72,970,761 | Getting the problem java.lang.AssertionError while trying to add assert profilePicUrl != null; | <p><strong>Code:</strong></p>
<pre class="lang-java prettyprint-override"><code>assert profilePicUrl !=null;
if(!profilePicUrl.isEmpty()){
// set profile pic to circle image view
Picasso.get().load(profilePicUrl).into(userProfilePic);
}
</code></pre>
<p><strong>Error:</strong></p>
<pre><code>java.lang.Assertion... | Code: [CODE] Error: [CODE] The code assert profilePicUrl !=null; is the 58th line of the whole code. Now I need solution how I can Solve it. | java|android-studio | 0 | 2022-07-13T18:06:26.130Z | 2,022 | 7 | 18 | 2 | 23 | 0 | 140 | 94 | 2 | 2 | true | true | false | false | false | false | zero |
72,970,897 | Share custom view attribute between views but with different type (int vs float) | <p>I've written a number picker that supports <code>Integer</code> and <code>Float</code> - therefore I've written a generic base class and define two derived typed class like <code>NumberPickerInt</code> and <code>NumberPickerFloat</code>. Those custom views do share a set of common xml settings but also a set of sett... | I've written a number picker that supports Integer and Float - therefore I've written a generic base class and define two derived typed class like NumberPickerInt and NumberPickerFloat . Those custom views do share a set of common xml settings but also a set of settings, that should be named the same but have different... | android|xml|view|attributes | 0 | 2022-07-13T18:18:52.643Z | 2,022 | 7 | 18 | 2 | 21 | 0 | 950 | 80 | 4 | 1 | true | true | false | false | false | false | zero |
72,970,986 | Recreating Linux traceroute for an Android app | <p>I am extremely new the Android app development and Stack Overflow. I am trying to recreate traceroute in an Android app since Android devices do not come with traceroute by default. I've encountered a couple stack overflow posts talking about solutions to this, but I have still run into challenges.</p>
<p><a href="h... | I am extremely new the Android app development and Stack Overflow. I am trying to recreate traceroute in an Android app since Android devices do not come with traceroute by default. I've encountered a couple stack overflow posts talking about solutions to this, but I have still run into challenges. Traceroute on androi... | java|android|linux|android-ndk | 1 | 2022-07-13T18:26:13.500Z | 2,022 | 7 | 18 | 2 | 32 | 0 | 2,849 | 46 | 4 | 1 | true | true | false | false | false | false | low |
72,970,999 | Request Location Permission Doesn't Repeat for a Rejection by User | <p>I am trying to request a user's location. The first time I request a user's location, it works as intended, with a permission rationale dialog that pops up and then the user is given a choice between fine and coarse location permission. However, if the user rejects the location permission, and then clicks on the fin... | I am trying to request a user's location. The first time I request a user's location, it works as intended, with a permission rationale dialog that pops up and then the user is given a choice between fine and coarse location permission. However, if the user rejects the location permission, and then clicks on the find l... | android|kotlin|permissions | 0 | 2022-07-13T18:27:18.447Z | 2,022 | 7 | 18 | 2 | 46 | 0 | 598 | 66 | 3 | 1 | true | true | false | false | false | false | zero |
72,971,193 | how to find all devices connected to wifi network with scapy and python for windows and android | <p>I am trying to make an app that can find and show all the devices connected to my Wi-Fi network using python and Scapy, and I want it to work on windows and android
this is my code but it is not showing any device except mine
<a href="https://i.stack.imgur.com/FMpxF.png" rel="nofollow noreferrer"><img src="https://i... | I am trying to make an app that can find and show all the devices connected to my Wi-Fi network using python and Scapy, and I want it to work on windows and android this is my code but it is not showing any device except mine | python|android|networking|ip|scapy | 0 | 2022-07-13T18:45:33.630Z | 2,022 | 7 | 18 | 2 | 86 | 0 | 225 | 95 | 5 | 0 | false | true | false | false | false | false | zero |
72,971,269 | What is the right way to deploy a customized Android end user device with an App (install, update, lock task mode)? | <p>I am planning to develop a Flutter App which will be installed on a dedicated device which I want to sell to customers (B2C). This device will be used only with the developed app and thus represents a kind of customized end user device, which hasn't to provide any other functions. For example, the user should see a ... | I am planning to develop a Flutter App which will be installed on a dedicated device which I want to sell to customers (B2C). This device will be used only with the developed app and thus represents a kind of customized end user device, which hasn't to provide any other functions. For example, the user should see a cus... | android|flutter|google-play|android-source|automatic-updates | 0 | 2022-07-13T18:52:19.847Z | 2,022 | 7 | 18 | 2 | 59 | 0 | 1,760 | 115 | 5 | 0 | false | true | false | false | false | false | zero |
72,971,314 | SearchView that shows items related to the search term | <p>How can I have a search function in android that will show items similar to what the user typed in? For example:</p>
<p>I have the items Distance, Tax, and Color.
If the user types Kilometer, Mi, or distance, show "distance";
If the user types Tax, Money, or Bill, show "tax";
If the user types HE... | How can I have a search function in android that will show items similar to what the user typed in? For example: I have the items Distance, Tax, and Color. If the user types Kilometer, Mi, or distance, show "distance"; If the user types Tax, Money, or Bill, show "tax"; If the user types HEX, RGB, or... | android|kotlin|android-layout|searchview | 0 | 2022-07-13T18:57:12.473Z | 2,022 | 7 | 18 | 2 | 33 | 1 | 525 | 54 | 4 | 1 | true | false | false | false | false | false | zero |
72,971,556 | AsyncImage not loading : Coil-Jetpack Compose | <p>I have a Jetpack Compose app that makes a call to the <a href="https://picsum.photos/" rel="nofollow noreferrer">Picsum API</a> (endpoint: <a href="https://picsum.photos/v2/list" rel="nofollow noreferrer">https://picsum.photos/v2/list</a>) and tries to display them in a <code>LazyList</code> using the Coil library (... | I have a Jetpack Compose app that makes a call to the Picsum API (endpoint: https://picsum.photos/v2/list ) and tries to display them in a LazyList using the Coil library ( 2.1.0 ). I have the typical Retrofit2 + OkHttp3 setup, and am able to get all the necessary data, including the required image URL, from the endpoi... | android-jetpack-compose|imageurl|coil | 0 | 2022-07-13T19:20:30.780Z | 2,022 | 7 | 19 | 2 | 300 | 1 | 930 | 45 | 3 | 6 | true | false | false | false | false | false | zero |
72,971,561 | How to set up floating action button expansion direction in Android Studio? | <p>I try to give to a height of floating action button a set of constraints, that will look like "bottom of button is 8dp from bottom of screen, top of button is 92% of screen size from top of screen, but, if button height (according to previous constraints) become lower than 40dp, expand button in <strong>top</st... | I try to give to a height of floating action button a set of constraints, that will look like "bottom of button is 8dp from bottom of screen, top of button is 92% of screen size from top of screen, but, if button height (according to previous constraints) become lower than 40dp, expand button in top direction to a... | android|android-studio|android-layout | 0 | 2022-07-13T19:21:01.380Z | 2,022 | 7 | 19 | 2 | 39 | 1 | 1,096 | 75 | 3 | 1 | true | false | false | false | false | false | zero |
72,971,605 | make videocall with android telecom connectionService | <p>How can i make a video call in android studio ?
i have a voice call implementation, this with the SipAudioCall Class, and i think, the correct class can be <strong>Call</strong> for audio and video, but i dont find how initialize or take from somewhere the <strong>Call</strong> value.
My connectionService -> onCr... | How can i make a video call in android studio ? i have a voice call implementation, this with the SipAudioCall Class, and i think, the correct class can be Call for audio and video, but i dont find how initialize or take from somewhere the Call value. My connectionService -> onCreateIncomingConnection have somthing lik... | android|connection|call|videocall | 0 | 2022-07-13T19:25:13.230Z | 2,022 | 7 | 19 | 2 | 27 | 0 | 448 | 53 | 4 | 2 | true | true | false | false | false | false | zero |
72,971,626 | Android NullPointer Attempt to invoke virtual method 'boolean java.util.ArrayList.add(java.lang.Object)' on a null object reference | <p>I'm getting this error: <code>java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.add(java.lang.Object)' on a null object reference</code> and just to make it clear is that I know others with the same issue have asked the same question and I have read the solutions which are... | I'm getting this error: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.add(java.lang.Object)' on a null object reference and just to make it clear is that I know others with the same issue have asked the same question and I have read the solutions which are usually that yo... | java|android|firebase|arraylist | -2 | 2022-07-13T19:27:37.817Z | 2,022 | 7 | 19 | 2 | 353 | 1 | 597 | 131 | 4 | 3 | true | false | false | false | false | true | negative |
72,971,751 | How to add multiple events in one button Kotlin? | <p>I want to pick and upload image from gallery with one button in the same time for Firebase. But the first when i clicked the button it picked up image and the second time when i clicked it uploads. How can i fix it that when i clicked it should be go to gallery and save to Firebase Storage</p>
<pre><code> idgir.set... | I want to pick and upload image from gallery with one button in the same time for Firebase. But the first when i clicked the button it picked up image and the second time when i clicked it uploads. How can i fix it that when i clicked it should be go to gallery and save to Firebase Storage [CODE] private fun registerLa... | android|firebase|kotlin|google-cloud-firestore|file-upload | 0 | 2022-07-13T19:39:34.190Z | 2,022 | 7 | 19 | 2 | 36 | 1 | 337 | 48 | 5 | 2 | true | false | false | false | false | false | zero |
72,971,761 | Not able to download any dependency from dl.google.com/dl/android/maven2 | <p>When using <code>./gradlew clean</code> to clean and build a react-native project or <code>npx react-native run-android</code> to run project getting the following error:</p>
<pre><code>FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':react-native-push-notificatio... | When using ./gradlew clean to clean and build a react-native project or npx react-native run-android to run project getting the following error: [CODE] But if I visit https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.2.0/gradle-3.2.0.jar on the browser I am able to download the .jar file(s). I al... | android|react-native|maven | 0 | 2022-07-13T19:40:10.933Z | 2,022 | 7 | 19 | 2 | 28 | 0 | 660 | 72 | 3 | 1 | true | true | false | false | false | false | zero |
72,971,980 | ReactNative throwing uncaught error Error.stack accessor 'this' must be an instance of 'error' | <p>I'm working on this React Native project I created with Expo and while I was restarting the application and the server-side this error won't let me start my application on any device (Emulator and Physical Devices).</p>
<p>Here are the screenshots: <a href="https://prnt.sc/BfFfpcJ06rsH" rel="nofollow noreferrer">htt... | I'm working on this React Native project I created with Expo and while I was restarting the application and the server-side this error won't let me start my application on any device (Emulator and Physical Devices). Here are the screenshots: https://prnt.sc/BfFfpcJ06rsH https://prnt.sc/HZafRl0ClEEm | android|reactjs|react-native|expo | 1 | 2022-07-13T20:01:13.800Z | 2,022 | 7 | 20 | 2 | 47 | 0 | 299 | 94 | 4 | 0 | false | true | false | false | false | false | low |
72,971,988 | Dispatch key event to a generic context inside the own app | <p>I am developing and Android app (in Java) that needs to receive a broadcast from another application and, according to the data received, dispatch some key events inside my own app.
Basically, from inside my app, I need to control multiple Views and Activities to navigate through my interface using the key events.</... | I am developing and Android app (in Java) that needs to receive a broadcast from another application and, according to the data received, dispatch some key events inside my own app. Basically, from inside my app, I need to control multiple Views and Activities to navigate through my interface using the key events. I am... | java|android|keyevent | 0 | 2022-07-13T20:01:49.580Z | 2,022 | 7 | 20 | 2 | 21 | 1 | 1,230 | 58 | 3 | 0 | false | false | false | false | false | false | zero |
72,972,042 | Remove/delete individual category score from highest score without deleting all other saved scores Android Studio Java | <p>I wonder if anyone can help me. I'm trying to learn programming/Java by building a quiz app.</p>
<p>I have multiple categories. Each category can score points and save using sharedpreferences. Points are collected and added to a highest score variable, again using sharedpreferences.</p>
<p>What I want to do is every... | I wonder if anyone can help me. I'm trying to learn programming/Java by building a quiz app. I have multiple categories. Each category can score points and save using sharedpreferences. Points are collected and added to a highest score variable, again using sharedpreferences. What I want to do is every time I want to r... | java|android | 1 | 2022-07-13T20:06:57.450Z | 2,022 | 7 | 20 | 2 | 40 | 0 | 1,188 | 118 | 2 | 2 | true | true | false | false | false | false | low |
72,972,061 | Android test startAcitivityForResult and onActivityResult | <p>I have two activities; <code>ActivityA</code> and <code>ActivityB</code>. I want to test the following interaction (<a href="https://drive.google.com/file/d/1H823WsrNebWxIw-e2xXNvkOks8lN1SxE/view?usp=sharing" rel="nofollow noreferrer">Video here</a>):</p>
<ul>
<li>Start at <code>ActivityA</code></li>
<li>Tap on the ... | I have two activities; ActivityA and ActivityB . I want to test the following interaction ( Video here ): Start at ActivityA Tap on the "Go To ActivityB" button Test if ActivityB is started for result and test its intent and also the value of ActivityB#starVisibility Toggle the switch in ActivityB Press back ... | android|unit-testing|android-instrumentation | 0 | 2022-07-13T20:09:04.730Z | 2,022 | 7 | 20 | 2 | 23 | 0 | 710 | 57 | 3 | 4 | true | true | false | false | false | false | zero |
72,972,074 | Xamarin Android System.ObjectDisposedException when scrolling through ListView of Images | <p>I am writing an Android app using Xamarin.Forms, and I've been seeing this <em><strong>System.ObjectDisposedException:</strong> 'Cannot access a closed Stream.'</em> come up on one of my pages where I have a ListView with Images in it. When scrolling down, the images load fine and all is well. But when scrolling b... | I am writing an Android app using Xamarin.Forms, and I've been seeing this System.ObjectDisposedException: 'Cannot access a closed Stream.' come up on one of my pages where I have a ListView with Images in it. When scrolling down, the images load fine and all is well. But when scrolling back up, that exception is throw... | c#|android|xamarin|xamarin.forms|xamarin.android | 1 | 2022-07-13T20:10:18.617Z | 2,022 | 7 | 20 | 2 | 35 | 0 | 607 | 88 | 5 | 2 | true | true | false | false | false | false | low |
72,972,221 | Open gallery after returning from 3rd party camera app | <p>Here is my code:</p>
<p>opening camera:</p>
<pre><code>private void cameraOpen() {
Intent cam = getContext().getPackageManager().getLaunchIntentForPackage("net.sourceforge.opencamera");
postCamera.launch(cam);
}
ActivityResultLauncher<Intent> postCamera = registerForActivityResult( new Activ... | Here is my code: opening camera: [CODE] opening gallery: [CODE] I'm trying to make it so that, after taking a picture using the 3rd party camera app (using the built-in one doesn't work on my device) and returning to my app, I can open up the gallery and allow the user to choose the photo they want to use. However, my ... | java|android|android-studio|android-activity|camera | 0 | 2022-07-13T20:23:46.847Z | 2,022 | 7 | 20 | 2 | 26 | 0 | 375 | 54 | 5 | 2 | true | true | false | false | false | false | zero |
72,972,225 | Android App to start automatically on Boot Up | <p>I am trying to get my Android app to start automatically on boot up.
I have followed various examples and copied the code, but still, when I power up, the app does NOT start.</p>
<p>I am using a Galaxy Tab A7 Lite, running Android 11.</p>
<p>Any help gladly received.</p>
<p>Thank you.</p>
<p>Here is my code...</p>
<... | I am trying to get my Android app to start automatically on boot up. I have followed various examples and copied the code, but still, when I power up, the app does NOT start. I am using a Galaxy Tab A7 Lite, running Android 11. Any help gladly received. Thank you. Here is my code... I have defined the receiver: [CODE] ... | android | 1 | 2022-07-13T20:24:28.167Z | 2,022 | 7 | 20 | 2 | 90 | 2 | 374 | 45 | 1 | 3 | true | false | false | false | false | false | low |
72,972,239 | Span of GridLayout is not applied in Epoxy | <p>I'm using <code>Epoxy</code> to represent <code>nested recyclerviews</code>.</p>
<p>Other than that, I want to place the inner child(Nested) RecyclerView in GridLayout format, but even if I set span, it only appears in vertical format.</p>
<p>I tried using <code>spanCount</code> and <code>spanSizeOverride</code> (di... | I'm using Epoxy to represent nested recyclerviews . Other than that, I want to place the inner child(Nested) RecyclerView in GridLayout format, but even if I set span, it only appears in vertical format. I tried using spanCount and spanSizeOverride (didn't understand what function this is) in Controller to solve it, bu... | android|android-gridlayout|epoxy | 1 | 2022-07-13T20:25:54.560Z | 2,022 | 7 | 20 | 2 | 54 | 0 | 454 | 42 | 3 | 3 | true | true | false | false | false | false | low |
72,972,390 | How can i use multiple gesture in the same Android Compose View? | <p>I would like to use drag and tap gestures in the same view.</p>
<pre><code> Canvas(
modifier = Modifier
.fillMaxSize()
.pointerInput(Unit) {
detectTapGestures(
onDoubleT... | I would like to use drag and tap gestures in the same view. [CODE] I tried this way but only tap gesture is working. How can i use tap and drag gesture at the same time in a view ? | android|android-jetpack-compose|gesture | 0 | 2022-07-13T20:39:06.053Z | 2,022 | 7 | 20 | 2 | 141 | 1 | 180 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
72,972,468 | The method '_ScreenState' isn't defined for the type 'Scanscreen'. Try correcting the name to the name of an existing method | <p>So I have been working on a flutter app right now. I have the feature that requires permission from the camera and gallery to pick and capture images. So I watched some tutorials and I copied the same process, use the plugin image_picker. But before that, I already have the plugin permission handler which is defaul... | So I have been working on a flutter app right now. I have the feature that requires permission from the camera and gallery to pick and capture images. So I watched some tutorials and I copied the same process, use the plugin image_picker. But before that, I already have the plugin permission handler which is default fr... | android|flutter|dart|github | 0 | 2022-07-13T20:47:00.747Z | 2,022 | 7 | 20 | 2 | 84 | 1 | 766 | 124 | 4 | 1 | true | false | false | false | false | false | zero |
72,972,585 | In ExoPlayer how do I show the thumbnail of the first frame after loading a media source and seeking to a position instead of it being blank? | <p>How do I show the first frame of the video after the Fragment is resumed instead of the video player being blank?</p> | How do I show the first frame of the video after the Fragment is resumed instead of the video player being blank? | android|exoplayer|exoplayer2.x | 0 | 2022-07-13T21:00:06.647Z | 2,022 | 7 | 21 | 2 | 324 | 1 | 113 | 141 | 3 | 0 | false | false | false | false | false | false | zero |
72,972,691 | Is it safe update to latest kotlin version while using Compose in a project? | <p>I have read about some people having compiler problems when they update to the latest version of Kotlin while using Jetpack Compose in a project. I currently learning Compose and Android Studio is offerring me to update to Kotlin 1.7.0, but I´m not sure that if I do, it will still working.</p>
<p>I'm using AS Chipmu... | I have read about some people having compiler problems when they update to the latest version of Kotlin while using Jetpack Compose in a project. I currently learning Compose and Android Studio is offerring me to update to Kotlin 1.7.0, but I´m not sure that if I do, it will still working. I'm using AS Chipmunk and a r... | kotlin|android-jetpack-compose | 0 | 2022-07-13T21:12:29.763Z | 2,022 | 7 | 21 | 2 | 170 | 2 | 368 | 76 | 2 | 0 | false | false | false | false | false | false | zero |
72,972,800 | Instance member 'productPrice' can't be accessed using static access | <p>I got this on terminal:</p>
<blockquote>
<p>Performing hot restart... Syncing files to device sdk gphone64 x86
64... lib/product_add_edit.dart:101:44: Error: Member not found: 'productPrice'.
initialValue: ProductModel.productPrice == null ? "" : ProductModel.productPrice.toString(),
^^^^^^^^^^^^ lib/produ... | I got this on terminal: Performing hot restart... Syncing files to device sdk gphone64 x86 64... lib/product_add_edit.dart:101:44: Error: Member not found: 'productPrice'. initialValue: ProductModel.productPrice == null ? "" : ProductModel.productPrice.toString(), ^^^^^^^^^^^^ lib/product_add_edit.dart:101:85... | flutter|android-studio | 0 | 2022-07-13T21:23:58.893Z | 2,022 | 7 | 21 | 2 | 25 | 0 | 559 | 68 | 2 | 1 | true | true | false | false | false | false | zero |
72,972,937 | How can I create inner navigation in showModalBottomSheet? | <p>In my app I am trying to implement Badoo-like sort/filter showBottomModalSheet feature. I managed to create 2 separate pages, which I can navigate back and forth. However, the problem I'm facing is the second page in showBottomModalSheet. Back button works fine until I try to touch outside of the modal, which takes ... | In my app I am trying to implement Badoo-like sort/filter showBottomModalSheet feature. I managed to create 2 separate pages, which I can navigate back and forth. However, the problem I'm facing is the second page in showBottomModalSheet. Back button works fine until I try to touch outside of the modal, which takes bac... | android|flutter|dart|flutter-showmodalbottomsheet | 3 | 2022-07-13T21:41:47.463Z | 2,022 | 7 | 21 | 2 | 46 | 1 | 1,054 | 58 | 4 | 1 | true | false | false | false | false | false | low |
72,972,985 | How to get data from Call<T> without a callback - Retrofit - Kotlin - Jetpack Compose | <p>i have a method calling an API. :</p>
<pre><code>interface ILoginService {
//make login
suspend fun login(payload: String): Call<Session>?
//creates payload for request body
fun createLoginPayload(login: LoginModel): String
}
override suspend fun login(payload:String):Call<Session>?{
... | i have a method calling an API. : [CODE] I am returning Call to viewmodel. How i can extract data from that Call without a callback (response.enqueue() ... )???? This is the method in viewmodel: [CODE] | retrofit2|android-jetpack-compose | 0 | 2022-07-13T21:48:51.873Z | 2,022 | 7 | 21 | 2 | 30 | 0 | 201 | 85 | 2 | 2 | true | true | false | false | false | false | zero |
72,973,152 | Dagger2. How to use multibinding with supporting of assisted injection? | <p>I have an interface PaymentProvider:</p>
<pre><code>interface PaymentProvider {
fun pay(amount: Double): Boolean
}
</code></pre>
<p>Here is different implementations:</p>
<pre><code>class PayPalPayment @AssistedInject constructor(
private val payPalRepo: PayPalRepository,
@Assisted private val paymentDat... | I have an interface PaymentProvider: [CODE] Here is different implementations: [CODE] Also I have PaymentManager class who should receive PaymentProvider. [CODE] I want this class not to know which specific implementation of the PaymentProvider interface it works with. For this I'm provide with dagger implementation us... | android|kotlin|dagger-2|dagger-hilt|assisted-inject | 1 | 2022-07-13T22:09:24.873Z | 2,022 | 7 | 22 | 2 | 35 | 0 | 995 | 71 | 5 | 6 | true | true | false | false | false | false | low |
72,973,175 | How to fix **error: cannot find symbol** when importing kotlin package into MainApplication.java for Android in React Native app? | <p>I'm building a react native app that uses the react-native-vision-camera by Mrousavy (<a href="https://github.com/mrousavy/react-native-vision-camera" rel="nofollow noreferrer">https://github.com/mrousavy/react-native-vision-camera</a>) and I'm trying to create a frame processor plugin, following this guide <a href... | I'm building a react native app that uses the react-native-vision-camera by Mrousavy ( https://github.com/mrousavy/react-native-vision-camera ) and I'm trying to create a frame processor plugin, following this guide https://mrousavy.com/react-native-vision-camera/docs/guides/frame-processors-plugins-android , which is ... | java|android|react-native|kotlin | 0 | 2022-07-13T22:11:39.010Z | 2,022 | 7 | 22 | 2 | 162 | 0 | 1,070 | 129 | 4 | 1 | true | true | false | false | false | false | zero |
72,973,294 | Does RxJava Completable only triggers onComplete if the response is 2xx? | <p>I'm using Retrofit with RxJava in Android and making a POST request that returns a Completable.</p>
<p>If it can reach the server and the POST is successful it returns 2xx and it triggers <code>onComplete</code>.</p>
<p>If for example i have no internet it triggers <code>onError</code>.</p>
<p>What happens if it rea... | I'm using Retrofit with RxJava in Android and making a POST request that returns a Completable. If it can reach the server and the POST is successful it returns 2xx and it triggers onComplete . If for example i have no internet it triggers onError . What happens if it reaches the server and the POST returns a non 2xx c... | android|retrofit|rx-java | 0 | 2022-07-13T22:27:06.957Z | 2,022 | 7 | 22 | 2 | 31 | 1 | 462 | 72 | 3 | 0 | false | false | false | false | false | false | zero |
72,973,375 | Delphi 11: Find correct toolsversion for MSBuild programmatically | <p>We're upgrading to Delphi 11.1 from 10.4.</p>
<p>We have a few scripts which build and deploy Android projects. They assemble an <code>msbuild</code> command that looked like this:</p>
<pre><code>msbuild someproject.dproj /v:q /p:Platform=Android /t:Build;Deploy /p:Config=Release /p:BT_BuildType=AppStore
</code><... | We're upgrading to Delphi 11.1 from 10.4. We have a few scripts which build and deploy Android projects. They assemble an msbuild command that looked like this: [CODE] With 11.1, this throws an error message: C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\CodeGear.Common.Targets(940,7): error MSB4036: The "Xml... | android|batch-file|delphi|msbuild|delphi-11-alexandria | 2 | 2022-07-13T22:39:11.173Z | 2,022 | 7 | 22 | 2 | 150 | 2 | 1,595 | 65 | 5 | 3 | true | false | false | false | false | false | low |
72,973,545 | Duplicate Push Notifications from Firebase Android and iOS | <p>I've been through the other threads on this issue and haven't found a solution. My case may be unusual.</p>
<p>I have just inherited a production mobile app (Ionic/Angular) that is available on Google Play Store and Apple App Store. I didn't have to create a new google-services.json or a new GoogleService-Info.plist... | I've been through the other threads on this issue and haven't found a solution. My case may be unusual. I have just inherited a production mobile app (Ionic/Angular) that is available on Google Play Store and Apple App Store. I didn't have to create a new google-services.json or a new GoogleService-Info.plist file. I h... | android|ios|firebase|push-notification|duplicates | 0 | 2022-07-13T23:03:56.637Z | 2,022 | 7 | 23 | 2 | 137 | 0 | 1,599 | 58 | 5 | 0 | false | true | false | false | false | false | zero |
72,973,564 | How to catch IllegalStateException displayed in Firebase coming from Apollo GraphQL Android SDK | <p>I'm unsure of how to catch this crash tracked in Firebase in our codebase which is coming from the Apollo GraphQL SDK for Android, version 2.5.12. I have also not been able to reproduce it. It seems to be similar to this issue: <a href="https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/153" rel="nofol... | I'm unsure of how to catch this crash tracked in Firebase in our codebase which is coming from the Apollo GraphQL SDK for Android, version 2.5.12. I have also not been able to reproduce it. It seems to be similar to this issue: https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/153 . Though, that issue is... | java|android|graphql|apollo|illegalstateexception | 1 | 2022-07-13T23:08:13.530Z | 2,022 | 7 | 23 | 2 | 55 | 0 | 497 | 95 | 5 | 1 | true | true | false | false | false | false | low |
72,973,595 | How to see what version of JDK you are using | <p>How do i see what JDK version i am using in android studio? It says to do ctrl-shift-alt-s but all im seeing is sdk</p> | How do i see what JDK version i am using in android studio? It says to do ctrl-shift-alt-s but all im seeing is sdk | android-studio | 0 | 2022-07-13T23:13:33.477Z | 2,022 | 7 | 23 | 2 | 21 | 1 | 115 | 44 | 1 | 0 | false | false | false | false | false | false | zero |
72,973,630 | how to draw a square with stroke and neon glow with Jetpack Compose Canvas? | <p>I need to draw a rounded square, something like <a href="https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope?hl=es-419#drawRoundRect(androidx.compose.ui.graphics.Color,androidx.compose.ui.geometry.Offset,androidx.compose.ui.geometry.Size,androidx.compose.ui.geometry.Corner... | I need to draw a rounded square, something like drawRoundRect , but only the outline. something like this. this image is drawn by hand, as I said I need it to look like drawRoundRect but without outline (I don't want it to look hand drawn) If you see it, the line has a gradient like this: red -> white -> red I need tha... | android|canvas|android-jetpack-compose|android-canvas|android-jetpack-compose-canvas | 1 | 2022-07-13T23:20:46.023Z | 2,022 | 7 | 23 | 2 | 336 | 1 | 403 | 75 | 5 | 0 | false | false | false | false | false | false | low |
72,973,727 | Touch to focus not getting the accurate focus area | <p>I am using Camera2 API for my app to communicate to camera device of android device, Then I'm trying to make a touch to focus feature unfortunately the focus area is not accurate. I was tried different work around and suggestions in google but I can't get the right focus area when I touch the screen. Is there anyon... | I am using Camera2 API for my app to communicate to camera device of android device, Then I'm trying to make a touch to focus feature unfortunately the focus area is not accurate. I was tried different work around and suggestions in google but I can't get the right focus area when I touch the screen. Is there anyone he... | android|kotlin|android-camera2 | 0 | 2022-07-13T23:37:46.693Z | 2,022 | 7 | 23 | 2 | 12 | 0 | 437 | 50 | 3 | 1 | true | true | false | false | false | false | zero |
72,973,804 | What is the simple way to add a left icon to each line, in an alert list dialog using Kotlin? | <p>In my Android (write in kotlin) App I have an alert dialog with a similar structure like this. The list of items is injected from a json, but for this question I made the code more simple.</p>
<pre><code>> var items = mutableListOf<String>()
> items.addAll(listOf("line 1", "line 2&... | In my Android (write in kotlin) App I have an alert dialog with a similar structure like this. The list of items is injected from a json, but for this question I made the code more simple. [CODE] I want want to add an image (icon) on the left of each item. I have try a lot of solutions but nothing works.... would be th... | android|kotlin | 0 | 2022-07-13T23:50:50.950Z | 2,022 | 7 | 23 | 2 | 32 | 0 | 371 | 93 | 2 | 1 | true | true | false | false | false | false | zero |
72,973,860 | Flutter unable to request for permissions with permission_handler library | <h1>Information</h1>
<ol>
<li>I am testing this on both Android and Linux. The problem appears in both.</li>
<li>I have done the relevant setup according to the page in pub dev. By modifying my <code>grade.properties</code> and <code>android/app/build.gradle</code></li>
</ol>
<h1>The problem</h1>
<p>As the title says t... | Information I am testing this on both Android and Linux. The problem appears in both. I have done the relevant setup according to the page in pub dev. By modifying my grade.properties and android/app/build.gradle The problem As the title says the library doesn't work. This is the block of code that I have that requests... | android|flutter|dart | 0 | 2022-07-14T00:01:59.430Z | 2,022 | 7 | 0 | 3 | 108 | 1 | 1,088 | 73 | 3 | 3 | true | false | false | false | false | false | zero |
72,973,877 | AdView.LoadAd keeps throwing an error in Xamarin app created using Visual Studio 2022 | <p>I am having an error within AdMobViewRenderer class implemented in Android native while trying to integrate Google AdMob into my Xamarin app created in Visual Studio 2022.</p>
<p>The adView.LoadAd line keeps throwing the error [The method java.lang.Class java.lang.Object.getClass() was expected to be of type interf... | I am having an error within AdMobViewRenderer class implemented in Android native while trying to integrate Google AdMob into my Xamarin app created in Visual Studio 2022. The adView.LoadAd line keeps throwing the error [The method java.lang.Class java.lang.Object.getClass() was expected to be of type interface but ins... | c#|android|xamarin|admob | 0 | 2022-07-14T00:04:51.393Z | 2,022 | 7 | 0 | 3 | 30 | 0 | 772 | 85 | 4 | 1 | true | true | false | false | false | false | zero |
72,973,956 | Jetpack Compose back button press in automation test | <p>What is the recommended way to <strong>trigger a back button press in a jetpack compose test</strong> (running on a real device)?</p>
<p>I'm trying:</p>
<pre><code>@get:Rule()
val composeTestRule = createAndroidComposeRule(MyActivity::class.java)
@Test
fun test() {
// Here would be some setup code, assertions a... | What is the recommended way to trigger a back button press in a jetpack compose test (running on a real device)? I'm trying: [CODE] But I get the error: [CODE] I don't have any special logic for the key presses / navigation and only use out-of-the box functionality of the navigation compose library. | android-jetpack-compose|android-jetpack-compose-testing | 0 | 2022-07-14T00:16:50.177Z | 2,022 | 7 | 0 | 3 | 189 | 1 | 300 | 52 | 2 | 2 | true | false | false | false | false | false | zero |
72,974,086 | Trying to access data from api by retrofit, but I am unable to link with service class apiInterface which I have created | <p>To access api by Retrofit , Retrofit builder object i am able to use retrofitbuilder object , connect url , build but not able to attach my service class apiInterface which i have created .</p>
<pre><code>private fun getmydata() {
lateinit var myAdapter: RecyclerAdapter
val retrofitBuilder = R... | To access api by Retrofit , Retrofit builder object i am able to use retrofitbuilder object , connect url , build but not able to attach my service class apiInterface which i have created . [CODE] Error : Create extension property 'KClass.java' | android|android-studio|kotlin|retrofit | 1 | 2022-07-14T00:48:24.343Z | 2,022 | 7 | 0 | 3 | 46 | 1 | 244 | 120 | 4 | 1 | true | false | false | false | false | false | low |
72,974,088 | No "Add to library" button when on a file | <p>I am trying to add this fil(math parser) to my library, but there seems to be no "add to library" when i right click it. Any help?</p>
<p>Here's the website that I downloaded the files from idk if it will help but it's here: <a href="https://mathparser.org/mxparser-api/" rel="nofollow noreferrer">https://m... | I am trying to add this fil(math parser) to my library, but there seems to be no "add to library" when i right click it. Any help? Here's the website that I downloaded the files from idk if it will help but it's here: https://mathparser.org/mxparser-api/ I use JDK 8 . | java|android-studio | 0 | 2022-07-14T00:48:59.523Z | 2,022 | 7 | 0 | 3 | 40 | 2 | 278 | 41 | 2 | 0 | false | false | false | false | false | false | zero |
72,974,094 | Mange Phone calls in android studio | <p>I'm trying to manage phone calls on my app.
I have managed to find this code which starts a phone call</p>
<pre><code>Intent i = new Intent(Intent.ACTION_CALL);
i.setData(Uri.parse("tel:"+et.getText().toString()));
startActivity(i);
</code></pre>
<p>but no luck in finding how to reject / end a call.
someth... | I'm trying to manage phone calls on my app. I have managed to find this code which starts a phone call [CODE] but no luck in finding how to reject / end a call. something like a button on my app which will end the current if there is one. Thanks so much in advance! | java|android|android-studio | 0 | 2022-07-14T00:51:08.513Z | 2,022 | 7 | 0 | 3 | 23 | 0 | 265 | 35 | 3 | 1 | true | true | false | false | false | false | zero |
72,974,157 | onActivityResult() no longer calls after I speak into the Android mic | <p>I developed an app a little over 2 years ago, where I call the function...</p>
<p>startActivityForResult(intent);</p>
<p>to get microphone input. The program doesn't read past that line of code until I say something into the mic. If I say nothing, then I have the option to tap the mic button and say something. Then,... | I developed an app a little over 2 years ago, where I call the function... startActivityForResult(intent); to get microphone input. The program doesn't read past that line of code until I say something into the mic. If I say nothing, then I have the option to tap the mic button and say something. Then, the function onA... | java|android|onactivityresult|aide | 0 | 2022-07-14T01:04:17.620Z | 2,022 | 7 | 1 | 3 | 35 | 2 | 999 | 69 | 4 | 0 | false | false | false | false | false | false | zero |
72,974,245 | using the speech to text and when I run YouTube at the same time, speech to text is not working | <p>We need help, in our application we are using the speech to text and when I run YouTube at the same time, speech to text is not working.
My question is, can I use the speech to text function and run YouTube at the same time?</p>
<p>Please help, thank you.</p> | We need help, in our application we are using the speech to text and when I run YouTube at the same time, speech to text is not working. My question is, can I use the speech to text function and run YouTube at the same time? Please help, thank you. | android|permissions | 0 | 2022-07-14T01:28:14.400Z | 2,022 | 7 | 1 | 3 | 22 | 0 | 248 | 95 | 2 | 0 | false | true | false | false | false | false | zero |
72,974,320 | Jetpack Compose Desktop Change Window Title | <p>With a Compose Desktop application the Window Title is set in the main function call. For example:</p>
<pre><code>fun main() = application {
val state = rememberWindowState(
placement = WindowPlacement.Floating,
position = WindowPosition(Alignment.Center),
isMinimized = false,
width = 800.dp,
hei... | With a Compose Desktop application the Window Title is set in the main function call. For example: [CODE] } I would like to add to this programatically, e.g. when the user logs in, the title would read: [CODE] Is this possible? | android-jetpack-compose|desktop-application | 0 | 2022-07-14T01:43:16.967Z | 2,022 | 7 | 1 | 3 | 137 | 1 | 227 | 43 | 2 | 2 | true | false | false | false | false | false | zero |
72,974,447 | How can I make a new release on my android app if i lost my keystore? | <p>I run 2 command</p>
<blockquote>
<p>keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks</p>
</blockquote>
<p>This command create keystore.jks. Export the certificate for that key to PEM format (upload_certificatie.pem). I will attach upload_certificatie.pem and reply Goo... | I run 2 command keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks This command create keystore.jks. Export the certificate for that key to PEM format (upload_certificatie.pem). I will attach upload_certificatie.pem and reply Googleplay developer support to reset the uploa... | android|react-native|google-play | 0 | 2022-07-14T02:10:41.810Z | 2,022 | 7 | 2 | 3 | 98 | 1 | 708 | 69 | 3 | 0 | false | false | false | false | false | false | zero |
72,974,460 | Change an image of a called composable in Jetpack compose | <p>A question, maybe a little basic since I am in an early learning phase.
If I want to change the image of a composable when calling it, how would I do it?
I know that this is possible with Int and Strings thanks to the parameters that I define in the original function, but how would it be done in the case of images?<... | A question, maybe a little basic since I am in an early learning phase. If I want to change the image of a composable when calling it, how would I do it? I know that this is possible with Int and Strings thanks to the parameters that I define in the original function, but how would it be done in the case of images? [CO... | android|android-studio|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-07-14T02:13:27.787Z | 2,022 | 7 | 2 | 3 | 224 | 1 | 323 | 57 | 5 | 1 | true | false | false | false | false | false | zero |
72,974,544 | Android - RecyclerView Grid aligned Start and end but centered and same space between each row | <p>Im trying to achieve a recyclerView with a gridLayout with 3 columns and 2 rows.</p>
<p>i need the first column aligned to the start parent and the third row aligned to the end of the parent. Of course the second column has to be centered in the parent.</p>
<p>How can i achieve this?</p>
<p><a href="https://i.stack.... | Im trying to achieve a recyclerView with a gridLayout with 3 columns and 2 rows. i need the first column aligned to the start parent and the third row aligned to the end of the parent. Of course the second column has to be centered in the parent. How can i achieve this? [CODE] And the cell [CODE] I achieved it with thi... | android | 0 | 2022-07-14T02:28:04.030Z | 2,022 | 7 | 2 | 3 | 34 | 1 | 420 | 94 | 1 | 3 | true | false | false | false | false | false | zero |
72,974,663 | Fragment inflate not intended xml file | <p>I have a problem that EditSleepPressureFactorFragment inflates other xml file fragment_sleep_record.xml. But my intention is to inflate fragment_edit_sleep_pressure.xml. A Spinner having an id "year_spinner" is in fragment_edit_sleep_pressure.xml but <code>binding!!.yearSpinner</code> code occure unsolved... | I have a problem that EditSleepPressureFactorFragment inflates other xml file fragment_sleep_record.xml. But my intention is to inflate fragment_edit_sleep_pressure.xml. A Spinner having an id "year_spinner" is in fragment_edit_sleep_pressure.xml but binding!!.yearSpinner code occure unsolved refference. And ... | android|xml|kotlin|android-fragments | 0 | 2022-07-14T02:51:13.447Z | 2,022 | 7 | 2 | 3 | 30 | 1 | 567 | 38 | 4 | 3 | true | false | false | false | false | false | zero |
72,974,696 | Font Family Usage in Android | <p>In multiple projects now, I've seen font families used like this:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:font="@font/my_font_regular"
app:fontStyle=&qu... | In multiple projects now, I've seen font families used like this: [CODE] I've never understood the need to have more than 3 different fonts in any particular font family. As far as I know, the only way to correctly select a particular font within a font family is with the usage of the textStyle mapping to fontStyle on ... | android|css|android-layout|fonts|font-family | 0 | 2022-07-14T02:57:05.077Z | 2,022 | 7 | 2 | 3 | 34 | 0 | 612 | 28 | 5 | 1 | true | true | false | false | false | false | zero |
72,974,989 | How to constraint a view min width equal to height in ConstraintLayout? | <p>I have a TextView need to set the min width equal to the height, that means the view is square when the width <= height, and rectangle when the width > height.</p>
<p>now I hardcode the min width via <strong>app:layout_constraintWidth_min="20dp"</strong> but seems not work well for all phones.</p>
<p... | I have a TextView need to set the min width equal to the height, that means the view is square when the width <= height, and rectangle when the width > height. now I hardcode the min width via app:layout_constraintWidth_min="20dp" but seems not work well for all phones. [CODE] It's there has a better solution... | android|android-constraintlayout | 0 | 2022-07-14T03:50:21.823Z | 2,022 | 7 | 3 | 3 | 61 | 2 | 421 | 71 | 2 | 2 | true | false | false | false | false | false | zero |
72,974,995 | Is there a way to use a bitmap or glide rather than a drawable image in MPAndroidChart? | <pre><code>int[] moodIconRes = {
R.drawable.ic_emoticon_01, R.drawable.ic_emoticon_02, R.drawable.ic_emoticon_03,
R.drawable.ic_emoticon_04, R.drawable.ic_emoticon_05, R.drawable.ic_emoticon_06,
R.drawable.ic_emoticon_07, R.drawable.ic_emoticon_08, R.drawable.ic_emoticon_09,
... | [CODE] Right now I am using it as a drawable. private void setData1(HashMap<Integer, Integer> hashMap) { ArrayList entries = new ArrayList<>(); [CODE] I wonder if there is a way to call it in the form of a bitmap or r.id.imageview rather than a drawable image in this part. I'd appreciate it if someone could give me an ... | mpandroidchart | 0 | 2022-07-14T03:51:40.567Z | 2,022 | 7 | 3 | 3 | 22 | 1 | 325 | 87 | 1 | 2 | true | false | false | false | false | false | zero |
72,975,054 | androidx.Biometrics library - setOnCancelListener for cancellation signal not working, onAuthenticationError being called randomly | <h3>Here's what I'm experiencing -</h3>
<ul>
<li>I call the biometrics function as soon as the app launches.</li>
<li>So, as soon as the prompt is displayed, the <code>onAuthenticationError</code> gets called. Don't know why, but seems useful in solving the issue.</li>
<li>The listener in <code>cancellationSignal</code... | Here's what I'm experiencing - I call the biometrics function as soon as the app launches. So, as soon as the prompt is displayed, the onAuthenticationError gets called. Don't know why, but seems useful in solving the issue. The listener in cancellationSignal doesn't get called when I press the prompt's cancel button. ... | android|kotlin|android-biometric-prompt | 0 | 2022-07-14T04:01:00.650Z | 2,022 | 7 | 4 | 3 | 75 | 0 | 825 | 130 | 3 | 2 | true | true | false | false | false | false | zero |
72,975,105 | system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 108) in Android Studio emulator | <p>I am using Emulator and I am not sending any data with bundle. Even if all the application are closed, it keeps showing up.</p>
<p>the emulator spec is like this:</p>
<p>10.4 inch
2000x1200
hdpi
Android S(Android 12.0 arm64-v8a)
Landscape</p>
<p>Is there any solution to fix this issue?</p>
<p><a href="https://i.stac... | I am using Emulator and I am not sending any data with bundle. Even if all the application are closed, it keeps showing up. the emulator spec is like this: 10.4 inch 2000x1200 hdpi Android S(Android 12.0 arm64-v8a) Landscape Is there any solution to fix this issue? | android|android-studio|android-emulator | 0 | 2022-07-14T04:10:13.503Z | 2,022 | 7 | 4 | 3 | 205 | 0 | 265 | 109 | 3 | 0 | false | true | false | false | false | false | zero |
72,975,114 | set dynamic checkboxes positions in constrain layout programmatically | <p>I create checkboxes dynamically within the <code>Constraintlayout</code>. I need to use this layout, not the <code>Linearlayout</code>. So I created the given below methods</p>
<p><strong>order.xml file</strong></p>
<pre><code> <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl... | I create checkboxes dynamically within the Constraintlayout . I need to use this layout, not the Linearlayout . So I created the given below methods order.xml file [CODE] orderstatus.java [CODE] The output is All checkboxes are aligned at one position. I need to set this dynamic checkbox are 2 columns at each row(2 che... | java|android|android-constraintlayout | 0 | 2022-07-14T04:12:52.873Z | 2,022 | 7 | 4 | 3 | 37 | 1 | 368 | 69 | 3 | 2 | true | false | false | false | false | false | zero |
72,975,164 | How do I store all the information of an object in an array? | <p>Can someone guide me on how I can store all the dates and statuses in aryEventDateList and aryEventStatusList? Thank you very much.</p>
<pre><code> try {
aryEventDateList = new ArrayList<>();
aryEventStatusList = new ArrayList<>();
String logString = "";
Strin... | Can someone guide me on how I can store all the dates and statuses in aryEventDateList and aryEventStatusList? Thank you very much. [CODE] | java|android-studio | 0 | 2022-07-14T04:22:45.977Z | 2,022 | 7 | 4 | 3 | 30 | 0 | 138 | 60 | 2 | 1 | true | true | false | false | false | false | zero |
72,975,275 | How to change data type of a column in SQLDelight? | <p>I have a KMM project using SQL Delight.</p>
<p>I have a <strong>0.sqm</strong> file where I have the table created</p>
<pre><code>CREATE TABLE foo
(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT
payload TEXT AS JSONObject NOT NULL
)
</code></pre>
<p>I also have a payload.sq file which has all the queries .</... | I have a KMM project using SQL Delight. I have a 0.sqm file where I have the table created [CODE] I also have a payload.sq file which has all the queries . Now I want to change the payload datatype from the java JSONObject to kotlin serialization JsonObject. What should I write in my 1.sqm file? I realize I can add a n... | android|database-migration|kotlin-native|kmm|sqldelight | 0 | 2022-07-14T04:40:31Z | -1 | -1 | -1 | -1 | 71 | 0 | 380 | 50 | 5 | 2 | true | true | false | false | false | false | zero |
72,975,367 | FileProvider class not found exception | <pre><code>I am getting following error with android 10. Although i tried with my device having android 10, everything is working fine but Google crashlytics showing number of crash.
Fatal Exception: java.lang.RuntimeException
Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundExceptio... | [CODE] com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1040) | android|crash|android-fileprovider | 2 | 2022-07-14T04:53:50.017Z | 2,022 | 7 | 4 | 3 | 72 | 1 | 153 | 38 | 3 | 1 | true | false | false | false | false | false | low |
72,975,404 | Flutter App Crash on android 12 Installing | <p>I am using flutter sdk 3.0.4</p>
<p>I try to open app in android 12, It's show me blank screen and getting stuck. I added android:exported:true in AndroidManifest.xml.</p>
<pre><code><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.customer.restow.restowcustomer&qu... | I am using flutter sdk 3.0.4 I try to open app in android 12, It's show me blank screen and getting stuck. I added android:exported:true in AndroidManifest.xml. [CODE] | android|flutter|dart | 0 | 2022-07-14T04:58:39.610Z | 2,022 | 7 | 4 | 3 | 70 | 0 | 167 | 42 | 3 | 1 | true | true | false | false | false | false | zero |
72,975,415 | How can I add an animation to an item when it is selected in a LazyRow or Column in Jetpack Conpose? | <p>I am trying to make it so that the item in a LazyRow clips to the center of the screen, and if it is in the center is becomes larger while the items next to it return to the original size. Below is an example</p>
<p><a href="https://i.stack.imgur.com/IQh6i.gif" rel="nofollow noreferrer"><img src="https://i.stack.img... | I am trying to make it so that the item in a LazyRow clips to the center of the screen, and if it is in the center is becomes larger while the items next to it return to the original size. Below is an example LazyRow with Infinite scrolling and snapper [CODE] | android|android-studio|kotlin|android-jetpack-compose | 2 | 2022-07-14T05:00:01.010Z | 2,022 | 7 | 5 | 3 | 67 | 0 | 259 | 100 | 4 | 1 | true | true | false | false | false | false | low |
72,975,536 | How can I use DestoryView() in DefaultLifecycleObserver? | <p>Currently, I am using this:</p>
<pre><code>class AutoClearedValue<T : Any>(val fragment: Fragment) : ReadWriteProperty<Fragment, T> {
private var _value: T? = null
init {
fragment.lifecycle.addObserver(object: DefaultLifecycleObserver {
override fun onCreate(owner: LifecycleO... | Currently, I am using this: [CODE] But in my opinion, Since we need to _binding = null in DestroyView() init part should be: [CODE] But in my class, it just does: [CODE] But onDestroyView doesn't exist in DefaultLifecycleObserver . How can I achieve this? | android|android-fragments|android-viewbinding | 0 | 2022-07-14T05:18:14.920Z | 2,022 | 7 | 5 | 3 | 64 | 0 | 255 | 56 | 3 | 3 | true | true | false | false | false | false | zero |
72,975,620 | Appium fails to launch on Android emulator with multiple activities | <p>I'm using</p>
<ul>
<li>Appium v1.22.2</li>
<li>IntelliJ community</li>
<li>Gradle with dependencies<br />
implementation 'io.appium:java-client:7.6.0'
testImplementation 'junit:junit:4.13.1'
implementation 'org.assertj:assertj-core:3.22.0'</li>
</ul>
<p>Can you please help me to start an application via Appium on An... | I'm using Appium v1.22.2 IntelliJ community Gradle with dependencies implementation 'io.appium:java-client:7.6.0' testImplementation 'junit:junit:4.13.1' implementation 'org.assertj:assertj-core:3.22.0' Can you please help me to start an application via Appium on Android Emulator with multiple activities? I couldn't ge... | java|android|gradle|automation|appium-android | 1 | 2022-07-14T05:29:47.297Z | 2,022 | 7 | 5 | 3 | 110 | 1 | 1,269 | 67 | 5 | 1 | true | false | false | false | false | false | low |
72,975,622 | kotlin arrayadapter Error none of the following functions can be called with the arguments supplied | <p>I have a <code>ListView</code> and I am trying to use an array to fill in the list view. But I am getting the following error:</p>
<pre><code>None of the following functions can be called with the arguments supplied.
</code></pre>
<p>I have tried some alternatives, but they didn't work. Does someone have any suggest... | I have a ListView and I am trying to use an array to fill in the list view. But I am getting the following error: [CODE] I have tried some alternatives, but they didn't work. Does someone have any suggestions? This is my code [CODE] | android|kotlin|listview|android-arrayadapter | 0 | 2022-07-14T05:30:44.490Z | 2,022 | 7 | 5 | 3 | 28 | 0 | 232 | 99 | 4 | 2 | true | true | false | false | false | false | zero |
72,975,638 | Update my app in Google Play with significant changes | <p>Now my company wants to update app with significant changes.
In new app version will change absolutely whole design and internal logic (code).</p>
<p>Will the market allow such an application to be released? Wouldn't that be an intellectual property infringement?
I would like to see official links with information a... | Now my company wants to update app with significant changes. In new app version will change absolutely whole design and internal logic (code). Will the market allow such an application to be released? Wouldn't that be an intellectual property infringement? I would like to see official links with information about it. | android|google-play|requirements | 0 | 2022-07-14T05:31:41.380Z | 2,022 | 7 | 5 | 3 | 30 | 1 | 318 | 53 | 3 | 0 | false | false | false | false | false | false | zero |
72,975,693 | Problem with my apk on Android in Samsung | <p>I am creating my mobile game, But I have a minor problem, I use unity 2018 and when I build my game and I have it as an apk file, I can't run it on my phone, I have the latest android and I wanted to ask if it can be an old version of unity. when I click on apk it tells me that an error occurred while checking the f... | I am creating my mobile game, But I have a minor problem, I use unity 2018 and when I build my game and I have it as an apk file, I can't run it on my phone, I have the latest android and I wanted to ask if it can be an old version of unity. when I click on apk it tells me that an error occurred while checking the file... | android|unity3d|build|apk | -1 | 2022-07-14T05:39:04.023Z | 2,022 | 7 | 5 | 3 | 74 | 1 | 399 | 41 | 4 | 0 | false | false | false | false | false | true | negative |
72,975,745 | Same data points in line graph despite different values | <p>I am calling data from my sql via a php script.
I want to plot this data in a line graph.
The number of points corresponds to the number he gets from the sql, but he shows me the value of the first one he reads for all points, so I get a straight line which is not correct.
Can someone help me what I'm doing wrong in... | I am calling data from my sql via a php script. I want to plot this data in a line graph. The number of points corresponds to the number he gets from the sql, but he shows me the value of the first one he reads for all points, so I get a straight line which is not correct. Can someone help me what I'm doing wrong in th... | java|android | 0 | 2022-07-14T05:45:48.747Z | 2,022 | 7 | 5 | 3 | 22 | 0 | 360 | 55 | 2 | 1 | true | true | false | false | false | false | zero |
72,975,800 | Implement a split preference in Android | <p>I feel like there must be a straight-forward way to achieve this, but I haven't found it so far.</p>
<p>Essentially, in the stock settings app, there are a handful of preferences that are "split" - i.e., tapping on the text of the preference does one thing, while tapping the icon to the right does another.... | I feel like there must be a straight-forward way to achieve this, but I haven't found it so far. Essentially, in the stock settings app, there are a handful of preferences that are "split" - i.e., tapping on the text of the preference does one thing, while tapping the icon to the right does another. I tried m... | android|user-interface|android-preferences|preferences|preferenceactivity | 0 | 2022-07-14T05:52:08.973Z | 2,022 | 7 | 5 | 3 | 23 | 0 | 1,722 | 39 | 5 | 0 | false | true | false | false | false | false | zero |
72,975,801 | Why does the react-native-permissions cannot request the permission in Android? | <p><strong>Information</strong></p>
<p>I tried to create an app to request permission in the react native side. There is a button in a screen to be clicked to check and request permission.</p>
<p><strong>Problem</strong></p>
<p>react-native-permission link: <a href="https://www.npmjs.com/package/react-native-permission... | Information I tried to create an app to request permission in the react native side. There is a button in a screen to be clicked to check and request permission. Problem react-native-permission link: https://www.npmjs.com/package/react-native-permissions When I follow the instruction in the link and create a demo app, ... | android|react-native|react-native-permissions | 0 | 2022-07-14T05:52:13.693Z | 2,022 | 7 | 5 | 3 | 158 | 2 | 818 | 79 | 3 | 0 | false | false | false | false | false | false | zero |
72,975,812 | Android Studio Default Dialog Wifi Network List | <p>I am having a bit of trouble trying to utilize the default Android dialog for popping up networks listed in the area. I have done some research and tried different avenues, but I haven't found anything that works correctly.</p>
<pre><code>WifiManager mWifiManager;
List<ScanResult> mScanResults;
WifiListAdapter... | I am having a bit of trouble trying to utilize the default Android dialog for popping up networks listed in the area. I have done some research and tried different avenues, but I haven't found anything that works correctly. [CODE] The OnCreate code listed below... [CODE] | java|android|android-studio|broadcastreceiver|android-wifi | 0 | 2022-07-14T05:54:11.940Z | 2,022 | 7 | 5 | 3 | 43 | 0 | 271 | 47 | 5 | 2 | true | true | false | false | false | false | zero |
72,975,852 | managing google service json for multiple build variant with different application ID | <p>In my project, there is 2 build type debug and release as usual and one flavour dimension with 3 different values flavour_1, flavour_2 and flavour_3, so earlier all build variant has the same application id and only one variant can be installed in a device.</p>
<p>Now We need all variants to have different applicati... | In my project, there is 2 build type debug and release as usual and one flavour dimension with 3 different values flavour_1, flavour_2 and flavour_3, so earlier all build variant has the same application id and only one variant can be installed in a device. Now We need all variants to have different application IDs so ... | android|android-productflavors|android-build-flavors|android-build-type|build-variant | 0 | 2022-07-14T05:59:00.283Z | 2,022 | 7 | 5 | 3 | 19 | 1 | 924 | 85 | 5 | 1 | true | false | false | false | false | false | zero |
72,976,017 | Delay invoke of Completable function after concatWith is success(RxJava/RxKotlin) | <p>I am looking a way to delay invoke of an Completable function after first Completable is success and all logic is finished.</p>
<pre><code>fun invokeSomeLogic(): Completable {
return firstCompletable() ----> lets assume is success
.concatWith(secondCompletable()) ---> lets assume is success
.concatWith(t... | I am looking a way to delay invoke of an Completable function after first Completable is success and all logic is finished. [CODE] I want to delay the third for 2 sec after the second one is finished with success. When I was debugging and set some breakpoints on third function it seems that third fun is invoked regardl... | android|rx-java2|rx-kotlin | 0 | 2022-07-14T06:18:33.063Z | 2,022 | 7 | 6 | 3 | 16 | 0 | 401 | 81 | 3 | 1 | true | true | false | false | false | false | zero |
72,976,068 | Android - Detecting when a view's constraints have been fully resolved/loaded | <p>I have quite a complex problem to do with Android views. I am creating a paint application, and I have two views: a transparent background view and the pixel art board.</p>
<p>For both views, I want the height and width to be calculated off of the distance between view A and B:</p>
<p><a href="https://i.stack.imgur.... | I have quite a complex problem to do with Android views. I am creating a paint application, and I have two views: a transparent background view and the pixel art board. For both views, I want the height and width to be calculated off of the distance between view A and B: Instead of calculating the distance between thes... | android|kotlin|android-view|android-constraintlayout|android-xml | 0 | 2022-07-14T06:24:08.347Z | 2,022 | 7 | 6 | 3 | 86 | 2 | 2,964 | 77 | 5 | 6 | true | false | false | false | false | false | zero |
72,976,119 | Activity Manager Start Option | <p>In this command :</p>
<pre><code>adb shell am start -a com.example.package/com.example.package.ActivityName
</code></pre>
<p>What does the <strong>-a</strong> mean? I am seeing it as a start option but I can't seem to find any explanation from googling what the <strong>-a</strong> and sometimes I see a <strong>-n</s... | In this command : [CODE] What does the -a mean? I am seeing it as a start option but I can't seem to find any explanation from googling what the -a and sometimes I see a -n option as well. I would expect this site to have all the explanations but if it does I can not locate it. https://developer.android.com/studio/comm... | android|adb | 1 | 2022-07-14T06:28:26.127Z | 2,022 | 7 | 6 | 3 | 41 | 1 | 332 | 29 | 2 | 1 | true | false | false | false | false | false | low |
72,976,232 | The problem of saving data in the database and closing the program quickly after execution | <p>I have a layout that has two EDITETEXT and they should be filled and saved in the database by pressing the save button</p>
<p>Everything is correct, but when I write the button code, the program runs
and quickly exits the program</p>
<p><em><strong>(And that there is no mistake)</strong></em></p>
<p>If I want to say... | I have a layout that has two EDITETEXT and they should be filled and saved in the database by pressing the save button Everything is correct, but when I write the button code, the program runs and quickly exits the program (And that there is no mistake) If I want to say complete, it means: everything is correct until I... | android|database|sqlite|android-studio|kotlin | -1 | 2022-07-14T06:41:18.140Z | 2,022 | 7 | 6 | 3 | 53 | 1 | 539 | 90 | 5 | 4 | true | false | false | false | false | true | negative |
72,976,259 | React native app crash on apk launch after using realm | <p>I have a react native app using realm for saving user json input to device storage, then send the json data to api when they have stable connection (not automatically).</p>
<p><strong>It works perfectly when used in debugging mode</strong>, but when I build it to apk and install to android device (the same one used ... | I have a react native app using realm for saving user json input to device storage, then send the json data to api when they have stable connection (not automatically). It works perfectly when used in debugging mode , but when I build it to apk and install to android device (the same one used for debugging), it crashes... | android|react-native|crash|realm|launch | 0 | 2022-07-14T06:44:16.983Z | 2,022 | 7 | 6 | 3 | 207 | 0 | 981 | 54 | 5 | 2 | true | true | false | false | false | false | zero |
72,976,264 | Unable to read device phone numbers despite meeting two of the listed requirements in Android 10 and above | <p>I am trying to use the TelephonyManager class to read the line1Number and the IMEI of the Sim card in the respective slots. I have also tried using TelecomManager class to achieve the same with zero success. I headed over to the official documentation of the c;class on Google documentation and did find out that the ... | I am trying to use the TelephonyManager class to read the line1Number and the IMEI of the Sim card in the respective slots. I have also tried using TelecomManager class to achieve the same with zero success. I headed over to the official documentation of the c;class on Google documentation and did find out that the met... | java|android|telephonymanager | 0 | 2022-07-14T06:44:58.827Z | 2,022 | 7 | 6 | 3 | 37 | 0 | 2,367 | 106 | 3 | 2 | true | true | false | false | false | false | zero |
72,976,307 | Printing checks from Usb thermal printer don't work in some devices and version android/sdk | <p>I use <a href="https://pub.dev/packages/flutter_usb_printer" rel="nofollow noreferrer">flutter_usb_printer</a> library for printing checks on usb thermal printer.
On some devices it's work, but on Google pixel 3 with android version 12 and on Google pixel 4 with android version 13, it's don't work.</p>
<p>Who can he... | I use flutter_usb_printer library for printing checks on usb thermal printer. On some devices it's work, but on Google pixel 3 with android version 12 and on Google pixel 4 with android version 13, it's don't work. Who can help me? Maybe i must be use another library. Or who know how it's can fix? When i connect my usb... | android|flutter|printing|usb|thermal-printer | 0 | 2022-07-14T06:48:15.607Z | 2,022 | 7 | 6 | 3 | 87 | 1 | 469 | 91 | 5 | 0 | false | false | false | false | false | false | zero |
72,976,354 | Android: Top to bottom Animation and ProgressBar iocn on top of the view gesture on RecyclerView(or other approch) | <p>In the app, if the user swap the finger from top to bottom then the existing row will drag from top to bottom with some extent and the progress bar icon will show on the top of the screen.
Here I need to do some API calls or fetch data from the database. Then add some rows on the top of the RecyclerView.</p>
<p>I fo... | In the app, if the user swap the finger from top to bottom then the existing row will drag from top to bottom with some extent and the progress bar icon will show on the top of the screen. Here I need to do some API calls or fetch data from the database. Then add some rows on the top of the RecyclerView. I found the sa... | android|android-recyclerview|view|android-animation | 0 | 2022-07-14T06:52:11.297Z | 2,022 | 7 | 6 | 3 | 24 | 1 | 542 | 114 | 4 | 0 | false | false | 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.