1,419,959 questions
1
vote
1
answer
7
views
Sharing a file with a FileProvier
I'm attempting a file created by my app using a FileProvider and a chooser. However, in my implementation after the chooser completes the chosen app throws up an error saying that it can't "get ...
0
votes
0
answers
4
views
Cannot run react native anrdoid emulator after updating react native
In my react native app, I usually started the app by running npx react-native run-android, but I noticed in the CMD at the top there was a warning to update react native to latest by running npx react-...
0
votes
0
answers
10
views
New Flutter User - Unable to Import Webview
I've created a new project in Android Studio. Running it in the emulator does whats expected - the default program of clicking a button and watching a counter go up.
I'm trying to teach myself how to ...
2
votes
0
answers
11
views
AGP 8 linter asks to add flag to pendingIndent that does not exist in API yet
Recently I updated my Android app:
AGP: 7.2.2 -> 8.5.2
Target/Compile SDK version: 34 -> 35
Gradle: 7.3.3 -> 8.7
Before that my linter was working fine and didn't show any issues with the ...
0
votes
0
answers
12
views
Can't access hidden table column within tablelayout layout: Android Kotlin
I create TableLayout and its rows dynamically. Also, I have a hidden column in the table. Every time I try to access the hidden column's value, I simply can't find it, even though it is supposed to be ...
0
votes
1
answer
16
views
just installed Installed Android Studio successfully but cat run due to buid failures
The build failures are due to errors such asenter image description here
enter image description here
How can I remove this aar dependency compatibility issues error.
I have uninstalled android studio ...
0
votes
0
answers
12
views
Where in android flutter do i make changes to get rid of this warning?
Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-...
1
vote
0
answers
16
views
How to display Unicode Power Symbols in my Jetpack Compose app?
I'm trying to get a little switch (segmented button) that shows Unicode PowerOn/PowerSleep symbols:
var selectedIndex by remember { mutableIntStateOf(0) }
val options = listOf("\u23fd", &...
0
votes
0
answers
12
views
Play Console Closed Test App Cant Update At Play Store
I created a new version in the closed test of the mobile application that I will publish on Android with Play Console. When I try update this application on the phone, the update download is completed ...
0
votes
0
answers
18
views
Compose TextField from Material 3 inside an xml RecycleView item - Cursor is not showing
I tried implementing a jetpack compose text field (e.g. a composable function CustomTextField that makes use of JetpackCompose TextField component from Material 3), and tried to use my composable ...
0
votes
1
answer
22
views
How to set backgroundColor of Elevated Button according to status?
I am working to builde a quiz game with flutter. I am new for flutter. In here that creates a four buttons for a question. It runs the checkAnswer method when press answer button and after it I want ...
0
votes
0
answers
5
views
React Native Maps Custom Marker Not working
enter image description here
I wanted to customize the MARKER in react-native-maps , I went through the documentation and found that the use of CALLOUT , but it didnt work.
<Marker title={title} ...
0
votes
0
answers
7
views
How to expose Android Cuttlefish with a TURN server
I am running Android 15.0.0 r5 with Cuttlefish in an ARM host. I am orchestrating the application with Kubernetes and would like to expose the device outside the Kubernetes cluster.
So far I can test ...
0
votes
0
answers
17
views
How to detect pressing youtube button on remote control
I am developing an Android tv app. I need to catch YouTube button press and disable it. I need to do the same for Netflix, Amazon etc.
This is a parental app that serves as a launcher app. I did the ...
-1
votes
1
answer
22
views
Android Kotlin run two coroutines in row
I am trying to run to run two coroutine launches in row. How can I archive this?
the first tries to get an Duration. When that is Successful the collect should stop and the second launch in my ...
0
votes
0
answers
7
views
SQLDelight - how to specify returning type for queries?
I've been playing with SQLDelight for a few days, and after initial delightment I've stumbled upon a mystery - how to define query returning types?
For example, if I have a table
CREATE TABLE ...
0
votes
0
answers
7
views
How to create a structure that is above the NavigationView on the screen and opens upwards when dragged up(.Net Maui)
I have a .Net Maui project and I want a structure that stands just above the NavigationView at the bottom, as in music applications such as Apple Music, and moves up simultaneously as I drag it ...
1
vote
0
answers
14
views
how to open user default browser from twa application?
I have a Trusted Web Activity (TWA) application, and users can make purchases through it.
The problem is that the payment page should open in the user's default browser, not inside the TWA app.
...
0
votes
0
answers
7
views
Problem with Print web page in Android os using google chrome browser
In my Vue.js 3 coding page I import this pagr:
import { PrintReport } from "@/views/app/Anbar/Input/print.js";
then using computed property, when I receive data from store execute it:
...
0
votes
0
answers
13
views
Create HiltViewModel with custom ViewModelStoreOwner
I have this compose code who works perfectly:
val pagerVM = hiltViewModel(
creationCallback = { factory: JourneySummaryPagerViewModel.Factory ->
factory.create(selectedIndex.value)
}...
1
vote
0
answers
17
views
How to open play.google.com/store in Browser and not in PlayStore app
I have this URL that points to the data safety page of our app:
val url = "https://play.google.com/store/apps/datasafety?id=com.example"
When I try from our app to open this page in the ...
0
votes
1
answer
18
views
Gradle compiler is still targeting an older Java version despite having jdk17 installed and configured
I am on react-native 0.72.5. Openjdk version "17.0.13" on Ubuntu.
It was all working fine until I took an apk build. Ever since that the project fails to run on my device/emulator. It shows ...
1
vote
1
answer
27
views
Adroid Kotlin BroadcastReciver is called twice
I implemented an BroadcastReceiver. The Problem is, that it is allways called twice if it is triggered. I don't get why. I hope you can help me.
The manifest is the only place i register the receiver. ...
1
vote
0
answers
13
views
I am trying to find the new coordinates for the library q.rorbin:badgeview:1.1.3
I am trying to find the new coordinates for the library q.rorbin:badgeview:1.1.3. It seems that the original repository has been moved or the library has been renamed. Does anyone know the new ...
0
votes
0
answers
14
views
Flutter Azure Pipeline: "Flutter failed with exit code 1" during Android release build
I’m trying to build a release version of my Flutter app (app bundle) using an Azure DevOps pipeline. The pipeline consistently fails during the Flutter build step with the following error:
Error: The ...
0
votes
1
answer
28
views
MediaStore.Images.Media.getBitmap(getActivity().getContentResolver() always rotates vertical image to horizontal
In my app, I'm just trying to select multiple images from gallary and show in recyclerview before uploading into server. In recyclerview, the images appear with original orientation. However before ...
1
vote
1
answer
25
views
Error Handling for Programmatically Created UI Elements in Android
I am developing an Android application that uses multiple UI elements (e.g., Button, TextView, etc.), and I want to perform error handling for these elements. (Note: These elements aren't created ...
0
votes
0
answers
18
views
Compose TypeSafe Navigation - save state of ViewModel
I'm using Compose TypeSafe navigation for my application.
This is one of the extension function called in NavHost
private fun NavGraphBuilder.loginNavigation(navController: NavHostController) {
...
0
votes
0
answers
23
views
Flutter Agora startRecording() with RecorderStreamType.preview return error code -3
I want to record the local video stream from Agora, including audio, and save it to the device's gallery. However, I don't want to use Agora's Cloud Recording feature. Thanks in advance!
I have used ...
0
votes
0
answers
7
views
Unable to View Past Tickets after Reopening HelpCenterActivity
I’ve implemented the Zendesk Support SDK using Kotlin in our Android app and configured it to open HelpCenterActivity and RequestListActivity with the support engine.
We’re currently using the ...
2
votes
1
answer
60
views
Upgrading targetSdk from 34 to 35; necessary to check entire code?
I'm using the newest version of Android Studio on macOS. My app written in Java currently has targetSdk = 34.
When I change it to targetSdk = 35 and Sync Project with Gradle Files I can successfully ...
-3
votes
0
answers
22
views
Android Code,How to implement Treemaping, thanks [closed]
Is there an open source project for this function? How to implement it? Thank you,Android Code
Android Code,How to implement Treemaping, thank you
Is there an open source project for this function? ...
-1
votes
0
answers
21
views
How to scan Cards in Android [closed]
I checked the Card.IO but it's Archived now. Also the ML-kit accuracy is not the best one.
I tried Card.IO and working fine but not scanning the Expiry data + it's now archived.
The ML-Kit is not the ...
0
votes
1
answer
46
views
How to clone/download a specific clang version from https://android.googlesource.com/?
I want to clone/download clang-r428724. I tried:
┌──(root㉿kali)-[~/Documents]
└─# git clone https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+log/refs/heads/master/clang-...
1
vote
1
answer
12
views
How to create Android automotive app with tabs where each tab loads different screens with template concept
I am implementing tabs using TabTemplate but facing issue in refreshing the UI once the tab is clicked. On tab click new screen is loaded where each screen has api call, once api is success I need to ...
0
votes
0
answers
8
views
How to Programmatically Restart a Trusted Web Activity (TWA) After App Update in Android?
I am working on an Android app that has only one Trusted Web Activity (TWA).
For example, in a new version of my app, I change the base URL for the TWA from https://example.com to https://example.com/...
0
votes
0
answers
22
views
Why does my widget look ok in android studio but broken on the phone?
I have a layout file that I think looks ok, and it looks as I expect in the preview in android studio:
However, when I deploy on the phone, the entire layout is totally broken, and in addition, you ...
0
votes
0
answers
38
views
Silent data messages are being throttled on iOS, how to still perform background sync
I was building a chat app. I had this problem with how am I going to keep the local data up to date with the data on my laravel server's DB. I thought of Whatsapp and how they keep their app's local ...
0
votes
0
answers
18
views
Unresolved reference: registerForActivityResult in FlutterFragmentActivity
I have been getting this error in my MainActivity.kt for almost a week now, and still haven't found a solution that work.
The error is "Unresolved reference: registerForActivityResult" with ...
0
votes
0
answers
6
views
TelecomManager.addNewIncomingCall fails when a call is already ringing
I'm developing a VoIP call app on Android with third party SIP stack.
This app works fine for the most part, but when there is an incoming (and unanswered) call, addNewIncomingCall fails and ...
-1
votes
0
answers
13
views
How to migrate Android Project to Kotlin MultiPlatform Project | Missing Menu
I'm using Android Studio Ladybug | 2024.2.1 Patch 3.
I am stuck in migrating from android project to kotlin multiplatform.
Based on the JetBrains documentation and several tutorial videos, I found ...
0
votes
1
answer
20
views
Get user country name with AppMetrica SDK in Android app
How to get user location (country name) via AppMetrica SDK (v7+) Java API in Android app?
I looking how to get user's country code within app with integrated AppMetrica SDK, without declaring location ...
-1
votes
0
answers
32
views
How to Handle Flavor-Based Builds for iOS in Flutter When Using a Single main.dart?
I am currently working on a Flutter project where I have six flavors for two variants: Free and Pro. Each flavor corresponds to different environments like dev, uat, and prod.
Initially, I had ...
0
votes
0
answers
12
views
Error Installing Packages with sdkmanager: "Errors during XML parse"
I'm trying to install Android SDK packages using the sdkmanager command, but I keep encountering an error related to XML parsing. Here's the command I'm running and the output I get:
Command:
...
0
votes
0
answers
21
views
Google password manager doesn't want to save the password in my app
I've built an app for a client where the users have to authenticate via SSO on startup. This is done via an Android WebView, showing the SSO login screen, letting the user log in, saving all the ...
0
votes
1
answer
32
views
RecyclerView : Changing content and refresh dataset doesn't clear previous result
I have a list of my data. I also have filters to choose which data in the list I want to see. By default I'm seeing all contents.
I made a RecyclerView that is well populated. The problem is about ...
1
vote
1
answer
40
views
Jetpack Compose - extend child of layout beyond bounds
What I am looking for is a way to have the child of a layout element (row or column) extend beyond its parent's bounds in perpendicular direction. I want to do this because I want to have the row in ...
-1
votes
0
answers
24
views
How can I find and display nearby toilets in my mobile school project app using Mapbox?
I recently started working on a school project using kotlin where we're building a "Find Restroom" app. I decided to use Mapbox for this because I wanted to learn how to use their API and ...
0
votes
0
answers
21
views
<nulltype> cannot be represented as a Class<?> SDK 35 in Android
I was using compile 34 as the target SDK in my project and it gave me a warning that I should now make it 35. So I made the compile SDK 35 and then when I did the rebuild it gave me an error like this....
0
votes
1
answer
19
views
How to store access token in memory, variable or SavedStateHandle?
Problem with storing Access token in SavedStateHandle is that we are coupling presentation layer with the data layer, as what management of access token is task of data layer.
I haven't found much ...