From Web application that consists of only web pages. In that, I need to open android settings activity. How to invoke it?
Invoke android settings from web page URL?
19.4k views Asked by Marsh K At
2
There are 2 answers
0
Tuan-Tu Tran
On
Based on:
- https://developer.chrome.com/multidevice/android/intents
- https://developer.android.com/reference/android/provider/Settings#ACTION_SETTINGS
I feel like it should be possible with something like
<a href="intent:#Intent;action=android.settings.SETTINGS;end;">open settings</a>
but it does not work, for some reason I can't figure out.
I wanted to post the same question with my failing solution and ask what was wrong with my solution.
I guess I'll just post an wrong answer instead.
edit: here's another reference:
Open android application from a web page
edit2: I did some more digging and I think I found out what's wrong with this solution:
Opening Location Settings Activity from Chrome on Android
and its answer:
https://stackoverflow.com/a/46175726/10028142
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in ANDROID-WEBVIEW
- How do I correctly fill in a webpage form from an android app?
- Asset file not being included on older versions of Android
- WebView Automation Android - Capture Steps performed by the user & Repeat it automatically
- Null Pointer exception when using progressbar with webview
- Switch between native activities to web view activity from Espresso
- Issue with calling JavaScript interface function in Android WebView
- Resource-id is not getting displayed in appium inspector
- Current Location on the react and android webview is working in Android Studio but on the android app
- Android: How to disable permission popup from webview and show a native permission dialog
- Android WebView Triggers Double Requests for a One-Time Use Download Link
- Android WebView can't load web page, and returns white screen
- Can I build my Vue project to run android WebView?
- Cookie manager is not deleting the cookies or expire them
- Jetpack Compose WebView: Softkeyboard Enter Key behaves differently based on number of input fields
- Navigate back from Chrome custom tabs
Related Questions in ANDROID-5.0-LOLLIPOP
- Crash APK Cardlan QR Reader
- Firebase Cloud Messaging (FCM) not working on Android API 21 devices
- Block the screen from turning on your Android phone
- Is it possible to clear the android application cache at API 21
- Splash Screen API not showing icon on Android lollipop 5.0 and 5.1
- Android 5 seems to be ignoring the gravity on a drawable xml
- Android - How to run *older* API images on M1 Mac
- PBKDF2 With Sha256 on Android 5
- WebView.loadUrl raising UnsupportedOperationException
- Unexpected token error in Android 5 but not in Android 8
- Push Notification content text not showing on Lollipop
- Parse date from string on Android Lollipop
- Android api 21/22 android version 5 video playing problems, video playing throws error Can't play video
- Can't create handler inside thread that has not called Looper.prepare()- Spinner in Android-5
- Xamarin.Forms: WebView support on Android 5.1
Related Questions in ANDROID-WEBSERVICE
- How to invoke Webview button clickevent in Android?
- ProgressDialog is not showing when calling OKHttp request in Android
- WebService ERROR API not working properly?
- Logging into a website using Android app (Java)
- Volley error response bytes does not convert from bytes to string
- How to consume ASMX soap in Xamrin Android application?
- Android Web socket Service is not maintain web connection when mobile screen off
- share via facebook and whatsapp in web view
- Wait for Retrofit API to update before creating Android fragment view
- Got Invalid Content Type while implementing message 91 API?
- Adding parameters on Restful API using JsonObjectRequest on Android Studio
- creating layout in recyclerview list respective to the arraylist in json response
- Android Release APK Not Parsing JSON From Web Service with SSL Using Retrofit2
- Not getting any result data in Postman while executing PHP script
- Where to store API access token?
Related Questions in ANDROID-5.1.1-LOLLIPOP
- Crash APK Cardlan QR Reader
- Block the screen from turning on your Android phone
- Is it possible to clear the android application cache at API 21
- How can I show "jump to latest" in a RecyclerView list only when the view is scrolled such that latest entries are not visible?
- Android app halt prcess when phone goes sleep
- Push Notification content text not showing on Lollipop
- signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
- Android api 21/22 android version 5 video playing problems, video playing throws error Can't play video
- Develop for Android 5.1 on Delphi 10.4?
- Xamarin.Forms: WebView support on Android 5.1
- Resource not found error for vector drawable in android 5 and 5.1
- Appium Android : find element by element Id in Java
- Crash on start qt 5.15 app(armv8a build) in Android 5.1
- How to check if still connected to the network set by setProcessDefaultNetwork()
- How to check if both Mobile Data and WIFI are connected?
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?
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)
You cannot invoke Android Settings from web unless you have app which handle custom uri scheme.
to invoke application in android from Webpage there needs to be app which handles call from particular Uri Scheme in android app on android device.
you can create android app which handle custom uri scheme like below for activity to be invoked when url is visited in browser.
myapp://opensettings
if application is exist on android device which handle above uri scheme then you can call setting dialog from your android app after user redirect to myapp://opensettings url in browser.