Introduction to Android Development CS 5115 Fall 2013 September 23
Agenda for today Quick overview of project presentations Intro to Android Development
training/index.html
Here’s how simple the app is
Define your app to the OS Java code – make the widgets, handle events Define your UI – widgets, layout Define strings (text) used in your UI
Defining your UI firstapp/building-ui.html firstapp/building-ui.html res/layout activity_main.xml
Defining the layout
Adding widgets
Responding to user actions firstapp/starting-activity.html firstapp/starting-activity.html
Still in activity_main.xml
Now let’s finally get to some Java
What does sendMessage actually do? Starts a new activity, passes some data to it (the string entered by the user)
Defining DisplayMessageActivity
This is just the basics! Now check out all the lessons in: html html See the navigation pane on the left side