06-12-2012 06:20 AM
i want to create application for blackberry using phoneGap, i have downlaoded & installed all required tools as given on this page http://wiki.phonegap.com/w/page/31930982/Getting-S
plz let me know 1 thing that after installing webworks sdk, do we get any bbwp.exe file inside extracted directory.
because in error message as given above bbwp.exe is not found. plz help me with ur suggestion.
thank you
06-12-2012 06:48 PM
Hello there,
Can you please confirm which version of the WebWorks SDK you have installed?
06-13-2012 02:38 AM
The exe will be in the sdk folder itself.
Once you have downloaded the latest version of Webworks SDK, then installed it. the bbwp.exe will be in C:\Program Files\Research In Motion\BlackBerry WebWorks SDK <version>
edit you project.properties files to set to this path.
also, chekc if you have double slashed \\ instead of \.
hope this helps
06-13-2012 02:43 AM
Oros,
I have deployed phongap sample in emulator. it works ok.
how do i sign using rippple emulator? when i change the to phonegap from webworks it doesnot show settings option.
i still signed it using webworks. it opens up the signing tool & shows sample is being signed.
but it is not working in the actual device.
what could be wrong. pls help.
i am using ripple 0.9.0.16
06-13-2012 11:02 AM
Hi there,
Ripple can be used to test Phonegap functionality, but you will need to use Phonegap's packaging tools to create a BlackBerry application and subsequently sign it.
06-13-2012 11:33 AM
Well Thanks.
I have decided to use WebWorks for my project instead of PhneGap. I dont see much of support for PhoneGap BB.
Also there is nothing that Phonegap has implmentented that WebWorks has not. Correct me here pls.
I have signed my Geolocation app with webworks now. i runs well on emulaotr. i signed & loaded to device.
one problem is that it doesnt fit in the screen & second it doenst show anything when i click on the button. What could be worng. Pls help. Thanks.
06-14-2012 11:57 AM
Hi there,
Phonegap is a great way to take one code base and compile it for various platforms (BlackBerry, iOS, Android, etc.) however you are correct that it does not add functionality beyond what you can do in each respective native platform to begin with.
Have you had a chance to connect Web Inspector to your application and see if any errors are being thrown? A generous use of console.write calls could also help determine where the application is breaking along with a multitude of try/catch statements.
Would it be possible to provide a screen shot of the rendering issues you're seeing as well as the code snippets for your application?
06-14-2012 12:11 PM
True Oros,
So I have decided to develop my app in WebWorks.
I have not read about using Web Inspector yet.
the geolocation app is the one i downloaded from webworks homepage.
i have been testing with the device indoors. i will try this outdoors this evening.
Thanks.
06-14-2012 12:56 PM
Depending on "how indoors" you are, that could cause a problem.
Here is some documentation on how to use Web Inspector to debug your application:
06-14-2012 01:18 PM
Thank you Oros.
Appreciate it!