Game Development Reference
In-Depth Information
Argument
Value to enter
<device id>
T
The device ID of your BlackBerry device. As an example,
you can find out this value on a PlayBook by going into
the settings screen, clicking on the
About
item in the left-
hand pane, and selecting the
Hardware
option in the drop-
down box. The value labeled
PIN
is the device ID. When
you specify this value in the commandline, make sure you
prefix it with
0x
, as you would in C++ source code, to
indicate a hexadecimal value.
<password>
This is the same password you used in the previous set of
commands.
9. To install the debug token on to the device, first ensure that the device is
connected via WiFi to the same network as your PC and then look at the
device settings to determine the IP address assigned to it. This can be found
by going to the
About
panel and selecting
Network
in the drop-down box.
10. Next we must enable development mode on the device, which can be done
in the settings screen. Choose the
Security
panel and then click on the
Development Mode
entry on that screen. Set the toggle control next to
Use
Development Mode
to
On
. You will be asked to enter a password for using
development mode, so enter one into the edit boxes and click on the
Upload
Debug Token
button.
11. Now we have to enter one more commandline to install the debug token on
the device.
C:\PlayBook> blackberry-deploy -installDebugToken debugtoken.bar
-device <ip address> -password <device password>
Argument
Value to Enter
<device password>
The device password you set in step 10.
<ip address>
The IP address of the device as discovered in step 9.
12. Now we have to add the following two lines to the
deployments
sections
of the MKB file, to allow us to make a valid deployment package:
playbook-author="<company name>"
playbook-authorid="<author id>"
Search WWH ::
Custom Search