Android PhoneGap to open a new Activity

后端 未结 2 854
说谎
说谎 2021-02-04 07:19

I have an html page loaded with PhoneGap. The html is mine and is on the phone, so I have full control of it.

I would like to click on a link on the html page to open a

2条回答
  •  野性不改
    2021-02-04 07:44

    Take a look at this plugin: http://smus.com/android-phonegap-plugins

    This how-to is about exposing additional Android functionality to the web with PhoneGap plugins. Intents are a fundamental part of the Android ecosystem, allowing a sort of message-passing mechanism between applications, but they are not exposed to web applications. The sample Android plugin I wrote is called WebIntent, which lets you create a first class Android applications in JavaScript...

    This architecture is the key to unlock any Android functionality to your PhoneGap-wrapped mobile web application...

提交回复
热议问题