I'm trying to create a watch face using some data. However, I need access to ACCESS_FINE_LOCATION to get the user's location. From the sample provided here, the watch face is launched as a service and permission's cannot be requested from a service. What would be the best approach to develop a watch face that requires dangerous permissions and will require to make network calls?
Request dangerous permission for wear os watchface
64 Views Asked by user3826764 At
1
There are 1 best solutions below
Related Questions in ANDROID-SERVICE
- My Foreground service is crashing on Android 14
- How to launch android activity in background, or minimized, when screen locked in Android 14 and start the activity with broadcast intent
- The slider does not move after pausing the player MediaSession Android studio
- Android service and thread in singleton are the equivalent?
- How to ensure that my foreground service will be running as long as possible?
- onServiceConnected not called but context#bindService return true
- How can I make an app reopen when closed on an Android device?
- stopservice does not work after ondestroy
- How to run a service in background on Android 10? Rooted device
- How to disable TileService for Android 34+ but keep for previous versions?
- Is okay to collect state from Service in ViewModel for my android app?
- What is the differernce between foreground and background service in Android in terms of code?
- Users crashing because of Service.startForeground() not allowed due to mAllowStartForeground false only on Anddroid 14
- .NET MAUI Android - Unable to create service: class not found exception
- Delphi Android service was stopped after closing the android application
Related Questions in ANDROID-PERMISSIONS
- INSTALL_FAILED_DUPLICATE_PERMISSION: Package
- Can not access OTG USB Key after just after Granting ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION
- Implementing PDF generation and then From Local Notification Open the Pdf that is Saved to Download
- Can't perform CRUD operation using custom content provider
- Permission Denial: not allowed to send broadcast android.intent.action.PHONE_STATE from pid=5646, uid=11219
- Is there any way to get READ_PRECISE_PHONE_STATE permissions on android without manufacturer access?
- Full-screen notification permission revoked when granting/denying other permissions in Android 14
- Android com.google.android.gms.permission.AD_ID permission seems not taken into account?
- Call requires permission which may be rejected by user code should explicitly check to see if permission is available
- google reject apps use sms permissions
- Restrict mainActivity to be accessible by other apps in Flutter
- Requesting permissions for schedule exact alarms and send notifications in Android 14
- Android: How to disable permission popup from webview and show a native permission dialog
- How to Resolve Missing AD_ID Permission Warning in Android Manifest?
- NFC permission required: Neither user 10711 nor current process has android.permission.NFC
Related Questions in WEAR-OS
- Use Animations with navigations in WearOS
- Android Sleep API Codelab on Watch: API is not supported yet
- Notification full screen on wear os
- Wear OS tile crashes when minification is enabled: LifecycleOwner of this LifecycleRegistry is already garbage collected
- Socket connection on Wear OS is always successful over Bluetooth
- WearOs Watch Face Format: either gps or custom SourceType?
- WearOS heartrate being read but not changing on the display
- How to integrate call/Incoming/call with WearOS?
- OnePlus Watch 2 force stop my application when screen turns of and it cancels all scheduled alarms
- How to start an activity by tapping on a WearOS watch face?
- How to change Composable Button Icon/Bitmap after Creation
- How to Pair Samsung Watch6 Class to Android Studio on Windows - Fails 2 Ways
- How do you add images to an AVD emulator in Android Studio/Wear OS
- How to properly get heart rate bpm in a Watch Face Service?
- Jetpack Compose persist data between app loads
Related Questions in ANDROID-WEAR-2.0
- How to integrate call/Incoming/call with WearOS?
- How do I set the icon in the list of complications?
- How to fetch and show pulse rate in android watch face
- Gestures in Android Wear
- WearOS app rejected because of "show scrollbars"
- Android Wear OS Health Services - Sleep Detection
- WearOS Health Services Spot Measurements
- Preventing App from Being Put to Sleep in Wear OS 4
- How to animate navigation in Android Wear OS Compose
- Request dangerous permission for wear os watchface
- No Wear OS Virtual Device for Android 13 (API 34) in Android Studio's Device Manager
- Unable to receive wear os location in Jetpack Compose
- WearOs Physical Home click event detect programmatically in JetPack Compose
- Android - WearableListenerService starts on emulator but not on smartwatch
- Wear TileService Layout Component accessibility
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure if it's the right way to do it for a watch face... but you can start an activity once the face is set to request the permission...