android-developer-api Questions

2

Solved

this is my code where i passed it as a parameter Unresolved reference: hiltViewModel this is flagging my file with red and therefore I can't compile my solution into my device also i have visited h...

4

I see many references on Android's website to local Only Hotspot However I need to manage the cellular hotspot programmatically from a background service as I can do manually from the pulldown menu...

6

How can I check if the user has developer option enabled on its device? (not with adb comunication active, or debug USB active, I need to know only if Developer Option are enabled). I've tried thi...
Suwannee asked 23/7, 2015 at 8:20

2

TL;DR Why can our users re-subscribe on Play Store, despite opting-out of this on Google Play console? we are implementing a subscription on our Android app. we have selected the "resubscribe...

7

how to import JAR or AAR package as new project module in A new Android Studio Arctic Fox | 2020.3.1 Canary 9 ? please let me know.
Formalin asked 12/3, 2021 at 10:52

0

Through 'filesDir.path' we can easily detect cloning apps like Dual Space, Multi Space, and Parallel space apps. Detection of the virtual environments offers by Xiamoi devices, One Plus and Samsung...
Earring asked 27/4, 2022 at 23:48

1

* Exception is: java.lang.NoClassDefFoundError: com/android/build/api/variant/AndroidComponentsExtension at com.google.android.libraries.mapsplatform.secrets_gradle_plugin.SecretsPlugin.apply(Secr...

6

I am learning python and i don't know that it will be helpful to me if i want to make android apps.I have read somewhere that python can make android app.But I want to ask you that is it a good opt...
Tieck asked 26/5, 2015 at 17:42

0

I am working on a system app where I am storing some sensitive data in EncryptedSharedPreference. I realise that my app is not working as expected if I do clear data of android Settings app. That i...

1

Solved

I have a simple application written in Android, where I want to do Google Sign and then Firebase Authentication. I copy paste the code from official page. val gso = GoogleSignInOptions.Builder(Goog...

5

As in Android Q, several WiFi APIs are restricted. I am trying to use alternate APIs to connect to different Wifi AP for internet. Below is my code : WifiNetworkSpecifier.Builder builder = new ...

2

I am working with Android Studio and need both the batch drawable and the vector drawable plugin. However, when I open the SDK manager, these plugins do not show up in the list. How can I instal...
Domoniquedomph asked 10/4, 2020 at 17:57

3

Solved

Assume I have the AOSP source code, How can I pause the APP in the foreground when pulling down the notification panel? I've googled and find an APP can listen the event onWindowFocusChange and tak...
Unbending asked 30/12, 2019 at 1:44

3

Solved

I'm currently testing Google play's billing library for in-app subscriptions on my android app. I've created the subscriptions and have released my app to the internal test track. However, when I t...

3

Solved

I am starting to develop apps for android devices using Android Studio. While I was testing my app for screen size compatibilty I noticed that the imageviews do not auto-resize. The imageview pla...
Nonetheless asked 11/10, 2019 at 21:8

1

What is the significance of android.os.Debug.waitForDebugger(); I am aware that we [sometimes] need to use this function in order to debug a Service, but my question is: WHY do we have to do t...

2

I need help in phone selector API (Eg. Tez/PhonePe/Bhim) . Referred this blog https://android-developers.googleblog.com/2017/10/effective-phone-number-verification.html. When am I trying to get pho...
Sculpturesque asked 13/2, 2018 at 7:28

9

For giving build for a debug Android app from Android Studio 3.0, it’s not installing in Mobile having Marshmallow and up (in Lollipop not tested). I have used many solutions from Stack overflow ...
Echikson asked 31/10, 2017 at 12:10

1

I just started with flutter and created a blank app with default config, when I turned on show layouts bounds from developer options it is not showing any boundaries like any other app. How is thi...
Quach asked 22/2, 2019 at 6:53

3

I am trying to get device id from android device. There are several links and packages available to get device id but very few are usable in case of Android. Below are links i had tried already wit...

2

Solved

FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET is deprecated; so what should I use? private Intent createShareForecastIntent() { Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.setFlags(I...
Pipsissewa asked 16/10, 2015 at 20:28

4

Solved

I am currently working on a project using Android development Studio. But everytime I try to create an application I keep on getting the error Java.lang.RuntimeException:java.io.IOException:jav...
Prismatoid asked 26/2, 2015 at 17:58

7

In the Android SDK Manager, I am unable to find the Google API for API Level 25. Because of this I am unable to set the compileSdkVersion to 'Google Inc.:Google APIs:25'. I am using MapActivity in ...

3

I'm using Android O Developer preview 4 - API 26 Device - Google Pixel XL And seems like the new features such as: hasSpeedAccuracy() always returns false getSpeedAccuracyMetersPerSecond() alw...
Dactylography asked 20/7, 2017 at 13:59

2

Is it possible to get the current value of the Proximity Sensor in Android? I know that I can use SensorManager and Sensor and register a state changed listener, but I have no need to be notified...

© 2022 - 2024 — McMap. All rights reserved.