Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android Overview

Android Overview

talk for trento's GDG

Giovanni De Francesco

January 25, 2013
Tweet

More Decks by Giovanni De Francesco

Other Decks in Programming

Transcript

  1. How can I Build? !  Android ADT Bundle (and Java

    :P) http://developer.android.com/
  2. Activities in code Res/layout/main.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android"

    android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView android:id="@+id/tv1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello World!" /> </RelativeLayout> MyActivity.java public class MyActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } @Override protected void onPause() { super.onPause(); } }