Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

1. Getting Started with Android > Running a New Project

Running a New Project

Follow these steps to get your project running:

1. If your emulator isn’t running, fire it back up. You need to make sure the IDE is in communication with the emulator; they frequently lose touch with each other. If you’re using a device, make sure it’s showing up correctly here as well.

2. Open the DDMS perspective by choosing Window > Open Perspective > Other.

You should see a little android next to the DDMS option.

3. Open the DDMS perspective. Under the Devices tab, you should see an entry for your emulator or device.

4. From the Run menu in Eclipse, choose “Run last launched” or Run. Eclipse may ask you to confirm that the app is indeed an Android project.

Android will compile, package, install, and run the application on your emulator or device. If you can see the app running on your phone, congrats! You’ve now officially created an Android application.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint