Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Sveltekit | Capacitor | Android Studio - Geolocation is populating in VS Code's Live Server & with "npm run dev" in terminal but not in Android Studio

I'm building a mobile app for android using Sveltekit and Capacitor. I basically followed a simple tutorial to create an app where you retrieve your Lat and Long after clicking a button. When I use VS ...
Kurt Willrich's user avatar
0 votes
1 answer
16 views

Best way to deploy a secret messaging app on Android that cannot be found by an abusive parent?

(I know this doesn't really belong here but the solution might be very low level so I need your software dev knowledge.) A friend's cousin is getting abused by their parent and the contact has ...
ZeroMax's user avatar
  • 369
0 votes
1 answer
13 views

How to solve the issue about Android emulator 5554?

Hello experts i'm new in flutter and android studio and i'm facing a common issue as i could see: no emulator running: this my flutter dotcor log Doctor summary (to see all details, run flutter ...
Mariosposa's user avatar
0 votes
0 answers
6 views

Android NDK "wrap.sh" and using sanitizers

For some time I am trying to solve a bug in our native C++ shared library using traces but it is not easily reproducable (multithreading/networking involved). We have Android (Java) code instantiating ...
nikoladsp's user avatar
  • 155
0 votes
0 answers
8 views

Can one get the (view-relative) drop position using androidx.draganddrop.DropHelper?

I have implemented a view (similar to a ListView) that has a column with an icon grabbing and dragging which I can quickly re-order the displayed lines. I implemented that by using the androidx.core....
mmo's user avatar
  • 4,206
0 votes
0 answers
12 views

Build Tool not found after creating a new Flutter project

I created a new Flutter project. After I ran it it gave me the following error. Launching lib\main.dart on SM A127F in debug mode... Running Gradle task 'assembleDebug'... Warning: SDK processing. ...
Vinayak Sutar's user avatar
1 vote
1 answer
20 views

Proper usage of Google API (Navigation) in Android clean architecture

I have a question regarding usage of Google APIs (in my case NavigationAPI) in clean architecture. So in order to use google navigation it is necessary to have Navigator object from NavigationApi....
gawron103's user avatar
  • 309
2 votes
1 answer
17 views

"Unresolved reference: copy" if using || operator in data class check

Having this uistate: sealed interface BusStopsDBScreenUiState { val message: StringResource? data class Loading(override val message: StringResource? = null) : BusStopsDBScreenUiState data ...
NullPointerException's user avatar
0 votes
0 answers
8 views

Admob Rewarded Ad is not loading in flutter

My rewarded ad is not loading in my flutter app (android). I updated AndroidManifest.xml file with meta tags and internet permissions also. I tried testUnitId as well as real unitId from admob on ...
Shm Hckr's user avatar
0 votes
0 answers
11 views

Is there a way on Android to keep my wallpaperservice running for a very long time?

I have an android application with a WallpaperService running for some days but Android stops it randomly after 3, 4 days of usage and the wallpaper disapears . I plugged Sentry but no exception or ...
bob's user avatar
  • 1
0 votes
0 answers
15 views

Unity or Gradle add '\' in front of APP_ID in AndroidManifest.xml

I am developing an android game in Unity. Recently I updated some libraries for Gley's Mobile Tool then I got the following errors when I build the app. It seems that Unity or Gradle puts '\' in front ...
1pcWatermelon's user avatar
0 votes
0 answers
20 views

Android facebook app wont open NFC tag url [closed]

I am trying to connect my facebook page to a nfc tag and when i write the url of the page in the tag it opens fine on : iOS, iOS browser, Android browser, for some reason when i open it with the ...
Ivan's user avatar
  • 625
0 votes
0 answers
25 views

NanoHTTPD Server Only Sharing Files of 226 MB – How to Resolve?

I'm using NanoHTTPD in my Android project to serve files over a local HTTP server. While the server works, it seems to cap the file size at 226 MB. Files larger than this size are not served correctly....
Bash code's user avatar
0 votes
0 answers
33 views

File::mkdirs not creating full path?

(a bit of preamble to start with) Until recently, my phone was on Android 8. I wrote an app that syncs data from my laptop to my phone. As part of the process, it will create and remove directories as ...
Scarfy's user avatar
  • 41
0 votes
2 answers
35 views

Manage Selected item Screen Navigation On Don't Keep Activities (Process Death) Enabled

I'm using Jetpack Compose with NavController to manage navigation in my app. I have a screen where I want to clear the screen when seleted item is null immediately or restrict navigation or pop when ...
Santhosh Kumar's user avatar
0 votes
0 answers
17 views

UI does not update with data on first app start, but loads when app is closed and reopened

I have an issue where the first time the app is opened and the user goes through the onboarding and then to the home screen, the UI doesn't load the data from the database and is stuck on a blank ...
AdrianIK's user avatar
0 votes
0 answers
11 views

Click on an error box in React Native, gives error: requireNativeComponent: "RCTScrollContentView" was not found in the UIManager

When I try to run React Native on Android, I get the following error after trying to click on the logbox in the app: Invariant Violation: An error was thrown when attempting to render log messages via ...
user24807131's user avatar
-1 votes
0 answers
21 views

Access ScreenTime/Family Controls in a React Native/Expo App

I'm looking for a guide on how to access screen time inside my expo app. I've seen a few packages like this one: https://www.npmjs.com/package/@quibr/react-native-screen-time-api#usage but it's not ...
Tom's user avatar
  • 399
0 votes
0 answers
25 views

How to round certain corners of an ImageView

I am trying to round only the bottom corners of the ImageView, so that the view fits perfectly into the upper part of the screen, but also has an attractive design. Below you can see the code of my ...
Ismi's user avatar
  • 1
0 votes
0 answers
22 views

Microsoft.Maui.Authentication.WebAuthenticator Google login keeps prompting for account selection every time

I have a small .net Maui app which uses Google login to access files in Google Drive. The code I am using to get the UserCredential is as follows: Note that the sensitive values are fake and shown ...
dushyantp's user avatar
  • 4,720
0 votes
0 answers
10 views

How to access the phone's camera and interact with other system components using the Flet library?

I am working on developing an app using the Flet library in Python, and I need help with interacting with system components on an Android phone, such as the camera and other necessary permissions. ...
Dkil Dkil's user avatar
0 votes
1 answer
40 views

How can I solve this Build error in Unity after adding Firebase to the project?

I want to add Firebase to my Unity project. I followed the Firebase docs from here: https://firebase.google.com/docs/unity/setup-alternative#alternative_unity_package_manager. I imported External ...
TOM's user avatar
  • 11
0 votes
0 answers
7 views

Flutter error: Could not determine the dependencies of task ':shared_preferences_android:compileDebugJavaWithJavac

I encountered an error while running my Flutter project when using the shared_preferences package. The error message is as follows: "Could not determine the dependencies of task ':...
Yekini Gafour's user avatar
1 vote
0 answers
18 views

Bluetooth Communication Issue: Receiving Garbled Audio Data Instead of Properly Parsed Files in Android App

I am developing an Android app that handles Bluetooth communication to send and receive text messages and audio files. The sending process works fine, and the headers seem to be transmitted correctly. ...
tom's user avatar
  • 41
1 vote
0 answers
8 views

Flutter Android build fails with Workmanager plugin - kotlin version conflict

I'm developing a Flutter app that uses the workmanager plugin for background tasks. The app works fine on iOS, but I'm encountering build issues on Android. Here's my setup: Flutter Workmanager Build ...
EVAN's user avatar
  • 11
0 votes
0 answers
23 views

Camera is closed in CameraX using with jetpack compose

while I run my app in real phones it's ok but in android studio emulator it cause this error : Photo capture failed: Camera is closed this is my code strange thing is that when I switch front camera ...
رضا پریور's user avatar
0 votes
0 answers
15 views

Getting an issue while running the Flutter module in an existing Android project

A problem was found with the configuration of task ':flutter:bundleDebugAar' (type 'BundleAar'). Gradle detected a problem with the following location: 'G:\WORK\Android\Veels Plus\vp_fuelin-...
Swapnali Thorat's user avatar
0 votes
1 answer
45 views

Recomposition when using MVI Architecture [closed]

I am learning MVI and I have a question about rebuild user interface when state changes. As MVI will have only 1 state, whenever I add new value the state will be changed. So if my state let's say ...
Tuân's user avatar
  • 21
0 votes
0 answers
18 views

How to Send Transport ID from Device to Client and Use It for ADB Connection?

I'm currently working on a project to connect Android devices to a web client via Node.js and WebSocket, Tango ADB. I'm able to list connected devices using AdbServerClient and retrieve the ...
Sep 21th's user avatar
0 votes
0 answers
19 views

How to restart video playback

I have a VideoPlayerItem widget that plays a video and triggers an onVideoEnd callback when the video ends. I also have a refresh button that I want to use to restart the video playback. How do I do ...
Rohith Rathod's user avatar
0 votes
1 answer
33 views

How to handle more than 200MB of mp3 files in expo

I have an expo app with a lot of mp3 audio files. Now I got the error message from android playstore that my app is over 200MB and that's not ok. Do you know how can I handle that amount of data? I ...
max's user avatar
  • 3
1 vote
1 answer
20 views

Gradle task taking over 4 minutes (for 20-second test suite)

When launching my test suite from the command line: ./gradlew "connectedDebugAndroidTest" there is a task that is taking more than 4 minutes, even if no changes have been made: > :app:...
Byron Hawkins's user avatar
0 votes
0 answers
13 views

External Payment provider in Webview goes to session timeout

I have a react native application when we have to use webview component for external payment providers. The props I pass through the webview are listed below: ref: webViewRef, source: { uri: 'www....
coder03's user avatar
  • 129
0 votes
0 answers
11 views

Show smallicon in status instead of one white point by foreground service

I write foreground service code and set "setSmallIcon", when it runs,it couldn't show the icon in the statusbar. what I want is the first and second picture like below: and below is not ...
堕落的繁华's user avatar
1 vote
1 answer
45 views

AES Decryption Fails with "Padding is Invalid" Error When Decrypting Data Encrypted by Android Client

I’m trying to decrypt data on a C# server that was encrypted by an Android client using AES encryption. However, I’m encountering a System.Security.Cryptography.CryptographicException: Padding is ...
sobhan alaeddini's user avatar
0 votes
1 answer
36 views

In Android, how do you serialize a mutable state data type using Gson?

As the title states I'm trying to serialize a mutable state data type into a JSON format using the Gson library so that it can be saved into a file. However, the application crashes every time I do so....
Bob Rasner's user avatar
0 votes
0 answers
19 views

Service not starting in separate process

I need to create a foreground service that runs in a separate process. But for some reason regardless of parameters it runs in the same process as the main activity. If I set isolated process then it ...
Pavlo Holotiuk's user avatar
0 votes
0 answers
12 views

TextInputControl SendText To webOS LG TV using ConnectSDK in Android

I am trying to send typed text from Android mobile to the search bar in LG TV webOS utilizing the ConnectSDK API. This is the API that LG posts to use to communicate with their TV for mobile ...
Russell Sjoblom's user avatar
1 vote
1 answer
30 views

Cannot set TextField's focusedLabelColor without also specifying focusedTextColor

In a new Android Compose project using material3, I'm trying to set focusedLabelColor of OutlinedTextField as follows but it didn't work unless setting color on Text. OutlinedTextField( label = { ...
Inori's user avatar
  • 21
1 vote
1 answer
37 views

Signed apk crashes in Android 12L

When I was checking my pre-launch reports, I noticed that my app crashes on an Android 12L device. The crash does not occur in debug or release modes on my own device, but it does happen when I ...
atg's user avatar
  • 31
-3 votes
0 answers
41 views

error in sync of gradle in android project even new project

I download android studio 2024.2.1 patch 1 install it ,create new empty project after it start sync but i got this error : Build file 'D:\AndroidProjects\MyApplication\build.gradle' line: 2 Plugin [...
Alavi's user avatar
  • 702
0 votes
0 answers
14 views

Play billing v7 subscriptions: how to allow a salesman offer discount

I'm currently working in an app for instructors which have most of the features free for everyone, but only a few are available if you pay a subscription. We have some plans (three to be exact), and ...
lightless07's user avatar
1 vote
0 answers
34 views

How can one get the LLM model name and version using Google AI Edge SDK?

I use Google AI Edge SDK to call an on-device LLM (example app). How can I get the LLM model name and version that my code uses? https://developer.android.com/ai/gemini-nano says it uses Gemini Nano: ...
Franck Dernoncourt's user avatar
0 votes
0 answers
14 views

In android platform how to keep virtual keyboard always show in webview page

In the webview page, when the user clicks on the non-input content area, the virtual keyboard will hide. How can I keep the virtual keyboard displayed all the time?
breeze's user avatar
  • 53
0 votes
1 answer
38 views

Using Jetpack Compose, how do you store the value of a text field into a dynamically create class

I've created a test application for Android using Jetpack Compose. The application consists of a column that holds dynamically created text fields. Each text field has an instance of a class that ...
Bob Rasner's user avatar
0 votes
1 answer
35 views

Jetpack Compose TopAppBar with search bar embedded

I'm trying to implement something that I feel should be easy but I'm having a hard time. I have a screen with a scaffold, topbar, and lazycolumn as content: I'm using a M3 TopAppBar with a ...
FerranLP's user avatar
0 votes
0 answers
38 views

Trying to understand the AndroidView component of Jetpack Compose

There is one thing I don't understand about the onReset method of the AndroidView component of Jetpack Compose, as it is said that when this is used in a LazyColumn, LazyVerticalGrid, etc., the ...
Ludiras's user avatar
  • 494
2 votes
0 answers
14 views

Error in React Native Expo Project after installing my phone's OS update

So I am currently developing an app using Expo, before updating my phone, my project is working perfectly fine on my Expo Go. But after finishing my phone's update, when I open the project on Expo Go ...
httperror505's user avatar
2 votes
2 answers
74 views

How can I hide my app icon on Samsung phones

how can I hide the app icon? I put this code: val defaultLauncher = ComponentName(context, MainActivity::class.java) packageManager.setComponentEnabledSetting(defaultLauncher,PackageManager....
Mikaiil's user avatar
  • 23
0 votes
2 answers
15 views

Cannot build just created KMM project in Android Studio due to UnitSuspendFunctionObjCExport

I've installed Kotlin Multiplatform plugin v. 0.8.3(242)-5 in Android Studio Lady Bug. Than I've created Multiplatform project and tried to build it and got following output: org.jetbrains.kotlin....
user3385013's user avatar

1
2 3 4 5
28397