1. Download the Instant Rhodes installer from http://docs.rhomobile.com/rhodes/install#install-on-windows and install it. This will install Ruby, Rhodes.
2. Download the Blackberry JDE from http://us.blackberry.com/developers/javaappdev/javadevenv.jsp
Note : For this you will need to create account and login to the blackberry website.
3. Create a sample rhodes app.
rhodes app myspace
4. Go to build.yml in the app, and change the version for blackberry,.
bbver: 6.0
5. do 'rhodes-setup' for adding Java path
$ rhodes-setup
We will ask you a few questions below about your dev environment.
JDK path (required) (C:/Program Files/Java/jdk1.6.0_21): C:/Program Files/Java/j
dk1.6.0_21
We will ask you a few questions below about your dev environment.
JDK path (required) (C:/Program Files/Java/jdk1.6.0_21): C:/Program Files/Java/j
dk1.6.0_21
for other paths just skip.
6. Go to Rhodes installation path and find the rhobuild.yml. In my system the path is,
C:\InstantRhodes\ruby\lib\ruby\gems\1.8\gems\rhodes-3.0.2\rhobuild.yml
add this lines in rhobuild.yml for blackberry version 6.0
6.0:
jde: C:/Program Files/Research In Motion/BlackBerry JDE 6.0
mds: C:/Program Files/Research In Motion/BlackBerry JDE 6.0/MDS
sim: 9800
jde: C:/Program Files/Research In Motion/BlackBerry JDE 6.0
mds: C:/Program Files/Research In Motion/BlackBerry JDE 6.0/MDS
sim: 9800
7. Run the app., rake run:bb
This opens blackberry simulator. Now find your app in the apps menu.
Cheers!
1 comment:
I just had to the ".0" to the path name and then it worked!
Post a Comment