Wednesday, May 25, 2011

The Simulator

Once you have finished programming an app, you have to test it out to ensure it will work. On Google's Inventor for Android, you can either plug in you Android phone or use the emulator Google provides. When you attempt "HelloPurr" Google will tell you how to connect your Android phone to the app builder. If you are like me and your Android phone is not compatible, use the emulator. While the emulator is a fabulous tool, it does not always work. It requires a lot of processing power because it simulates all the functions of a typical Android phone. If you are using the emulator on a laptop, I suggest you close unnecessary windows to prevent potential slowness.
To use the emulator, open the block editor. Once it's open and you are finished the program click "New Emulator." A message will pop up telling you how to use the emulator and warning you of potential slowness.When a picture appears on the simulated phone, it is ready to be connected to the app. Go to the block editor again and click on the box that says "Connect to Device" a list should appear with the name of the emulator on it. Select the emulator and wait for the app to load. Go through the processes of your app. If everything preforms satisfactorily then your app is complete, otherwise go back and edit the app. Remember that apps are constantly being reworked. It is rare for an app to turn out perfect on the first try.

No comments:

Post a Comment