Running the Application in the
Simulator, Simulator Deployment, Deploy to a Blackberry 10 Simulator
So before launching the product or
application among users, we should test it properly with the help of
Blackberry 10 Device simulator. We can use simulator to view and run
our application exactly as we would like on a real blackberry 10
device. The Blackberry 10 device simulator operate with the help of
Vmware
Running the application in the
simulator
Started
the Blackberry 10 Device Simulator. See Installation of Simulator
for details. Note that IP address will display in the lower left
corner of the window of simulator.
Application can be deploy on simulator
using Ripple emulator or the command line.
Using Ripple emulator deploy the app
to the simulator before starting:
→ First need to package the apps with
the ripple
→ Confirm that services of Ripple are
executing, If these are not running then in the control panel of
Ripple, click on Start Ripple Services.
- Under the Ripple emulator – Click Build → Settings. Fill in the field in the Launch section as provided below:→ From the Target Field – Select the Simulator→ Type the IP address of related simulate device from the Device IP field→ Now required password that has been set for the related simulated device need to input in the Device password field.→ Click on the icon X to close the window and you can also save your setting.
- Click on Package and Launch
SO if the package
and launch processes will be successful, then message build
succeeded. will definitely display. The .zip and .bar files are
saved for application on the output location folder that have been
specified and your application will be opened in the Blackberry 10
Device simulator.
Using the command line to deploy the
apps to simulator before the starting:
→ Package the apps with the help of
Blackberry 10 WebWorks SDK
- Now on the Command prompt, first navigate where we saved and installed the Blackberry 10 Webworks SDK.
- Now Navigate to dependencies \ tools \ bin folders.
- Now type the given below command on the command line :For Windows:
blackberry-deploy -installApp -password <simulator password>
-device <simulator IP address> -package <.bar file path>
For Mac OS:
./blackberry-deploy -installApp -password <simulator password>
-device <simulator IP address> -package <.bar file path>
Results → You will get the
success message if the apps well be deployed properly and
successfully.
Running the Application in the Simulator |
No comments:
Post a Comment