On Mon, Jun 4, 2012 at 3:06 AM, jeet <[email protected]> wrote:
> You can use phone gap or something like that,.,.,


PhoneGap was a little heavy handed, for my use case anyway.


On Android I just use the WebView Javascript Interface:

http://developer.android.com/guide/webapps/webview.html#BindingJavaScript


On iOS I use something very similar to build the Javascript bridge:

https://github.com/marcuswestin/WebViewJavascriptBridge


My jQuery Mobile code ends up being nearly identical for both
platforms.  I just do some extra stuff on iOS to simulate the same
kind of FrameLayout flipping I do in Android.


-- 
Greg Donald

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to