Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Symbian C++ <-> Symbian Java

1 replies · 1,373 views · Started 19 March 2004

Hi

I am really new in programming mobile phones with Symbian. And so i have a (for somebody surely stupid) question.

Symbian i heard supported java (MIDP), now i ask me, what is the different between Symbian C++ and Symbian Java.
(Of course other programmin languages)

Can i do the same with both languages ?

For example i will access the serial port from a handy originally from a midlet, but there it is impossible to do that (aside from a few motorola phones). Now i will do it with Symbian and because of my references i will take Java and not C++ for this problem.

Can anybody help me please ??

😞

With C++ you can do almost anything with the phone. There are some API calls that are undocumented so only the manufacturer knows about it.

With Java, you are restricted to what have been included in the virtual machine or other Java classes with the required JNI C++ code behind it. Some implementation also run under a security restriction that does not allow all function calls. Unfortunately, I don't know MIDP, so I don't know what security restrictions apply.