Questions tagged [android]

Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, etc. For questions other than development or programming but related to the Android framework, use this link: https://android.stackexchange.com.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

How to solve- Write file to a specific directory through file picker asking for permission again and again in Android native Java?

In my android native java project, I want one functionality that will create a .txt file by taking input from user. Then, while saving the file, we will use file picker to open and select one ...
S. M. Asif's user avatar
  • 3,507
0 votes
0 answers
10 views

Create a flutter app how search, connect and dialogue with bluetooth motherboard

We have to create a flutter app how connect to other bluetooth motherboard. Our work is similar to an application for connected light bulbs. We tried to creat emulator bluetooth app on phone to try to ...
Romain Geurts's user avatar
0 votes
1 answer
15 views

How can I get 20 users to test my application?

I'm unable to find 20 testers for my app Meeting Publishing Requirements for New Developers, As a new developer, meeting the new publishing requirements can be a daunting task. While your app may be ...
Rakhi srivastav's user avatar
1 vote
0 answers
9 views

Cannot read FireStore collections if a collection is not created manually

I am creating a simple social media app in Android Kotlin with FireStore. In the user registration page, after user inputs all the basic information I create a collection called "users" like ...
Hayato Koyama's user avatar
0 votes
0 answers
4 views

React Native Android App Not Launching After Idle Period, Throws NullPointerException

When the React Native Android application is idle for approximately 3-4 hours (even in an ideal state where I am capturing the device's GPS points data), and then an attempt is made to open the ...
Shamini's user avatar
1 vote
0 answers
9 views

The issue of white edges in rounded corners in Android

In Android, the view with a transparent background (# C20B0C0E) is overlaid with a white background view (# C6D1DC), and the overall rounded corners are cropped with white edges How to solve this ...
张军伟's user avatar
0 votes
0 answers
10 views

Error when running the code for Android (FAILURE: Build failed with an exception.)

my program has this error only when running on Android, and there is no problem when running on Chrome.[ FAILURE: Build failed with an exception. What went wrong: Could not resolve all files for ...
Mohamad Mahdi Jebeli's user avatar
1 vote
1 answer
15 views

Change height of an expansion tile in flutter

I have this expansion tile which takes too much padding which results in a lot of wasted space, how can I get down the top and bottom padding of this expansion tile? Widget additiveCard( ...
Tevel's user avatar
  • 25
-1 votes
0 answers
7 views

CMB Application crash when i launch it due to a NoSuchMethodError

I have a problem when I want to launch the cmb or credit mutuel de bretagne app. The application crashes on startup. I retrieved the logs from my phone: 12-01 07:47:00.216 1000 2970 10155 I am_crash ...
Drakiel's user avatar
1 vote
0 answers
12 views

React Native Build failed with an exception. Error: Can't determine type for tag '<macro/>

I'm not able to run my project after Android SDK update What went wrong: Execution failed for task ':app:mergeDebugResources'. /Users/rahulajmerat/.gradle/caches/transforms-3/...
Sam Patel's user avatar
-1 votes
0 answers
14 views

How to calculate the sliding trajectory with a fast finger slide

这个问题有一些难点, 例如我需要有一个最小的移动距离,因为我要在上面画一些复杂的Path,我希望这部分Path可以均匀的分布在我手指的轨迹上,而且我可以灵活的控制Path的分布的密度,例如在10像素的距离上我只画n次这个复杂的Path,主要就是快速移动时,move事件里的(X,Y)间隔非常大,如果我单纯的在move里去addPath,就会出现不连续的状态 注意:复杂的path是一个矢量图 ...
T-Mac's user avatar
  • 1
-2 votes
2 answers
56 views

please help me with an error in Android Studio

my screen Im working in Android Studio, using Flutter my loading_screen.dart file is not reading my locally made locationscreen.dart file because of this , I'm getting an error while running the code ...
Avinash Venkat's user avatar
0 votes
0 answers
26 views

Jetpack Compose ComponentDialog TextField cannot wake up the soft keyboard

I encountered an issue when mixing ComposeView, but I couldn't solve it very well. When I was in ComposeView in ComponentDialogs, I found that TextField did not successfully wake up the soft keyboard ...
Gang's user avatar
  • 1
-8 votes
0 answers
45 views

Can you help me to create this ANDROID STUDIO [closed]

enter image description here CREATE LIKE THIS SO THIS IS A FOOD TRACKING WHEN WE ENTER TO FIND THE FOOD IT WILL SHOW YOU THE FOOD YOU NEED AND ASK YOU THE WIEGHT THEN IT WILL APPEAR THE ANALYSE FOR ...
Văn Huy Hoàng's user avatar
0 votes
1 answer
27 views

Extras on intent null in onReceive method in BroadcastReceiver

I have a problem where I'm trying to set up an Android notification, but the when I schedule an intent with extras, the extras come over as null. My code to create the intent and the pendingIntent ...
Allen Klare's user avatar
0 votes
1 answer
29 views

I have an error in Kotlin caused by a mutableState

The error is produced when I called the element, it seems that the first argument is of a different type than expected, but I don't understand why, I'm confused, by the way I'm learning jetpack-...
ivan ojeda's user avatar
0 votes
0 answers
10 views

android Having an issue with resource subfolders

I have used resource subfolders on multiple projects; but I am now having some difficulties. There are two methods for adding subfolders; however they both rely on the same thing. Adding the folders ...
user1743524's user avatar
0 votes
0 answers
13 views

Failed to notify project evaluation listener. To add 'ksp'. | Android Studio

I want to add the Room Compiler and Lifecycle Common in ksp, but the error occurred, I have the Android Studio version Giraffe | 2022.3.1 Path 4, Can anyone solve this problem? A problem occurred ...
Adolfo Gutierrez's user avatar
0 votes
0 answers
23 views

How to fix Blurry Camera Preview Screen?

I'm trying to make a preview screen with a circle overlay on top of it. Due to project requirements, the preview screen has to be large enough to fully contain the circle. The project requirements ...
Mike Ike's user avatar
0 votes
0 answers
15 views

How to integrate Upstream/streamtape servers using API into an application managed by the Oxoo panel?

I'm currently working on enhancing my application, which is managed by the Oxoo panel, to support additional servers through API integration. Specifically, I'm interested in implementing Upstream/...
JDGC's user avatar
  • 1
0 votes
0 answers
12 views

Pixel 2 Oreo Api level 27 Android 8.1 screen won't rotate

Any idea what I'm missing in a setting somewhere?
Fiddle Freak's user avatar
  • 2,017
1 vote
0 answers
24 views

Does a LaunchedEffect to request focus work with AnimatedVisibility in Jetpack Compose?

I want to use an AnimatedVisibility to make a Text appear only when a button click is triggered, and then use a side effect to set accessibility focus on that Text once it is composed. Based on ...
user22376410's user avatar
0 votes
0 answers
4 views

Can I use an Android vector graphic with ArcGIS MapView graphicsOverlay.graphics?

I'm working with an Android ESRI ArcGIS map application. I want to use an android vector graphic resource on the ArcGIS mapView. I'm able to use a png resource. How do I use a vector graphic IE: flag....
Jay Bowman's user avatar
0 votes
0 answers
15 views

What circumstances could cause GStreamer's autovideosink to not render video?

I have a GStreamer project I'm building for Android. I've tried adapting the official GStreamer tutorial-3 video playback example to use an appsrc to make sure I can playback locally, but am running ...
AdamWardVGP's user avatar
0 votes
1 answer
27 views

Android Kotlin assert list is empty but file is in folder

I am trying to read a file in via Android assets folder. For this I made a assets folder like here. I made a file and it is shows in the explore: When I run in the onCreate method: Log.d("Test&...
kabr8's user avatar
  • 343
0 votes
0 answers
27 views

How to combine completable with Observable

I want to make changes to existing flow of data loading such that I call a new cache API without changing any logical change to anything else. I have a observable variable of type Weather. I want to ...
Hack123's user avatar
  • 95
0 votes
1 answer
20 views

Full Screen Activity for App in Android Studio

I came across this app (I attach a screen), where you can see that the background of the app also seems to extend into the bar where there is the time, the network status, etc etc, I wanted to try to ...
Marduk's user avatar
  • 127
0 votes
1 answer
21 views

VS2022 - Android TV Emulator - add app to homescreen?

I am using VS2022 to develop a Blazor Hybrid App which I have running on a number of emulators. I'm just wondering after deploying to the Android TV emulator, how to get the app to appear in the 'apps'...
AndyW's user avatar
  • 345
0 votes
0 answers
7 views

Android Studio loop ImageView Animation

I'm working on a little project and have run into some trouble. I made an asset that I want to use in my fragment over the navbar of my app: <?xml version="1.0" encoding="UTF-8" standalone="no"?...
schwitzky's user avatar
0 votes
0 answers
22 views

Justify Arabic Rich Text To Align Both Right And Left Sides In Flutter

I am trying to justify both ends of my book like application for arabic Quran, however only the right side is justified, in short I want to evenly space the words for each line. Is it possible to do ...
Mohammad Goja's user avatar
-1 votes
0 answers
15 views

Retrofit2 - Upload image to server give an 500 Internal Server Error as response in android studio

I am trying to send image files from my android app to a back end server. On Postman, images are sent and response code:200 is received. enter image description here However, trying to send images ...
depressed's user avatar
0 votes
1 answer
16 views

Kotlin incompatibility problem when adding ads/billing to older Android app

I'm working on a legacy Android project which is working fine on the latest Android API 33 (Gradle version 8). I get a problem when I'm trying to add ads/billing by including the following imports in ...
ZP007's user avatar
  • 592
0 votes
0 answers
11 views

How to launch web AR on android from a QR code

Given a GLTF (or GLB) asset, one can launch the WebAR experience on an android phone via a url like: intent://arvr.google.com/scene-viewer/1.0?file=<insertURLHere>&title=MyWebArAsset&...
jekelija's user avatar
  • 257
-1 votes
0 answers
9 views

Sythesize to File not working properly FlutterTTS

🐛 Bug Report I tried to use Synthesize to file. It is not generating the audio file. E/TextToSpeech( 8839): Opening file spoken.wav failed E/TextToSpeech( 8839): java.io.FileNotFoundException: open ...
Abdullah Rafiq's user avatar
0 votes
1 answer
18 views

Which style am I missing for AlertDialog button colors to change? Works fine with MaterialAlertDialog

Edit: I should mention I have read a lot of answers about the AlertDialog styles and tried every suggestion I could find, so please don't make this as duplicate. I have a sample class I'm testing. If ...
casolorz's user avatar
  • 8,766
0 votes
0 answers
15 views

Memory-friendly way to save Bitmap raw bytes

I would look for a more memory-friendly way to get the raw pixel data from a Bitmap to a stream. fun Bitmap.toStreamRaw(stream: OutputStream) { ByteBuffer.allocate(width * height * 4).also { ...
Gábor's user avatar
  • 9,535
-4 votes
0 answers
23 views

mobile number not saved in firedatabase from previous activity

I CREATED FIRST 'LOGIN ACTIVITY; IN WHICH MOBILE NO ENTER BY USER AND SEND OTP AFTER CLICK SUBMIT BTN AND CREATE PUTEXTRA METHOD SO I CAN MOBILE NUMBER ENTER BY USER IS USE IN NEXT ACIVITY Intent ...
Uday Makwana's user avatar
1 vote
0 answers
31 views

Android Studio Layout Editor kept on Auto Zoom Out

It's so annoying, I couldn't find any windows or button to disable the auto zoom out every time I scrolled down and click in any area on the xml. It would zoom out 48%-50% and then I need to adjust it ...
Katufo Prem's user avatar
0 votes
0 answers
19 views

widthIn modifier inside a container using height(IntrinsicSize.Max) causes content to be clipped

I have the following requirements for this Composable function: It needs to grow based on the size of its content, so no fixed height can be used. It has an item (green) that grows as big as the ...
Eduardo Naveda's user avatar
0 votes
0 answers
17 views

Issue with encrypting files before sending to Firebase (getting null result)

I'm working on a project where I need to encrypt files before uploading them to Firebase Storage. However, I'm encountering an issue where the encryption method returns null, indicating that the ...
rororo's user avatar
  • 9
0 votes
0 answers
15 views

Request Get on Android Studio

I'm create a app to found where is the client (city, localization, route, ...) and to solve this i need make a request get to this website https://nominatim.openstreetmap.org on android studio with ...
Carl's user avatar
  • 7
0 votes
0 answers
13 views

How do I prevent React Native Flatlist hiding items on Android (when Im trying to stack them)

Despite what I believe to be expected, Flatlist seems to be trying to performance manage my items, when I'm trying to stack them upon each other on Android. It works fine on iOS. I'm trying to use ...
Anthony Main's user avatar
  • 6,029
0 votes
0 answers
7 views

Retrofit Exception: java.lang.IllegalStateException: Already executed [duplicate]

I developed an Android Apps with retrofit which is used to access Django REST API. class ListAdapter<T : ViewBinding>(private val user: String, private val chafingDishData: List<ChafingDish&...
Jingda's user avatar
  • 43
1 vote
1 answer
24 views

how to pop back to the previous fragment in Java Android

so basically I am trying to remove the deprecation any advices. on how to roll back to the previous fragment. this is what i tried but everything is deprecated. is there any way to perform the back ...
Mahameed's user avatar
0 votes
0 answers
17 views

Center a recyclerView card item in a specific view after scrolling

I am trying to make a slot game with a vertical RecyclerView and a button, when the user hit that button, it automatically scrolls the list. Meanwhile, in my main activity XML, I have a view with a ...
widy 's user avatar
0 votes
0 answers
5 views

Add react native module inside android kotlin app

I am trying to add a new React native module to an existing android application. I already was able to make the android app open the react native activity following the guide that React Native ...
Bruno Ramos's user avatar
1 vote
1 answer
40 views

In Jetpack Compose, how can you check to see if a screen has re-composed?

I want to be able to set accessibility focus on a Text object, but only once it becomes visible (through mutable state boolean that is remembered). This means that the screen needs to finish re-...
user22376410's user avatar
0 votes
0 answers
13 views

My cutsom bottom navigation has lag and jump frame when I switch between items

I created a custom bottom navigation and when I want navigate from home fragment to plan fragment occurring lag and jump frame but on the contrary is smoother(probably because I used more elements in ...
hassan golestani's user avatar
0 votes
1 answer
14 views

How can i open an apk app with android studion and modify it

I have an androidp app ans i need to modify it, how can i have the source code from apk file and open it with android studio for modification. thank's a lot
Samir ZAABLI's user avatar
0 votes
0 answers
9 views

Enable BT from a Service do not works on Android 14

I'm trying to show the enable BT dialog from a service using this command startActivity(new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); but the dialog ...
The Matrix's user avatar
  • 1,268

1
2 3 4 5
28265