intent を作ってみる。 phonegap plugin for android

http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins

http://wiki.phonegap.com/w/page/36753494/How-to-Create-a-PhoneGap-Plugin-for-Android

ポイント
1・Pluginクラス( com.phonegap.api.Plugin)を継承してクラスを作成
2・プラグインを利用するためのjavascriptを作成( assets/www以下に .jsで設置してhtmlから読む
3・res/xml/plugins.xml に作成したクラスを追加
ここまでで、利用可。
4・パッケージ化する jarにしてライブラリに追加(phonegap.jar phonegap.jsと同じ配置で

端末メニューボタン→真ん中のshareボタンを追加してみました。

https://market.android.com/details?id=com.groundroad.aucru

This entry was posted on 木曜日, 3月 1st, 2012 at 3:46 PM and is filed under Android, PhoneGap. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。