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,287,980 | Extending Parcelable with new data field without breaking compatibility with old version | <p>I have a Parcelable with something like this in it:</p>
<pre><code>private Message(Parcel in) {
id = in.readInt();
level = in.readInt();
priority = in.readInt();
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(id);
dest.writeInt(level);
dest.writeInt(priority);
... | I have a Parcelable with something like this in it: [CODE] Now I need to add a new parameter hidden as such: [CODE] It is important that compatibility with old version of the Parcelable can still be interpreted with this new version, i.e. if I input an old version into this new version it should still work. Hence I put... | android|bundle|parcelable|aidl | 0 | 2022-08-09T07:28:43.167Z | 2,022 | 8 | 7 | 1 | 26 | 0 | 559 | 88 | 4 | 2 | true | true | false | false | false | false | zero |
73,287,982 | Android Jetpack Compose draw rectangle by the full height and width of its parent layout | <p>I am trying to draw a round rectangle based on the height and width of its parent.</p>
<p>The below code snippet draws the rectangle but its not filling the whole box</p>
<pre><code>{
val localDensity = LocalDensity.current
var height by remember {
mutableStateOf(0. dp)
}
var width by reme... | I am trying to draw a round rectangle based on the height and width of its parent. The below code snippet draws the rectangle but its not filling the whole box [CODE] I want the canvas to draw the rectangle, using the full height and width of the box, I am populating this in a grid like column and row , as below. I don... | canvas|android-jetpack-compose|draw | 0 | 2022-08-09T07:28:51.347Z | 2,022 | 8 | 7 | 1 | 313 | 1 | 379 | 88 | 3 | 1 | true | false | false | false | false | false | zero |
73,288,119 | React-native-webview interaction not working | <p>I've followed the React-native-webview guide in
<a href="https://github.com/react-native-webview/react-native-webview/blob/master/docs/Guide.md" rel="nofollow noreferrer">https://github.com/react-native-webview/react-native-webview/blob/master/docs/Guide.md</a>
and tried to implement the snipped below.
What I have n... | I've followed the React-native-webview guide in https://github.com/react-native-webview/react-native-webview/blob/master/docs/Guide.md and tried to implement the snipped below. What I have noticed is that even if the program enters in the block including the javascript injection, it doesn't inject anything. Even if I e... | javascript|android|reactjs|react-native|webview | 0 | 2022-08-09T07:38:48.007Z | 2,022 | 8 | 7 | 1 | 73 | 0 | 625 | 44 | 5 | 1 | true | true | false | false | false | false | zero |
73,288,124 | How to wait for LottieAnimationView to finish then do something | <p>I have the following code in Xamarin.Android, I want to show my main actcivty after the LottieAnimationView finshed.</p>
<pre><code><com.airbnb.lottie.LottieAnimationView
android:id="@+id/SplashAnimationView"
android:layout_width="wrap_content"
android:layout_height="wrap_cont... | I have the following code in Xamarin.Android, I want to show my main actcivty after the LottieAnimationView finshed. [CODE] | xamarin.android | 0 | 2022-08-09T07:39:04.257Z | 2,022 | 8 | 7 | 1 | 24 | 1 | 123 | 63 | 1 | 1 | true | false | false | false | false | false | zero |
73,288,164 | "Test events not received error"-Jetpack Compose-Robolectric testing | <p>I am getting "Test events not received error"-"No tests found for given includes: (filter.includeTestsMatching)" issue when i am trying run my jetpack compose test class using robolectric.</p> | I am getting "Test events not received error"-"No tests found for given includes: (filter.includeTestsMatching)" issue when i am trying run my jetpack compose test class using robolectric. | android|unit-testing|kotlin|android-jetpack-compose|robolectric | 0 | 2022-08-09T07:42:13.347Z | 2,022 | 8 | 7 | 1 | 26 | 0 | 208 | 68 | 5 | 0 | false | true | false | false | false | false | zero |
73,288,172 | Receive NullPointerException when initializing RecyclerView in a fragment using Kotlin | <p>I am a newbie who is still learning Kotlin, I am trying to implement recycler view inside a fragment. However, I received the NullPointerException error</p>
<pre><code>java.lang.NullPointerException: view.findViewById(R.id.recycler_view) must not be null
</code></pre>
<p>I have checked the id of recycler view</p>
<p... | I am a newbie who is still learning Kotlin, I am trying to implement recycler view inside a fragment. However, I received the NullPointerException error [CODE] I have checked the id of recycler view [CODE] I have also initialized the recycler view in the onViewCreated() of the fragment by using view.findViewById() [COD... | android|kotlin|android-fragments|android-recyclerview|nullpointerexception | -1 | 2022-08-09T07:43:15.687Z | 2,022 | 8 | 7 | 1 | 54 | 2 | 388 | 86 | 5 | 3 | true | false | false | false | false | true | negative |
73,288,241 | Quantity Button with RadioGroup To Calculate Subtotal Price | <p>Hello I have been struggling to figure out how to get the subtotal with my quantity increment and decrement buttons for subtotal.</p>
<p>What I want is after the customers chooses a type the price will show on the bottom.
Then if they would like multiple orders they can press the + button and the price will change ... | Hello I have been struggling to figure out how to get the subtotal with my quantity increment and decrement buttons for subtotal. What I want is after the customers chooses a type the price will show on the bottom. Then if they would like multiple orders they can press the + button and the price will change as well dep... | android|android-studio|mobile|switch-statement|price | 0 | 2022-08-09T07:49:30.490Z | 2,022 | 8 | 7 | 1 | 35 | 2 | 517 | 59 | 5 | 1 | true | false | false | false | false | false | zero |
73,288,468 | fragment binding (symbol "id" cannot be resolved) | <p>I am trying to use the binding method in android studio to connect two fragments using onCreate and onViewCreated methods. so far i am getting id not resolved error. I have already connected the fragments on the xml graph. Bellow is the code of the settings java file.</p>
<pre class="lang-java prettyprint-override">... | I am trying to use the binding method in android studio to connect two fragments using onCreate and onViewCreated methods. so far i am getting id not resolved error. I have already connected the fragments on the xml graph. Bellow is the code of the settings java file. [CODE] | java|android|xml|binding | 0 | 2022-08-09T08:07:50.233Z | 2,022 | 8 | 8 | 1 | 44 | 2 | 275 | 49 | 4 | 1 | true | false | false | false | false | false | zero |
73,288,485 | What does two-way communication means in AIDL & messenger in IPC android | <p>Currently I am integrating inter process communication between apps. So during search of it I found 3 methods:-</p>
<p>1.) AIDL (two-way communication concurrent)</p>
<p>2.) Messenger (two-way communication)</p>
<p>3.) Broadcast receiver (one way)</p>
<p>Now looking for AIDL & Messenger, I understand the term an... | Currently I am integrating inter process communication between apps. So during search of it I found 3 methods:- 1.) AIDL (two-way communication concurrent) 2.) Messenger (two-way communication) 3.) Broadcast receiver (one way) Now looking for AIDL & Messenger, I understand the term and functionality of concurrent. But ... | android|ipc|aidl | 0 | 2022-08-09T08:09:13.683Z | 2,022 | 8 | 8 | 1 | 42 | 0 | 767 | 72 | 3 | 0 | false | true | false | false | false | false | zero |
73,288,518 | Why am I getting these build errors? | <p>When im using this</p>
<p>implementation 'com.github.iammert:ReadableBottomBar:0.2'</p>
<p>I am getting these build error</p>
<p>1.org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable</p>
<p>2.java... | When im using this implementation 'com.github.iammert:ReadableBottomBar:0.2' I am getting these build error 1.org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable 2.java.lang.RuntimeException: Duplica... | android-studio|bottomnavigationview | 0 | 2022-08-09T08:11:50.947Z | 2,022 | 8 | 8 | 1 | 106 | 0 | 517 | 36 | 2 | 0 | false | true | false | false | false | false | zero |
73,288,547 | Why paging 3.0 load 2 page at beginning | <p>I'm trying to track infinite scrolling. I've implemented the tracking in pagingsource. When I open the page, paging loads 2 pages. And without even scrolling, the track request is sending. How can i stop paging from loading 2 pages ?</p>
<pre><code>ExamplePagingSource: PagingSource<String, UIItem>() {
private... | I'm trying to track infinite scrolling. I've implemented the tracking in pagingsource. When I open the page, paging loads 2 pages. And without even scrolling, the track request is sending. How can i stop paging from loading 2 pages ? [CODE] UPDATE I solved it with prefetchDistance | android|kotlin|android-paging | 1 | 2022-08-09T08:14:19.030Z | 2,022 | 8 | 8 | 1 | 105 | 1 | 281 | 39 | 3 | 1 | true | false | false | false | false | false | low |
73,288,606 | Screen not turning on when alarm manager is fired in physical devices | <p>I'm working on an android application and i need alarm manager to fire events at certain times , the code works fine and the notification fires in time but only in one scenario is not working when the screen is off , the device is not waking up and wait for notification to fire up , actually this works in emulators ... | I'm working on an android application and i need alarm manager to fire events at certain times , the code works fine and the notification fires in time but only in one scenario is not working when the screen is off , the device is not waking up and wait for notification to fire up , actually this works in emulators ( i... | android|kotlin|service|broadcastreceiver|alarmmanager | 0 | 2022-08-09T08:19:45.043Z | 2,022 | 8 | 8 | 1 | 22 | 0 | 602 | 69 | 5 | 4 | true | true | false | false | false | false | zero |
73,288,638 | Unable to display a RecyclerView with Retrofit in first fragment | <p>I started using Retrofit instead of Volley for the sake of speed and easy of implementation.</p>
<p>For some context I'm using a BottomNavigationBar with Fragments and I can't display first in my application (after the splash screen) the Fragment which loads the data with Retrofit. If I display another Fragment and ... | I started using Retrofit instead of Volley for the sake of speed and easy of implementation. For some context I'm using a BottomNavigationBar with Fragments and I can't display first in my application (after the splash screen) the Fragment which loads the data with Retrofit. If I display another Fragment and I search f... | java|android|android-studio|retrofit2 | 0 | 2022-08-09T08:22:28.670Z | 2,022 | 8 | 8 | 1 | 55 | 3 | 1,111 | 64 | 4 | 3 | true | false | false | false | false | false | zero |
73,288,700 | Phaser animation doesn't work on touch screen devices. (works fine on desktop) | <p>I have these animations in my phaser.js game:</p>
<pre><code>this.anims.create({
key: 'catchingUp',
frames: this.anims.generateFrameNumbers('android', { start: 0, end: 4}),
frameRate: this.frameSpeed * 6,
repeat: 0
});
this.anims.create({
key: 'catchingDown',
... | I have these animations in my phaser.js game: [CODE] Only the animation with key downUp works fine across all devices, it's the only one where the sprite just moves it's arm and doesn't go from one side to the other. Animations with keys catchingUp and catchingDown cause a black rectangle appear on the screen instead o... | javascript|android|animation|phaser-framework | 1 | 2022-08-09T08:26:57.090Z | 2,022 | 8 | 8 | 1 | 49 | 1 | 1,325 | 78 | 4 | 1 | true | false | false | false | false | false | low |
73,288,956 | How to make "Choose Destination Directory" dialog appear after "Create Test" in Android Studio | <p>I am studying unit-testing from Google codelab.</p>
<p><a href="https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-basics#5" rel="nofollow noreferrer">https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-basics#5</a></p>
<p>There is one step to choose the folde... | I am studying unit-testing from Google codelab. https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-basics#5 There is one step to choose the folder in AndroidTest/Test destination dialog enter image description here But my Android Studio doesn't show this dialog so I need to drag my file int... | java|android-studio|unit-testing|kotlin | 0 | 2022-08-09T08:46:27.567Z | 2,022 | 8 | 8 | 1 | 33 | 0 | 400 | 94 | 4 | 0 | false | true | false | false | false | false | zero |
73,289,046 | android studio - SDK manager updating SDK Tools even its manually downloading in directory | <p>android SDK Manager fail to download and update tools.</p>
<p>even after I downloaded all platform-toos and SDK-tools, and point out its location then nothing was happening only it provides output something like this</p>
<p>Nothing to do!
Android SDK is up to date...
SDK emulator directory is missing</p> | android SDK Manager fail to download and update tools. even after I downloaded all platform-toos and SDK-tools, and point out its location then nothing was happening only it provides output something like this Nothing to do! Android SDK is up to date... SDK emulator directory is missing | android|sdk | 0 | 2022-08-09T08:53:28.133Z | 2,022 | 8 | 8 | 1 | 48 | 1 | 287 | 90 | 2 | 0 | false | false | false | false | false | false | zero |
73,289,109 | Jetpack Compose Exception: Snapshot is not open | <pre><code>java.lang.IllegalStateException
Snapshot is not open
androidx.compose.runtime.snapshots.SnapshotKt.validateOpen(Snapshot.kt:1465)
androidx.compose.runtime.snapshots.SnapshotKt.access$validateOpen(Snapshot.kt:1)
androidx.compose.runtime.snapshots.MutableSnapshot.apply(Snapshot.kt:584)
androidx.compose.runtim... | [CODE] The exception occurred on the MuMu emulator, Android version 6.0.1: I use minifyEnabled false can solve this problem, but use -keep public class androidx.compose.*.**{*; } can not be solved, if I use minifyEnabled true , is there any way to fix this exception? | android|android-jetpack-compose | 0 | 2022-08-09T08:58:31.013Z | 2,022 | 8 | 8 | 1 | 60 | 0 | 267 | 47 | 2 | 1 | true | true | false | false | false | false | zero |
73,289,197 | Add poi marker to a scene | <p>I'd like to add markers with a text, like the embedded poi.</p>
<p>In version 3 of the sdk (premium edition), I used MapLabeledMarker and that worked very well. In version 4 (navigate edition) I can't find anything like that.</p>
<p>What is the best way to do that ?</p>
<p>Thanks</p> | I'd like to add markers with a text, like the embedded poi. In version 3 of the sdk (premium edition), I used MapLabeledMarker and that worked very well. In version 4 (navigate edition) I can't find anything like that. What is the best way to do that ? Thanks | android|here-api | 0 | 2022-08-09T09:06:16.463Z | 2,022 | 8 | 9 | 1 | 31 | 1 | 259 | 25 | 2 | 0 | false | false | false | false | false | false | zero |
73,289,356 | resource style/Gdx (aka com.badlogic.drop.style:Gdx) not found | <p>So i'm new in android studio and libGDX and I was trying to follow the instructions to create
<a href="https://libgdx.com/wiki/start/a-simple-game" rel="nofollow noreferrer">"A Simple Game"</a></p>
<p>I was doing well until when I've everything done and I try to Build APK that appears the following error b... | So i'm new in android studio and libGDX and I was trying to follow the instructions to create "A Simple Game" I was doing well until when I've everything done and I try to Build APK that appears the following error but i've checked out my code and I think that I'm actually importing the libraries that they ar... | android|android-studio|libgdx | 0 | 2022-08-09T09:19:06.880Z | 2,022 | 8 | 9 | 1 | 15 | 0 | 561 | 62 | 3 | 0 | false | true | false | false | false | false | zero |
73,289,438 | deleting a file on Maui app platform Android | <p>I have a maui app which reads a data log on an SD card (in Android the SD card is in a USB reader attached - filemanagers and the maui file picker happily see hte usb external drive and read and open file)
Info is extracted from the file (csv) written to SQL then the file is backed up to cloud
It is important now t... | I have a maui app which reads a data log on an SD card (in Android the SD card is in a USB reader attached - filemanagers and the maui file picker happily see hte usb external drive and read and open file) Info is extracted from the file (csv) written to SQL then the file is backed up to cloud It is important now to re... | android|xamarin|permissions|maui | 0 | 2022-08-09T09:25:05.527Z | 2,022 | 8 | 9 | 1 | 104 | 2 | 1,914 | 44 | 4 | 2 | true | false | false | false | false | false | zero |
73,289,527 | Same fragment with different navgraph by hiltNavGraphViewModels | <p>I followed single activity pattern for my app. My MainActivity has a bottom navigation with 4 fragments.</p>
<p><a href="https://i.stack.imgur.com/kUh30.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kUh30.png" alt="main nav graph" /></a></p>
<p><strong>nav_home</strong> and <strong>nav_video</st... | I followed single activity pattern for my app. My MainActivity has a bottom navigation with 4 fragments. nav_home and nav_video have same fragment so I want to HomeViewModel and VideoViewModel keep their states within these graphs. As you can see below. nav_home.xml nav_video.xml On my fragment I use hiltNavGraphViewMo... | android|android-fragments|navigation|dagger-hilt|android-jetpack-navigation | 7 | 2022-08-09T09:32:17.183Z | 2,022 | 8 | 9 | 1 | 113 | 1 | 853 | 63 | 5 | 1 | true | false | false | false | false | false | medium |
73,289,562 | • Field: android - should NOT have additional property 'androidServicesFile' | <p>Im trying to use the FCM for Push Notification using Expo API.
I have follow this documnetation to make it work: <a href="https://docs.expo.dev/push-notifications/using-fcm/" rel="nofollow noreferrer">https://docs.expo.dev/push-notifications/using-fcm/</a></p>
<p>When I try to create an APK(to test the FCM if it wor... | Im trying to use the FCM for Push Notification using Expo API. I have follow this documnetation to make it work: https://docs.expo.dev/push-notifications/using-fcm/ When I try to create an APK(to test the FCM if it works) using this command: expo build:android it shows me this error: [CODE] This is the app.json [CODE] ... | android|react-native|expo | 0 | 2022-08-09T09:34:33.290Z | 2,022 | 8 | 9 | 1 | 16 | 0 | 443 | 76 | 3 | 2 | true | true | false | false | false | false | zero |
73,289,696 | Android Studio can't recognize java file | <p>Why AndroidStudio can't recognize some java files in my project?</p>
<p>I have a FileInfo.java in folder , and Android Studio can't take it as a java file,but other java file can be recognized normally. My Project can build successfully.</p>
<p>Other Java class can't index this FileInfo class. Everywhere which use F... | Why AndroidStudio can't recognize some java files in my project? I have a FileInfo.java in folder , and Android Studio can't take it as a java file,but other java file can be recognized normally. My Project can build successfully. Other Java class can't index this FileInfo class. Everywhere which use FileInfo are red t... | java|android|android-studio|kotlin|intellij-idea | -1 | 2022-08-09T09:41:45.743Z | 2,022 | 8 | 9 | 1 | 76 | 2 | 794 | 40 | 5 | 1 | true | false | false | false | false | true | negative |
73,289,953 | React Native app rejected for QUERY_ALL_PACKAGES | <p>So, here's a head scratcher (at least, it is for me).</p>
<blockquote>
<p>Issue found: Less broad app-visibility method should be used.<br>
We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because >the declared task can be done with a less broad app-visibility method.</p>
<p>One suggested ... | So, here's a head scratcher (at least, it is for me). Issue found: Less broad app-visibility method should be used. We are unable to approve your app’s use of QUERY_ALL_PACKAGES permission because >the declared task can be done with a less broad app-visibility method. One suggested method is to declare your app's need ... | react-native|android-studio|kotlin|gradle | 0 | 2022-08-09T10:02:45.837Z | 2,022 | 8 | 10 | 1 | 263 | 0 | 818 | 48 | 4 | 1 | true | true | false | false | false | false | zero |
73,290,071 | Class referenced in the layout file, `com.leo.simplearcloader.SimpleArcLoader`, was not found in the project or the libraries | <p>//dependencies: implementation 'com.leo.simplearcloader:simplearcloader:1.0.'</p>
<pre><code> <com.leo.simplearcloader.SimpleArcLoader
android:visibility="visible"
android:id="@+id/loader"
android:layout_centerInParent="true"
... | //dependencies: implementation 'com.leo.simplearcloader:simplearcloader:1.0.' [CODE] | android-studio | 0 | 2022-08-09T10:11:01.747Z | 2,022 | 8 | 10 | 1 | 31 | 1 | 84 | 125 | 1 | 1 | true | false | false | false | false | false | zero |
73,290,097 | Exception caught by widgets library 'package:flutter/src/widgets/text.dart' | <p>A non-null String must be provided to a Text widget.
'package:flutter/src/widgets/text.dart':
Failed assertion: line 378 pos 10: 'data != null'</p> | A non-null String must be provided to a Text widget. 'package:flutter/src/widgets/text.dart': Failed assertion: line 378 pos 10: 'data != null' | android | 0 | 2022-08-09T10:13:37.183Z | 2,022 | 8 | 10 | 1 | 14 | 0 | 143 | 75 | 1 | 0 | false | true | false | false | false | false | zero |
73,290,203 | How to detect App installed on device using getInstalledRelatedApps() | <p>Am trying to use this script found <a href="https://web.dev/get-installed-related-apps/" rel="nofollow noreferrer">here</a> to detect if my app has been installed on a phone. If so, it should prompt them to open app, if not, it should prompt them to download app. I've followed the tutorial to the letter, from instal... | Am trying to use this script found here to detect if my app has been installed on a phone. If so, it should prompt them to open app, if not, it should prompt them to download app. I've followed the tutorial to the letter, from installing manifest.json on server, to adding the script to my app and uploading to playstore... | javascript|android|browser|mobile-application|detect | 0 | 2022-08-09T10:21:33.267Z | 2,022 | 8 | 10 | 1 | 75 | 0 | 661 | 69 | 5 | 2 | true | true | false | false | false | false | zero |
73,290,468 | indicated lambda expression non working in Android Studio Java | <p>I use lambda expressions when possible and/or proposed by android studio .
As far as i understood, lambda are not indicated for interfaces .
Here Completion is based on an Interface . Studio proposes me a lambda expression that doesn t seem to work . Is it an issue with studio or something has to be done in order to... | I use lambda expressions when possible and/or proposed by android studio . As far as i understood, lambda are not indicated for interfaces . Here Completion is based on an Interface . Studio proposes me a lambda expression that doesn t seem to work . Is it an issue with studio or something has to be done in order to ma... | android|lambda|interface | 0 | 2022-08-09T10:42:08.280Z | 2,022 | 8 | 10 | 1 | 13 | 0 | 339 | 62 | 3 | 1 | true | true | false | false | false | false | zero |
73,290,479 | Android invalidate and redraw custom view | <p>I have a custom View in a Relative layout:</p>
<pre><code> <my.app.com.GardenCalendarView
android:id="@+id/gardenCalendar"
android:layout_width="match_parent"
android:layout_height="84dp"
/>
</code></pre>
<p>which draws a calendar.</p>
<p><strong>Ga... | I have a custom View in a Relative layout: [CODE] which draws a calendar. GardenCalendarView.java : [CODE] and then Plant.java : [CODE] and Bar.java : [CODE] Now I am calling this to draw the calendar: [CODE] This is working fine, the View is shown. But i have a button and after clicking on it, I want to redraw that Vi... | android|android-custom-view | 0 | 2022-08-09T10:42:51.360Z | 2,022 | 8 | 10 | 1 | 57 | 1 | 634 | 41 | 2 | 6 | true | false | false | false | false | false | zero |
73,290,480 | how to load an image in imageview with the help of glide from Cloud Storage with url(gs://xxxx) | <p>I am trying to load an image with the help of glide library but it cannot load the image when i use the (gs://xxx) firebase storage reference</p>
<pre><code>@Override
public void onBindViewHolder(@NonNull viewHolder holder, int position) {
Data_demo dataDemo = ndata.get(position);
holder.name.setText(dataDe... | I am trying to load an image with the help of glide library but it cannot load the image when i use the (gs://xxx) firebase storage reference [CODE] datademo is the model class in that i had declare 3 variable in with datatype String name, desc and image dataDemo.getImage() it consist of (gs://xxxxx) url | android|firebase-storage|android-glide | 1 | 2022-08-09T10:42:52.927Z | 2,022 | 8 | 10 | 1 | 30 | 1 | 305 | 95 | 3 | 1 | true | false | false | false | false | false | low |
73,290,696 | failed to apply kotlin-android and compileSdkVersion is not specified | <p>native and am having trouble building my android version which is giving me the error bellow and i couldnt find anything about it with the newer versions of react-native-webview</p>
<p>ty in advance</p>
<pre><code>FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build... | native and am having trouble building my android version which is giving me the error bellow and i couldnt find anything about it with the newer versions of react-native-webview ty in advance [CODE] | android|react-native|kotlin | 0 | 2022-08-09T10:58:51.130Z | 2,022 | 8 | 10 | 1 | 31 | 0 | 198 | 69 | 3 | 1 | true | true | false | false | false | false | zero |
73,290,718 | Why can't I use the ScaffoldState Class in Material3 with Jetpack Compose? | <p><strong>I want to add ScaffoldState to my AppBar</strong></p>
<pre><code>@Composable
fun HomeAppBar(scaffoldState : ScaffoldState, scope : CoroutineScope)
{
//content
}
</code></pre> | I want to add ScaffoldState to my AppBar [CODE] | android-jetpack-compose|android-jetpack-compose-material3 | 0 | 2022-08-09T11:01:01.257Z | 2,022 | 8 | 11 | 1 | 54 | 0 | 47 | 74 | 2 | 1 | true | true | false | false | false | false | zero |
73,290,728 | How to convert any social media link to redirect to their respective mobile applications? | <p>I am planning to create a web application where people can convert their social media links so that their links will only open in the application. A great example for what I am looking for is <a href="https://app.urlgeni.us/" rel="nofollow noreferrer">url genius</a>.</p>
<p>Notice how it creates protocol links for t... | I am planning to create a web application where people can convert their social media links so that their links will only open in the application. A great example for what I am looking for is url genius . Notice how it creates protocol links for the corresponding links. URL Genius almost supports most of the popular ap... | android|ios|url|deep-linking|social-media | 0 | 2022-08-09T11:01:34.177Z | 2,022 | 8 | 11 | 1 | 32 | 1 | 525 | 89 | 5 | 0 | false | false | false | false | false | false | zero |
73,290,804 | how to get epochMillis from a date based on timezone | <p>I am trying to get epochMillis from a date based on timezone "Europe/London"</p>
<p>I have a Date <code>2022-08-31</code> and I want to get epochMillis for end of day - <code>2022-08-31T23:59:59</code></p>
<pre><code>val endOfYear = `2022-08-31`
val format = SimpleDateFormat("yyyy-MM-dd")
val end... | I am trying to get epochMillis from a date based on timezone "Europe/London" I have a Date 2022-08-31 and I want to get epochMillis for end of day - 2022-08-31T23:59:59 [CODE] that returned as shown in the picture. as per my timezone I should receive - Wednesday, 31 August 2022 23:59:59 // function toLocalDat... | android|kotlin|epoch|localdatetime | 1 | 2022-08-09T11:06:25.663Z | 2,022 | 8 | 11 | 1 | 33 | 0 | 396 | 52 | 4 | 2 | true | true | false | false | false | false | low |
73,290,909 | react native app on device stops when navigating to second screen | <p>I am developing a test-app in react-native. With expo start --web the app is running fine in a browser. But when I install the app on my Android phone, and run the app, it stops running as soon as I navigate to the second screen.</p>
<p>There are two screens, a Products screen and a ProductDetails screen, hold toget... | I am developing a test-app in react-native. With expo start --web the app is running fine in a browser. But when I install the app on my Android phone, and run the app, it stops running as soon as I navigate to the second screen. There are two screens, a Products screen and a ProductDetails screen, hold together by a N... | android|reactjs|react-native | 0 | 2022-08-09T11:15:20.233Z | 2,022 | 8 | 11 | 1 | 33 | 1 | 801 | 65 | 3 | 3 | true | false | false | false | false | false | zero |
73,290,942 | How to manage mouse right/center click with Jetpack Compose? | <p>The <a href="https://developer.android.com/jetpack/compose/gestures" rel="nofollow noreferrer">clickable</a> Modifier in Jetpack Compose doesn't seem to have a way to differentiate the type of button in case of Mouse input</p>
<p>Do you know how to manage this use cases?</p> | The clickable Modifier in Jetpack Compose doesn't seem to have a way to differentiate the type of button in case of Mouse input Do you know how to manage this use cases? | android|android-jetpack-compose | 0 | 2022-08-09T11:18:10.350Z | 2,022 | 8 | 11 | 1 | 49 | 1 | 169 | 60 | 2 | 0 | false | false | false | false | false | false | zero |
73,290,964 | How to go another activity by clicking Navigation item? | <p><strong>Here I added my code. I have been created Navigation bar successfully. But Now I am not able to set onClickListener on my Navigation Item. How can I use a Intent on my Navigation Item using navigation item id . please help me someone. I need to know in details</strong></p>
<p><strong>activity_main.xml</stron... | Here I added my code. I have been created Navigation bar successfully. But Now I am not able to set onClickListener on my Navigation Item. How can I use a Intent on my Navigation Item using navigation item id . please help me someone. I need to know in details activity_main.xml [CODE] MainActivity.java [CODE] enter ima... | java|android|navigation | 1 | 2022-08-09T11:20:09.577Z | 2,022 | 8 | 11 | 1 | 20 | 1 | 339 | 55 | 3 | 2 | true | false | false | false | false | false | low |
73,290,982 | How to create xml to Pojo or java object in android | <pre><code><LIST>
<Item>
<Cmd>1002</Cmd>
<Name>PHOTO_SIZE</Name>
<MenuList>
<Option>
<Index>0</Index>
<Id>12M</Id>
</Option>
<Option>
... | [CODE] This is my xml i want to convert it Pojo as java object i tried to create online but i dont know what i am doing wrong its showing : java.lang.RuntimeException: org.simpleframework.xml.core.ElementException: Below class is [CODE] but when i use i am getting element exception please help me how to create java cla... | java|android | 0 | 2022-08-09T11:21:13.173Z | 2,022 | 8 | 11 | 1 | 17 | 0 | 345 | 51 | 2 | 2 | true | true | false | false | false | false | zero |
73,290,985 | How to make a notification at an exact date and time in Kotlin, Android | <p>After reading about 20 articles on this site, the official Android Developers site and elsewhere, it seems that <strong>I cannot find how to pass the exact date and time to fire
a notification in Android and Kotlin</strong></p>
<p>Does the notification builder has a method in which I can pass this time or should I k... | After reading about 20 articles on this site, the official Android Developers site and elsewhere, it seems that I cannot find how to pass the exact date and time to fire a notification in Android and Kotlin Does the notification builder has a method in which I can pass this time or should I keep trying with Alarm Recei... | android|kotlin|android-notifications|android-alarms | 1 | 2022-08-09T11:21:23.767Z | 2,022 | 8 | 11 | 1 | 50 | 1 | 803 | 71 | 4 | 4 | true | false | false | false | false | false | low |
73,291,024 | Need help on Jetpack Compose Animation - Kotlin | <p>I am a newbie in android Kotlin development, it would be really appreciable, if someone can help me out. I already spent more than a week on the research of jetpack compose animation.</p>
<p>I have been trying to create a control where the circle has to given a pulsating animation and that needs to be controlled wit... | I am a newbie in android Kotlin development, it would be really appreciable, if someone can help me out. I already spent more than a week on the research of jetpack compose animation. I have been trying to create a control where the circle has to given a pulsating animation and that needs to be controlled with various ... | android|kotlin|animation|android-jetpack-compose | 0 | 2022-08-09T11:25:14.393Z | 2,022 | 8 | 11 | 1 | 78 | 1 | 879 | 47 | 4 | 2 | true | false | false | false | false | false | zero |
73,291,117 | Permissions that can only be set for privilegged apps | <p>Looking for some info source to know, what kind of permissions that can only be granted to privileged app. Following <a href="https://source.android.com/devices/tech/config/perms-allowlist" rel="nofollow noreferrer">this</a> documentation.</p> | Looking for some info source to know, what kind of permissions that can only be granted to privileged app. Following this documentation. | android|android-permissions|privileges | 1 | 2022-08-09T11:34:36.183Z | 2,022 | 8 | 11 | 1 | 84 | 1 | 136 | 53 | 3 | 0 | false | false | false | false | false | false | low |
73,291,353 | Can a Flutter package only for phone, be used to a Windows app as well? | <p>I am building an Android Application with <strong>Flutter & Dart</strong> and i am using the "barcode_finder" package.<a href="https://pub.dev/packages/barcode_finder" rel="nofollow noreferrer">(https://pub.dev/packages/barcode_finder)</a></p>
<p>To be more precise, i want my app to <strong>scan</stron... | I am building an Android Application with Flutter & Dart and i am using the "barcode_finder" package. (https://pub.dev/packages/barcode_finder) To be more precise, i want my app to scan a barcode.pdf ( barcode on top of a pdf file ) file and extract the info of the barcode. When i am deploying the app on my p... | android|windows|flutter|flutter-packages|flutter-desktop | 0 | 2022-08-09T11:53:33.657Z | 2,022 | 8 | 11 | 1 | 49 | 2 | 445 | 71 | 5 | 0 | false | false | false | false | false | false | zero |
73,291,703 | Rotate Animation Compose | <p>How can I make the same animation be applied to the picture when the button is clicked? I don't use angle changes all the time. That is, the picture should have the same animation every time the button is clicked?</p>
<pre><code> var angle by remember { mutableStateOf(0f) }
val rotate by animateFloatAsState(
tar... | How can I make the same animation be applied to the picture when the button is clicked? I don't use angle changes all the time. That is, the picture should have the same animation every time the button is clicked? [CODE] | android|animation|android-jetpack-compose | 0 | 2022-08-09T12:19:36.593Z | 2,022 | 8 | 12 | 1 | 76 | 1 | 220 | 24 | 3 | 1 | true | false | false | false | false | false | zero |
73,291,795 | Cannot find method - Error when upgrading kotlin-gradle-plugin from 1.6.21 to 1.7.10 | <p>I am getting the following error,</p>
<pre><code>Unable to find method ''org.gradle.api.tasks.SourceTask org.jetbrains.kotlin.gradle.tasks.KotlinCompile.source(java.lang.Object[])''
'org.gradle.api.tasks.SourceTask org.jetbrains.kotlin.gradle.tasks.KotlinCompile.source(java.lang.Object[])'
Gradle's dependency cache... | I am getting the following error, [CODE] when upgrading kotlin-gradle-plugin from 1.6.21 to 1.7.10 in project level build.gradle file in an android project. AS version is - 2021.2.1 patch 1 com.android.tools.build:gradle: 7.2.1 Current kotlin plugin version installed in AS - 212-1.7.10-release-333-AS5457.46 None of the... | android|kotlin|android-gradle-plugin|build.gradle|kotlin-gradle-plugin | 7 | 2022-08-09T12:25:31.687Z | 2,022 | 8 | 12 | 1 | 433 | 1 | 344 | 84 | 5 | 1 | true | false | false | false | false | false | medium |
73,291,892 | Android build Could not resolve all files for configuration ':app:debugCompileClasspath' | <p>i tried to use shinebutton api (<a href="https://github.com/ChadCSong/ShineButton" rel="nofollow noreferrer">https://github.com/ChadCSong/ShineButton</a>)</p>
<p>However, the following error appears during the build phase :(</p>
<p>It is an error that has not occurred before and occurs after adding code to gradle.</... | i tried to use shinebutton api ( https://github.com/ChadCSong/ShineButton ) However, the following error appears during the build phase :( It is an error that has not occurred before and occurs after adding code to gradle. help me error : Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfigurati... | java|android|api|android-studio|build.gradle | 0 | 2022-08-09T12:33:20.957Z | 2,022 | 8 | 12 | 1 | 55 | 0 | 482 | 88 | 5 | 0 | false | true | false | false | false | false | zero |
73,291,913 | Making Dagger Hilt with room database support synchronization (Cannot provide or bind DAO inside ItemDatabase abstract class) | <p>I just changed the structure of my database classes in my app to support synchronization and @Volatile, but dagger does not accept that, I got these errors</p>
<pre><code>ItemsDatabase.java:23: error: itemDAO is annotated with more than one of (dagger.Binds, dagger.multibindings.Multibinds, dagger.producers.Produces... | I just changed the structure of my database classes in my app to support synchronization and @Volatile, but dagger does not accept that, I got these errors [CODE] and when I delete @Provides from abstract method Dao I got that [CODE] My old database structure class was the following DatabaseModule Object [CODE] old Ite... | android|kotlin|android-room|dagger-2|dagger-hilt | 0 | 2022-08-09T12:34:37.043Z | 2,022 | 8 | 12 | 1 | 33 | 0 | 413 | 125 | 5 | 6 | true | true | false | false | false | false | zero |
73,292,045 | Voice control for Android with limited dictionary | <p>I would really appreciate little help with voice control for android. I am making voice-controlled chess, but voice recognition is identifying words that I don't want.
<strong>Example: "King to C7" > "Pink 2 See 7"</strong>
So, is there a way how to filter only words that I want to use? Make s... | I would really appreciate little help with voice control for android. I am making voice-controlled chess, but voice recognition is identifying words that I don't want. Example: "King to C7" > "Pink 2 See 7" So, is there a way how to filter only words that I want to use? Make something like whitelist... | android|speech-recognition|voice-recognition | 0 | 2022-08-09T12:44:00.493Z | 2,022 | 8 | 12 | 1 | 40 | 1 | 348 | 49 | 3 | 0 | false | false | false | false | false | false | zero |
73,292,066 | Error You attempted to use a firebase module that's not installed on your Android project | <p>I'm trying to add notification to my expo cli project so I choosed react native firebase notification. and I had this error :</p>
<pre><code> useEffect(() => {
// Assume a message-notification contains a "type" property in the data payload of the screen to open
messaging().onNotifi... | I'm trying to add notification to my expo cli project so I choosed react native firebase notification. and I had this error : [CODE] package.json: [CODE] app.json: [CODE] Console : Error: You attempted to use a firebase module that's not installed on your Android project by calling firebase.app(). Ensure you have: impo... | android|react-native|expo|firebase-cloud-messaging|react-native-firebase | 0 | 2022-08-09T12:45:19.080Z | 2,022 | 8 | 12 | 1 | 188 | 0 | 592 | 89 | 5 | 3 | true | true | false | false | false | false | zero |
73,292,108 | AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH' on Andriod | <p>I use kivy, kivymd for developing an app on android (using python).
I need to have an access to Bluetooth.
The code below works fine on Windows10/Linux but not on Android.</p>
<p>I couldn't find any reason why (AF_BLUETOOTH) doesn't exist on Android.
The apk is compiled with
<code>buildozer andriod debug deploy run<... | I use kivy, kivymd for developing an app on android (using python). I need to have an access to Bluetooth. The code below works fine on Windows10/Linux but not on Android. I couldn't find any reason why (AF_BLUETOOTH) doesn't exist on Android. The apk is compiled with buildozer andriod debug deploy run . But it crashes... | android | 0 | 2022-08-09T12:48:34.157Z | 2,022 | 8 | 12 | 1 | 81 | 0 | 538 | 74 | 1 | 1 | true | true | false | false | false | false | zero |
73,292,129 | MediaStore creates a new file with instead of overwriting the existing one | <p>I want to write to a file periodically and always replace it if already exists. The problem is that, using <code>MediaStore</code>, instead of overwriting the file, it creates a new one with the same name and appends a number to it</p>
<pre><code>fun exportToFile(fileName: String, content: String) {
// save to d... | I want to write to a file periodically and always replace it if already exists. The problem is that, using MediaStore , instead of overwriting the file, it creates a new one with the same name and appends a number to it [CODE] If I call exportToFile("test.txt", "Hello world") , it writes a file test... | android|kotlin|mediastore | 0 | 2022-08-09T12:50:02.633Z | 2,022 | 8 | 12 | 1 | 60 | 1 | 480 | 74 | 3 | 1 | true | false | false | false | false | false | zero |
73,292,145 | Android unit testing kotlin: LiveData value was never set | <p>I'm getting this error while unit testing: "LiveData value was never set."</p>
<p>I'm trying to test the getStudents() method of my viewmodel that looks like this:</p>
<p>StudentViewModel:</p>
<pre><code>@HiltViewModel
class StudentViewModel @Inject constructor(
private val getStudentsUseCase: GetStude... | I'm getting this error while unit testing: "LiveData value was never set." I'm trying to test the getStudents() method of my viewmodel that looks like this: StudentViewModel: [CODE] StudentViewModelTest: [CODE] What Am I doing wrong? I also have a class for LiveDataTest with the method getOrAwaitValueTest() d... | android|android-studio|unit-testing|kotlin|junit | 1 | 2022-08-09T12:51:08.723Z | 2,022 | 8 | 12 | 1 | 243 | 1 | 436 | 57 | 5 | 3 | true | false | false | false | false | false | low |
73,292,161 | How to run android microbenchmark in single module project? | <p>I'm trying to run android microbenchmark using single module project. I've just placed <code>SimpleBenchmark</code> into <code>app/src/androidTest/java/com/example/benchmarks/SimpleBenchmark.kt</code> file:</p>
<pre class="lang-kotlin prettyprint-override"><code>@RunWith(AndroidJUnit4::class)
class SampleBenchmark {... | I'm trying to run android microbenchmark using single module project. I've just placed SimpleBenchmark into app/src/androidTest/java/com/example/benchmarks/SimpleBenchmark.kt file: [CODE] Then I've suppressed all possible errors from runner: [CODE] Then, when I start such test on real device, I got such message: [CODE]... | android|performance|performance-testing|android-instrumentation|microbenchmark | 0 | 2022-08-09T12:51:51.767Z | 2,022 | 8 | 12 | 1 | 44 | 0 | 465 | 59 | 5 | 3 | true | true | false | false | false | false | zero |
73,292,173 | How to use Jacoco for runtime? | <p>How if I want to click some button for starting record code coverage,and another click for stop record and generate the report?
I find all the way to generate code caverage is unit test.But if I just want to generate at sometimes but not for other time,what should I do?</p>
<p>Hope for your reply!Thanks!!</p> | How if I want to click some button for starting record code coverage,and another click for stop record and generate the report? I find all the way to generate code caverage is unit test.But if I just want to generate at sometimes but not for other time,what should I do? Hope for your reply!Thanks!! | android|jacoco|android-jacoco | 0 | 2022-08-09T12:52:36.507Z | 2,022 | 8 | 12 | 1 | 8 | 0 | 299 | 30 | 3 | 0 | false | true | false | false | false | false | zero |
73,292,202 | Cannot load expo dev app on real device: There was a problem loading the project | <p>I'm trying to implement RevenueCat In-App Subscriptions into my Expo managed app, and to test the implementation I need to do it on a real device.</p>
<p>So far, I ran:</p>
<pre><code>expo install expo-dev-client
expo install react-native-purchases
eas build --profile development --platform android
</code></pre>
<p>... | I'm trying to implement RevenueCat In-App Subscriptions into my Expo managed app, and to test the implementation I need to do it on a real device. So far, I ran: [CODE] I downloaded the development build and installed it on the device, then I ran: [CODE] After starting the dev server, it isn't visible on the developmen... | android|react-native|expo|revenuecat | 0 | 2022-08-09T12:55:10.740Z | 2,022 | 8 | 12 | 1 | 166 | 1 | 658 | 80 | 4 | 3 | true | false | false | false | false | false | zero |
73,292,228 | Android Emulator is not playing sound | <p>My Pixel 2 Android Emulator won't play sound, not from my app, not even from YouTube. I've restarted my computer, cold-booted the app, yet nothing works. I can use a physical device, but I'd like to have my emulator on the side while coding. Any Ideas?</p>
<p>Most of the other similar questions seem to be from 5-10 ... | My Pixel 2 Android Emulator won't play sound, not from my app, not even from YouTube. I've restarted my computer, cold-booted the app, yet nothing works. I can use a physical device, but I'd like to have my emulator on the side while coding. Any Ideas? Most of the other similar questions seem to be from 5-10 years ago,... | android|android-studio|audio|android-emulator | 0 | 2022-08-09T12:56:47.423Z | 2,022 | 8 | 12 | 1 | 113 | 1 | 414 | 37 | 4 | 0 | false | false | false | false | false | false | zero |
73,292,384 | how to fix "Java source root points to a non-existent location: " error in Android Studio | <p>I'm trying to get familiar with jetpack compose. I cloned the Android Developer Codelab, and I'm practicing the <a href="https://developer.android.com/codelabs/jetpack-compose-navigation?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fcompose%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodela... | I'm trying to get familiar with jetpack compose. I cloned the Android Developer Codelab, and I'm practicing the Navigation Codelab . I haven't even done much in the codelab, but when i run the code I get an error; I don't know the cause, or what is needed to solve this. So I'm going to just paste the gradle files. Not ... | android|android-studio|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-08-09T13:07:57.443Z | 2,022 | 8 | 13 | 1 | 34 | 0 | 597 | 89 | 5 | 2 | true | true | false | false | false | false | zero |
73,292,489 | Android wear os. FirebaseMessaging: Failed to get FIS auth token, Firebase Installations Service is unavailable,Topic sync or token retrieval failed | <p>I can´t figure it out anymore, I've tested all kind of things, im testing to receive the token from firebase messaging. Im almost secure that first time i've received it but after that, no more and always the same error. this is being tested with android 11 wear os 3. so it is an emulator to a weareable.</p>
<p>The ... | I can´t figure it out anymore, I've tested all kind of things, im testing to receive the token from firebase messaging. Im almost secure that first time i've received it but after that, no more and always the same error. this is being tested with android 11 wear os 3. so it is an emulator to a weareable. The most commo... | android|firebase | 0 | 2022-08-09T13:15:44.053Z | 2,022 | 8 | 13 | 1 | 66 | 0 | 775 | 148 | 2 | 0 | false | true | false | false | false | false | zero |
73,292,567 | Maven Library Without Version on Android | <p>Is there anyway to create a maven Library for Android and publishing it without pushing new release with new release tag version so we are not required to specify the version when we use it in other project. but maybe gradle will check if there is new version available and if so it will be autoupdated to use the lat... | Is there anyway to create a maven Library for Android and publishing it without pushing new release with new release tag version so we are not required to specify the version when we use it in other project. but maybe gradle will check if there is new version available and if so it will be autoupdated to use the latest... | android|gradle|module|android-library | 0 | 2022-08-09T13:20:18.087Z | 2,022 | 8 | 13 | 1 | 20 | 1 | 329 | 40 | 4 | 0 | false | false | false | false | false | false | zero |
73,292,572 | Connect Android App to AWS Cloud(RDS, DYNAMO DB etc.) | <p>Currently I am storing my Android application data in SQLite (local DB) but I want to connect my application with AWS cloud. How i can connect my application with cloud and Which one is good Database for my app. My application is related to IoT where I will using MQTT Data.</p> | Currently I am storing my Android application data in SQLite (local DB) but I want to connect my application with AWS cloud. How i can connect my application with cloud and Which one is good Database for my app. My application is related to IoT where I will using MQTT Data. | android|amazon-web-services|amazon-dynamodb|cloud|amazon-rds | -1 | 2022-08-09T13:20:27.383Z | 2,022 | 8 | 13 | 1 | 31 | 1 | 274 | 53 | 5 | 0 | false | false | false | false | false | true | negative |
73,292,575 | How can I send images from xamarin forms android once I have wifi back? | <p>I'm trying to send images from xamarin forms android to my C# asp.net core MVC web page. I can do it when I have wifi. but i can't do it when i don't have it.
how could I send the images when I have wifi back?</p>
<p>basically, what I need is storage the images and when the user has wifi again send the images.</p>
<... | I'm trying to send images from xamarin forms android to my C# asp.net core MVC web page. I can do it when I have wifi. but i can't do it when i don't have it. how could I send the images when I have wifi back? basically, what I need is storage the images and when the user has wifi again send the images. Thank you very ... | asp.net-mvc|asp.net-core|xamarin|xamarin.forms|xamarin.android | 0 | 2022-08-09T13:20:36.147Z | 2,022 | 8 | 13 | 1 | 34 | 0 | 363 | 71 | 5 | 1 | true | true | false | false | false | false | zero |
73,292,599 | Material3 IconButton fill color | <p>How to fill an entire circle with a color?
The IconButton is from material3</p>
<pre><code>IconButton(
onClick = { /*TODO*/ },
modifier = Modifier
.size(50.dp)
.padding(start = 32.dp)
.border(1.dp, Color.White, shape = CircleShape),
... | How to fill an entire circle with a color? The IconButton is from material3 [CODE] | android|material-design|android-jetpack-compose | 1 | 2022-08-09T13:21:53.107Z | 2,022 | 8 | 13 | 1 | 46 | 1 | 82 | 31 | 3 | 1 | true | false | false | false | false | false | low |
59,906,808 | Navigation Drawer with Transparent Action Bar | <p>I know this is a possible duplicate question but I need to create a transparent action bar with a navigation drawer to look like <a href="https://i.stack.imgur.com/yCJ3u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yCJ3u.jpg" alt="this"></a>. Here is my style.xml </p>
<pre><code><style name... | I know this is a possible duplicate question but I need to create a transparent action bar with a navigation drawer to look like . Here is my style.xml [CODE] and this is my drawer layout xml xml code | java|android | 0 | 2020-01-25T06:08:08.140Z | 2,020 | 1 | 6 | 5 | 72 | 1 | 200 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
59,906,831 | How to shuffle 2 dimensional array at first level only in Kotlin | <p>I have 2 dimensional array<code>Array<Array<Int>></code> that i want to shuffle only at the first level but i haven't been successful.</p>
<pre><code>contentTitle = arrayOf(
arrayOf(R.drawable.ic_fathah1_1, R.raw.ahem_x),
arrayOf(R.drawable.ic_fathah1_2, R.raw.bad_disk_x)... | I have 2 dimensional array Array<Array<Int>> that i want to shuffle only at the first level but i haven't been successful. [CODE] I googled for this matter and only found shuffling for Mutable List. How do i achieve simple shuffle for my first level array? | android|arrays|kotlin | 0 | 2020-01-25T06:13:52.643Z | 2,020 | 1 | 6 | 5 | 1,011 | 3 | 256 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
59,906,837 | ClusterManager on Android not always working as it should | <p>I was trying to create a custom marker with Clusters on android maps. So I created the <code>MarkerCluster</code> clas and the <code>ClusterManagerRender</code> and it does render on the map, the problem is, it's not always that it does. I'm not sure if there's a default value, because right now, besides the current... | I was trying to create a custom marker with Clusters on android maps. So I created the MarkerCluster clas and the ClusterManagerRender and it does render on the map, the problem is, it's not always that it does. I'm not sure if there's a default value, because right now, besides the current Marker for the user position... | java|android|google-maps | 0 | 2020-01-25T06:14:28.647Z | 2,020 | 1 | 6 | 5 | 214 | 0 | 458 | 57 | 3 | 3 | true | true | false | false | false | false | zero |
59,906,861 | how to display calender particular dates in various color in xamarin forms | <p><a href="https://i.stack.imgur.com/rj6c1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rj6c1.png" alt="enter image description here"></a>
display calender particular dates in various color in xamarin forms</p> | display calender particular dates in various color in xamarin forms | xaml|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2020-01-25T06:18:19.313Z | 2,020 | 1 | 6 | 5 | 516 | 1 | 67 | 74 | 4 | 0 | false | false | false | false | false | false | zero |
59,906,897 | How to find file under device file explorer | <p>As pretext, I have been following the an Android Studio Tutorial by ProgrammingKnowledge, <a href="https://www.youtube.com/watch?v=p8TaTgr4uKM" rel="nofollow noreferrer">https://www.youtube.com/watch?v=p8TaTgr4uKM</a>. But am stuck around the 9:22 mark. I am trying to find my folder under device file explorer> data ... | As pretext, I have been following the an Android Studio Tutorial by ProgrammingKnowledge, https://www.youtube.com/watch?v=p8TaTgr4uKM . But am stuck around the 9:22 mark. I am trying to find my folder under device file explorer> data > data as he did but to no success. I am using android version 3.5.3. Any advice or so... | sqlite|file|android-studio|device|explorer | 0 | 2020-01-25T06:27:46.533Z | 2,020 | 1 | 6 | 5 | 1,061 | 1 | 348 | 43 | 5 | 0 | false | false | false | false | false | false | zero |
59,906,920 | How to handle click from xml to Activity | <p>I am new to android and following this tutorial: <a href="https://www.youtube.com/watch?v=qK0QNA0sMGc&t=2710s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=qK0QNA0sMGc&t=2710s</a>
(<em>It's in Hindi</em>)</p>
<p>In my <strong>MainActivity.java</strong>:</p>
<p><a href="https://i.stack.imgur.co... | I am new to android and following this tutorial: https://www.youtube.com/watch?v=qK0QNA0sMGc&t=2710s ( It's in Hindi ) In my MainActivity.java : When I'm trying to run the app it's giving errors saying: [CODE] It's asking me to put a semicolon at the end of Log.i(tag:"this", msg:"clickbtn: This is a message"); which I ... | java|android|android-activity|daemon | 0 | 2020-01-25T06:33:44.450Z | 2,020 | 1 | 6 | 5 | 239 | 5 | 431 | 40 | 4 | 2 | true | false | false | false | false | false | zero |
59,906,972 | Dynamic EditText is not adding above specified element in linear layout | <p>I am trying to add dynamic EditText in linear layout on click of a button.My problem is whenever I click button its is successfully adding EditText field but below the Button I want to show EditText above Button.</p>
<p>My root layout is Linear layout</p>
<p>Below is my code:</p>
<p><strong>Layout file</strong></... | I am trying to add dynamic EditText in linear layout on click of a button.My problem is whenever I click button its is successfully adding EditText field but below the Button I want to show EditText above Button. My root layout is Linear layout Below is my code: Layout file [CODE] Java code [CODE] Someone please let me... | android|xml | 0 | 2020-01-25T06:41:22.100Z | 2,020 | 1 | 6 | 5 | 35 | 2 | 385 | 71 | 2 | 2 | true | false | false | false | false | false | zero |
59,906,990 | How to I create Recycler View with Retrofit + Moshi | <p>I am trying to add recycler view to the json response.</p>
<p>I am able to successfull print the data I get through response in toast but I am not sure how to pass it along the RecyclerView adapter. Most of them talk about is Gson Converter and none on Moshi</p>
<p>I have searched internet for a while but I was h... | I am trying to add recycler view to the json response. I am able to successfull print the data I get through response in toast but I am not sure how to pass it along the RecyclerView adapter. Most of them talk about is Gson Converter and none on Moshi I have searched internet for a while but I was helpless. I am wonder... | java|android|retrofit|retrofit2|moshi | 0 | 2020-01-25T06:44:25.580Z | 2,020 | 1 | 6 | 5 | 269 | 1 | 797 | 51 | 5 | 6 | true | false | false | false | false | false | zero |
59,907,008 | Unable to load FFMPEG library "java.lang.UnsatisfiedLinkError: dlopen failed:" | <p>I am trying to build and run old ffmpeg project which, it was in eclipse and now i am trying to run it from Android studio, but app crash displaying below error.</p>
<pre><code>2020-01-25 11:57:52.621 26360-26360/org.lance.ffplayer E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.lance.ffplayer, PID: 26360
java... | I am trying to build and run old ffmpeg project which, it was in eclipse and now i am trying to run it from Android studio, but app crash displaying below error. [CODE] Below are configuration of my project, Android studio configuration image link - 1 Android studio configuration image link - 2 I have spent my entire d... | ffmpeg|android-ffmpeg|ffprobe|ffmpeg-php|pyffmpeg | 1 | 2020-01-25T06:47:57.977Z | 2,020 | 1 | 6 | 5 | 326 | 0 | 442 | 78 | 5 | 1 | true | true | false | false | false | false | low |
59,907,142 | I want to develop an Android chat app using PHP. How can I do it? without using Google Firebase Cloud Messeging and AWS | <p>I want to develop an <strong>Android chat app</strong> using PHP. How can I do it? <strong>without using Google Firebase Cloud Messeging and Amazon Web Service</strong>.</p> | I want to develop an Android chat app using PHP. How can I do it? without using Google Firebase Cloud Messeging and Amazon Web Service . | java|android | 0 | 2020-01-25T07:13:57.260Z | 2,020 | 1 | 7 | 5 | 35 | 1 | 136 | 119 | 2 | 0 | false | false | false | false | false | false | zero |
59,907,180 | sum() function of Sqlite does not seem to work as expected with room persistence library | <p>I want to calculate sum of weight field of all records in table, I tried:</p>
<p>In Dao class</p>
<pre><code>@Dao
interface FooDAO {
@Query("SELECT sum(purchaseWeight) FROM myTable")
suspend fun calculateSumOfAllWeight(): Int
}
</code></pre>
<p>In repository class</p>
<pre><code>class FooRepository(a... | I want to calculate sum of weight field of all records in table, I tried: In Dao class [CODE] In repository class [CODE] but It prints [CODE] in the logcat, I have referred This Link for working with sum() in sqlite. Update I have searched and found this and this SO posts and updated [CODE] and found This and updated [... | android|android-room|android-architecture-components|android-mvvm | 0 | 2020-01-25T07:20:07.080Z | 2,020 | 1 | 7 | 5 | 117 | 1 | 361 | 88 | 4 | 5 | true | false | false | false | false | false | zero |
59,907,219 | Custom action button in push notification react native android | <p>I want to develop push notifications which has custom action buttons (2 buttons) which says "Yes" & "No" clicking on "Yes" button calls an REST Api without actually opening the app.</p>
<p>The notification should work irrespective of whether the app is in foreground or background.</p>
<p>I am currently using f... | I want to develop push notifications which has custom action buttons (2 buttons) which says "Yes" & "No" clicking on "Yes" button calls an REST Api without actually opening the app. The notification should work irrespective of whether the app is in foreground or background. I am currently using firebase for showing Pus... | push-notification|react-native|android-push-notification | 0 | 2020-01-25T07:28:03.480Z | 2,020 | 1 | 7 | 5 | 1,878 | 0 | 578 | 62 | 3 | 1 | true | true | false | false | false | false | zero |
59,907,226 | How to maintain diffrent debug and production project in Android | <p>What could be the best structure of any android project so that we can separate the release and debug version? We can test debug and move it easily in the release version.</p>
<p>We are using the following SDKs that can impact on your answers,
1. Github
2. Firebase
3. Admob
4. Facebook audience network SDK</p>
<p>... | What could be the best structure of any android project so that we can separate the release and debug version? We can test debug and move it easily in the release version. We are using the following SDKs that can impact on your answers, 1. Github 2. Firebase 3. Admob 4. Facebook audience network SDK How to share the re... | android|firebase|github | 0 | 2020-01-25T07:28:43.350Z | 2,020 | 1 | 7 | 5 | 28 | 1 | 473 | 64 | 3 | 0 | false | false | false | false | false | false | zero |
59,907,277 | Handling a lot of EditText data in Android | <p>I am making some kind of table-like <strong>EditText</strong> that is 5 x 9 size.</p>
<p>So I first gave each of the <strong>45 EditTexts</strong> separate ids, but I'm keep thinking that it's too inconvenient to handle. </p>
<p>Is there any way to handle these 45 Strings more conveniently??</p> | I am making some kind of table-like EditText that is 5 x 9 size. So I first gave each of the 45 EditTexts separate ids, but I'm keep thinking that it's too inconvenient to handle. Is there any way to handle these 45 Strings more conveniently?? | java|android|android-edittext | 0 | 2020-01-25T07:38:27.357Z | 2,020 | 1 | 7 | 5 | 121 | 2 | 243 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
59,907,362 | Cannot instal APK or OBB onto phone. Unreal Engine 4 | <p>I am just trying to get a test app set up and packaged to my phone with Unreal Engine 4. It is just an empty starter level because I wanted to make sure that I had the Android CodeWorks set up correctly and that I could package a game and get it to work on a phone. Everything was running smoothly until it came time ... | I am just trying to get a test app set up and packaged to my phone with Unreal Engine 4. It is just an empty starter level because I wanted to make sure that I had the Android CodeWorks set up correctly and that I could package a game and get it to work on a phone. Everything was running smoothly until it came time to ... | android|unreal-engine4|game-development | 0 | 2020-01-25T07:54:05.077Z | 2,020 | 1 | 7 | 5 | 2,354 | 1 | 999 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
59,907,450 | How to handling a event touch for images? | <ul>
<li>I have the following code but when I touch the image it crashes the application.</li>
<li>I want to, after touching it, will draw me a word somewhere .</li>
</ul> | I have the following code but when I touch the image it crashes the application. I want to, after touching it, will draw me a word somewhere . | java|android|events|libgdx|touch | -1 | 2020-01-25T08:06:31.383Z | 2,020 | 1 | 8 | 5 | 35 | 1 | 142 | 41 | 5 | 0 | false | false | false | false | false | true | negative |
59,907,527 | Fragment webView for Button (to call or dial a number) [Android Studio] | <p>I have successfully added a <code>WebView</code> to a fragment, to load a website. However, some elements on the website, such as a button, link to a <code>tel=</code> scheme, resulting in an <code>err_unknown_url_scheme</code> error when pressed. How can I support this?</p>
<p>This is my code: </p>
<p><strong>fra... | I have successfully added a WebView to a fragment, to load a website. However, some elements on the website, such as a button, link to a tel= scheme, resulting in an err_unknown_url_scheme error when pressed. How can I support this? This is my code: fragment_notification.xml [CODE] NotificationsFragment.java [CODE] And... | android|button|webview|fragment|dialing | 0 | 2020-01-25T08:17:36.143Z | 2,020 | 1 | 8 | 5 | 265 | 1 | 343 | 71 | 5 | 3 | true | false | false | false | false | false | zero |
59,907,552 | Deep linking from Facebook Ad to 3rd party app | <p>I'm trying to setup deep links from a Facebook Ad to an app that I do not own (Shopee). Shopee does not provide any facility/guides to deep-link to them at the moment. I've tested that the app has properly setup deep linking on Android, i.e. clicking the link <code>https://shopee.ph/Korean-Mini-Cute-Sling-Bag-i.3065... | I'm trying to setup deep links from a Facebook Ad to an app that I do not own (Shopee). Shopee does not provide any facility/guides to deep-link to them at the moment. I've tested that the app has properly setup deep linking on Android, i.e. clicking the link https://shopee.ph/Korean-Mini-Cute-Sling-Bag-i.30650129.2385... | android|ios|facebook|deep-linking | 2 | 2020-01-25T08:23:12.403Z | 2,020 | 1 | 8 | 5 | 958 | 3 | 1,658 | 46 | 4 | 0 | false | false | false | false | false | false | low |
59,907,609 | How to detect android contact updated and sync to firestore | <p>I am trying to get all the android contacts which been updated.</p>
<p>I am saving on firebase the last contact id i added and the last updated timestamp</p>
<p>I am using the next function to get back a cursor of all the updated contacts to compare with firebase server</p>
<pre><code>private fun getUpdatedContac... | I am trying to get all the android contacts which been updated. I am saving on firebase the last contact id i added and the last updated timestamp I am using the next function to get back a cursor of all the updated contacts to compare with firebase server [CODE] But when i change one contact in my phone this cursor is... | android|google-cloud-firestore|synchronization|android-contacts | 1 | 2020-01-25T08:31:44.230Z | 2,020 | 1 | 8 | 5 | 1,025 | 2 | 636 | 59 | 4 | 1 | true | false | false | false | false | false | low |
59,907,639 | MainActivity getting extra string as null when open with Push Notification | <p>I am using a webview application and want to load the url which received in notification.
For that I am using <code>putExtra</code> to receive the url in main activity but I am getting null.</p>
<p>Here is my code FcmMessagingService code - </p>
<pre><code>public class FcmMessagingService extends FirebaseMessaging... | I am using a webview application and want to load the url which received in notification. For that I am using putExtra to receive the url in main activity but I am getting null. Here is my code FcmMessagingService code - [CODE] This is my MainActivity onCreate code - [CODE] When I open app directly logcat prints This i... | android|android-activity|push-notification|android-pendingintent | 0 | 2020-01-25T08:36:44.810Z | 2,020 | 1 | 8 | 5 | 495 | 4 | 733 | 74 | 4 | 4 | true | false | false | false | false | false | zero |
59,907,644 | Starting service doesn't work with "Unfortunately, App has stopped". No stack trace exception | <p>minSdkVersion 19
compileSdkVersion 29
targetSdkVersion 29</p>
<p>When my Application is trying to start a service, it works fine with <code>SdkVersion >= 24</code>.</p>
<p>But the service crashes with an "Unfortunately, App has stopped." if I try it with <code>SdkVersion < 24</code>. <code>OnCreate()</code> ... | minSdkVersion 19 compileSdkVersion 29 targetSdkVersion 29 When my Application is trying to start a service, it works fine with SdkVersion >= 24 . But the service crashes with an "Unfortunately, App has stopped." if I try it with SdkVersion < 24 . OnCreate() of the service is never called. The activity still runs, only ... | android|kotlin|service | 0 | 2020-01-25T08:37:52.983Z | 2,020 | 1 | 8 | 5 | 38 | 2 | 402 | 93 | 3 | 0 | false | false | false | false | false | false | zero |
59,907,647 | How to make visible an invisible snackbar in an if condition in Android? | <p>I have a question about Snackbar visibility. I set invisible the Snackbar on xml and I want to make it visible in an if condition but i don't know how to do it because I'm new at coding. If you can help me with this I'd be very happy. </p> | I have a question about Snackbar visibility. I set invisible the Snackbar on xml and I want to make it visible in an if condition but i don't know how to do it because I'm new at coding. If you can help me with this I'd be very happy. | java|android|android-snackbar | 0 | 2020-01-25T08:38:28.457Z | 2,020 | 1 | 8 | 5 | 174 | 2 | 234 | 72 | 3 | 0 | false | false | false | false | false | false | zero |
59,907,787 | running android dx quits batch script | <p>I am trying to build Android apps directly from the command line without using any build systems such as Gradle.</p>
<p>I wrote a small batch program which will do all the basic tasks required to build the apk file from the source code. This is my batch file :</p>
<pre><code>@echo off
set /P build_tools_version="E... | I am trying to build Android apps directly from the command line without using any build systems such as Gradle. I wrote a small batch program which will do all the basic tasks required to build the apk file from the source code. This is my batch file : [CODE] Where %ANDROID_SDK_ROOT% points to the Android SDK director... | android|batch-file | 0 | 2020-01-25T09:00:13.093Z | 2,020 | 1 | 9 | 5 | 155 | 1 | 511 | 37 | 2 | 1 | true | false | false | false | false | false | zero |
59,907,804 | Accessing data file on Android 9 Internal Memoy | <p>I had developed a small application on Android 4.5, 5 years ago.
This application is for searching on .csv files (text files) if a certain item was on the file.
The data .csv files were on a smartcard (external memory)
This was working.
Today I changed of mobile and run on Android 9.0.
I <strong>changed</strong> my... | I had developed a small application on Android 4.5, 5 years ago. This application is for searching on .csv files (text files) if a certain item was on the file. The data .csv files were on a smartcard (external memory) This was working. Today I changed of mobile and run on Android 9.0. I changed my application only to ... | java|android | 0 | 2020-01-25T09:03:09.340Z | 2,020 | 1 | 9 | 5 | 65 | 2 | 806 | 47 | 2 | 0 | false | false | false | false | false | false | zero |
59,907,819 | Error Getting Genre Columns(audio_genres) in Android Q/ Android 10 | <p>I am trying to find the Audio Genres from the device using following code</p>
<pre><code>public ArrayList<Genre> OriginalGenre() {
String query;
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
query = "_id in (select genre_id from audio_genres_map where audio_id in " +
... | I am trying to find the Audio Genres from the device using following code [CODE] [CODE] this is the error [CODE] This code works fine on Android N or less and above as well but not in Android Q. There have been changes in recent Android Q , but there is no proper solution available , can any one help I am testing on a ... | android|cursor|mediastore|android-10.0 | 0 | 2020-01-25T09:05:44.563Z | 2,020 | 1 | 9 | 5 | 235 | 0 | 362 | 66 | 4 | 3 | true | true | false | false | false | false | zero |
59,907,889 | Reusing layouts for fragments for one activity multiple fragments | <p>I am currently learning the one activity + multiple fragments approach, which is recommended by Google. I want to share some layouts between the fragments: toolbar, scrollbar, app bar. </p>
<p>What is the best way of doing this?</p>
<p>for example this app in GitHub:
<a href="https://github.com/mitchtabian/Open-AP... | I am currently learning the one activity + multiple fragments approach, which is recommended by Google. I want to share some layouts between the fragments: toolbar, scrollbar, app bar. What is the best way of doing this? for example this app in GitHub: https://github.com/mitchtabian/Open-API-Android-App | android-studio|android-layout|android-fragments|android-jetpack | 0 | 2020-01-25T09:16:01.120Z | 2,020 | 1 | 9 | 5 | 81 | 1 | 304 | 65 | 4 | 0 | false | false | false | false | false | false | zero |
59,907,911 | Not able to fetch JSON data [using volley Library] in Android | <p>The jason array request code goes like this:</p>
<pre><code> JsonArrayRequest arrayRequest = new JsonArrayRequest(Request.Method.GET,url, (JSONArray) null , new Response.Listener<JSONArray>() {
@Override
public void onResponse(JSONArray response) {
try {
... | The jason array request code goes like this: [CODE] And I've used a singleton instance of a request queue, to fetch the data, [CODE] I'm using an api service that supplies a bunch of questions (The api generates a url, which returns a collection of JSON Objects, An Array (Just try and Open the url link, the json array ... | android|arrays|json|android-volley | 1 | 2020-01-25T09:19:05.037Z | 2,020 | 1 | 9 | 5 | 106 | 1 | 670 | 61 | 4 | 2 | true | false | false | false | false | false | low |
59,907,921 | "Expected BEGIN_OBJECT but was BEGIN_ARRAY" error | <p>I am getting this erron using retrofit post api.</p>
<pre><code>Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 48 path $.data
</code></pre>
<p>My pojo class is given below:</p>
<pre><code>public class InFo_Post {
private String status;
private String msg;
private DataModel data;
public String getSta... | I am getting this erron using retrofit post api. [CODE] My pojo class is given below: [CODE] The response is given below: [CODE] Why is this error issued? | android|post|retrofit | 0 | 2020-01-25T09:20:46.990Z | 2,020 | 1 | 9 | 5 | 59 | 0 | 154 | 49 | 3 | 3 | true | true | false | false | false | false | zero |
59,907,944 | Not able to launch emulator in Android Studio (trying flutter for the first time) | <p>I go to tools -> AVD manager and click on the Run icon. I see starting AVD at the bottom, but emulator does not launch. If I try to run for the second time i get a popup error "AVD .... is already running, If that is not the case, delete the file..."</p>
<p><a href="https://i.stack.imgur.com/vlyqa.jpg" rel="nofollo... | I go to tools -> AVD manager and click on the Run icon. I see starting AVD at the bottom, but emulator does not launch. If I try to run for the second time i get a popup error "AVD .... is already running, If that is not the case, delete the file..." I delete the file and try again and the whole process repeats. thanks... | android|android-studio|flutter|android-emulator | 0 | 2020-01-25T09:23:35.760Z | 2,020 | 1 | 9 | 5 | 60 | 0 | 321 | 81 | 4 | 0 | false | true | false | false | false | false | zero |
59,907,948 | Flutter After loaded image show the widget | <p>I have made a flutter program with local images but when I open the program it shows a white background for like 3 seconds then it shows the image. Is there any way to show a loading icon until the image is loaded properly. I have used the following code:</p>
<pre><code>return Scaffold(
body:Container(
... | I have made a flutter program with local images but when I open the program it shows a white background for like 3 seconds then it shows the image. Is there any way to show a loading icon until the image is loaded properly. I have used the following code: [CODE] | android|flutter|dart | 0 | 2020-01-25T09:24:10.973Z | 2,020 | 1 | 9 | 5 | 129 | 1 | 262 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
59,907,961 | store problem latitude and longitude in realtime Firebase And have the following code | <p>This code is not storing latitude and longitude in firebase realtime database please help me I got stuck in between onlocationchanged method latitude and longitude showing in toast but not storing latitude and longitude in firebase realtime database please help me</p>
<blockquote>
<p><a href="https://i.stack.imgu... | This code is not storing latitude and longitude in firebase realtime database please help me I got stuck in between onlocationchanged method latitude and longitude showing in toast but not storing latitude and longitude in firebase realtime database please help me firebase Database JAVA package com.track_location.track... | android|firebase|firebase-realtime-database | 1 | 2020-01-25T09:25:22.807Z | 2,020 | 1 | 9 | 5 | 33 | 1 | 338 | 85 | 3 | 1 | true | false | false | false | false | false | low |
59,907,976 | Qt QML Camera shows a white screen after deployment | <p>I'm trying to build and deploy <a href="https://doc-snapshots.qt.io/qt5-5.11/qtmultimedia-multimedia-declarative-camera-example.html" rel="nofollow noreferrer">declarative-camera</a> example on my android phone but I keep receiving this error and a white screen:</p>
<blockquote>
<p>[SurfaceTexture-0-31406-1] bind... | I'm trying to build and deploy declarative-camera example on my android phone but I keep receiving this error and a white screen: [SurfaceTexture-0-31406-1] bindTextureImage: clearing GL error: 0x502 Although when I touch the screen it appears for less than a second then turns to white screen again. I'm using Qt 5.14/ ... | android|c++|qt|qml | 0 | 2020-01-25T09:27:23.350Z | 2,020 | 1 | 9 | 5 | 386 | 1 | 1,427 | 51 | 4 | 0 | false | false | false | false | false | false | zero |
59,908,067 | Java converting int variable to String by adding an empty string? | <p>The second argument of the <strong><em>addFormDataPart</em></strong> call should be a string. </p>
<pre><code> int privacyLevel = 0;
builder.addFormDataPart("privacy",privacyLevel);
</code></pre>
<p>However, since privacyLevel is an integer, it needs to be converted to String.</p>
<p><a href="https://i.stack.img... | The second argument of the addFormDataPart call should be a string. [CODE] However, since privacyLevel is an integer, it needs to be converted to String. In the tutorial, he made the conversion by adding an empty String at the end of privacyLevel: [CODE] I found this to be an unusual way of converting an int to string.... | java|android-studio | 0 | 2020-01-25T09:39:21.490Z | 2,020 | 1 | 9 | 5 | 407 | 1 | 481 | 65 | 2 | 2 | true | false | false | false | false | false | zero |
59,908,070 | Can't pass data to another fragment in Android (Kotlin) | <p>I've got a problem. I'm making an application for Android of the client of MQTT and I need to use the same parameters for MqttAndroidClient() method in different fragments. I've already tried to pass them in the bundle, with intent putExtra(), making objects of the class. The bundle and putExtra send the data to ano... | I've got a problem. I'm making an application for Android of the client of MQTT and I need to use the same parameters for MqttAndroidClient() method in different fragments. I've already tried to pass them in the bundle, with intent putExtra(), making objects of the class. The bundle and putExtra send the data to anothe... | android|android-fragments|kotlin|mqtt | 3 | 2020-01-25T09:39:42Z | -1 | -1 | -1 | -1 | 4,777 | 1 | 826 | 55 | 4 | 2 | true | false | true | false | false | false | low |
59,908,088 | how to save float array in sharedpreferences? | <p>I have float array
I need to save this array in sharedpreferences</p>
<pre><code>float[] arrayx = new float[1000];
</code></pre>
<p>and get this array again in the next log in to app,</p>
<p>how I can do it?</p>
<p>Thanks in advance!</p> | I have float array I need to save this array in sharedpreferences [CODE] and get this array again in the next log in to app, how I can do it? Thanks in advance! | java|android-studio | 2 | 2020-01-25T09:42:18.587Z | 2,020 | 1 | 9 | 5 | 448 | 2 | 160 | 45 | 2 | 1 | true | false | false | false | false | false | low |
59,908,103 | SendTextMessage Successfully but not receiving on All Mobiles | <p>In my Android Application, using Android sendtextmessage and sendmultiparttextmessage the message "sent broadcast" received successfully but most of recipients don't receive message. The message also shows in sent items of default message handling application.</p>
<p>Please help to figure out the issue.</p> | In my Android Application, using Android sendtextmessage and sendmultiparttextmessage the message "sent broadcast" received successfully but most of recipients don't receive message. The message also shows in sent items of default message handling application. Please help to figure out the issue. | android | 1 | 2020-01-25T09:44:23.720Z | 2,020 | 1 | 9 | 5 | 16 | 0 | 297 | 61 | 1 | 0 | false | true | false | false | false | false | low |
59,908,123 | Why ExoPlayer in Android OS-10 shows black preview screen while preview | <p>I am Recording the video in Landscape mode and showing the preview in portrait mode using Exoplayer while record the video continuously at the time change the orientation vice versa Once in while player preview showing a blank screen.
I am using Exoplayer 2.9.6 as a dependency on Gradle and using android OS versi... | I am Recording the video in Landscape mode and showing the preview in portrait mode using Exoplayer while record the video continuously at the time change the orientation vice versa Once in while player preview showing a blank screen. I am using Exoplayer 2.9.6 as a dependency on Gradle and using android OS version 10.... | java|android|exoplayer | 7 | 2020-01-25T09:47:16.313Z | 2,020 | 1 | 9 | 5 | 1,242 | 1 | 1,716 | 71 | 3 | 0 | false | false | false | false | false | false | medium |
59,908,142 | scrolling background in game android studio.Background moves towards right with screen blinking how to solve it | <p>I want to implement a <strong>scrolling background</strong> in my game in android studio.</p>
<p>My idea was to have two Bitmaps, who are drawn next to each other and to reset the position of a bitmap if it is not the screen anymore</p>
<ol>
<li>The background moves <strong>right</strong></li>
<li>the screen is <s... | I want to implement a scrolling background in my game in android studio. My idea was to have two Bitmaps, who are drawn next to each other and to reset the position of a bitmap if it is not the screen anymore The background moves right the screen is blinking How can I solve my problems? my SurfaceView class [CODE] my B... | java|android|2d-games | -2 | 2020-01-25T09:50:51.037Z | 2,020 | 1 | 9 | 5 | 533 | 2 | 342 | 111 | 3 | 2 | true | false | false | false | false | true | negative |
59,908,191 | Some Url Not Load in WebView | <p>I'm trying to load a URL in an android WebView, which is in a Activity. I was able to accomplish this, but the website was launching the default browser. I found the setWebViewClient method and it kept the website within the WebView inside of the app versus launching the default browser. However - this was showing a... | I'm trying to load a URL in an android WebView, which is in a Activity. I was able to accomplish this, but the website was launching the default browser. I found the setWebViewClient method and it kept the website within the WebView inside of the app versus launching the default browser. However - this was showing a bl... | android | -1 | 2020-01-25T09:59:07.743Z | 2,020 | 1 | 9 | 5 | 263 | 1 | 755 | 28 | 1 | 1 | true | false | false | false | false | true | negative |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.