Home > Articles > Programming > Java

  • Print
  • + Share This
Like this article? We recommend Testing

Testing

To test the app, choose File > Export > Android Application. The wizard will ask you to create a keystore and a self-signed certificate before generating the APK file. If you have a phone plugged in to your computer using a USB cable, the APK file will automatically be installed to your phone and the app can be tested.

If you do not have a phone, before exporting your app, choose to set up an emulator. This is very easy to do. In Eclipse, simply select Window > AVD Manager and add or use a default emulator from there. During the export process, the app will be deployed to this emulator.

After running the application, your Speak button should appear. Press this button and speak the application you want to open. An example would be, “Open Facebook.” The Facebook application will open immediately. To open another app, simply tap your phone’s Back key and do another. Keep in mind that this example only works for one-word application names. I left it to you to expand on this however you like.

  • + Share This
  • 🔖 Save To Your Account