id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,790,571 | Schedule sharedPreferences data to be cleared at night | <p>I have an activity with several checkboxes that their check/uncheck status is saved throughout the day by sharedPreferences. These checkboxes are daily tasks that need to be reset to the unchecked state at some point each night. It does not have to be an exact time. The app and device will be closed at this time as ... | I have an activity with several checkboxes that their check/uncheck status is saved throughout the day by sharedPreferences. These checkboxes are daily tasks that need to be reset to the unchecked state at some point each night. It does not have to be an exact time. The app and device will be closed at this time as it ... | android|kotlin|datetime|checkbox|sharedpreferences | 0 | 2022-09-20T17:31:15.900Z | 2,022 | 9 | 17 | 1 | 23 | 0 | 473 | 54 | 5 | 0 | false | true | false | false | false | false | zero |
73,790,607 | Android APN configuration: how to specify Network Identifier? | <p>In APN wiki <a href="https://en.wikipedia.org/wiki/Access_Point_Name" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Access_Point_Name</a> I can see that APN is a Network Identifier + Operator Identifier.</p>
<p>After looking through the Android APN Configuration screen (e.g. Connections -> Mobile Networ... | In APN wiki https://en.wikipedia.org/wiki/Access_Point_Name I can see that APN is a Network Identifier + Operator Identifier. After looking through the Android APN Configuration screen (e.g. Connections -> Mobile Networks -> Access Point Names and tapping Add), I don't see any field which would explicitly say that it i... | android|telecommunication|apn | 0 | 2022-09-20T17:34:04.693Z | 2,022 | 9 | 17 | 1 | 8 | 0 | 897 | 61 | 3 | 0 | false | true | false | false | false | false | zero |
73,790,619 | I want to permission to add mobile storage files and download in Flutter webview app, | <p>I want to upload and download any file in Flutter webview app, how to do it, suppose (<a href="https://www.remove.bg/upload" rel="nofollow noreferrer">https://www.remove.bg/upload</a>) remove background I created a webview app of this website but how to give permission to add mobile storage files and download?</p> | I want to upload and download any file in Flutter webview app, how to do it, suppose ( https://www.remove.bg/upload ) remove background I created a webview app of this website but how to give permission to add mobile storage files and download? | android|swift|flutter | -2 | 2022-09-20T17:34:48.510Z | 2,022 | 9 | 17 | 1 | 31 | 0 | 244 | 85 | 3 | 0 | false | true | false | false | false | true | negative |
73,790,761 | Flutter Dev Tools Network Traffic is no longer usable. Is there an alternative? | <p>Is there a way we can efficiently look at network traffic with Flutter when developing for iOS and Android?</p>
<p>Flutter obviously doesn't work with proxy tools like Charles and while there used to be a hack to make it work, it only worked on simulator and not device. Unfortunately the only thing we can rely on to... | Is there a way we can efficiently look at network traffic with Flutter when developing for iOS and Android? Flutter obviously doesn't work with proxy tools like Charles and while there used to be a hack to make it work, it only worked on simulator and not device. Unfortunately the only thing we can rely on to view netw... | android|ios|flutter|network-traffic|flutter-devtools | 0 | 2022-09-20T17:46:21.520Z | 2,022 | 9 | 17 | 1 | 22 | 0 | 1,319 | 79 | 5 | 0 | false | true | false | false | false | false | zero |
73,790,987 | Changing the image on the smartwatch notification | <p>I'm developing a simple app for Android. I would like to change the image of my notifications on Samsung Galaxy Watch smartwatch. I tried to do it like this, unfortunately it doesn't work. In addition, the setBackround method is deprecated. Please help.</p>
<pre><code>NotificationCompat.WearableExtender extender = n... | I'm developing a simple app for Android. I would like to change the image of my notifications on Samsung Galaxy Watch smartwatch. I tried to do it like this, unfortunately it doesn't work. In addition, the setBackround method is deprecated. Please help. [CODE] | java|android|notifications|mobile-application|sony-smartwatch | 0 | 2022-09-20T18:10:37.837Z | 2,022 | 9 | 18 | 1 | 20 | 0 | 260 | 49 | 5 | 1 | true | true | false | false | false | false | zero |
73,791,002 | Can this be accomplished with Canvas Blendmodes and SaveLayer? | <p>I'm trying to accomplish a result shown in the sample image attached when painting to a canvas.</p>
<p>The initial canvas has a background, and I want to paint two sets of objects: first the red objects and then the blue objects, both with some transparency.</p>
<p>When two objects of the same color overlap, they sh... | I'm trying to accomplish a result shown in the sample image attached when painting to a canvas. The initial canvas has a background, and I want to paint two sets of objects: first the red objects and then the blue objects, both with some transparency. When two objects of the same color overlap, they should look as sing... | flutter|android-canvas|skia | 0 | 2022-09-20T18:12:52.877Z | 2,022 | 9 | 18 | 1 | 25 | 0 | 511 | 62 | 3 | 0 | false | true | false | false | false | false | zero |
73,791,063 | Listening radio buttons and saving the string results in Firestore java | <p>I am building a survey app and trying to save and listen to the changes of <code>radioButton</code> and store the response as a String. The text of <code>radioButton</code> represents the result of the user's response. I am currently working on storing two strings from the radio buttons. I will expand the concept as... | I am building a survey app and trying to save and listen to the changes of radioButton and store the response as a String. The text of radioButton represents the result of the user's response. I am currently working on storing two strings from the radio buttons. I will expand the concept as I have some survey questions... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-09-20T18:19:05.447Z | 2,022 | 9 | 18 | 1 | 41 | 1 | 984 | 71 | 5 | 5 | true | false | false | false | false | false | zero |
73,791,087 | TextInputLayout - Hint padding issue | <p>I am using textInputLayout in my application, but I am getting additional padding to the Hint. Can anyone help me out.</p>
<p>Screenshot:
<a href="https://i.stack.imgur.com/7VfAK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7VfAK.png" alt="enter image description here" /></a></p>
<p>Xml Code:</... | I am using textInputLayout in my application, but I am getting additional padding to the Hint. Can anyone help me out. Screenshot: Xml Code: [CODE] | android|material-components-android|android-textinputlayout | 0 | 2022-09-20T18:21:04.097Z | 2,022 | 9 | 18 | 1 | 18 | 1 | 147 | 36 | 3 | 1 | true | false | false | false | false | false | zero |
73,791,107 | problems sending mail with api java mail in android studio | <p>I'm new to working with sending emails from android studio, for the development I use java together with the java mail api. When executing my code, a message appears in the log that says that my username and/or password are incorrect. emphasize that I am sending the email to myself so the email of the sender and rec... | I'm new to working with sending emails from android studio, for the development I use java together with the java mail api. When executing my code, a message appears in the log that says that my username and/or password are incorrect. emphasize that I am sending the email to myself so the email of the sender and receiv... | java|android|email | 1 | 2022-09-20T18:23:26.360Z | 2,022 | 9 | 18 | 1 | 18 | 0 | 381 | 58 | 3 | 4 | true | true | false | false | false | false | low |
73,791,205 | error: package R does not exist after moving package from Android manifest to build files | <p>Using the Android Studio Gradle upgrade wizard, I:</p>
<ol>
<li>Upgraded Android Gradle Plugin from version 7.1.2 to version 7.2.0</li>
<li>Upgraded Gradle from version from version 7.2 to version 7.3.3</li>
<li>Moved package from Android manifest to build files at Android Studio's recommendation (“Declaration of a ... | Using the Android Studio Gradle upgrade wizard, I: Upgraded Android Gradle Plugin from version 7.1.2 to version 7.2.0 Upgraded Gradle from version from version 7.2 to version 7.3.3 Moved package from Android manifest to build files at Android Studio's recommendation (“Declaration of a project's namespace using the pack... | android|gradle|android-gradle-plugin | 0 | 2022-09-20T18:32:21.710Z | 2,022 | 9 | 18 | 1 | 23 | 0 | 796 | 89 | 3 | 1 | true | true | false | false | false | false | zero |
73,791,229 | What is the Android Main/UI Thread file name? | <p>What is the exactly file name of the Main/UI Thread?</p>
<p>I know what the Main/UI Thread does, but I want to see its implementation details.</p>
<p>All my researches points me to this class: <strong>ActivityThread</strong>.</p>
<p>There you can see some pretty low level methods like :</p>
<ul>
<li>performLaunchAct... | What is the exactly file name of the Main/UI Thread? I know what the Main/UI Thread does, but I want to see its implementation details. All my researches points me to this class: ActivityThread . There you can see some pretty low level methods like : performLaunchActivity public static void main(String[] args) I am con... | android|multithreading|android-activity | 2 | 2022-09-20T18:34:37.003Z | 2,022 | 9 | 18 | 1 | 51 | 0 | 610 | 45 | 3 | 0 | false | true | false | false | false | false | low |
73,791,235 | Should phone app dependent wear os app be released all the time along with Phone app build? | <p>I released both phone app and Wear OS app together couple of months ago. After that, I just released couple of phone apps to store without Wear OS build. Now I am not able to find Wear OS app in watch's play store. It's not listing under "Apps on your phone" option.
Do I need to release both Phone app and ... | I released both phone app and Wear OS app together couple of months ago. After that, I just released couple of phone apps to store without Wear OS build. Now I am not able to find Wear OS app in watch's play store. It's not listing under "Apps on your phone" option. Do I need to release both Phone app and Wea... | android|wear-os | 1 | 2022-09-20T18:35:14.833Z | 2,022 | 9 | 18 | 1 | 21 | 1 | 460 | 91 | 2 | 0 | false | false | false | false | false | false | low |
73,791,292 | Appium Inspector displaying the wrong JAVA_HOME | <p>Appium Inspector seems to think my <a href="https://i.stack.imgur.com/q5Lze.png" rel="nofollow noreferrer">JAVA_HOME is set to C:\Program Files\Java\bin</a></p>
<p>However, <a href="https://i.stack.imgur.com/5KRub.png" rel="nofollow noreferrer">JAVA_HOME is set to C:\Program Files\Java\jdk1.8.0_341</a></p>
<p>Which ... | Appium Inspector seems to think my JAVA_HOME is set to C:\Program Files\Java\bin However, JAVA_HOME is set to C:\Program Files\Java\jdk1.8.0_341 Which is probably why I think I am unable to start the appium session getting this message: Original error: The 'java.exe' binary could not be found neither in PATH nor under ... | java|selenium|environment-variables|appium|appium-android | 0 | 2022-09-20T18:41:32.490Z | 2,022 | 9 | 18 | 1 | 16 | 0 | 522 | 47 | 5 | 0 | false | true | false | false | false | false | zero |
73,791,385 | json object returning null object reference | <p>I am using an endpoint that I developed with Java Spring boot to developed an Android app, the response keeps returning null when I tried to register a user. I used the same endpoint in swagger and it's working find but don't know why it's not working in the android studio. I don't know why it keeps returning null. ... | I am using an endpoint that I developed with Java Spring boot to developed an Android app, the response keeps returning null when I tried to register a user. I used the same endpoint in swagger and it's working find but don't know why it's not working in the android studio. I don't know why it keeps returning null. Thi... | java|android|retrofit2|nullreferenceexception | 0 | 2022-09-20T18:50:42.817Z | 2,022 | 9 | 18 | 1 | 33 | 1 | 797 | 43 | 4 | 6 | true | false | false | false | false | false | zero |
73,791,658 | How to prevent users from updating the app in play store? | <p>I just released an update for my upp, however, it crashes the app immedietly, how do I prevent current users from updating while my (hopefully) fix-update is pending?</p> | I just released an update for my upp, however, it crashes the app immedietly, how do I prevent current users from updating while my (hopefully) fix-update is pending? | android|flutter|google-play | 0 | 2022-09-20T19:20:33.230Z | 2,022 | 9 | 19 | 1 | 32 | 1 | 166 | 57 | 3 | 0 | false | false | false | false | false | false | zero |
73,791,998 | I have mac m1 pro chipset. project is building but not able to run test with robolectric | <p>i have enablejetifier = true</p>
<p>Failed to transform '/Users/name/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.68/46a080368d/bcprov-jdk15on-1.68.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 59</p> | i have enablejetifier = true Failed to transform '/Users/name/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.68/46a080368d/bcprov-jdk15on-1.68.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 59 | android|android-studio | 0 | 2022-09-20T19:56:32.727Z | 2,022 | 9 | 19 | 1 | 18 | 0 | 268 | 88 | 2 | 0 | false | true | false | false | false | false | zero |
73,792,076 | Android Studio Erro Basico | <p>Estou tentando jogar meu arquivo para o github, mas na hora de conseguir as credenciais ele abre a pagina do google e da esse erro:
404. That’s an error.</p>
<p>The requested URL /settings/tokens/new?description=Android%20Studio%20GitHub%20integration%20plugin&scopes=repo%2Cgist%2Cread%3Aorg%2Cworkflow was not f... | Estou tentando jogar meu arquivo para o github, mas na hora de conseguir as credenciais ele abre a pagina do google e da esse erro: 404. That’s an error. The requested URL /settings/tokens/new?description=Android%20Studio%20GitHub%20integration%20plugin&scopes=repo%2Cgist%2Cread%3Aorg%2Cworkflow was not found on this s... | java|android-studio|kotlin | -4 | 2022-09-20T20:05:07.420Z | 2,022 | 9 | 20 | 1 | 13 | 0 | 428 | 26 | 3 | 0 | false | true | false | false | false | true | negative |
73,792,153 | Cordova remove: "android.permission.INTERNET" from config.xml | <p>My app is a fully offline app with 0 plugins, but on the store, under permissions, it says "full network access."</p>
<p>Is it possible to remove "full network access" using the config.xml.
I have been reading online that in the AndroidManifest.xml this is added by default</p>
<pre><code><uses... | My app is a fully offline app with 0 plugins, but on the store, under permissions, it says "full network access." Is it possible to remove "full network access" using the config.xml. I have been reading online that in the AndroidManifest.xml this is added by default [CODE] I am using voltbuilder whi... | android|cordova | 1 | 2022-09-20T20:13:25.587Z | 2,022 | 9 | 20 | 1 | 20 | 0 | 402 | 61 | 2 | 2 | true | true | false | false | false | false | low |
73,792,262 | How to connect to local server without hardcoding the IP address | <p>I have a local console-based server that I would like to connect to with an android app (emulator) both running on the same computer.</p>
<p>Server code.</p>
<pre><code>public void startServer() {
serverSocket = new ServerSocket(5050);
System.out.printf("Server started on ip= %s port= 5050\n", Ine... | I have a local console-based server that I would like to connect to with an android app (emulator) both running on the same computer. Server code. [CODE] Client [CODE] But the problem I do not want to hardcode the IP address in case, I want the app to automatically detect the local IP and connect to the server. I tried... | java|android | 1 | 2022-09-20T20:24:07.510Z | 2,022 | 9 | 20 | 1 | 31 | 0 | 406 | 64 | 2 | 3 | true | true | false | false | false | false | low |
73,792,288 | Cannot resolve symbol 'colotFilter' | <p>I have been using the following function to set color filter, but recently I have seen that it is deprecated. This was what I was using and was working fine: <code>public void setColorFilter (int color, PorterDuff.Mode mode)</code></p>
<p>In order to solve that deprecated method, I have been searching for informati... | I have been using the following function to set color filter, but recently I have seen that it is deprecated. This was what I was using and was working fine: public void setColorFilter (int color, PorterDuff.Mode mode) In order to solve that deprecated method, I have been searching for information to replace this depre... | java|android|performance|android-drawable|android-filter | 1 | 2022-09-20T20:27:19.907Z | 2,022 | 9 | 20 | 1 | 23 | 0 | 821 | 35 | 5 | 1 | true | true | false | false | false | false | low |
73,792,292 | Compare two handwritten signatures in Android | <p>I would like to compare two handwritten signatures. The user adds 2 signatures (and the app saves it in Firebase) and later I want to check whether these two signatures are the same. I already made the saving in firebase and retrieving them into 2 imageviews. What I do not know is that how I can start comparing them... | I would like to compare two handwritten signatures. The user adds 2 signatures (and the app saves it in Firebase) and later I want to check whether these two signatures are the same. I already made the saving in firebase and retrieving them into 2 imageviews. What I do not know is that how I can start comparing them. I... | java|android|android-studio | 2 | 2022-09-20T20:27:48.190Z | 2,022 | 9 | 20 | 1 | 30 | 1 | 499 | 45 | 3 | 0 | false | false | false | false | false | false | low |
73,792,481 | Get corner radius of android screen | <p>Is it possible to get the radius a screen corner of an Android device has?</p>
<hr />
<p>Phone screens don't have sharp edges, but I don't know how to adapt to the different edge types of different android phones...</p>
<hr />
<p>Would be great if someone knows a c# .net solution!</p> | Is it possible to get the radius a screen corner of an Android device has? Phone screens don't have sharp edges, but I don't know how to adapt to the different edge types of different android phones... Would be great if someone knows a c# .net solution! | c#|android|size|screen | 0 | 2022-09-20T20:47:51.317Z | 2,022 | 9 | 20 | 1 | 30 | 0 | 253 | 35 | 4 | 0 | false | true | false | false | false | false | zero |
73,792,636 | Update wrong partition on Mongodb Realm Sync (Android) | <p>We are using <a href="https://www.mongodb.com/docs/atlas/app-services/sync/learn/overview/" rel="nofollow noreferrer">Atlas device sync</a> on our apps, with partition that each user can only access their own data.</p>
<p>Somehow my app has saved some wrong partitions for some users, but we can't lose all those data... | We are using Atlas device sync on our apps, with partition that each user can only access their own data. Somehow my app has saved some wrong partitions for some users, but we can't lose all those data with wrong partitions. When the app tries to sync the data, it gets an error: [CODE] But some partitions are correctly... | android|mongodb|realm | 0 | 2022-09-20T21:06:22.527Z | 2,022 | 9 | 21 | 1 | 11 | 0 | 506 | 54 | 3 | 1 | true | true | false | false | false | false | zero |
73,792,643 | Android studio unable to reference symbols in Room-runtime dependency | <p>I'm trying to add Room data persistence to an Android project. For some reason, I'm not able to reference room-runtime classes.
<a href="https://i.stack.imgur.com/LwMWq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LwMWq.png" alt="Cannot Resolve symbol" /></a>
Here's the most relevant part of my... | I'm trying to add Room data persistence to an Android project. For some reason, I'm not able to reference room-runtime classes. Here's the most relevant part of my build.gradle. I've flipped between Room 2.3.4 and 2.0.0, trying to get symbols linking, but so far no luck. [CODE] and the rest of the build.gradle So, as y... | android|android-studio|android-room | 0 | 2022-09-20T21:07:06.103Z | 2,022 | 9 | 21 | 1 | 31 | 1 | 751 | 69 | 3 | 1 | true | false | false | false | false | false | zero |
73,792,728 | Trying to sent data from activity to fragment | <p>In Main</p>
<pre><code>override fun pastDada(name: String) {
val bundle = Bundle()
bundle.putString("USER_NAME", "DDDDDDDD")
val transction = this.supportFragmentManager.beginTransaction()
val profileFragmant = fragment_profile()
profileFragmant.arguments ... | In Main [CODE] In Frafment: [CODE] the result of Log.e("name", name.toString()) is always null and I dont know why maby its becuse my arguments is empty? and if it is,how am I supose to slove it? Thanks | android|kotlin|android-fragments|android-activity | 0 | 2022-09-20T21:14:49.223Z | 2,022 | 9 | 21 | 1 | 37 | 1 | 212 | 45 | 4 | 2 | true | false | false | false | false | false | zero |
73,792,826 | Cannot use Firebase Cloud Firestore in Flutter app even though network connection is provided | <p>I am trying to set-up Firebase Firestore for my Flutter app, I have done everything as stated in the tutorial in documentation.</p>
<p>I am initializing Firebase like so:</p>
<pre class="lang-dart prettyprint-override"><code>void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initialize... | I am trying to set-up Firebase Firestore for my Flutter app, I have done everything as stated in the tutorial in documentation. I am initializing Firebase like so: [CODE] and my simple code for getting data is here: [CODE] When I am trying to get data from the Firestore, I get this error: [CODE] I have already granted ... | android|flutter|firebase|dart|mobile | 0 | 2022-09-20T21:27:31.463Z | 2,022 | 9 | 21 | 1 | 28 | 1 | 650 | 93 | 5 | 4 | true | false | false | false | false | false | zero |
73,792,950 | How to install the split apk with PackageInstaller class? | <p>How can we install split APK with <a href="https://developer.android.com/reference/android/content/pm/PackageInstaller" rel="nofollow noreferrer"><strong>PackageInstaller</strong></a> class ?</p> | How can we install split APK with PackageInstaller class ? | java|android|flutter|apk | -1 | 2022-09-20T21:43:00.523Z | 2,022 | 9 | 21 | 1 | 14 | 0 | 58 | 57 | 4 | 0 | false | true | false | false | false | true | negative |
73,793,143 | How to wait for list of tasks to complete in java and android? | <p>I want to do this while keeping animation and/or displaying texts about the current initialization process.
Once all tasks are completed I can enable certain buttons etc...
Since async task is deprecated I'd like to know what to use for that.</p> | I want to do this while keeping animation and/or displaying texts about the current initialization process. Once all tasks are completed I can enable certain buttons etc... Since async task is deprecated I'd like to know what to use for that. | java|android|task|wait | 0 | 2022-09-20T22:11:19.927Z | 2,022 | 9 | 22 | 1 | 19 | 0 | 242 | 62 | 4 | 0 | false | true | false | false | false | false | zero |
73,793,251 | java.lang.ref.Cleaner Added in API level 33 How/Where to use it in android and it is usfule to avoid leaking | <p>I need to ask some questions about this new class added recently in API 33, When should I use this class to clean resources? and It is usful to avoid memory leaking that could happen on some resources? If there's a small example of usage in android I'll be appreciated</p>
<h2><a href="https://developer.android.com/r... | I need to ask some questions about this new class added recently in API 33, When should I use this class to clean resources? and It is usful to avoid memory leaking that could happen on some resources? If there's a small example of usage in android I'll be appreciated Cleaner Cleaning actions are registered to run afte... | java|android|kotlin|garbage-collection|resource-cleanup | 0 | 2022-09-20T22:28:43.387Z | 2,022 | 9 | 22 | 1 | 23 | 0 | 1,181 | 108 | 5 | 0 | false | true | false | false | false | false | zero |
73,793,255 | Android API Level 31 not showing in VS after updating build tools? | <p>I am looking to update my targetSDK version to Level 31, as per a warning I saw on the Google Play Store. But my Visual Studio warns that I don't have it installed. So I went to the Tools tab in SDK Manager and installed Android SDK Build-Tools 31 (31.0.0). However, Android 12 (Level 31) still does not show in the S... | I am looking to update my targetSDK version to Level 31, as per a warning I saw on the Google Play Store. But my Visual Studio warns that I don't have it installed. So I went to the Tools tab in SDK Manager and installed Android SDK Build-Tools 31 (31.0.0). However, Android 12 (Level 31) still does not show in the SDK ... | android|xamarin.android|visual-studio-2019|android-sdk-manager|targetsdkversion | 0 | 2022-09-20T22:29:51.077Z | 2,022 | 9 | 22 | 1 | 42 | 1 | 698 | 66 | 5 | 0 | false | false | false | false | false | false | zero |
73,793,405 | What is MainTheme.Base in a default Xamarin.Forms Android project? | <p>I created a new Xamarin.Forms application. My Android project contains a styles.xml file with the following contents:</p>
<pre><code><?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="MainTheme" parent="MainTheme.Base">
<!-- As of Xama... | I created a new Xamarin.Forms application. My Android project contains a styles.xml file with the following contents: [CODE] As I understand it, this allows me to create my own theme for my app, and my theme inherits the MainTheme.Base theme. My question is - what is MainTheme.Base? Where can I see it defined? I'm expe... | android|xamarin.forms|styling | 1 | 2022-09-20T22:57:28.727Z | 2,022 | 9 | 22 | 1 | 31 | 1 | 469 | 66 | 3 | 1 | true | false | false | false | false | false | low |
73,793,447 | Android + Hilt: Cannot create an instance of ViewModel | <p>First, my app is a multi-module app.</p>
<p>My MainActivity creates an instance of RecordsViewModel in the next way:</p>
<pre><code>private lateinit var recordsViewModel: RecordsViewModel
...
recordsViewModel = ViewModelProvider(this)[RecordsViewModel::class.java]
</code></pre>
<p>My RecordsViewModel definition:</p>... | First, my app is a multi-module app. My MainActivity creates an instance of RecordsViewModel in the next way: [CODE] My RecordsViewModel definition: [CODE] All interfaces required by RecordsViewModel are defined in "Core" module (main have access to Core) and provided in a class / module called Dependencies (... | android|kotlin|dependency-injection|dagger-hilt | 0 | 2022-09-20T23:04:41.160Z | 2,022 | 9 | 23 | 1 | 32 | 1 | 1,629 | 54 | 4 | 5 | true | false | false | false | false | false | zero |
73,793,448 | Kivy python - getting "FileNotFoundError: [Errno 2] No such file or directory: '/home/me/BUILDOZER_TEST/countries.txt' | <p>I am using Buildozer to package a python script into an APK. When I install the APK on an Android emulator, and run it, I am getting "FileNotFoundError". I simply want to read in a file containing a list of countries (countries.txt) and then list these in a DropDown menu.</p>
<p>Based on advice I saw onl... | I am using Buildozer to package a python script into an APK. When I install the APK on an Android emulator, and run it, I am getting "FileNotFoundError". I simply want to read in a file containing a list of countries (countries.txt) and then list these in a DropDown menu. Based on advice I saw online about ad... | python|android|kivy | 0 | 2022-09-20T23:04:49.813Z | 2,022 | 9 | 23 | 1 | 30 | 0 | 776 | 118 | 3 | 2 | true | true | false | false | false | false | zero |
73,793,644 | How to run code inspection on an entire project in Android Studio | <p>I have and Android Studio project I haven't opened in months, and when I look at some individual files there's warning and errors that appear (missing permissions, deprecated functions, etc.).</p>
<p>I want to see all these errors/warnings at once instead of having the navigate to each file to see if it contains any... | I have and Android Studio project I haven't opened in months, and when I look at some individual files there's warning and errors that appear (missing permissions, deprecated functions, etc.). I want to see all these errors/warnings at once instead of having the navigate to each file to see if it contains any. When I r... | android|android-studio | 0 | 2022-09-20T23:44:05.610Z | 2,022 | 9 | 23 | 1 | 16 | 1 | 751 | 65 | 2 | 0 | false | false | false | false | false | false | zero |
73,793,724 | Switch Button not toggle flutter | <p>hope all are doing well<br />
i use a Switch Button in popup Form when pressing the floating action Button but its not working or the UI not updated when i pressed the Switch Button</p>
<p>I used it in a StatefulWidget but its not toggle until i press hot reload,if there any Suggestion please</p>
<p>here where i use... | hope all are doing well i use a Switch Button in popup Form when pressing the floating action Button but its not working or the UI not updated when i pressed the Switch Button I used it in a StatefulWidget but its not toggle until i press hot reload,if there any Suggestion please here where i use the Switch : [CODE] vo... | android|flutter|dart|stateful|switching | 0 | 2022-09-21T00:01:12.990Z | 2,022 | 9 | 0 | 2 | 24 | 1 | 362 | 32 | 5 | 2 | true | false | false | false | false | false | zero |
73,794,771 | Accurate location using Android sdk | <p>I need a solution that gives me the exact or at least very accurate position of my android device. Is there already a solution like this using the cell phone's own positioning system? any idea how to get started?</p> | I need a solution that gives me the exact or at least very accurate position of my android device. Is there already a solution like this using the cell phone's own positioning system? any idea how to get started? | android|geolocation | 0 | 2022-09-21T02:32:27.307Z | 2,022 | 9 | 2 | 2 | 15 | 0 | 212 | 35 | 2 | 0 | false | true | false | false | false | false | zero |
73,794,877 | How to setup subscription for android application | <p>Didn't see the Add subscription button in the Google Play console.
Refer to the screenshot of the Google Play console - subscription section.
currently the app is in review for publishing.
Does it mean that the subscription can only be added after the app is published?
and because I can't add subscription, I set a f... | Didn't see the Add subscription button in the Google Play console. Refer to the screenshot of the Google Play console - subscription section. currently the app is in review for publishing. Does it mean that the subscription can only be added after the app is published? and because I can't add subscription, I set a fixe... | android|subscription | 0 | 2022-09-21T02:54:54.057Z | 2,022 | 9 | 2 | 2 | 21 | 1 | 418 | 49 | 2 | 0 | false | false | false | false | false | false | zero |
73,794,915 | How to fix crash issue on a recycler view due to JsonSyntaxException? | <p>How to fix crash issue on a recycler view due to JsonSyntaxException?</p>
<pre><code>com.google.gson.JsonSyntaxException: java.lang.NumberFormatException:Expected an int but was 0.5 at line 1 column 39043 path $.items[10].weight
</code></pre> | How to fix crash issue on a recycler view due to JsonSyntaxException? [CODE] | android|json|crash | 1 | 2022-09-21T03:02:30.720Z | 2,022 | 9 | 3 | 2 | 15 | 1 | 76 | 69 | 3 | 1 | true | false | false | false | false | false | low |
73,794,922 | Should I add snapshotListener inside onResume or onStart? | <p>According to Firestore documentation, we can simply add and remove snapshotListener automatically just by passing the instance of Activity to the snapshotListener. But the snapshotListener can only be removed onStop. <code>onStop()</code> is not guaranteed to be called all the time. Should I add/remove my snapshotLi... | According to Firestore documentation, we can simply add and remove snapshotListener automatically just by passing the instance of Activity to the snapshotListener. But the snapshotListener can only be removed onStop. onStop() is not guaranteed to be called all the time. Should I add/remove my snapshotListener onResume/... | android|firebase|google-cloud-firestore | 0 | 2022-09-21T03:04:21.523Z | 2,022 | 9 | 3 | 2 | 29 | 2 | 336 | 57 | 3 | 0 | false | false | false | false | false | false | zero |
73,794,959 | Vue data pass and store issue | <p><a href="https://i.stack.imgur.com/mGrlC.png" rel="nofollow noreferrer">My vue project</a></p>
<p>Currently I had a android app, and when I click a button in android app, it went to my vue page.
which is Modulator. And Modulator had a button can direct to Gateway. inside Gateway page had a button goes to Pattern pag... | My vue project Currently I had a android app, and when I click a button in android app, it went to my vue page. which is Modulator. And Modulator had a button can direct to Gateway. inside Gateway page had a button goes to Pattern page. And here is my issue. Inside Pattern page. I had a data called gatewayIotId I want ... | javascript|android|vue.js|vuejs2 | -4 | 2022-09-21T03:13:09.780Z | 2,022 | 9 | 3 | 2 | 19 | 0 | 835 | 29 | 4 | 0 | false | true | false | false | false | true | negative |
73,794,980 | how to download video file from url in flutter ios device? | <p>im creating an app in flutter that interact with a Tiktok api. one of the functions is download videos from the social network. any help for me?</p> | im creating an app in flutter that interact with a Tiktok api. one of the functions is download videos from the social network. any help for me? | android|ios|flutter|dart | -2 | 2022-09-21T03:16:01.857Z | 2,022 | 9 | 3 | 2 | 21 | 0 | 144 | 58 | 4 | 0 | false | true | false | false | false | true | negative |
73,794,981 | Android 12 startBluetoothSco not works once setMode to MODE_IN_COMMUNICATION firstly by other app | <h2>SUBJECT</h2>
<p><code>startBluetoothSco</code> do not work when audio mode was set to <code>MODE_IN_COMMUNICATION</code> firstly by other app on android 12 or higher.</p>
<h2>QUESTION</h2>
<p>wanna let <code>startBluetoothSco</code> works even have been set to <code>MODE_IN_COMMUNICATION</code> firstly by other app... | SUBJECT startBluetoothSco do not work when audio mode was set to MODE_IN_COMMUNICATION firstly by other app on android 12 or higher. QUESTION wanna let startBluetoothSco works even have been set to MODE_IN_COMMUNICATION firstly by other app STEPS my test steps are as follows: connect the device with a bluetoothheadset ... | android|bluetooth | 1 | 2022-09-21T03:16:02.450Z | 2,022 | 9 | 3 | 2 | 27 | 0 | 963 | 97 | 2 | 3 | true | true | false | false | false | false | low |
73,795,038 | Kotlin Android Add Box to Camera | <p>I have a need for a camera that is able to provide guide boxes or guide frames when taking pictures of documents. The guide box in question is similar to the guide box in most qr code applications. I tried to see some references mostly directed at code scanner applications for qr code.
Is there any recommended way I... | I have a need for a camera that is able to provide guide boxes or guide frames when taking pictures of documents. The guide box in question is similar to the guide box in most qr code applications. I tried to see some references mostly directed at code scanner applications for qr code. Is there any recommended way I ca... | android|kotlin|android-camera | 0 | 2022-09-21T03:25:12.303Z | 2,022 | 9 | 3 | 2 | 19 | 0 | 338 | 32 | 3 | 0 | false | true | false | false | false | false | zero |
73,795,162 | This error occurs when I move large files (1G) | <p>This error occurs when I move large files (1G)
java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Parcelable android.os.Bundle.getParcelable(java.lang.String)' on a null object reference</p>
<p>log</p>
<pre><code>09-16 14:19:05.231 1840 1866 W ActivityManager: Spurious death for ProcessRe... | This error occurs when I move large files (1G) java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Parcelable android.os.Bundle.getParcelable(java.lang.String)' on a null object reference log [CODE] android/provider/DocumentsContract.java [CODE] | java|android | 1 | 2022-09-21T03:49:43.433Z | 2,022 | 9 | 3 | 2 | 34 | 0 | 270 | 46 | 2 | 2 | true | true | false | false | false | false | low |
73,795,210 | Error: A value of type 'bool?' can't be assigned to a variable of type 'bool' because 'bool?' is nullable and 'bool' isn't | <p>I get this error when i try to build my app.</p>
<pre><code> Error: A value of type 'bool?' can't be assigned to a variable of type 'bool' because 'bool?' is nullable and 'bool' isn't.
(childView.primary ? PrimaryScrollController.of(context) : null);
^
</code></pre>
<p>Here is my c... | I get this error when i try to build my app. [CODE] Here is my complete code: [CODE] When I try to build apk with flutter it says this error on the title. I didn't understand what the problem is because I am new on development. Thanks in advance. Also I've checked this subject but still didn't understand the solution :... | android|flutter|dart | 0 | 2022-09-21T03:57:12.287Z | 2,022 | 9 | 3 | 2 | 52 | 1 | 476 | 122 | 3 | 2 | true | false | false | false | false | false | zero |
73,795,346 | Revoke Apple account access in Android using Firebase | <p>I have implemented apple account authentication in Android by using Firebase</p>
<p><a href="https://firebase.google.com/docs/auth/android/apple" rel="nofollow noreferrer">https://firebase.google.com/docs/auth/android/apple</a></p>
<p>We have to revoke the access for apple account in our application. For iOS, author... | I have implemented apple account authentication in Android by using Firebase https://firebase.google.com/docs/auth/android/apple We have to revoke the access for apple account in our application. For iOS, authorisation code can be fetched from apple SDK and can revoke the access by using backend service code. In Androi... | android|firebase|revoke-token|apple-authentication | 0 | 2022-09-21T04:27:48.897Z | 2,022 | 9 | 4 | 2 | 35 | 1 | 508 | 53 | 4 | 0 | false | false | false | false | false | false | zero |
73,795,456 | How to Voice call using socket and node.js in Android | <blockquote>
<p>Hello, I want to design a two-way telephone connection using socket.io in Android and socket in node.js, which takes the sound from the source phone and sends it to the destination phone in runtime, and instantly sends the sound from the source and sends bytes to the destination. Convert the transmissio... | Hello, I want to design a two-way telephone connection using socket.io in Android and socket in node.js, which takes the sound from the source phone and sends it to the destination phone in runtime, and instantly sends the sound from the source and sends bytes to the destination. Convert the transmission to audio and p... | java|android|node.js | 0 | 2022-09-21T04:46:13.700Z | 2,022 | 9 | 4 | 2 | 27 | 0 | 481 | 53 | 3 | 2 | true | true | false | false | false | false | zero |
73,795,480 | issue with flutter launcher icons, after successfully installed it doesn't show the launcher icons in my android device | <p><a href="https://i.stack.imgur.com/GRSWs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GRSWs.png" alt="enter image description here" /></a></p>
<pre><code>here is my pubspec.yaml file , here I am added correct what documents says,
</code></pre>
<p><a href="https://i.stack.imgur.com/1P31f.png" re... | [CODE] [CODE] here I had successfully generated launcher icons from there flutter packages , and also in the terminal it shows , icons successfully generated, but when I install app on my device it doesn't show app icon , here I checked the android manifest file and mipmap folder there also I can see my launcher icon i... | android|flutter|assets|appicon|launcher-icon | 1 | 2022-09-21T04:50:06.717Z | 2,022 | 9 | 4 | 2 | 33 | 1 | 374 | 119 | 5 | 2 | true | false | false | false | false | false | low |
73,795,487 | Axios not receiving any response from Android Emulator | <p>When I run my React Native project on my physical device all requests are working fine, and I'm receiving responses for each request. But when I run the project on my emulator I can just see the payload,</p>
<p><a href="https://i.stack.imgur.com/jvEKd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co... | When I run my React Native project on my physical device all requests are working fine, and I'm receiving responses for each request. But when I run the project on my emulator I can just see the payload, I'm receiving nothing. What will be the cause for such a thing? Why this works on my physical device and not in my e... | javascript|android|reactjs|react-native|axios | 0 | 2022-09-21T04:50:52.887Z | 2,022 | 9 | 4 | 2 | 70 | 1 | 534 | 54 | 5 | 1 | true | false | false | false | false | false | zero |
73,795,502 | Is there a way to get rid of chrome password manager when input is the focus? | <p><a href="https://i.stack.imgur.com/pAqo7.jpg" rel="nofollow noreferrer">enter image description here</a></p>
<p>Disabled Chrome's password manager option when input is focused.
But the password manager keeps popping up. Is there any way to get rid of it?</p>
<p>Thank you in advance.</p> | enter image description here Disabled Chrome's password manager option when input is focused. But the password manager keeps popping up. Is there any way to get rid of it? Thank you in advance. | android|reactjs|google-chrome|password-manager | 1 | 2022-09-21T04:53:14.823Z | 2,022 | 9 | 4 | 2 | 18 | 0 | 193 | 77 | 4 | 0 | false | true | false | false | false | false | low |
73,795,521 | Attempt to invoke virtual method 'void com.google.android.material.navigation.NavigationView.setCheckedItem(int)' on a null object reference | <p>when running my code it displays the error Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.material.navigation.NavigationView.setCheckedItem(int)' on a null object reference. This following code is the mainactivity.java class which shows the error.
I wonder if an... | when running my code it displays the error Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.material.navigation.NavigationView.setCheckedItem(int)' on a null object reference. This following code is the mainactivity.java class which shows the error. I wonder if anyone... | java|android | 0 | 2022-09-21T04:55:02.823Z | 2,022 | 9 | 4 | 2 | 26 | 0 | 352 | 140 | 2 | 1 | true | true | false | false | false | false | zero |
73,795,523 | Is passing the variable through the parameter of a composable considered as reading the value? | <p>Let's imagine we have the next 5 lines of code:</p>
<pre><code>@Composable
fun MyParentComposable() {
var myVariable by remember { mutableStateOf(0) }
MyChildComposable(myVariable)
}
</code></pre>
<ul>
<li><p>I know whenever we change the <code>myVariable</code> we're going to recompose <code>MyParentCompos... | Let's imagine we have the next 5 lines of code: [CODE] I know whenever we change the myVariable we're going to recompose MyParentComposable and MyChildComposable and any other children inside the MyChildComposable() reading the value. I know that if I don't use the myVariable in any composable inside MyChildComposable ... | android|android-jetpack-compose | 1 | 2022-09-21T04:55:14.373Z | 2,022 | 9 | 4 | 2 | 58 | 2 | 2,182 | 94 | 2 | 4 | true | false | false | false | false | false | low |
73,795,741 | How to open a activity in a new tab in android | <p>I have seen this feature that allows you to open a new tab in recent apps with a different activity</p>
<p>This feature is in the app called reddit sync where you can open different sub-reddit in different windows</p>
<p>The feature guide explains the feature as follows:
"Long press to open sub in a new window.... | I have seen this feature that allows you to open a new tab in recent apps with a different activity This feature is in the app called reddit sync where you can open different sub-reddit in different windows The feature guide explains the feature as follows: "Long press to open sub in a new window. This opens the s... | java|android|android-recents | -1 | 2022-09-21T05:27:03.377Z | 2,022 | 9 | 5 | 2 | 27 | 0 | 639 | 46 | 3 | 0 | false | true | false | false | false | true | negative |
73,795,791 | How to use service into another service in Android | <p>In my application I have 2 service and I want bind one of this services into another service!<br>
I write below codes but after run application show me error!<br>
In <strong>Service #1</strong> I used below codes for bind <strong>Service #2</strong> : <br></p>
<pre><code> private ServiceConnection serviceConnecti... | In my application I have 2 service and I want bind one of this services into another service! I write below codes but after run application show me error! In Service #1 I used below codes for bind Service #2 : [CODE] Show me error for this line : bindService(floatingControlsIntent, serviceConnection, BIND_AUTO_CREATE);... | java|android|android-service | 0 | 2022-09-21T05:35:27.030Z | 2,022 | 9 | 5 | 2 | 23 | 0 | 378 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
73,795,855 | How to save file in storage on Android 12 | <p>In my application I want create screen recorder and I want save it into storage!<br>
For this I create service and write some code!<br>
But after run service, Immediately stop it and show me <strong>Recorder stop</strong> toast!<br>
I write below code into service : <br></p>
<pre><code>Handler mHandler = new Handler... | In my application I want create screen recorder and I want save it into storage! For this I create service and write some code! But after run service, Immediately stop it and show me Recorder stop toast! I write below code into service : [CODE] UPDATE Save to storage location code : [CODE] How can I fix it? Please help... | java|android | 0 | 2022-09-21T05:44:08.040Z | 2,022 | 9 | 5 | 2 | 58 | 1 | 326 | 41 | 2 | 2 | true | false | false | false | false | false | zero |
73,795,963 | I don't implementate "com.google.android.gms:play-services-ads" but my app can show interstitial ads.. why? | <p>I want to know why ads work well. And I wonder if there might be a problem with the revenue data when the ad is played without the ads dependency.</p>
<p>I think there are some things that implemetated to play ads, but I don't know which one.</p>
<p><strong>build.gradle</strong></p>
<pre><code> implementation 'co... | I want to know why ads work well. And I wonder if there might be a problem with the revenue data when the ad is played without the ads dependency. I think there are some things that implemetated to play ads, but I don't know which one. build.gradle [CODE] | android|admob|mobile-ad-mediation | -3 | 2022-09-21T05:57:35.340Z | 2,022 | 9 | 5 | 2 | 41 | 0 | 255 | 107 | 3 | 1 | true | true | false | false | false | true | negative |
73,796,088 | How to resolve promise in react native kotlin override function? | <p>I still have no idea how to connect react function and get output from non react override function from native library, can anyone help me on this?</p>
<pre><code>class NewLibModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext), OpenpathMobileAccessCore.OpenpathEventHandler {
... | I still have no idea how to connect react function and get output from non react override function from native library, can anyone help me on this? [CODE] | android|react-native | 0 | 2022-09-21T06:13:42.650Z | 2,022 | 9 | 6 | 2 | 16 | 0 | 154 | 64 | 2 | 1 | true | true | false | false | false | false | zero |
73,796,176 | Getting a blank page for Recyclerview | <p>I have data in the firestore and want to implement that data in an activity but the recyclerview activity is empty. My app is in Material UI. In firestore my parent in for Entree with field as name with string and price with numbers. there are no errors but the recyclerview is empty</p>
<p>This is my Entree.XML file... | I have data in the firestore and want to implement that data in an activity but the recyclerview activity is empty. My app is in Material UI. In firestore my parent in for Entree with field as name with string and price with numbers. there are no errors but the recyclerview is empty This is my Entree.XML file recyclerv... | android-recyclerview | 0 | 2022-09-21T06:23:43.403Z | 2,022 | 9 | 6 | 2 | 9 | 0 | 433 | 37 | 1 | 4 | true | true | false | false | false | false | zero |
73,796,202 | How to Integrate Mantra MFS100 finger print scanner device with ionic 5 | <p>I was trying to integrate mantra's mfs100 with my mobile application in ionic for user authentication. Can someone please help in me in this situation</p> | I was trying to integrate mantra's mfs100 with my mobile application in ionic for user authentication. Can someone please help in me in this situation | android|angular|ionic-framework|cordova-plugins | 0 | 2022-09-21T06:26:24.027Z | 2,022 | 9 | 6 | 2 | 18 | 0 | 150 | 71 | 4 | 0 | false | true | false | false | false | false | zero |
73,796,254 | flutter_background_geolocation not working in release mode | <p>I set up everything without skipping a single point from <a href="https://pub.dev/packages/flutter_background_geolocation" rel="nofollow noreferrer">this plugin</a>. It's working in all debug modes (Foreground, Background, Kill stat).</p>
<p>ERROR LOG: While killing the app in release mode</p>
<pre class="lang-dart ... | I set up everything without skipping a single point from this plugin . It's working in all debug modes (Foreground, Background, Kill stat). ERROR LOG: While killing the app in release mode [CODE] Permission in Android Manifest [CODE] | android|flutter|geolocation | 1 | 2022-09-21T06:31:42.807Z | 2,022 | 9 | 6 | 2 | 36 | 1 | 233 | 58 | 3 | 2 | true | false | false | false | false | false | low |
73,796,261 | How to send multiple large files via http request С#? | <p>I am writing an analogue of a messenger in which I am trying to attach files to a message. I put all the files in an ObservableCollection, then I create a MultipartFormDataContent and add all the files there, set the correct headers and send the files.
My code</p>
<pre><code> private void _SendFile(string ShortUrl,... | I am writing an analogue of a messenger in which I am trying to attach files to a message. I put all the files in an ObservableCollection, then I create a MultipartFormDataContent and add all the files there, set the correct headers and send the files. My code [CODE] If I send 1 file then everything is fine or several ... | c#|xamarin.forms|xamarin.android | 0 | 2022-09-21T06:32:34.127Z | 2,022 | 9 | 6 | 2 | 34 | 2 | 426 | 53 | 3 | 2 | true | false | false | false | false | false | zero |
73,796,328 | Why is too slow to fetch data in Android Emulator (React Native)? | <p>Every one!</p>
<p>I have an issue while developing a new crypto wallet using React Native.
I am trying to fetch data from web server on Android Emulator.
But some fetch API response is very fast(1~2s). Some fetch API response is too slow(5 mins)</p>
<p>The fast fetch API in my code.(1~2 secs)</p>
<pre><code> let re... | Every one! I have an issue while developing a new crypto wallet using React Native. I am trying to fetch data from web server on Android Emulator. But some fetch API response is very fast(1~2s). Some fetch API response is too slow(5 mins) The fast fetch API in my code.(1~2 secs) [CODE] The slow fetch API in my code. (5... | android|react-native|axios|android-emulator|fetch-api | 0 | 2022-09-21T06:39:28.960Z | 2,022 | 9 | 6 | 2 | 32 | 0 | 503 | 65 | 5 | 2 | true | true | false | false | false | false | zero |
73,796,334 | Android Studio: Failed to initialize editor | Dolphin 2021.3.1 | <p>AS: Dolphin | 2021.3.1
Kotlin plugin: 1.7.10
Android Gradle Plugin: 7.0.4
Gradle: 7.1.1
Gradle JDK: version 11.0.13</p>
<p>I've upgraded my Android Studio to <strong>Dolphin 2021.3.1</strong> from <strong>Chipmunk 2021.2.1</strong> and after updating Android Studio I'm facing issue that my project is showing error &... | AS: Dolphin | 2021.3.1 Kotlin plugin: 1.7.10 Android Gradle Plugin: 7.0.4 Gradle: 7.1.1 Gradle JDK: version 11.0.13 I've upgraded my Android Studio to Dolphin 2021.3.1 from Chipmunk 2021.2.1 and after updating Android Studio I'm facing issue that my project is showing error " Failed to initialize editor " in ... | android-studio | 4 | 2022-09-21T06:39:58.943Z | 2,022 | 9 | 6 | 2 | 498 | 2 | 534 | 62 | 1 | 0 | false | false | false | false | false | false | low |
73,796,627 | Flutter-built Android app bundle is "not available for your device" but APK works fine | <p>If I create an APK using <code>flutter build apk</code>, I can install and run my Flutter application (which is more or less the basic app template with a few charts added), but if I follow the <a href="https://docs.flutter.dev/deployment/android" rel="nofollow noreferrer">steps to publish the Android app</a> using ... | If I create an APK using flutter build apk , I can install and run my Flutter application (which is more or less the basic app template with a few charts added), but if I follow the steps to publish the Android app using flutter build appbundle , and add it to an internal test in Google Play Console, then everything is... | android|flutter|google-play|google-play-console|android-app-bundle | 0 | 2022-09-21T07:06:53.817Z | 2,022 | 9 | 7 | 2 | 29 | 1 | 967 | 86 | 5 | 0 | false | false | false | false | false | false | zero |
73,796,633 | Why is Firebase realtime database is repeatedly changing data? | <p>I'm using the below code for inserting data to the Firebase real-time database:</p>
<pre><code>private void addUserDataToFirebase(String name,String phoneNumber,String email){
firebaseDatabase = FirebaseDatabase.getInstance();
databaseReference = firebaseDatabase.getReference().child("Users");
... | I'm using the below code for inserting data to the Firebase real-time database: [CODE] | java|android|firebase|firebase-realtime-database | 0 | 2022-09-21T07:07:15.370Z | 2,022 | 9 | 7 | 2 | 32 | 1 | 86 | 62 | 4 | 1 | true | false | false | false | false | false | zero |
73,796,699 | I get this error when I click on links in webview page | <p>I get this error when I click on links in webview page, error part =</p>
<pre><code>throw PlatformException(code: errorCode, message: errorMessage as String?,
details:
errorDetails, stacktrace: errorStacktrace);
} else {
throw const FormatException('Invalid envelope');
}
</c... | I get this error when I click on links in webview page, error part = [CODE] | android|flutter|dart | -2 | 2022-09-21T07:12:47.523Z | 2,022 | 9 | 7 | 2 | 42 | 1 | 75 | 54 | 3 | 1 | true | false | false | false | false | true | negative |
73,796,736 | restricting activities to other apps | <p>If i have an app which restricted starting activity by including permission property inside activity, how im supposed to run this app? I can start this app only from some other app by clicking on the button for example And then it starts that app(activity). I can not just run the app. What should I do?</p> | If i have an app which restricted starting activity by including permission property inside activity, how im supposed to run this app? I can start this app only from some other app by clicking on the button for example And then it starts that app(activity). I can not just run the app. What should I do? | android|android-activity|permissions|tags | -1 | 2022-09-21T07:15:05.237Z | 2,022 | 9 | 7 | 2 | 15 | 0 | 303 | 36 | 4 | 0 | false | true | false | false | false | true | negative |
73,796,896 | How can I get the "the webkit rev" and the "Chrome rev" value for webview in kotlin | <p>I am trying to add an user agent for my webview. But I don't know how to get programmatically the value of {WebKit Rev} and {Chrome Rev}.</p>
<pre><code>webview.settings.userAgentString = "Mozilla/5.0 (Linux; Android $systemVersion; $model)\n" +
"AppleWebKit/{WebKit Rev} (KHTML, li... | I am trying to add an user agent for my webview. But I don't know how to get programmatically the value of {WebKit Rev} and {Chrome Rev}. [CODE] | android|kotlin | 1 | 2022-09-21T07:28:17.600Z | 2,022 | 9 | 7 | 2 | 15 | 0 | 144 | 83 | 2 | 1 | true | true | false | false | false | false | low |
73,796,932 | error find symbol in R.id. when build android cordova app | <p>Good day,</p>
<p>I would like to set the <code>allowFileAccess</code> to true in WebView websetting.</p>
<p>I try to do something as follow:</p>
<pre><code>WebView webView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = webView.getSettings();
webSettings.setAllowFileAccess(true);
</code></pre>
<p>W... | Good day, I would like to set the allowFileAccess to true in WebView websetting. I try to do something as follow: [CODE] When I try to build my app, I hit the error: cannot find symbol . Its pointing to the R.id. , may I know what mistake I did? The full error is as follow: I am fresh to frontend, and never try native ... | android|angular|mobile|webview|native-code | 0 | 2022-09-21T07:30:59.780Z | 2,022 | 9 | 7 | 2 | 12 | 0 | 404 | 57 | 5 | 1 | true | true | false | false | false | false | zero |
73,796,946 | how to get the name of a selected image from gallery of images android studio | <p>I have an app which after registering through facebook (through an app button) redirects to a user profile view where the facebook user profile image, name and email are loaded. user (url) is stored in a sqlite database, I also have a button with which you can change the profile image for an image from the external ... | I have an app which after registering through facebook (through an app button) redirects to a user profile view where the facebook user profile image, name and email are loaded. user (url) is stored in a sqlite database, I also have a button with which you can change the profile image for an image from the external mem... | java|android|image|imageview | 0 | 2022-09-21T07:32:16.027Z | 2,022 | 9 | 7 | 2 | 27 | 1 | 1,149 | 77 | 4 | 1 | true | false | false | false | false | false | zero |
73,797,024 | Unable to take the user to Google Pay screen with TapAndPay | <p>I'm trying to integrate Google Pay SDK in a project. For achieving this goal, I need to generate an object and pass it to a built in method. After that, SDK is responsible to take the user to Google Pay screen, but the google pay screen does not pop up. Here is the code I've written:</p>
<pre><code> val userAddress... | I'm trying to integrate Google Pay SDK in a project. For achieving this goal, I need to generate an object and pass it to a built in method. After that, SDK is responsible to take the user to Google Pay screen, but the google pay screen does not pop up. Here is the code I've written: [CODE] | android|kotlin|google-pay | 0 | 2022-09-21T07:39:52.920Z | 2,022 | 9 | 7 | 2 | 16 | 0 | 291 | 59 | 3 | 1 | true | true | false | false | false | false | zero |
73,797,034 | Cordova android html video download option won't function | <p>Cordova android html video download option won't function.</p>
<p><a href="https://i.stack.imgur.com/I96Y9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I96Y9.png" alt="enter image description here" /></a></p>
<p>Is there a way to make this option functional?</p>
<p><strong>cordova android -v</s... | Cordova android html video download option won't function. Is there a way to make this option functional? cordova android -v 11.0.0 cordova plugins com.lampa.startapp 6.1.6 "startApp" cordova-plugin-android-permissions 1.1.3 "Permissions" cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-an... | android|cordova|download|html5-video|android-webview | 0 | 2022-09-21T07:40:49.153Z | 2,022 | 9 | 7 | 2 | 15 | 0 | 731 | 57 | 5 | 0 | false | true | false | false | false | false | zero |
73,797,054 | what is meaning of @ and ? in layout.xml file in the android | <p>what is the meaning of @ and ? in the layout.xml file
I am new to android.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height=... | what is the meaning of @ and ? in the layout.xml file I am new to android. [CODE] android:textSize="?android:textAppearanceLarge" android:background="@android:color/holo_red_dark" | android | 0 | 2022-09-21T07:42:25.417Z | 2,022 | 9 | 7 | 2 | 44 | 2 | 199 | 60 | 1 | 1 | true | false | false | false | false | false | zero |
73,797,133 | Filter and Count Items in List inside a For Loop | Kotlin | <p>Hey guys I switched from Swift to Kotlin a few days ago and I'm trying to implement a similar function I have in swift into kotlin and failing</p>
<p>Here is what I'm doing in swift</p>
<pre class="lang-swift prettyprint-override"><code> private var issues: [PathPmCore.Issue] = [] {
didSet {
App... | Hey guys I switched from Swift to Kotlin a few days ago and I'm trying to implement a similar function I have in swift into kotlin and failing Here is what I'm doing in swift [CODE] The way I approached it in Kotlin is similar [CODE] It works, with no errors but the one setter in Kotlin returns an empty array/list. | java|android|ios|swift|kotlin | 0 | 2022-09-21T07:49:32.630Z | 2,022 | 9 | 7 | 2 | 49 | 1 | 316 | 57 | 5 | 2 | true | false | false | false | false | false | zero |
73,797,227 | I wanna read and write whatsapp messages is it possible? | <p>I want to make an application where I can read whatsapp messages(maybe notifications) and write messages again, is it theoretically possible to do this.</p> | I want to make an application where I can read whatsapp messages(maybe notifications) and write messages again, is it theoretically possible to do this. | android | -2 | 2022-09-21T07:57:56.093Z | 2,022 | 9 | 7 | 2 | 22 | 0 | 152 | 56 | 1 | 0 | false | true | false | false | false | true | negative |
73,797,283 | How can I detect when a user clicked a particular button of a website loaded inside the webview of my app? | <p>I am loading Amazon website inside the webview of my app and i want to show a toast message when user clicks the Buy Now button in that loaded website.
What is the way to do perform this task using javascript or any other method available.</p> | I am loading Amazon website inside the webview of my app and i want to show a toast message when user clicks the Buy Now button in that loaded website. What is the way to do perform this task using javascript or any other method available. | javascript|android|web-scraping|webview | 0 | 2022-09-21T08:02:58.087Z | 2,022 | 9 | 8 | 2 | 19 | 1 | 239 | 106 | 4 | 0 | false | false | false | false | false | false | zero |
73,797,297 | Items are not removing from the recycler view | <p>I am building a function in my android app in which user will match two items together
and if both items match to each other a correct icon will display to the item where u clicked to match,and if ur match was wrong then it show u the wrong icon.
There is condition when the match is correct then the both correct ite... | I am building a function in my android app in which user will match two items together and if both items match to each other a correct icon will display to the item where u clicked to match,and if ur match was wrong then it show u the wrong icon. There is condition when the match is correct then the both correct items ... | android|kotlin|arraylist|android-recyclerview | 0 | 2022-09-21T08:04:25.857Z | 2,022 | 9 | 8 | 2 | 42 | 1 | 965 | 45 | 4 | 3 | true | false | false | false | false | false | zero |
73,797,419 | IntelliJ IDEA not find Android device. Though android studio can do it | <p>I have tried many ways. This has nothing to do with the connection between the android and my mac device. Because android studio can still find android device
I thought of sdk but intellJ idea android sdk is ok
about adb i can still find my android device when command</p>
<pre><code>adb devices
</code></pre>
<p>thi... | I have tried many ways. This has nothing to do with the connection between the android and my mac device. Because android studio can still find android device I thought of sdk but intellJ idea android sdk is ok about adb i can still find my android device when command [CODE] this is flutter doctor [CODE] | android|flutter|macos|adb | -1 | 2022-09-21T08:13:44.963Z | 2,022 | 9 | 8 | 2 | 39 | 0 | 305 | 70 | 4 | 2 | true | true | false | false | false | true | negative |
73,797,420 | EOS POS printer Font size - Android | <p>I am trying to decrease font size for printing but unable to do this I have used this for small font size</p>
<pre><code>val FONT_SMALL = byteArrayOf(0x1B, 0x21, 0x001)
</code></pre>
<p>But I want decrease more font size</p> | I am trying to decrease font size for printing but unable to do this I have used this for small font size [CODE] But I want decrease more font size | android|printing|fonts|thermal-printer|eos | 1 | 2022-09-21T08:13:59.117Z | 2,022 | 9 | 8 | 2 | 17 | 1 | 147 | 35 | 5 | 1 | true | false | false | false | false | false | low |
73,797,735 | Using similar 1 android apps for many apps with different name and different settings | <p>Is it possible to use 1 android apps with different name and different settings? I trying to make 1 hotel booking application that is used by several hotels, so this application can be published by the hotel self on Google Play Store with different names without re-developing application</p> | Is it possible to use 1 android apps with different name and different settings? I trying to make 1 hotel booking application that is used by several hotels, so this application can be published by the hotel self on Google Play Store with different names without re-developing application | android|google-play | 0 | 2022-09-21T08:37:18.893Z | 2,022 | 9 | 8 | 2 | 15 | 0 | 288 | 85 | 2 | 0 | false | true | false | false | false | false | zero |
73,797,808 | Cannot get React-Native-Navigation installed for the life of me | <p>I am working on implementing wix navigation to my React Native project. So far I have:</p>
<ul>
<li>Initialised the project with the CLI, installed react-native-navigation and followed the set-up instructions including going through it manually as well as using rnn-link.</li>
</ul>
<p>I have solved most of the error... | I am working on implementing wix navigation to my React Native project. So far I have: Initialised the project with the CLI, installed react-native-navigation and followed the set-up instructions including going through it manually as well as using rnn-link. I have solved most of the errors that I was getting but I am ... | java|android|react-native|gradle|wix-react-native-navigation | 0 | 2022-09-21T08:43:14.923Z | 2,022 | 9 | 8 | 2 | 41 | 1 | 805 | 63 | 5 | 4 | true | false | false | false | false | false | zero |
73,797,815 | You uploaded an APK or Android App Bundle without 'android:exported' property set but already been set in manifest file | <p>I do have a problem with my current flutter project. My project was already built in release and also I put also the correct keystore file and the targetsdkversion. Now, when I am uploading my app in the playstore it always shows android exported property set (which as I was already know how to solve it.) I set all ... | I do have a problem with my current flutter project. My project was already built in release and also I put also the correct keystore file and the targetsdkversion. Now, when I am uploading my app in the playstore it always shows android exported property set (which as I was already know how to solve it.) I set all the... | android|flutter|dart | 1 | 2022-09-21T08:43:56.763Z | 2,022 | 9 | 8 | 2 | 35 | 0 | 1,192 | 119 | 3 | 1 | true | true | false | false | false | false | low |
73,797,890 | android: ava.lang.NoSuchMethodException probably caused when rotating the screen | <p>I have a strange problem, 95% of my devices doesn't have this problem, but a few devices crash and report this error:</p>
<pre><code> Exception java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3751)
at android.app.ActivityThread.handleLaunchActivity (Activit... | I have a strange problem, 95% of my devices doesn't have this problem, but a few devices crash and report this error: [CODE] What should I do? I have read some question similar but nothing has solved the problem. My app as an activity that programmatically change screen orientation and start a fragment. The fragment ma... | android|kotlin|android-fragments | -1 | 2022-09-21T08:49:21.553Z | 2,022 | 9 | 8 | 2 | 29 | 0 | 436 | 80 | 3 | 1 | true | true | false | false | false | true | negative |
73,798,004 | Android Studio Linechart, String as xAxis | <p>I made an Android application that gets the data from Firebase which I managed to do, I made the linedataset but my xAxis should be Strings (dates), my yAxis is float. I managed to do the yAxis and the xAxis (but it only shows the days, and I want it to show the whole date). This is my code so far:</p>
<pre><code>fo... | I made an Android application that gets the data from Firebase which I managed to do, I made the linedataset but my xAxis should be Strings (dates), my yAxis is float. I managed to do the yAxis and the xAxis (but it only shows the days, and I want it to show the whole date). This is my code so far: [CODE] EDIT: I made ... | java|android-studio | 0 | 2022-09-21T08:55:48.010Z | 2,022 | 9 | 8 | 2 | 20 | 0 | 595 | 41 | 2 | 1 | true | true | false | false | false | false | zero |
73,798,042 | Keeping a screen element fixed while transitioning screens in Jetpack Compose | <p>I'm building some screens in Jetpack Compose with the use of <code>androidx.navigation.compose.NavHost</code> and without fragments (the new way). I want to navigate from one screen to another while keeping an element of the screen fixed.
For example this is the first screen, by pressing the blue button it goes to t... | I'm building some screens in Jetpack Compose with the use of androidx.navigation.compose.NavHost and without fragments (the new way). I want to navigate from one screen to another while keeping an element of the screen fixed. For example this is the first screen, by pressing the blue button it goes to the second screen... | android|android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-09-21T08:58:05.143Z | 2,022 | 9 | 8 | 2 | 28 | 1 | 802 | 77 | 3 | 0 | false | false | false | false | false | false | zero |
73,798,065 | Can I put animation fade in with duration between button state enable and disable in jetpack compose? | <p>This is how i create my button in compose</p>
<pre><code> Button(
modifier = modifier,
enabled = enabled.value,
onClick = {}
) {
Text(text = text)
}
</code></pre> | This is how i create my button in compose [CODE] | android|android-jetpack-compose|android-jetpack | 1 | 2022-09-21T08:59:49.993Z | 2,022 | 9 | 8 | 2 | 22 | 1 | 48 | 101 | 3 | 1 | true | false | false | false | false | false | low |
73,798,085 | How to change the contentview's screen | <p><a href="https://i.stack.imgur.com/7EE8C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7EE8C.png" alt="enter image description here" /></a></p>
<pre><code><Grid Grid.Row="0" BackgroundColor="{StaticResource ColorBack002}">
<Grid.Co... | [CODE] If you click the button on the left, you want to change the screen in the khaki color area. For example, when you click Single, the Single screen appears, and when you click Multi, the Multi screen appears. The m_SingleMode and m_MultiModel variables were created with ContentView respectively. I put the view in ... | xamarin|xamarin.forms|xamarin.android | 0 | 2022-09-21T09:01:09.353Z | 2,022 | 9 | 9 | 2 | 24 | 0 | 643 | 38 | 3 | 1 | true | true | false | false | false | false | zero |
73,798,382 | Firebase Could Messaging unsubscribe topic after App uninstalled | <p>My App allow user to click a button to subscribe a topic to receive notification. User can also click the button to unsubscribe the topic.</p>
<p>I would like to know, what happen if users do not unsubscribe the topic first, then direct uninstall the App,</p>
<p>Example:</p>
<ul>
<li>If there are 10,000 users insta... | My App allow user to click a button to subscribe a topic to receive notification. User can also click the button to unsubscribe the topic. I would like to know, what happen if users do not unsubscribe the topic first, then direct uninstall the App, Example: If there are 10,000 users install the apps and subscribe to th... | android|firebase|firebase-cloud-messaging | 0 | 2022-09-21T09:25:00.450Z | 2,022 | 9 | 9 | 2 | 22 | 1 | 954 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
73,798,451 | How to detect left right navigate swipe gestures on Android via Hammer.js(Angular)? | <p>I'd like to capture swipe navigate gestures based on android device exists on left-right corners.If sounds not familiar please take a look at the image below here its when I demonstrated.</p>
<p><a href="https://i.stack.imgur.com/Wovxn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wovxn.png" alt... | I'd like to capture swipe navigate gestures based on android device exists on left-right corners.If sounds not familiar please take a look at the image below here its when I demonstrated. On the app.component I implemented swipe event from Hammer.js like below but when I do that swipe it doesn't work which is not trigg... | javascript|android|angular|typescript|hammer.js | -1 | 2022-09-21T09:29:44.300Z | 2,022 | 9 | 9 | 2 | 10 | 0 | 726 | 83 | 5 | 2 | true | true | false | false | false | true | negative |
73,798,528 | gdb for android target: getting pthread_t | <p>I have to debug a problem in portable code, that triggers on an android system. I have got logs and a core dump from the target system. Since the program uses multiple threads, I have to find specific threads, whose pthread_t is written to the log files.</p>
<p>Unfortunately (and in contrast to linux), the debugger ... | I have to debug a problem in portable code, that triggers on an android system. I have got logs and a core dump from the target system. Since the program uses multiple threads, I have to find specific threads, whose pthread_t is written to the log files. Unfortunately (and in contrast to linux), the debugger does not s... | android|gdb|pthreads | 0 | 2022-09-21T09:34:20.557Z | 2,022 | 9 | 9 | 2 | 28 | 0 | 757 | 41 | 3 | 4 | true | true | false | false | false | false | zero |
73,798,654 | Hilt 2.43 generates deprecation in app module | <p>Using new hilt 2.43 got a warning in generated by hilt</p>
<pre><code>warning: [deprecation] applicationContextModule(ApplicationContextModule) in Builder has been deprecated
.applicationContextModule(new ApplicationContextModule(Hilt_App.this)).build();
</code></pre>
<p>Who can say how to fix that?</p> | Using new hilt 2.43 got a warning in generated by hilt [CODE] Who can say how to fix that? | android|dagger-hilt | 0 | 2022-09-21T09:44:00.977Z | 2,022 | 9 | 9 | 2 | 25 | 1 | 90 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
73,798,663 | Navigation drawer menu item only clickable ubtitle | <p>I'm trying to my menu but I have a problem, I would like to habe smt like that
<a href="https://i.stack.imgur.com/9YS1V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9YS1V.png" alt="enter image description here" /></a></p>
<p>that's my code</p>
<pre><code><menu xmlns:android="http://sche... | I'm trying to my menu but I have a problem, I would like to habe smt like that that's my code [CODE] I don't know exactly how to handle it, when I run this code I got that, I shouldn't have the empty space and subtitle 2 has to be clickable Someone can help ? Thx | android|xml|xamarin|navigation-drawer|menuitem | 0 | 2022-09-21T09:44:51.560Z | 2,022 | 9 | 9 | 2 | 19 | 0 | 263 | 50 | 5 | 1 | true | true | false | false | false | false | zero |
73,798,734 | GeoJSON properties - Kotlin | <p>i have some response form HTTP API - GeoJSON data, but how i can get only some values from features --> properties in Kotlin - Android Studio? Or is there some statement where I can determine for example all object where "year==2014" to array/list? So i want only some properties to array/list or variabl... | i have some response form HTTP API - GeoJSON data, but how i can get only some values from features --> properties in Kotlin - Android Studio? Or is there some statement where I can determine for example all object where "year==2014" to array/list? So i want only some properties to array/list or variable. Tha... | android|json|android-studio|kotlin|geojson | 0 | 2022-09-21T09:51:57.577Z | 2,022 | 9 | 9 | 2 | 28 | 1 | 408 | 27 | 5 | 2 | true | false | false | false | false | false | zero |
73,798,744 | Custom TextToSpeechService Does Not Receive Usage Hints from Google TalkBack | <p>I'm building a custom Android TextToSpeechService which filters text by language.</p>
<p>Currently, I'm handling non-English-language text with my custom TextToSpeech service, and I'm sending English language text to an instance of Google Speech Services.</p>
<p>My problem is that, when I use Google Talkback, I'm no... | I'm building a custom Android TextToSpeechService which filters text by language. Currently, I'm handling non-English-language text with my custom TextToSpeech service, and I'm sending English language text to an instance of Google Speech Services. My problem is that, when I use Google Talkback, I'm no longer able to r... | java|android|talkback | 0 | 2022-09-21T09:52:37.603Z | 2,022 | 9 | 9 | 2 | 34 | 0 | 740 | 76 | 3 | 2 | true | true | false | false | false | false | zero |
73,798,749 | How to store server TOKEN and use it on my 2nd activity webview? | <p>Hi im stuck with how to store server TOKEN to the Shared Preferences and use it on 2nd activity, anyone help?</p>
<pre><code> if (response.isSuccessful()) {
String myResponse = response.body().string();
MainActivity.this.runOnUiThread(new Runnable() {
... | Hi im stuck with how to store server TOKEN to the Shared Preferences and use it on 2nd activity, anyone help? [CODE] these my coding on 1st activity [CODE] tried this, but didnt found any token stored on my shared preferences. any suggestion? | java|android|json|authentication|token | 0 | 2022-09-21T09:53:13.667Z | 2,022 | 9 | 9 | 2 | 19 | 1 | 242 | 64 | 5 | 2 | true | false | false | false | false | false | zero |
73,798,756 | qt 6.3 firebase cpp sdk integration for android(cmake) | <p>so I've been trying to integrate the newest cpp sdk(9.5) into my Qt6 cmake android application.
dependencies used</p>
<pre><code>openjdk 11
ndk22.1.7171670
gradle 7.4(default from the qt android package template)
</code></pre>
<p>I've put the whole sdk dir inside my project.</p>
<p>here is the top level <code>CMakeL... | so I've been trying to integrate the newest cpp sdk(9.5) into my Qt6 cmake android application. dependencies used [CODE] I've put the whole sdk dir inside my project. here is the top level CMakeLists.txt [CODE] and inside src/app/CMakeLists.txt [CODE] then I followed the instructions here here is my build.gradle [CODE]... | android|firebase|gradle|cmake|qt6 | 0 | 2022-09-21T09:54:14.487Z | 2,022 | 9 | 9 | 2 | 26 | 0 | 792 | 54 | 5 | 8 | true | true | false | false | false | false | zero |
73,798,792 | @Composable invocations can only happen from the context of a @Composable function in LaunchEffect | <p>Hey guys I am working in ripple effect in jetpack compose. I create one function for ripple effect and use this function to Material button. When I call the Material button inside LaunchEffect it's giving me error.</p>
<pre><code>@Composable invocations can only happen from the context of a @Composable function
</co... | Hey guys I am working in ripple effect in jetpack compose. I create one function for ripple effect and use this function to Material button. When I call the Material button inside LaunchEffect it's giving me error. [CODE] I followed this two stack overflow answer 1 and answer 2 but nothing works. This is my ripple effe... | android|kotlin|android-jetpack-compose|android-jetpack|ripple-effect | 0 | 2022-09-21T09:56:03.147Z | 2,022 | 9 | 9 | 2 | 41 | 0 | 586 | 98 | 5 | 5 | true | true | false | false | false | false | zero |
73,798,815 | AlertDialog compose title with Image | <p>In AlertDialog on compose, do you know if its possible in the title field, to put an Image plus a title ?</p>
<p>I am trying to do something like</p>
<pre><code>title = {
Column(
modifier = Modifier
.fillMaxWidth()
) {
Image(
imageVector = image,
contentDes... | In AlertDialog on compose, do you know if its possible in the title field, to put an Image plus a title ? I am trying to do something like [CODE] The problem is : I think the title in AlertDialog has a specific size, so my Image is crop. | android-jetpack-compose|android-alertdialog | 0 | 2022-09-21T09:58:09.080Z | 2,022 | 9 | 9 | 2 | 24 | 1 | 237 | 36 | 2 | 1 | true | false | false | false | false | false | zero |
73,798,931 | Android Unique Identifiers | <p>I have an android app written in Java.</p>
<p>I am trying to find a way to identify a single device with a unique identifier which would be great if it remained the same even after a factory reset.</p>
<p>I want to only allow one account on a particular device.
He/She should not be able to create another account on ... | I have an android app written in Java. I am trying to find a way to identify a single device with a unique identifier which would be great if it remained the same even after a factory reset. I want to only allow one account on a particular device. He/She should not be able to create another account on the same device o... | android|google-play-services|drm|android-identifiers|android-drm | -1 | 2022-09-21T10:06:57.593Z | 2,022 | 9 | 10 | 2 | 16 | 0 | 997 | 26 | 5 | 0 | false | true | false | false | false | true | negative |
73,798,938 | Android Studio Flutter Emulator bottom UI is cut off 2022 | <p>Im learning to make android application with flutter and i seems to having problem with the emulator view that cut the display and it cannot go down any further.</p>
<p><img src="https://i.stack.imgur.com/9Nc0q.png" alt="Display on emulator" /></p>
<p>My Code is this</p>
<pre><code>import 'package:firebase_core/fire... | Im learning to make android application with flutter and i seems to having problem with the emulator view that cut the display and it cannot go down any further. My Code is this [CODE] I don't know what should i add to fix this problem, i search for other similiar problems like im facing but their code is a bit differe... | android|flutter|dart|flutter-layout | 1 | 2022-09-21T10:07:18.927Z | 2,022 | 9 | 10 | 2 | 33 | 0 | 322 | 57 | 4 | 1 | true | true | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.