You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
(App)-Info.plistでURL Typesを追加 InfoタブのURL Typesを、準備するURLスキームの分だけ追加する。 Identifier:アプリのBundle Identifier 例:com.bar.foo.HelloWorld URL Schemes:用意するURLスキーム 例:SayHello Iconはセットしなくても良い RoleはEditor、Viewer、Noneから選べる。(iOSの方でも特に使っていないらしいので、とりあえずEditorにしておけば無難?) この例では、「SayHello://」のようなURLスキームが出来たことになる。 PhoneGap (Cordova) PhoneGapでは、特にカスタムURLスキームの設定は必要ない。 最初から、AppDelegate.mに下記のような実装が行われている。 - (BOOL)application
PhoneGapでAndroidのNFCを使えるpluginを作った。 shokai/phonegap-plugin-nfc – GitHub JavaScriptから簡単にNFCタグのIDが読める。 <script src='./phonegap.nfc.js' type='text/javascript' /> document.addEventListener('deviceready', function(){ window.plugins.nfc.id( function(tag){ var id = tag.id; // get Tag ID; }, function(e){ log(e); }); }, true); インストール方法はgithubに書いた。サンプルプロジェクトもある。 普通のPhoneGap pluginと同じく、phonegap.nfc.jsとNfcPlu
What is a Cordova plugin? A plugin is a bit of add-on code that provides JavaScript interface to native components. They allow your app to use native device capabilities beyond what is available to pure web apps. Below is a list of Apache Cordova core plugins. Each card contains important information about the plugin. The supported platforms are listed below the plugin name, represented by the pla
PhoneGapの日本語Googleグループに同様の質問があったので私なりに調べた対応方法を記載しておきました。 ソフトキーボードの日本語表示 – PhoneGapファン (phonegap-fan.jp) 【対応方法】 以下の図のように言語環境設定が日本語であるにもかかわらず英語表記になっている。 これを日本語に変えるにはプロジェクトディレクトリ内の「xxx-info.plist」に以下の記述を追加すれば良いらしい。 <key>CFBundleAllowMixedLocalizations</key> <string>true</string> 上記の設定を追加するとiPhoneの言語環境に合わせて文字列の表示が変わるので、日本語環境で利用しているiOSでは日本語表記のものに変わる模様。 【参考】 Change the language of iOS virtual keyboard “
UPDATE: Cordova CLI 3.4.1-0.1.0 is out, which includes Cordova iOS 3.4.1 which incorporates all the fixes mentioned in this blog post. Update your Cordova CLI, and if you have an existing project, do a “cordova platform update ios“. These issues have been fixed if you are running the latest dev code (slated for 3.5.0). There are 3 issues related to Cordova iOS 3.4.0 running with Xcode 5.1 (and it
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く