Creating Android Apps in Java
This is a full-day tutorial in writing Android apps using the Eclipse IDE on Mac, PC, or Linux. An app is composed of objects written in Java, plus a screen layout in the Extensible Markup Language. See how the Java code manipulates the XML to present a user interface including 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 a 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. We plug an adapter into the adapter view to provide the views to be displayed.
As our finale, we let a component of one app launch and communicate with a component of another app on the same device.
Tutorial level: Intermediate.
Prerequisites: Requires a reading knowledge of the Java language. The examples will be displayed and run on a Mac during the tutorial. If registrants would lke to run the examples on their own machine, they can bring a Mac, PC, or Linux equipped with Eclipse and the current Android Developer Tools (ADT) plugin.
Creating iOS Apps in Swift
This is a full-day tutorial in writing iOS apps in the new language Swift using the Xcode IDE on Macintosh. An iPhone or iPad app is made of intercommunicating objects belonging to Apple's Cocoa Touch frameworks.
Learn to create and destroy these objects, connect them together, and call their methods. Use them to draw text and graphics on the screen, perform simple animations, display controls such as buttons and sliders, respond to a keystroke or other touch, and recognize a gesture such as a swipe, tap, or pinch.
We concentrate on three iOS design patterns.
1. An object can call a method of its delegate object in response to a changing situation, e.g., upon reaching the end of an audio file during a playback.
2. A control object (e.g., a button or slider) can call a method of its target object in response to a touch.
3. A view controller object can create and call the methods of the view object underneath it, and forms the connection between the view object and the rest of the app.
Tutorial level: intermediate.
Prerequisites: Requires previous programming experience, but not necessarily in the language Swift. The examples will be displayed and run on a Mac during the tutorial, and registrants can bring their own Macs if they'd like to run the examples for themselves.
Swift requires at least Xcode 6, which in turn requires at least OS X 10.9.3.