Can I get gps coordinates from smartphone with android by java script request? Can it be done from web browser or do I need to create app?
You can do it with a web application using navigator.geolocation
.
The Android browser will still prompt the user and they can deny the request.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.