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: 61
Registered: ‎09-01-2009
My Device: Not Specified
Accepted Solution

Can we use JNI(Java Native Interface)approach in Blackberry applications?

Hello,

 

Does anyone help me out in finding whether we can use JNI(Java Native Interface) approach in Blackberry JDE version-4.5 applications ?

 

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

Re: Can we use JNI(Java Native Interface)approach in Blackberry applications?

no, you can't use them. j2me does not have jni
----------------------------------------------------------
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: 61
Registered: ‎09-01-2009
My Device: Not Specified

Re: Can we use JNI(Java Native Interface)approach in Blackberry applications?

Thanks for replying. But can u suggest some other way for using C/C++ code with J2ME?

 

With Regards,

Richa Bhatia

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

Re: Can we use JNI(Java Native Interface)approach in Blackberry applications?

sure, use the logic and rewrite it in java. the actual coding usually does only take a small amount of development time if you have a proper design.
----------------------------------------------------------
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: 61
Registered: ‎09-01-2009
My Device: Not Specified

Re: Can we use JNI(Java Native Interface)approach in Blackberry applications?

Thanks a lot for your advice.

Smiley Very Happy