Links og andet godt fra
Bjørk's kursus hos Microworkd
Slides:
Android background:
Kursusslides:
Screencast tool:
Android indbyggede ikoner
Barcode reader library og
eksempler:
Et bedre camera eksempel
Push - Google
SMS modtager eksempel:
Database eksempel:
Toilet - MapView eksempel:
Webview eksempel:
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);
}
}
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);
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:
Andre udviklingsmiljøer:
Mono for Android enables developers
to create C# and .NET
based applications that run on
Android phones and tablets:
Design af GUI:
Om at holde runtime state
Sådan ser du data fra
SQLite-filer grafisk i Eclipse
API demoer: