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.

0 votes
0 answers
8 views

formatting issue with braces `}`

I am trying to make sure that when I put a date, it is correctly placed a piece of code below, but I don't know why it gives the error in the image I am wondering if it is due to the formatting of the ...
user avatar
  • 11
0 votes
0 answers
14 views

Live save pictures to server in Android Studio

I want the app to record video or take photos at 30 fps and save them under one name on the server so that one photo changes and thus becomes a video. I already found the code that makes the server. I ...
user avatar
  • 53
0 votes
0 answers
8 views

Activity won't launch from notification when the app is started from notification

I have an app that sends notifications, and when clicked, opens an activity from my app. If you launch the app and keep the app open and click notifications, it works properly. However, when the app ...
user avatar
  • 181
0 votes
0 answers
13 views

Leaked GCP API Keys : Your app contains exposed Google Cloud Platform (GCP) API keys. Please see this Google Help Center article for details

I am getting this error from play store : tried to limit the access of api key within that file but still getting this error. please suggest a solution to solve this error.
user avatar
  • 712
0 votes
1 answer
10 views

When I open my emulator in my Android Studio then the build output pop up and showing continuously this problem

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
user avatar
  • 1
0 votes
0 answers
13 views

How to handle doOnTextChanged and doBeforeTextChanged in TextField of Jetpack Compose?

I need to implement redo/undo for TextField in Jetpack Compose. For an EditText I used this one and it worked well. However, for Jetpack Compose there is no such a listener. I would implement an own ...
user avatar
  • 1,060
0 votes
0 answers
10 views

Should I test remoteDataSource implementation?

I have an implementation of a remoteDataSource which loooks similar to this: class MyRemoteDataSource @Inject constructor(private val myApi: myApi) : RemoteDataSource { private val ...
user avatar
  • 992
0 votes
0 answers
13 views

pouchdb putAttachment never returns on Android (possibly due to system update)

Issue Having made no changes to our Ionic app, calls to putAttachment are now failing on some Android devices. Info: Environment: Ionic/Angular Platform: Android Adapter:cordova-plugin-sqlite-2 ...
user avatar
-1 votes
0 answers
20 views

How to access "types" dynamically with java?

I don't know what types.DocumentType is, but I'm doing an integration of an sdk and I created a cordova plugin. the import from the sdk is like this: import exemple.types.DocumentType; example.open(...
user avatar
0 votes
0 answers
12 views

Android 11 dialog in fullscreen doesn't work

When I set a dialog in full screen it isn't really fullscreen. see here How can I fix that? Window window = getWindow(); layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT; ...
user avatar
0 votes
0 answers
13 views

Android 12 won't lock to portrait mode properly

So I've added the following to my AndroidManifest.xml: <activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|...
user avatar
  • 279
0 votes
0 answers
20 views

What could be causing Android (Kotlin) Fragments visual glitchs (fragments overlap on nagivate)?

I have a fragments displaying lists of items and it's forms to populate the lists. When i go to the list fragment to the form fragment using findNavController().navigate() the form fragment is shown ...
user avatar
  • 90
0 votes
1 answer
10 views

Add Specific Multiple Dates To Caldendar

I'm using this calendar library: https://github.com/Applandeo/Material-Calendar-View I'm trying to add multiple specific dates to calendar. I'm using the following code so far: calendarView = (...
user avatar
0 votes
0 answers
8 views

Access FLAG_SECURE from an accessibility service

Google requires that apps respect the display's FLAG_SECURE. How can we read the FLAG_SECURE value from inside an accessibility service? GOOGLE'S ANNOUNCEMENT, EFFECTIVE NOV 1, 2022 (link): ...
user avatar
  • 6,603
0 votes
0 answers
5 views

How to hide Nav bar when using soft keyboard for edit text?

I am building an Immersive app. When the soft keyboard launches during edit text, the navigation bar comes with it as well. How do I prevent this? Can't find anything in XLM to prevent this and can't ...
user avatar

15 30 50 per page
1
2 3 4 5
92255