J2ME development and native API

Is it possible to write a mobile application with J2ME and whenever we want to implement functionality not offered by J2ME, use our own mobile API? (like what is done with .NET, when you need something not provided, you simply call the Win32 API from the .NET platform).

+2
source share
4 answers

No. This is not possible with Java ME.

+3
source

Although JNI is not officially supported in J2ME, the Symbian J2ME implementation obviously uses something very similar.

Since most J2ME APIs have the corresponding Symbian OS C ++ API, Symbian (a lot) developed adaptation layers between 2.

IBM J9 ( Series60 3rd Edition Feature Pack 2), API , .

.

- , . - , 2 . , Threading Symbian J2ME, , .

, Symbian OS ++ .

+3

. , . , Java MIDlet. - , MIDP-JNI ( JNI). , , , .

, .

+2

If you are specifically looking for Nokia / Symbian, then APIBridge http://wiki.forum.nokia.com/index.php/J2ME_API_Bridge_Interface may be the solution. Usually this is the "official" version of the "native server on the local socket". APIBridge is "extensible" and you can write your own "plugins" for your suitable "low level" task.

+1
source

Source: https://habr.com/ru/post/1722593/


All Articles