Page 298 -
P. 298

emulate sl4a


           Install and configure Android Scripting

                                                                                These instructions work on a “real”
           With the emulator ready, use the AVD Manager to start your 2.2 device. Click   phone, too. Just be sure to enable
           on the emulator’s browser (the little globe), surf to this web address:  “Unknown sources” to allow for non-
                                                                                Market application downloads.
                  http://code.google.com/p/android-scripting
           and tap on the “boxed” bar code near the bottom of the page:
                                                                   Don’t worry if it takes your emulator a
                                                                   minute or two to start. The emulator is
                                                                  slower than the actual phone…



          On the emulator,
          tap on the
          “boxed” bar code
          to start the
           SL4A download.












           When the download completes, select the emulator’s Menu button ➝ More ➝
           Downloads, and then tap on the sl4a_r2.apk file to install the SL4A   The version available to you might be
           package on the emulator. When the install completes, tap Done.  different, but don’t worry: download the
                                                                           latest release.


















                                                                     The version you see might be different than
                                                                      this. Don’t worry; yours in the most recent.



           262    Chapter 8
   293   294   295   296   297   298   299   300   301   302   303