lecture4-dan - Computer Science E-76 Building Mobile...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Computer Science E-76 Building Mobile Applications Lecture 4: [Android] Resources, Assets, and Intents February 22, 2011 Dan Armendariz [email protected] 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Creating a UI 2 http://developer.android.com/resources/tutorials/hello-world.html <? xml version = "1.0" encoding = "utf-8" ?> <TextView xmlns:android = "http://schemas.android.com/apk/res/android" android:layout_width = "fill_parent" android:layout_height = "fill_parent" android:text = "@string/hello" /> TextView tv = new TextView ( this ); tv . setText ( "Hello, Android" ); – or –
Background image of page 2
Views Layouts 3 http://developer.android.com/guide/topics/ui/index.html
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Views Common Layouts 4 FrameLayout Gallery GridView LinearLayout ListView RelativeLayout ScrollView Spinner SurfaceView TabHost TableLayout ViewFlipper ViewSwitcher More: http://developer.android.com/reference/android/widget/package-summary.html
Background image of page 4
Resources and Assets 5 Assets assets/ read raw bytes via AssetManager Resources res/ reference included content via R.java
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Resources Additional Information
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/11/2011 for the course MATH 180 taught by Professor Byrns during the Spring '11 term at Montgomery College.

Page1 / 11

lecture4-dan - Computer Science E-76 Building Mobile...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online