id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,391,329 | Unity Gradle build failed error on Android building | <p>While building an application for Android, I came across an error that read: 'gradle build error. Please see Console'.</p>
<p>And when I saw the console, I did not understand the words.</p>
<p>This is the collapsed error:</p>
<pre><code>D:/UnityInstalled/Unity/Editor/2019.4.39f1/Editor/Data/PlaybackEngines/AndroidPl... | While building an application for Android, I came across an error that read: 'gradle build error. Please see Console'. And when I saw the console, I did not understand the words. This is the collapsed error: [CODE] | java|android|unity3d|gradle|sdk | 2 | 2022-05-26T11:48:08.103Z | 2,022 | 5 | 11 | 3 | 284 | 0 | 214 | 51 | 5 | 1 | true | true | false | false | false | false | low |
72,391,464 | How to show view of WindowManager over navigation bar and status bar? | <p>I wanted to show a view (like sidebar) above/over status bar and navigation bar</p>
<p>I used this Flag in params</p>
<pre><code>param = WindowManager.LayoutParams(
ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT,
0,
0,
Comman.getPh... | I wanted to show a view (like sidebar) above/over status bar and navigation bar I used this Flag in params [CODE] but the view is behind status bar and navigation buttons. (NOTE: View is not fullscreen view it's a view like sidebar having wrap content height width) | android|kotlin|android-windowmanager|android-statusbar|android-navigation-bar | 0 | 2022-05-26T11:59:07.150Z | 2,022 | 5 | 11 | 3 | 79 | 0 | 265 | 69 | 5 | 1 | true | true | false | false | false | false | zero |
72,391,516 | Android studio chipmunk layout not refreshing | <p>I am using the Android Studio Chipmunk here the the about info:</p>
<pre><code>Android Studio Chipmunk | 2021.2.1
Build #AI-212.5712.43.2112.8512546, built on April 28, 2022
Runtime version: 11.0.12+7-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G... | I am using the Android Studio Chipmunk here the the about info: [CODE] When I am trying to any views in layout it is not refreshing in the design part. Workaround: Need to clean and rebuild the project to make it refresh again. Any solution for this without cleaning and rebuilding? | android-studio|android-studio-chipmunk | 1 | 2022-05-26T12:02:34.753Z | 2,022 | 5 | 12 | 3 | 197 | 1 | 282 | 45 | 2 | 1 | true | false | false | false | false | false | low |
72,391,624 | SnackBar Direction in Compose | <p>I implement user interface in Jetpack Compose, and <strong>want to show SnackBar inside Compose functions</strong>.</p>
<p><strong>the issue is that i can't change SnackBar's Layout Direction to Rtl.</strong></p>
<p>What I've implemented to change the direction:</p>
<pre><code>LaunchedEffect(SnackbarHost(hostState =... | I implement user interface in Jetpack Compose, and want to show SnackBar inside Compose functions . the issue is that i can't change SnackBar's Layout Direction to Rtl. What I've implemented to change the direction: [CODE] | android|kotlin|android-jetpack-compose|android-snackbar|android-layout-direction | 0 | 2022-05-26T12:11:27.627Z | 2,022 | 5 | 12 | 3 | 86 | 0 | 222 | 29 | 5 | 1 | true | true | false | false | false | false | zero |
72,391,664 | android, how to set dynamically button and edit text | <p><a href="https://i.stack.imgur.com/AG1lp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AG1lp.jpg" alt="enter image description here" /></a></p>
<p>in my android project ,as show in picture, how to event click on every added button.
on click button add new view, on same as new view add same.
this... | in my android project ,as show in picture, how to event click on every added button. on click button add new view, on same as new view add same. this is how i add new views.. [CODE] now i want button click on every new views. | android|android-studio|view | 0 | 2022-05-26T12:15:15.550Z | 2,022 | 5 | 12 | 3 | 26 | 0 | 225 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
72,391,669 | How to cache recycler view items once loaded | <p>I am creating a Xamarin.Android application using MvvmCross framework.
I am currently using RecyclerViews to show a list of data and images, but once the item is out of the frame and loaded again it also loads the images.
I don't want that to happen, I want the images to be cached once loaded.
If anyone has any idea... | I am creating a Xamarin.Android application using MvvmCross framework. I am currently using RecyclerViews to show a list of data and images, but once the item is out of the frame and loaded again it also loads the images. I don't want that to happen, I want the images to be cached once loaded. If anyone has any idea ab... | android|image|caching|android-recyclerview | 0 | 2022-05-26T12:15:43.403Z | 2,022 | 5 | 12 | 3 | 42 | 0 | 364 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
72,391,795 | Can we ever disable the gradle offline mode permanently? | <p>Got following error while syncing the <code>Gradle</code></p>
<p><a href="https://i.stack.imgur.com/iZbeG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iZbeG.png" alt="enter image description here" /></a></p>
<p>There is no use even though I tapped on <strong>- Disable offline mode and rerun the... | Got following error while syncing the Gradle There is no use even though I tapped on - Disable offline mode and rerun the build Here you can see that Offline mode is disabled I have gone through these SO questions, But there is no use. Some solutions are outdated and some are not working How to disable gradle 'offl... | android|gradle|offline-mode | 1 | 2022-05-26T12:26:01.840Z | 2,022 | 5 | 12 | 3 | 66 | 0 | 544 | 56 | 3 | 0 | false | true | false | false | false | false | low |
72,391,838 | Reason for apk size decrease when enable ndk | <p>When I was generating an apk in release mode without enabling ndk in build.gradle my apk size in release mode was 136 mb and when I enabled ndk in app/build.gradle and then build an apk in release mode my apk size has been reduced into 92 mb and generated a zip file inside app/outputs/native-debug-symbols/release/na... | When I was generating an apk in release mode without enabling ndk in build.gradle my apk size in release mode was 136 mb and when I enabled ndk in app/build.gradle and then build an apk in release mode my apk size has been reduced into 92 mb and generated a zip file inside app/outputs/native-debug-symbols/release/nativ... | android|flutter|android-ndk|apk | 0 | 2022-05-26T12:29:57.443Z | 2,022 | 5 | 12 | 3 | 48 | 0 | 414 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
72,391,941 | Verification failed: call 1 of 1: InfoRepository(infoRepository#29).insert(eq([infoObj]), eq([]), any())) was not called | <pre><code>// Tests Function In Test Class
@Test
fun checkInsertInfo() {
val infos: MutableList<Info> = mutableListOf()
val info = Info()
info.infoNumber = "1"
infos.add(info)
val otherInfos: List<OtherInfo> = mutableListOf()
viewModel.insertData(infos, otherInfos)
coVe... | [CODE] I am trying to write a test repo method is invoked or not but I am getting following error // Error Verification failed: call 1 of 1: InfoRepository(infoRepository#29).insert(eq([com.example.model.Info@5fb7ab9c]), eq([]), any())) was not called java.lang.AssertionError: Verification failed: call 1 of 1: InfoRepo... | android|unit-testing|viewmodel|kotlin-coroutines|mockk | 0 | 2022-05-26T12:37:45.140Z | 2,022 | 5 | 12 | 3 | 51 | 0 | 5,060 | 120 | 5 | 1 | true | true | false | false | false | false | zero |
72,391,959 | Getting update issue in recent times in Android xamarin | <p>Installed version and Appstore version seems to be same but in last few days we are facing force update in our app randomly</p>
<pre><code>var version = await Task.Run(async () =>
{
var uri = new Uri($"https://play.google.com/store/apps/details?id={PackageName}&hl=en");
using (var client = n... | Installed version and Appstore version seems to be same but in last few days we are facing force update in our app randomly [CODE] When matches returns unknown because matches count sometime getting 0 values Can anyone facing this issue and how could resolve this issue. Thanks Advance. | xamarin.forms|xamarin.android|google-play-services|version | 0 | 2022-05-26T12:39:25.727Z | 2,022 | 5 | 12 | 3 | 58 | 0 | 286 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
72,391,984 | how to store last 2 months data in local chache (not in local database) date wish in android in java | <p>Need to store past SEVEN months data in local(not in local database). First I need to store first
TWO months date wise data in local. After that if TWO months data exceeds then again need to call
api and store next TWO months data in local date wise and again for TWO months and lastly for 1
month as it is last SEVEB... | Need to store past SEVEN months data in local(not in local database). First I need to store first TWO months date wise data in local. After that if TWO months data exceeds then again need to call api and store next TWO months data in local date wise and again for TWO months and lastly for 1 month as it is last SEVEB mo... | java|android|date|caching|local | -1 | 2022-05-26T12:41:00.603Z | 2,022 | 5 | 12 | 3 | 27 | 1 | 633 | 100 | 5 | 1 | true | false | false | false | false | true | negative |
72,392,003 | java NullPointer Exception | <p>Currently developing a mobile app using java with android studio. (Beginner) I have 3 fragments (ToDo,Doing,Done) with on top a tablayout(ToDo,Ongoing,Finished) and a toolbar with an add button.</p>
<p>The add button should create a list allowing the user to modify the content of each <code>list(Recyclerviewer)</cod... | Currently developing a mobile app using java with android studio. (Beginner) I have 3 fragments (ToDo,Doing,Done) with on top a tablayout(ToDo,Ongoing,Finished) and a toolbar with an add button. The add button should create a list allowing the user to modify the content of each list(Recyclerviewer) Obtain error: java.l... | android|android-recyclerview | 0 | 2022-05-26T12:42:34.573Z | 2,022 | 5 | 12 | 3 | 64 | 1 | 550 | 26 | 2 | 1 | true | false | false | false | false | false | zero |
72,392,026 | how to solve BadParcelableException problem | <p>the code can not run in android 13 of Pixel4 , but it can run in other phone.</p>
<pre><code> Intent share_intent = new Intent();
share_intent.setAction(Intent.ACTION_SEND);
share_intent.setType("video/*");
share_intent.putExtra(Intent.EXTRA_STREAM,fileUri);
... | the code can not run in android 13 of Pixel4 , but it can run in other phone. [CODE] it will throw the exception [CODE] PS: what is It looks like your post is mostly code; please add some more details. , but i have no details to say , this is all, but why i cant post... for the exception do you have the same quest? who... | android | 0 | 2022-05-26T12:44:30.653Z | 2,022 | 5 | 12 | 3 | 51 | 0 | 340 | 43 | 1 | 2 | true | true | false | false | false | false | zero |
72,392,106 | React-Native build from Android source failing on Windows | <p>I am trying to build React-Native from source on Android.
On running <code>yarn install-android-jsc</code> inside rn-tester package</p>
<p>It gives me this error:</p>
<blockquote>
<p>Task :packages:rn-tester:android:app:buildCodegenCLI FAILED</p>
</blockquote>
<blockquote>
<p>`Execution failed for task
':packages:rn... | I am trying to build React-Native from source on Android. On running yarn install-android-jsc inside rn-tester package It gives me this error: Task :packages:rn-tester:android:app:buildCodegenCLI FAILED `Execution failed for task ':packages:rn-tester:android:app:buildCodegenCLI'. A problem occurred starting process 'co... | android|react-native | 0 | 2022-05-26T12:50:06.690Z | 2,022 | 5 | 12 | 3 | 32 | 0 | 408 | 57 | 2 | 0 | false | true | false | false | false | false | zero |
72,392,127 | How to draw dashed border with padding around bitmap android? | <p>I would like to draw stroke around bitmap. getting left and right side point of bitmap and drawing line using path and points.
got border around bitmap using below code and set it below imageview. but when i apply padding it want draw border with appropriate padding.</p>
<pre><code>private suspend fun drawBorder(
... | I would like to draw stroke around bitmap. getting left and right side point of bitmap and drawing line using path and points. got border around bitmap using below code and set it below imageview. but when i apply padding it want draw border with appropriate padding. [CODE] Now i would like to draw dashed with padding ... | android|android-studio|kotlin|android-canvas|android-bitmap | 1 | 2022-05-26T12:51:31.580Z | 2,022 | 5 | 12 | 3 | 138 | 1 | 385 | 61 | 5 | 1 | true | false | false | false | false | false | low |
72,392,156 | Android NDK Firebase Crashlytics Symbolication ( C++ ) | <p>I'm getting NDK Crashes in Firebase from my Android app written in java, but there is no symbolication for them, only:</p>
<pre><code>SEGV 0x0000000000000000
libnative-lib.so
(Missing UUID bbcaa3aa5d4aea6d2f4865d907eced52ccb8835a)
libart.so
(Missing UUID adb75d6f792faa24b1bc8cf512fb112c)
</code></pre>
<p>I've follow... | I'm getting NDK Crashes in Firebase from my Android app written in java, but there is no symbolication for them, only: [CODE] I've followed all indications from the Firebase documentation but still nothing. Here's my app level gradle: [CODE] And app level gradle: [CODE] And pro guard: [CODE] What could it be ? I'm stuc... | android|firebase|android-ndk|crashlytics | 0 | 2022-05-26T12:53:39.027Z | 2,022 | 5 | 12 | 3 | 16 | 0 | 365 | 54 | 4 | 4 | true | true | false | false | false | false | zero |
72,392,172 | When compiled c function from different platforms and got symbols in difference with __kernel__ | <p>I tried to compile open source library <code>nmap</code> for the android platform.</p>
<p>In ubuntu, I used ndk tookchain to build libnetutil and get <code>libnetutil.a</code>.
With nm, I lookup symbol for fuction:
<code>int mac_cache_get(const struct sockaddr_storage *ss, u8 *mac);</code>
I got symbol <code>_Z13mac... | I tried to compile open source library nmap for the android platform. In ubuntu, I used ndk tookchain to build libnetutil and get libnetutil.a . With nm, I lookup symbol for fuction: int mac_cache_get(const struct sockaddr_storage *ss, u8 *mac); I got symbol _Z13mac_cache_getPK25__kernel_sockaddr_storagePh . But on Mac... | android|c|undefined-symbol | 0 | 2022-05-26T12:55:34.073Z | 2,022 | 5 | 12 | 3 | 30 | 1 | 853 | 95 | 3 | 0 | false | false | false | false | false | false | zero |
72,392,205 | Unit Test coverage not sync and saved in Android Studio Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true | <p>Below Alert prompted after run unit test cases in Android Studio for code coverage.
After Recompile clicked below error comes.</p>
<pre><code>Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true
</code></pre>
<p>Solution Tried :</p>
<blockquote>
<p>Clean Build</p>
</blockquote>
<blockquote>
<... | Below Alert prompted after run unit test cases in Android Studio for code coverage. After Recompile clicked below error comes. [CODE] Solution Tried : Clean Build Rebuild Invalidate Cache & Restart Optimize Imports | android|android-studio|unit-testing|kotlin | 7 | 2022-05-26T12:58:04.297Z | 2,022 | 5 | 12 | 3 | 158 | 0 | 214 | 132 | 4 | 1 | true | true | false | false | false | false | medium |
72,392,213 | checkSelfPermission is not working properly | <p>I'm trying to do a quick test app that allow me to turn on a off Bluetooth and I code the listeners for clicks in the buttons. This is the one that turn Bluetooth on:</p>
<pre><code>mOnBtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (!mBlu... | I'm trying to do a quick test app that allow me to turn on a off Bluetooth and I code the listeners for clicks in the buttons. This is the one that turn Bluetooth on: [CODE] The thing is that Android Studio force me to add the: [CODE] check error but even I have all the permissions they asked me in AndroidManifest.xml:... | android|android-studio|android-bluetooth | 0 | 2022-05-26T12:58:47.887Z | 2,022 | 5 | 12 | 3 | 152 | 1 | 443 | 43 | 3 | 4 | true | false | false | false | false | false | zero |
72,392,279 | Qt6 Android cursor select handle can't follow textarea when open keyboard | <p>Qt environment: Qt6.2</p>
<p>Why is the bubble selection handle at the bottom, it should always be near the cursor.</p>
<p><a href="https://i.stack.imgur.com/rNkVll.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rNkVll.jpg" alt="this is issue picture" /></a></p>
<p>Textarea code:</p>
<pre><code>T... | Qt environment: Qt6.2 Why is the bubble selection handle at the bottom, it should always be near the cursor. Textarea code: [CODE] | android|qt|qml | 0 | 2022-05-26T13:03:40.650Z | 2,022 | 5 | 13 | 3 | 46 | 1 | 130 | 73 | 3 | 1 | true | false | false | false | false | false | zero |
72,392,353 | LateInitializationError: Field '_preferences@56516396' has not been initialized | <p>I think, the given error "LateInitializationError: Field '_preferences@56516396' has not been initialized.", is in this code. I don't get the error correctly where is that, That's why I want your help to find it.</p>
<p>import 'dart:convert';</p>
<pre><code>import 'package:buis_talk/screens/profile/model/u... | I think, the given error "LateInitializationError: Field '_preferences@56516396' has not been initialized.", is in this code. I don't get the error correctly where is that, That's why I want your help to find it. import 'dart:convert'; [CODE] This is the profile screen which is the main screen that display on... | android|flutter|dart | 0 | 2022-05-26T13:09:07.570Z | 2,022 | 5 | 13 | 3 | 26 | 1 | 567 | 79 | 3 | 3 | true | false | false | false | false | false | zero |
72,392,414 | How to Resize background image to match the Layout? | <p>I have a question, how do you resize a background image in android studio to match the whole layout for example:
I have a drawable that is landscape by default, but my layout is horizontal, I want to decrease the width and increase the height of thag photo to match thr layout, how do I do that??</p> | I have a question, how do you resize a background image in android studio to match the whole layout for example: I have a drawable that is landscape by default, but my layout is horizontal, I want to decrease the width and increase the height of thag photo to match thr layout, how do I do that?? | java|android|xml|android-studio|android-layout | 0 | 2022-05-26T13:13:17.770Z | 2,022 | 5 | 13 | 3 | 105 | 4 | 296 | 51 | 5 | 0 | false | false | false | false | false | false | zero |
72,392,514 | How to save condition of button after closing app? | <p>This is code of button:</p>
<pre><code> button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
button.setEnabled(false);
new Handler().postDelayed(new Runnable() {
@Override
public void ... | This is code of button: [CODE] I know that i need to create a sharedpreferences, but I didn't understand how to save condition of button which have a timer, because i know how to save without ussing handler. How can i do this? | java|android|button|sharedpreferences | 0 | 2022-05-26T13:20:33.640Z | 2,022 | 5 | 13 | 3 | 52 | 1 | 226 | 50 | 4 | 1 | true | false | false | false | false | false | zero |
72,392,587 | QR Code coming out too blurry on Android 11 | <p>I built an Android app that prints out QR codes in 2018 using a 3rd party (Dothantech's LPAPI) SDK.
It was run on Android 7 tablets from RCA without any issues.</p>
<p>Recently, the tablets were upgraded to Android 11 ones from Samsung. Although my app code wasn't changed (i.e. same APK), the QR codes are now coming... | I built an Android app that prints out QR codes in 2018 using a 3rd party (Dothantech's LPAPI) SDK. It was run on Android 7 tablets from RCA without any issues. Recently, the tablets were upgraded to Android 11 ones from Samsung. Although my app code wasn't changed (i.e. same APK), the QR codes are now coming out a lot... | android|qr-code|android-7.0-nougat|android-11 | -1 | 2022-05-26T13:26:31.017Z | 2,022 | 5 | 13 | 3 | 58 | 1 | 692 | 43 | 4 | 0 | false | false | false | false | false | true | negative |
72,392,599 | How to set am image using AsyncImage when getting data from Firebase? | <p>I have a repository class, where I create a Firestore call to get an image URL:</p>
<pre><code>override suspend fun getImageUrl() = flow {
try {
emit(Response.Loading)
val imageUrl = ref.document(id).get().await().getString("imageUrl")
emit(Response.Success(imageUrl))
} catc... | I have a repository class, where I create a Firestore call to get an image URL: [CODE] In the ViewModel class I have a State object where I set the URL like this: [CODE] Inside my ProfileScreen I have this: [CODE] And this what I have done to track the error: [CODE] The problem is that I get the URL correctly from the ... | android|firebase|kotlin|android-jetpack-compose|coil | 0 | 2022-05-26T13:27:19.223Z | 2,022 | 5 | 13 | 3 | 104 | 1 | 465 | 69 | 5 | 4 | true | false | false | false | false | false | zero |
72,392,600 | how can i connect my android testing application to amazon tester app in in-app purchasing (iap) | <p>sendbox send a request but not retrieve the user data in this method</p>
<p>public void onUserDataResponse(UserDataResponse userDataResponse) {</p>
<pre><code> final UserDataResponse.RequestStatus status = userDataResponse.getRequestStatus();
switch (status) {
case SUCCESSFUL:
... | sendbox send a request but not retrieve the user data in this method public void onUserDataResponse(UserDataResponse userDataResponse) { [CODE] | android|performance|android-studio|in-app-purchase|amazon | 0 | 2022-05-26T13:27:20.097Z | 2,022 | 5 | 13 | 3 | 12 | 0 | 143 | 96 | 5 | 1 | true | true | false | false | false | false | zero |
72,392,707 | setContentView(R.layout.activity_acknowledgement) keeps crashing my app | <p>I am doing a quiz app in android studio and this setContentView(R.layout.activity_acknowledgement line from my acknowledge activity keeps crashing my project and keeps showing "the app has stopped " while running.</p>
<pre><code> import android.content.Intent
import android.os.Bundle
import android.widge... | I am doing a quiz app in android studio and this setContentView(R.layout.activity_acknowledgement line from my acknowledge activity keeps crashing my project and keeps showing "the app has stopped " while running. [CODE] Logcat says that the problem is on setcontentView line. This is my logcat [CODE] and this... | android|android-studio|kotlin|error-handling|logcat | 0 | 2022-05-26T13:35:48.403Z | 2,022 | 5 | 13 | 3 | 42 | 1 | 530 | 71 | 5 | 3 | true | false | false | false | false | false | zero |
72,392,832 | How to prompt a banner on mobile web to promote users to download the app instead? | <p>The website is developed with React. When users open my website on an iPhone or an Android phone, how to show a banner to promote the user to download or use the IOS or Android app instead of the website on a browser?</p>
<p>Here is an example with reddit.com, when opening reddit.com on an iPhone or an Android phone... | The website is developed with React. When users open my website on an iPhone or an Android phone, how to show a banner to promote the user to download or use the IOS or Android app instead of the website on a browser? Here is an example with reddit.com, when opening reddit.com on an iPhone or an Android phone, it shows... | android|ios|reactjs|smartbanner | 1 | 2022-05-26T13:42:42.807Z | 2,022 | 5 | 13 | 3 | 288 | 2 | 399 | 82 | 4 | 0 | false | false | false | false | false | false | low |
72,392,925 | Error while building with sdk 29 in qt creator | <p>I'm working on a qt android application with Qt 6.2.4
, setting the sdk platform version to 29, I get the following errors</p>
<pre><code>15:44:16: Running steps for project CameraErrorWorkOn...
15:44:16: Starting: "/home/linus/Qt/6.2.4/android_arm64_v8a/bin/qmake" /home/linus/Scrivania/qt/CameraErrorWorkO... | I'm working on a qt android application with Qt 6.2.4 , setting the sdk platform version to 29, I get the following errors [CODE] My building kit is The code is the default code of QQuickApplication template, I couldn t figure out what's going on, if anybody is able to help me I'd really appreciate, thank you in advanc... | android|c++|qt|gradle | 0 | 2022-05-26T13:50:16.020Z | 2,022 | 5 | 13 | 3 | 164 | 0 | 321 | 46 | 4 | 1 | true | true | false | false | false | false | zero |
72,392,938 | How to get Local/language of App from AccessibilityEvent in android | <p>For some reason, I need to get the language of the active app in my AccessibilityService. Is there any option to get local of the app with AccessibilityService?</p>
<p>I have inspected AccessibilityNodeInfo and could not find any language info there, Is it possible to detect the local of 3rd party app?</p> | For some reason, I need to get the language of the active app in my AccessibilityService. Is there any option to get local of the app with AccessibilityService? I have inspected AccessibilityNodeInfo and could not find any language info there, Is it possible to detect the local of 3rd party app? | android|accessibility | 0 | 2022-05-26T13:51:36.697Z | 2,022 | 5 | 13 | 3 | 20 | 0 | 296 | 67 | 2 | 0 | false | true | false | false | false | false | zero |
72,392,958 | Variable not changing properly when called in a Volley JsonObjectRequest | <p>I have a boolean function called <code>isAlreadyInDatabase(String email, String password)</code> which checks if an email address and a password are already present on a database (an excel file).</p>
<p>To do so, the method creates an <code>EmailAndPasswordGet</code> object and calls a <code>checkEmailAndPassword(em... | I have a boolean function called isAlreadyInDatabase(String email, String password) which checks if an email address and a password are already present on a database (an excel file). To do so, the method creates an EmailAndPasswordGet object and calls a checkEmailAndPassword(email, password) method. Here's the code: [C... | java|android|variables|request|android-volley | 1 | 2022-05-26T13:52:44.850Z | 2,022 | 5 | 13 | 3 | 23 | 0 | 1,353 | 72 | 5 | 3 | true | true | false | false | false | false | low |
72,392,961 | I am not able to access x:Name of lable controls in ListView in XAML and Code behind | <p>I have a ListView in Xamarin forms which has a Viewcell in it. The Viewcell contains an lable control with a x:Name attribute. Now I tried to x:name in code behind but it is showing compile time error(The x:name does not exists in current context).
The below code im using.</p>
<pre><code><ListView x:Name="Un... | I have a ListView in Xamarin forms which has a Viewcell in it. The Viewcell contains an lable control with a x:Name attribute. Now I tried to x:name in code behind but it is showing compile time error(The x:name does not exists in current context). The below code im using. [CODE] | xaml|xamarin|xamarin.forms|xamarin.android|xamarin-studio | 0 | 2022-05-26T13:53:00.647Z | 2,022 | 5 | 13 | 3 | 274 | 1 | 280 | 84 | 5 | 1 | true | false | false | false | false | false | zero |
72,393,012 | Passing Android / iOS specific arguments in Actual / Expect classes in Kotlin Mutliplatform project | <p>So I'm trying to integrate KMM module into an already existing android app. I'm exposing a class from common KMM module into the Android project, which looks something like this (please ignore the syntax, it's written just for reference of what I'm doing) -</p>
<pre><code>// Common KMM Module
import CustomDataType /... | So I'm trying to integrate KMM module into an already existing android app. I'm exposing a class from common KMM module into the Android project, which looks something like this (please ignore the syntax, it's written just for reference of what I'm doing) - [CODE] The android method would get called frequently through ... | java|android|kotlin|kotlin-multiplatform|kmm | 1 | 2022-05-26T13:56:53.127Z | 2,022 | 5 | 13 | 3 | 85 | 1 | 625 | 99 | 5 | 1 | true | false | false | false | false | false | low |
72,393,097 | Weird Band Color on the Selected Item's Surface | <p>I have a weird issue when the selection is highlighted in a recycler view. This problem occurs as of API level 30 and above as per my tests. I did not observed any problem like this within the lower API levels, at least APIs below 28.</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>A scr... | I have a weird issue when the selection is highlighted in a recycler view. This problem occurs as of API level 30 and above as per my tests. I did not observed any problem like this within the lower API levels, at least APIs below 28. A screenshot of API 30 A screenshot of API 27 This screenshot is taken from a Motorol... | android|user-interface|selection|android-api-levels | 0 | 2022-05-26T14:02:50.467Z | 2,022 | 5 | 14 | 3 | 126 | 1 | 1,053 | 47 | 4 | 3 | true | false | false | false | false | false | zero |
72,393,129 | Flutter user not being able to log in from firebase | <p>I am trying to build a log in and logout feature in flutter using firebase auth. I have created the UI and have even assigned controllers to the email and password. My project is also connected to firebase and all relevant packages installed. After I log in, a new page is supposed to open displaying "Signed In&... | I am trying to build a log in and logout feature in flutter using firebase auth. I have created the UI and have even assigned controllers to the email and password. My project is also connected to firebase and all relevant packages installed. After I log in, a new page is supposed to open displaying "Signed In&quo... | android|flutter|firebase|firebase-authentication | 0 | 2022-05-26T14:04:58.650Z | 2,022 | 5 | 14 | 3 | 50 | 1 | 665 | 51 | 4 | 4 | true | false | false | false | false | false | zero |
72,393,225 | Why different devices measured different distances using ARCore? | <p>I used ARCore to develop an app for getting the distance of the device camera from eyes. However, different devices obtained different distances and pose's translation.</p>
<ol>
<li>Example:</li>
</ol>
<p>I have two devices, SAMSUNG GALAXY NOTE 20 ULTRA 5G and HUAWEI HONOR 10. When the distance between my eyes and t... | I used ARCore to develop an app for getting the distance of the device camera from eyes. However, different devices obtained different distances and pose's translation. Example: I have two devices, SAMSUNG GALAXY NOTE 20 ULTRA 5G and HUAWEI HONOR 10. When the distance between my eyes and the camera is constant, the Not... | android|arcore | 0 | 2022-05-26T14:12:03.757Z | 2,022 | 5 | 14 | 3 | 22 | 0 | 493 | 64 | 2 | 1 | true | true | false | false | false | false | zero |
72,393,265 | react native's flex doesn't work when the "on-screen button" is turned on | <p>Whenever I turn off my android phone's "on-screen default button" (picture1), react-native's "flex" works well. But whenever I turn on the phone's "on-screen default button" (picture 2), I can't see the bottom portion (in the picture "hey there!").</p>
<p>In this case, <strong... | Whenever I turn off my android phone's "on-screen default button" (picture1), react-native's "flex" works well. But whenever I turn on the phone's "on-screen default button" (picture 2), I can't see the bottom portion (in the picture "hey there!"). In this case, I want to show &q... | android|react-native | 0 | 2022-05-26T14:15:24.200Z | 2,022 | 5 | 14 | 3 | 29 | 1 | 473 | 73 | 2 | 1 | true | false | false | false | false | false | zero |
72,393,394 | Can't build for android on Mac with buildozer | <p>I wrote a program in python and wrote a .kv file and I can run it and it works properly. But when I want to build it for android using buildozer after navigating to the working directory and typing <code>buildozer init</code> and then in the spec file adding the icon and the presplash, after that i write <code>build... | I wrote a program in python and wrote a .kv file and I can run it and it works properly. But when I want to build it for android using buildozer after navigating to the working directory and typing buildozer init and then in the spec file adding the icon and the presplash, after that i write buildozer -v android debug ... | python|android|buildozer | 0 | 2022-05-26T14:24:10.983Z | 2,022 | 5 | 14 | 3 | 175 | 1 | 3,531 | 45 | 3 | 3 | true | false | false | false | false | false | zero |
72,393,430 | error to parse json file without escape sequence in android studio | <p>"{"type":"FeatureCollection","metadata":{"generated":1462295443000,"url":"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2016-01-01&endtime=2016-01-31&minmag=6&limit=10","title":"USGS Earthquake... | "{"type":"FeatureCollection","metadata":{"generated":1462295443000,"url":"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2016-01-01&endtime=2016-01-31&minmag=6&limit=10","title":"USGS Earthquakes","statu... | android-studio|jsonparser|android-developer-api | 0 | 2022-05-26T14:26:40.620Z | 2,022 | 5 | 14 | 3 | 12 | 0 | 3,365 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
72,393,562 | Android two way data binding with float MutableLiveData | <p>I need two way data binding from EditText to MutableLiveData.
One way work fine, from LiveData to View:</p>
<pre><code>@BindingAdapter("app:dtm")
fun AppCompatEditText.conversion(value: Float) {
Log.d("DTAG","Find")
setText(value.toString())
}
</code></pre>
<p>But the other way, from Ed... | I need two way data binding from EditText to MutableLiveData. One way work fine, from LiveData to View: [CODE] But the other way, from EditText to MutableLiveData I cant set: [CODE] It cause loop between the two binding adapters What am I doing wrong? My Variable: [CODE] View: [CODE] | android|kotlin|android-databinding | 0 | 2022-05-26T14:37:07.597Z | 2,022 | 5 | 14 | 3 | 51 | 0 | 284 | 55 | 3 | 4 | true | true | false | false | false | false | zero |
72,393,586 | Cordova Android app crashes with RecoverableSecurityException while capturing photo | <p>Cordova android app crashing frequently while capturing photo using camera. The stacktrace from crashlytics is</p>
<pre><code>Caused by android.app.RecoverableSecurityException: com.myapp.appname has no access to content://media/external/images/media/131613
at android.app.RecoverableSecurityException$1.createFrom... | Cordova android app crashing frequently while capturing photo using camera. The stacktrace from crashlytics is [CODE] Most of the crashes happened in Samsung devices with Android 11 and 12. The code for capturing the photo is [CODE] I have tried to resolve this by adding try catch inside the Camera plugin's CameraLaunc... | android|cordova|ionic-framework|jquery-mobile|android-camera | 3 | 2022-05-26T14:38:46.060Z | 2,022 | 5 | 14 | 3 | 287 | 1 | 619 | 83 | 5 | 3 | true | false | false | false | false | false | low |
72,393,634 | TouchbleOpacity blinks after changing screens on Android | <p>I have a React Native app that is having a anoying problem. After changing screens, all TouchableOpacity buttons blinks, that only happens on Android.
Does anyone had this problem?</p> | I have a React Native app that is having a anoying problem. After changing screens, all TouchableOpacity buttons blinks, that only happens on Android. Does anyone had this problem? | android|react-native | 0 | 2022-05-26T14:41:27.657Z | 2,022 | 5 | 14 | 3 | 11 | 0 | 180 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
72,393,651 | How to recompose a composable related to a screen resting in backstack navigation entry when parcelable in current screen changes? | <p>Imagine you have a screen that contains some addable items. Additionally, you can navigate to another screen by tapping into any addable item and the information in the item is passed by using parallelisation and navigation types. Finally, you have a button to add that item at the screen that we navigated. The two s... | Imagine you have a screen that contains some addable items. Additionally, you can navigate to another screen by tapping into any addable item and the information in the item is passed by using parallelisation and navigation types. Finally, you have a button to add that item at the screen that we navigated. The two scre... | android|android-jetpack-compose|jetpack-compose-navigation | 0 | 2022-05-26T14:42:23.550Z | 2,022 | 5 | 14 | 3 | 72 | 0 | 740 | 130 | 3 | 0 | false | true | false | false | false | false | zero |
72,393,713 | android studio SQL lite database error (android.database.sqlite.SQLiteException) | <p>I copy/paste the already created .db file to my android studio project, but it is crashing my app. That database file is working fine on another android studio project but it is giving exceptions and causing the app to crash on my current project. Following is the logcat</p>
<pre><code>2022-05-26 19:42:18.147 21758-... | I copy/paste the already created .db file to my android studio project, but it is crashing my app. That database file is working fine on another android studio project but it is giving exceptions and causing the app to crash on my current project. Following is the logcat [CODE] plz someone tell me what is the problem o... | android|database|sqlite|android-studio|android-database | -2 | 2022-05-26T14:46:54.933Z | 2,022 | 5 | 14 | 3 | 51 | 2 | 352 | 80 | 5 | 1 | true | false | false | false | false | true | negative |
72,393,742 | React-native app stuck on splash screen, works fine on debug mode | <p>My react-native app is running and everything is working fine when I run it in debug mode aka with <code>npx react-native run-android</code> but it gets stuck on splash-screen (doesn't crash) when trying to open the release builds either with <code>npx react-native run-android --variant=release</code> or by exportin... | My react-native app is running and everything is working fine when I run it in debug mode aka with npx react-native run-android but it gets stuck on splash-screen (doesn't crash) when trying to open the release builds either with npx react-native run-android --variant=release or by exporting apk with assembleRelease co... | android|reactjs|react-native | 1 | 2022-05-26T14:48:42.187Z | 2,022 | 5 | 14 | 3 | 791 | 3 | 654 | 65 | 3 | 1 | true | false | false | false | false | false | low |
72,393,819 | Why does Android Studio auto generate the onCreateView as nullable, then prompts to remove it? | <p>This question is more out of curiosity than is is out of a bug or something else.</p>
<p>When I generate a blank fragment from the Android Studio templates, the <em>onCreateView</em> method which returns a View, has the nullable question mark. The Android Studio highlights it in yellow and tips to remove the nullabl... | This question is more out of curiosity than is is out of a bug or something else. When I generate a blank fragment from the Android Studio templates, the onCreateView method which returns a View, has the nullable question mark. The Android Studio highlights it in yellow and tips to remove the nullable sign since the on... | android|android-studio|kotlin | 0 | 2022-05-26T14:55:04.923Z | 2,022 | 5 | 14 | 3 | 33 | 1 | 482 | 94 | 3 | 0 | false | false | false | false | false | false | zero |
72,393,916 | How to handle change in category with less items in paging 3 android? | <p>I have around 200 items where items belong to different category and I load them category wise I change categories when one category ends and present them with paging library</p>
<p>I have a list of categories and I send a api call with offset and limit parameters to get the data. I have successfully paginated the d... | I have around 200 items where items belong to different category and I load them category wise I change categories when one category ends and present them with paging library I have a list of categories and I send a api call with offset and limit parameters to get the data. I have successfully paginated the data with p... | android|kotlin|paging|android-paging | 0 | 2022-05-26T15:01:47.110Z | 2,022 | 5 | 15 | 3 | 47 | 0 | 2,399 | 69 | 4 | 1 | true | true | false | false | false | false | zero |
72,394,044 | How to make Status Bar fully transparent in .NET MAUI VISUAL STUDIOS 2022 | <p>So I was able to find that you can use depricated code to make the status bar on Android fully transparent:</p>
<pre><code> var s = SystemUiFlags.LayoutFullscreen | SystemUiFlags.LayoutStable;
FindViewById(Android.Resource.Id.Content).SystemUiVisibility = (StatusBarVisibility)s;
Window.SetStatusBarColor(A... | So I was able to find that you can use depricated code to make the status bar on Android fully transparent: [CODE] Since this code is deprecated, how do I achieve the same effect of the top status bar being fully transparent, as matching the background color of whatever picture or color is on the screen at the time. I ... | c#|android|android-actionbar|statusbar|maui | 2 | 2022-05-26T15:11:14.147Z | 2,022 | 5 | 15 | 3 | 1,265 | 1 | 350 | 73 | 5 | 1 | true | false | false | false | false | false | low |
72,394,217 | Why is cloud_firestore not working in FlutterFire even after complete configuration? | <p>I want to fetch data from Firebase and for that I have integrated Firebase to my Flutter app <strong>SciFish</strong>.</p>
<p>In <em><strong>pubspec.yaml</strong></em>, I have added the plugins:</p>
<pre><code>dependencies:
firebase_core: ^1.17.0
cloud_firestore: ^3.1.16
</code></pre>
<p><code>flutterfire conf... | I want to fetch data from Firebase and for that I have integrated Firebase to my Flutter app SciFish . In pubspec.yaml , I have added the plugins: [CODE] flutterfire configure command in the root directory looks fine: I can see the android/app/google-services.json : After initialization Firebase, my main() looks like: ... | android|flutter|firebase|google-cloud-firestore | 2 | 2022-05-26T15:24:14.293Z | 2,022 | 5 | 15 | 3 | 191 | 1 | 897 | 84 | 4 | 5 | true | false | false | false | false | false | low |
72,394,241 | Using the launch icon image inside an Android app | <p>I have a simple question. In an Android app with an icon (the launch icon). I want to display this same icon image somewhere inside my app.</p>
<p>How can I so that?</p>
<p>If have tried to access the image and use it with this kind of code:</p>
<pre><code>val apIcnID = resources.getIdentifier("appIcon",&q... | I have a simple question. In an Android app with an icon (the launch icon). I want to display this same icon image somewhere inside my app. How can I so that? If have tried to access the image and use it with this kind of code: [CODE] But it did not work. I assume what I want to do is basic enough to be easy. But I don... | android|kotlin|imageview|android-imageview | 1 | 2022-05-26T15:26:04.940Z | 2,022 | 5 | 15 | 3 | 16 | 0 | 482 | 49 | 4 | 1 | true | true | false | false | false | false | low |
72,394,254 | How to save and install apk from TCP Client C# | <p>I'm trying to receive and install the new version of apk file using TCP Client. Apk file is received and saved to external storage successfully. But, as I try to install it, it gives me the error 'There was a problem parsing the package'. Normally, if I send apk file through bluetooth, it successfully saves and inst... | I'm trying to receive and install the new version of apk file using TCP Client. Apk file is received and saved to external storage successfully. But, as I try to install it, it gives me the error 'There was a problem parsing the package'. Normally, if I send apk file through bluetooth, it successfully saves and install... | c#|android|xamarin|apk|tcpclient | 0 | 2022-05-26T15:26:42.277Z | 2,022 | 5 | 15 | 3 | 66 | 1 | 549 | 46 | 5 | 1 | true | false | false | false | false | false | zero |
72,394,270 | Can we kill another app such as browser from our own app without package name in android studio | <p>I have search and found that we can do it by using package name but i want to kill a general music app from different vendor like Xiaomi music player how can i do that.
Code for killing app using package name</p>
<pre><code>class AccessibilityService : AccessibilityService() {
override fun onInterrupt() {
}
... | I have search and found that we can do it by using package name but i want to kill a general music app from different vendor like Xiaomi music player how can i do that. Code for killing app using package name [CODE] | java|android-studio | 0 | 2022-05-26T15:27:30.250Z | 2,022 | 5 | 15 | 3 | 17 | 0 | 215 | 95 | 2 | 1 | true | true | false | false | false | false | zero |
72,394,276 | How to get data about a specific user from Firebase | <p>There is a Firebase Realtime Database into which I drive in some data during registration, they fall into the Users section under the UID key from Auth:</p>
<pre><code>public void writeUserToDB(Object data, String currentUser){
DatabaseReference myRef = mDataBase.child("Users/" + currentUser);
myRe... | There is a Firebase Realtime Database into which I drive in some data during registration, they fall into the Users section under the UID key from Auth: [CODE] In firebase it looks like: [CODE] I need to get this data in MainActivity as String variables to use when another button is clicked. UPD - that's what I tried t... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 0 | 2022-05-26T15:27:56.593Z | 2,022 | 5 | 15 | 3 | 51 | 1 | 441 | 51 | 5 | 4 | true | false | false | false | false | false | zero |
72,394,522 | MainApplicationReactNativeHost does not exist | <p>After changing my application name with react-native-rename, I cannot do <code>.\gradlew bundleRelease</code>.</p>
<p>The error is:</p>
<blockquote>
<p>execution failed for task ':app:compileReleaseJavaWithJavac'.</p>
</blockquote>
<p>After I read more, the problem is</p>
<blockquote>
<p>C:\Challenge React
Native\ch... | After changing my application name with react-native-rename, I cannot do .\gradlew bundleRelease . The error is: execution failed for task ':app:compileReleaseJavaWithJavac'. After I read more, the problem is C:\Challenge React Native\chatapp\android\app\src\main\java\com\hengky\connect\MainApplication.java:13: error: ... | java|android|reactjs|firebase|react-native | 3 | 2022-05-26T15:45:54.603Z | 2,022 | 5 | 15 | 3 | 466 | 0 | 647 | 45 | 5 | 2 | true | true | false | false | false | false | low |
72,394,556 | How can use Foreground Service in Android 12+ | <p>How can Use Foreground Service in Android 12 without Error for Api 23+ With notification.</p> | How can Use Foreground Service in Android 12 without Error for Api 23+ With notification. | android|service|foreground-service | 0 | 2022-05-26T15:47:45.363Z | 2,022 | 5 | 15 | 3 | 182 | 1 | 89 | 45 | 3 | 0 | false | false | false | false | false | false | zero |
72,394,756 | Unable to create AB OTA zip file in AOSP 11 | <p>Unable to create AB OTA zip file in AOSP11.
Please find below error:</p>
<p>test@test:~/aosp/test1_android$ ./build/tools/releasetools/ota_from_target_files out/dist/rockpi4b-target_files-eng.test.zip update.zip</p>
<p>2022-05-26 20:05:32 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop</p>
<p>2022-05-26... | Unable to create AB OTA zip file in AOSP11. Please find below error: test@test:~/aosp/test1_android$ ./build/tools/releasetools/ota_from_target_files out/dist/rockpi4b-target_files-eng.test.zip update.zip 2022-05-26 20:05:32 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop 2022-05-26 20:05:32 - common.py - ... | android-source|android-11|ota | 0 | 2022-05-26T16:02:41.880Z | 2,022 | 5 | 16 | 3 | 267 | 1 | 3,877 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
72,394,770 | Android status bar background gradient | <p>I need set my drawable(gradient) to status bar background(I need change only on status bar, not appbar).
I try:</p>
<pre><code><item name="statusBarBackground">@drawable/bg_gradient</item>
</code></pre>
<p>but not work.
this is my drawable:</p>
<pre><code><shape xmlns:android="http://sc... | I need set my drawable(gradient) to status bar background(I need change only on status bar, not appbar). I try: [CODE] but not work. this is my drawable: [CODE] | android|xml|android-studio | 0 | 2022-05-26T16:04:12.797Z | 2,022 | 5 | 16 | 3 | 39 | 1 | 160 | 38 | 3 | 2 | true | false | false | false | false | false | zero |
72,395,021 | Saving multiple Markers through SharedPreferences | <p>I have found some tuts on how to do add multiple markers on your map fragment. But in my case, It seems that it doesn't work for me, well I can put multiple markers but whenever I restart the application those markers that was save through sharedpreferences is gone.</p>
<pre><code> @Override
public void onMapReady(G... | I have found some tuts on how to do add multiple markers on your map fragment. But in my case, It seems that it doesn't work for me, well I can put multiple markers but whenever I restart the application those markers that was save through sharedpreferences is gone. [CODE] | android-studio|google-maps|sharedpreferences | 0 | 2022-05-26T16:23:58.720Z | 2,022 | 5 | 16 | 3 | 19 | 0 | 273 | 49 | 3 | 1 | true | true | false | false | false | false | zero |
72,395,089 | Talkback focus not moving to android context menu on editText longpress | <p>I have an editText that triggers the regular android context menu to fire up on long press. The talkback focus though doesn't go to the context menu directly but instead goes through other focusable elements first before focusing on the context menu. Basically is there a way to access the default context menu (marke... | I have an editText that triggers the regular android context menu to fire up on long press. The talkback focus though doesn't go to the context menu directly but instead goes through other focusable elements first before focusing on the context menu. Basically is there a way to access the default context menu (marked a... | android|talkback | 0 | 2022-05-26T16:30:45.533Z | 2,022 | 5 | 16 | 3 | 15 | 0 | 449 | 71 | 2 | 0 | false | true | false | false | false | false | zero |
72,395,102 | Is there any way to use a SQLite DB (r/w) with the Storage-Access-Framework? | <p>I want the user to be able to access/copy a database file (along with more files) from a selected folder from their device.</p>
<p>So I ask the user to please select a folder on the device where I store files so that the user can access these. But SQLite Database needs direct file system access, so in other words, o... | I want the user to be able to access/copy a database file (along with more files) from a selected folder from their device. So I ask the user to please select a folder on the device where I store files so that the user can access these. But SQLite Database needs direct file system access, so in other words, on android ... | android|database|android-sqlite|storage-access-framework|android-storage | 0 | 2022-05-26T16:31:37.083Z | 2,022 | 5 | 16 | 3 | 54 | 0 | 390 | 76 | 5 | 0 | false | true | false | false | false | false | zero |
72,395,110 | Why is ContentResolver.query() returning duplicate entries from contacts? | <p>So I'm reading in these contacts using Android's native implementation, using a test phone with about 1,056 contacts on it. The problem I'm having is that it's rather slow, so I'm logging the outcomes of my cursor.moveToNext(), and seeing that it's reading in contacts past the last in an overlapping, duplicating fas... | So I'm reading in these contacts using Android's native implementation, using a test phone with about 1,056 contacts on it. The problem I'm having is that it's rather slow, so I'm logging the outcomes of my cursor.moveToNext(), and seeing that it's reading in contacts past the last in an overlapping, duplicating fashio... | android|duplicates|cursor|android-contacts|android-contentresolver | -1 | 2022-05-26T16:32:09.890Z | 2,022 | 5 | 16 | 3 | 77 | 1 | 3,564 | 73 | 5 | 3 | true | false | false | false | false | true | negative |
72,395,146 | Unit testing. java.lang.NullPointerException | <p>everyone! I am writing unit tests for the mobile app. But I have an error that I don't know how to solve. The error has the following form:</p>
<pre><code>java.lang.NullPointerException
at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:841)
at androidx.appcompat.app.Ap... | everyone! I am writing unit tests for the mobile app. But I have an error that I don't know how to solve. The error has the following form: [CODE] Program code "SplashScreenActivity.java" : [CODE] Program code "SplashScreenActivityTest.java" : [CODE] Program code "activity_splash_screen.xml&quo... | android-studio|unit-testing|nullpointerexception|junit4|assertion | 0 | 2022-05-26T16:35:57.360Z | 2,022 | 5 | 16 | 3 | 136 | 2 | 417 | 44 | 5 | 4 | true | false | false | false | false | false | zero |
72,395,197 | How to return Gradle Setting to its original state? | <p>So I'm trying to get the SHA1 code by running the signingReport command on gradle. I used the gradled option in the right corner.
<a href="https://i.stack.imgur.com/UJyfs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UJyfs.png" alt="enter image description here" /></a></p>
<p>But after running, ... | So I'm trying to get the SHA1 code by running the signingReport command on gradle. I used the gradled option in the right corner. But after running, whenever I click Run button, signingReport command is executed and not Run command The options change from Run 'App' to Run'Danaku[signingReport]' I've tried several optio... | android-studio|gradle|android-gradle-plugin | 0 | 2022-05-26T16:40:11.770Z | 2,022 | 5 | 16 | 3 | 34 | 1 | 461 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
72,395,200 | Using Preference DataStore in Application Class - Android | <p>An error is occurring whenever I am trying to get the saved data for user.
This is where the error is occurring:</p>
<pre><code>class Application : Application() {
private var user: User? = null
override fun onCreate() {
super.onCreate()
//Initialize here
}
fun setMyUser(userId: St... | An error is occurring whenever I am trying to get the saved data for user. This is where the error is occurring: [CODE] This is what my DataStoreManager class looks like: [CODE] The error I am getting is: [CODE] | android|kotlin|datastore | 0 | 2022-05-26T16:40:42.817Z | 2,022 | 5 | 16 | 3 | 187 | 0 | 211 | 57 | 3 | 3 | true | true | false | false | false | false | zero |
72,395,218 | Why doesn't Android Studio accept my imported team settings? | <p>I'm using Android Studio on a new Mac and have tried a few times now to add my team's settings via import (<code>File -> Manage IDE Settings -> Import Settings</code>), but each time AS restarts, it opens the Setup Wizard and then reverts back to the default settings. My team members have all recently gotten n... | I'm using Android Studio on a new Mac and have tried a few times now to add my team's settings via import ( File -> Manage IDE Settings -> Import Settings ), but each time AS restarts, it opens the Setup Wizard and then reverts back to the default settings. My team members have all recently gotten new Macs as well and ... | android|android-studio|kotlin | 0 | 2022-05-26T16:41:35.197Z | 2,022 | 5 | 16 | 3 | 17 | 1 | 479 | 60 | 3 | 0 | false | false | false | false | false | false | zero |
72,395,366 | Back navigation with nav component multi back stack works not as expected | <p>Im using NavComponent v2.4.2 with bottom navigation. Lets imagine that I have 3 tabs A, B and C. Each fragment in each tab will be called correspondendly: A1 - first fragment in first tab, B3 - 3rd fragment in second tab.
What's my problem:
Im starting the app, my destination is A1. I navigate to A2, then switch the... | Im using NavComponent v2.4.2 with bottom navigation. Lets imagine that I have 3 tabs A, B and C. Each fragment in each tab will be called correspondendly: A1 - first fragment in first tab, B3 - 3rd fragment in second tab. What's my problem: Im starting the app, my destination is A1. I navigate to A2, then switch the ta... | android|android-navigation|android-jetpack-navigation | 0 | 2022-05-26T16:52:32.620Z | 2,022 | 5 | 16 | 3 | 48 | 0 | 791 | 73 | 3 | 0 | false | true | false | false | false | false | zero |
72,395,369 | Android. Weird behavior when deleting a column in room (Foreign key) | <p>I have an android note pet project with room database where I store files and related pages to the file. One to many relationship:</p>
<pre><code>@Entity(tableName = NotepadDatabase.FILES_TABLE)
data class RoomNoteFile(
@PrimaryKey(autoGenerate = true) val id: Int = 0,
@ColumnInfo(name = "file_name"... | I have an android note pet project with room database where I store files and related pages to the file. One to many relationship: [CODE] [CODE] So I noticed that if I delete a file, instead of deleting the file's pages with it (as i expect it to work). Room changes the ids (related_file id) of all the pages of this fi... | android|sqlite|foreign-keys|android-room | -1 | 2022-05-26T16:53:05.673Z | 2,022 | 5 | 16 | 3 | 34 | 2 | 477 | 68 | 4 | 2 | true | false | false | false | false | true | negative |
72,395,453 | How to prevent a mobile app from being debugged - React Native? | <p>How to prevent a debugger from attaching to the running application in a react native app?</p> | How to prevent a debugger from attaching to the running application in a react native app? | android|ios|swift|react-native|security | 1 | 2022-05-26T16:59:34.630Z | 2,022 | 5 | 16 | 3 | 99 | 0 | 90 | 63 | 5 | 0 | false | true | false | false | false | false | low |
72,395,499 | JavaScript Enabled problem Android Studio (TWITTER,FACEBOOK,WHATSAPP) | <p>I am making an Web View in android studio, inside my website if have used 3 sites Whatsapp , Facebook and twitter .But when i am trying to link those 3 apps only 1 or 2 is working like</p>
<p>When i am opening whatsapp twitter is not opening and when twitter,facebook are working whatsapp is not working.</p>
<p>IT ... | I am making an Web View in android studio, inside my website if have used 3 sites Whatsapp , Facebook and twitter .But when i am trying to link those 3 apps only 1 or 2 is working like When i am opening whatsapp twitter is not opening and when twitter,facebook are working whatsapp is not working. IT SAYS JAVASCRIPT err... | javascript|android | 0 | 2022-05-26T17:02:26.463Z | 2,022 | 5 | 17 | 3 | 18 | 0 | 367 | 69 | 2 | 0 | false | true | false | false | false | false | zero |
72,395,591 | Callback method with the specific reason why Android OS killed my foreground service | <p>I know that there are a few reasons why android OS may kill a running foreground service. It can be a battery issue, a memory issue, or simply the user killed it by force. Not sure if there are other issues too.</p>
<p>Now I would like to know the reason for the kill from a callback and send it to firebase analytics... | I know that there are a few reasons why android OS may kill a running foreground service. It can be a battery issue, a memory issue, or simply the user killed it by force. Not sure if there are other issues too. Now I would like to know the reason for the kill from a callback and send it to firebase analytics for makin... | android|foreground-service | 0 | 2022-05-26T17:09:24.690Z | 2,022 | 5 | 17 | 3 | 41 | 0 | 1,026 | 84 | 2 | 1 | true | true | false | false | false | false | zero |
72,395,630 | Cordova app listed as 'webIntentFilter' under Android settings for Location permissions | <p>I don't know when this occurred, but my app was always listed by <code>MyAppName</code> under the Android Phone Settings for <code>Location Permissions</code> - the settings section that specifies what apps are allowed to use location services (ie: always, only when in use, never, etc).</p>
<p>I discovered yesterday... | I don't know when this occurred, but my app was always listed by MyAppName under the Android Phone Settings for Location Permissions - the settings section that specifies what apps are allowed to use location services (ie: always, only when in use, never, etc). I discovered yesterday that in this section my app is no l... | android|cordova|location-services|webintents | 0 | 2022-05-26T17:12:42.960Z | 2,022 | 5 | 17 | 3 | 11 | 1 | 989 | 87 | 4 | 1 | true | false | false | false | false | false | zero |
72,395,653 | How to call DecodeIntegrityToken API | <p>I'm stuck trying to call Google DecodeIntegrityToken API from my Android APP. There is no documentation or examples on how to do it.</p>
<p>I have completed the setup and managed to get an IntegrityToken up to this point.</p>
<p>The setup: <a href="https://developer.android.com/google/play/integrity/verdict" rel="no... | I'm stuck trying to call Google DecodeIntegrityToken API from my Android APP. There is no documentation or examples on how to do it. I have completed the setup and managed to get an IntegrityToken up to this point. The setup: https://developer.android.com/google/play/integrity/verdict Here I found calling the API in LA... | java|android | 0 | 2022-05-26T17:14:56.023Z | 2,022 | 5 | 17 | 3 | 179 | 2 | 609 | 36 | 2 | 0 | false | false | false | false | false | false | zero |
72,395,720 | LocalConfiguration.current call in Jetpack Compose | <p>I've seen a few times where <code>LocalConfiguration.current</code> is called, but the return value is not consumed. For instance, in the <a href="https://github.com/android/nowinandroid" rel="nofollow noreferrer">Now in Android sample app</a>:</p>
<pre><code>@Composable
fun calculateWindowSizeClass(activity: Activi... | I've seen a few times where LocalConfiguration.current is called, but the return value is not consumed. For instance, in the Now in Android sample app : [CODE] What is the purpose of this LocalConfiguration.current call? | android|android-jetpack-compose | 1 | 2022-05-26T17:21:41.787Z | 2,022 | 5 | 17 | 3 | 269 | 0 | 220 | 50 | 2 | 1 | true | true | false | false | false | false | low |
72,395,752 | Caused by: org.gradle.api.GradleException: No matching client found for package name 'com.faizan4742.medmobile' | <p><em>I have downloaded this project from git. Basically it's an ambulance hiring application which includes firebase and google maps Api's. Before changing the package name it works fine but when I change the package name so, I am facing this problem.</em></p>
<p><strong>Error:</strong>
Execution failed for task ':ap... | I have downloaded this project from git. Basically it's an ambulance hiring application which includes firebase and google maps Api's. Before changing the package name it works fine but when I change the package name so, I am facing this problem. Error: Execution failed for task ':app:processDebugGoogleServices'. > No ... | android|firebase|google-maps|gradle | 1 | 2022-05-26T17:24:47.930Z | 2,022 | 5 | 17 | 3 | 227 | 1 | 583 | 111 | 4 | 5 | true | false | false | false | false | false | low |
72,395,779 | Using a ComposeView inside layout or a BottomSheetDialog throws exception | <p>I have a non compose view that needs to show a BottomSheetDialog. I would like the root view:</p>
<pre><code>myBottomSheetDialog = BottomSheetDialog(requireActivity(), R.style.Theme_Design_BottomSheetDialog)
val bottomSheetView = BottomsheetBinding.inflate(layoutInflater, null, false)
myBottomSheetDialog.setContent... | I have a non compose view that needs to show a BottomSheetDialog. I would like the root view: [CODE] Where the BottomSheetBinding view is: [CODE] When I open the dialog the following exception is thrown. [CODE] For a few reasons I cannot make the parent view compose first. But I would like to show a dialog and use comp... | android|android-jetpack-compose | 1 | 2022-05-26T17:28:08.073Z | 2,022 | 5 | 17 | 3 | 301 | 2 | 359 | 73 | 2 | 3 | true | false | false | false | false | false | low |
72,395,935 | Android PWA bubblewrap, bitlabs library problem | <p>After implementing bitlabs SDK (<a href="https://developer.bitlabs.ai/docs/android-sdk-v2" rel="nofollow noreferrer">https://developer.bitlabs.ai/docs/android-sdk-v2</a>). When I click the button (app://survey), im getting error:</p>
<blockquote>
<p>java.lang.RuntimeException: Unable to start activity ComponentInfo{... | After implementing bitlabs SDK ( https://developer.bitlabs.ai/docs/android-sdk-v2 ). When I click the button (app://survey), im getting error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.twa/ai.bitlabs.sdk.WebActivity}: android.view.InflateException: Binary XML file line #16 in com.myap... | android|progressive-web-apps|trusted-web-activity|bubblewrap | 0 | 2022-05-26T17:40:53.900Z | 2,022 | 5 | 17 | 3 | 59 | 0 | 712 | 47 | 4 | 2 | true | true | false | false | false | false | zero |
72,396,078 | How to know the device has Virtual Gyroscope or Actual Gyroscope? | <p>I have a requirement to use the device <code>Gyroscope sensor</code>, The functionality working fine in most of the android devices, but not on the phones with <code>virtual gyroscope</code>.
How to know that the device really has the actual gyroscope sensor or it is generating gyro values using virtual gyroscope?</... | I have a requirement to use the device Gyroscope sensor , The functionality working fine in most of the android devices, but not on the phones with virtual gyroscope . How to know that the device really has the actual gyroscope sensor or it is generating gyro values using virtual gyroscope? failed cases are detected in... | java|android | 0 | 2022-05-26T17:54:09.143Z | 2,022 | 5 | 17 | 3 | 28 | 0 | 348 | 65 | 2 | 0 | false | true | false | false | false | false | zero |
72,396,239 | Google PLay Console gives this error: "The Android App Bundle was not signed." | <p>Google Play Console gives this error: "The Android App Bundle was not signed."
I wasn't able to find a fixing answer yet.
I have been working on it for nearly a week without any success.
Chat Help with google didn't help.</p>
<p>E.g. I'm not sure if this gradle setting is OK:</p>
<pre><code> buildTypes {
... | Google Play Console gives this error: "The Android App Bundle was not signed." I wasn't able to find a fixing answer yet. I have been working on it for nearly a week without any success. Chat Help with google didn't help. E.g. I'm not sure if this gradle setting is OK: [CODE] . | android-studio|google-play|google-play-console|android-app-signing | 0 | 2022-05-26T18:09:36.343Z | 2,022 | 5 | 18 | 3 | 279 | 0 | 288 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
72,396,263 | Google Play Billing Library 5.0 deprecation warnings | <p>Since I've upgraded the <code>BillingClient</code> to version <code>5.0.0</code>:</p>
<pre><code>googleImplementation 'com.android.billingclient:billing:5.0.0'
</code></pre>
<p>I get these unique deprecation warnings:</p>
<pre><code>warning: [deprecation] getSkus() in Purchase has been deprecated
warning: [deprecati... | Since I've upgraded the BillingClient to version 5.0.0 : [CODE] I get these unique deprecation warnings: [CODE] eg. the documentation suggests to use ProductDetailsResponseListener instead. Wanted to ask, how to use it? | java|android|deprecation-warning|play-billing-library | 1 | 2022-05-26T18:12:06.597Z | 2,022 | 5 | 18 | 3 | 913 | 1 | 219 | 52 | 4 | 2 | true | false | false | false | false | false | low |
72,396,280 | Can I use audio file for offline Speech to text in android studio? | <p>I am successfully able to run offline speech to text model in android studio by using SpeechRecognizer and RecognizerIntent classes. But my problem is, I first want to record audio, do some post-processing on audio file and then I want speech to text results by passing that audio file.
Note: I do not want to use any... | I am successfully able to run offline speech to text model in android studio by using SpeechRecognizer and RecognizerIntent classes. But my problem is, I first want to record audio, do some post-processing on audio file and then I want speech to text results by passing that audio file. Note: I do not want to use any cl... | java|android|kotlin|speech-to-text | 1 | 2022-05-26T18:13:28.103Z | 2,022 | 5 | 18 | 3 | 115 | 0 | 353 | 66 | 4 | 0 | false | true | false | false | false | false | low |
72,396,286 | How to adjust transparancy of Android title bar? | <p>I have this fragment:</p>
<p><a href="https://i.stack.imgur.com/vzbVu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vzbVu.jpg" alt="enter image description here" /></a></p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://sch... | I have this fragment: [CODE] custom_header_bg is a transparent PNG containing the 2 blue layers. You can see the title bar's color is black, and I want it to be transparent, so it shows dark blue instead of black. I tried this: [CODE] An exception occured: [CODE] which pointed at onCreate() . How to fix this? | android|android-titlebar | 0 | 2022-05-26T18:13:44.307Z | 2,022 | 5 | 18 | 3 | 18 | 2 | 310 | 48 | 2 | 3 | true | false | false | false | false | false | zero |
72,396,484 | Not able to convert list to JSON with GSON with message "declares multiple JSON fields" | <p>I am trying to convert this list to json with the help of GSON</p>
<pre><code>[DataClass(label=valueOne, text=some.value, version=9.0, ui=null, ref=null, icon=android.graphics.drawable.BitmapDrawable@2f9631a), DataClass(label=valueOne, text=some.value, version=9.0, ui=null, ref=null, icon=android.graphics.drawable.B... | I am trying to convert this list to json with the help of GSON [CODE] And got this error [CODE] Here is how I do that [CODE] What might the be issue? It complaint for some reason on this drawable source. But not sure why. I was thinking that its because of @ and changed it to regular Z and still no success Here is the ... | android|json|gson | 0 | 2022-05-26T18:32:27.077Z | 2,022 | 5 | 18 | 3 | 64 | 1 | 344 | 87 | 3 | 4 | true | false | false | false | false | false | zero |
72,396,512 | How to set DrmSessionManagerProvider for offline content (exoplayer) | <p>I am creating MP3 player using exoplayer.</p>
<p>I am trying to implement custom HttpMediaDrmCallback that will set in DrmSessionManagerProvider.</p>
<p>I have problem with there is no option to set DrmSessionManagerProvider for offline content.</p>
<p>We can play offline content in two way and in both have not that... | I am creating MP3 player using exoplayer. I am trying to implement custom HttpMediaDrmCallback that will set in DrmSessionManagerProvider. I have problem with there is no option to set DrmSessionManagerProvider for offline content. We can play offline content in two way and in both have not that option to set DrmSessio... | android|exoplayer|drm | 0 | 2022-05-26T18:35:41.283Z | 2,022 | 5 | 18 | 3 | 83 | 0 | 390 | 68 | 3 | 0 | false | true | false | false | false | false | zero |
72,396,522 | How to use the OpenAPI generators retrofit stub with android kotlin client? Response 501 "Not Implemented" | <p>I want to create a REST-API between an Android client and a Spring Boot server.
I created an OpenAPI 3.0 specification and used the CLI generator from <a href="https://openapi-generator.tech" rel="nofollow noreferrer">https://openapi-generator.tech</a> to create client and server stubs.</p>
<p>The server part works ... | I want to create a REST-API between an Android client and a Spring Boot server. I created an OpenAPI 3.0 specification and used the CLI generator from https://openapi-generator.tech to create client and server stubs. The server part works as intended when accessing it with other clients. For the client side I used the ... | android|kotlin|retrofit2|openapi|openapi-generator | 1 | 2022-05-26T18:36:49.993Z | 2,022 | 5 | 18 | 3 | 396 | 1 | 927 | 106 | 5 | 3 | true | false | false | false | false | false | low |
72,396,628 | Adding multiple products to productlist for queryProductDetailsAsync in android billing 5.0.0 | <p>In the old android billing implementation you would build an sku list to query products:</p>
<pre><code>List<String> skuList = new ArrayList<>();
skuList.add(SKU_POTION);
skuList.add(SKU_SWORD);
skuList.add(SKU_BOW);
SkuDetailsParams.Builder params = SkuDetailsParams.newBu... | In the old android billing implementation you would build an sku list to query products: [CODE] The new billing implementation is more involved, and appears to limit you to adding just one product to a query list: [CODE] It makes you build the productList for the productDetailsList for the mProductDetailsMap that's nee... | java|android|play-billing-library | 4 | 2022-05-26T18:48:14.327Z | 2,022 | 5 | 18 | 3 | 1,385 | 2 | 600 | 93 | 3 | 3 | true | false | false | false | false | false | low |
72,396,633 | Gradle - Android - In App Review causes compile error - Amplify old dependency | <p>I am trying to integrate In App Review and I get this compile error:</p>
<pre><code>Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules jetified-core-1.9.1-runtime (com.google.android.play:core:1.9.1) and jetified-core-common-2.0.0-runtime (com.google.android.play:core-c... | I am trying to integrate In App Review and I get this compile error: [CODE] Edit: I ran the command: ./gradlew app:dependencies >> deps.txt and found out that the conflict is caused by Amplify core. It has a dependency on androidx.navigation:navigation-dynamic-features-fragment:2.3.4 for some reason and that's has com.... | android|gradle|aws-amplify-sdk-android | 2 | 2022-05-26T18:48:31.370Z | 2,022 | 5 | 18 | 3 | 574 | 1 | 454 | 78 | 3 | 1 | true | false | false | false | false | false | low |
72,396,755 | AOSP Android Studio resolves dependencies incorrectly | <p>I'm trying to make some modifications in AOSP, and I can't configure Android Studio properly. That's what i've done:</p>
<ol>
<li>Successfully built a project via command line.</li>
<li>Run idegen.sh.</li>
<li>Opened an .ipr file in AndroidStudio.</li>
<li>Removed all .jar files from Java 8 SDK.</li>
</ol>
<p>The pr... | I'm trying to make some modifications in AOSP, and I can't configure Android Studio properly. That's what i've done: Successfully built a project via command line. Run idegen.sh. Opened an .ipr file in AndroidStudio. Removed all .jar files from Java 8 SDK. The problem is that an Android Studio resolves some imports fro... | java|android|android-source|android-soong | 0 | 2022-05-26T19:00:09.060Z | 2,022 | 5 | 19 | 3 | 63 | 0 | 1,227 | 53 | 4 | 0 | false | true | false | false | false | false | zero |
72,396,765 | How to perform a check for a particular FirebaseFirestore error code? | <p>I have the following code:</p>
<pre><code>db.collection("property").document(userUID).update(propertyRoot).addOnSuccessListener(
new OnSuccessListener<Void>(){
@Override
public void onSuccess(Void aVoid)
{
... | I have the following code: [CODE] I would like to update my Firestore database if the collection already exists. Otherwise, I would like Firestore to create a new collection. I would like to create a new collection only if the collection is not found. Essentially, I would like to do the check like this: [CODE] How can ... | java|android|firebase|google-cloud-firestore | 0 | 2022-05-26T19:01:10.570Z | 2,022 | 5 | 19 | 3 | 56 | 1 | 346 | 69 | 4 | 2 | true | false | false | false | false | false | zero |
72,396,836 | updating an ionic app results in data loss | <p>Working on an update for an existing (live) ionic/cordova app. When making an android upgrade test to the new version of the app, all data of the old version is lost.</p>
<p>I first thought it has something to do with the storage plugin, so I reverted it and used the exact same storage implementation as the existing... | Working on an update for an existing (live) ionic/cordova app. When making an android upgrade test to the new version of the app, all data of the old version is lost. I first thought it has something to do with the storage plugin, so I reverted it and used the exact same storage implementation as the existing app. I ev... | android|cordova|ionic-framework | 0 | 2022-05-26T19:07:55.927Z | 2,022 | 5 | 19 | 3 | 30 | 1 | 909 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
72,396,892 | I am having issues displaying a .gif animation in the splash screen for my android app using xamarin.forms? | <p>The above header refers.</p>
<p>The .gif animation (which is about 2 seconds) hardly displays at all in the splash screen before it gets to the login screen.</p>
<p>This is my SplashLayout.xaml:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http:... | The above header refers. The .gif animation (which is about 2 seconds) hardly displays at all in the splash screen before it gets to the login screen. This is my SplashLayout.xaml: [CODE] This is my Splash_Activity.cs: [CODE] This is my MainActivity.cs [CODE] } So, what is causing my .gif file (AbuseAlert.gif) which is... | android|ios|xamarin|xamarin.forms|splash-screen | 0 | 2022-05-26T19:13:33.070Z | 2,022 | 5 | 19 | 3 | 107 | 0 | 385 | 107 | 5 | 3 | true | true | false | false | false | false | zero |
72,396,895 | Android. Pagging3 not receive error state | <p>I'm using paging3. My <code>RemoteMediator</code> returns Result.Error from catch:</p>
<pre><code>catch (e: Exception) {
return MediatorResult.Error(handler.getError(e))
}
</code></pre>
<p>Inside fragment I'm listening for state changes:</p>
<pre><code> adapter.addLoadStateListener { loadState -&... | I'm using paging3. My RemoteMediator returns Result.Error from catch: [CODE] Inside fragment I'm listening for state changes: [CODE] The problem is that I am not getting LoadState.Error despite what the RemoteMediator returned MediatorResult.Error . Instead of an LoadState.Error I get LoadState.NotLoading .I get the re... | android|kotlin|android-recyclerview|android-paging-3|android-diffutils | 1 | 2022-05-26T19:13:56.383Z | 2,022 | 5 | 19 | 3 | 49 | 0 | 391 | 41 | 5 | 2 | true | true | false | false | false | false | low |
72,396,920 | Repeating notifications issue | <p>I'm struggling with notifications.</p>
<p>I want to randomly select text to display in the notification (using <strong>random()</strong> method on the array of String objects from separate object file <strong>NotificationData</strong> where I only had one immutable variable called <strong>notificationData</strong>),... | I'm struggling with notifications. I want to randomly select text to display in the notification (using random() method on the array of String objects from separate object file NotificationData where I only had one immutable variable called notificationData ), which should appear once a day at a specific time (but for ... | android|kotlin|notifications|alarmmanager|android-pendingintent | 0 | 2022-05-26T19:16:26.970Z | 2,022 | 5 | 19 | 3 | 87 | 1 | 1,306 | 29 | 5 | 5 | true | false | false | false | false | false | zero |
72,396,971 | 'activeNetworkInfo' and 'isConnectedOrConnecting' is deprecated | <p>'activeNetworkInfo' and 'isConnectedOrConnecting' is deprecated.</p>
<pre><code>/**
* This function is used check whether the device is connected to the Internet or not.
*/
fun isNetworkAvailable(context: Context): Boolean {
// It answers the queries about the state of network connectivity.
val connectivit... | 'activeNetworkInfo' and 'isConnectedOrConnecting' is deprecated. [CODE] | android|android-studio|kotlin|deprecated | 0 | 2022-05-26T19:20:58.597Z | 2,022 | 5 | 19 | 3 | 94 | 1 | 71 | 63 | 4 | 1 | true | false | false | false | false | false | zero |
72,397,012 | how to overlap react-native appbar with android notification bar and contrast their colour | <pre><code>import { useState } from "react";
import { Image, StyleSheet, Text, View, Dimensions } from "react-native";
import {
Provider as MaterialProvider,
DefaultTheme,
DarkTheme,
IconButton,
Appbar,
Surface,
Title,
Divider,
TouchableRipple,
} from "react-native-paper"... | [CODE] I am using react-native-paper Appbar.Header to replace the default react-navigation-header as shown in my code I want to shift the appbar to the toppest most part of my phone. That is, Overlap with andriod notification menu This is what i get Picture of Build Expo app ( By the way this shows well when i run from... | javascript|android|react-native|expo|appbar | 0 | 2022-05-26T19:23:50.527Z | 2,022 | 5 | 19 | 3 | 39 | 0 | 330 | 90 | 5 | 1 | true | true | false | false | false | false | zero |
72,397,096 | Xamarin Forms Connect to Wifi >= API Level 29 | <p>I try to connect to a specific Wifi but everytime I get a System.NullReferenceException: 'Object reference not set to an instance of an object.'
(commented in code)</p>
<p>Here is my method</p>
<pre><code>public static Task ConnectToWifi(Wifi wifi)
{
var wifiSpecififier = new WifiNetworkSpecifier... | I try to connect to a specific Wifi but everytime I get a System.NullReferenceException: 'Object reference not set to an instance of an object.' (commented in code) Here is my method [CODE] Here is my NetworkCallback class [CODE] Edit: at Android.Runtime.JNINativeWrapper._unhandled_exception (System.Exception e) [0x000... | c#|android|xamarin.forms|xamarin.android|android-wifi | 1 | 2022-05-26T19:31:17.793Z | 2,022 | 5 | 19 | 3 | 201 | 1 | 790 | 45 | 5 | 2 | true | false | false | false | false | false | low |
72,397,144 | Unable to build App bundle in Flutter due to Share Plus package? | <p><strong>I tried to to build app bundle in Flutter and got the following error message. when I run compile the app in debug mode it is working fine. any help is appreciated.</strong></p>
<p>FAILURE: Build failed with an exception.</p>
<p>What went wrong:
Execution failed for task ':share_plus:generateReleaseRFile'.
C... | I tried to to build app bundle in Flutter and got the following error message. when I run compile the app in debug mode it is working fine. any help is appreciated. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':share_plus:generateReleaseRFile'. Could not resolve all dependencies ... | android|flutter|share-plus | 0 | 2022-05-26T19:36:14.547Z | 2,022 | 5 | 19 | 3 | 39 | 1 | 885 | 64 | 3 | 0 | false | false | false | false | false | false | zero |
72,397,184 | I don't receive the Firebase Cloud Message in my android app | <p>My problem is that I don't receive the firebase cloud message in my android app client, which I send from my Spring MVC app.
Here is the code in the Spring App Test.</p>
<pre><code> GoogleCredentials googleCredentials = GoogleCredentials
.fromStream(new ClassPathResource("my-config.json"... | My problem is that I don't receive the firebase cloud message in my android app client, which I send from my Spring MVC app. Here is the code in the Spring App Test. [CODE] My pom.xml: [CODE] When I ran the Unit test in the Spring MVC Project I am getting the result: [CODE] And here is my android app client code: Andro... | java|android|spring|spring-mvc|firebase-cloud-messaging | 1 | 2022-05-26T19:40:16.183Z | 2,022 | 5 | 19 | 3 | 124 | 2 | 721 | 60 | 5 | 8 | true | false | false | false | false | false | low |
72,397,264 | Proxying inside an Android application | <p>I'm trying to teach myself reverse engineering of Android apps, and at the moment I'm fully running, albeit with a question that lacks an answer:</p>
<p>Via <strong>MITMProxy</strong> I can change Request body and Response body with intercept and Python scripts, but is this possible to include in the app itself, so ... | I'm trying to teach myself reverse engineering of Android apps, and at the moment I'm fully running, albeit with a question that lacks an answer: Via MITMProxy I can change Request body and Response body with intercept and Python scripts, but is this possible to include in the app itself, so I do not have to have MITMP... | android|proxy|reverse-engineering|mitmproxy | 0 | 2022-05-26T19:46:07.783Z | 2,022 | 5 | 19 | 3 | 74 | 0 | 743 | 38 | 4 | 0 | false | true | false | false | false | false | zero |
72,397,435 | await hangs forever on socket ConnectAsync when Android is disconnected | <p>If I execute the following code on an Android device with no network connectivity, the await call will never complete nor will any exceptions be thrown by <code>ConnectAsync</code> even if <code>Close</code> or <code>Dispose</code>, etc. are invoked on the socket object (the catch handlers in this sample will never ... | If I execute the following code on an Android device with no network connectivity, the await call will never complete nor will any exceptions be thrown by ConnectAsync even if Close or Dispose , etc. are invoked on the socket object (the catch handlers in this sample will never be reached, in other words): [CODE] Howev... | c#|android|xamarin | 3 | 2022-05-26T20:02:41.080Z | 2,022 | 5 | 20 | 3 | 138 | 0 | 1,664 | 71 | 3 | 2 | true | true | false | false | false | false | low |
72,397,472 | My App not work on targetSdkVersion 30 , how i can fix this problem? | <p>I want upload my app to google app and can't upload it in targetSdkVersion 29 or lower.
Everything works fine if I have targetSdkVersion 29 or lower , But After I changed target sdk to Android 11: targetSdkVersion 30 this error is show :</p>
<pre><code> Process: com.mirasoft.st, PID: 29360
java.lang.RuntimeEx... | I want upload my app to google app and can't upload it in targetSdkVersion 29 or lower. Everything works fine if I have targetSdkVersion 29 or lower , But After I changed target sdk to Android 11: targetSdkVersion 30 this error is show : [CODE] Please any help | android|targetsdkversion | 0 | 2022-05-26T20:06:21.667Z | 2,022 | 5 | 20 | 3 | 137 | 0 | 260 | 68 | 2 | 1 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.