Skip to content

Commit

Permalink
Fixed bad instantiation of Geo command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil Maj committed Dec 1, 2009
1 parent 1868917 commit bb28329
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion blackberry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Create a PhoneGap project with Eclipse

Building PhoneGap BlackBerry Projects with Apache Ant
-------------------------------------------------------------
You'll need all the prerequisites listed by BB Ant Tools (http:https://bb-ant-tools.sourceforge.net/).
You'll need all the prerequisites listed by BB Ant Tools (http:https://bb-ant-tools.sourceforge.net/). If you want access to building using Ant from Eclipse,
check out http:https://www.slashdev.ca/2007/05/30/blackberry-development-with-ant-eclipse/ for instructions on how to do it.

1. Once you have cloned the PhoneGap repository, put your HTML, CSS and JavaScript application files in the phonegap/blackberry/framework/src/www folder.
2. Edit the build.xml file in phonegap/blackberry/framework and set the paths at the top of the file, in the <property> elements, to match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public CommandManager(PhoneGap phoneGap) {
commands[1] = new ContactsCommand();
commands[2] = new NotificationCommand();
commands[3] = new TelephonyCommand();
commands[4] = new GeoLocationCommand();
commands[4] = new GeoLocationCommand(phoneGap);
commands[5] = new DeviceCommand();
commands[6] = new MediaCommand();
commands[7] = new NetworkCommand(phoneGap);
Expand Down

0 comments on commit bb28329

Please sign in to comment.