Más contenido relacionado
La actualidad más candente (20)
Similar a 福井スマートフォンハッカソン Titanium Mobileの紹介 (20)
福井スマートフォンハッカソン Titanium Mobileの紹介
- 3. Shingo Mori
森 真 吾
• ConnectionWorks
Inc. from Nagoya
• (株)コネクションワークス
• @sngmr
• ソフトウェアエンジニア
• 兼営業兼企画兼コンサル兼経理
• Titanium Certified Application Developer
- 6. int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code here...
MyClass *obj = [[MyClass alloc] init];
int value = [obj add:1 val2:2];
[obj release];
[pool drain];
return 0;
}
- 11. ‣ クロスプラットフォーム・モバイルアプリケーション開発環境
‣ iOS (iPhone, iPad, iPod touch)
‣ Android
‣ Brackberry (beta)
‣ Mobile Web (beta)
‣ 開発元は
‣ Appcelerator Inc.
‣ アメリカ・マウンテンビュー(シリコンバレー)
‣ オープンソース
‣ Titanium Mobile SDKはGithubでOpenに開発
- 13. Titanium Mobileのアーキテクチャ
アプリケーションコード
APIs Modules APIs Modules
JSインタプリタ JSインタプリタ
iOS Android OS
Native iOS app Native Android app
- 30. 機能は(だいたい)全部使えます
Native User Experience
Multimedia
Native performance + Native UI
Camera, video camera, streaming /
(tables, animations, gestures, etc).
device audio/video
Location-based Services Analytics
Integrated user, session, and custom
Augmented reality, geo-location,
analytics. Interactive web-based
compass, native maps
analysis tools. Geo-analytics.
Social Sharing
Authenticated access to Facebook, Titanium Plus
Twitter, Yahoo YQL. Native email/ Add any native Obj. C (iPhone) or Java
address book. (Android) module into Titanium
Data
Access online / device data, Development Tools
embedded SQL database, filesystem, Create, test, and publish your app
web services
- 37. どちらの場合でも
‣ JDK(Java Development Kit)のインストール
‣ Appceleratorへ開発者登録
‣ Titanium Studioのダウンロード
‣ Titanium Studio内からTitanium Mobile SDKのダウン
ロード
‣ 開発マシンは・・・
‣ 速いCPUと富豪なメモリがあった方がいいです
- 42. ‣Titanium Studio上からデバッグ可能
‣ただしシミュレータのみ
‣実機デバッグは開発中だそうです
‣break point で変数の中身を確認できる
‣iPhoneシュミレータは普通に動く
‣Androidシュミレータは・・・まぁ動く(遅い)
- 44. var win = Ti.UI.createWindow({
layout: 'vertical',
backgroundColor: '#666'
});
createLabel
win.add(Ti.UI.createLabel({
text: 'about @sngmr',
color: '#FFF'
}));
win.add(Ti.UI.createTableView({
createTableView
data: [
{ title: '名前', hasDetail: true },
{ title: '生年月日', hasDetail: true },
{ title: '性別', hasDetail: true },
{ title: '身長', hasDetail: true },
{ title: '体重', hasDetail: true },
{ title: '年収(別料金が必要)', hasDetail: true }
],
style: Ti.UI.iPhone.TableViewStyle.GROUPED
}));
win.open();
open