9:00am - 4:00pm


Requires a reading knowledge of the Java language. The examples will be displayed and run on a Mac during the tutorial. If registrants would like to run the examples on their own machine, they can bring a Mac, PC, or Linux equipped with Android Studio. See the installation instructions at http://i5.nyu.edu/~mm64/android/studio/

Tutorial: Creating Android Apps in Java

This is a full-day tutorial in writing Android apps using the Android Studio IDE on Macintosh, PC, or Linux. An app is composed of objects written in Java, and a screen layout in the Extensible Markup Language. See how the Java code manipulates the XML to present a user interface containing buttons, sliders, and other controls. Draw text and graphics on the screen, respond to a touch or keystroke, recognize a swipe or a pinch, and perform simple animations.

We concentrate on three Android design patterns involving views, which are visible areas on the screen.
(1) A listener is an object whose methods are called in response to a stimulus. We plug the listener into a view to make the view touch-sensitive.
(2) A cursor is a source of data, possibly from the Contacts or other database. We plug the cursor into an adapter, which encases each item of data in a separate view.
(3) An adapter view displays a series of views on the screen, often in the form of a table or list. We plug an adapter into the adapter view to provide the views to be displayed. As our finale, a component of one app will launch and communicate with a component of another app on the same device.

Similar Talks

Expert on JavaScript and co-authored "Enterprise Web Development"
Java Champion and Author of "Java Generics and Collections"
Java Champion and Engineer


Wednesday Jun 10

Thursday Jun 11

Friday Jun 12