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を入れた。

◆ 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を利用させいていただきました。

This entry was posted on 金曜日, 9月 12th, 2014 at 7:10 PM and is filed under blog. 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アプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。