5.2.1. Importing the App and Running It

Perform the following steps to import the app into the IDE:

1. Opening the Import dialog. Select File > Import....

2. Importing the Flag Quiz app’s project. Expand the General node and select Existing Projects into Workspace. Click Next > to proceed to the Import Projects step. Ensure that Select root directory is selected, then click Browse.... Locate the FlagQuiz folder in the book’s examples folder, select it and click OK. Ensure that Copy projects into workspace is not selected. Click Finish to import the project so that it appears in the Package Explorer window.

3. Launching the Flag Quiz app. Right click the FlagQuiz project and select Run As > Android Application to execute the app in the AVD or on a device. This builds the project and runs the app (Fig. 5.1 or Fig. 5.2).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset