We are trying to access the GPS of the Android Tablet from the web application opened in the Android browser.
We are not developing Android application. All we want to do is, just browse the web application from the Android browser and in that we would like to access the in-built GPS in the Android device.
Right now, we are using HTML 5 geolocation API, but those values are approximate.
We would like to have more accurate values, so we want to access GPS in the Android device from the web application.
We are not going with Android app because the user may use this application in iOS too.
Appreciate the help
Thanks
HTML5 geolocation API is the best you'll be able to do, at least in a crossplatform way. But it shouldn't be particularly inaccurate, since the browser geolocates with the GPS too.
Related
I'm developing a Point-of-Sale solution to be deployed on an iPad. The application will be engineered as a web application. I've seen some great info on how to lock down the iPad to a specific application and so this gets me halfway to my solution; the application I lock down to will be the browser.
Lock-down iPhone/iPod/iPad so it can only run one app
Now, can I take this one step further? Can I lock down the browser to disallow ad-hoc browsing? I'd like to do this because I want to ensure that the user is constrained to the confines of the POS application at all times.
(If I can't do this, I'll need to write a small shim application to host my web application and I don't want to do this, because this violates the zero-install architecture we're trying to achieve.)
Alternatively, is there a way to achieve this with an Android tablet? As the application is constructed with HTML5, we are relatively agnostic as to the client device.
Thanks for your advice!
You could add the Website to the Homescreen. Then it appears as an app - maybe you can then lock it down with the mechanism you mentioned.
I am trying to develop a Windows Desktop app similar to Task Manager which can monitor my PC with Visual Studio Express. Now I want to develop one app for my Android phone with which I can connect to this Windows App from anywhere and see some of the graphs and little info (light weight) on my phone in a secure way.
What tools do I need on my desktop and Android phone to develop the app. How can I develop and connect it? If you can help me it will be great.
Thanks.
Probably the easier way for you to do this is to create a server application which both your apps connect to which will need to be on the internet or on a network where both have access to it. The desktop app would be sending its' information and the phone application would be requesting that information. As for what the server needs to be, that is agnostic, however using REST or Websockets (More ideal but a bit harder to work with) for communication would probably be ideal.
To get started I would suggest looking up a tutorial where you do API requests to a server (On either Android or Windows Store Apps). Then look at building your own server application to distribute your own API.
I hope this helps.
I wrote an HTML5 web application which is intended to run for a long time (on Android and iOS).
I would like to lower the battery consumption by turning off the display without locking the phone.
Is it possible to achieve this functionality using a web application or only by using a native application?
Thanks,
Buenon
I have a Android phone without service. (no phone company I am using with it) Am I able to test my Android app with this phone? If yes what step I should go? I am using Eclipse using HTML5 and phoneGap to develop app.
Should work fine.
Just remember to connect to wifi if your app requires the internet in order to work.
I want to create an HTML5 app for iPhones and Androids that is based on an HTML5 app framework. The app will do nothing but monitor the network activity (only cellular not WIFI) of the device.
I have been searching for how to do this for a few hours now, but haven't been able to find out how to do this, or even if it is possible or not.
Is it possible to monitor iPhones/Androids network activity in an HTML5 app built on an HTML5 app framework? And if so, how?
(I'd prefer to find a framework that exposes the network data usage of iPhones and Androids to the app instead of coding my own if possible)
If you built the application container for your HTML5 app then yes with the new Web Inspector for Safari, this works as well if your building a mobile html5 app on a server.
Chrome also has a similar debugging feature for Android.
http://webdesign.tutsplus.com/tutorials/workflow-tutorials/quick-tip-using-web-inspector-to-debug-mobile-safari/
https://developers.google.com/chrome-developer-tools/docs/remote-debugging