開発準備 | develop iOS and android app on mac

java

 java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
$ javac -version
javac 1.6.0_26

python

$ python
Python 2.7.1 (r271:86832, Jun 25 2011, 05:09:01) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

android sdk

http://developer.android.com/sdk/index.html

android-sdk_r12-mac_x86.zip
ダウンロードしたものをLibraryに移動

$ ls Library/android-sdk-mac_x86/
SDK Readme.txt	add-ons		platforms	tools

何もせずプロジェクトを作ってandroidもチェックするためconfigureでandroid sdkを設定してもsdkが入ってないので駄目でした。
android-sdk-mac_x86/tools/android
でAndroid SDK and AVD Managerを起動して、SDK Platform Android 2.1 2.2 2.3.3 をインストール!

■ titanium studio
ダウンロードしたdmgをクリックするとTitanium Studio => Applications の指示通りフォルダをアプリケーション以下にコピー

version matrix

http://wiki.appcelerator.org/display/guides/Titanium+Compatibility+Matrix

Hello World

http://wiki.appcelerator.org/display/tis/Getting+Started+with+Titanium+Studio#GettingStartedwithTitaniumStudio-HelloWorld%5C%21

mobile projectを選択して、androidを選択するためconfigureでsdkを設定。
ipad iphone android でHello Worldできるのかな

javascriptのデバッグにfirefoxが必要だそうで

■ sampleを動かしてみる

http://wiki.appcelerator.org/display/tis/Working+With+the+Kitchen+Sink+Sample

https://github.com/appcelerator/KitchenSink

をダウンロードして、titaniumのworkspaceにおいて
“File > Import… > Titanium > Import Existing Titanium Project”

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