Skip to content

Instantly share code, notes, and snippets.

@Kevinwlee
Created April 8, 2011 12:26
Show Gist options
  • Save Kevinwlee/909731 to your computer and use it in GitHub Desktop.
Save Kevinwlee/909731 to your computer and use it in GitHub Desktop.
For the playbook simulator
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.3" rim:header="RIM-Widget:rim/widget">
<name>Marketstar</name>
<description>Marketstar Playbook sample</description>
<author rim:copyright="2010">n/a</author>
<icon rim:hover="false" src="icon.png"/>
<icon rim:hover="true" src="icon.png"/>
<content src="index.html"/>
</widget>
The .Bar file is here:
/Blackberry/Apps
The bbwp is her:
/Blackberry/bbwp
The deploy tool is here:
/BackBerry/bbwp/blackberry-tablet-sdk/bin
./bbwp /Users/kevin/Things/BlackBerry/apps/mstar.zip
./blackberry-deploy -installApp -device 172.16.95.128 -package /Users/kevin/Things/BlackBerry/apps/bin/mstar.bar -password playbook
Build an HTML/CSS/Javascript single page app
Add a config file (see sample)
compress the file
- be sure to remove all the .DS_store files
- i used ZipCleaner [[http://www.macupdate.com/app/mac/25497/zipcleaner]]
then build the BAR
run the deploy script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment