Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Visitor
pawanyankymdev
Posts: 1
Registered: ‎06-12-2012
My Carrier: Maxx

how to Build the PhoneGap Sample Application Project for blackberry

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-Started-with-PhoneGap-BlackBerry-WebWorks . but when i try to build (using this linkhttp://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks#BuildtheP... ) sample phoneGap project given for blackbery that comes with phoneGap library. i am getting error as given in this linkhttp://i46.tinypic.com/1orwhe.png where it give message that " C:\BBWP\bbwp.exe. not found, Please edit 'blackberry.bbwp.dir' in your 'project.properties' file." and when i go to see in installed blackberry webworks sdk directory i.e. C:\BBWP\ there is no bbwp.exe file please help me to get out of this error.

 

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

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: how to Build the PhoneGap Sample Application Project for blackberry

Hello there,

 

Can you please confirm which version of the WebWorks SDK you have installed?

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Carrier: Verizon Wireless

Re: how to Build the PhoneGap Sample Application Project for blackberry

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

 

Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Carrier: Verizon Wireless

Re: how to Build the PhoneGap Sample Application Project for blackberry

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

 

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: how to Build the PhoneGap Sample Application Project for blackberry

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.

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Carrier: Verizon Wireless

Re: how to Build the PhoneGap Sample Application Project for blackberry

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.

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: how to Build the PhoneGap Sample Application Project for blackberry

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?

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Carrier: Verizon Wireless

Re: how to Build the PhoneGap Sample Application Project for blackberry

 

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.

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: how to Build the PhoneGap Sample Application Project for blackberry

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:

https://developer.blackberry.com/html5/documentation/ww_testing/web_inspector_overview_1553586_11.ht...

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Regular Contributor
tububerry
Posts: 51
Registered: ‎05-25-2012
My Carrier: Verizon Wireless

Re: how to Build the PhoneGap Sample Application Project for blackberry

Thank you Oros.

Appreciate it!

Please use plain text.