Android Programming Tutorials

(Romina) #1

  1. We create a simple app widget (i.e., interactive element for the


home screen) for LunchList, one that displays the name of a
randomly-selected restaurant.


  1. We extend the app widget to allow the user to click a button to


choose a different restaurant and click the name of the restaurant to


pull up the LunchList detail form for that restaurant.



  1. We test the LunchList application using the Test Monkey,


simulating random input into the UI.



  1. We allow users to provide phone numbers for restaurants, then add


in phone-dialing capability to LunchList.



  1. We (pretend to) allow users to take pictures of restaurants using


the device's built-in camera.



  1. We wrap up by allowing users to randomly select a restaurant by


shaking their phone while running the LunchList application.



  1. We allow users to send the name and address of a restaurant to


others via SMS.



  1. We fix up the SMS code to support both Android 1.x and Android


2.x.


xxix
Free download pdf