|
| Using C++ dll in MIDlet |
 |
Thu, 10 Nov 2005 17:20:00 +053 |
Hi,
can anybody please tell me tat how to use a dll which is written in c++ in a
MIDlet??
|
| Post Reply
|
| Re: Using C++ dll in MIDlet |
 |
Fri, 11 Nov 2005 10:33:47 -000 |
The simple answer is you can't. MIDP does not support JNI.
The only way a midlet can communicate with native code is over a
conventional socket connection using localhost (127.0.0.1). Of course this
requires a dedicated C++ .exe that listens for incoming socket connections
from the midlet and responds appropriately. This dedicated C++ .exe could
then load that native DLL. For more information on this framework check out:
http://www.symbian.com/developer/techlib/papers/java_MIDP.asp
"Extending the Reach of MIDlets: how MIDlets can access native
services"
and also
http://www.midpjni.com/
Regards
Martin
"younker" <piyush@geodesiconline.com> wrote in message
news:jxXXLye5FHA.1732@extapps30...
> Hi,
> can anybody please tell me tat how to use a dll which is written in c++ in
a
> MIDlet??
>
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|