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

Two styles in android studio

I want to create a fortepiano, so white and black buttons are code in themes and night themes. But these two themes don't work: I wrote in activity_main style="@style/KeyboardKeyWhite" and style="@style/KeyboardKeyBlack" But at the final result…
1
vote
1 answer

Android Telecom System RoleManager

I am trying to implement a calling application. For APIs < 29 I can select my dialer application as the default dialer. But for API >= 29, I cannot get the prompt to show and I cannot set my application to the default dialer under the settings. It…
1
vote
0 answers

What is the alternate for clearApplicationUserData() from PackagerManager class in android?

I have a requirement for clearing application user data and cache data for provided package name. Previously I was using clearApplicationUserData(), deleteApplicationCacheFiles() methods from PackageManager class. But now both are deprecated or…
Bajrang Hudda
  • 3,028
  • 1
  • 36
  • 63
1
vote
0 answers

To launch my app when firebase notification or local notification received in flutter

I need to create an application to purpose manage alarm and I want when alarm fired my app opened and launched, or when firebase notification or local notification received my app launched.
1
vote
0 answers

Android Q ConnectivityManager.requestNetwork with timeout shows error Dialog that stops any subsequent requests

I'm using Android's ConnectivityManager.networkRequest(..) with a timeout to get a hold of a specific network after a queue from user input. Everything works fine most of the time, but if I let the request timeout, I notice I get another Dialog…
1
vote
2 answers

Error required permissions android.permission.CONNECTIVITY_INTERNAL android.permission.MAINLINE_NETWORK_STACK

im writing a simple app that want to connect to a specific WiFi Network on Android 10. I gave all permissions that I thought I might need in the manifest.xml.
Hacki
  • 41
  • 2
  • 5
1
vote
1 answer

Date Picker In Edit Text - What's wrong in this code?

I tried running it, but the Edit Text View gave no respond on clicking. The Date Picker was not even opened. What is wrong in here? Please do help me with an elaborated answer along with the full code since I'm a newbie. Thanks XML
1
vote
0 answers

Can I download apk file from Google Play programmatically

I am trying to find a solution to download and install programmatically apk files of applications from Google Play Store to android device, but I can not find any description of api. On many web resources where apk files are located (for example,…
1
vote
1 answer

What's the difference between path.reset() and create new one?

In Android android.graphics.Path is it better to use the same path instance and do path.reset() or just create a new one(new Path()) whenever drawing new thing? Path path = new Path(); path.lineTo(...); // some…
1
vote
0 answers

Android Studio - What are possible options to overlay two images and make only the right or left half of each image visible?

I am trying to have two images overlayed in two imageViews and when i start a swiping gesture the upper image is cropped vertically at the starting point of my touch gesture and the cropping line follows my gesture on screen to the left or right.…
Elsaméz
  • 11
  • 1
1
vote
0 answers

Is there an Android developer API for app review and launch?

I'm trying to fully automate the entire process of app publishing/updating to the play store by using google's API's. So far I have found Fastlane tool which allows me to upload apk's files to any line (alpha, beta, production, etc.) but only upload…
1
vote
1 answer

How would you implement a stock chart into an Android app?

I have been looking for a way to implement dynamic stock charts into my Android app but I don't where to start. I know I'll need a library, in fact, I found two LightWeight Charts and Vaadin but I don't know if they would work. I am very new to…
1
vote
2 answers

Get external storage path in android app for tablet

How can i show all external storage in spinner and access only external storage on selection from spinner for tablet in android app programmatically
1
vote
1 answer

create android notification by click in a button

I try to create android notification, when i click in a button but does not work. this is the code that i write in button NotificationManager Nm; public void Notify(View view) { NotificationCompat.Builder mBuilder = new…
1
vote
1 answer

API work in postman but not in android app when upload audio file

**In android application API not working. In application when I click on the call button on that time call will be recorded and send to server using retrofit. but I check on postman API working completely. What should I do? ** public class…
Jigish
  • 221
  • 2
  • 9