开发者

Invoking a XIB from a HTML page in Phonegap

开发者 https://www.devze.com 2023-03-26 14:49 出处:网络
I am writing an app using PhoneGap framework. The main screen has four buttons and if I click the first button, a native app that has been written to show a Map in MapKit should execute. How to invoke

I am writing an app using PhoneGap framework. The main screen has four buttons and if I click the first button, a native app that has been written to show a Map in MapKit should execute. How to invoke th开发者_运维问答is app from a javascript call?

Any thoughts?


Yes, you need to write a plugin for that feature.

For calling a external .xib you can look at some of the code from the ChildBrowser plugin.

There is also a MapKit plugin available:


you can do this by using the plugin architecture of phonegap.

Here is the wiki entry for writing phonegap plugins for iOs: http://wiki.phonegap.com/w/page/36753496/How%20to%20Create%20a%20PhoneGap%20Plugin%20for%20iOS

0

精彩评论

暂无评论...
验证码 换一张
取 消