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.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 5
Registered: ‎01-06-2012
My Device: curve 8520
My Carrier: giffgaff

webwoks applications compiled on os x lion not working

Hi,

Ii'm trying to compile first app using webworks.

 

I have:

- Mac OS X 10.7.2 Lion

- BlackBerry WebWorks SDK 2.2.0.15

- 8520 with 5.0.0.681 OS  phone.

 

this is the app i'm trying to run: http://pawelchalacis.pl/bb/hello.zip

 

this is compile command and response:

vcc-pc:BlackBerry WebWorks SDK 2.2.0.15 pchalacis$ ./bbwp  /www/bb/hello.zip -o ~/Desktop/last_test/ -g
[INFO]      		Parsing command line options
[INFO]      		Parsing bbwp.properties
[INFO]      		Validating application archive
[INFO]      		Parsing config.xml 
[WARNING]   		Failed to find a <feature> element
[INFO]      		Populating application source
[INFO]      		Compiling BlackBerry WebWorks application
[INFO]      		Starting signing tool
[INFO]      		Signing complete
[INFO]      		Generating output files
[INFO]      		BlackBerry WebWorks application packaging complete

 

Signing tool is green for 3 files. In my inbox i have "A code signing request completed successfully for client 'xxxxx'" messages only.

 

this is compiled app:http://pawelchalacis.pl/bb/last_test.zip

 

when I upload this on device (using BlackBerry desktop software), nothing happens.

 

Log before running app (/javaloader -u eventlog):

Connected                 
guid:0x97C9F5F641D25E5F time: Thu Jan  1 01:00:00 1970  severity:0 type:2 app:System data:JVM:INFOp=22515f95,a='5.0.0.681',o='5.2.0.67',h=8c000f03
guid:0x97C9F5F641D25E5F time: Fri Jan  6 11:32:15 2012  severity:0 type:2 app:System data:JVM:INFOp=22515f95,a='5.0.0.681',o='5.2.0.67',h=8c000f03
Disconnected

 

Log after running app:

Connected                 
guid:0x97C9F5F641D25E5F time: Thu Jan  1 01:00:00 1970  severity:0 type:2 app:System data:JVM:INFOp=22515f95,a='5.0.0.681',o='5.2.0.67',h=8c000f03
guid:0xED7944AEBD0C4AE2 time: Fri Jan  6 11:32:44 2012  severity:2 type:2 app:Application Control data:IvHG
guid:0xED7944AEBD0C4AE2 time: Fri Jan  6 11:32:44 2012  severity:2 type:2 app:Application Control data:IvHG
guid:0xED7944AEBD0C4AE2 time: Fri Jan  6 11:32:44 2012  severity:2 type:2 app:Application Control data:IvHG
guid:0x97C9F5F641D25E5F time: Fri Jan  6 11:32:44 2012  severity:0 type:2 app:System data:CMM: hello-1(1573) no sig from 0x33
guid:0x97C9F5F641D25E5F time: Fri Jan  6 11:32:44 2012  severity:0 type:2 app:System data:CMM: hello-2(1566) no sig from 0x33
guid:0x97C9F5F641D25E5F time: Fri Jan  6 11:33:17 2012  severity:0 type:2 app:System data:JVM:INFOp=22515f95,a='5.0.0.681',o='5.2.0.67',h=8c000f03
Disconnected

 

So the question is - what am i doing wrong?

Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: webwoks applications compiled on os x lion not working

Hi greku,

 

What do you mean by "nothing happens"?

 

Does the app get loaded on device? Does it launch? Does anything display?



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
New Contributor
Posts: 5
Registered: ‎01-06-2012
My Device: curve 8520
My Carrier: giffgaff

Re: webwoks applications compiled on os x lion not working

Hi,

App is installed on device, yet clicking on it does nothing. my logs in previous post are before and after I've tried to open app.

New Contributor
Posts: 9
Registered: ‎12-29-2011
My Device: BlackBerry - Curve & 9300
My Carrier: Tunisiana

Re: webwoks applications compiled on os x lion not working

you application is woking fine just go to your simulator wilt for main screen and form the menu go to File > load blackberry applition or theme and give it the cod file located in the bin folder just genegated on descktop
New Contributor
Posts: 5
Registered: ‎01-06-2012
My Device: curve 8520
My Carrier: giffgaff

Re: webwoks applications compiled on os x lion not working

as soon as someone will come up with mac os x simulator - I will do that Smiley Wink

Jokes aside - why it's not running on my curve 8520 with 5.x OS then?
New Contributor
Posts: 5
Registered: ‎01-06-2012
My Device: curve 8520
My Carrier: giffgaff

Re: webwoks applications compiled on os x lion not working

I've just tried running it on simulator on windows computer - it is running there perfectly. 

 

Still don't know what's the problem with real phone.

New Contributor
Posts: 9
Registered: ‎12-29-2011
My Device: BlackBerry - Curve & 9300
My Carrier: Tunisiana

Re: webs applications compiled on so x lion not working

Maybe there is some problems with Mac what about testing on windows using virtual machine or in other friend computer

Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: webs applications compiled on so x lion not working

Hi pegas7team,

 

I was able to load your cod from my Mac to an 8520 running the same build and the app ran without issue.

 

I did this using javaloader as opposed to the desktop manager. This can be achieved by running

 

./<webworks SDK Install>/bin/javaloader -u load <cod file>




1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
New Contributor
Posts: 5
Registered: ‎01-06-2012
My Device: curve 8520
My Carrier: giffgaff

Re: webs applications compiled on so x lion not working

Have you installed my app or have you compiled and signed it by yourself? 

 

Mine is still not working on my device (loaded with javaloader). Perhaps it is some signing problem?

Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: webs applications compiled on so x lion not working

I installed the app you posted without any problems...



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)