The Source for Java Technology Collaboration

Home » java.net Forums » Phone ME » phoneME Feature software

Thread: JSR 179 Location API on Windows Mobile

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Last Post: Jul 25, 2008 2:31 AM by: crocodilu Threads: [ Previous | Next ]
crocodilu

Posts: 2
JSR 179 Location API on Windows Mobile
Posted: Jul 24, 2008 5:33 AM
 
  Click to reply to this thread Reply

I am trying to run an example using the JSR 179 Location API and I am getting an exception telling me that all providers are out of service.

I am using the following setup:
* MIDP phoneME feature from http://www.cs.kuleuven.be/~davy/phoneme/ deployed
* Windows Mobile 6.1
* HTC Att Tilt / TynTN 2.

Is this a problem specific to my environment? Or the JSR 179 is not implemented yet for Windows Mobile?

In case the JSR is not yet implemented, could you recommend a JVM that provides JSR 179 on my WinMo/ HTC phone?

Thanks, Mircea.

Davy Preuveneers
Re: JSR 179 Location API on Windows Mobile
Posted: Jul 24, 2008 5:42 AM   in response to: crocodilu
  Click to reply to this thread Reply

On Thursday 24 July 2008, crocodilu wrote:
> I am trying to run an example using the JSR 179 Location API and I am
> getting an exception telling me that all providers are out of service.
>
> I am using the following setup:
> * MIDP phoneME feature from http://www.cs.kuleuven.be/~davy/phoneme/
> deployed * Windows Mobile 6.1
> * HTC Att Tilt / TynTN 2.
>
> Is this a problem specific to my environment? Or the JSR 179 is not
> implemented yet for Windows Mobile?
>
> In case the JSR is not yet implemented, could you recommend a JVM that
> provides JSR 179 on my WinMo/ HTC phone?
>
> Thanks, Mircea.
> [Message sent by forum member 'crocodilu' (crocodilu)]
>
> http://forums.java.net/jive/thread.jspa?messageID=289013
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: feature-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: feature-help@phoneme.dev.java.net


Hi Mircea,

JSR 179 is not available in any of the phoneme svn repositories. I found an
implementation in one of the zip files you can download from the phoneME
download page.

https://phoneme.dev.java.net/downloads_page.html

phoneme_feature-mr2-rel-src-b23-08_may-2007.zip

What I did was copy around some configuration files so I could build the JSR
sources again. However, as there are currently no WinCE location providers I
had to use the stubs implementation (see src/common/native/stubs). That is
why you are getting this message.

Regards,
Davy

--
Davy Preuveneers
K.U.Leuven - http://www.kuleuven.be
Department of Computer Science - http://www.cs.kuleuven.be
DistriNet - http://www.cs.kuleuven.be/~distrinet
Celestijnenlaan 200A, B-3001 Heverlee (Leuven), Belgium
Room: 02.152
Phone: (+32) (0)16 327853
E-Mail: Davy.Preuveneers@cs.kuleuven.be
Web: http://www.cs.kuleuven.be/~davy
[signature.asc]


fabriziogiudici

Posts: 17
Re: JSR 179 Location API on Windows Mobile
Posted: Jul 24, 2008 8:35 AM   in response to: crocodilu
 
  Click to reply to this thread Reply

Hello.

I have a pseudo-implementation of JSR 179 inside this project http://windrose.tidalwave.it (repository at http://windrose.dev.java.net). I took the stubs and implemented them over a Connector (in my case bluetooth) because Palm OS has no support for them.

I call it pseudo-implementation because: 1) it's not complete 2) I've not run any compatibility test with original specs and 3) it's in ext.javax.* package rather than javax.* otherwise I couldn't deploy it to Palm OS.

In any case, for 1) I can say that getting the coordinates from a NMEA GPS device works pretty good (tested for two years); for 2) I think there should not be huge errors; for 3) it should be easy to reset the package names with a refactoring IDE.

The project is ASF licensed, with the exception of a class named Float11 which provides missing Math for MIDP which is not mine and generically "free for non commercial stuff".

Let me know if it's helpful.

tgig

Posts: 1
Re: JSR 179 Location API on Windows Mobile
Posted: Jul 24, 2008 8:37 PM   in response to: fabriziogiudici
 
  Click to reply to this thread Reply

I'm running into the same issue, Tilt - no Java VM with jsr-179 support... Would there actually be a way to implement a Connector to access the internal GPS receiver?

Also, your source code has been helpful to look through. Thanks

fabriziogiudici

Posts: 17
Re: JSR 179 Location API on Windows Mobile
Posted: Jul 25, 2008 12:14 AM   in response to: tgig
 
  Click to reply to this thread Reply

It depends on the device. Unfortunately I only know about Palm OS and nothing on other devices; but some users of my application told me that on the iPaq hw6515a my code worked with "comm 7" as the connection string. So it's a matter of the Java implementation on the device whether GPS data are made available or not.

crocodilu

Posts: 2
Re: JSR 179 Location API on Windows Mobile
Posted: Jul 25, 2008 2:31 AM   in response to: crocodilu
 
  Click to reply to this thread Reply

I saw that the phone ME MR3 release has some support for JSR 179. Unfortunately it supports only Windows X86 for the moment. Does anybody know if and when a Windows Mobile port will be available?




 XML java.net RSS