Android Programming Tutorials

(Romina) #1
Photographic Memory

Extra Credit...............................................................................................


Here are some things you can try beyond those step-by-step instructions:



  • Store the photos on the SD card. Remember: the emulator does not
    emulate an SD card by default, so you will need to create an SD card


image and tell the emulator to mount it.



  • Store the photos on the SD card in a background thread, so the user


regains control more quickly.



  • Associate photos with the current restaurant and be able to view
    them later (perhaps via a Gallery).


Further Reading........................................................................................


More on the Camera class for taking still pictures can be found in the "Using


the Camera" chapter of The Busy Coder's Guide to Advanced Android


Development.


355
Free download pdf