Emulators and Simulators

From NSB App Studio
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Emulators and Simulators

Android - Windows

  1. Download the Android SDK (22 megs) from http://developer.android.com/sdk/index.html. You will get a zip file. Unzip it someplace handy - I put it in \Program Files. Make sure you get Version 2.3 or later.
  2. In the Tools folder, add administrator privileges to emulator.exe. This will allow the emulator to connect to the web.
  3. Run "Android.bat" in the Tools folder.
  4. The Android SDK & AVD Manager will appear. In the left column of this window, click the Available Packages button. Now you will be able to download the repository, which will provide you with more download options.
  5. Open up the list, and choose the SDK Platform you want: probably something like "SDK Platform Android 2.2, API 8,..."
  6. Choose Install Selected. It will download the SDK.
  7. Go to the left column and select Virtual Devices.
  8. There should be one selection: something like Android 22. Select it, and click the Start button, then Launch in the window that pops up. The emulator will appear.
  9. To run an App Studio app, start the browser and enter the URL.
  10. To install an apk app (not needed for App Studio apps), execute this from the Windows cmd window:
  cd c:\program files\android\android-sdk-windows\tools
  adb install [path to your app].apk

iOS - Mac only.

  1. Go into the Mac App Store and download XCode.
  2. Install it.
  3. Run this program: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iOS Simulator.app
  4. Web connections work without any further settings.
  5. You can switch from iPhone to iPad using using the Hardware tab on the top menu.

Installing app directly: Normally, apps are installed after XCode does its compile, which requires the source. To install directly, do an XCode install, then find out what files were installed. Copy just those files to the same directory on another system's Simulator and it will work.

BlackBerry - Windows

  1. Download the Simulator you want here (approx 160 megs) from http://us.blackberry.com/developers/resources/simulators.jsp. Make sure you get BBOS 6.0 or later. You'll need to fill in some information about yourself.
  2. Install it.
  3. Start the Simulator from the Start Menu. It's under Research in Motion.
  4. Web connections work without any further settings.

To install an app, use the option in the File menu.