Difference between revisions of "CoursAndroid1"
From Fixme.ch
								
												
				 (→See also)  | 
				|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Workshops]]  | [[Category:Workshops]]  | ||
[[Category:Android]]  | [[Category:Android]]  | ||
| − | = Description =  | + | == Description ==  | 
* First session of Android development class, focused on beginners.  | * First session of Android development class, focused on beginners.  | ||
* Date: 24 July 2012  | * Date: 24 July 2012  | ||
* Doodle: http://www.doodle.com/z54ecrdxr4kbdna7  | * Doodle: http://www.doodle.com/z54ecrdxr4kbdna7  | ||
* Event: http://fixme.ch/civicrm/event/info?id=45&reset=1  | * Event: http://fixme.ch/civicrm/event/info?id=45&reset=1  | ||
| − | * We looked into the   | + | * We looked into the pages 1-15, 23-26 from "[http://commonsware.com/Android/ The Busy Coder's Guide to Android Development]"  | 
| − | = Content =  | + | == Content ==  | 
* Installation and configuration of the SDK (a VM will be at disposal for others)  | * Installation and configuration of the SDK (a VM will be at disposal for others)  | ||
* Presentation of the base tools  | * Presentation of the base tools  | ||
* API and first application (Based on the [http://commonsware.com/ CommonsWare books])  | * API and first application (Based on the [http://commonsware.com/ CommonsWare books])  | ||
| − | == 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:  | ||
| Line 20: | Line 20: | ||
** Finish  | ** Finish  | ||
| − | == SDK Setup ==  | + | === SDK Setup ===  | 
| − | The already installed VM can be found here: ftp://  | + | The already installed VM can be found here: ftp://ftp.fixme.ch/free_for_all/VirtualMachines/FIXME-CoursAndroid.tgz  | 
* Install Java/OpenJDK 1.6  | * Install Java/OpenJDK 1.6  | ||
* Download the SDK for your plateform http://developer.android.com/sdk/index.html  | * Download the SDK for your plateform http://developer.android.com/sdk/index.html  | ||
| Line 35: | Line 35: | ||
** [http://developer.android.com/sdk/installing/installing-adt.html Install the Android Development Tools for Eclipse]  | ** [http://developer.android.com/sdk/installing/installing-adt.html Install the Android Development Tools for Eclipse]  | ||
| − | = Project leader =  | + | == Project leader ==  | 
* [[User:Rorist]]  | * [[User:Rorist]]  | ||
| − | = Participants =  | + | == Participants ==  | 
* [[User:Nemen]]  | * [[User:Nemen]]  | ||
| + | |||
| + | == See also ==  | ||
| + | * [[CoursAndroid2]]  | ||
| + | * [[CoursAndroid3]]  | ||
Latest revision as of 11:56, 16 January 2014
Contents
Description
- First session of Android development class, focused on beginners.
 - Date: 24 July 2012
 - Doodle: http://www.doodle.com/z54ecrdxr4kbdna7
 - Event: http://fixme.ch/civicrm/event/info?id=45&reset=1
 - We looked into the pages 1-15, 23-26 from "The Busy Coder's Guide to Android Development"
 
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://ftp.fixme.ch/free_for_all/VirtualMachines/FIXME-CoursAndroid.tgz
- Install Java/OpenJDK 1.6
 -  Download the SDK for your plateform http://developer.android.com/sdk/index.html
- Extract in /opt/android-sdk for example
 - Correct the sdk permissions (tgz perms are crappy)
 
 
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)