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

Mixing pJava and J2ME?

0 replies · 1,790 views · Started 31 August 2004

Hi

I have written a major program in pJava to my A920. But now I want to expand it to work with the AGPS in my phone. I have done this before but only in Midlets (J2ME).

The problem comes when a shell connect to the GPS. I have to use the class Connector in J2ME, which is not included in pJava (jdk1.1.8).

//System.out.println("Attempting to connect to location://"😉;
loc = (PositionSource) Connector.open("location://"😉;

//System.out.println("Connector opened"😉;
loc.addPositionListener(this);

Is it possible to use a standard Socked instead??? I have tried to with no success. 😡

Another way to go is to mix pJava and J2ME... But I havent found any information if its possible... is it? and how?

Thanks
Andreas