Questions tagged [android-developer-api]

API for android developers to access various settings

This tag mainly used to separate android developers API related.

Such as user setting and other APIs

List of APIs and classes for android developers :

Related Tags :

439 questions
1
vote
0 answers

Could not find com.android.tools.build:gradle:. Required by: project :app Add google Maven repository and sync project Open File

i am using latest android studios and facing some build issue. could you guys please help out gradle updation, maven updation, andriod unistall and after installation also checked i have follow stackflow answer but these all are old answer, so could…
1
vote
0 answers

Does the Android SDK 33 have a dependency of Expat 2.4.8?

I am compiling my android application using the Android SDK Platform 33. When running static analysis of the apk I am seeing references to the library Expat version 2.4.8. This version has a known vulnerability and I would like to have the newest…
1
vote
0 answers

Android AsyncTasks Not Running in Google Play Deployment but working normal when launched to device from Android Studio

I have been developing Android for 13 years and today I discovered the first issue I am completely not able to understand or even begin to debug. My app which makes a number of web calls to fetch data is able to deploy to my test devices and run…
1
vote
1 answer

How to Detect Presence and Size of Android Taskbar

My app recognizes the presence of the navigation bar at the bottom of the screen and moves its own buttons up and out of the way so as not to be obscured. It also recognizes when "swipe gestures" have been turned on and reduces the amount of space…
Craig
  • 3,253
  • 5
  • 29
  • 43
1
vote
0 answers

How to stop getting files from subfolders in android studio?

I'm building a video player app and problem is that I'm getting files from all folders in 0 directory(files also show from a subfolder). I made a folder "Folder 1" and a subfolder "Folder 2" in storage and files from "Folder 2" also shows in "Folder…
1
vote
0 answers

In Android how can I take multiple images using ImageReader class

I am trying to take multiple images but the ImageAvailabeListener function is not moving forward. I guess it is waiting for next image. I tried aquireNextImage() but it is also not working. I'm taking images while MediaProjection. class…
1
vote
0 answers

Android 12 Splash screen icon is not showing when we install the app at first time

Dev team I am facing the issue in Android 12 new splash Api. I has followed all the documentation of splash screen that's provided by Android "https://developer.android.com/develop/ui/views/launch/splash-screen". But when we install my app in…
1
vote
0 answers

Why We Use @Bindable in Android

I am new to android so while using room database we have to use @Bindable when we extend BaseObservable so I didn't get proper definition why we use so I want a simple definition of that .
1
vote
0 answers

Android Studio: How to convert perview to bitmap?

I want to convert to camera preview into Bitmap format and put it back to Frame layout, anyone could help me? Thank you~ preview = new Preview(applicationInterface, (this.findViewById(R.id.preview)));
1
vote
0 answers

How to install app from apk file by using PackageManager in Wear OS?

I have tried to install the application using the below code with Intent Api to install the app in wear os. but its not working as its not showing unknown sources setting in wear-os. also tried to find other solutions like, Installing it as a…
1
vote
0 answers

Why won't app install for some Google Play users?

Just launched an app on google play and some users, but not all, are unable to install it. If they buy the game it just gives them the option to refund, not to install (photo linked below). Does anyone know what could be causing this? Screenshot of…
1
vote
1 answer

CardView cardCornerRadius is not displayed on real device

I have a little problem with displaying cardCornerRadius in my CardView. Everything works fine on the emulator, but as soon as I test the app on my real device, I no longer see a corner radius around my CardView. What could be the reason ? API Level…
1
vote
1 answer

Android - ActivityMainBinding shows me wrong activity

everyone. I'm trying to display a line chart in a full-screen activity. Unfortunately I can't do that. I always get to see my activity_main.xml layout. I also have my LineChart in it, within a CardView. Everything works fine in this activity. But as…
Captai-N
  • 1,124
  • 3
  • 15
  • 26
1
vote
1 answer

How to reset android:stateListAnimator from null to the default style of the button in Android`

I implemented a costumized "enabled" button in Android. I set android:stateListAnimator="@null" when my button is disabled and want to reset it to the default Widget.AppCompat.Button style, when it is enabled. But how can I reset it? What do I have…
1
vote
1 answer

how to get the package name of android messaging App?

I want to get a package name of android messaging application which works with every android device brands like now I'm testing on samsung A31 and it's package name is "com.samsung.android.messaging" but it only works with samsung phones. Is there…