Start build an mobile app from scratch

1. Created a source repo on “Bitbucket”

2. Created the corresponding directory on my local (Mac) and do the initialization as following:

  • git init
  • git remote add origin ssh://git@bitbucket.org/[user name]/[project repo]

3. Choose an mobile framework to start

There are two candidate platforms:  Calatrava and Cordova(PhoneGap). As Calatrava is pretty new, I would like to give it a try and evaluate it from a complete perspective:

  1. Document
  2. Community support
  3. Mobility
  4. Testabilty
  5. CIability
  6. Limitation

4. Get started with Calatrava

Calatrava can be found at: http://calatrava.github.io/; more detail info can be found at: https://github.com/calatrava/calatrava.

5. Issues while creating first calatrava project

  • calatrava create toyCalatrava

{“template”=>”/Users/may/.rvm/gems/ruby-1.9.3-p125/gems/calatrava-0.6.6/lib/calatrava/templates”, “dev”=>false, “no-ios”=>false, “no-droid”=>false, “no-web”=>false, “android-api”=>”17”}
android create project –name ‘toycalatrava’ –path ‘toyCalatrava’ –package com.toycalatrava –target android-17 –activity ToyCalatrava
Error: Target id is not valid. Use ‘android list targets’ to get the target ids.

==> Solution: update android SDK, to api 17 does solve the issue. Verify the result by using “android list targets”.

6. Project successfully build for web, android

7. Build issue on iOS, refer to http://overwatering.org/blog/2012/08/setting-path-osx-mountain-lion/ .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: