Page 297 -
P. 297

mobile app development


           Configure the SDK and emulator


          You need to do two things to configure the SDK and emulator: add an Android
           Platform and create an Android Virtual Device (known as an AVD).

           Add an Android platform                                              The Android download contains
                                                                                a folder called “tools”. Run the
           The coach is running Android 2.2 on his phone, so let’s add a 2.2 platform   “android” program within this
           to mimic this setup. Open up the Android SDK and AVD Manager tool,
           select Available Packages, and pick 2.2 for installation.            folder.





                                                                                  This is the only version of
                                                                                  the SDK that you need.









                                                                                   This might take a minute or two,
                                                                                   depending on the speed of your
                                                                                   network connection.




           Create a new Android Virtual Device (AVD)

           With the 2.2 platform downloaded and installed, create a new Android
          Virtual Device.
                                                              Give your AVD a name,
                                                              and select a target.




                                                              Set the size of the
                                                              virtual SDcard: 512 is
                                                              more than enough.

                                                                                    Your AVD is

                                                                                    a simulated
                                                              Click on
                                                             “Create AVD”.          Android phone.


                                                                                      you are here 4    261
   292   293   294   295   296   297   298   299   300   301   302