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?
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?
I am using Eclipse 3.4.1.
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.
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
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
> > >http://github.com/filmaj/phonegap-blackberry(thisismy personal one