Difference between revisions of "CoursAndroid1"

From Fixme.ch
Jump to: navigation, search
(Application)
m (Application)
Line 13: Line 13:
  
 
== Application ==
 
== Application ==
* Use the [[https://github.com/commonsguy/cw-android/tree/master/Skeleton/Now skeleton app]] from CommonsWare
+
* Use the [https://github.com/commonsguy/cw-android/tree/master/Skeleton/Now skeleton app] from CommonsWare
 
* Import into eclipse:
 
* Import into eclipse:
 
** File > New > Other > Android Project from Existing Code
 
** File > New > Other > Android Project from Existing Code

Revision as of 01:30, 24 July 2012

Description

Content

  • Installation and configuration of the SDK (a VM will be at disposal for others)
  • Presentation of the base tools
  • API and first application (Based on the CommonsWare books)

Application

  • Use the skeleton app from CommonsWare
  • Import into eclipse:
    • File > New > Other > Android Project from Existing Code
    • Browse...: naviguate where your project is and select its root folder
    • Finish

SDK Setup

The already installed VM can be found here: ftp://foo.fixme.ch/free_for_all/CoursAndroid1/FIXME-CoursAndroid.tgz

 sudo chown -R <your-user>: /opt/android-sdk
 chmod -R g-w /opt/android-sdk
    • Add the tools to your path
 export PATH="$PATH:/opt/android-sdk/tools:/opt/android-sdk/platform-tools"
  • Run android from the cli to start the sdk manager
  • Install API version 15, 10 and 4 (Android 4.0.3, 2.3.3 and 1.6) from the sdk manager
  • Install Eclipse >= 3.6, (easier to start developping with eclipse then quit when your comfortable)

Project leader

Participants