~~NOTOC~~ ====== Android Coding ====== {{ :android:android_logo_trans_small.png?150}} * [[http://www.codecamp.fi/doku.php/android/basics|Some Android coding basics and botlenecks]] === 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://en.wikipedia.org/wiki/List_of_Android_devices|Android Devices]] * [[http://www.android.com/market/|Android Market]] === Android Course Slides === * .. will be added during course === Android development === * [[http://www.vogella.de/articles/Android/article.html|Android Development with Eclipse - 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://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]] * [[http://www.jforeach.com/creating-an-android-game-in-a-day/80|Simple maze game]] ===== Android Building blocks ===== 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. 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) * http://www.codecamp.fi/doku.php/android/views Multiple Activities * http://www.codecamp.fi/doku.php/android/multibleactivities File handling example * [[http://www.codecamp.fi/doku.php/android/filehadling|File handling]] 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]] 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 * [[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]] Accelerometer * [[http://www.codecamp.fi/doku.php/android/accelerometer|Accelometer example]] 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/ === 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 ===== * http://developer.android.com * http://developer.android.com/guide/index.html -- Developer Guide * http://developer.android.com/reference/packages.html -- API Reference * http://developer.android.com/guide/samples/index.html -- Sample Code * http://developer.android.com/design/index.html -- Design Guide ===== Android Coding Discussion ===== * [[questions]] <= Put questions occurred during Code Camp (but not resolved) here * [[http://stackoverflow.com/questions/tagged/android|Android @ Stack Overflow]] * [[http://www.anddev.org/|anddev.org]] * [[http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon|Discussion of terminating Android application]] ===== Development Tasks ===== * [[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