Links og andet godt fra Bjørk's kursus hos Microworkd

 

 

Slides:
Android background:
http://www.miraclegeekhouse.com/Microworld/androidbackground.pdf
 
Kursusslides:
http://www.miraclegeekhouse.com/Microworld/Android_kursus.pdf
 
 
Screencast tool: 
http://code.google.com/p/androidscreencast/
 
Android indbyggede ikoner
http://androiddrawableexplorer.appspot.com/
 
Barcode reader library og eksempler:
http://code.google.com/p/zxing/

 

Et bedre camera eksempel

http://achorniy.wordpress.com/2010/04/26/howto-launch-android-camera-using-intents/
 
Push - Google 
http://code.google.com/android/c2dm/index.html
 
SMS modtager eksempel:
http://www.miraclegeekhouse.com/Microworld/SMSModtager/
 
Database eksempel:
http://www.miraclegeekhouse.com/Microworld/SQLITE2.zip
 
Toilet - MapView eksempel:
http://www.miraclegeekhouse.com/Microworld/Toilet.zip
 
Webview eksempel:
http://www.miraclegeekhouse.com/Microworld/WebView.zip
 
 
Webview
public class MainActivity extends Activity {
 
        WebView mWebView;
 
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
 
                mWebView = (WebView) findViewById(R.id.webview);
                mWebView.getSettings().setJavaScriptEnabled(true);
                mWebView.loadUrl("http://www.google.com");
 
                
        }
}
 
Email:
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);  
emailIntent.setType("plain/text");  
String[] receivers = {"tpe@miracleas.dk"};
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, receivers);  
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Forespørgsel");
startActivity(emailIntent);
 
Attachment eksempl : http://groups.google.com/group/android-developers/browse_thread/thread/65b4ec9ab8c57112
 
List activity
public class List1 extends ListActivity {
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState); 
 
        // Use an existing ListAdapter that will map an array
        // of strings to TextViews
        setListAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, mStrings));
        getListView().setTextFilterEnabled(true);
    }
 
    private String[] mStrings = {
            "Abbaye de Belloc", "Abbaye du Mont des Cats", "Abertam", "Abondance", "Ackawi"};
 
Gode bøger og sites:
http://commonsware.com/
http://www.wrox.com/WileyCDA/WroxTitle/Professional-Android-Application-Development.productCd-0470565527.html
 
http://developer.android.com/guide/index.html
 
http://www.amazon.com/Android-Developers-Cookbook-Building-Applications/dp/0321741234
 
http://www.youtube.com/user/bjoerks?feature=mhum#p/c/1757CA922F4D9E64
 
 
Andre udviklingsmiljøer:
Mono for Android enables developers to create C# and .NET
based applications that run on Android phones and tablets:
http://mono-android.net/
 
Design af GUI:
http://code.google.com/p/droiddraw/downloads/list
 
Om at holde runtime state
http://developer.android.com/guide/topics/resources/runtime-changes.html
 
Sådan ser du data fra SQLite-filer grafisk i Eclipse
http://www.questoid.com/Tools/QuestoidSQLiteBrowser.aspx
 
API demoer:
http://developer.android.com/reference
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/index.html
 
http://www.androidsnippets.com/
 
http://www.androidpatterns.com/