titanium mobile : ti.admob
admobを入れてみる。。。
モジュールの探し方
http://docs.appcelerator.com/titanium/latest/#!/guide/Using_Titanium_Modules
ti.admobを使う
https://github.com/appcelerator-modules/ti.admob
ダウンロードして
Global Installation
Locate your Titanium SDK installation location. For help, see Installing Titanium SDK Continuous Builds for the default location of the SDK folder.
Drag the .zip file under the /Titanium folder. As an example, on OS X, the path might look like "/Library/Application Support/Titanium/module.zip".
のほうで
/Users/username/Library/Application Support/Titanium/ti.admob-master.zip
を入れてみた・・・こんなかんじでmodule以下に自分で入れないとダメ?
ti.admob install pic.twitter.com/0uFurYp4Z1
— Ground Road T (@GroundRoadT) September 12, 2014
ti.admobを入れた。
TiApp.xml #titanium #admob pic.twitter.com/w3rKeGGKGt
— Ground Road T (@GroundRoadT) September 12, 2014
◆ iOS
iphoneのサンプルの app.jsを真似すると表示出来ました。
Admob.createViewのほう
◆ Android
sdkを更新したり、いろいろで・・・なんどか動いた。
https://developer.appcelerator.com/question/176683/android-fullscreen-window–how-to-hide-the-navigation-bar-
3.3.0ではnavBarが消せなかった。
http://qiita.com/s4shiki/items/a1006fdd38fba29cd8d3
の2を利用させいていただきました。