CS 436 Lecture 2 – Tools Battle
Agenda
- teach each other!
- battle tools
- build an app with Toast and sound
Before Class
Blu
- Read the syllabus.
- Watch the Google I/O 2014 keynote (http://youtu.be/wtLJPvx7-ys). The speakers discuss the next release of Android, amongst other things. Industrial talks cover a little bit of everything with just enough detail. The keynote’s really long; feel free to skip around and watch at 2x.
- Read Application Fundamentals (http://developer.android.com/guide/components/fundamentals.html).
- Read User Interface (http://developer.android.com/guide/topics/ui/index.html), sections Overview through Input Events.
Gold
- Read the syllabus.
- Watch Randaurant (http://youtu.be/eReHVlgd4YM).
- Read all sections of Build Your Own App (http://developer.android.com/training/basics/firstapp/index.html).
In Class
The mobile world is currently still in a gross state. The tooling is constantly changing. And leads us to our objective today! Let’s get our hands dirty with setting up our development environment and exploring some more of Android. Tackle these challenges with a partner:
- Sadly, software in this lab isn’t quite set up yet for Android development. Preferably on your own machine, download the Eclipse ADT bundle or Intellij IDEA, which Google is switching to. I’ve used IDEA some and will be migrating to it, maybe gradually. It lacks several features of Eclipse.
- Build an app with a button that when clicked pops up a brief message using the
Toast
class. - Add a button that plays an MP3 resource (placed in the
res/raw
directory). TheMediaPlayer
orSoundPool
classes are helpful. - Install HAXM to get a faster emulator.
Haiku
on app markets: Ten thousand installs
Sixty countries, in one day!
It’s “Hello, world”
Sixty countries, in one day!
It’s “Hello, world”