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

Java Development

Reply
Highlighted
New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry
Accepted Solution

Can I use a working android code to build a pure Java App. I dont want to directly port it.

Can I use a working android code to build a pure Java App. I dont want to directly port it.

 

 

I want to convert a android app working for Bb 10 versions to a Java App for BB 6.0  and 7.0 verson etc .

 

 

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Can I use a working android code to build a pure Java App. I dont want to directly port it.

no.
android uses j2se, bb os uses j2me (+extensions).
some core java classes and features (collections, reflection etc) will not be available on bb java as it (resp. j2me) is based on java 1.3/1.4

in my experience most business logic can be re-used with minimal changes (like using vector instead of list etc), but UI has to be re-done completely.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: Can I use a working android code to build a pure Java App. I dont want to directly port it.

I have sent you a PM i.e private message .