1,234
edits
Changes
→Lab submission
== Android development environment ==
If you're using your own machine - simply put in the DVD, reboot, and tell your machine to boot from the DVD. If you're using one of the lab machines - turn the switch to "External", put in the DVD, and reboot. You do not need an external harddrive. Once it boots - click the login button. Then wait for Eclipse to start, which will happen automaticlly. Note that this environment is a lot slower than it would normally be because everything has to be read from the CDDVD. Eclipse will start automatically, wait for that.
== AVD ==
# Create a new virtual device
# Give it a name (whatever you want), select a target (there's only one choice)
# This is important: '''Do not create a large SD Card'''. Since everything is in RAM you only have a few hundred megs of fake disk space, so even though a 16MB SD card is unrealistic, we won't need more than that for anything we'll be doing. If you create a much larger SD card you will simply run out of virtual disk space and everything will crash.
# Start your device, and wait for it to boot. You can play around in there, this is what an Android phone is like.
# Leave the emulator running, and go back to eclipse. You can close the SDK and AVD Manager now.
# Select your package in the package explorer, and click the green Run button. Run it as an Android application. This will compile your app and run it on your phone (if it's connected) or on the emulator (if it's running).
# Go back to main.xml and make the app a login screen. Change the hello world text (using an existing or new @string resource) to "YourName's fancy app", add username/password textviews and fields, and a button. Make sure your new fields and button text are @string resources.
# Experiment with other widgets and layouts available through the GUI.
# When you app is ready - export it as an unsigned application package.
= Lab submission =
This is a marked lab. Please submit it using Moodle (Lab5Lab8). Submit: