Advanced operating system_ja_2_

3,478 views
3,441 views

Published on

Published in: Automotive
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,478
On SlideShare
0
From Embeds
0
Number of Embeds
2,452
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Advanced operating system_ja_2_

  1. 1. クロスプラットフォームフレームワークを用いたiPhoneアプリケーションの開発Development of iPhone Applications Using Cross-Platform Mobile Frameworks<br />
  2. 2. Problems<br />iPhoneprogramming is …<br />?<br />Objective-C<br />Primary iOS and Mac OS X<br />Against “DRY” principle<br />GC is not supported<br />
  3. 3. Objective<br />Development of iPhoneapplication <br />using cross-platform frameworks <br />
  4. 4. Cross-platform frameworks<br />Language<br />Framework<br />Platform<br />IAPSB<br />PhoneGap<br />JavaScript<br />Titanium Mobile<br />IA<br />JavaScript<br />I<br />C#<br />MonoTouch<br />Rhodes<br />Ruby<br />IAPSBW<br />I: iPhone A: Android P: Palm S: Symbian B: Blackberry W: Windows Mobile<br />
  5. 5. Development of Mobile Apps Using JavaScript<br />1. 簡単<br />Very easy<br />2. Webプログラミングのノウハウを生かすことができる<br />You can make use of your web skill. (JS, HTML, CSS)<br />3. メモリ管理を気にしなくて済む<br />You will not take care of the memory.<br />
  6. 6. Demonstrating App<br />Basic Google Map Application<br />Geo-location<br /> Geo-coding<br /> Directions Service<br /> Street View<br />Development Environment<br />iOS SDK 4.2<br /> Titanium Mobile SDK 1.5.1<br />PhoneGap 0.9.3<br /> Google Maps API ver.3<br />
  7. 7. Demo<br />Demo<br />
  8. 8. Titanium Mobile<br />1. Appcelerator’s proprietary framework <br />(The Apache License, Ver 2.0)<br />2. ネイティブアプリと同様の動作<br />JavaScript code is translated into a native application code.<br />3. JavaScriptからOS固有のAPIにアクセスできる<br />Titanium mobile is middleware to access native APIs.<br />
  9. 9. PhoneGap<br />1. OSS framework developed by Nitobi Software <br />(The MIT License)<br />2. デバイス特有の機能にアクセスできる<br />PhoneGap allows you to access popular mobile features.<br />3. 画面はHTMLで記述する(cf. jQTouch, jQuery Mobile)<br />UI is created by HTML.<br />
  10. 10. jQTouch<br />jQuery Mobile<br />
  11. 11. Geo-location code<br />Ti.Geolocation.getCurrentPosition is an asynchronous function. <br />It returns device’s current position to callback function.<br />
  12. 12. Titanium Mobile vsPhoneGap<br />Compatibility<br />PhoneGap<br />Native<br />Web<br />Titanium Mobile<br />Using “if” statement<br />
  13. 13. 1. クロスプラットフォームフレームワークを用いれば、モバイルアプリを容易に開発できる<br />Mobile apps can be easily developed by cross-platform frameworks.<br />2. iPhone開発に特化するならTitanium Mobileがおすすめ<br />I recommend you to use Titanium Mobile for development of iPhone apps.<br />3. PhoneGapは、Mac以外でも開発可能<br />PhoneGap allows you to develop apps on windows, linux and other platforms. <br />Conclusions<br />

×