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
Contributor
Posts: 15
Registered: ‎10-26-2012
My Device: curve 8520
My Carrier: Airtel

How to create Custom Extension

[ Edited ]

Hi,

 

I am trying to create a custom extension for blackberry webworks, i am new to blackeberry and hence could not figure how it is done...

 

i have gone through the documents, 

 

https://developer.blackberry.com/html5/documentation/creating_a_jar_file_that_defines_your_extension...

 

i couldnot understand 

 

Use precompiled classes in an extension... 

 

section of the document..

 

 

1st compiling 

 

javac -source 1.3 -target 1.3 -deprecation -classpath <path to net_rim_api.jar> <path to folder containing .java files>

gives me

 

error : Class names, 'sample', are only accepted if annotation processing is explicitly requested

 

 

 

I really need this to be done at the earliest, please do help..

 

(I have no other option as payment api doesnot seems to work in os5, here is the link to the post http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Error-starting-xyz-class-net-rim....)

 

Regards

 

Sudeep

 

 

Contributor
Posts: 15
Registered: ‎10-26-2012
My Device: curve 8520
My Carrier: Airtel

Re: How to create Custom Extension

complieling is done just need to add <source folder>/*.java , sorry new to java 

Contributor
Posts: 15
Registered: ‎10-26-2012
My Device: curve 8520
My Carrier: Airtel

Re: How to create Custom Extension

Hi,

 

This is looking more like rocket science now, No matter what i do i could not figer how to create an extension for the blackberry,

 

Please guid me if you have create the same earlier.

 

I am having eclipse plugin for blackberry,

 

Regards

 

Sudeep