meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
android:start [2012/07/04 18:13]
esa-petri [Android Building blocks]
android:start [2012/07/06 15:14] (current)
hyntty [Android Coding]
Line 3: Line 3:
 ====== Android Coding ====== ====== Android Coding ======
 {{ :android:android_logo_trans_small.png?150}} {{ :android:android_logo_trans_small.png?150}}
 +  * [[http://www.codecamp.fi/doku.php/android/basics|Some Android coding basics and botlenecks]]
 === About android === === About android ===
   * [[http://developer.android.com/guide/basics/what-is-android.html|What is Android ?]], [[http://en.wikipedia.org/wiki/Android_%28operating_system%29|@ Wikipedia]]   * [[http://developer.android.com/guide/basics/what-is-android.html|What is Android ?]], [[http://en.wikipedia.org/wiki/Android_%28operating_system%29|@ Wikipedia]]
Line 12: Line 12:
 === Android development === === Android development ===
   * [[http://www.vogella.de/articles/Android/article.html|Android Development with Eclipse - Tutorial]]   * [[http://www.vogella.de/articles/Android/article.html|Android Development with Eclipse - Tutorial]]
-  * [[http://www.codecamp.fi/doku.php/android/basics|Basic things to know before starting]] 
   * [[http://www.javacodegeeks.com/2011/06/android-game-development-tutorials.html|Android Game Development Tutorial]]   * [[http://www.javacodegeeks.com/2011/06/android-game-development-tutorials.html|Android Game Development Tutorial]]
 +  * [[http://obviam.net/|A Extremely good Android game development forum]]
   * [[http://androidapps.org.ua/i_sect11_d1e703.html|Android program life cycle]]   * [[http://androidapps.org.ua/i_sect11_d1e703.html|Android program life cycle]]
   * [[http://developer.android.com/design/patterns/app-structure.html|Ofical documentation of using views and Activities]]   * [[http://developer.android.com/design/patterns/app-structure.html|Ofical documentation of using views and Activities]]
   * [[https://github.com/commonsguy/cw-andtutorials|Huge amount of good tutorials, from basics to advanced]]   * [[https://github.com/commonsguy/cw-andtutorials|Huge amount of good tutorials, from basics to advanced]]
 +  * [[http://www.jforeach.com/creating-an-android-game-in-a-day/80|Simple maze game]]
 ===== Android Building blocks ===== ===== Android Building blocks =====
 These examples are ready made android classes to be used in codecamp projects(or anywhere). These examples are ready made android classes to be used in codecamp projects(or anywhere).
 Remember to check AndroidManifest.xml , layouts folder , values folder and classes. Remember to check AndroidManifest.xml , layouts folder , values folder and classes.
  
 +Gui elements howto
 +  * http://www.codecamp.fi/doku.php/android/guielements
 Simple multiple views in one activity example(also using random,changing text,text size,text colour of buttons, system time) Simple multiple views in one activity example(also using random,changing text,text size,text colour of buttons, system time)
   * http://www.codecamp.fi/doku.php/android/views   * http://www.codecamp.fi/doku.php/android/views
Line 29: Line 32:
 Example of playing media( and closing Activity, loading file list of directory's files, buttons, togglebutton ...) Example of playing media( and closing Activity, loading file list of directory's files, buttons, togglebutton ...)
   * [[http://www.codecamp.fi/doku.php/android/midiplay|midiplayer class and Activity]]   * [[http://www.codecamp.fi/doku.php/android/midiplay|midiplayer class and Activity]]
 +Record Audio
 +  * http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/
 +  * http://developer.android.com/reference/android/media/AudioRecord.html
 GPS location example and discussion in stackoverflow.com GPS location example and discussion in stackoverflow.com
   * [[http://stackoverflow.com/questions/3145089/what-is-the-simplest-and-most-robust-way-to-get-the-users-current-location-in-a/3145655#3145655|GPS location example and helper class]]   * [[http://stackoverflow.com/questions/3145089/what-is-the-simplest-and-most-robust-way-to-get-the-users-current-location-in-a/3145655#3145655|GPS location example and helper class]]
Line 35: Line 41:
 Fetching data from Internet.(Notice permission need to be set to allow this and fetching data should happen in separate thread) Fetching data from Internet.(Notice permission need to be set to allow this and fetching data should happen in separate thread)
   * http://asantoso.wordpress.com/2008/03/07/download-and-view-image-from-the-web/   * http://asantoso.wordpress.com/2008/03/07/download-and-view-image-from-the-web/
 +
 +=== game examples===
 +Snake game example using acceleration to control
 +  * http://www.codecamp.fi/doku.php/android/gameexample
 +Googles examples
 +   * [[http://dl.dropbox.com/u/64923329/code/LunarLander.zip|LunarLander]]
 +   * [[http://dl.dropbox.com/u/64923329/code/AccelerometerPlay.zip|AccelerometerPlay]]
 +Random ones:
 +   * [[http://code.google.com/p/bestcardgameever-android/|basic card game]]
 +   * [[http://obviam.net/index.php/getting-started-in-android-game-development-with-libgdx-create-a-working-prototype-in-a-day-tutorial-part-1/|StarAsault]]
 +   * [[http://stackoverflow.com/questions/5605814/how-to-go-about-creating-a-race-track-game|discussion of race games]]
 +   * [[http://code.google.com/p/andengineexamples/|2d game engine for android]]
 +   * [[http://code.google.com/p/andengineexamples/source/browse/src/org/anddev/andengine/examples/game/racer/RacerGameActivity.java|and its racer game example]]
 +   * [[https://github.com/nicolasgramlich/AndEngine|its source]]
 ===== Android Coding Reference ===== ===== Android Coding Reference =====
   * http://developer.android.com   * http://developer.android.com
Line 51: Line 71:
 ===== Development Tasks ===== ===== Development Tasks =====
   * [[setup|Android Development Environment Setup]]    * [[setup|Android Development Environment Setup]] 
 +  * [[signing_software|How to sign android software packages (for testing apps on device) ]] 
 +  * [[java_version|Changing project specific java version (aka Why don't Overrides work?) ]]
   * [[pc cleanup|Cleaning PC after development]] in classroom 6428   * [[pc cleanup|Cleaning PC after development]] in classroom 6428