Blackberry: Cannot load in Simulator

11 views
Skip to first unread message

Josiah

unread,
Feb 10, 2010, 1:33:45 PM2/10/10
to phonegap
I've been unsuccessful in getting the Blackberry PhoneGap project to
install on the Blackberry Simulators.

I have installed the Blackberry development tools and Eclipse plugins
exactly how the Getting Started PhoneGap wiki page suggests. I have
done this on both Windows Vista and Windows 7.

I have ensured that the "Activate for Blackberry" option is checked.

I have ensured that the Blackberry workspace configure settings are
using the same component package as the simulator I am loading (I've
tried this on both 4.6.1 and 4.7.0).

When I try to run the default PhoneGap project on the simulator,
Eclipse will launch the simulator but nothing appears to install.
There are no new icons in either the Applications or Downloads folder
(or anywhere else that I can see). There are no errors reported in
the Blackberry console.

I am using the default PhoneGap Blackberry project from the Git
repository. I imported the project as a Blackberry project and
pointed it to the jdp file.

Any ideas?

filmaj

unread,
Feb 10, 2010, 2:35:40 PM2/10/10
to phonegap
Josiah,

It should show up in the Downloads folder on the simulator... it
sounds like you're doing everything properly, too. Checking the
'Activate for BlackBerry' trips a lot of people up...

What version of Eclipse are you using?

Josiah

unread,
Feb 10, 2010, 2:48:10 PM2/10/10
to phonegap
Thanks for the reply.

I am using Eclipse 3.4.1.

filmaj

unread,
Feb 10, 2010, 3:38:22 PM2/10/10
to phonegap
OK, good. Where did you download the framework code from?

Josiah

unread,
Feb 10, 2010, 3:41:08 PM2/10/10
to phonegap

filmaj

unread,
Feb 10, 2010, 5:23:31 PM2/10/10
to phonegap
Ahh, that's the problem. Try one of these:

http://github.com/filmaj/phonegap-blackberry (this is my personal one
- latest hacking for PhoneGap BlackBerry goes in here)
http://github.com/phonegap/phonegap-blackberry

These are considered the 'edge' version - the latest n' greatest.

Josiah

unread,
Feb 11, 2010, 1:41:46 AM2/11/10
to phonegap
Thanks for pointing that out. I was able to install it to the
Blackberry 4.7 (Storm) simulator... once.

After that I started making small changes to the app and it wouldn't
reinstall. I tried restarting the simulator and Eclipse but that
didn't help. I tried uninstalling the app from the simulator and
attempted to reinstall the unmodified PhoneGap demo to no avail.

I also tried dropping in my webapp into PhoneGap and was unable to get
that to install. I was sure to add the PhoneGap.js to the header of
my index.html.

Are there things that must be in the index.html file or otherwise the
it won't install? Are there other absolute "Thou shalt not" examples?

I was thrilled to have it working. I appreciate your help.

On Feb 10, 3:23 pm, filmaj <filip....@nitobi.com> wrote:
> Ahh, that's the problem. Try one of these:
>

> http://github.com/filmaj/phonegap-blackberry(this is my personal one
> - latest hacking for PhoneGap BlackBerry goes in here)http://github.com/phonegap/phonegap-blackberry

filmaj

unread,
Feb 11, 2010, 7:31:01 PM2/11/10
to phonegap
Hey Josiah,

I remember when I started out developing for BlackBerries in Eclipse
on Windows XP, I had to delete the application binaries that are auto-
generated in the project directory before each simulator run, to force
Eclipse to run a re-generate on the binaries. Try that: right click on
your project in Eclipse and go to properties. Look at the path where
it resides (it's not always in the same path as when you import -
Eclipse 'workspace' at play here). Then, go into that directory and
delete any .cod, .csl or .jar files (they should be named the same way
as your app name). Then, back in Eclipse, try running it again in the
simulator.

This took me a while to figure out when I started out, but since then
I haven't experienced this problem.

On Feb 10, 10:41 pm, Josiah <jos...@appible.com> wrote:
> Thanks for pointing that out.  I was able to install it to the
> Blackberry 4.7 (Storm) simulator... once.
>
> After that I started making small changes to the app and it wouldn't
> reinstall.  I tried restarting the simulator and Eclipse but that
> didn't help.  I tried uninstalling the app from the simulator and
> attempted to reinstall the unmodified PhoneGap demo to no avail.
>
> I also tried dropping in my webapp into PhoneGap and was unable to get
> that to install.  I was sure to add the PhoneGap.js to the header of
> my index.html.
>
> Are there things that must be in the index.html file or otherwise the
> it won't install?  Are there other absolute "Thou shalt not" examples?
>
> I was thrilled to have it working.  I appreciate your help.
>
> On Feb 10, 3:23 pm, filmaj <filip....@nitobi.com> wrote:
>
>
>
> > Ahh, that's the problem. Try one of these:
>

> >http://github.com/filmaj/phonegap-blackberry(thisis my personal one

Josiah

unread,
Feb 18, 2010, 10:53:10 AM2/18/10
to phonegap
Thanks filmaj for all your help. It working now.

> > >http://github.com/filmaj/phonegap-blackberry(thisismy personal one

Reply all
Reply to author
Forward
0 new messages