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
Developer
Posts: 38
Registered: ‎06-03-2009
My Device: 9800
My Carrier: Verizone
Accepted Solution

Java app porting to webworks ?

Hi

Can we port Blackberry java app to webworks ?

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Java app porting to webworks ?

You certainly can, but you will need to rewrite a lot of presentation logic or UI in HTML / CSS.  All of the WebWorks app is rendered from a BrowserField control.  You cannot display Java UI controls inside of a BrowserField - it needs to be web-based contetn.

 

However, you may be able to reuse some of your Java-based business-logic code in the form of WebWorks extensions.  These are JavaScript wrappers for Java code.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Developer
Posts: 38
Registered: ‎06-03-2009
My Device: 9800
My Carrier: Verizone

Re: Java app porting to webworks ?

In that case, How I can make my Java app ready to run in BB10 devices ? I am confused of using native SDK. Does we support existing applications in Blackberry appworld for BB10?

 

Thanks

Praveen K

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Java app porting to webworks ?

The BlackBerry 10 platform will support the following runtimes:

  • HTML5 + WebWorks
  • Native C/C++
  • Android runtime
  • Adobe AIR

 

It will not support J2ME, so existing Java apps created for BlackBerry OS 4.x - 7 will need to be ported to one of the above-supported runtimes.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Developer
Posts: 38
Registered: ‎06-03-2009
My Device: 9800
My Carrier: Verizone

Re: Java app porting to webworks ?

Thank you Adam

 

Regards

Praveen K