|
|
User login
Feeds |
Inter process Communication
|
|||||
| Sun, 2003-06-08 11:53 | |
|
Hi,
I am implementing a software which has to get some systems related info and also present a good ui to the user. i was planning to implement the function for getting the systems info using symbian c++ and then use a java midlet to present a ui and this midlet can connect to my c++ program via a socket and get the info whenever it is needed. now the problem is: Is this possible??? shud be, i have not read anything contrary to it at least till now. secondly, is there a way i can run my c++ program from the java midlet (i doubt it but still ask) or vice versa. and finally, the software is such that it has to get the info (actually the info is the Cell ID) at regular intervals. can i set up an event to do that rather than polling my c++ program every second, say. and is i set up an event (this has to be done in c++ i guess since is system info) then how do i tell my java midlet. i am fairly new to symbian os and have to implement this soon. any help would be appreciated. thanx a lot, coolral. |
|
Forum posts: 31
The usage of client sockets should be possible. If you manage to do that, you can of course send packets whenever the cell id changes.
There also is an unsupported hack to launch the Java VM from Symbian C++ (search the forums at http://nkn.forum.nokia.com). The launching of C++ programs from J2ME will probably not be possible.
good luck,
zeep
zeep
Forum posts: 55
ok, thanx for the info. but if file access is not allowed in j2me, then how can a java midlet store information for future use? that is in persistent storage. as for sockets, i am thinking of trying that but if there is no way to get persistent storage, then i will have to discard the java module altogether and use c++ instead. much tougher to port then
Forum posts: 31
Client sockets should be available in Nokias J2ME implementation.
Sorry that I can't help any further, never actually did anything in J2ME, just read some docs about it
good luck,
zeep
zeep
Sergiy