Can I create an Android view using native widgets with JavaScript?
I know that you can create an app with a WebView
and attach a JavaScript interface to it, but is there a way that I开发者_如何学编程 can define an Android layout from the web? Perhaps even when the user is accessing my site from the Android browser, not just from a custom app?
For example, let's say I have a website with a form on it and tab navigation; could I have my site send a custom layout.xml file using Android's tabhost, buttons, and textfield views?
精彩评论