I'm working on a small web app project and I have build a react native webview to facilitate mobile users the access the app.
I heard about hover USSD that allows to automate USSD sessions and I'm interested to know if there's a possibility to initialize a hover USSD session from my web app when the user clicks on a given button.
I'm trying to initialize hover USSD session from an Android Webview but I really don't know if it's something possible.
Thank you.
I'm writing a JavaScript based Android application (using PhoneGap) to track patients' compliance with their medical regimen. This requires the app to run in the background and remind the patients at specified times to take their medication. Since PhoneGap based apps do not run in the background, I was wondering if I could remotely start the app on the patients' phones (assuming I have their permission, of course) using NodeJS (which I'm using for this app anyway - to gather the compliance data).
Alternately, I was wondering whether I could trigger a dialog box on the mobile phone remotely using NodeJS.
I'm sorry if these questions sound silly... I'm new to this stuff.
Thanks in advance.
I'm quite new to xcode, because I mostly work with JS and HTML5. I've decided to create a simple webview app that enables me to work with JS and HTML5 (going to put it on Github asap)
Now my question is about accessing certian iPhone features that I cannot use in Safari or Chrome (the reason why I'm creating this).
So the question is: is this possible? for example, I can't access the camera (as a fullscreen background I mean) in an iOS browser, but can I use it in webview?
You need any method of communicating between UIWebView and the containing app. There are libraries out there that do just that, some better some less. In case you do not want them... So to outline the techniques to do that:
App talking to the webView - using [webView stringByEvaluatingJavaScript:...]
Webview talking to the app - using url directives. Which is essentialy window.location = ... with custom fake urls, and then parsing the NSURLs in the delegate method webView:shouldStartLoadWithRequest:navigationType: and of course returning NO to prevent actually navigating to your fake urls.
If you find that you are missing consecutive URL requests, you could write a JS function that takes the URLs, puts them all in an array, pops one by one and sending them to the browser in a setTimeout(..., 0).
You need to use something like this - Cordova or PhoneGap ( Both are the same thing )
"Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript."
Here is a description of all the device features cordova or phonegap allow you to use - Plugin API's
Yes, is it possible, but using a web app container like Phonegap.
If you need more info how install it visit this web.
I'm trying to build a simple iphone webapp. It's only purpose is to process a form, store that data in JSON, and display it on another page. My question is: how do I store this data offline, so that it is not cleared when I relaunch my webapp?
My goal is to visit my app in mobile safari, add it to my homescreen, and start using it.
Use localstorage API of html5 or better use websql. Both are persistent. If you want to create a native app from html5/js code use apache cordova otherwise no need.
I’m building a web site which will also work as a native web-app using mostly client side technologies.
I was wondering if there is a way to detect a mobile activity using javascript or any other client side trick?
My goal is to be able to stop playing a video while the user answers his call or responds to his text message.
If not through client side then is there a way to do this without having the user install my app?
Thanks a bunch
Moshe S.