Mobile GPS on Sprint
Select messages from
# through # FAQ
[/[Print]\]

MGMaps -> GPS Problems and Suggestions

#1: Mobile GPS on Sprint Author: manekineko PostPosted: Thu Apr 27, 2006 2:46 pm
    —
I am so psyched to discover this app!! Unfortunately, the feature that I'm dying for, the internal GPS support, doesn't seem to be working on my Sprint A900. Nevertheless, at least hope is on the horizon now for a free GPS solution!

The problem seems to be that the application isn't registered as an application that requests access to GPS location. Hence under the phone settings (not the app settings) there is no option to enable access to GPS location for the application. Under the debug window, when it tries, it gets a java.lang.SecurityException for not having authorization to access the restricted API, with descriptions: "Error initializing location services"

Thank you so much for the app and I will be forever in your debt if you can fix this and get it working!!

#2:  Author: Cristian Streng PostPosted: Thu Apr 27, 2006 5:05 pm
    —
Unfortunately, in order to get access to the location API (restricted on your phone), I have to either partner with Sprint or get a $400 Verisign certificate. For now I'll try another path, I'll see if I can use the Sprint GPS API, which is different than the official Java location API but still available on most Sprint phones.

Cristian

#3:  Author: manekineko PostPosted: Thu Apr 27, 2006 5:12 pm
    —
I remember seeing a method for uploading files using QPST that could get around verisign requirements. While not the ideal solution, it's something that I could do to try and help.

Also, I remember seeing on a Sprint developer forum once someone offering to sign using his certificate for others. Maybe that could be an option?

Thanks!

#4:  Author: manekineko PostPosted: Thu Apr 27, 2006 7:12 pm
    —
Using the method described here I uploaded Mobile GMaps succesfully to my phone:
http://www.sprintusers.com/forum/showthread.php?t=91504&highlight=upload

Once the permission bits are set okay, it seems to be able to access the GPS API without problems, no more security exceptions. However, the app seems to be misinterpreting the returned data. It's asking the various map providers for erroneous information. Google Maps just returns 404's, this is what is sent to Yahoo, giving a grey map:
http://png.maps.yimg.com/png?v=2.0.0&l=t8002.maps.dcn.yahoo.com&x=16384&y=0&z=3

I'll look into this again in about two weeks, in the meantime I'm going to be away so I can't mess around with this anymore. Hopefully some of this information I provided will help though!

#5:  Author: Cristian Streng PostPosted: Thu Apr 27, 2006 7:17 pm
    —
I think you are right, the coordinates received from the GPS device are not valid or cannot be interpreted, that's why such URLs are generated.

Cristian

#6:  Author: mikelee PostPosted: Tue May 16, 2006 5:17 am
    —
I noticed that on my A940, the EXIF longitude info is incorrect (off by about 346 degrees 7 minutes) while the latitude info is correct for pictures I take with the camera. Makes me wonder about Sprint and how much they care about GPS.

Anyways, I tried Mobile GMaps and did the QPST route and while it seems to recognize and use the Sprint internal GPS, it gave bad coordinates also. Using QPST again, I was about to get test code to actually give correct GPS coordinates! The test program can be found here:

http://www.shaftek.org/blog/archives/000139.html

Direct link to code:
http://www.shaftek.org/downloads/mobile/GpsTester/GpsTester.java

May be that can be used to get my phone to work with this program.

#7:  Author: Cristian Streng PostPosted: Tue May 16, 2006 5:43 am
    —
Hi Mike,

Thanks for sending the link. Unfortunately the GpsTester uses the com.qualcomm.qjae.gps package, which is not available for download (it's not included with the Sprint PCS emulator as specified here). However, the documentation is public, so in theory I can try "emulating" the functionality. If I manage to do that I'll also need someone to test the implementation, let me know if you would like to beta-test MGMaps when I add Sprint functionality.

Best regards,
Cristian

#8:  Author: mikelee PostPosted: Thu May 25, 2006 3:50 am
    —
I can beta test for you. Let me know what I need to do.

#9:  Author: Cristian Streng PostPosted: Thu May 25, 2006 4:27 am
    —
Well, I'll let you know when I have a functional version for Sprint, probably in a week or so.

Cristian

#10:  Author: manekineko PostPosted: Thu May 25, 2006 5:31 am
    —
Likewise, if there's anything I can do to help I'd be happy to.

#11:  Author: ascopeland PostPosted: Thu May 25, 2006 1:17 pm
    —
Chris, would getting the $400 verisign cert enable you to slove this whole problem? If so, i am sure sprint customers like myself would be more than willing to pitch in $$ to get it...lets say $5-$10 per sprint customer so you can get it working.

It is such an awesome app (beats the one that comes on my phone that u have to pay for hands down) and its a shame it cant work on sprint phones.

#12:  Author: Cristian Streng PostPosted: Thu May 25, 2006 2:34 pm
    —
Well, that verisign certificate would probably make MGMaps work on Sprint phones that do support the JSR-179 API. However, most Sprint phones don't support it, and some of the ones that do support it give incorrect coordinates. The best solution is for me to implement the Sprint GPS API - just that the code for the API is not public so I'll have to "emulate" its functionality in order to compile the application.

Cristian

#13:  Author: GoZO PostPosted: Thu May 25, 2006 8:56 pm
    —
I am up for beta testing with the A900. Let me know

#14: testing with a940 Author: elfranzenLocation: IOWA PostPosted: Sun May 28, 2006 11:24 am
    —
if you need someone to test it with another type of phone I have the a940 and I would be more then happy to beta test for you also.

#15:  Author: bored PostPosted: Sun Jun 11, 2006 5:46 am
    —
Now on a A920, if you go to the application list (under My content)--> Gcalsync, and click on Options-->4.Settings. You see the followins settings.

1. Network--> Always allow
2. Location --> Allow GCalSync to access your GPS location? only ONE OPTION --> Never allow!
3. File Connection --> Allow GCalSync to access your file sysem? only ONE OPTION --> Never allow!
4. Allow GCalSync to access your PIM? only ONE OPTION --> Never allow!
5. Allow GCalSync to access your sprint extensions? only ONE OPTION --> Never allow!



Is there a way to modify this (maybe via Bitpim) and get an "Allow" option in the above list?

#16: GPS problem with SPRINT new FUSIC - LG LX550 Author: RAGordonDFWLocation: Dallas, Texas PostPosted: Tue Jul 04, 2006 4:27 pm
    —
Well, nothing has changed with Sprint!!
I have the latest LG phone from Sprint and while this app works great, the GPS still won't work on the "Where am I" options.

I'm MORE THAN willing to beta-test with this phone if you need me !!!

Great work -- keep it up !

#17:  Author: manekineko PostPosted: Wed Jul 26, 2006 5:02 pm
    —
Is there any way that development of this app for Sprint is going to proceed?

At this point your app is pretty much the only hope for A900 users. Samsung only half implemented the GPS functionality, so you can find yourself but you can't track. None of the 1st party apps seem to have come up with the bright idea of repeatedly querying to find yourself in order to track. Won't be as nice but it'll at least be some semblance of GPS functionality. Samsung has come out on their website and said they won't fix this issue pretty much. So the only hope is on a kind 3rd party app developer to make this work! Wink

#18:  Author: Cristian Streng PostPosted: Fri Jul 28, 2006 11:27 am
    —
Hi,

The GPS features do not work currently on several platforms. This currently includes internal GPS support on Sprint and Motorola phones. Each of them has a non-standard implementation of bluetooth functionality (Motorola actually has two different implementations, one for Axxx and E1000 phones, and the other for iDEN phones), Motorola's implementation is public but Sprint's is not.

In addition, the application needs to be signed with a trusted certificate. That normally means a code-signing certificate issued by Verisign or Thawte or GeoTrust that's available for $200-$500/yr. And that would be for each separate version of MGMaps, if we have one (or two) for Motorola, one for Sprint, and so on.

My idea is to try using a self-signed certificate for the application, that will work if the user can import/add root certificates to the phone. Some phones allow that, some don't - I don't know about Sprint phones, maybe some of you have more info or you can try it.

Regards,
Cristian

#19: help with sprint gps. I have it working on my phone Author: jessesanford PostPosted: Fri Jul 28, 2006 6:35 pm
    —
I was hoping that I could help you with this project working on the support for sprint phones. I have successfully gotten the qpst hack working so that we can bypass the need for verisign certificate. I have also successfully pulled accurate lat and long information off of the phone using the source located here: http://www.shaftek.org/blog/archives/000139.html

I have worked with j2me before and would like to assist in your testing/coding.

I am using a samsung a940 handset.

Please let me know.

#20: Easy way to access sprint qjae GPS API Author: oingo456 PostPosted: Sat Aug 19, 2006 4:41 am
    —
You don't need to have a signed application to access the API! You can enable access by unsigned applications!

1. Register as a developer on developer.sprint.com - IT'S FREE. Don't use hotmail as your email, you won't get the confirmation email.

2. Once you login to the site, you can activate up to 200 phones! Just type in your ESN, and the menu will send a message to your phone to enable the API by unsigned applications.

It would be great if gmaps would support the QJAE gps.

#21: Will This Work Now? Author: swak PostPosted: Mon Aug 21, 2006 9:58 pm
    —
Quote:
You don't need to have a signed application to access the API! You can enable access by unsigned applications!

Cristian hope this is the answer for Sprint?


#22:  Author: Cristian Streng PostPosted: Wed Aug 23, 2006 8:24 am
    —
Hi,

I'll discuss about this with Jesse (jessesanford), but as I understand every user will need to create a developer account on the Sprint website to be able to unlock the application, right?

Cristian

#23: sprint developer handset developer root activation Author: jessesanford PostPosted: Wed Aug 23, 2006 1:56 pm
    —
By using the sprint developer root activation tool located at:
https://developer.sprint.com/searchHandsets.do

Once you have activated the developer root it will allow you to access the restricted api's but you will still need a verisign cert for signing the app. You will not have to get sprint to sign it though.

Currently the only way that I know of getting an app onto a samsung a9xx phone and bypassing the cert is via the qpst hack outlined on sprintusers.com:



First head out to http://www.samsung.com and search for A900 drivers. Download and install them, then reboot (Yes, you must reboot)

Next, download and install QPST if you don't already have it (seriously, just search google for QPST2_7.zip, you WILL find it)

Call Sprint (*2) and ask a rep for the MSL for your phone. They will give it to you with no problems, if you get an ass on the line, thank him/her for their time, hang up and try again.

Once you have your MSL, start up QPST from your start menu and click the "Ports" tab. Click "Add new port" and type in COM3 for both fields. If your phone doesn't come up on that one then try also adding COM4.

Once your phone shows up in the Active Phones field click the "Start Clients" menu and click "EFS Explorer"

Put your MSL in the SPC field and click OK. Let EFS explore traverse your file system.

Now comes the fun part which I'm going to copy and paste from notepad, hopefully it will be nice and complete for you

Browse to /brew/mod/obione/jas/index/ In there you'll find a bunch of .txt files, these files are references to all the custom files on your phone. 1.txt and 2.txt are OnDemand and Sprint Music Store, respectively. The rest are the various demos sprint has put on your phone from the factory.

What you want to do is find the .txt file for what you want to upload. If you want to upload an app grab 8.txt, which is the Weather Channel reference file. If you want to upload a game, grab 3.txt (tetris demo). im or email app - 10.txt. ringer - 12.txt. screen saver - 13.txt.

Once it's on your computer, save it to the next available number for that directory (the largest number in mine is 15.txt, so i would rename 8.txt to 16.txt).

For games, apps and IM/Email apps:
Open up your .txt file and change JARF to 16 and JADF to 16 (in my example). If you don't have a jad for the file I think you can leave the number field blank.
Right click on the jar you want to upload and put the size in bytes of the file into MSIZ
The PERM field is what you would find under settings. there are six menu items when you view settings on a file using your phone, and coincidentally there is a 0 based array of 6 fields in the PERM field with different values:
0 - Network
1 - Location (GPS)
2 - File Connection
3 - PIM
4 - Sprint Extensions
5 - Bluetooth
If you want you can change the download URL (DURL), but it's not that important.
You'll obviously want to change the NAME and VEND fields to their respective values (JAMDAT Bowling, JAMDAT Mobile, Inc. - for JAMDAT bowling)
After you've done that find the .JAD and .JAR you want to upload and rename them to (in my example) 16.jad and 16.jar
Click and drag your .txt file into the /brew/mod/obione/jas/index/ directory, and click and drag your jad and jar files into the /brew/shared/jas/content/ directory




In order to get the app to work on anyones phone you still need to follow standard procedures as outlined in this post:




Thompson - Sprint Technical Support
Rank :User
Posts:568
Overall Rating:0 Subject:
re: motorola midlet signing
Date:
2005-12-05 at 08:26 AM CST
If you MIDlet doesn`t use restricted APIs, you don't have to sign it to install it on the phone. Restricted APIs can only be accessed if the MIDlet is digitally signed. For Sprint, you obtain a Verisign certificate, sign your app, and make sure you have the proper permissions set in the MIDlet's JAD file. Once the app is ready to go, then you submit it to Sprint where it gets signed with a different cert that allows the app to be installed on customer phones. I'm not sure that the Nextel follows the same procedure.




Ultimatley Sprint needs to get a hold of the midlet in order for their customers to download and use it without hassle.

If you want more info search the developer forrums for keywords like:
Signing, developer root, certificate etc.

#24: Any developments? Author: Tom Dalton PostPosted: Thu Sep 14, 2006 10:15 pm
    —
It's exciting to see the development happening with mobile phones. I'm very interested to see this app on my Fusic, if you guys are able to make it work. I have nothing to offer but encouragement, sorry. Wink

#25:  Author: arpruss PostPosted: Wed Oct 11, 2006 2:20 pm
    —
[deleted by author]

Last edited by arpruss on Wed Oct 18, 2006 5:23 pm; edited 1 time in total

#26:  Author: Cristian Streng PostPosted: Wed Oct 11, 2006 2:41 pm
    —
arpruss wrote:
I downloaded the QJAE docs, and made a dummy Gps package following them. (You can get it from http://prussfamily.us/qjae.zip ; you can use it under GPL 2 or later or BSD revised licenses.) This was missing all the static final constants (the docs don't specify their values), but was good enough to compile GpsTester.java (I made some changes, but the original source would have compiled, too). After compiling, I just deleted the dummy classes from my jar file, copied to the phone with BitPim. I do get a dialogue asking whether to enable location access, and then eventually I get a GPS timeout error, so I think it's connecting to the GPS API just fine. That may just be because I don't have Vision, and so the phone can't connect to the location server.


Some things have changed since the last post in this topic... I already have an implementation based on the main qjae implementation, just waiting for someone to be able to test it - as I don't live in the U.S. so I have no access to the Sprint network. Let me know if you would be able to beta-test and I'll send it to you by email or upload it on the server.

Cristian

#27:  Author: arpruss PostPosted: Wed Oct 11, 2006 2:59 pm
    —
Cristian Streng wrote:
Some things have changed since the last post in this topic... I already have an implementation based on the main qjae implementation,


Where did you get the main qjae implementation from? I'd like to get it...

Quote:
just waiting for someone to be able to test it - as I don't live in the U.S. so I have no access to the Sprint network. Let me know if you would be able to beta-test and I'll send it to you by email or upload it on the server.


I may sign up for a Vision trial, so feel free to email it to me. No guarantees I'll be able to get to it in less than a week.

#28: Sprint Author: goesh PostPosted: Wed Oct 11, 2006 9:46 pm
    —
Cristian Streng wrote:
arpruss wrote:
I downloaded the QJAE docs, and made a dummy Gps package following them. (You can get it from http://prussfamily.us/qjae.zip ; you can use it under GPL 2 or later or BSD revised licenses.) This was missing all the static final constants (the docs don't specify their values), but was good enough to compile GpsTester.java (I made some changes, but the original source would have compiled, too). After compiling, I just deleted the dummy classes from my jar file, copied to the phone with BitPim. I do get a dialogue asking whether to enable location access, and then eventually I get a GPS timeout error, so I think it's connecting to the GPS API just fine. That may just be because I don't have Vision, and so the phone can't connect to the location server.


Some things have changed since the last post in this topic... I already have an implementation based on the main qjae implementation, just waiting for someone to be able to test it - as I don't live in the U.S. so I have no access to the Sprint network. Let me know if you would be able to beta-test and I'll send it to you by email or upload it on the server.

Cristian



Cristian...

I am a sprint pcs vision user with an A920 phone, would love to beta test the implementation for this. email me...

#29:  Author: Cristian Streng PostPosted: Thu Oct 12, 2006 7:13 am
    —
Get the alpha version from http://wap.mgmaps.com/mgmapssp.html (open it on your phone)... let me know how it goes. You may need to unlock the application as described by others previously on this thread.

Cristian

#30:  Author: arpruss PostPosted: Thu Oct 12, 2006 12:40 pm
    —
Cristian Streng wrote:
Get the alpha version from http://wap.mgmaps.com/mgmapssp.html (open it on your phone)... let me know how it goes. You may need to unlock the application as described by others previously on this thread.


If you unlock by editing the __access.txt file as described in my post, you won't need to edit the index files. In fact, your phone should edit the index files for you in accordance with your answers to the qeustion whether to enable location access.

For a simpler test of just the GPS code, you might also try editing the __access.txt file and then trying GpsTester (http://www.shaftek.org/projects.shtml in the New Download section). Make sure you're outdoors (just to be sure). Run GpsTester, select "Start LBS". You should be asked whether to enable location services. Agree. Then select "Get Location". You should get a scrolling "No error". At this point GpsTester is downloading ephemeris data and waiting for a fix. If you wait (it may take a couple of minutes especially if it doesn't work), it'll change either into your position or into a GPS error (I get "GPS Error: Timeout", but I don't have network access which is probably necessary).

In case anybody is interested, I've update the dummy QJAE package to be complete: http://prussfamily.us/qjae.zip

#31:  Author: Cristian Streng PostPosted: Thu Oct 12, 2006 12:46 pm
    —
arpruss wrote:
If you unlock by editing the __access.txt file as described in my post, you won't need to edit the index files. In fact, your phone should edit the index files for you in accordance with your answers to the qeustion whether to enable location access.

For a simpler test of just the GPS code, you might also try editing the __access.txt file and then trying GpsTester.

Great, and if that works - can anyone do the same with the alpha version of MGMaps at http://wap.mgmaps.com/mgmapssp.html?

#32:  Author: Cristian Streng PostPosted: Thu Oct 12, 2006 1:00 pm
    —
And one other thing - even if it doesn't work, please look in Help/Debug and let me know if you find any GPS-related messages there (like "GPS: Starting gps service of type: ...")

Cristian

#33:  Author: goesh PostPosted: Thu Oct 12, 2006 7:13 pm
    —
Cristian Streng wrote:
And one other thing - even if it doesn't work, please look in Help/Debug and let me know if you find any GPS-related messages there (like "GPS: Starting gps service of type: ...")

Cristian


Installed the alpha version. First start I enabled GPS and restarted. Now the program will not launch. While the top of the screen reads 'Application Loading, please wait...' an error appears at the bottom titled 'Unhandled Exception' and displaying the text 'NullPointerException'.

#34:  Author: goesh PostPosted: Thu Oct 12, 2006 7:14 pm
    —
goesh wrote:
Cristian Streng wrote:
And one other thing - even if it doesn't work, please look in Help/Debug and let me know if you find any GPS-related messages there (like "GPS: Starting gps service of type: ...")

Cristian


Installed the alpha version. First start I enabled GPS and restarted. Now the program will not launch. While the top of the screen reads 'Application Loading, please wait...' an error appears at the bottom titled 'Unhandled Exception' and displaying the text 'NullPointerException'.


About 3 seconds after displaying the error, the application closes and I get no opporunity to view any menu option, including the debug.

#35:  Author: goesh PostPosted: Thu Oct 12, 2006 7:18 pm
    —
Also, I tried the following:

arpruss wrote:

(1) GPS access is easy. Use BitPim to download /Brew/__access.txt (I think that's the file--it's got some pretty obvious name and is in the /Brew directory). Save a backup of it. At the end there is a list of what signed and unsigned apps are permitted to do. Add an entry to the section for unsigned apps (at the very end) that says "blanket(oneshot): gps_api". That's all!


however, on my A920, the file isnt /Brew/__access.txt, it is /brew/mod/obione/_policy.txt

I am going to replace the original _policy.txt to see if the test results the same.

#36:  Author: goesh PostPosted: Thu Oct 12, 2006 7:24 pm
    —
arpruss wrote:

(1) GPS access is easy. Use BitPim to download /Brew/__access.txt (I think that's the file--it's got some pretty obvious name and is in the /Brew directory). Save a backup of it. At the end there is a list of what signed and unsigned apps are permitted to do. Add an entry to the section for unsigned apps (at the very end) that says "blanket(oneshot): gps_api". That's all!



I also tried testing the GpsTester.jar application as suggested by arpruss, however, with the suggested change of my _policy.txt file, I dont get any errors other than a GPS Error: Timeout. I do have vision and had the phone outdoors with clear line of sight to the sky.


Last edited by goesh on Thu Oct 12, 2006 7:41 pm; edited 1 time in total

#37:  Author: Cristian Streng PostPosted: Thu Oct 12, 2006 7:41 pm
    —
I have another alpha version available at http://wap.mgmaps.com/alpha3.html. I hope you'll be able to at least start this one. Anyway, can you try GpsTester first? - http://www.shaftek.org/projects.shtml in the New Download section

Cristian

#38:  Author: goesh PostPosted: Thu Oct 12, 2006 7:42 pm
    —
Cristian Streng wrote:
I have another alpha version available at http://wap.mgmaps.com/alpha3.html. I hope you'll be able to at least start this one.




will try right now...



Cristian Streng wrote:
Anyway, can you try GpsTester first? - http://www.shaftek.org/projects.shtml in the New Download section



Smile

#39:  Author: arpruss PostPosted: Thu Oct 12, 2006 7:54 pm
    —
goesh wrote:
arpruss wrote:

(1) GPS access is easy. Use BitPim to download /Brew/__access.txt (I think that's the file--it's got some pretty obvious name and is in the /Brew directory). Save a backup of it. At the end there is a list of what signed and unsigned apps are permitted to do. Add an entry to the section for unsigned apps (at the very end) that says "blanket(oneshot): gps_api". That's all!


I also tried testing the GpsTester.jar application as suggested by arpruss, however, with the suggested change of my _policy.txt file, I dont get any errors other than a GPS Error: Timeout. I do have vision and had the phone outdoors with clear line of sight to the sky.


I suppose you did get a query whether to enable GPS?

I am starting to suspect, based on some stuff I read, that something special needs to be done to gain access to Sprint's location server. I don't know if the server has some way of checking whether the app is signed, but that might be one issue.

I wonder if one could run one's own location server?

#40:  Author: goesh PostPosted: Thu Oct 12, 2006 7:58 pm
    —
Cristian Streng wrote:
I have another alpha version available at http://wap.mgmaps.com/alpha3.html. I hope you'll be able to at least start this one. Anyway, can you try GpsTester first? - http://www.shaftek.org/projects.shtml in the New Download section

Cristian


This version does launch, but I get no location data.

Help -> DEBUG:

EOF

DEBUG: Starting MGMaps
DEBUG: GPS: Starting gps service of type: GPSInternal 1160682491.933:
DEBUG: GPS: gps service settings: 1160682493.592:
DEBUG: optimization type=1 1160682493.593:
DEBUG: qos=255 1160682493.594:
DEBUG: server type=0 1160682493.594:
DEBUG: An exception has occured! Exception class java.lang.illegalArgumentException, message: Invalid number of fixes, description: Error initializing Qualcomm location services 1160682493.595:

.....NUMEROUS MAP DOWNLOAD MESSAGES FROM GOOGLE......

DEBUG: An exception has occured! Exception class java.lang.illegalArgumentException, message: Invalid number of fixes, description: Error initializing Qualcomm location services 1160682554.115
DEBUG: An exception has occured! Exception class java.io.IOException, message: null, desctiption: Error downloading 1160682493.596

BOF

#41:  Author: arpruss PostPosted: Thu Oct 12, 2006 8:31 pm
    —
Here's a post by Sam Altman on Sprint's developer site: "Here's the caveat: the default PDE address is blank. It's just not there. Write a test program and check it out. Without that, you can't get a fix. It would seem that you could get an unassisted fix without any help from a PDE, but somehow they've blocked that out. Theoretically, and so I've heard from a few other people, if you put the right PDE IP addr and port in, it will work. I finally tracked one down and will test it when I return late next week."

That was in 2005. No news since.

#42:  Author: arpruss PostPosted: Thu Oct 12, 2006 8:41 pm
    —
And other post says that there are costs for doing GPS fixes, and these need to be discussed with Sprint by the developer. And only Sprint partners are allowed to use location services. It sounds like they've decided to lock things by locking the access to the PDE server.

#43:  Author: Cristian Streng PostPosted: Fri Oct 13, 2006 5:00 am
    —
goesh wrote:
Cristian Streng wrote:
I have another alpha version available at http://wap.mgmaps.com/alpha3.html. I hope you'll be able to at least start this one. Anyway, can you try GpsTester first? - http://www.shaftek.org/projects.shtml in the New Download section

Cristian

This version does launch, but I get no location data.
DEBUG: An exception has occured! Exception class java.lang.illegalArgumentException, message: Invalid number of fixes,


This sounds much better, I requested a maximum number of 9999999 GPS fixes which seems to be a bit too much... let's try with 65000 - I've modified the version at http://wap.mgmaps.com/alpha3.html, let me know if there's any change now.

Cristian

#44:  Author: Cristian Streng PostPosted: Fri Oct 13, 2006 5:03 am
    —
arpruss wrote:
And other post says that there are costs for doing GPS fixes, and these need to be discussed with Sprint by the developer. And only Sprint partners are allowed to use location services. It sounds like they've decided to lock things by locking the access to the PDE server.

If this is true there's no chance in making MGMaps work Sad... But let's not assume the worst.

#45:  Author: goesh PostPosted: Fri Oct 13, 2006 5:15 am
    —
Still no location data, however, the only error now appearing in debug is a gps timeout...Thanks buddy

#46:  Author: arpruss PostPosted: Fri Oct 13, 2006 11:20 am
    —
I think the only hope is either to obtain the IP address of Sprint's server, but accessing Sprint's server without Sprint's permission is probably a legal and moral problem, or else to reverse-engineer (hard without violating an EULA, but maybe it could be done in a place where the EULA is not binding) how the server works and make one's own.

I notice that Trimble Outdoors Silver (http://www.trimbleoutdoors.com/Products.aspx) costs only a one-time $20 fee, so it doesn't seem that Sprint necessarily charges a per-use fee for use of their server.

#47:  Author: Cristian Streng PostPosted: Fri Oct 13, 2006 11:56 am
    —
We'll see about this... I'm still not convinced that I need to put in the server IP in the application, maybe we can find a workaround. There's an earlier post in this topic - http://forum.mgmaps.com/viewtopic.php?p=270#270 - that guy says he was able to install GpsTester AND get valid coordinates.

There are also some (more complicated) instructions to unlock the program at the beginning of this thread, they direct to this page. I think whoever tests MGMaps should first try to install and use GpsTester to get valid coords, then move on to MGMaps.

#48:  Author: Cristian Streng PostPosted: Fri Oct 13, 2006 11:59 am
    —
Cristian Streng wrote:
We'll see about this... I'm still not convinced that I need to put in the server IP in the application, maybe we can find a workaround. There's an earlier post in this topic - http://forum.mgmaps.com/viewtopic.php?p=270#270 - that guy says he was able to install GpsTester AND get valid coordinates.

There are also some (more complicated) instructions to unlock the program at the beginning of this thread, they direct to this page. I think whoever tests MGMaps should first try to install and use GpsTester to get valid coords, then move on to MGMaps.

Oh, and another thing... maybe you need to wait a bit longer to get the first coordinates. Try to start MGMaps, start the GPS code (have GPS Device configured to Internal) then leave the app running for 10-15 minutes - maybe it helps. Same with GpsTester.

#49:  Author: arpruss PostPosted: Fri Oct 13, 2006 12:13 pm
    —
The user who got it working was using an A900. Maybe it's got a different chipset?

Maybe the following trick would work: First run an approved GPS app, like Trimble Silver, in order to get the phone to download the data from the server, and then run mgmaps? (The data is supposed to be valid for an hour before a re-download is needed, and I don't know if it persists between apps.) But I don't want to have to buy an approved GPS app to try this out.

It occurs to me that there could conceivably be problems with editing __policy.txt vis-a-vis the big bad DMCA. On the other hand, maybe something that can be edited by changing a plain-text file doesn't count as an effective access restriction? And Sprint says (http://developer.sprint.com/getDocument.do?docId=85911) that the point of their access restrictions is to protect customer security, so this seems just like changing Internet Explorer security settings. But who knows; I am not a lawyer.

#50:  Author: goesh PostPosted: Fri Oct 13, 2006 1:02 pm
    —
Cristian Streng wrote:
Cristian Streng wrote:
We'll see about this... I'm still not convinced that I need to put in the server IP in the application, maybe we can find a workaround. There's an earlier post in this topic - http://forum.mgmaps.com/viewtopic.php?p=270#270 - that guy says he was able to install GpsTester AND get valid coordinates.

There are also some (more complicated) instructions to unlock the program at the beginning of this thread, they direct to this page. I think whoever tests MGMaps should first try to install and use GpsTester to get valid coords, then move on to MGMaps.

Oh, and another thing... maybe you need to wait a bit longer to get the first coordinates. Try to start MGMaps, start the GPS code (have GPS Device configured to Internal) then leave the app running for 10-15 minutes - maybe it helps. Same with GpsTester.



I have followed the instructions for editing the index files on the phone, I got nothing working doing it that way, in fact, Iwouldnt even get a GPS timeout error. arpruss' instructions about editing the _policy.txt file seems to be the most promising, for the A920 I have anyhow. As arpruss aluded, it did update the index files acordingly.

Also, just as an FYI, about a month ago I installed AllSportGPS for location data, this program does successfully access the GPS data. The only downside is that it does cost $6.99/month. However, the GPS data is very accurate and works very well. I took arpruss' suggestion about getting a fix from the paid program then quickly switching over to either GpsTester.jar or MGMaps, same result, GPS Timeout.

#51:  Author: Cristian Streng PostPosted: Fri Oct 13, 2006 3:36 pm
    —
goesh wrote:
I have followed the instructions for editing the index files on the phone, I got nothing working doing it that way, in fact, Iwouldnt even get a GPS timeout error. arpruss' instructions about editing the _policy.txt file seems to be the most promising, for the A920 I have anyhow. As arpruss aluded, it did update the index files acordingly.

Also, just as an FYI, about a month ago I installed AllSportGPS for location data, this program does successfully access the GPS data. The only downside is that it does cost $6.99/month. However, the GPS data is very accurate and works very well. I took arpruss' suggestion about getting a fix from the paid program then quickly switching over to either GpsTester.jar or MGMaps, same result, GPS Timeout.

I see... well, if you're willing to share the AllSportGPS application with me and if you have access to its jad/jar files, send me a PM and I'll have a look over it. I can try to reverse engineer it and see how it uses the GPS. You may be breaking the licensing terms for that application by sending it to me, so feel free to ignore this message if you wish. Smile

Cristian

#52:  Author: arpruss PostPosted: Fri Oct 13, 2006 3:51 pm
    —
I tried a modified GpsTester set to connect to an ip address and port number on my server. I then listened for a connection on my server with nc -v, but nothing happened. That may just be because I don't have vision (but vision doesn't seem to be required for GPS).

#53:  Author: Cristian Streng PostPosted: Fri Oct 13, 2006 3:56 pm
    —
arpruss wrote:
I tried a modified GpsTester set to connect to an ip address and port number on my server. I then listened for a connection on my server with nc -v, but nothing happened. That may just be because I don't have vision (but vision doesn't seem to be required for GPS).

Did you try TCP? Maybe it uses UDP instead... or maybe it uses TCP but the Sprint server filters the packets (if that is the case, set GpsTester to connect to TCP port 80 on your server, it will just be a bit more difficult to filter the GpsTester connection from regular web traffic).

#54:  Author: arpruss PostPosted: Fri Oct 13, 2006 4:23 pm
    —
Cristian Streng wrote:
arpruss wrote:
I tried a modified GpsTester set to connect to an ip address and port number on my server. I then listened for a connection on my server with nc -v, but nothing happened. That may just be because I don't have vision (but vision doesn't seem to be required for GPS).

Did you try TCP? Maybe it uses UDP instead... or maybe it uses TCP but the Sprint server filters the packets (if that is the case, set GpsTester to connect to TCP port 80 on your server, it will just be a bit more difficult to filter the GpsTester connection from regular web traffic).


It was set to TCP (you can select). I may try port 80 later.

#55:  Author: arpruss PostPosted: Sat Oct 14, 2006 1:28 pm
    —
Cristian Streng wrote:
We'll see about this... I'm still not convinced that I need to put in the server IP in the application, maybe we can find a workaround. There's an earlier post in this topic - http://forum.mgmaps.com/viewtopic.php?p=270#270 - that guy says he was able to install GpsTester AND get valid coordinates.


Looking at Sprint dev forums, it looks like in mid January Sprint made some changes that restricted access to location data, and thereby they locked out GpsTester. What's interesting is that that post was made several months after that. But maybe that poster was describing something done before mid-January... Can you contact that poster to see if GpsTester is STILL working?

#56:  Author: errr0r PostPosted: Sat Oct 14, 2006 4:24 pm
    —
Arpruss, talk to me on AIM. We will work on this together.

AIM: pc2pctransfer

Time: sometime tonight 9pm-ish EST.

#57:  Author: arpruss PostPosted: Sat Oct 14, 2006 4:43 pm
    —
errr0r wrote:
Arpruss, talk to me on AIM. We will work on this together.

AIM: pc2pctransfer

Time: sometime tonight 9pm-ish EST.


I don't do IM. Sad

Email me: arpruss at gmail dot com.

#58:  Author: errr0r PostPosted: Sat Oct 14, 2006 7:36 pm
    —
Email sent. Wink

but I think we would benefit better from a real-time messaging protocol. IRC, Gtalk, or something.

#59:  Author: arpruss PostPosted: Sun Oct 15, 2006 6:59 pm
    —
Interestingly, the PDE protocol looks like it's fully documented:
http://www.3gpp2.org/Public_html/specs/C.S0022-0_v3.0_121203.pdf

#60:  Author: Cristian Streng PostPosted: Tue Oct 17, 2006 6:48 am
    —
arpruss wrote:
Looking at Sprint dev forums, it looks like in mid January Sprint made some changes that restricted access to location data, and thereby they locked out GpsTester. What's interesting is that that post was made several months after that. But maybe that poster was describing something done before mid-January... Can you contact that poster to see if GpsTester is STILL working?

I did contact the poster, and GpsTester is still working for him! He used QPST to enable GPS access in the program... you probably know what that means more than I do Wink He also said he got a null-pointer exception when trying MGMaps, but then again he may have tried the old version that crashed for others too. I've invited him to post another message here.

Cristian

#61:  Author: arpruss PostPosted: Tue Oct 17, 2006 1:19 pm
    —
Can you ask him to choose the "info" menu option in GpsTester, and see what protocol, IP and port show up? Also, can you ask him to email me, and I'll send him a modified version of GpsTester, and try to figure things out.

Thanks!
Alex

#62:  Author: arpruss PostPosted: Tue Oct 17, 2006 11:24 pm
    —
There may also be a problem with doing the unlock given that Sprint's TOS prohibit getting around Sprint's restrictions. (One might argue it's Samsung's restrictions, but Samsung presumably put them in on behalf of Sprint.) So I'm not going to be exploring this further, unless Sprint gives me permission.

#63:  Author: arpruss PostPosted: Wed Oct 18, 2006 5:24 pm
    —
And it looks like Sprint is itself having to pay for the AGPS access to some third party, so they're certainly not going to let us tap in for free.

#64:  Author: mikelee PostPosted: Thu Oct 19, 2006 4:55 am
    —
I did get the newer version of Mobile GMaps and it does work with internal GPS!

I have the Samsung A940. GpsTester still works for me. I still have to enable GPS access for Mobile GMaps and GpsTester using QPST.


I use the info menu option in GpsTester and it says:
Sever Type = Default,
Protocol = TCP/IP

#65:  Author: Cristian Streng PostPosted: Thu Oct 19, 2006 6:04 am
    —
This is great news! Does it work fine (correct coords, and so on...)?

Cristian

#66:  Author: mikelee PostPosted: Sun Oct 22, 2006 7:54 am
    —
It seems to give correct coordinates but it doesn't stay correct. If I have it set to move the map with what GPS coordinates it gets, it'll be correct for one moment and then it shifts to many blocks off. I'll have to observe it more to see what's happening. I'll mess with the intervals to see if that makes a difference. Maybe I have it set to not wait long enough. I've noticed that my phone takes a while to get GPS coordinates and sometimes it's not correct. This happens with commercial programs that use the internal GPS.

#67:  Author: vinod162 PostPosted: Thu Oct 26, 2006 7:33 am
    —
With the A900M, I get a message

GPS position not yet determined. Make sure .... (blah blah)

I used the alpha 3 version. (and allowed mgmaps to access the GPS through QPST).

Anyone else using a Samsung A900M phone?

#68:  Author: iancarlin PostPosted: Wed Nov 01, 2006 8:30 am
    —
Can anyone tell me how to set the permissions on the application TXT files in order to enable the GPS? Or better yet, post the 8.txt?

#69:  Author: mikelee PostPosted: Thu Nov 02, 2006 5:12 am
    —
Here's mine (notice the 1=1 in the PERM: line):

JARF: 17
JADF: 17
MSIZ: 72571
RSIZ: 32768
DOMA: 0
PERM: 0=2,1=1,2=0,3=0,4=0
MISC: 0
RUNC:
SGLE: 0

ROLE: 0

TRIA: 0
DLCK: 0
ALOW: 0
CATE: 8
STAT: 0
COID:
DURL: http://wap.mgmaps.com/mgmaps.jad
NAME: Mobile GMaps
VEND: Cristian Streng
TIME: 1146835334
ICON:
ISIZ: 0
FLCK: 1

#70: Finally Got GpsTester working on my Samsung A920 phone Author: sakha PostPosted: Fri Nov 10, 2006 11:15 pm
    —
mikelee wrote:
It seems to give correct coordinates but it doesn't stay correct. If I have it set to move the map with what GPS coordinates it gets, it'll be correct for one moment and then it shifts to many blocks off. I'll have to observe it more to see what's happening. I'll mess with the intervals to see if that makes a difference. Maybe I have it set to not wait long enough. I've noticed that my phone takes a while to get GPS coordinates and sometimes it's not correct. This happens with commercial programs that use the internal GPS.


Seems like the Custom IP Address and Port are required for the correct operation of Gps, no need to sign the jar/jad file, I believe you need to still enable the Developer Root on the phone though.

Here is a latest copy of GpsTester I modified to set the correct custom server ip address and port. You need to do start LBS, setcustom and then get location menu in that order. The Info screen will show the correct custom server ip and port as below :
ServerType =
Custom, Address =
1142693681:5017,
Protocol = TCP/IP

If the info screen shows the default server then GPS wont work on atleast the A920 phone, the A940 might be different it might have a Autonomous Gps Chip.
Anyways I had the Jad/Jar on my website
http://sakha123.no-ip.org/GpsTest.jad

Please try it out on other phones and let me know.

Cristian,
Can you possibly give me the source code for mgmaps, or atleast the alpha version code, that way i can modify it and see if it works for me.
If nothing else atleast give me the source for the Sprint GPS class that you have and i will modify it so that it works correctly ans send it back to you.
Thx
-Sachin
P.S. I think we probably need to get the GPS fix a few times like maybe 3 times or so and then get an average, because when i did get the lat/lon info it was off by 1/4 mile sometimes.

#71:  Author: arpruss PostPosted: Sat Nov 11, 2006 4:48 am
    —
Where did you get the IP address?

#72:  Author: Cristian Streng PostPosted: Sat Nov 11, 2006 3:21 pm
    —
arpruss wrote:
Where did you get the IP address?

I have de-compiled the GpsTest.jar archive from sakha (it was not obfuscated), and got:
Code:
  if(command == setCustomCommand)
  {
    short port = 5017;
    Gps.setTransportProtocol(0);
    Gps.setServerType(1);
    Gps.setCustomServerConfig(convertIpAddressToInt("68.28.31.49"), port);
  }


I googled 68.28.31.49, and I ended up here. I guess it explains how to use that Universal PST software to get or change various settings, including this IP address.

Now my questions:

1. Are the IP/port fixed? common for all phones? are they different for each phone? The port in that article linked above is different from the port sakha gave. If that's the case I should probably leave them configurable in the application.

2. As I understand, a single call to Gps.setCustomServerConfig should be enough, right? My code currently looks like this (the update interval is set to 2000, I hope it's in milliseconds Smile ):
Code:
    try {
      Gps.startSession(this);
      Logger.debug("GPSQJAE started");

      // one-shot
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31); // max 31 seconds for a fix
      Gps.requestPosition(Gps.SVC_TYPE_ALL);
     
      // tracking
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31);
      Gps.requestPositionTrack(Gps.SVC_TYPE_ALL, 65500, (UPDATE_INTERVAL<<1)/1000, Gps.TRACK_NETWORK);
    }
    catch (Exception ex) {
      Logger.handle(ex, false, "Error initializing Qualcomm location services");
    }

and then:
Code:
  public void handleEvent(GpsEvent gpsevent)
  {
    if (gpsevent instanceof GpsPositionEvent) {
      GpsPositionEvent ev = (GpsPositionEvent) gpsevent;
      updatedPos = new GPoint(ev.getLongitude() * 10, ev.getLatitude() * 10);
      Logger.debug("GPS: Lat: " + updatedPos.y + " / Long: " + updatedPos.x);
    }
    else if (gpsevent instanceof GpsErrorEvent) {
      GpsErrorEvent ev = (GpsErrorEvent) gpsevent;
      Logger.error("GPS: Error: " + ev.getMessage());
    }
  }

The rest of the code does not use any QJAE specific functionality, it just uses the value in updatedPos whenever it is set by handleEvent.

sakha wrote:
P.S. I think we probably need to get the GPS fix a few times like maybe 3 times or so and then get an average, because when i did get the lat/lon info it was off by 1/4 mile sometimes.

I think this is not a solution, it probably has to do with the fact that the Sprint phone is not a very accurate GPS receiver. It could also have to do with the optimization type or QoS set.

Cristian

#73:  Author: arpruss PostPosted: Sat Nov 11, 2006 5:46 pm
    —
I sent Sprint a query whether it's OK to use this address.

By the way, someone sent me the same IP address by email, with a different port number. And the port number on the site that you get googling the IP address is different again.

I worry a bit that maybe Sprint assigns different port numbers to different "official" developers and then tracks usage, so by using this we might be causing charges to some other developer.

#74:  Author: Cristian Streng PostPosted: Sat Nov 11, 2006 6:09 pm
    —
I don't think the port is related to the developer (developer of what? isn't that some phone setting? is it separately configurable for each app?). I'm more inclined to believe it has to do with the actual location of the phone owner, for load balancing reasons - something like a zip code...

#75:  Author: arpruss PostPosted: Sat Nov 11, 2006 10:16 pm
    —
Cristian Streng wrote:
I don't think the port is related to the developer (developer of what? isn't that some phone setting? is it separately configurable for each app?). I'm more inclined to believe it has to do with the actual location of the phone owner, for load balancing reasons - something like a zip code...


In new Sprint phones, the values are not set at all, and must be set by the developer of a GPS enabled app. So I don't know if it has to do with the phone or what. I don't know where the values that were posted here were originally extracted from--maybe from some app? (But I may be completely confused.)

#76: To celar some doubts and possible confusion Author: sakha PostPosted: Sun Nov 12, 2006 5:05 am
    —
arpruss wrote:
Cristian Streng wrote:
I don't think the port is related to the developer (developer of what? isn't that some phone setting? is it separately configurable for each app?). I'm more inclined to believe it has to do with the actual location of the phone owner, for load balancing reasons - something like a zip code...


In new Sprint phones, the values are not set at all, and must be set by the developer of a GPS enabled app. So I don't know if it has to do with the phone or what. I don't know where the values that were posted here were originally extracted from--maybe from some app? (But I may be completely confused.)


The values are not set in the sprint phones, the IP address and port I got are from the standard HandMark application called "On Demand" which came bundled with my phone a samsung A920, I guess sprint would have bundled it. As far as charging for the application goes I dont think we would be generating per use charges for someone like a developer or a company since, a part of the "On Demand" application viz Weather is completely free and does not involve any fees. This weather sub-application has a way to get local weather using GPS called "My Location" I have tested it and it gets the correct location. Now if HandMark does not charge the customers anything for this info then they in turn would not be likely to pay sprint the fees for getting a GPS fix using this application.

As far as getting an average of 3 fixes solution that i suggested earlier, i might be completely wrong it might have something to do with the other parameters like QoS etc.

Cristian if you need any help with the code please let me know, you could possibly send me the code for the class which does the Sprint specific GPS portion and I can change the code to make it work correctly. I am pretty sure that you would be capable of doing that yourself, but I was just trying to help. Also the setTransportProtocol and the setServerType calls are also important.
Hope this helps.
Also if you manage to create a new jad/jar combo with these changes feel free to send it to me and I can test it for you and let you know that it works.
Thx
-Sachin

#77:  Author: sakha PostPosted: Sun Nov 12, 2006 5:58 am
    —
Cristian Streng wrote:
arpruss wrote:
Where did you get the IP address?

I have de-compiled the GpsTest.jar archive from sakha (it was not obfuscated), and got:
Code:
  if(command == setCustomCommand)
  {
    short port = 5017;
    Gps.setTransportProtocol(0);
    Gps.setServerType(1);
    Gps.setCustomServerConfig(convertIpAddressToInt("68.28.31.49"), port);
  }


I googled 68.28.31.49, and I ended up here. I guess it explains how to use that Universal PST software to get or change various settings, including this IP address.

Now my questions:

1. Are the IP/port fixed? common for all phones? are they different for each phone? The port in that article linked above is different from the port sakha gave. If that's the case I should probably leave them configurable in the application.

2. As I understand, a single call to Gps.setCustomServerConfig should be enough, right? My code currently looks like this (the update interval is set to 2000, I hope it's in milliseconds Smile ):
Code:
    try {
      Gps.startSession(this);
      Logger.debug("GPSQJAE started");

      // one-shot
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31); // max 31 seconds for a fix
      Gps.requestPosition(Gps.SVC_TYPE_ALL);
     
      // tracking
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31);
      Gps.requestPositionTrack(Gps.SVC_TYPE_ALL, 65500, (UPDATE_INTERVAL<<1)/1000, Gps.TRACK_NETWORK);
    }
    catch (Exception ex) {
      Logger.handle(ex, false, "Error initializing Qualcomm location services");
    }

and then:
Code:
  public void handleEvent(GpsEvent gpsevent)
  {
    if (gpsevent instanceof GpsPositionEvent) {
      GpsPositionEvent ev = (GpsPositionEvent) gpsevent;
      updatedPos = new GPoint(ev.getLongitude() * 10, ev.getLatitude() * 10);
      Logger.debug("GPS: Lat: " + updatedPos.y + " / Long: " + updatedPos.x);
    }
    else if (gpsevent instanceof GpsErrorEvent) {
      GpsErrorEvent ev = (GpsErrorEvent) gpsevent;
      Logger.error("GPS: Error: " + ev.getMessage());
    }
  }

The rest of the code does not use any QJAE specific functionality, it just uses the value in updatedPos whenever it is set by handleEvent.

sakha wrote:
P.S. I think we probably need to get the GPS fix a few times like maybe 3 times or so and then get an average, because when i did get the lat/lon info it was off by 1/4 mile sometimes.

I think this is not a solution, it probably has to do with the fact that the Sprint phone is not a very accurate GPS receiver. It could also have to do with the optimization type or QoS set.

Cristian


Cristian,
I will try to answer your questions, then again I am no expert.

Ans 1. The custom server IP and port are fixed, they will not be different for different phones, this is the IP and port on which Sprint runs a PDE server ( or whatever acronym it is called with), this server helps in determining the GPS position for the phone, or this the "Assisted" part of the aGPS( Assisted GPS) chipset that the phone has.

Ans 2. Yes only a single Gps.setCustomServerConfig is enough, although a prior call to Gps.setServerTupe(1) is important.

Hope this helps.
-Sachin

#78:  Author: sakha PostPosted: Sun Nov 12, 2006 6:04 am
    —
arpruss wrote:
I sent Sprint a query whether it's OK to use this address.

By the way, someone sent me the same IP address by email, with a different port number. And the port number on the site that you get googling the IP address is different again.

I worry a bit that maybe Sprint assigns different port numbers to different "official" developers and then tracks usage, so by using this we might be causing charges to some other developer.


Hi Alex,
Did you get a reply from Sprint yet about whether it is OK to use that IP address and port?

Also if they come back and say that it is NOT OK, i wonder how hard would it be write our own PDE server and point to that one, I remember reading somewhere that the PDE server is quite well documented. The biggest challenge in understanding the PDE server is whether it just does some number crunching to come up with the coordinates using some algorithm or does it have to use the knowledge about existing cell towers in some fashion.
Thx
-Sachin

#79:  Author: sakha PostPosted: Sun Nov 12, 2006 6:57 am
    —
arpruss wrote:
Interestingly, the PDE protocol looks like it's fully documented:
http://www.3gpp2.org/Public_html/specs/C.S0022-0_v3.0_121203.pdf



Here is the hexdump of the data that the phone sent to a spoof server i was running on port 5017 on my home machine if anyone is interested in it and can make any sense from it.

$ hexdump.exe -d PDE_DATA.dat
0000000 08252 12336 12336 12336 12336 12320 08249 12336
0000010 12832 08247 12598 24864 08243 25656 14624 08249
0000020 26162 14624 08246 13619 13344 08243 13153 12320
0000030 08240 12850 12320 08244 12592 08992 11808 10030
0000040 11873 11822 11823 17205 11822 11810 02606 08252
0000050 12336 12336 12336 12337 26144 08240 13616 12320
0000060 08240 12849 12320 08245 12336 12320 08244 12336
0000070 26144 08240 14385 12576 08245 12851 14368 08293
0000080 13879 13856 08291 26164 08992 11808 11822 11822
0000090 11822 11822 11822 11826 27766 02639 08252 12336
00000a0 12336 12336 12338 14368 08294 14384 13088 08242
00000b0 12848 13088 08294 12338 24864 08293 12336 12320
00000c0 08248 12342 12320 08249 26169 12320 08240 14128
00000d0 25120 08247 25954 08992 11808 12846 16174 11808
00000e0 11822 11872 11822 11822 02606 08252 12336 12336
00000f0 12336 12339 25888 08244 25441 24864 08244 25145
0000100 25120 08242 25187 13088 08242 26211 14112 08289
0000110 13157 12832 08289 25956 26144 08245 25655 14624
0000120 08243 26161 08992 11808 11822 11822 12846 31278
0000130 10798 11822 11901 02606 08252 12336 12336 12336
0000140 12340 25888 08290 25397 25632 08242 12387 12320
0000150 08247 25393 26144 08249 12344 12576 08291 25910
0000160 13856 08291 12850 24864 08293 25442 08224 08224
0000170 08224 08992 11808 11868 11822 11822 11822 27758
0000180 11810 02606
0000184

Thx
-Sachin

#80:  Author: arpruss PostPosted: Sun Nov 12, 2006 2:45 pm
    —
sakha wrote:
arpruss wrote:
Interestingly, the PDE protocol looks like it's fully documented:
http://www.3gpp2.org/Public_html/specs/C.S0022-0_v3.0_121203.pdf



Here is the hexdump of the data that the phone sent to a spoof server i was running on port 5017 on my home machine if anyone is interested in it and can make any sense from it.

$ hexdump.exe -d PDE_DATA.dat


Could you post a hex dump instead of an octal dump? (-t x1) Thanks a lot!

Alex

#81:  Author: Cristian Streng PostPosted: Sun Nov 12, 2006 8:44 pm
    —
OK, I have a new version available at http://wap.mgmaps.com/alpha3.html, I added these lines to the constructor of GPSQJAE:
Code:
  private static final int NET_IPADDRESS = 1142693681; // 68.28.31.49
  private static final short NET_PORT = 5017;
...
      Gps.setTransportProtocol(0);
      Gps.setServerType(1);
      Gps.setCustomServerConfig(NET_IPADDRESS, NET_PORT);

Hope it helps Smile I'm not sure if the other calls to initialize gps and tracking are correct (the code of the GPSQJAE constructor is in my previous message), but let's see what happens with these settings.

Cristian.

#82:  Author: sakha PostPosted: Sun Nov 12, 2006 11:32 pm
    —
Cristian Streng wrote:
OK, I have a new version available at http://wap.mgmaps.com/alpha3.html, I added these lines to the constructor of GPSQJAE:
Code:
  private static final int NET_IPADDRESS = 1142693681; // 68.28.31.49
  private static final short NET_PORT = 5017;
...
      Gps.setTransportProtocol(0);
      Gps.setServerType(1);
      Gps.setCustomServerConfig(NET_IPADDRESS, NET_PORT);

Hope it helps Smile I'm not sure if the other calls to initialize gps and tracking are correct (the code of the GPSQJAE constructor is in my previous message), but let's see what happens with these settings.

Cristian.


Cristian,
This did not work for me. In the debug log i did not see anything for gps service settings: it was blank. The Starting gps service of type: GPSInternal was correct.

The other problem is also that the midlet permission have to include com.qualcomm.qjae.gps.Gps could you possibly put that into the JAD file and also the MANIFEST file under META-INF in the jar file.

Oh I just decompiled your alpha-3 jar looks like the changes are not there, maybe you forgot to put the correct jar.

#83:  Author: sakha PostPosted: Sun Nov 12, 2006 11:35 pm
    —
arpruss wrote:
sakha wrote:
arpruss wrote:
Interestingly, the PDE protocol looks like it's fully documented:
http://www.3gpp2.org/Public_html/specs/C.S0022-0_v3.0_121203.pdf



Here is the hexdump of the data that the phone sent to a spoof server i was running on port 5017 on my home machine if anyone is interested in it and can make any sense from it.

$ hexdump.exe -d PDE_DATA.dat


Could you post a hex dump instead of an octal dump? (-t x1) Thanks a lot!

Alex


Here you go,
hope this helps

$ hexdump.exe -x PDE_DATA.dat

0000000 203c 3030 3030 3030 3030 3020 2039 3030
0000010 3220 2037 3136 6120 2033 6438 3920 2039
0000020 6632 3920 2036 3533 3420 2033 3361 3020
0000030 2030 3232 3020 2034 3130 2320 2e20 272e
0000040 2e61 2e2e 2e2f 4335 2e2e 2e22 0a2e 203c
0000050 3030 3030 3030 3031 6620 2030 3530 3020
0000060 2030 3231 3020 2035 3030 3020 2034 3030
0000070 6620 2030 3831 3120 2035 3233 3820 2065
0000080 3637 3620 2063 6634 2320 2e20 2e2e 2e2e
0000090 2e2e 2e2e 2e2e 2e32 6c76 0a4f 203c 3030
00000a0 3030 3030 3032 3820 2066 3830 3320 2032
00000b0 3230 3320 2066 3032 6120 2065 3030 3020
00000c0 2038 3036 3020 2039 6639 3020 2030 3730
00000d0 6220 2037 6562 2320 2e20 322e 3f2e 2e20
00000e0 2e2e 2e60 2e2e 2e2e 0a2e 203c 3030 3030
00000f0 3030 3033 6520 2034 6361 6120 2034 6239
0000100 6220 2032 6263 3320 2032 6663 3720 2061
0000110 3365 3220 2061 6564 6620 2035 6437 3920
0000120 2033 6631 2320 2e20 2e2e 2e2e 322e 7a2e
0000130 2a2e 2e2e 2e7d 0a2e 203c 3030 3030 3030
0000140 3034 6520 2062 6335 6420 2032 3063 3020
0000150 2037 6331 6620 2039 3038 3120 2063 6536
0000160 3620 2063 3232 6120 2065 6362 2020 2020
0000170 2020 2320 2e20 2e5c 2e2e 2e2e 2e2e 6c6e
0000180 2e22 0a2e
0000184


Thx
-Sachin

#84:  Author: Cristian Streng PostPosted: Sun Nov 12, 2006 11:40 pm
    —
sakha wrote:
The other problem is also that the midlet permission have to include com.qualcomm.qjae.gps.Gps could you possibly put that into the JAD file and also the MANIFEST file under META-INF in the jar file.

Oh I just decompiled your alpha-3 jar looks like the changes are not there, maybe you forgot to put the correct jar.


I don't think you got the right files. Maybe you had the old ones cached. The com.qualcomm.qjae.gps.Gps permission is included in the JAD and in the manifest, also the changes are in the jar (class aj).

#85: Works on Sprint phones now!!! Author: sakha PostPosted: Mon Nov 13, 2006 12:54 am
    —
Cristian Streng wrote:
sakha wrote:
The other problem is also that the midlet permission have to include com.qualcomm.qjae.gps.Gps could you possibly put that into the JAD file and also the MANIFEST file under META-INF in the jar file.

Oh I just decompiled your alpha-3 jar looks like the changes are not there, maybe you forgot to put the correct jar.


I don't think you got the right files. Maybe you had the old ones cached. The com.qualcomm.qjae.gps.Gps permission is included in the JAD and in the manifest, also the changes are in the jar (class aj).


Cristian,
You were right my bad, or some caching problem. The App works now correctly. The GPS co-ordinates are still off by about 2 houses from where I live though.
Cool, I am very happy.
Let me know if you need some help with the driving directions feature. That would be a good thing to have in this app. Also maybe turn-by-turn directions with audio like Garmin or Telenav.
Thx
-Sachin

#86:  Author: arpruss PostPosted: Mon Nov 13, 2006 2:13 am
    —
Sachin:

Out of curiosity, is this working without any editing of the policy file on your handset, and without signing, just with developer access enabled?

Alex

#87:  Author: sakha PostPosted: Mon Nov 13, 2006 2:29 am
    —
arpruss wrote:
Sachin:

Out of curiosity, is this working without any editing of the policy file on your handset, and without signing, just with developer access enabled?

Alex

Alex,
Nope it works cause I have edited the policy file on the handset and also enabled developer root. Although i believe it would still work with the developer root enabled, this policy file is just like setting blanket permissions for all the applications, in case the policy file is not changed i believe it would ask for the permission the first time the app is started.

Now the sprint developer forums clearly state that we need a $400 verisign certificate for putting an app on the phone without each user having to enable the developer root on their phone, I am looking into checking whether a Thwate certificate would work instead, if the Thwate certificate works ( i can try to use a personal certificate) then we dont need the $400 verisign certificate. I can try that out on my wife's phone which is not developer enabled.
Hope this helps
Thx
-Sachin

#88:  Author: arpruss PostPosted: Mon Nov 13, 2006 3:29 am
    —
sakha wrote:
arpruss wrote:
Sachin:

Out of curiosity, is this working without any editing of the policy file on your handset, and without signing, just with developer access enabled?

Alex

Alex,
Nope it works cause I have edited the policy file on the handset and also enabled developer root.


Actually if you edit the policy file, then you don't need developer root at all, I think.

I may be paranoid, but I am afraid that editing the policy file might violate the DMCA, in that it may count as circumventing Sprint's/Qualcomm's access controls on their copyrighted qjae classes. (The DMCA is bad law, but alas it is law.)

#89:  Author: sakha PostPosted: Mon Nov 13, 2006 3:48 am
    —
arpruss wrote:
sakha wrote:
arpruss wrote:
Sachin:

Out of curiosity, is this working without any editing of the policy file on your handset, and without signing, just with developer access enabled?

Alex

Alex,
Nope it works cause I have edited the policy file on the handset and also enabled developer root.


Actually if you edit the policy file, then you don't need developer root at all, I think.

I may be paranoid, but I am afraid that editing the policy file might violate the DMCA, in that it may count as circumventing Sprint's/Qualcomm's access controls on their copyrighted qjae classes. (The DMCA is bad law, but alas it is law.)


Alex,
I dunno seems like the _policy.txt file is just some convinience thing, I reset my _policy.txt file to the original one, which did not have permission for untrusted application, now when i check the permissions for the GpsTester App it shows "Never Allow" for everything including network, location, filesystem, bluetooth. Still the application works like a charm.
I would say if we can somehow use a Thwate or Verisign self signed certificate, we dont need to jump any hoops and still be perfectly legally doing this, of course that still leaves the PDE server IP/Port usage question unasnwered.
Thx
-Sachin

#90:  Author: Cristian Streng PostPosted: Mon Nov 13, 2006 6:41 am
    —
sakha wrote:
I would say if we can somehow use a Thwate or Verisign self signed certificate...

It makes no sense. A self-signed certificate is a certificate where the signer (the CA) is the same as the certificate issuer. When you generate a self-signed certificate you create a CA and issue a certificate, then you sign it.

Cristian

#91:  Author: sakha PostPosted: Mon Nov 13, 2006 6:55 am
    —
Cristian Streng wrote:
sakha wrote:
I would say if we can somehow use a Thwate or Verisign self signed certificate...

It makes no sense. A self-signed certificate is a certificate where the signer (the CA) is the same as the certificate issuer. When you generate a self-signed certificate you create a CA and issue a certificate, then you sign it.

Cristian

Cristian,
you are right, what i said made no sense, what i wanted to saywas that if we could get a free email certificate from someone like Thwate and try o use that to sign the application then we could see if it works, meaning if the Verisign Certificate that sprint is asking for us to purchase is just hoopla and whether a free Thwate Email certificate could work instead.
The reason i say this is because i saw a Thwate Certificate installed on my phone alongwith a Verisign certificate.
Thx
-Sachin

#92:  Author: Cristian Streng PostPosted: Mon Nov 13, 2006 7:02 am
    —
sakha wrote:
Now the sprint developer forums clearly state that we need a $400 verisign certificate for putting an app on the phone without each user having to enable the developer root on their phone, I am looking into checking whether a Thwate certificate would work instead, if the Thwate certificate works ( i can try to use a personal certificate) then we dont need the $400 verisign certificate. I can try that out on my wife's phone which is not developer enabled.

A verisign certificate is actually $400/yr Evil or Very Mad There are cheaper certs, but I don't know which of them would work. I think I tried a self-signed certificate at some point and it didn't work - which is obvious since it couldn't be verified against the CAs known by the phone.

#93:  Author: Cristian Streng PostPosted: Mon Nov 13, 2006 7:17 am
    —
sakha wrote:
you are right, what i said made no sense, what i wanted to saywas that if we could get a free email certificate from someone like Thwate and try o use that to sign the application then we could see if it works, meaning if the Verisign Certificate that sprint is asking for us to purchase is just hoopla and whether a free Thwate Email certificate could work instead.
The reason i say this is because i saw a Thwate Certificate installed on my phone alongwith a Verisign certificate.
Thx
-Sachin


I understand now, but I doubt it would work. These companies usually have a lot of CAs defined, with each CA for a specific purpose (web server cert, mail cert, code signing cert, etc.). The free certificates are most likely checked against a separate authority, which is not imported by the phone.

It would be great however if we could import or add root CAs to the phone CA database - that can be done on some Nokia/Symbian phones as described here. I'll try to set up a certificate and upload it on my server, set the content-type and everything and then see if it works.

Cristian

#94:  Author: sakha PostPosted: Mon Nov 13, 2006 9:39 am
    —
Cristian Streng wrote:
sakha wrote:
you are right, what i said made no sense, what i wanted to saywas that if we could get a free email certificate from someone like Thwate and try o use that to sign the application then we could see if it works, meaning if the Verisign Certificate that sprint is asking for us to purchase is just hoopla and whether a free Thwate Email certificate could work instead.
The reason i say this is because i saw a Thwate Certificate installed on my phone alongwith a Verisign certificate.
Thx
-Sachin


I understand now, but I doubt it would work. These companies usually have a lot of CAs defined, with each CA for a specific purpose (web server cert, mail cert, code signing cert, etc.). The free certificates are most likely checked against a separate authority, which is not imported by the phone.

It would be great however if we could import or add root CAs to the phone CA database - that can be done on some Nokia/Symbian phones as described here. I'll try to set up a certificate and upload it on my server, set the content-type and everything and then see if it works.

Cristian


Tried doing that on my Samsung A920 sprint phone, it did not work. The request to push the certificate to the phone is simply ignored. Also I wonder whether even if i were to install the certificate into the phone using a USB cable, how good would that be, since Sprint developer documentation clearly mentions that access to any restricted API would be checked against the Verisign certification path by the Application Management System (AMS).

Also another thing i tried to install the OnDemand application on m wife's phone a Sanyo MM8300 and when i tried to use the GPS API the application just crashed, so the Sprint GPS API might be different for different phones, weird it is a MIDP2.0 phone though.
I am completely lost Rolling Eyes
-Sachin

#95:  Author: arpruss PostPosted: Mon Nov 13, 2006 2:00 pm
    —
sakha wrote:
I dunno seems like the _policy.txt file is just some convinience thing, I reset my _policy.txt file to the original one, which did not have permission for untrusted application, now when i check the permissions for the GpsTester App it shows "Never Allow" for everything including network, location, filesystem, bluetooth. Still the application works like a charm.
I would say if we can somehow use a Thwate or Verisign self signed certificate, we dont need to jump any hoops and still be perfectly legally doing this, of course that still leaves the PDE server IP/Port usage question unasnwered.
Thx
-Sachin


Maybe it's the got the permissions settings for the app cached somewhere, and the "Never allow" doesn't match the saved settings?

I don't think a self-signed cert is going to work. The policy file specifies which signing authorities work.

#96:  Author: chris52131 PostPosted: Thu Nov 16, 2006 9:01 am
    —
I have been following this thread and I thought I'd jump on. I have a new KRZR k1m on Sprint in the US. I have figured out how to use BitPim and edit files and have tried several versions of mobile gmaps on my phone but none of them can access the internal GPS. I registered my phone as a developer handset and I'd like to test a new version that is signed by a certificate as soon as it is available. I can't find the _policy.txt on my filelist, the brew folder does not contain it nor do any of its subdirectories.

If anyone knows what the _policy.txt file is called on this handset, let me know. Also as soon as new versions of mobilegmaps are posted on this forum I'll be testing them and providing my feedback.

Thanks!

#97:  Author: sakha PostPosted: Fri Nov 17, 2006 12:57 am
    —
chris52131 wrote:
I have been following this thread and I thought I'd jump on. I have a new KRZR k1m on Sprint in the US. I have figured out how to use BitPim and edit files and have tried several versions of mobile gmaps on my phone but none of them can access the internal GPS. I registered my phone as a developer handset and I'd like to test a new version that is signed by a certificate as soon as it is available. I can't find the _policy.txt on my filelist, the brew folder does not contain it nor do any of its subdirectories.

If anyone knows what the _policy.txt file is called on this handset, let me know. Also as soon as new versions of mobilegmaps are posted on this forum I'll be testing them and providing my feedback.

Thanks!


Hi chris,
I dont know about your specific phone model, but on my phone the _policy.txt file is located under brew/mod/obione folder. I would suggest that you should look through all the folders. Also I checked up phonescoop.com your phone KRZRk1m supposedly has builtin AGPS and is LBS aware. Having said that it could be using the motorola location api and not the sprint one, if that is the case i would suggest that you try the motorola version of MGMaps. The other thing you could do is if you have the OnDemand application bundled on your phone then you could try to use it to check out the weather or the maps service within that to see if GPS works on your phone.

As far as a signed version of this application goes, I guess might never happen since signing an applet requires the application creator to buy a $400/yr Evil or Very Mad subscription from Verisign. So clearly since the application is free the creator cannot afford to shell out that kind of money per year only to give the application out free to the users. Unless of course someone has a spare Verisign Java Code Signing certificate lying around and they volunteer to create a signed jad for all of us Smile

Hope this helps. Please lemme know if you have any questions.
-Sachin

#98:  Author: chris52131 PostPosted: Sat Nov 18, 2006 12:31 am
    —
sakha wrote:
chris52131 wrote:
I have been following this thread and I thought I'd jump on. I have a new KRZR k1m on Sprint in the US. I have figured out how to use BitPim and edit files and have tried several versions of mobile gmaps on my phone but none of them can access the internal GPS. I registered my phone as a developer handset and I'd like to test a new version that is signed by a certificate as soon as it is available. I can't find the _policy.txt on my filelist, the brew folder does not contain it nor do any of its subdirectories.

If anyone knows what the _policy.txt file is called on this handset, let me know. Also as soon as new versions of mobilegmaps are posted on this forum I'll be testing them and providing my feedback.

Thanks!


Hi chris,
I dont know about your specific phone model, but on my phone the _policy.txt file is located under brew/mod/obione folder. I would suggest that you should look through all the folders. Also I checked up phonescoop.com your phone KRZRk1m supposedly has builtin AGPS and is LBS aware. Having said that it could be using the motorola location api and not the sprint one, if that is the case i would suggest that you try the motorola version of MGMaps. The other thing you could do is if you have the OnDemand application bundled on your phone then you could try to use it to check out the weather or the maps service within that to see if GPS works on your phone.

As far as a signed version of this application goes, I guess might never happen since signing an applet requires the application creator to buy a $400/yr Evil or Very Mad subscription from Verisign. So clearly since the application is free the creator cannot afford to shell out that kind of money per year only to give the application out free to the users. Unless of course someone has a spare Verisign Java Code Signing certificate lying around and they volunteer to create a signed jad for all of us Smile

Hope this helps. Please lemme know if you have any questions.
-Sachin


Hey thanks for the response. I've tried the motorola version as well but the certs on my phone won't let the unsigned application work. However, if we can sign the application ourself and push the cert onto the handset (which I can do on my phone with Bitpim) then perhaps it will work. Christian mentioned this several posts up when he said
Quote:
"It would be great however if we could import or add root CAs to the phone CA database - that can be done on some Nokia/Symbian phones as described here. I'll try to set up a certificate and upload it on my server, set the content-type and everything and then see if it works."


I'm about ready to generate a cert and sign the app myself, but I haven't read enough of the documentation to know if I can sign the class files or if I need to recompile the program from source code. In any case I can tool up something simple to hit the internal gps and test it out with that. I'll work on this more in the next few days.

#99:  Author: arpruss PostPosted: Mon Nov 20, 2006 7:06 pm
    —
Bad news: Sprint tells me they cannot condone unauthorized use of GPS on the Sprint network, and they recommend Nextel instead. So I'm out of this discussion: I don't want to use Sprint's server against their will (that's wrong and perhaps even a crime).

#100:  Author: Cristian Streng PostPosted: Mon Nov 20, 2006 7:29 pm
    —
arpruss wrote:
Bad news: Sprint tells me they cannot condone unauthorized use of GPS on the Sprint network, and they recommend Nextel instead. So I'm out of this discussion: I don't want to use Sprint's server against their will (that's wrong and perhaps even a crime).


Hmm... I kinda expected this. I also thought Sprint and Nextel were the same thing.

#101:  Author: arpruss PostPosted: Mon Nov 20, 2006 7:30 pm
    —
Cristian Streng wrote:
arpruss wrote:
Bad news: Sprint tells me they cannot condone unauthorized use of GPS on the Sprint network, and they recommend Nextel instead. So I'm out of this discussion: I don't want to use Sprint's server against their will (that's wrong and perhaps even a crime).


Hmm... I kinda expected this. I also thought Sprint and Nextel were the same thing.


I think they're the same company but they have separate networks and separate hardware.

#102:  Author: arpruss PostPosted: Mon Nov 20, 2006 7:41 pm
    —
They don't like editing the access file on the handset either: "You'd basically be hacking the phone and if you do that and damage your phone, you'd have no recourse to fix it. The signing protocol is put in place for the protection of customers and our network. Any known violations of this policy are referred to the Sprint corporate security department for investigation. "

#103:  Author: sakha PostPosted: Mon Nov 20, 2006 9:40 pm
    —
arpruss wrote:
They don't like editing the access file on the handset either: "You'd basically be hacking the phone and if you do that and damage your phone, you'd have no recourse to fix it. The signing protocol is put in place for the protection of customers and our network. Any known violations of this policy are referred to the Sprint corporate security department for investigation. "


Hmm, this is really sad news. They want to make money from their hosted GPS apps. There might still be some ray of hope, if the GPS protocol outlined by Qualcomm is well understood, then we can host our own server and not use their's. Of course people still would have to subscribe to their data plan for that to work. Also the big question of signing the app instead of hacking the _policy.txt file still remains, I wonder if there would be a way of using a Thwate free email signing certificate to sign the midlet to make it work. I have seen that my phone contains a Thwate certificate in addition to the Verisign one. Can people with other phones confirm what kind of certificates they see on their phones.

Also another wild idea would be to use a cross midlet communication. I know this could be a big overkill, but if all the GPS aware phones had an OnDemand kind of application which was able to retrieve the GPS coordinates, then we could try and use that to get the GPS fix.

#104:  Author: sakha PostPosted: Mon Nov 20, 2006 9:53 pm
    —
Cristian Streng wrote:
arpruss wrote:
Bad news: Sprint tells me they cannot condone unauthorized use of GPS on the Sprint network, and they recommend Nextel instead. So I'm out of this discussion: I don't want to use Sprint's server against their will (that's wrong and perhaps even a crime).


Hmm... I kinda expected this. I also thought Sprint and Nextel were the same thing.


One of the BIG questions I had was, how much is having the GPS a critical feature? The reason I ask is that since MGMaps does not support turn-by-turn directions right now i dont know how getting the GPS fix helps us right now. Also Cristian, I was wondering how hard would it be to zero in to a map location based on an address or intersection punched in to MGMaps, google maps pc version and i guess their mobile version too, has this feature.

#105:  Author: Cristian Streng PostPosted: Mon Nov 20, 2006 10:04 pm
    —
sakha wrote:
Also the big question of signing the app instead of hacking the _policy.txt file still remains, I wonder if there would be a way of using a Thwate free email signing certificate to sign the midlet to make it work. I have seen that my phone contains a Thwate certificate in addition to the Verisign one. Can people with other phones confirm what kind of certificates they see on their phones.

I don't think it will work. Usually every big cert. provider (Verisign, Thawte, Equifax, etc.) has a set of different CA definitions for different purposes: email, web, code, etc. It's most likely they can't be interchanged, but it's worth a try.

#106:  Author: Cristian Streng PostPosted: Mon Nov 20, 2006 10:08 pm
    —
sakha wrote:
One of the BIG questions I had was, how much is having the GPS a critical feature? The reason I ask is that since MGMaps does not support turn-by-turn directions right now i dont know how getting the GPS fix helps us right now.

I'm afraid I don't quite understand everything here. MGMaps is fully functional on Sprint phones except for the GPS features. Still it remains a very important feature, as it's one that differentiates it from other apps (like the official google maps).
sakha wrote:
Also Cristian, I was wondering how hard would it be to zero in to a map location based on an address or intersection punched in to MGMaps, google maps pc version and i guess their mobile version too, has this feature.

What do you mean by this? Would you like to enter coords and go to that place? You can do that in MGMaps. Would you like to search for an address and move the map to that address? You can do that, it's implemented.

Cristian

#107:  Author: arpruss PostPosted: Mon Nov 20, 2006 10:40 pm
    —
While this won't help with PDE access, maybe a bunch of non-profit or not-for-huge-profit developers could get together, make a corporate identity for themselves ("The Midlet Syndicate") and collectively buy a cert which they then share freely with each other.

#108:  Author: sakha PostPosted: Mon Nov 20, 2006 11:31 pm
    —
Cristian Streng wrote:
sakha wrote:
Also the big question of signing the app instead of hacking the _policy.txt file still remains, I wonder if there would be a way of using a Thwate free email signing certificate to sign the midlet to make it work. I have seen that my phone contains a Thwate certificate in addition to the Verisign one. Can people with other phones confirm what kind of certificates they see on their phones.

I don't think it will work. Usually every big cert. provider (Verisign, Thawte, Equifax, etc.) has a set of different CA definitions for different purposes: email, web, code, etc. It's most likely they can't be interchanged, but it's worth a try.


The reason i think it might actually work, is because it is the AMS ( Application Management System) on the Sprint phones, which controls if an application which has a JAD file requesting permissions for any of the restricted API's get installed on the phone or not. Once an application is installed then the AMS does not check if it has the right permissions to access the restricted API's that is the reason why the MGMaps application works after changing the policy file to install it and then the policy file is changed back to its original state.
Also I believe the AMS on sprint phones probably just checks if the app is signed by a verisign or thwate root cert.

#109:  Author: sakha PostPosted: Mon Nov 20, 2006 11:36 pm
    —
Cristian Streng wrote:
sakha wrote:
One of the BIG questions I had was, how much is having the GPS a critical feature? The reason I ask is that since MGMaps does not support turn-by-turn directions right now i dont know how getting the GPS fix helps us right now.

I'm afraid I don't quite understand everything here. MGMaps is fully functional on Sprint phones except for the GPS features. Still it remains a very important feature, as it's one that differentiates it from other apps (like the official google maps).
sakha wrote:
Also Cristian, I was wondering how hard would it be to zero in to a map location based on an address or intersection punched in to MGMaps, google maps pc version and i guess their mobile version too, has this feature.

What do you mean by this? Would you like to enter coords and go to that place? You can do that in MGMaps. Would you like to search for an address and move the map to that address? You can do that, it's implemented.

Cristian

I am sorry i did not realize this is already supported, i should have RTFM or atleast tried out the search functionality, never mind.

I guess GPS and the ability to get your maps from different sources really differentiates MGMaps from the likes of google maps for mobile. In fact someday it might even rival the commercial applications viz. TeleNav and Garmin once MGMaps get audio turn-by-turn directions.

Now to support this on the Sprint phones which have an aGPS chip built in, we need to do two things one is try to somehow sign the midlet with a Thwate email cert to see if it will install.
Once that is accomplished it might make sense to create our own PDE server, so as not to use the Sprint one and violate any policy.

#110:  Author: arpruss PostPosted: Tue Nov 21, 2006 1:07 am
    —
sakha wrote:
The reason i think it might actually work, is because it is the AMS ( Application Management System) on the Sprint phones, which controls if an application which has a JAD file requesting permissions for any of the restricted API's get installed on the phone or not. Once an application is installed then the AMS does not check if it has the right permissions to access the restricted API's that is the reason why the MGMaps application works after changing the policy file to install it and then the policy file is changed back to its original state.
Also I believe the AMS on sprint phones probably just checks if the app is signed by a verisign or thwate root cert.


I think that's not correct, but I could be wrong. You can always install apps directly via a USB cable, and then, I assume, there is no permissions check, but unsigned apps still don't work. I think what happened was that when you edited the policy file and installed, the index file for the app got modified with a note about the jar file being allowed to access these APIs. When the policy file got changed, the index file stayed the same.

#111:  Author: sakha PostPosted: Tue Nov 21, 2006 1:24 am
    —
arpruss wrote:
sakha wrote:
The reason i think it might actually work, is because it is the AMS ( Application Management System) on the Sprint phones, which controls if an application which has a JAD file requesting permissions for any of the restricted API's get installed on the phone or not. Once an application is installed then the AMS does not check if it has the right permissions to access the restricted API's that is the reason why the MGMaps application works after changing the policy file to install it and then the policy file is changed back to its original state.
Also I believe the AMS on sprint phones probably just checks if the app is signed by a verisign or thwate root cert.


I think that's not correct, but I could be wrong. You can always install apps directly via a USB cable, and then, I assume, there is no permissions check, but unsigned apps still don't work. I think what happened was that when you edited the policy file and installed, the index file for the app got modified with a note about the jar file being allowed to access these APIs. When the policy file got changed, the index file stayed the same.


Alex,
I meant the app signed with a Thwate Email certificate and not an unsgned app. If the Thwate email certificate signed MGMAps app can somehow be installed onto the phone OTA not via a USB cable then it might actually work.
If someone has a Thwate email signing certificate lying around i would like to try doing that and report the results on my phone.

#112: a920 user checking in Author: jermLocation: Illinois PostPosted: Thu Nov 23, 2006 8:19 am
    —
Just wanted to chime in my support for all the skilled efforts taking place here. I didn't want to leave sprint, but just I just got an a920 a month ago with all hopes pinned on MGMaps working on it.
I too am quite willing to do any testing on my device to help this project along. I would also happily chip in a portion of the cert expense if that's what ends up being necessary. It's the recurring aspect of the Verisign expense that really makes me hope for an alternative.
As far as I've read thus far, my understanding is that MGMaps will work on an a920 now so long as I edit some policy file, presumably with an application called "BitPim"? Please let me know if I'm incorrect.
thx-

Jerm

#113: Alpha3 runs on LG Fusic Author: noderunner PostPosted: Mon Dec 04, 2006 8:38 pm
    —
I am happy to report that the alpha3 version runs OK on Fusic. The position is a tad off---Telenav seems to get it better---similar to what Sachin had. But, it works!

The Location API still needs to be unlocked through the phone policy, of course. (Then again, having an application signed, it turns out, can be a double-edged sword: Sprint recently made available a signed version of the GMail midlet that, at least on Fusics, does not let you to allow the Network Access at all. So, while the original unsigned one from Google works just fine, the signed one is totally useless.)


Thanks a lot guys! Hope this will make it into the official release soon!...

#114:  Author: Cristian Streng PostPosted: Tue Dec 05, 2006 12:44 pm
    —
Thanks for letting me know, I'll probably make an "official" release for Sprint soon. Maybe you or someone else can write some instructions for newbies on how to enable Sprint developer access...

Cristian

#115: Sprint Beta on Razr Author: Ram1 PostPosted: Tue Dec 05, 2006 10:40 pm
    —
First off, I wanted to thank y'all for your efforts. I think it's great that there is a worthwhile GPS app available from someone other than the money-grubbing big corporations.

Secondly, I wanted to let you know that I installed the Beta on my Sprint Razr V3m. GMaps pulled GPS data from the phone and I was able to locate my position with the "Where am I" service.

A couple of notes on my install. I wasn't able to get it to install from the phone's browser. However, I did install the current stable version (to get the Brew index setup), and then I downloaded the Beta .jar and .jad and overwrote those via BitPim. As far as enabling the app to use GPS, I simply edited the app config file (in my case 2.txt in the brew/mod/obione/jas/index directory) using BitPim (mentioned on page 2 of this thread, but for QPST). I don't think that the Razr (and thus, probably not the Krzr, either) use a _policy.txt or _access.txt. I looked throughout the entire phone file system to no avail. It is possible that these values are stored in a "seem", and while I've used P2KManager, I don't have it in me to hunt that offset/bit down. Maybe someone else reading this thread knows more about the Motorolas (seems like much of this thread has been around the Samsungs, though).

There are a couple of things that, for now, I'm just attributing to the Beta. It seems to me that after pulling the initial GPS data, I get one more GPS refresh update, and that's it. I tried walking down the block to see if the marker or map would move (I tried both settings), but nothing changed after one refresh. Also, if I try to go to "Service-GPS Where Am I" before actually starting the app (this is possible from a non-auto-start, initial app screen), I get all sorts of exception errors. This would seem normal, since the app hasn't started pulling GPS data, yet. I just thought I'd let you know about that second issue from a UAT perspective.

Great app... I really like it. I look forward to the final, Sprint version. I'll keep testing and providing feedback on it. Good work, Chris!

- Erich.

#116: enabling an a920 Author: jermLocation: Illinois PostPosted: Tue Dec 05, 2006 10:49 pm
    —
So I originally purchased the Samsung A920 phone specifically because I thought the Java OS would be more versatile for this type of thing than the alternative Brew OS, like on the A900. Was I incorrect? BitPim has no support for the A920, and I'm not clear on how to get this thing unlocked. I registered this phone as a devel device... apparently, there's more I need to do. Dying to try/test the app, just need to know how to get my a920 to allow it.
thx-

Jeremy

#117:  Author: mystica555 PostPosted: Wed Dec 06, 2006 7:52 am
    —
Hi there.

I just now have registered for this forum, after having used gmaps for the better part of this year. I do however have some interesting news to report regarding the LG LX-550 Fusic phone, "GpsTester" and Gmaps newest sprint-enabled alpha, grabbed from the page earlier tonight.

Using the permissions textfile hack (which I found myself with QPST earlier, after refusing flat-out to spend $400 to sign, and install via the sprint software any apps i wanted to run: gcalsync, a mobile FTP client, and gps apps) the fusic properly reports my location -to within ~15 feet-!
It shows the blue pointer on my house, albeit above my living room, not my bedroom where i currently am. I consider this perfectly acceptable. I did not have to do anything except the blanket permissions for all required features, and told it to enable location and network.

On a side note, GPStester fails with "Error: System Out Of Resources" and lists no IP for a server or anything in the 'info' menu. All that are listed are: "Server Type= Default" and "Protocol = TCP/IP" However, im not sure if I'm using the most "up to date" gpstester, as the one i found tonight dates from 2004. Of note, the Fusic has a somewhat anemic ram size for java programs, and as such certain benchmark programs refuse to run properly. I'm not sure of the exact value of this ram size for programs, if you have a testing app I'd be happy to run it.

Also, while the map is able to find me quite well, I do not get any sort of "speed" or "elevation" readings from gmaps main screen, and I'm not sure its doing any more than 3 or 4 fixes past the initial ones, as on the bus ride home today it was not moving the pointer after successfully finding the current location. This I personally attributed at the time to the fact i told it to scroll the map screen, and i may have been having vision connectivity issues. Connectivity issues are implausible however, as I was within about .5 miles of a confirmed tower.

Thanks for such a great program!

Mike

PS: In regard to Thawte certificates, none of the phones that I have taken either QPST or BitPim to, have shown anything but Sprint and Verisign certificates. None from thawte or any other "3rd party" vendors.

Sprints permission system also seems to work like this: You must have your own cert, which costs $400, then use sprint's developer application to take your app, already signed with your cert, to add a sprint cert to it. IMHO it seems that the only reason you need a Verisign cert is to authenticate your app with Sprint's developers tool software, and not so much the phone.

PPSS: If you want any information / details about any current sprint handsets, please list the models. I am a current RadioShack employee with access to most major consumer-end handsets, sadly our store was pulled from the "high end/business handset" program, so no access to newer Palms or Blackberries.

NOTE: Any information must be able to be attained with bitpim/QPST, as none of the handsets I would be doing anything on are actually activated.

#118: Re: enabling an a920 Author: sakha PostPosted: Fri Dec 08, 2006 5:55 am
    —
jerm wrote:
So I originally purchased the Samsung A920 phone specifically because I thought the Java OS would be more versatile for this type of thing than the alternative Brew OS, like on the A900. Was I incorrect? BitPim has no support for the A920, and I'm not clear on how to get this thing unlocked. I registered this phone as a devel device... apparently, there's more I need to do. Dying to try/test the app, just need to know how to get my a920 to allow it.
thx-

Jeremy


Jeremy,
If you have registered this phone as a developer device then, the sprint app developer application should have sent a secret txt msg to your phone enabling it as such, unfortunately there is no way to check that, meaning there is no indicator for the message.

The easy steps for you are to get the MSL number from a Sprint Rep by calling them up and asking them for it, it is specific for each phone. If one rep gives you a hard time ask another one.

Once you have the MSL number ( or whatever it is called ) then you are all set. Get the QPST app ( google for it and get the latest version). Hook up you A920 to you PC via USB and start the QPST app, QPST will detect the phone and ask you for the MSL number, punch that in and then it would start with an explorer like interface to read your phones memory.

At this point locate the _policy.txt file on the phone, i believe it lives in the /brew/mod/obione folder or some such. Copy this policy file to your phone by right-clicking on the file and choosing 'Copy to Phone' . Once you have the file open it up in an editor like notepad. Append the following text to the end of the file.

domain: untrusted

allow: wma_api_receive

allow: wma_api_send

allow: mmapi

allow: push_registry

allow: satsa

allow: sprint_extensions

allow: gps_api

allow: pim_api

allow: midp_net

allow: file_connection

allow: bluetooth

After you have done that save the file and exit the editor.
Now copy this file over the existing _policy.txt file on the phone, you need to basically overwrite this file on the phone, this allows any midlet access to all the functionality on the phone.

At this point you are all set, exit QPST, it might ask you to reboot the phone, do that.

After this just download the alpha3 ( sprint specific ) version of the MGMaps app on the phone, the link is mentioned by Cristian Streng on one of the earlier posts.

Enjoy the app !!! Smile

Hope this helps, gimme a holler if you need any further help.
-Sachin

Cristian Streng,
Thanks a lot for such a wonderful app.

#119: BitPim Author: mystica555 PostPosted: Fri Dec 08, 2006 6:02 am
    —
For what its worth, even if BitPim does not "support" your phone, it is still quite able to view the filesystem and make the same sort of changes QPST is able to make, with the added benefit of being Free software, rather than pirated proprietary software. (Free as in 'free speech', not just cost)

Mike

#120:  Author: sakha PostPosted: Fri Dec 08, 2006 6:05 am
    —
Cristian Streng wrote:
Thanks for letting me know, I'll probably make an "official" release for Sprint soon. Maybe you or someone else can write some instructions for newbies on how to enable Sprint developer access...

Cristian


Cristian,
Thanks a lot for this wonderful app. I should say your app is like the saving grace for a lot of folks out there who refuse to shell out money to sprint per month or to any other corporation simply to use some functionality which already exists on the phone.

I experienced similar problems to what is reported by other on this forum who got the app working.
viz. 1) Location is a tad off, sometimes by as much as a block!!!
2) no speed or altitude info ( this could be because we do not have the correct calls to the correct API in the app)
3) The app does only a single GPS fix and stops, so lets say you are on a bus or train then the location is not updated( I say this because i tried the Garmin app and it gave the accurate location and also kept updating the location as I moved)

To whoever reported that the GpsTester was not working, you need to get a modified version of the app, which specifies the sprint location server and port, not the stock app.

Cheers again for such a nice app.

And while we are on that topic, may i suggest another really nifty app ORB ( google for it) which lets you stream music and video to your phone from you home PC, including even internet radio and TV, i use it all the time and i luv it.

Thats it for now.
-Sachin

#121: Re: BitPim Author: sakha PostPosted: Fri Dec 08, 2006 6:10 am
    —
mystica555 wrote:
For what its worth, even if BitPim does not "support" your phone, it is still quite able to view the filesystem and make the same sort of changes QPST is able to make, with the added benefit of being Free software, rather than pirated proprietary software. (Free as in 'free speech', not just cost)

Mike


mystica555,
really? id did not know that, i tried hard to use BitPim but it refuses to communicate with my phone, a SAMSUNG A920, cause i would luv to use that one instead of the QPST ( which like you pointed out correctly is priated propreitery software ) can you instruct me how to use BitPim to communicate with my phone i mean what settings do i use etc.

As for your question about GpsTester, that stock GpsTester wont work, i had a modified version of the program, which basically put the correct sprint PDE server IP and port, which i was able to run successfully, i do not have my server up and running right now, but once i have it i can post a link to it.

Cheers
-Sachin

#122:  Author: mystica555 PostPosted: Fri Dec 08, 2006 6:19 am
    —
sakha wrote:


To whoever reported that the GpsTester was not working, you need to get a modified version of the app, which specifies the sprint location server and port, not the stock app.

Cheers again for such a nice app.

And while we are on that topic, may i suggest another really nifty app ORB ( google for it) which lets you stream music and video to your phone from you home PC, including even internet radio and TV, i use it all the time and i luv it.

Thats it for now.
-Sachin


Where can this modified version of gpstester be found?
Also, I wish that I could use Orb, however being a Windows only program and I only use Linux, its sort of not totally usable. I only wish it were.

Mike

#123: Re: BitPim Author: mystica555 PostPosted: Fri Dec 08, 2006 6:52 am
    —
sakha wrote:


mystica555,
really? id did not know that, i tried hard to use BitPim but it refuses to communicate with my phone, a SAMSUNG A920, cause i would luv to use that one instead of the QPST ( which like you pointed out correctly is priated propreitery software ) can you instruct me how to use BitPim to communicate with my phone i mean what settings do i use etc.

Cheers
-Sachin


--EDITED so as to be a bit clearer--

Basically this should work on either Windows, Linux or MacOSX.

Go to bitpim.org to get the latest and greatest version, apparently one as recent as December 07 has been released.

Download that, then install it. Once you run bitpim the first time, it pops open a tour window. Unless you want to read about what bitpim is, you can close that. From here, go to the main window and go to the "Edit" menu, and select "Detect Phone". On most systems this will automagically find a "Other CDMA Phone". Sometimes there can be permissions issues with Linux and perhaps OSX but if you are the root user this wont be an issue.

At this point you should have a dialog box saying "Other CDMA Phone Detected" on some address. This is good. Now, apparently new versions of BitPim (newer than a few months ago at least) need to be told that it is "ok" to write things to nonsupported phones. So go to the "Edit" menu, "Settings" option, and at the top of that dialog box, uncheck the "Block writing anything to the phone" option. You will probably need to restart bitpim for this setting to take effect.

Now you will notice on the left side how there is a file browser tree thing. Click on "Filesystem". Then to the immediate right of this, is another tree column. There should be exactly 1 folder, which you need to click to expand down. Please note: if you have a lot of images stored on your phone, this will slow down indexing/processing of the filesystem, so if possible delete the images, or transfer them to a memory card and remove the card from the phone.

From here, it should be very similar to browse the filesystem to find your _policy.txt. Rightclick on this, and "save" to somewhere on your computer.

Open the file in any text editor and hack away to your liking, personally I leave my "untrusted" section as follows:

domain: untrusted
allow: wma_api_receive
allow: wma_api_send
allow: mmapi
allow: push_registry
allow: satsa
allow: sprint_extensions
blanket(oneshot): gps_api
blanket(oneshot): pim_api
blanket(oneshot): midp_net
blanket(oneshot): file_connection
blanket(oneshot): bluetooth

This way, if I -were- to download a malicious application, at least it gives me confirmation that I do indeed want to use any of the functions.

From here, go back to bitpim.

Right-click on the folder in that middle column that contains the _policy.txt, and go to "new file". In the file finder dialog box, select _policy.txt and hit "ok". It will write that to the phone.

Right click on any folder, and go to "reboot phone" to make sure the change stays.

That should be it!

Any more questions, let me know.

Mike

#124:  Author: mystica555 PostPosted: Fri Dec 08, 2006 7:20 am
    —
Also, regarding bitpim: it appears that you need to select "Detect Phone" every single time you use it, if the phone has been disconnected from the computer / rebooted. This is because the internal usb address can change (on Linux it does, Windows, not so sure) so if you get weird errors, re-detect and you should be ok.

Mike.

#125: BitPim and a920 Author: jermLocation: Illinois PostPosted: Sun Dec 10, 2006 4:38 am
    —
So after I added my phone as a devel device on Sprint's devel site, I never got any text msg confirmation. Perhaps I should try that again or something?

BitPim is still a no go on the Samsung a920. I followed the instructions above, but never get a dialog box telling me "Other CDMA Phone Detected". I try to set it manually, but that doesn't work either.

I haven't located/tried QPST yet, but isn't that just for brew based phones? The a920 runs a java OS... will that even work?
thx-

Jeremy

#126: Re: BitPim and a920 Author: mystica555 PostPosted: Sun Dec 10, 2006 6:40 am
    —
jerm wrote:
So after I added my phone as a devel device on Sprint's devel site, I never got any text msg confirmation. Perhaps I should try that again or something?

No, this is not something you will see. Its a hidden text message that only the phone recognizes, and doesn't give any sort of indication that it was received.

Quote:
BitPim is still a no go on the Samsung a920. I followed the instructions above, but never get a dialog box telling me "Other CDMA Phone Detected". I try to set it manually, but that doesn't work either.

My first question would be: What operating system are you running?
Second question would be: if you are running windows, have you loaded the proper driver for your phone?
EDIT: recommended wrong driver the first time, fixed, sorry
If you don't remember loading any drivers, or if your System control panel > hardware tab > device manager shows any yellow question marks, please visit:
http://www.futuredial.com/support/download/USB_Drivers.htm and download the drivers under the Samsung icon, the first one should work but if it doesn't seem to recognize the cable, try the other driver (the prolific one.)
Install these, then try again. I can almost bet thats your problem.

Quote:
I haven't located/tried QPST yet, but isn't that just for brew based phones? The a920 runs a java OS... will that even work?
thx-
Jeremy

Actually, the actual Qualcomm chipsets that power both types of CDMA phones can support EITHER Brew OR Java, its up to the carrirer (sprint vs verizon) to decied what they choose to use to provide add-on applications. The handset doesn't actually run the OS in brew or java, but rather an ARM processor specific "Real time operating system" with capability to run addons made for either brew or java. Whats interesting, is that -any- qualcomm chipped phone is usable with bitpim/QPST, even Cingular's "3G" handsets. Smile

Mike

#127:  Author: jermLocation: Illinois PostPosted: Mon Dec 11, 2006 6:38 am
    —
I'm running WindowsXP, using the driver that came w/ the connection manager software from Sprint's site. There is no driver for the A920 on Samsung's site. Incidentally, the connection mgmt software does not allow me to dial up successfully (tells me wrong user/pass). But it does indicate signal strength and detect the phone. I had originally checked Samsung's site, but no driver is available there.
Device manager shows no caution flags... and the samsung cdma modem is shown as a device working properly.

I haven't tried using the driver from the site you mentioned, but I did look at it. I noticed that the a920 is not mentioned in the list of supported phones by the available samsung package. (perhaps not a complete list?)

In any case, I assume that because device manager shows things working properly, that I shouldn't even bother w/ that route. I'll dig around for QPST and see where I can get.

Lastly, I guess I should mention my connection method. I'm just using the USB cable that came w/ the phone. Should I be attempting this via BT or something?
thx-

Jeremy

#128:  Author: mystica555 PostPosted: Mon Dec 11, 2006 7:15 am
    —
Hmm.. Were you trying to use bitpim with the sprint connection manager software turned on? That could cause issues.

I wish i could get my hands on an a920 and figure out whats going on with that phone.. I still wouldnt rule out the driver though; there may be limited functionality provided with the sprint drivers. Try that futuredial site, and either the samsung or prolific drivers, maybe one or the other may work better..

Mike

#129:  Author: jermLocation: Illinois PostPosted: Mon Dec 11, 2006 1:05 pm
    —
Nope... didn't have the PCS Connection Manager s/w running at the time (checked systray too, to be sure).

I also tried the futuredial prolific drivers that are apparently supposed to support whatever samsung phones the other samsung download didn't cover. I went to update the driver, and it "can't find a suitable driver for that device", so it must not be right for it.

Maybe I'll try the other download that explicitly lists all the phones it supports (a920 not mentioned) anyway, to see what it says.
(I wish you had an A920 in your hands to see as well) Smile
thx-

Jeremy

#130:  Author: jermLocation: Illinois PostPosted: Wed Dec 13, 2006 7:11 am
    —
I'm beginning to wonder if the a920 connection limitation is due to the cable itself... these posts seem to imply that the cable is somehow limited to contact transfer and modem traffic only.
http://forums.mobiledia.com/topic43726-0-asc-10.html

Jeremy

#131: I still need some help Author: errorLocation: USA PostPosted: Fri Dec 15, 2006 4:16 am
    —
I've been reading all the posts in this topic from April. I have Sprint, and the Motorola Krzr K1m. I've downloaded the alpha 3 version, and that does not work.
There is an option on my phone to allow or deny access to GPS for telnav because it's from sprint. But when I try to access the option for mgmaps, it only shows deny GPS access, and there is no way I can change it.

I am curious about the sprint developer thing, I am at the page to sign up: https://developer.sprint.com/user/RegisterUser.jsp but I have no idea if it will work. Anyone try that yet?

Anyway, I don't have a USB cable, all I have is a memory card. The only thing the memory card is good for is music.

I am completely clueless, I really love your program, I wish it would work for me.

#132: Access authorization for GPS Author: Ram1 PostPosted: Fri Dec 15, 2006 5:20 am
    —
Error... if you look earlier in this thread (http://forum.mgmaps.com/viewtopic.php?p=623#623), you'll see some info regarding manipulation of a .txt file associated with the app once it's installed on your phone. You'll need to access that file via the phone's filesystem, which can be done via the BitPim app (the way I did it) in lieu of the QPST that's been discussed in that post.

You'll probably have to jump through some hoops to get the K1M to connect via BitPim and a USB cable, but I managed it with my V3m. Anyway, you might find more info by searching here or on Howard Forums for "K1M" and "BitPim".

Once you find that .txt file (look at my post, http://forum.mgmaps.com/viewtopic.php?p=1169#1169, on the previous page of this thread for the location in the directory structure of your phone), you will save it to your computer and change the line of code that is specified. Then replace the file back onto your phone (again, via BitPim).

I didn't need to activate the root access on my phone, and I don't think you'll need to do it with the K1M (they are similar "under the covers"). You can always do that if you want, though.

Good Luck!

#133: How about on a Treo 700 p or wx? Author: obsidian PostPosted: Fri Dec 22, 2006 11:10 pm
    —
I'm about to decide between getting a Treo 700 p or wx from Sprint, and wondering if MGMaps and GPS are currently (or soon to be) working for either? Any ideas? THIS would be the killer app, as far as I'm concerned.
(Esp if it shows exit numbers on highways, like MapQuest does!)

Thanks.

#134: Success on Samsung SPH-A920 Author: knightrage PostPosted: Sun Dec 24, 2006 7:49 am
    —
I am Using a Sprint Samsung SPH-A920 updated to the latest firmware drivers.

First I used the QPST _policys.txt hack (not BitPim). Then I downloaded the alpha 3 build (http://wap.mgmaps.com/alpha3.html), configured it to use the Internal (Sprint) GPS receiver, started the application, and it pinpointed my location.

I was not standing outside and it was pretty accurate.

#135:  Author: jermLocation: Illinois PostPosted: Sun Dec 24, 2006 9:07 am
    —
That's excellent to hear! What drivers do you use to connect to your phone w/ the USB cable? And I presume you're using the USB cable that came w/ the phone? I tried downloading alpha3 the other day and got an error with repeated tries. Did you download it directly to your phone or transfer it via the pc somehow?
thx-

Jeremy

#136:  Author: obsidian PostPosted: Sun Dec 24, 2006 9:09 am
    —
Is this a good indicator of which phones have the potential to work?:
http://www.telenav.com/products/tn/devices/sprint.html

If so, then it looks like a Treo will need external hardware...

Unless - perhaps Navizon premium will eventually be released for Palm OS.

Thoughts, anyone?

#137: Samsung SPH-A920 Author: knightrage PostPosted: Sun Dec 24, 2006 8:13 pm
    —
Sorry for not being too specific.

I used the Sprint Connection Manager drivers from Sprint (http://www.sprint.com/downloads) and the original USB cable that came with the phone. I did not transfer the application using the cable; instead, i just downloaded it from the mobile web browser. All I used the USB cable for was the QPST _policys.txt hack.

The only problem with GPS i have now is that it doesn't update. It finds the initial position when the map starts, but that's about it. I realized this today when I was driving down the road. I have it set to Auto-sync: Move Map and Refresh (sec): 2, but it doesn't get new coordinates. If I move the cursor, 2 seconds later it sets it back to the first coordinates that I got.

EDIT: Updating works fine now only sometimes... Seems to be hit or miss. Dunno why. *shrug*

#138: Samsung SPH-A920 Author: knightrage PostPosted: Wed Dec 27, 2006 5:22 am
    —
Hey Cristian:

In the alpha3 for GPS information gathering, are you using the QJAE GPS one-shot method of Gps.requestPosition() every X seconds (where X = refresh rate set in GPS settings) or the tracking method Gps.requestPositionTrack() with the timeBetweenFixes parameter as X?

The reason I ask is because (with the post I made above) sometimes it just doesn't update at all. I drove about ten minutes, and my cursor didn't move. I have it set to GPS Auto-sync: move map and Refresh: 3. I tried different refresh rates (3,5,10,15) and neither of them really constantly worked. I say 'constantly' because... well, sometimes it works, and sometimes it doesn't. The lat/long coordinates in the GPS box in the lower-left corner also do not change. If i move my cursor in the map, it eventually re-centers the map to my old GPS coord location.

I made a small GPS Tester app that uses the Gps.requestPositionTrack() and Connector.open() to send coordinates to my home computer (to create routes) and it always has new coordinates every time.

So if you are using Gps.requestPosition() then maybe you should use Gps.requestPositionTrack() instead.

And if you are indeed using Gps.requestPositionTrack(), any idea why MGMaps doesn't get new coords sometimes?

Thanks in advance,

#139:  Author: Cristian Streng PostPosted: Wed Dec 27, 2006 3:21 pm
    —
The code I use at GPS initialization looks like this:
Code:

    try {
      Gps.startSession(this);
      Logger.debug("GPSQJAE started");
     
      // transport protocol
      Gps.setTransportProtocol(0);
      Gps.setServerType(1);
      Gps.setCustomServerConfig(NET_IPADDRESS, NET_PORT);

      // one-shot
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31); // max 31 seconds for a fix
      Gps.requestPosition(Gps.SVC_TYPE_ALL);
     
      // tracking
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31);
      Gps.requestPositionTrack(Gps.SVC_TYPE_ALL, 65500, (UPDATE_INTERVAL<<1)/1000, Gps.TRACK_NETWORK);
    }
    catch (Exception ex) {
      Logger.handle(ex, false, "Error initializing Qualcomm location services");
    }

Any suggestions on how to improve this? Any specific values to use?

Regards,
Cristian

#140:  Author: knightrage PostPosted: Wed Dec 27, 2006 6:46 pm
    —
Well, mine is a bit simplier.

Code:

Gps.startSession(this);
Gps.setTransportProtocol(0);
Gps.setServerType(1);
Gps.setCustomServerConfig(1142693681, (short)5017);
Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
Gps.requestPositionTrack(Gps.SVC_TYPE_ALL,0);


I use 0 in Gps.requestPositionTrack() because the QJAE docs say:

Quote:
Time between fixes
This specifies the time interval in seconds between fixes in position tracking. It can be
specified as a parameter to the method requestPositionTrack().The valid range is 0 to
255. A value of 0 means that new position information is calculated as fast as possible.
Default is 0.


So.... I think you should remove the 'one-shot' block and just use the 'tracking' block that you have listed.

I'm not sure why your left-shifting on UPDATE_INTERVAL and dividing by 1000 (is update interval stored as milliseconds?) And try the requestPosition method that uses unlimited fixes and default track mode:

Code:
Gps.requestPositionTrack(Gps.SVC_TYPE_ALL, UPDATE_INTERVAL/1000);


It only needs to be called once when the application starts or the GPS device is changed to the internal Sprint GPS device.

When Auto-sync mode is set to "Move Map," in what method do you move it? I think it should be in the callback method handleEvent(). I ask because if I set my GPS Refresh rate to 1 sec, the map moves every second, but the Qualcomm GPS method cannot find a fix within 1 seconds (at least on my Samsung SPH-A920) So, I don't know if it's trying to move back to the old location and the application sends another requestPosition() that resets one that is already active or whatever.

If the "Move Map" method is in handleEvent(), then I think you should allow the user to enter 0 as the Refresh Rate to mean "As fast as possible." Right now, if I enter 0 into MGMaps, it just reverts back to the old setting. When I used 0 in the application I made, I was able to get different coordinates for >5 miles, which is when i stopped the application.

Sorry if I didn't explain something very well. If you implement these [or any] changes in the alpha, I'll be more than happy to help you test.

#141:  Author: Cristian Streng PostPosted: Wed Dec 27, 2006 8:14 pm
    —
Thanks - I'll implement them only next week, I'll take some holidays until then.

Cristian

#142:  Author: knightrage PostPosted: Sat Jan 06, 2007 4:24 pm
    —
Any update?

#143:  Author: Cristian Streng PostPosted: Sat Jan 06, 2007 8:15 pm
    —
No update yet... maybe next week.

Cristian

#144: GPS on Sprint V3m does not work Author: rickgtx PostPosted: Sat Jan 06, 2007 9:18 pm
    —
I do not get any GPS readings on my Sprint V3m. I downloaded and installed MGMaps v1.30.11 from http://wap.mgmaps.com/ and followed Ram1's post http://forum.mgmaps.com/viewtopic.php?p=1169#1169 on page 8.

I changed the PERM: 1=0 to 1=1 and tried 1=2 in my .txt file:
Code:
PERM: 0=2,1=1,2=0,3=0,4=0,5=0


Once I select Internal GPS in the Settings, the GPS box on the map pops up with (N/A) in the fields and the Bluetooth icon appears in title bar

Is there a test app for the Sprint V3m to see if I can get GPS readings?

This is a GREAT app! Hope to see it go further.

Thanks,
Rick

#145: Re: GPS on Sprint V3m does not work Author: Cristian Streng PostPosted: Sun Jan 07, 2007 8:15 am
    —
rickgtx wrote:
Is there a test app for the Sprint V3m to see if I can get GPS readings?

Yes, you can get it at http://wap.mgmaps.com/alpha3.html.

Cristian

#146: GPS on Sprint V3m works with alpha3 Author: rickgtx PostPosted: Sun Jan 07, 2007 6:14 pm
    —
Cristian, Thanks!!

Cristian Streng wrote:
Yes, you can get it at http://wap.mgmaps.com/alpha3.html.


To recap, I got an error downloading alpha3 to the Sprint V3m and needed to copy it to the phone via Ram1's instructions http://forum.mgmaps.com/viewtopic.php?p=1169#1169 on page 8.

Rick

#147:  Author: gateway PostPosted: Mon Jan 08, 2007 7:57 am
    —
Hi, im also trying to get this to work on my new sprint phone..
Samsung SPHM610 or M610: http://www.phonescoop.com/phones/phone.php?p=1058

anyhow, I tried all versions I could download and no luck yet on the gps, I also just tried to download the alpha3 but when it downloads and installs I get an error saying:

download failed, the issue has been reported, please try again later 910 application authorization failure ??

any ideas on this? sorry I tried to read though most of the posts on this , maybe im missing something.

#148:  Author: itZme PostPosted: Mon Jan 08, 2007 9:02 am
    —
Well, I read all of the thread carefully and then went to work on my LG Fusic. I have the vision package so anytime after 7 I can test anything you would like. I would love to help and can follow directions easily but have no mobile developing experience. I went to the Sprint page and signed up as a developer and enabled my ESN.

There were several limitations listed and I don't know if this is new and will block further attempts but here is the info off the sprint site:

>>>Sprint has restricted access to certain functionality provided to most MIDP 2.0 devices. This functionality consists of:

* JSR-135 Mobile Media 1.1 API
* JSR-120 Wireless Messaging 1.1 API
* JSR-75 Personal information Management
* JSR-179 Location API
* Qualcomm Java Application Extensions (QJAE) Location API

To access the above restricted API's, you may need to complete some pre-work. If you do not already have a certificate from VeriSign, then you must request a Java Class 3 signed certificate at a cost of $499.00 a year paid to VeriSign.<<<

1) I downloaded the ALPHA3 FILE (says 1.28.12 - Nov. 10, 2006 on my phone)
2) I went into BitPim and found the _policy.txt file. In my Fusic it was located at >filesystem>brew>ams>_policy.txt.
3) I backed it up on my hard drive.



4) Then edited with the info supplied by mystica555 and sakha. (copy from "Domain: untrusted" down to "blanket(oneshot): bluetooth" and paste OVER all your "Domain: untrusted in the original file)
5) Then click "FILE" > "SAVE AS" and name it something a bit different so you don't lose the original on your hard drive. (I named mine lg_policy.txt)




6) I overwrote the old _policy.txt file with the new lg_policy.txt file on the phone. (right click the _policy and then choose "overwrite", browse to your new lg_policy.txt file and select it) The name does NOT change on BitPim because you are overwriting the _policy.txt file not replacing it.


7) Reboot the phone with BitPim


Cool When I got to Gmaps on the phone I changed settings to GPS> "internal Sprint" and hit GPS - where am I?

IT WORKS! It located me very accurately. Thank you for the work!

I will help with documenting (better screen shots, better tutorials, whatever) if needed.

Now if I could just get it to locate my daughters phone from this APP I could cancel the family locator service.

One problem I had that was worth noting was that if I changed the _policy.txt file BEFORE downloading your alpha3 app it would get to the end of the download and reboot my phone. I had to reload the old _policy.txt file then get the new alpha3 file THEN overwrite the _policy.txt again to get things working.

Hope this helps somebody out... If anybody doesn't want to sign up for the sprint developer site or is confused PM me with your ESN hex and I will add you to the list of enabled phones so you can get this to work.
-- itZme

#149: Sprint download error 910 Author: rickgtx PostPosted: Mon Jan 08, 2007 5:11 pm
    —
gateway wrote:
download failed, the issue has been reported, please try again later 910 application authorization failure ??

any ideas on this? sorry I tried to read though most of the posts on this , maybe im missing something.


I got the same error. The alpha3 version of Mobile GMaps works with the Sprint RAZR V3m internal GPS so it may work with yours too. It gives you your location plus the normal GMaps functions. You need to copy the files (jad and jar) from http://wap.mgmaps.com/alpha3.html to your PC and follow the instructions from Ram1 at http://forum.mgmaps.com/viewtopic.php?p=1169#1169 to copy them to your phone from your PC. You need P2K to find you MSL and QPST or BitPim to copy the files to your phone. Not sure what edits you need to make for the Samsung phone. Need to check the forum.

#150:  Author: gateway PostPosted: Mon Jan 08, 2007 9:14 pm
    —
thanks, unfortunately my phone didn't come with its sync cable so i have one on order, which as soon as ill get it try the above. telenav seems to work but man why $9.00 a month? crazy..

one thing that I would LOVE, is the ability to geo target photos taken from the cell phone. u can embed the geo location into the exif photo data, or use apps that take the way points recorded and match it with timestamps of your photos taken, i know its sorta off topic but would be awesome Smile

#151:  Author: itZme PostPosted: Tue Jan 09, 2007 5:19 am
    —
Just like to post an update. I went to the sprint developer site today and released my handset so it is no longer "developer enabled". MGMaps is still working fine. I now assume you do not need to enable your phone from the developer site but ONLY need to edit the policy file to get this APP to work as some people suggested.

-- itZme

#152: Success on M610 Author: panthar PostPosted: Tue Jan 09, 2007 7:58 pm
    —
Just wanted to let you know that the alpha3 version worked perfectly on a Samsung M610, with the policy.txt edited. Excellent work on this app!

#153: Re: Sprint download error 910 Author: JohanD PostPosted: Thu Jan 11, 2007 8:16 pm
    —
rickgtx wrote:

I got the same error. The alpha3 version of Mobile GMaps works with the Sprint RAZR V3m internal GPS so it may work with yours too. It gives you your location plus the normal GMaps functions. You need to copy the files (jad and jar) from http://wap.mgmaps.com/alpha3.html to your PC and follow the instructions from Ram1 at http://forum.mgmaps.com/viewtopic.php?p=1169#1169 to copy them to your phone from your PC. You need P2K to find you MSL and QPST or BitPim to copy the files to your phone. Not sure what edits you need to make for the Samsung phone. Need to check the forum.


Thanks all, this looks like a great app!

I'm trying to follow these directions from rickgtx and Ram1 for the V3m, but I'm running into a few issues:

- Permissions: So far I've been unable to give the app location permissions. It always says "Never Allow" in the settings. From poking around with BitPim, it seems that only apps with signatures have location access. This is what I've done:
1. I've enabled enable the developer root on the sprint website. The status is currently listed as "Y", so I assume it worked.
2. Used BitPim to set the location permission to "1" in the app's *.txt file. I can read it back and see that it has been set, but it doesn't seem to have any effect. As mentioned previously by Ram1, I haven't found a policy.txt or an access.txt.

- Alpha3 install: I'm only seeing the .jad file from the web link. Should I be installing a specific .jar file? I've just been downloading the stable release and overwriting the .jad file with the alpha .jad via BitPim. This works fine, aside from the permissions issue that I mentioned.

Have I missed a step somewhere? I also have my MSL code, but I didn't see anything that I was supposed to do with it, aside from using QPST.

Any thoughts would be appreciated.

#154:  Author: itZme PostPosted: Thu Jan 11, 2007 11:27 pm
    —
I don't know about your particular phone but I think they are all pretty much in the same location. In BitPim you click on FileSystem then click the plus sign next to the " / " in the second window pane to expand the FileSystem. On my LG Fusic it was inside the asm folder and it was just called _policy.txt . It had the underscore in the begining of the filename. I read the post by Ram1 and he says "in my case 2.txt in the brew/mod/obione/jas/index directory". The thing you probably weren't aware of is that the BREW folder is inside the FileSystem folder. Let us know how you do after reading this.

Good Luck!
-- itZme

#155:  Author: JohanD PostPosted: Thu Jan 11, 2007 11:45 pm
    —
itZme wrote:
I don't know about your particular phone but I think they are all pretty much in the same location. In BitPim you click on FileSystem then click the plus sign next to the " / " in the second window pane to expand the FileSystem. On my LG Fusic it was inside the asm folder and it was just called _policy.txt . It had the underscore in the begining of the filename. I read the post by Ram1 and he says "in my case 2.txt in the brew/mod/obione/jas/index directory". The thing you probably weren't aware of is that the BREW folder is inside the FileSystem folder. Let us know how you do after reading this.

Good Luck!
-- itZme


Thanks for the reply!

That is actually the directory where my app specific config files are. I've already tried changing the permissions for mgmaps... but haven't found anything like your _policy.txt file that would be for all apps. I think that Ram1 was saying that he didn't fine one, but that his still worked. I could be mistaken though. I'll keep looking.

Thanks again! I'll keep poking around. Let me know if anything else comes to mind.

--Johan

#156:  Author: vfrjim PostPosted: Fri Jan 12, 2007 1:22 pm
    —
I installed version 1.28.16 on my V3m and seems to work fine except, GPS from the internal GPS does not function. Does anyone's work correctly?

#157:  Author: vfrjim PostPosted: Mon Jan 15, 2007 11:44 pm
    —
Anyone?

#158:  Author: Cristian Streng PostPosted: Tue Jan 16, 2007 6:57 am
    —
Did you download the version for sprint phones? The latest is available at http://wap.mgmaps.com/mgmaps_sprint.jad and http://wap.mgmaps.com/mgmaps_sprint.jar. Also, you will need to unlock the phone as described earlier in this thread.

Cristian

#159:  Author: vfrjim PostPosted: Tue Jan 16, 2007 1:51 pm
    —
I am using the latest version for Sprint, but cannot find the __access.txt file using Bitpim, is there one on the V3m? I do appreciate your help.

Jim

#160: error downloading Author: clbowens PostPosted: Thu Jan 18, 2007 7:54 pm
    —
Is anybody else having a problem downloading the Sprint version?

#161: working on samsung A-900M (Sprint) Author: vinod162 PostPosted: Fri Jan 19, 2007 3:50 am
    —
I managed to get the alpha3 release working on my samsung a900m phone.

As mentioned by others above, I had to edit my _policy.txt (via QPST) to remove the restrictions on the gps api.

It pulls the coordinates correctly, but the auto refresh doesnt work properly.
It works as soon as the app is started, but after ~10 seconds it stops refreshing altogether.
At that time, even if I do a GPS-Where am I, it returns the last location where it stopped refreshing. The only way to get the correct coords again is to exit and restart the application.

Is there an updated version for sprint phones?

Thanks a lot for this great app !!

-Vinod

#162:  Author: cwncool PostPosted: Fri Jan 19, 2007 5:57 am
    —
Yeah, I'm getting an error downloading the sprint GPS version. I have a Samsung a920. Do you guys know what might be wrong or what I might do to download/install it correctly? I get the error both from downloading straight from here, and from downloading the individual JAR and JAD and uploading them to a phone uploader service. I'd really like to get this working, so if anyone knew a solution, it'd be great! Thanx!

#163:  Author: Cristian Streng PostPosted: Fri Jan 19, 2007 3:24 pm
    —
cwncool wrote:
Yeah, I'm getting an error downloading the sprint GPS version. I have a Samsung a920. Do you guys know what might be wrong or what I might do to download/install it correctly? I get the error both from downloading straight from here, and from downloading the individual JAR and JAD and uploading them to a phone uploader service. I'd really like to get this working, so if anyone knew a solution, it'd be great!

Hmm... what kind of error do you get? Any specific error message?

Cristian

#164: Re: working on samsung A-900M (Sprint) Author: Cristian Streng PostPosted: Fri Jan 19, 2007 3:26 pm
    —
vinod162 wrote:
Is there an updated version for sprint phones?

Yes, there's an updated version available on the download page or directly at http://wap.mgmaps.com/mgmaps_sprint.jad. Let us know if this new version works fine.

Cristian

#165: Sprint version download error Author: clbowens PostPosted: Fri Jan 19, 2007 6:16 pm
    —
i get the error: The requested page can not be displayed.

#166: Re: working on samsung A-900M (Sprint) Author: itZme PostPosted: Fri Jan 19, 2007 6:20 pm
    —
Cristian Streng wrote:
vinod162 wrote:
Is there an updated version for sprint phones?

Yes, there's an updated version available on the download page or directly at http://wap.mgmaps.com/mgmaps_sprint.jad. Let us know if this new version works fine.

Cristian


I just grabbed this version from my phone at the WAP address and it works fine on my Sprint LG Fusic. I will test out the refreshing capabilities later today when I go somewhere. I did set the backlight to "always on" and it is flashing about every 3 seconds right now. I thought I saw something posted about this problem on the forums so I will go look for that now.

Thanks to Cristian for your continued development on this great application Smile

-- itZme

#167: Help needed on A900m Author: bboons PostPosted: Fri Jan 19, 2007 6:29 pm
    —
I have a Samsung A900m phone and I've been desperately trying to run this app on the phone. I must have spent a couple of hours in reading all of the information on this forum but I'm missing quite a bit of stuff.
First off I tried downloading the latest Sprint version of the App. from wap.mgmaps.com, the application gets downloaded but the install fails with a "910" error. The generic version installs fine but the GPS feature does not work. I keep seeing a lot of posts about a hack to somehow install the app and enabling GPS access but looks like that post might be deleted or edited out because I just cannot find the post.
If you are successfully using this app on a A900m please let me know how you have done it.
Appreciate all help.

#168: Re: Sprint version download error Author: Cristian Streng PostPosted: Fri Jan 19, 2007 8:38 pm
    —
clbowens wrote:
i get the error: The requested page can not be displayed.

Try emptying your cache on your phone, or hit reload on your computer - the link may have been non-functional yesterday as I made some changes on the WAP server. It's definitely functional now and it points to the JAD file. The JAR file is at http://wap.mgmaps.com/mgmaps_sprint.jar.

Cristian

#169: Re: working on samsung A-900M (Sprint) Author: Cristian Streng PostPosted: Fri Jan 19, 2007 8:40 pm
    —
itZme wrote:
I just grabbed this version from my phone at the WAP address and it works fine on my Sprint LG Fusic. I will test out the refreshing capabilities later today when I go somewhere. I did set the backlight to "always on" and it is flashing about every 3 seconds right now. I thought I saw something posted about this problem on the forums so I will go look for that now.

Yeah, the backlight is still not functional on all phones. Did it work before? I mean have you tried setting the backlight to "always on" in the previous version of mgmaps that you had?

#170:  Author: itZme PostPosted: Fri Jan 19, 2007 10:42 pm
    —
No I had never tried the "always on" backlight function for this program until today. I have found a program that lights all the pixels on the screen at once to use the display as a flashlight and it works on my phone. I can point you to that program if it would help you find out why it goes on and off in your app.

#171: Re: working on samsung A-900M (Sprint) Author: vinod162 PostPosted: Sat Jan 20, 2007 1:15 am
    —
Cristian Streng wrote:
vinod162 wrote:
Is there an updated version for sprint phones?

Yes, there's an updated version available on the download page or directly at http://wap.mgmaps.com/mgmaps_sprint.jad. Let us know if this new version works fine.

Cristian


The new version has the same problem. When I exit and restart the application, I get the correct coordinates.
Auto refresh works a couple of times as soon as the app is started, but then it stops refreshing. (The GPS indicator is always red)

Thanks

#172: Re: Help needed on A900m Author: vinod162 PostPosted: Sat Jan 20, 2007 1:23 am
    —
bboons wrote:
I have a Samsung A900m phone and I've been desperately trying to run this app on the phone. I must have spent a couple of hours in reading all of the information on this forum but I'm missing quite a bit of stuff.
First off I tried downloading the latest Sprint version of the App. from wap.mgmaps.com, the application gets downloaded but the install fails with a "910" error. The generic version installs fine but the GPS feature does not work. I keep seeing a lot of posts about a hack to somehow install the app and enabling GPS access but looks like that post might be deleted or edited out because I just cannot find the post.
If you are successfully using this app on a A900m please let me know how you have done it.
Appreciate all help.


I have an A900M and the app works on my phone (almost Smile)

First off, you need QPST to access your phone's filesystem. You can google it. You will need your MSL to access your phone. You can get this from Sprint by calling them.
Next, you need to edit _policy.txt to allow unsigned apps to access the gps. The details are mentioned in this thread (a few pages back).

Then download the app from this location.
http://wap.mgmaps.com/mgmaps_sprint.jad

and it should work.

PM me if you have any further questions.

-Vinod

#173: samsung a920 Author: Hyatt PostPosted: Sat Jan 20, 2007 4:48 am
    —
Hey guys I'm having the same problem that Vinod162 is having earlier in this forum " As mentioned by others above, I had to edit my _policy.txt (via QPST) to remove the restrictions on the gps api.

It pulls the coordinates correctly, but the auto refresh doesnt work properly.
It works as soon as the app is started, but after ~10 seconds it stops refreshing altogether.
At that time, even if I do a GPS-Where am I, it returns the last location where it stopped refreshing. The only way to get the correct coords again is to exit and restart the application." Any Ideas how we can fix this?
Keep up the good work.

#174:  Author: Cristian Streng PostPosted: Sat Jan 20, 2007 9:19 am
    —
itZme wrote:
No I had never tried the "always on" backlight function for this program until today. I have found a program that lights all the pixels on the screen at once to use the display as a flashlight and it works on my phone. I can point you to that program if it would help you find out why it goes on and off in your app.

Yes, that would help - thanks.

#175: Re: samsung a920 Author: Cristian Streng PostPosted: Sat Jan 20, 2007 9:24 am
    —
Hyatt wrote:
It pulls the coordinates correctly, but the auto refresh doesnt work properly. It works as soon as the app is started, but after ~10 seconds it stops refreshing altogether.
At that time, even if I do a GPS-Where am I, it returns the last location where it stopped refreshing. The only way to get the correct coords again is to exit and restart the application." Any Ideas how we can fix this?
Keep up the good work.

No ideas yet, but I'll keep investigating. Some other users reported that it works just fine and continues to refresh on the LG Fusic - maybe the problems only occur on samsung a900/a920.

Cristian

#176: Re: Help needed on A900m Author: bboons PostPosted: Sat Jan 20, 2007 6:15 pm
    —
Quote:

I have an A900M and the app works on my phone (almost Smile)

First off, you need QPST to access your phone's filesystem. You can google it. You will need your MSL to access your phone. You can get this from Sprint by calling them.
Next, you need to edit _policy.txt to allow unsigned apps to access the gps. The details are mentioned in this thread (a few pages back).

Then download the app from this location.
http://wap.mgmaps.com/mgmaps_sprint.jad

and it should work.

PM me if you have any further questions.

-Vinod

Vinod, Thanks for the help. The changes that needed to be made to policy.txt is not available in this thread. Anyway I managed to find the relevant info from sprintusers.com forum. I got the app to install and work with the internal GPS finally!
I have not tested the refresh yet, I'll try that soon and post my feedback.

Great App guys!

#177: Re: Help needed on A900m Author: Cristian Streng PostPosted: Sat Jan 20, 2007 6:41 pm
    —
bboons wrote:
Quote:

I have an A900M and the app works on my phone (almost Smile)

First off, you need QPST to access your phone's filesystem. You can google it. You will need your MSL to access your phone. You can get this from Sprint by calling them.
Next, you need to edit _policy.txt to allow unsigned apps to access the gps. The details are mentioned in this thread (a few pages back).

Then download the app from this location.
http://wap.mgmaps.com/mgmaps_sprint.jad

and it should work.

PM me if you have any further questions.

-Vinod

Vinod, Thanks for the help. The changes that needed to be made to policy.txt is not available in this thread. Anyway I managed to find the relevant info from sprintusers.com forum. I got the app to install and work with the internal GPS finally!
I have not tested the refresh yet, I'll try that soon and post my feedback.

Great App guys!

Great - can you let us know the exact thread in that forum? With that info I should be able to put together a document with installation instructions for Sprint GPS features.

Cristian

#178: Re: samsung a920 Author: brucebond PostPosted: Sat Jan 20, 2007 9:15 pm
    —
Hyatt wrote:
Hey guys I'm having the same problem that Vinod162 is having earlier in this forum " As mentioned by others above, I had to edit my _policy.txt (via QPST) to remove the restrictions on the gps api.

It pulls the coordinates correctly, but the auto refresh doesnt work properly.
It works as soon as the app is started, but after ~10 seconds it stops refreshing altogether.
At that time, even if I do a GPS-Where am I, it returns the last location where it stopped refreshing. The only way to get the correct coords again is to exit and restart the application." Any Ideas how we can fix this?
Keep up the good work.


I have same issue using the V3m. Great Job, Christian

#179: Detail instructions for the Sprint RAZR V3m Author: rickgtx PostPosted: Sat Jan 20, 2007 9:46 pm
    —
Arrow Updated Feb 14, 2007.

These instructions are for the Sprint RAZR V3m when downloading OTA fails. Other phones may differ.

Here are some detail instructions.

Atempting to download the Sprint GMaps OTA [over the air] with your Sprint V3m you may get "Error: This issue has been reported. Please try again later. 910 or 904" . I tried the Sprint internal browser, Opera Mini, and even http://rumkin.com/tools/sprint/index.php once I had the files on my PC.

You need to download the xxx.jad and xxx.jar files listed in step 2 to your PC and copy them to your phone.

To do this, use BitPim or QPST to copy the files to your phone. You need P2K to find you MSL (P2K Offset 0055. Six digits) for QPST. You can get P2K and BitPim from http://hacktherazr.com/downloads.html and QPST from http://cellular-support.com/downloads/details.php?file=339.

Details of the location of the files and PERM: values are at http://www.sprintusers.com/forum/showthread.php?t=91504

1.) Install a version of GMaps that will install to set up the files and directories needed. The generic version works fine. See http://www.mgmaps.com/download.php. If you cannot download any version OTA, copy any xx.txt file that you have and rename it nn.txt for step 3. Make sure nn.txt does not exist.

2.) Download mgmaps_alpha-3jad and mgmaps_alpha-3.jar to your PC.
http://wap.mgmaps.com/signed/mgmaps_sprint.jad
http://wap.mgmaps.com/signed/mgmaps_sprint.jar
-- or -- Unsigned versions:
http://wap.mgmaps.com/mgmaps_alpha-3.jad
http://wap.mgmaps.com/mgmaps_alpha-3.jar

3.) With QPST or BitPim look in brew/mod/obione/jas/index/ for the GMaps nn.txt file. "NAME: Mobile GMaps" appears near the bottom of the file. In my case it was 18.txt. So I'll use 18 as the example, but use your nn in practice. So, I'm interested in these files:
- brew/mod/obione/jas/index/18.txt
- motorola/shared/jas/content/18.jad
- motorola/shared/jas/content/18.jar

4.) Change the line PERM: 1=0 to 1=1 in the 18.txt file.
PERM: 0=2,1=1,2=0,3=0,4=0,5=0
There is no _policy.txt on the Sprint V3m.

5.) Rename the xxx.jad and xxx.jar you downloaded in step 2 to 18.jad and 18.jar and copy to motorola/shared/jas/content replacing the GMAPS jad and jar you had installed in step 1.


Last edited by rickgtx on Wed Feb 14, 2007 2:55 pm; edited 6 times in total

#180: Re: Detail instructions for the Sprint RAZR V3m Author: JohanD PostPosted: Sun Jan 21, 2007 5:55 pm
    —
rickgtx wrote:
JohanD wrote:
- Alpha3 install: I'm only seeing the .jad file from the web link. Should I be installing a specific .jar file? I've just been downloading the stable release and overwriting the .jad file with the alpha .jad via BitPim. This works fine, aside from the permissions issue that I mentioned.

Have I missed a step somewhere? I also have my MSL code, but I didn't see anything that I was supposed to do with it, aside from using QPST.

Any thoughts would be appreciated.

Now alpha3 is mgmaps_sprint.jad. The jad contains the link to the jar file. You can see it with Notepad, but I list it below. Here are some detail instructions.

Atempting to download the Sprint GMaps OTA [over the air] with your V3m phone from this location http://wap.mgmaps.com/mgmaps_sprint.jad on the Sprint V3m you get "Error: This issue has been reported. Please try again later. 910" . I tried the Sprint internal browser, Opera Mini, and even http://rumkin.com/tools/sprint/index.php once I had the files on my PC.

You need to download mgmaps_sprint.jad and mgmaps_sprint.jar to your PC and copy them to your phone.

To do this, you need P2K to find you MSL (P2K Offset 0055. Six digits) and QPST or BitPim to copy the files to your phone. You can get P2K and BitPim from http://hacktherazr.com/downloads.html and QPST from http://cellular-support.com/downloads/details.php?file=339. I could not get BitPim to work so I use QPST.

jessesanforn discusses the location of the files and PERM: values at http://forum.mgmaps.com/viewtopic.php?p=623#623

1.) Install a version of GMaps that will install to set up the files and directories needed. The generic version works fine. See http://www.mgmaps.com/download.php.

2.) Download mgmaps_sprint.jad and mgmaps_sprint.jar to your PC.
http://wap.mgmaps.com/mgmaps_sprint.jad
http://wap.mgmaps.com/mgmaps_sprint.jar

3.) With QPST or BitPim look in brew/mod/obione/jas/index/ for the GMaps nn.txt file. "NAME: Mobile GMaps" appears near the bottom of the file. In my case it was 18.txt. So I'll use 18 as the example, but use your nn in practice. So, I'm interested in these files:
- brew/mod/obione/jas/index/18.txt
- motorola/shared/jas/content/18.jad
- motorola/shared/jas/content/18.jar

4.) Change the line PERM: 1=0 to 1=1 in the 18.txt file.
PERM: 0=2,1=1,2=0,3=0,4=0,5=0
There is no my_policy.txt on the Sprint V3m.

5.) Rename mgmaps_sprint.jad and mgmaps_sprint.jar to 18.jad and 18.jar and copy to motorola/shared/jas/content replacing the GMAPS jad and jar you had installed in step 1.


OMG it worked!!!!!!!!!

I thought I had done all of this before... but for some reason it worked this time. I credit your excellent instructions. Thanks!!!!! I'm glad to help test any new releases now that I've gotten it to work.

#181:  Author: gateway PostPosted: Sun Jan 21, 2007 7:34 pm
    —
how do u get pk2 to recognize your device? i have a spring sph m610

#182: Pk2/MSL Author: JohanD PostPosted: Sun Jan 21, 2007 7:43 pm
    —
gateway wrote:
how do u get pk2 to recognize your device? i have a spring sph m610


I only used BitPim. (never got Pk2 to work) Using BitPim, I didn't need Pk2 to get the MSL. BitPim just worked. QPST needs the MSL. I actually just called sprint customer service and asked for my MSL and they gave it to me.

#183:  Author: rickgtx PostPosted: Sun Jan 21, 2007 9:22 pm
    —
gateway wrote:
how do u get pk2 to recognize your device? i have a spring sph m610

P2K needs help to access your phone. Either MSU or PST needs to running with P2K. P2K is primary for SEEM editing. You need to find the setup for sph m610. For V3m instructions see http://hacktherazr.com/guide.seem.edit.html or http://www.motov3m.com/tiki-index.php?page=SEEM

#184: Sprint a920 Author: Hyatt PostPosted: Mon Jan 22, 2007 2:12 am
    —
I would like to know exactly what I need to edit in the policy.txt file for my A920. I edited it but I'm not 100% sure I did it right since my mgmaps isn't getting a gps reading after about ~10 seconds.
Can anyone help please

#185: Re: Help needed on A900m Author: bboons PostPosted: Mon Jan 22, 2007 3:23 pm
    —
Cristian Streng wrote:

Great - can you let us know the exact thread in that forum? With that info I should be able to put together a document with installation instructions for Sprint GPS features.

Cristian

I was referring to the thread at http://www.sprintusers.com/forum/showthread.php?t=111299 . I made the suggested changes to the _policy.txt file except for the allow:bluetooth (I was not comfortable opening up bluetooth access to all programs).

#186: Re: Sprint a920 Author: sakha PostPosted: Tue Jan 23, 2007 7:47 am
    —
Hyatt wrote:
I would like to know exactly what I need to edit in the policy.txt file for my A920. I edited it but I'm not 100% sure I did it right since my mgmaps isn't getting a gps reading after about ~10 seconds.
Can anyone help please


Well you got to edit the policy file and allow all kinds of permissions, maybe even bluetooth permissions, you will find the exact details in this thread somewhere on the first 5 pages, i have posted the detail file.

As far as getting the GPS fix updated, that is somewhat a little wacky currently.
Cristian, btw i got the latest version of the app working on my phone, here is something weird i noticed, if i shut bluetooth off, the GPS was not auto updating, dunno why.
GPS autoupdate feature works off and on, if i were to click some buttons then the auto update seems to stop working.
Anyways, hopefully this would get fixed sometime.
A nice to have feature would be for the search to pick up the current GPS co-ordinates and use them for searching, instead of having to type in the location.
Cheers,
-Sachin

#187: Samsung a920 Author: Hyatt PostPosted: Tue Jan 23, 2007 12:07 pm
    —
Ok, I have edited the policy.txt as described in the earlier posts. I just wasn't sure I did it right but I guess I did. Changing my gps refresh rate doesn't seem to effect how fast it refreshes, also the refresh seems to work longer if you have it set to "marker" instead of "move map". I am also getting a lot of error and debug in my log

#188: Re: Sprint a920 Author: Cristian Streng PostPosted: Tue Jan 23, 2007 9:47 pm
    —
sakha wrote:
As far as getting the GPS fix updated, that is somewhat a little wacky currently.
Cristian, btw i got the latest version of the app working on my phone, here is something weird i noticed, if i shut bluetooth off, the GPS was not auto updating, dunno why.
GPS autoupdate feature works off and on, if i were to click some buttons then the auto update seems to stop working.
Anyways, hopefully this would get fixed sometime.

I know that happens on many Sprint phones, I hope I'll track it down and fix it soon.

sakha wrote:
A nice to have feature would be for the search to pick up the current GPS co-ordinates and use them for searching, instead of having to type in the location.

I'm adding this feature to v1.31.02, that will have a Sprint release too to replace v1.28.16.

Cristian

#189:  Author: gateway PostPosted: Wed Jan 24, 2007 4:00 am
    —
hmm great no valid usb drivers for the m610 yet.. just my luck and i spent like 4 hrs on Sunday trying various drivers etc. Seems like im not the only one with that issue as well from the sprint users forum.

i know this may of been discussed before but what other method can we do with out all these hacks, dont u need just the verisign cert set up? if so im sure we can all chip in.

#190:  Author: sakha PostPosted: Thu Jan 25, 2007 1:59 am
    —
gateway wrote:
hmm great no valid usb drivers for the m610 yet.. just my luck and i spent like 4 hrs on Sunday trying various drivers etc. Seems like im not the only one with that issue as well from the sprint users forum.

i know this may of been discussed before but what other method can we do with out all these hacks, dont u need just the verisign cert set up? if so im sure we can all chip in.


Here is a link to a cable with drivers.
http://cgi.ebay.com/USB-DATA-CABLE-For-SAMSUNG-SCH-U420-Nimbus-SPH-M610_W0QQitemZ180065835344QQcmdZViewItem

As far as hack goes that is the only known method, u have to enable developer root on the phone and change the policy file for this to work.

As far as verisign certificate goes, it has been discussed before, it is very expensive, $400 Evil or Very Mad per year.

#191: Re: Sprint a920 Author: sakha PostPosted: Thu Jan 25, 2007 2:01 am
    —
Cristian Streng wrote:
sakha wrote:
As far as getting the GPS fix updated, that is somewhat a little wacky currently.
Cristian, btw i got the latest version of the app working on my phone, here is something weird i noticed, if i shut bluetooth off, the GPS was not auto updating, dunno why.
GPS autoupdate feature works off and on, if i were to click some buttons then the auto update seems to stop working.
Anyways, hopefully this would get fixed sometime.

I know that happens on many Sprint phones, I hope I'll track it down and fix it soon.

sakha wrote:
A nice to have feature would be for the search to pick up the current GPS co-ordinates and use them for searching, instead of having to type in the location.

I'm adding this feature to v1.31.02, that will have a Sprint release too to replace v1.28.16.

Cristian


Sounds great, i will also do some more testing with the Garmin Mobile app to see how that one works, it seemed to be working fine last night, it even gives out audio directions, which is quite nifty. Sprint has a one month promotion for the app,so I am trying it out right now.

Lemme know if you want me to check anything in particular and i will be more than happy to do so.
Sachin

#192:  Author: errorLocation: USA PostPosted: Thu Jan 25, 2007 2:13 am
    —
I don't have a data cable Sad

Is there any other way?

#193:  Author: gateway PostPosted: Thu Jan 25, 2007 5:59 am
    —
sakha wrote:


Here is a link to a cable with drivers.
http://cgi.ebay.com/USB-DATA-CABLE-For-SAMSUNG-SCH-U420-Nimbus-SPH-M610_W0QQitemZ180065835344QQcmdZViewItem

As far as hack goes that is the only known method, u have to enable developer root on the phone and change the policy file for this to work.

As far as verisign certificate goes, it has been discussed before, it is very expensive, $400 Evil or Very Mad per year.


in the skeem of things $400 a year isnt that bad, I mean Ill chip in for it, and i think maybe the app down the road could sell for $5-10 per shot, doing these hacks while great and all doesnt really work for any general person and if you really want to develope a great product some times cash has to go in hand, believe me i have alot products on shelves, and in the net that I have dumped my money into.. how about setting up a paypal account and having people donate, I think the things coming with this product such as web service , potentially logging of gps cords to a file and camera posting of geo coded images is well worth a small amount to use this product.

maybe im wrong.

#194: Re: Sprint a920 Author: Cristian Streng PostPosted: Thu Jan 25, 2007 9:12 am
    —
sakha wrote:
Sounds great, i will also do some more testing with the Garmin Mobile app to see how that one works, it seemed to be working fine last night, it even gives out audio directions, which is quite nifty. Sprint has a one month promotion for the app,so I am trying it out right now.

Yeah, there are a few commercial GPS applications that provide lots of features like directions, route planning, and so on - for example TomTom, Route66, iGo, Garmin Mobile. I don't know which of these work on your phone and which don't, but there a few main differences between these and Mobile GMaps:
  • MGMaps uses raster maps (bitmaps), while the other applications use vectorial maps. This means (among other things) that the other apps cannot display aerial imagery.
  • MGMaps loads maps online, the other applications store the maps on the device.
  • MGMaps is free, those other apps are not.

Cristian

#195:  Author: Cristian Streng PostPosted: Thu Jan 25, 2007 9:26 am
    —
gateway wrote:
in the skeem of things $400 a year isnt that bad, I mean Ill chip in for it, and i think maybe the app down the road could sell for $5-10 per shot, doing these hacks while great and all doesnt really work for any general person and if you really want to develope a great product some times cash has to go in hand, believe me i have alot products on shelves, and in the net that I have dumped my money into.. how about setting up a paypal account and having people donate, I think the things coming with this product such as web service , potentially logging of gps cords to a file and camera posting of geo coded images is well worth a small amount to use this product.

I agree, $400 or $500/year is not expensive for a commercial application, but it is too much for a free one. Selling the application is not really an option considering Google's terms of service for the maps, and considering there are other similar free applications - for example Google's own maps for mobile. I had a donate button on the main page, but I removed it as people really didn't seem to notice it Smile (maybe because it wasn't paypal, paypal is not available where I live). I'll think about having some kind of (paid) web services for mgmaps, but it's still something I'm not very clear about.

Cristian

#196: New Sprint GPS release Author: Cristian Streng PostPosted: Thu Jan 25, 2007 8:56 pm
    —
Hi guys,

I have updated the Sprint GPS release of mgmaps to the latest code in v1.31.02. You can download an alpha version from http://wap.mgmaps.com/alpha3.html — besides all the new features added with v1.3x I have also included a fix attempt for the tracking problems in the Sprint version, so I'd appreciate it if anyone could test it.

Cristian Streng
http://www.mgmaps.com

#197: Re: New Sprint GPS release Author: sakha PostPosted: Thu Jan 25, 2007 9:38 pm
    —
Cristian Streng wrote:
Hi guys,

I have updated the Sprint GPS release of mgmaps to the latest code in v1.31.02. You can download an alpha version from http://wap.mgmaps.com/alpha3.html besides all the new features added with v1.3x I have also included a fix attempt for the tracking problems in the Sprint version, so I'd appreciate it if anyone could test it.

Cristian Streng
http://www.mgmaps.com

Hello Cristian,
I am testing the new version, it installed correctly, but ho do i perform the GPS lookup/fix, the older version had a menu option "Services->GPS Where Am I " which is missing in this new version
Pls lemme know, if i need to do it some other way.
Thx a lot, for updating the Sprint version.
-Sachin

#198: Re: New Sprint GPS release Author: Cristian Streng PostPosted: Thu Jan 25, 2007 9:47 pm
    —
sakha wrote:
Hello Cristian,
I am testing the new version, it installed correctly, but ho do i perform the GPS lookup/fix, the older version had a menu option "Services->GPS Where Am I " which is missing in this new version
Pls lemme know, if i need to do it some other way.
Thx a lot, for updating the Sprint version.
-Sachin

Now it's inside the GPS menu (#6 in the main menu). You can also try to enable "Mobile Tracking" (that's the old GPS Sync stuff). The GPS Device should be set to "Internal" before any of these options are visible.

Cristian

#199: Sprint GPS not working Author: Hyatt PostPosted: Thu Jan 25, 2007 9:53 pm
    —
Ok Cristian, I installed the new sprinr version on my A920 and I can't get the GPS to work, do we need to edit anything on this new version? Everything else works great! Just no GPS at all. Hyatt

#200: Re: Sprint GPS not working Author: Cristian Streng PostPosted: Thu Jan 25, 2007 9:55 pm
    —
Hyatt wrote:
Ok Cristian, I installed the new sprinr version on my A920 and I can't get the GPS to work, do we need to edit anything on this new version? Everything else works great! Just no GPS at all. Hyatt

OK, what happens when you set the GPS device to Internal? Doesn't it work?

Cristian

#201: GPS on Sprint not working Author: Hyatt PostPosted: Thu Jan 25, 2007 10:24 pm
    —
I double checked my GPS settings and even restarted the app. to be sure and the GPS still isn't working. I also have my policy.txt modified as described earlier in this forum. Thanks for your hard work. Hyatt

#202:  Author: Cristian Streng PostPosted: Thu Jan 25, 2007 10:25 pm
    —
Does it say anything in Help/Debug Log? (any error or GPS-related message)

#203:  Author: Cristian Streng PostPosted: Thu Jan 25, 2007 10:46 pm
    —
Ah, you're right, I just found the problem - I forgot to initialize the GPS somewhere in the code. Smile Try to download it again from http://wap.mgmaps.com/alpha3.html.

Cristian

#204: Error message Author: Hyatt PostPosted: Thu Jan 25, 2007 10:52 pm
    —
An exception has occured! exception class javax.microedition. rms. Invalidrecordidexception, message: null, description: error loading settings, loading defaults Does this help?

#205:  Author: Cristian Streng PostPosted: Thu Jan 25, 2007 10:55 pm
    —
No - that means it can't load the settings saved by a previous version you had installed. Have you re-downloaded it the jad/jar files for the alpha? I found a bug and fixed it.

Cristian

#206:  Author: sakha PostPosted: Thu Jan 25, 2007 11:10 pm
    —
Cristian Streng wrote:
Ah, you're right, I just found the problem - I forgot to initialize the GPS somewhere in the code. Smile Try to download it again from http://wap.mgmaps.com/alpha3.html.

Cristian


Cool
Works!!! Hurray.
Thanks a lot.
Even local search now works taking GPS co-ordinates.
Will test more about the tracking capabilities in the evening on my way home from work.
Cool, again thanks a lot.
-Sachin

#207: Re: Sprint a920 Author: sakha PostPosted: Thu Jan 25, 2007 11:16 pm
    —
Cristian Streng wrote:
sakha wrote:
Sounds great, i will also do some more testing with the Garmin Mobile app to see how that one works, it seemed to be working fine last night, it even gives out audio directions, which is quite nifty. Sprint has a one month promotion for the app,so I am trying it out right now.

Yeah, there are a few commercial GPS applications that provide lots of features like directions, route planning, and so on - for example TomTom, Route66, iGo, Garmin Mobile. I don't know which of these work on your phone and which don't, but there a few main differences between these and Mobile GMaps:
  • MGMaps uses raster maps (bitmaps), while the other applications use vectorial maps. This means (among other things) that the other apps cannot display aerial imagery.
  • MGMaps loads maps online, the other applications store the maps on the device.
  • MGMaps is free, those other apps are not.

Cristian


Cristian,
I didnt mean to offend you in any way.
U absolutely rock, and have created a fantastic app.
I was just think aloud as to what kind of potential functionality this app can one day have so as to rival the commercial apps. It is already not very far from the commercial one.
Ofcourse nothing beats FREE !!! Razz

BTW is getting directions very hard to do? especially with google maps? i thought they had some kind of API to do that, but i am a noob, so you can always ignore my comments if i said something silly.

Also if you need any help at all, i would be more than willing to do that, be it monetary or helping with some of the coding.
Cheers
-Sachin

#208:  Author: sakha PostPosted: Thu Jan 25, 2007 11:21 pm
    —
Also whatever changes you made, the GPS accuracy is become very perfect now, it pinpointed my location to within 100 ft, very impressive!!!

#209: gps tracking Author: Hyatt PostPosted: Thu Jan 25, 2007 11:21 pm
    —
GPS Is working now but I think I am still having a problem. There is two places to turn gps tracking on but i think the tracking is turning itself off?

#210: Re: gps tracking Author: sakha PostPosted: Fri Jan 26, 2007 12:34 am
    —
Hyatt wrote:
GPS Is working now but I think I am still having a problem. There is two places to turn gps tracking on but i think the tracking is turning itself off?


I agree, GPS tracking is not working, by that i mean auto tracking is not working, i did a quick test i walked outside around the office for 2-3 blocks to test it, it did not auto update, although if i did GPS->Where Am I, manually it did work. The manual portion is a lottle iffy though, it works for some time and then it just stops working, i have to restart the app for it to work.

#211:  Author: Conner PostPosted: Fri Jan 26, 2007 1:06 am
    —
It's my first post, but I've been following this thread (and trying all of the new alpha revisions) for a few weeks now.

First, has anyone been able to get this last alpha (or any previous revision) to work on a Samsung A900M? I know that the GPS functions on the A900 are no good, but rumor is that the A900M works, even if Sprint doesn't want to gamble and say it does (then support it).

I have modified my _policy.txt (both full open, and with just the allow: gps_api modified). I've also signed up on the Sprint Developer site, and enabled my phone. I've tried turning on/off my Bluetooth (usually I keep it off to save the battery), as someone mentioned they had an issue with this.

I have only once (several versions back) been able to get any GPS report from my phone, and that placed me about an hours drive SSE of my location. The rest of the time, the software just reports my GPS location has not been determined.

For anybody who has made MGMaps GPS work (somewhat) on their A900M, what actions (and their order) have you taken?

#212: GPS Tracking Author: Hyatt PostPosted: Fri Jan 26, 2007 1:48 am
    —
Ok, I was turning the gps tracking off myself, wasnt looking at it close enough, thought the "Turn GPS tracking off" meant it GPS was "On". My bad. I still think the gps tracking is stopping after a few minutes now. Will do further testing and let you know.

Thanks again

#213:  Author: gateway PostPosted: Fri Jan 26, 2007 2:20 am
    —
I think what ever you do your hard work should not go unnoticed, its just unfortunate that a nice app has to be hindered by sprint , I do realize why they require this also.

I think if you maybe figured out a way for people to donate easily I think we could get the sprint users to pull some cash out of pocket to get a working non hacked version of the product. IM more than willing to donate as well.

comments from the sprint people?

#214: debug messages Author: Hyatt PostPosted: Fri Jan 26, 2007 3:28 am
    —
Ok Cristian, I checked my log after clearing it then restarting MGmaps and i get a ton of debug messages like 03:19:08.705:DEBUG:GPS:Lat:1238912 / Long: -12983752. I made up the lat and long but after some of the Lat and Long it says "downloaded 8718 bytes and i get another DEBUG:Downloading http://mt0.google.com/mt?n=404&v=w2.37&x=4318&y=6482&zoom=3. Also I have been getting an ERROR Message that says "30:19:41.896: ERROR: GPS: ERROR: Unspecified error". Let me know if this helps. Thanks again

Hyatt

#215:  Author: brucebond PostPosted: Fri Jan 26, 2007 5:54 am
    —
Cristian Streng wrote:
No - that means it can't load the settings saved by a previous version you had installed. Have you re-downloaded it the jad/jar files for the alpha? I found a bug and fixed it.

Cristian


Where's the jar file?

#216: Re: debug messages Author: Cristian Streng PostPosted: Fri Jan 26, 2007 6:42 am
    —
brucebond wrote:
Where's the jar file?

http://wap.mgmaps.com/mgmaps-alpha-3.jar

Hyatt wrote:
Ok, I was turning the gps tracking off myself, wasnt looking at it close enough, thought the "Turn GPS tracking off" meant it GPS was "On". My bad. I still think the gps tracking is stopping after a few minutes now. Will do further testing and let you know.

Hmm... you're right, maybe it's not the most fortunate naming, I'll see what I can change (maybe I'll add an info screen to tell the user that GPS was turned on or off).

sakha wrote:
I agree, GPS tracking is not working, by that i mean auto tracking is not working, i did a quick test i walked outside around the office for 2-3 blocks to test it, it did not auto update, although if i did GPS->Where Am I, manually it did work. The manual portion is a lottle iffy though, it works for some time and then it just stops working, i have to restart the app for it to work.

OK, I'll investigate... Can you explain what's happening with the "manual portion"? Do you get any error message when it stops working?

Hyatt wrote:
Ok Cristian, I checked my log after clearing it then restarting MGmaps and i get a ton of debug messages like 03:19:08.705:DEBUG:GPS:Lat:1238912 / Long: -12983752. I made up the lat and long but after some of the Lat and Long it says "downloaded 8718 bytes and i get another DEBUG:Downloading http://mt0.google.com/mt?n=404&v=w2.37&x=4318&y=6482&zoom=3.

These are all normal messages (they are below "debug messages"), nothing to worry about.

Hyatt wrote:
Also I have been getting an ERROR Message that says "03:19:41.896: ERROR: GPS: ERROR: Unspecified error". Let me know if this helps. Thanks again.

This on the other hand doesn't sound good, since it's an unspecified error. Does it give any other message? You should get both an error "description" and an error "message".

Cristian

#217: Re: Sprint a920 Author: Cristian Streng PostPosted: Fri Jan 26, 2007 7:30 am
    —
sakha wrote:
I was just think aloud as to what kind of potential functionality this app can one day have so as to rival the commercial apps. It is already not very far from the commercial one.

Sure, but you have to consider the fact that the map tiles displayed are copyright by google (and their partners) and they can't be included in commercial applications, especially since they also have a similar mobile implementation of google maps. So MGMaps is not going to turn commercial any time soon (probably never).

sakha wrote:
BTW is getting directions very hard to do? especially with google maps? i thought they had some kind of API to do that, but i am a noob, so you can always ignore my comments if i said something silly.

Yes, they have an API, but it's javascript - it can only be used on web sites for mashups.

sakha wrote:
Also whatever changes you made, the GPS accuracy is become very perfect now, it pinpointed my location to within 100 ft, very impressive!!!

Great, I'm going to set this "alpha" version as the default for Sprint GPS.

sakha wrote:
Also if you need any help at all, i would be more than willing to do that, be it monetary or helping with some of the coding.

gateway wrote:
I think what ever you do your hard work should not go unnoticed, its just unfortunate that a nice app has to be hindered by sprint , I do realize why they require this also.

I think if you maybe figured out a way for people to donate easily I think we could get the sprint users to pull some cash out of pocket to get a working non hacked version of the product. IM more than willing to donate as well.

comments from the sprint people?

Thanks guys, I'll let you know if I manage to somehow get access to paypal. It really sucks that they support so few countries for receiving money.

Cristian

#218: GPS on Sprint Author: Hyatt PostPosted: Fri Jan 26, 2007 12:01 pm
    —
Just wanted to let you know Cristian that since I had the GPS working (even on the previous version) its been very accurate. I would say about 99% its within a few feet and never more than fifty feet. Keep up the good work. Hyatt

#219:  Author: bboons PostPosted: Fri Jan 26, 2007 2:14 pm
    —
Conner wrote:
It's my first post, but I've been following this thread (and trying all of the new alpha revisions) for a few weeks now.
...
For anybody who has made MGMaps GPS work (somewhat) on their A900M, what actions (and their order) have you taken?


I have a 900m that I was able to get working with the changes to policy.txt file. Are you able to get a GPS fix using the "On Demand/Maps" application on your phone. If that does not work then there might be something wrong with the version of firmware on your phone.
BTW, I purchased my a900m this year, so it is possible that I have a newer version of firmware.

#220: Re: GPS on Sprint Author: JohanD PostPosted: Fri Jan 26, 2007 3:48 pm
    —
Just wanted to mention a couple of minor issues that I'm seeing with the new version on my v3m:
- If I turn the backlight to "Always on" it stays on, but quickly blinks off every 3-4 seconds then back on. This also happened with the last version.
- If I do a search in local mode and it comes up with say 5 results... the first of which is 1 mile away... the rest are over 10 miles away. I then chose the "center map" option on the first result. Multiple markers are shown. Are these supposed to be showing me where the other results are? At the zoom level that I was using... only one of the results should even show on the map. I'm not sure what the other markers are for. I cleared the map... and tried again... the same markers returned.
- If I'm on the main screen and go into the menu... then decide I didn't need anything from the menu... and hit my "back" button... it doesn't clear the menu. It forces me to pick something from the menu.
- This last one isn't really a bug... just something that made me think: I had mobile tracking on then tried to do a local search. I chose the "center map" option... and it didn't... it kept tracking my current location. I don't know how hard this is, but could it possibly keep tracking my location and just zoom out far enough to also include the location from the search result? Just a thought.

In any case, these are minor issues. I haven't had a chance to drive around yet to really test tracking. I'll let you know once I do.

Thanks! and Keep up the great work!

#221:  Author: Conner PostPosted: Fri Jan 26, 2007 4:02 pm
    —
bboons wrote:

I have a 900m that I was able to get working with the changes to policy.txt file. Are you able to get a GPS fix using the "On Demand/Maps" application on your phone. If that does not work then there might be something wrong with the version of firmware on your phone.



I may of inadvertently invoked the UE function (User Error). Today, I gave it a try when I got to work, and it worked great -- GPS put me right where I was.

Now, either I wasn't getting a good lock on enough satillites (I live in a fairly wooded area), or possibly the message to open my phone from Sprint Development hadn't arrived yet, I don't know. Put I plan to check it out some more toaday at lunch time.

#222: Unspecified error Author: Hyatt PostPosted: Fri Jan 26, 2007 5:30 pm
    —
I keep checking my debug log when my GPS stops working and all it says is "unspecified error". I can't find a description of any kind. Hyatt

#223: Re: Sprint a920 Author: sakha PostPosted: Fri Jan 26, 2007 6:55 pm
    —
Cristian Streng wrote:
sakha wrote:
I was just think aloud as to what kind of potential functionality this app can one day have so as to rival the commercial apps. It is already not very far from the commercial one.

Sure, but you have to consider the fact that the map tiles displayed are copyright by google (and their partners) and they can't be included in commercial applications, especially since they also have a similar mobile implementation of google maps. So MGMaps is not going to turn commercial any time soon (probably never).


sakha wrote:
BTW is getting directions very hard to do? especially with google maps? i thought they had some kind of API to do that, but i am a noob, so you can always ignore my comments if i said something silly.

Yes, they have an API, but it's javascript - it can only be used on web sites for mashups.

sakha wrote:
Also whatever changes you made, the GPS accuracy is become very perfect now, it pinpointed my location to within 100 ft, very impressive!!!

Great, I'm going to set this "alpha" version as the default for Sprint GPS.

sakha wrote:
Also if you need any help at all, i would be more than willing to do that, be it monetary or helping with some of the coding.

gateway wrote:
I think what ever you do your hard work should not go unnoticed, its just unfortunate that a nice app has to be hindered by sprint , I do realize why they require this also.

I think if you maybe figured out a way for people to donate easily I think we could get the sprint users to pull some cash out of pocket to get a working non hacked version of the product. IM more than willing to donate as well.

comments from the sprint people?

Thanks guys, I'll let you know if I manage to somehow get access to paypal. It really sucks that they support so few countries for receiving money.

Cristian


I think you got me wrong, this is a GREAT APP, kudos to you.
What I meant was that the MGMaps can do above and beyond what the commercial apps are providing. It is already providing certain functionality beyond any commercial application.
I did not mean to say that you should consider making MGMaps commercial at all. There is nothing like FREE !!! It would be even better if it was opensource, that way you can get a lot of help and testing from other people, but nevertheless youhave your reasons for not making it opensource and i can fully understand that. Afterall you have put so much effort into making this app, so pls. keep up the good work!!!

As far as the "manual GPS update" goes I dont get any specific message in the debug log, it just says ERROR: GPS: ERROR: Unspecified error" just like Hyatt reported.

On the directions thingy, do you think the API available is only in Javascript? in fact you can type something like this

http://maps.google.com/maps?f=d&hl=en&saddr=new+york+ny&daddr=san+francisco+ca&btnG=Get+Directions&sll=37.707435%2C-122.139921&sspn=0.437843%2C1.277161


in the browser bar and it will give you the directions, what they are doing in the javascript portion is probably just rendering the map tiles onto the html page

Just thoughts, if i said something wrong pls feel free to correct me.

#224: GPS on Sprint Author: Hyatt PostPosted: Fri Jan 26, 2007 8:47 pm
    —
Ok, a couple of questions, to show my GPS working there is a red bluetooth icon and it turns green when it is getting my location. Is this right? With this latest version of mgmaps the icon doesn't even turn green when getting coordinates the first few times but then it slows down (green icon on longer) then stops. The other thing I noticed is when you change the refresh rate on the GPS tracking it doesn't seem to change how fast or slow it refreshes. Hyatt

#225: Re: GPS on Sprint Author: sakha PostPosted: Fri Jan 26, 2007 11:08 pm
    —
Hyatt wrote:
Ok, a couple of questions, to show my GPS working there is a red bluetooth icon and it turns green when it is getting my location. Is this right? With this latest version of mgmaps the icon doesn't even turn green when getting coordinates the first few times but then it slows down (green icon on longer) then stops. The other thing I noticed is when you change the refresh rate on the GPS tracking it doesn't seem to change how fast or slow it refreshes. Hyatt

I think the bluetooth thingy is some problem either in the code Cristian put in where it tries to check if bluetooth is available every time a GPS fix is sought or if it is not in the code maybe it is just a Sprint specific issue with the phone.
As far as checking if you are getting any GPS fix via autosync, u should set the app in non-full screen mode , i believe keypad key 8, and then check if you see the throbber for the Power Vision the orange up-down arrows at the top light up at all. Also I would suggest setting the default GPS fix interval to something higher than the 3 secs set.

For me, the GPS auto sync completely stopped working today, dunno what happened. Atleast yesterday it worked for some time Sad

Cristian,
For setting th GPS autosync to on, what do i need to do, the options are a little confusing, could you possibly put something together which indicates if GPS is set to auto or not?
Thx
-Sachin

#226: API access error Author: jermLocation: Illinois PostPosted: Sat Jan 27, 2007 2:24 am
    —
Debug entry from my Samsung A920

02:09:37:313: ERROR: An exception has occured! Exception class java.lang.SecurityException, message: Application not authorized to access the restricted API, description: Error initializing Qualcomm location services


So I have done the following:
    Registered my phone for developer access.
    Downloaded latest sprint mgmaps (jan 25)
    Set to internal GPS.
    Modified _policy.txt on the phone by appending the following text as described in an earlier post:


Code:
domain: untrusted

allow: wma_api_receive

allow: wma_api_send

allow: mmapi

allow: push_registry

allow: satsa

allow: sprint_extensions

allow: gps_api

allow: pim_api

allow: midp_net

allow: file_connection

allow: bluetooth



It's been a week or two since I added the text above. Is it possible that it was refreshed and overwritten again? (I haven't checked it.)

Or am I doing something else wrong?
thx-

Jeremy

#227: auto refresh Author: brucebond PostPosted: Sat Jan 27, 2007 5:45 am
    —
Cristian,

thanks for all the hard work! i'm sure everyone appreciates all your hard work.

it seems that the auto refresh is working for about a minute now whereas before it only worked for like 10 seconds.

Does anyone have a V3m and have the auto refresh work without any hiccups?


Thanks again, Cristian!


Last edited by brucebond on Sat Jan 27, 2007 6:58 am; edited 1 time in total

#228:  Author: itZme PostPosted: Sat Jan 27, 2007 6:33 am
    —
jerm wrote:
Debug entry from my Samsung A920

02:09:37:313: ERROR: An exception has occured! Exception class java.lang.SecurityException, message: Application not authorized to access the restricted API, description: Error initializing Qualcomm location services


So I have done the following:
[list]Registered my phone for developer access.
Downloaded latest sprint mgmaps (jan 25)
Set to internal GPS.
Modified _policy.txt on the phone by appending the following text as described in an earlier post

It's been a week or two since I added the text above. Is it possible that it was refreshed and overwritten again? (I haven't checked it.)

Or am I doing something else wrong?
thx-

Jeremy


Did you overwrite the previous "untrusted" permission text or just add that to the end? There is an existing untrusted permission section that you need to remove and replace with the modified text. Then overwrite the file on your phone.

#229: Re: Unspecified error Author: Cristian Streng PostPosted: Sat Jan 27, 2007 7:42 am
    —
Hyatt wrote:
I keep checking my debug log when my GPS stops working and all it says is "unspecified error". I can't find a description of any kind. Hyatt

OK, I'll have to get feedback from more users before I can track the problem down.

Cristian

#230: Re: Sprint a920 Author: Cristian Streng PostPosted: Sat Jan 27, 2007 8:00 am
    —
sakha wrote:
As far as the "manual GPS update" goes I dont get any specific message in the debug log, it just says ERROR: GPS: ERROR: Unspecified error" just like Hyatt reported.

OK, unfortunately that doesn't give me any ideas about where or why it crashes... Maybe the next GPS version will add some more debugging messages to help me figure that out

sakha wrote:
On the directions thingy, do you think the API available is only in Javascript? in fact you can type something like this

http://maps.google.com/maps?f=d&hl=en&saddr=new+york+ny&daddr=san+francisco+ca&btnG=Get+Directions&sll=37.707435%2C-122.139921&sspn=0.437843%2C1.277161

in the browser bar and it will give you the directions, what they are doing in the javascript portion is probably just rendering the map tiles onto the html page

Nice... I didn't know they had that HTML output. I knew they had JavaScript and KML output, try appending &output=kml or &output=js to the above URL. The HTML output is the smallest of all (23kB, compared to 82kB for javascript and 353kB for kml) but that's because it only contains the text directions, without coordinates for the points on the route and without the actual route polyline. Of the other two, the KML output would be the easiest to use but the size of the text transferred is pretty large even when compressed on the server.

As you can see it's not that difficult to process result directions, but there are some issues with drawing the line for the route. Maybe I'll start with the JS output and simply draw straight lines between the turning points (the route line can have thousands of points and that could make it too slow on the phone).

Cristian

#231: Re: GPS on Sprint Author: Cristian Streng PostPosted: Sat Jan 27, 2007 8:07 am
    —
sakha wrote:
Hyatt wrote:
Ok, a couple of questions, to show my GPS working there is a red bluetooth icon and it turns green when it is getting my location. Is this right? With this latest version of mgmaps the icon doesn't even turn green when getting coordinates the first few times but then it slows down (green icon on longer) then stops. The other thing I noticed is when you change the refresh rate on the GPS tracking it doesn't seem to change how fast or slow it refreshes. Hyatt

I think the bluetooth thingy is some problem either in the code Cristian put in where it tries to check if bluetooth is available every time a GPS fix is sought or if it is not in the code maybe it is just a Sprint specific issue with the phone.
As far as checking if you are getting any GPS fix via autosync, u should set the app in non-full screen mode , i believe keypad key 8, and then check if you see the throbber for the Power Vision the orange up-down arrows at the top light up at all. Also I would suggest setting the default GPS fix interval to something higher than the 3 secs set.

You're right, I think the interval setting does not affect the actual refresh interval as the phone receives GPS fixes much slower than once every 3 seconds (maybe once every 15 seconds or something like that). On the other hand, bluetooth GPS receivers give the position fix once every second so for those cases 3 seconds is ok. In short, I'll change the default interval in the Sprint-GPS version of MGMaps.

sakha wrote:
Cristian,
For setting th GPS autosync to on, what do i need to do, the options are a little confusing, could you possibly put something together which indicates if GPS is set to auto or not?
Thx
-Sachin

Definitely, I'm also going to swap the options (when it says Mobile Tracking On it will be active, selecting the option will DE-activate it and display a screen to inform the user about that).

Cristian

#232: Re: GPS on Sprint Author: Cristian Streng PostPosted: Sat Jan 27, 2007 8:57 am
    —
JohanD wrote:
Just wanted to mention a couple of minor issues that I'm seeing with the new version on my v3m:
- If I turn the backlight to "Always on" it stays on, but quickly blinks off every 3-4 seconds then back on. This also happened with the last version.

Did it ever work fine with any previous version of mgmaps you had installed? The backlight is not a standard feature of J2ME therefore mgmaps optimizes its usage for Nokia, Sony-Ericsson and maybe Samsung phones. Anyway, I'll add a fix to the next test version for Sprint.

JohanD wrote:
- If I do a search in local mode and it comes up with say 5 results... the first of which is 1 mile away... the rest are over 10 miles away. I then chose the "center map" option on the first result. Multiple markers are shown. Are these supposed to be showing me where the other results are? At the zoom level that I was using... only one of the results should even show on the map. I'm not sure what the other markers are for. I cleared the map... and tried again... the same markers returned.

Yes, they are the other results. The zoom level gets automatically set to the one specified in Search/Preferences. Maybe I'll change this behaviour and not change the zoom level when searching, although the web google maps interface also changes it. Didn't the points displayed match the expected positions for the other results?

JohanD wrote:
- If I'm on the main screen and go into the menu... then decide I didn't need anything from the menu... and hit my "back" button... it doesn't clear the menu. It forces me to pick something from the menu.

You can press the menu key again (whatever key you pressed to get into the menu) in order to hide it.

JohanD wrote:
- This last one isn't really a bug... just something that made me think: I had mobile tracking on then tried to do a local search. I chose the "center map" option... and it didn't... it kept tracking my current location. I don't know how hard this is, but could it possibly keep tracking my location and just zoom out far enough to also include the location from the search result? Just a thought.

I'll test this and see how it works. Did you have mobile tracking set to "Move Map" or only to "Show Marker"? If it's "Move Map", then indeed the phone keeps tracking your location, but you can zoom out and the search result will be displayed when you are zoomed out enough.

Regards,
Cristian

#233:  Author: jermLocation: Illinois PostPosted: Sat Jan 27, 2007 6:58 pm
    —
itZme wrote:
jerm wrote:
Debug entry from my Samsung A920

02:09:37:313: ERROR: An exception has occured! Exception class java.lang.SecurityException, message: Application not authorized to access the restricted API, description: Error initializing Qualcomm location services


So I have done the following:
[list]Registered my phone for developer access.
Downloaded latest sprint mgmaps (jan 25)
Set to internal GPS.
Modified _policy.txt on the phone by appending the following text as described in an earlier post

It's been a week or two since I added the text above. Is it possible that it was refreshed and overwritten again? (I haven't checked it.)

Or am I doing something else wrong?
thx-

Jeremy


Did you overwrite the previous "untrusted" permission text or just add that to the end? There is an existing untrusted permission section that you need to remove and replace with the modified text. Then overwrite the file on your phone.


So I was following the instructions to the letter (from sakha, page 8), and I just appended it to the end of the file instead of looking for a similar segment to replace. That must be it. I'll change it next chance I get. thx-

Jeremy

#234: Re: GPS on Sprint Author: JohanD PostPosted: Sat Jan 27, 2007 10:29 pm
    —
Cristian Streng wrote:
JohanD wrote:
Just wanted to mention a couple of minor issues that I'm seeing with the new version on my v3m:
- If I turn the backlight to "Always on" it stays on, but quickly blinks off every 3-4 seconds then back on. This also happened with the last version.

Did it ever work fine with any previous version of mgmaps you had installed? The backlight is not a standard feature of J2ME therefore mgmaps optimizes its usage for Nokia, Sony-Ericsson and maybe Samsung phones. Anyway, I'll add a fix to the next test version for Sprint.


I've only tried this version and the previous sprint version. Both had the same behavior.

Cristian Streng wrote:

JohanD wrote:
- If I do a search in local mode and it comes up with say 5 results... the first of which is 1 mile away... the rest are over 10 miles away. I then chose the "center map" option on the first result. Multiple markers are shown. Are these supposed to be showing me where the other results are? At the zoom level that I was using... only one of the results should even show on the map. I'm not sure what the other markers are for. I cleared the map... and tried again... the same markers returned.

Yes, they are the other results. The zoom level gets automatically set to the one specified in Search/Preferences. Maybe I'll change this behaviour and not change the zoom level when searching, although the web google maps interface also changes it. Didn't the points displayed match the expected positions for the other results?


So far, I've only seen this for one specific search: "SLUMBERLAND" at zip "53719"... then center the map on the first result. I tried a few other searches and everything worked as expected, but that specific search is showing me extra markers that don't match with the search results. It does center on the correct result though.

Cristian Streng wrote:

JohanD wrote:
- This last one isn't really a bug... just something that made me think: I had mobile tracking on then tried to do a local search. I chose the "center map" option... and it didn't... it kept tracking my current location. I don't know how hard this is, but could it possibly keep tracking my location and just zoom out far enough to also include the location from the search result? Just a thought.

I'll test this and see how it works. Did you have mobile tracking set to "Move Map" or only to "Show Marker"? If it's "Move Map", then indeed the phone keeps tracking your location, but you can zoom out and the search result will be displayed when you are zoomed out enough.


Ah, you're right. I did have "Move Map" on. When I turned it off it worked closer to what I expected. One small related thought:
- When I zoom out to see my search result in relation to my current location, the heading arrow stays at the center of the screen. It feels like the heading arrow should stay at my current location. (again very minor)

I'm also seeing the dreaded "ERROR: GPS: Error: Unspecified error" in the debug logs. After this happens, I never get another GPS fix... it just leaves me at the last known position. I don't see any other errors in the log. Restarting the app is the only way that I've seen to get GPS to start working again. I usually only get a handful of GPS updates before it stops working.

Everything else looks great!

#235: Re: GPS on Sprint Author: Cristian Streng PostPosted: Sun Jan 28, 2007 4:29 pm
    —
JohanD wrote:
Cristian Streng wrote:
Did it ever work fine with any previous version of mgmaps you had installed? The backlight is not a standard feature of J2ME therefore mgmaps optimizes its usage for Nokia, Sony-Ericsson and maybe Samsung phones. Anyway, I'll add a fix to the next test version for Sprint.

I've only tried this version and the previous sprint version. Both had the same behavior.

OK... I'll try to fix it in the next alpha release, I'll announce it here and/or on the news page.

JohanD wrote:
Cristian Streng wrote:
Yes, they are the other results. The zoom level gets automatically set to the one specified in Search/Preferences. Maybe I'll change this behaviour and not change the zoom level when searching, although the web google maps interface also changes it. Didn't the points displayed match the expected positions for the other results?

So far, I've only seen this for one specific search: "SLUMBERLAND" at zip "53719"... then center the map on the first result. I tried a few other searches and everything worked as expected, but that specific search is showing me extra markers that don't match with the search results. It does center on the correct result though.

I tried that too. The web results page (JavaScript) contains 8 results (with a link to additional 43 results), while the mobile search (KML) returns 10 results — you probably see the additional two. Nothing to worry about.

JohanD wrote:
Ah, you're right. I did have "Move Map" on. When I turned it off it worked closer to what I expected. One small related thought:
- When I zoom out to see my search result in relation to my current location, the heading arrow stays at the center of the screen. It feels like the heading arrow should stay at my current location. (again very minor)

OK, maybe I'll fix that with the next version too.

Cristian

#236: Null Pointer Exception? Author: stryker707 PostPosted: Sun Jan 28, 2007 5:03 pm
    —
Hey there,

I am using a Sprint A900M and can't get it to work.

So I followed the instructions laid out by rickgtx http://forum.mgmaps.com/viewtopic.php?p=1474#1474. I installed the generic mgmaps, changed the txt for the app, etc, and changed the _policy.txt. Then I overwrote the jar and jad with the sprint one.

When I run the program I get uncuaght exception as the title of a windowed box with NullPointerException (Null Pointer Exception in the window. Then the app exits. The first time I ran it, I got four options for the GPS usage: allow this time, always allow, never allow, and one more. I chose always allow of course. AFter that, it always goes straight into the program then crashes with the above error.

When I had the generic installed before, the program itself ran, but couldn't pull GPS info.

I have seen people with A900Ms get it to work on the forum. Can someone please help me?

Thanks in advance!

#237: Re: Null Pointer Exception? Author: rickgtx PostPosted: Sun Jan 28, 2007 5:43 pm
    —
stryker707 wrote:
So I followed the instructions laid out by rickgtx http://forum.mgmaps.com/viewtopic.php?p=1474#1474. I installed the generic mgmaps, changed the txt for the app, etc, and changed the _policy.txt. Then I overwrote the jar and jad with the sprint one.


Hi, Those instructions were for the Sprint RAZR V3m due to a problem downloading the jar and jad. Other phones did not have this problem and now with the last alpha3 the V3m no longer needs to copy the files from a PC. I downloaded them directly from the web site http://wap.mgmaps.com/alpha3.html to my phone. I know this doesn't fix your problem but shouldn't have to go through the copy via PC mess while you are trying to get it to work.

#238: GPS on Sprint V3m Author: rickgtx PostPosted: Sun Jan 28, 2007 5:57 pm
    —
Thanks Cristian for a wonderful app!!

I'm getting the same behavior as JohanD on my V3m.

JohanD, Can you save you preferences (e.g. KM vs Miles)? I go through settings to change the things I want. But once I leave the Sprint Applications they are lost. I have to re-select GPS, Screen settings, etc each time I start the application. I tried setting the preferences both while GMaps in running and at the start screen before you run GMaps then using the 0 exit.

My nn.txt PERM: settings are: PERM: 0=2,1=2,2=2,3=0,4=0,5=0 the 2=2 is file permissions according to http://forum.mgmaps.com/viewtopic.php?p=623#623

TIA, Rick

#239:  Author: stryker707 PostPosted: Sun Jan 28, 2007 7:01 pm
    —
Well, then can someone please help me out? I have a Spring A900M and I have seen others post that they got theirs to work. Can someone guide me how to do it step by step such as rickgtx did?

Thanks!

#240: Re: GPS on Sprint V3m Author: Cristian Streng PostPosted: Sun Jan 28, 2007 7:42 pm
    —
rickgtx wrote:
I'm getting the same behavior as JohanD on my V3m.

Which behavior? Problems with backlight-on?

rickgtx wrote:
JohanD, Can you save you preferences (e.g. KM vs Miles)? I go through settings to change the things I want. But once I leave the Sprint Applications they are lost. I have to re-select GPS, Screen settings, etc each time I start the application. I tried setting the preferences both while GMaps in running and at the start screen before you run GMaps then using the 0 exit.

Do you get any exceptions in Help/Debug Log ? Something saying "exception while loading settings, loading defaults"?

#241:  Author: yuckamuk PostPosted: Sun Jan 28, 2007 8:44 pm
    —
First post for me here... hi all.

I have an a900m and I've had mixed issues...
On the last beta (1.27 ?) unfortunatly before I knew about the log file my autorefresh would stop updating unless I exited and re-entered. I wonder if I lost a satellite connection? Does mgmaps automatically reconnect to the satellite if it's dropped? It seems to be working better with 1.3xx but I haven't used it as much. Also, I get the impression that the 900 is a POS when it comes to doing GPS coords. It seems like when I'm more than a floor below the roof I get terrible positioning (3+ blocks away, generally West). On the highway and top floor it seems to be pretty accurate. Is this the phone, being underground, the program or a combination of the factors?
Quote:
I have a Spring A900M and I have seen others post that they got theirs to work.

What rickgtx did pretty much worked for me. I'm no expert on any of this but I can try to help you out. There's a few things I can think of that might give you trouble...
Did you download the new JAR file when you got the new sprint alpha? The URL was a couple of pages back. I know I couldn't find it to transfer by wire until someone posted it. And did you rename all the files correctly?
My _policy is the same as explained by mystika555 on page 9. That seems to work for me.
Someone said something about a GPS OTA fix from sprint. I heard it's in on demand, left softkey updates everything (to my knowledge). If not I know there's another update phone option (for the firmware), menu->#->8->8 I don't know if either of these help.
If none of those work maybe you want to reconfigure the text file for mgmaps in obione/jas/index in QPST and reset all the permissions to 0 so you can set them when you open the program again. (0 is to open the prompt, right??)

Hope that helps.

#242: Re: GPS on Sprint V3m Author: JohanD PostPosted: Mon Jan 29, 2007 2:41 pm
    —
rickgtx wrote:

JohanD, Can you save you preferences (e.g. KM vs Miles)? I go through settings to change the things I want. But once I leave the Sprint Applications they are lost. I have to re-select GPS, Screen settings, etc each time I start the application. I tried setting the preferences both while GMaps in running and at the start screen before you run GMaps then using the 0 exit.

My nn.txt PERM: settings are: PERM: 0=2,1=2,2=2,3=0,4=0,5=0 the 2=2 is file permissions according to http://forum.mgmaps.com/viewtopic.php?p=623#623

TIA, Rick


I have seen this once before when I exited the app by pressing the red (end call) button on my phone instead of using the "Exit" from the app's main menu. I'm afraid that I didn't check the debug log for this issue... and have since cleared the log. If it happens again I'll make sure that I look at the log.

My PERM settings are: PERM: 0=2, 1=1, 2=0, 3=0, 4=0, 5=0. I haven't messed with the "2=2" setting. I do have the developer root enabled... but I don't know if this is making any difference.

Johan-

#243: Re: GPS on Sprint V3m Author: rickgtx PostPosted: Mon Jan 29, 2007 5:35 pm
    —
Cristian Streng wrote:
rickgtx wrote:
I'm getting the same behavior as JohanD on my V3m.

Which behavior? Problems with backlight-on?

1. Backlight to "Always on" it stays on, but quickly blinks off every 5 seconds then back on.

2. "ERROR: GPS: Error: Unspecified error" in the debug logs. After this happens, I never get another GPS fix... it just leaves me at the last known position and "Where am I" does not get the GPS position either. I don't see any other errors in the log. Restarting the app is the only way that I've seen to get GPS to start working again. I usually only get about 5 GPS updates before it stops working.

Cristian Streng wrote:
rickgtx wrote:
JohanD, Can you save you preferences (e.g. KM vs Miles)? I go through settings to change the things I want. But once I leave the Sprint Applications they are lost. I have to re-select GPS, Screen settings, etc each time I start the application. I tried setting the preferences both while GMaps in running and at the start screen before you run GMaps then using the 0 exit.

Do you get any exceptions in Help/Debug Log ? Something saying "exception while loading settings, loading defaults"?

I did some more experimenting exiting the application. Thanks JohanD!

-Exiting with 0.Exit saves the settings. (I need to do this always now.)
-Exiting with the phone "End" key resets/erases the settings and the error log states:
Exception class: javax.microedition.rms.Invalid RecordDExecption, message: null, description: Error loading settings, loading defaults

A request. Could the key 2 cause a "Where am I"? I don't think I need auto update if I could request one easily.

Thanks so much for this app!
Rick

#244: how long does a fix take? Author: jermLocation: Illinois PostPosted: Tue Jan 30, 2007 1:23 am
    —
I have a couple of questions:
I've got a sprint samsung a920 that is policy edited, yet I've still never been able to successfully use mgmaps yet. My GPS is set to "internal".

1) When I go to the "Where am I" option, it instantly displays an error screen about "GPS Position not yet determined". Make sure the phone can receive/determine GPS information and the satellite signal strength is good, wait a few seconds then try again." btw, that message took me several attempts to even read, as it's only displayed for a split second before returning to the map display. How long do I need to be standing outside to get a fix? I waited a few minutes on this attempt.

2) Does the location fix use the exact same method as the "Locate me now" options in the web service menus (such as nearby movie theaters, etc)? I ask because that service will return information about my location even when I'm indoors. It can't possibly be using GPS at that time, so it must be either going off of my last known fix, or using the cell tower triangulation as a hint. I don't know how it works.

Always waiting for my next fix... Wink

Jeremy

#245:  Author: itZme PostPosted: Tue Jan 30, 2007 1:27 am
    —
Mine loses settings if I hit "END" and then select "yes" from the sprint menu. If I hit the "END" button twice to exit I still have the settings. I have just learned to hit end twice and never thought to mention it here. Glad you brought it up. My phone is a Sprint LG Fusic (LX550)

#246: Re: GPS on Sprint V3m Author: Cristian Streng PostPosted: Tue Jan 30, 2007 5:49 am
    —
rickgtx wrote:
1. Backlight to "Always on" it stays on, but quickly blinks off every 5 seconds then back on.

I'll try a fix in the next version.

rickgtx wrote:
2. "ERROR: GPS: Error: Unspecified error" in the debug logs. After this happens, I never get another GPS fix... it just leaves me at the last known position and "Where am I" does not get the GPS position either. I don't see any other errors in the log. Restarting the app is the only way that I've seen to get GPS to start working again. I usually only get about 5 GPS updates before it stops working.

I see... I don't know what causes this yet, but I'll try to change the GPS functionality a bit in the next (alpha) version.

rickgtx wrote:
I did some more experimenting exiting the application. Thanks JohanD!

-Exiting with 0.Exit saves the settings. (I need to do this always now.)
-Exiting with the phone "End" key resets/erases the settings and the error log states:
Exception class: javax.microedition.rms.Invalid RecordDExecption, message: null, description: Error loading settings, loading defaults

This is normal behaviour, exit with the end key forces the application to close and no settings are saved.

rickgtx wrote:
A request. Could the key 2 cause a "Where am I"? I don't think I need auto update if I could request one easily.

I'll add a key for GPS Where-am-I.

Cristian

#247:  Author: jwsprint PostPosted: Tue Jan 30, 2007 8:33 pm
    —
Cristian,

You Rock! Thanks for this wonderful app.

I too have a Sprint V3m and this app works pretty well, but doesn't seem to update as I move.

Regarding Note #2: I copied the txt file from the Sprint Nav program and the perms are a bit different. The perm settings allow one to choose how the prog accesses the phone's gps - the settings are applied from the program's properties.

16.txt
JARF: 16
JADF: 16
MSIZ: 6949
RSIZ: 0
ISIZ: 676
DOMA: 2
PERM: 0=1,1=1,2=1,3=1,4=1,5=1
MISC: 0
RUNC:
SGLE: 115
0q1 0 UUS1 0 UKS10U
Overland Park10
U
Sprint1 0
U PRG10USprint Vision Root CA
ROLE: 20
$q_dZ+S
TRIA: 0
DLCK: 0
ALOW: 0
CATE: 8
STAT: 0
COID:
DURL: http://wap.mgmaps.com/mgmaps.jad
NAME: MG Maps
VEND: MG Maps
TIME: 1159890456
ICON: /images/yahoo.png
FLCK: 1

#248: Sprint GPS Author: Hyatt PostPosted: Tue Jan 30, 2007 11:13 pm
    —
Any idea when the next Sprint version will be out

#249:  Author: sakha PostPosted: Wed Jan 31, 2007 12:01 am
    —
I am no expert, but i wonder whether the PDE server that we use is only for getting a few GPS fixes like e.g. 10 and Sprint has a different PDE server setup for commercial applications like Garmin mobile and Telenav.
Hence we might be getting errors trying to get a GPS fix after the 10th try.
Just a guess, feel free to prove that I am wrong.

#250: Re: Sprint GPS Author: Cristian Streng PostPosted: Wed Jan 31, 2007 2:31 am
    —
Hyatt wrote:
Any idea when the next Sprint version will be out

Probably in a day or two.

#251:  Author: AgentTigger PostPosted: Wed Jan 31, 2007 3:19 am
    —
Quote:
3.) With QPST or BitPim look in brew/mod/obione/jas/index/ for the GMaps nn.txt file. "NAME: Mobile GMaps" appears near the bottom of the file. In my case it was 18.txt. So I'll use 18 as the example, but use your nn in practice. So, I'm interested in these files:
- brew/mod/obione/jas/index/18.txt
- motorola/shared/jas/content/18.jad
- motorola/shared/jas/content/18.jar


How do you know what number to use for nn.txt? I looked in the directory and I have a bunch of them, numbered 1-15.txt. Also, once I find out what number to use, what do I put into the file?

Also, I didn't find any files with "NAME: Moblie GMaps" in any of the numbered text files. Question

#252:  Author: itZme PostPosted: Wed Jan 31, 2007 1:11 pm
    —
The only way I have found to tell what program is what number is by opening the nn_Icon1.png with a picture editor and see what program's icon that is.
nn being the number of the app folder (1-15 in your case, mine go up to 59)

HTH
-- itZme

#253:  Author: rickgtx PostPosted: Wed Jan 31, 2007 2:47 pm
    —
AgentTigger wrote:

How do you know what number to use for nn.txt? I looked in the directory and I have a bunch of them, numbered 1-15.txt. Also, once I find out what number to use, what do I put into the file?

Also, I didn't find any files with "NAME: Moblie GMaps" in any of the numbered text files. Question

If you successfully installed a copy of GMaps it will appear in your Applications folder. Select GMaps->Options->Properties. This shows you the NAME and VEND in the nn.txt file. Also, the time and date stamp of nn.txt should give you a clue which nn.txt to look at. The DURL, NAME, and VEND fields all should have something about GMaps also. My nn.txt does not look like the16.txt example jwsprint posted above, but I could tell it is GMaps looking at those fields.
Exclamation For the Sprint V3m you need to find the correct nn.txt just to set PERM: 1=1 so GMaps can access your internal GPS. Other phones have a _policy.txt file that needs to be edited.
So for example: PERM: 0=2, 1=1, 2=0, 3=0, 4=0, 5=0
itZme wrote:
The only way I have found to tell what program is what number is by opening the nn_Icon1.png with a picture editor and see what program's icon that is.
nn being the number of the app folder (1-15 in your case, mine go up to 59)

Interesting... I have no icons in my icons directory for GMaps. Could you post it so I can add it manually?
Thanks,
Rick

#254:  Author: gateway PostPosted: Wed Jan 31, 2007 6:28 pm
    —
Ok i finally had some time to hack my samsung m610 using the apps QPST , calling sprint for my MSL number and adding some lines to _policy.txt

the gps works pretty good. it sorta randomly moves around give or take 200 feet or so..

I notice in the options their was a way to save KML data (google earth) how can we get that sent to us? could we get it to send via email, sms ?

can you add in NMEA data logging? also if a device has a storage card the ability to save data to the storage card?

great job once again.

also if you still want to do something about money i may be able to help you , i have a merchant account and also paypal, maybe we could do something together, im still a big fan of getting the verisign version.. at least for a year and see how it goes.. just PM me if u have any thoughts.

#255:  Author: AgentTigger PostPosted: Wed Jan 31, 2007 6:31 pm
    —
I am following the directions on http://forum.mgmaps.com/viewtopic.php?p=1474#1474 and am trying to install GMaps on my V3m.

I read the directions, but it looks like I'm ether not understanding them, or maybe some instructions are omitted from the post?

Here's are the directions:

Quote:
1.) Install a version of GMaps that will install to set up the files and directories needed. The generic version works fine. See http://www.mgmaps.com/download.php.


--> how do I "install" the version of GMaps? Do I download the .jar and .jad files to my PC and extract them to directories?


Quote:
2.) Download mgmaps_sprint.jad and mgmaps_sprint.jar to your PC.
http://wap.mgmaps.com/mgmaps_sprint.jad
http://wap.mgmaps.com/mgmaps_sprint.jar


--> I downloaded the .jar file and the updated .jad from http://wap.mgmaps.com/alpha3.html I renamed mgmaps-alpha-3.jad to mgmaps_sprint.jad. And then I get to step 3.

Quote:
3.) With QPST or BitPim look in brew/mod/obione/jas/index/ for the GMaps nn.txt file. "NAME: Mobile GMaps" appears near the bottom of the file. In my case it was 18.txt. So I'll use 18 as the example, but use your nn in practice. So, I'm interested in these files:
- brew/mod/obione/jas/index/18.txt
- motorola/shared/jas/content/18.jad
- motorola/shared/jas/content/18.jar


--> I used BitPIM to browse my cell phone directory, but what is the GMaps nn.txt file? It looks like there is a numbered text file for each of my applications.

Quote:
If you successfully installed a copy of GMaps it will appear in your Applications folder. Select GMaps->Options->Properties. This shows you the NAME and VEND in the nn.txt file.


I haven't copied the .jad and .jar files to my phone yet, I've just been following the diections on the post, so I haven't actually opened GMaps yet... can someone point me in the right direction on what to do next after copying the files to my PC?

#256: how does it work? Author: jermLocation: Illinois PostPosted: Wed Jan 31, 2007 7:31 pm
    —
Apologies for the repost of a couple of these questions, but it seems I got missed entirely...

I have a few questions:
I've got a sprint samsung a920 that is policy edited, yet I've still never been able to successfully use mgmaps yet. My GPS is set to "internal".

1) When I go to the "Where am I" option, it instantly displays an error screen about "GPS Position not yet determined". Make sure the phone can receive/determine GPS information and the satellite signal strength is good, wait a few seconds then try again." btw, that message took me several attempts to even read, as it's only displayed for a split second before returning to the map display. How long do I need to be standing outside to get a fix? I waited a few minutes on this attempt.

2) Does the location fix use the exact same method as the "Locate me now" options in the web service menus (such as nearby movie theaters, etc)? I ask because that service will return information about my location even when I'm indoors. It can't possibly be using GPS at that time, so it must be either going off of my last known fix, or using the cell tower triangulation as a hint. I don't know how it works.

3) Do I need to put an address in the proxy field? What conditions would require that?

Thanks for helping me to understand.

Jeremy

#257:  Author: rickgtx PostPosted: Wed Jan 31, 2007 7:45 pm
    —
AgentTigger wrote:
I am following the directions on http://forum.mgmaps.com/viewtopic.php?p=1474#1474 and am trying to install GMaps on my V3m.

I read the directions, but it looks like I'm ether not understanding them, or maybe some instructions are omitted from the post?

Here's are the directions:

Quote:
1.) Install a version of GMaps that will install to set up the files and directories needed. The generic version works fine. See http://www.mgmaps.com/download.php.


--> how do I "install" the version of GMaps? Do I download the .jar and .jad files to my PC and extract them to directories?


Hi I think you are missing the OTA step. You have to install one copy OTA (Over the air) to your phone. http://www.mgmaps.com/download.php states:
Quote:
Download and Install
Installation instructions:

Open the WAP site http://wap.mgmaps.com on your mobile phone, then select the download link. This is the recommended method of installing Mobile GMaps.

On your Phone
1. On my Sprint V3m I start the Sprint browser. It looks like a globe and is labled Web.
2. On the lower right soft key, select Options->Go to URL. Type in
Code:
wap.mgmaps.com/alpha3.html

3. Select Download MGMaps v1.31.02 alpha with Sprint GPS support.
4. The application should download and install.
5. If install is a success, fix the PERM: 1=1 in the nn.txt and you are done.
Idea If the install fails. Like error 910 from sprint go back to step 1 and for step 2 use
Code:
wap.mgmaps.com
. Select the Generic version. Then follow the instructions on http://forum.mgmaps.com/viewtopic.php?p=1474#1474

#258:  Author: jwsprint PostPosted: Wed Jan 31, 2007 8:12 pm
    —
Rickgtx,

It's interesting to read how you did the install. On my new Sprint V3m, there is no ->Go go URL option. I would love to install one. I have seen instructions on how to modify a similar phone's gateways and I'm considering replacing the AOL gateway with a new one, but haven't felt the need yet.

When I found a way to get to the MgMaps page through Yahoo, the page was blocked! I think they are getting wise to us not using telenav and are blocking us. However, I was able to install MgMaps using BitPim.

Would anyone benefit from a new set of instructions detailing a BitPim install? There are a few additional steps involved... I could help draft one for Cristian to edit later?

I would also love a new icon. I'm currently just using the yahoo icon that was on the phone - I guess you can tell from my .txt file.

#259:  Author: AgentTigger PostPosted: Wed Jan 31, 2007 9:53 pm
    —
rickgtx wrote:
AgentTigger wrote:
I am following the directions on http://forum.mgmaps.com/viewtopic.php?p=1474#1474 and am trying to install GMaps on my V3m.

I read the directions, but it looks like I'm ether not understanding them, or maybe some instructions are omitted from the post?

Here's are the directions:

Quote:
1.) Install a version of GMaps that will install to set up the files and directories needed. The generic version works fine. See http://www.mgmaps.com/download.php.


--> how do I "install" the version of GMaps? Do I download the .jar and .jad files to my PC and extract them to directories?


Hi I think you are missing the OTA step. You have to install one copy OTA (Over the air) to your phone. http://www.mgmaps.com/download.php states:
Quote:
Download and Install
Installation instructions:

Open the WAP site http://wap.mgmaps.com on your mobile phone, then select the download link. This is the recommended method of installing Mobile GMaps.

On your Phone
1. On my Sprint V3m I start the Sprint browser. It looks like a globe and is labled Web.
2. On the lower right soft key, select Options->Go to URL. Type in
Code:
wap.mgmaps.com/alpha3.html

3. Select Download MGMaps v1.31.02 alpha with Sprint GPS support.
4. The application should download and install.
5. If install is a success, fix the PERM: 1=1 in the nn.txt and you are done.
Idea If the install fails. Like error 910 from sprint go back to step 1 and for step 2 use
Code:
wap.mgmaps.com
. Select the Generic version. Then follow the instructions on http://forum.mgmaps.com/viewtopic.php?p=1474#1474


Do you need internet access to install this program on your phone? If you do, I can't install it because I don't have it -- it's WAY too expensive... unless someone found a way to get free internet through a WAP proxy on Sprint phones? I know it's possible on Verizon Razr's, but not sure for Sprint Razr's.

Can't you just download GMaps to your PC and then copy it over to the phone using BitPIM? I think that's what the post was saying to do because the poster had trouble downloading it directly from the phone's browser.

#260:  Author: gateway PostPosted: Wed Jan 31, 2007 10:44 pm
    —
ill warn you right now if u dont have the sprint vision pack with internet your going to pay quite a bit for data. call sprint if your not sure.

#261:  Author: rickgtx PostPosted: Wed Jan 31, 2007 11:17 pm
    —
AgentTigger wrote:
Do you need internet access to install this program on your phone? If you do, I can't install it because I don't have it -- it's WAY too expensive... unless someone found a way to get free internet through a WAP proxy on Sprint phones? I know it's possible on Verizon Razr's, but not sure for Sprint Razr's.

Can't you just download GMaps to your PC and then copy it over to the phone using BitPIM? I think that's what the post was saying to do because the poster had trouble downloading it directly from the phone's browser.

Yes, you need an Internet connection. The Getting Started section at http://www.mgmaps.com/doc.php#started details the requirements. GMaps would be very little use with out an Internet connection since the maps are downloaded from Google maps, Yahoo maps, or other Internet map provider. There was a discussion thread about using your own maps from the phone's memory at http://forum.mgmaps.com/viewtopic.php?t=398 , but it didn't get too far. As far as free WAP there is a thread at http://hacktherazr.com/forum/viewtopic.php?t=1638, but I don't think they got it yet.

Back to installing, details at http://www.sprintusers.com/forum/showthread.php?t=91504 . Find an unused nn.txt that you don't want (maybe a demo) and edit nn.txt then copy jad and jar as described before. I don't think you can come up with I brand new nn.txt and have it appear in the applications folder. I think you should at least get a lat and long from the GPS without a map.
jwsprint wrote:

It's interesting to read how you did the install. On my new Sprint V3m, there is no ->Go go URL option. I would love to install one. I have seen instructions on how to modify a similar phone's gateways and I'm considering replacing the AOL gateway with a new one, but haven't felt the need yet.

I have the $10 Sprint Power Vision plan http://www1.sprintpcs.com/explore/ueContent.jsp?scTopic=pcsVision so I can use my phone to connect to the Internet without further charges. Once you start the Sprint browser (Web) there is a soft key on the right label options. Scroll through the list of options. Go to URL should be there. BTW the Opera Mini browser works great too. See http://www.operamini.com/


Last edited by rickgtx on Thu Feb 01, 2007 6:54 pm; edited 2 times in total

#262:  Author: gateway PostPosted: Thu Feb 01, 2007 3:00 am
    —
is it just me, or does it seem like the loading of the maps seems slow, ie like not using the edvo connection option in the phone. I tried both google maps just zooming in/out moving around and it responded alot quicker with updates loaded than GMaps??

can the app save the location where u are and what zoom level you where at upon exit? I hate having to launch the app and then move to my location and zoom zoom zoom in. ?

also with the sprint hack and using internal gps, the bluetooth icon shows up?

#263:  Author: Cristian Streng PostPosted: Thu Feb 01, 2007 6:06 am
    —
gateway wrote:
I notice in the options their was a way to save KML data (google earth) how can we get that sent to us? could we get it to send via email, sms ?

This actually refers to loading KML data from the web (dynamically) and displaying it on the map. Saving tracks is not supported yet.

gateway wrote:
can you add in NMEA data logging? also if a device has a storage card the ability to save data to the storage card?

Yeah, I'll do that in a future version, still it will only be supported for generic bluetooth or serial GPS receivers - not for internal JSR-179 or Sprint GPS devices, as they do not report NMEA data as far as I know.

#264:  Author: gateway PostPosted: Thu Feb 01, 2007 6:15 am
    —
Cristian Streng wrote:
gateway wrote:
can you add in NMEA data logging? also if a device has a storage card the ability to save data to the storage card?

Yeah, I'll do that in a future version, still it will only be supported for generic bluetooth or serial GPS receivers - not for internal JSR-179 or Sprint GPS devices, as they do not report NMEA data as far as I know.


ahh ok, hmm we need to get u a versign cert Razz

i never got my bluetooth gps to work, i-blue 737 .. Sad

#265:  Author: Cristian Streng PostPosted: Thu Feb 01, 2007 6:15 am
    —
gateway wrote:
is it just me, or does it seem like the loading of the maps seems slow, ie like not using the edvo connection option in the phone. I tried both google maps just zooming in/out moving around and it responded alot quicker with updates loaded than GMaps??

Sure, the official google maps application uses a custom web service that reduces the size of the maps, that's why they load faster and it responds better. On the other hand, it doesn't have many of the features in MGMaps.

gateway wrote:
can the app save the location where u are and what zoom level you where at upon exit? I hate having to launch the app and then move to my location and zoom zoom zoom in. ?

These are saved by default - configured in Settings/Map Browsing/Rem. Position . Make sure you exit the application "gracefully" by choosing Exit, otherwise some of the settings are not saved.

gateway wrote:
also with the sprint hack and using internal gps, the bluetooth icon shows up?

Yes, that is the GPS icon that shows up whenever GPS is enabled (any kind of GPS). Maybe it's not the most fortunate image.

#266:  Author: Cristian Streng PostPosted: Thu Feb 01, 2007 6:22 am
    —
jwsprint wrote:
Would anyone benefit from a new set of instructions detailing a BitPim install? There are a few additional steps involved... I could help draft one for Cristian to edit later?

I think anyone would benefit from a good set of instructions, so if you can draft one that would be great.

jwsprint wrote:
I would also love a new icon. I'm currently just using the yahoo icon that was on the phone - I guess you can tell from my .txt file.

Isn't it possible for you to use the MGMaps icon in the archive that is shown by default?

jerm wrote:
2) Does the location fix use the exact same method as the "Locate me now" options in the web service menus (such as nearby movie theaters, etc)? I ask because that service will return information about my location even when I'm indoors. It can't possibly be using GPS at that time, so it must be either going off of my last known fix, or using the cell tower triangulation as a hint. I don't know how it works.

No, of course it's not the exact same method. Mobile GMaps is a java application that uses the QJAE GPS API for J2ME. I don't know what the locate me now option uses, but I think it's not a java application but it uses some native code to determine the location.

jerm wrote:
3) Do I need to put an address in the proxy field? What conditions would require that?

No, you can leave that blank - that would be needed only if no maps were loaded.

Cristian

#267:  Author: cwncool PostPosted: Fri Feb 02, 2007 3:04 am
    —
Okay, well I got this new version to install on my Samsung a920 at least, but GPS still isn't working. Keep in mind I haven't added any new info or files to the phone. If I go to the app's settings under GPS, the only option is "Never Allow". Can someone tell me what I need to to get the GPS to work correctly? Thanx!

#268: samsung a920 Author: Hyatt PostPosted: Fri Feb 02, 2007 3:12 am
    —
Ok, you'll have to read this post further back to learn how to edit your policy.txt file, and how to use either Bitpim or QPST to do it.

Hyatt

#269:  Author: cwncool PostPosted: Fri Feb 02, 2007 3:24 am
    —
well, i have QPST, and my phone is plugged into my usb port, but QPST doesn't recognize it. I can't find the instructions for the policy.txt either on the a920...I found one tutorial that talked about editing an "nn.txt" file, but since I don't know how to have QPST to recognize my phone, and bitpim doesn't recognize it either, i don't know how i'd go about editing any files...

#270: QPST and A920 Author: Hyatt PostPosted: Fri Feb 02, 2007 3:39 am
    —
Ok, you need your MLS number to access your phone, check on page 8 about to see how to do this hack once you have your MLS number

#271:  Author: jermLocation: Illinois PostPosted: Fri Feb 02, 2007 5:55 pm
    —

#272: Re: QPST and A920 Author: cwncool PostPosted: Fri Feb 02, 2007 11:26 pm
    —
Hyatt wrote:
Ok, you need your MLS number to access your phone, check on page 8 about to see how to do this hack once you have your MLS number

What am I supposed to tell them? I called and I told them I needed it for some software they're like "We don't normally give out the number...What software do you need it for?" Well, what should I say? Should I tell them I need it to edit the internal software of the phone? Haha. What excuse should I use?

#273: Sprint MLS Author: Hyatt PostPosted: Fri Feb 02, 2007 11:53 pm
    —
Just tell them you are traveling overseas and you want to use your phone over there. You could also keep calling until you get a rep. that will give it to you.

#274:  Author: cwncool PostPosted: Sat Feb 03, 2007 1:57 am
    —
Okay, I got the MSL #. I also have QPST. I plugged in my phone to my PC and the computer recognized it as SAMSUNG "whatever". I clicked cancel after the auto install thing popped up, because I don't have drivers I guess. I opened QPST, but it doesn't recognize my phone. What do I have to do for it to recognize it?

#275:  Author: AgentTigger PostPosted: Sat Feb 03, 2007 1:59 am
    —
I successfully installed MGMaps, but I keep getting the error message "GPS Position not yet determined" when I go to "GPS - Where am I?" and have been trying it outside with a clear sky.

I also made sure that location was set to "on" under Settings > Location.

#276:  Author: Kaix PostPosted: Sat Feb 03, 2007 10:25 am
    —
Got it to work on my LG Fusic. Works great, nice app.

#277:  Author: cwncool PostPosted: Sat Feb 03, 2007 4:23 pm
    —
Alright, I got the policy file edited, and it recognizes the "general location" of where i am. But the compass doesn't work. Why not?

#278:  Author: rickgtx PostPosted: Sat Feb 03, 2007 4:32 pm
    —
AgentTigger wrote:
I successfully installed MGMaps, but I keep getting the error message "GPS Position not yet determined" when I go to "GPS - Where am I?" and have been trying it outside with a clear sky.

I also made sure that location was set to "on" under Settings > Location.

Check the debug log. In the new Sprint version V1.31.02 (http://wap.mgmaps.com/mgmaps-alpha-3.jar) it is:
Menu-->Help -->Debug Log

You might have better luck with the old version at http://wap.mgmaps.com/12/mgmaps_sprint-1_28_16.jar , the "GPS - Where am I?" worked better in this one. [Updated jar name 2/4]

Now you only need to replace the nn.jar file.


Last edited by rickgtx on Sun Feb 04, 2007 5:22 pm; edited 1 time in total

#279:  Author: Cristian Streng PostPosted: Sun Feb 04, 2007 10:34 am
    —
rickgtx wrote:
You might have better luck with the old version at http://wap.mgmaps.com/mgmaps_sprint.jar , the "GPS - Where am I?" worked better in this one.

Actually the old version is at http://wap.mgmaps.com/12/mgmaps_sprint-1_28_16.jar ... mgmaps_sprint.jar is currently identical to the alpha3 version.

Cristian

#280:  Author: AgentTigger PostPosted: Sun Feb 04, 2007 7:25 pm
    —
Quote:

AgentTigger wrote:
I successfully installed MGMaps, but I keep getting the error message "GPS Position not yet determined" when I go to "GPS - Where am I?" and have been trying it outside with a clear sky.

I also made sure that location was set to "on" under Settings > Location.

Check the debug log. In the new Sprint version V1.31.02 (http://wap.mgmaps.com/mgmaps-alpha-3.jar) it is:
Menu-->Help -->Debug Log


It says:

19:21:47.346: ERROR: GPS: Error: Unspecified error

Anyone else get this message?

#281:  Author: ObviousMan PostPosted: Sun Feb 04, 2007 8:33 pm
    —
Well, I'm new here, but not around GSM phones, etc. Recently switched to Sprint. I have 2 A900M's and 3 V3m "under my management"
I started with A900M. Tried to follow the directions here for loading the drivers, worked fine. In fact for everyone with A920 there seem to be native drivers on Samsung site. They seem to work fine with A900M too.
Tried BitPim 9.11 (just released 5 days ago I guess). It sees Other CDMA on Com port 4 but can not access the phone, does not ask for access code, nothing. I mean should I force the access code in somewhere?
Tried it with A900 drivers off Samsuns US site - no difference.
Found QPST 2.7 and loaded it. It worked quite fine. Located _policy.txt and edited it as described above in this tread. Copied it back. Went to wap.mgmaps.com, installed Sprint version, enabled GPS for it. Works fine.
Thanks for the great app.
Now, can I use BitPim for other phones? Am I doing something wrong with it, so it does not see the handset? I mean QPST is fine, but BitPim is a free app, so I'd rather use it.
OM

#282:  Author: rickgtx PostPosted: Mon Feb 05, 2007 2:48 am
    —
AgentTigger wrote:

It says:

19:21:47.346: ERROR: GPS: Error: Unspecified error

Anyone else get this message?


It may be the same one JohanD and I are getting in the Sprint version V1.31.02 (http://wap.mgmaps.com/mgmaps-alpha-3.jar) . We get the error after 5 or so successful readings described in http://forum.mgmaps.com/viewtopic.php?p=1590#1590.

I downloaded the old one (http://wap.mgmaps.com/12/mgmaps_sprint-1_28_16.jar) to see if it works. The GPS seems fine, but the maps no longer download. There is a bunch of java(Message Not Found:404) errors in the log. I use PERM 1=2 in both .txt files.

#283: Sprint version Author: Hyatt PostPosted: Mon Feb 05, 2007 8:41 pm
    —
Is there a new Sprint version out yet?

#284: Getting GPS to work on a Samsung SPH-A920 Author: NC PostPosted: Mon Feb 05, 2007 8:55 pm
    —
ObviousMan -- Thank you for your post! Could you please help with the following?

I also have a Samsung A920 (with Sprint service) and to this point have installed (OTA) the "generic" versions of MGMaps on it (including the latest one), most recently overwriting generic version 1.31.02 with SPRINT version 1.31.02.

What do I need to do now to get the GPS ("Where am I?") to work on my phone? Is it as simple as editing the _policy.txt file and copying it back to the phone? Would I need to then restart the phone? Would I have to download the Spint version again, overwriting the identical existing one with it? (I'm assuming from your post that you can choose "Where am I?" from different geographical locations on your A920 running MGMaps and it will show you the map for wherever you happen to be at that moment?)

Would the following edit (taken from a post in this forum on last December 8th) to the _policy.txt file's "untrusted" section work?
------------- (Begin edit) --------------
domain: untrusted
allow: wma_api_receive
allow: wma_api_send
allow: mmapi
allow: push_registry
allow: satsa
allow: sprint_extensions
blanket(oneshot): gps_api
blanket(oneshot): pim_api
blanket(oneshot): midp_net
blanket(oneshot): file_connection
blanket(oneshot): bluetooth
-------------- (End edit) ---------------

Also, what steps are needed to get QPST working with my phone? I have the Sprint drivers that (during my first month of service) let me successfully use the phone as a modem.

(Anyone else with a MGMaps' GPS working on an A920 may also reply.)
Thank you for your help! Thank you Cristian for a great app and for all the work you put into it!

#285: Re: Sprint version Author: Cristian Streng PostPosted: Tue Feb 06, 2007 6:21 am
    —
Hyatt wrote:
Is there a new Sprint version out yet?

No, but the good news is I may get access to a Verisign certificate to sign it and hopefully make it work without any unlocking.

Cristian

#286: Verisign Author: Hyatt PostPosted: Tue Feb 06, 2007 5:42 pm
    —
Ok, hope you get the certificate. How soon will you know? Are we going to have to change our policy.txt file back to the original one? Good luck and keep up the good work.

#287: Re: Verisign Author: Cristian Streng PostPosted: Tue Feb 06, 2007 5:55 pm
    —
Hyatt wrote:
Ok, hope you get the certificate. How soon will you know? Are we going to have to change our policy.txt file back to the original one? Good luck and keep up the good work.

I've no idea if the policy file will need to be changed back, but probably not. I hope to know for sure in a week or two.

Cristian

#288: Verisign Author: Hyatt PostPosted: Tue Feb 06, 2007 7:26 pm
    —
Are you going to put out another sprint version or wait to see if you get the certificate?

#289: Re: Verisign Author: Cristian Streng PostPosted: Tue Feb 06, 2007 7:33 pm
    —
Hyatt wrote:
Are you going to put out another sprint version or wait to see if you get the certificate?

I don't know yet... maybe I'll work on the sprint version and try some workarounds to avoid that 'unspecified error' message.

#290: Re: Getting GPS to work on a Samsung SPH-A920 Author: ObviousMan PostPosted: Tue Feb 06, 2007 7:55 pm
    —
NC wrote:
ObviousMan -- Thank you for your post! Could you please help with the following?

I also have a Samsung A920 (with Sprint service) and to this point have installed (OTA) the "generic" versions of MGMaps on it (including the latest one), most recently overwriting generic version 1.31.02 with SPRINT version 1.31.02.

What do I need to do now to get the GPS ("Where am I?") to work on my phone? Is it as simple as editing the _policy.txt file and copying it back to the phone? Would I need to then restart the phone? Would I have to download the Spint version again, overwriting the identical existing one with it? (I'm assuming from your post that you can choose "Where am I?" from different geographical locations on your A920 running MGMaps and it will show you the map for wherever you happen to be at that moment?)

Would the following edit (taken from a post in this forum on last December 8th) to the _policy.txt file's "untrusted" section work?
------------- (Begin edit) --------------
domain: untrusted
allow: wma_api_receive
allow: wma_api_send
allow: mmapi
allow: push_registry
allow: satsa
allow: sprint_extensions
blanket(oneshot): gps_api
blanket(oneshot): pim_api
blanket(oneshot): midp_net
blanket(oneshot): file_connection
blanket(oneshot): bluetooth
-------------- (End edit) ---------------

Also, what steps are needed to get QPST working with my phone? I have the Sprint drivers that (during my first month of service) let me successfully use the phone as a modem.

(Anyone else with a MGMaps' GPS working on an A920 may also reply.)
Thank you for your help! Thank you Cristian for a great app and for all the work you put into it!

I started with clean A900M, not A920. I installed drivers and QPST.
Edited _policy.txt the way you have it and copied it back to the handset. Went wap.mgmaps.com and installed Sprint version. Run it, answered Yes to always access GPS and access Internet.
It worked after install fine.

There are native A920 drivers. If you go to Samsuns downloads and software, and search for A920 it will tell you there is nothing, do you want to search global Samsung sites. If you say yes, it will bring Korean A920 driver which worked fine with A900M, so I presume would with A920. The file is relatively small, just over 500k.
OM

#291: Re: Verisign Author: RacerJLocation: Springfield, MO PostPosted: Thu Feb 08, 2007 1:10 am
    —
OOPS Embarassed

Last edited by RacerJ on Thu Feb 08, 2007 2:37 am; edited 1 time in total

#292: Re: Sprint version Author: RacerJLocation: Springfield, MO PostPosted: Thu Feb 08, 2007 2:33 am
    —
Cristian Streng wrote:
Hyatt wrote:
Is there a new Sprint version out yet?

No, but the good news is I may get access to a Verisign certificate to sign it and hopefully make it work without any unlocking.

Cristian
Cool Cool, Sounds like the Sanyo mm-7500 GPS quick fix even I can make work! I'll be eagerlly standing by. RacerJ Very Happy

#293: auto refresh Author: brucebond PostPosted: Thu Feb 08, 2007 2:53 pm
    —
is anyone else having issues with the auto refresh?

My V3m doesn't auto refresh past the first 1st min.

#294:  Author: yuckamuk PostPosted: Thu Feb 08, 2007 4:35 pm
    —
i'm having trouble with the GPS unspecified error as well. I'm running the newest alpha on a A900m. It's worked previously, it works now, and the problem is not a recent thing. i can exit the app and restart and it works fine (for a while)

how does the app handle dropping the satellite feed (or an unanswered request from the satellite)? i know way back you had a post with some code that looked like it forced a reconnect every 10s, would forcing a reconnect every like 5 mins put the program back on track? or they're not related.

#295: Re: auto refresh Author: jwsprint PostPosted: Thu Feb 08, 2007 5:41 pm
    —
brucebond wrote:
is anyone else having issues with the auto refresh?

My V3m doesn't auto refresh past the first 1st min.


Mine too. It will give me good position at first, but will not update after the first min or so. The backlight will stay on. I can move the map view. However, the gps position will not update until I restart the app.

When I restart, it will give a new position then freeze on that position until restart.

#296:  Author: Cristian Streng PostPosted: Thu Feb 08, 2007 5:44 pm
    —
yuckamuk wrote:
how does the app handle dropping the satellite feed (or an unanswered request from the satellite)? i know way back you had a post with some code that looked like it forced a reconnect every 10s, would forcing a reconnect every like 5 mins put the program back on track? or they're not related.

It doesn't handle it in any way. The coordinates are received and "cached" as soon as they are provided by the phone. MGMaps looks every few seconds and if new coordinates are available the map or the marker is moved to the new position.

Cristian

#297:  Author: sakha PostPosted: Thu Feb 08, 2007 9:04 pm
    —
Cristian Streng wrote:
yuckamuk wrote:
how does the app handle dropping the satellite feed (or an unanswered request from the satellite)? i know way back you had a post with some code that looked like it forced a reconnect every 10s, would forcing a reconnect every like 5 mins put the program back on track? or they're not related.

It doesn't handle it in any way. The coordinates are received and "cached" as soon as they are provided by the phone. MGMaps looks every few seconds and if new coordinates are available the map or the marker is moved to the new position.

Cristian


Cristian,
I dont mean to sound nasty, but the GPS self/auto update is definitely a code problem. The reason I say that is because the commercial apps Garmin Mobile and Telenav work just fine on my A920. i.e. they autoupdate.
Anyway, hope you get access to a verisign certificate soon.
That way people dont have to do the QPST hack. Also those who have already hacked, can leave the settings as they are.
Cheers
-Sachin

#298:  Author: Cristian Streng PostPosted: Thu Feb 08, 2007 9:26 pm
    —
sakha wrote:
Cristian,
I dont mean to sound nasty, but the GPS self/auto update is definitely a code problem. The reason I say that is because the commercial apps Garmin Mobile and Telenav work just fine on my A920. i.e. they autoupdate.
Anyway, hope you get access to a verisign certificate soon.
That way people dont have to do the QPST hack. Also those who have already hacked, can leave the settings as they are.
Cheers
-Sachin

Of course, I know that. I'll deal with the Sprint version when I have time to work on it. I can NOT test it myself therefore it's much more difficult to debug it... I release a version and then after a day someone says they get an error... Then I have to wait for confirmation of this error from other users and then try something else. The Qualcomm documentation is incomplete and their java implementation does NOT follow the documentation completely. If you know of any open-source j2me application or implementation of Sprint GPS (including tracking), let me know and I'll have a look over the code and see if I find anything to help me.

Cristian

#299:  Author: Cristian Streng PostPosted: Thu Feb 08, 2007 9:47 pm
    —
I have uploaded another version as alpha3 (http://wap.mgmaps.com/alpha3.html). Let me know if this one improves in any way the GPS tracking. Note that the Mobile Tracking On/Off option was switched - when it says "Mobile Tracking On" in the menu it's now on, and if you select it you'll turn it off. To be sure about its state, see Settings/GPS/Mobile Tracking - Enabled should be checked. Also, the code is based on a previous version of MGMaps so some Search features may not work.

Cristian

#300: 904 Author: Hyatt PostPosted: Thu Feb 08, 2007 10:29 pm
    —
Ok, I get a download error 904 when I try to download the new alpha version 1.31.04

#301: New Alpha Author: Hyatt PostPosted: Thu Feb 08, 2007 11:30 pm
    —
Is anyone else having any trouble downloading the new alpha? I get a 904 error

#302: Re: 904 Author: rickgtx PostPosted: Fri Feb 09, 2007 2:29 am
    —
Hyatt wrote:
Ok, I get a download error 904 when I try to download the new alpha version 1.31.04

Me too. But I use the instructions at http://forum.mgmaps.com/viewtopic.php?p=1474#1474 to copy to my phone.

Crying or Very sad Bad News. No GPS functions work. No errors in the error log. Debug logs says GPSQJAE started, followed by the map downloads. "Where am I" gives "GPS Error - position not determined", but no error in log. Selecting/deselecting Moble tracking does nothing and the Bluetooth icon stays steady red. I selected the Internal GPS in the setup.

Now I have 3 versions on my Sprint V3m
- 1.31.04 Maps seem fine but no GPS
- 1.31.02 Maps OK but GPS times out and need to restart app
- 1.28.16 No maps but GPS seems to work - at least "Where am I" doesn't time out.

- Rick

#303: Re: New Alpha Author: postalshark PostPosted: Fri Feb 09, 2007 1:22 pm
    —
Hyatt wrote:
Is anyone else having any trouble downloading the new alpha? I get a 904 error


I am getting the same error. Was hoping to test this alpha.

I am using a Sanyo Katana.

#304:  Author: Cristian Streng PostPosted: Fri Feb 09, 2007 1:23 pm
    —
Well, it seems like you'll have to wait for the next alpha Sad Until then you can revert to v1.31.02.

Cristian

#305:  Author: postalshark PostPosted: Fri Feb 09, 2007 1:29 pm
    —
what causes the size mismatch error?

#306:  Author: Cristian Streng PostPosted: Fri Feb 09, 2007 1:31 pm
    —
Ah, I got it Smile Sorry about that. Anyway, some other users reported that it still doesn't work.

Cristian

#307:  Author: postalshark PostPosted: Fri Feb 09, 2007 2:10 pm
    —
Different Error code 910 Application Authorization Error.

#308: New Alpha Author: Hyatt PostPosted: Fri Feb 09, 2007 4:26 pm
    —
Ok, got the new alpha on my phone but the GPS isn't working! I'm using a Samsung A920.

#309:  Author: Cristian Streng PostPosted: Sat Feb 10, 2007 8:27 am
    —
There's another alpha version available at http://wap.mgmaps.com/alpha3.html, try it and let me know if this one works better than the previous.

Cristian

#310:  Author: postalshark PostPosted: Sat Feb 10, 2007 12:13 pm
    —
Cristian Streng wrote:
There's another alpha version available at http://wap.mgmaps.com/alpha3.html, try it and let me know if this one works better than the previous.

Cristian


Nope.....I still get: Data Error 910 Application Authorization Failure.

#311:  Author: Cristian Streng PostPosted: Sat Feb 10, 2007 12:15 pm
    —
Try the direct URL to the jar - http://wap.mgmaps.com/mgmaps-alpha-3.jar

#312: New Alpha 3 Author: klaroby PostPosted: Sat Feb 10, 2007 3:49 pm
    —
Found an initial position but then the gps shut down immediately.
1.28.16 seemed to work fine on my A920

#313:  Author: postalshark PostPosted: Sat Feb 10, 2007 4:29 pm
    —
Cristian Streng wrote:
Try the direct URL to the jar - http://wap.mgmaps.com/mgmaps-alpha-3.jar


The Requested Page can not be displayed......

I also tried http://wap.mgmaps.com/mgmaps-alpha-3.jad and it downloaded but I got the Data Error 910 again.

#314:  Author: rickgtx PostPosted: Sat Feb 10, 2007 5:20 pm
    —
Cristian Streng wrote:
There's another alpha version available at http://wap.mgmaps.com/alpha3.html, try it and let me know if this one works better than the previous.

Cristian

Very Happy First impressions: Looks great. GPS stays on, I need to try movement in my car to check tracking. But "GPS - Where am I" works. Seems to update maps even when GPS tracking is off. Love the Compass!

Note I did not try OTA install since I have so many versions, I want to make sure which one was replaced.

Cristian, Thanks, Thanks, Thanks

#315:  Author: Cristian Streng PostPosted: Sat Feb 10, 2007 5:52 pm
    —
rickgtx wrote:
Very Happy First impressions: Looks great. GPS stays on, I need to try movement in my car to check tracking. But "GPS - Where am I" works. Seems to update maps even when GPS tracking is off. Love the Compass!

I'm glad to hear it works better. What do you mean by "Seems to update maps even when GPS tracking is off"? Do the maps move automatically even when GPS tracking is off?

Cristian

#316: Re: how does it work? Author: MrPete PostPosted: Sat Feb 10, 2007 5:52 pm
    —
jerm wrote:
2) Does the location fix use the exact same method as the "Locate me now" options ... that service will return information about my location even when I'm indoors. It can't possibly be using GPS at that time, so it must be either going off of my last known fix, or using the cell tower triangulation as a hint. I don't know how it works...Thanks for helping me to understand.
Jeremy


"It can't possibly be using GPS at that time"...

Really now? Wink

QualComm GPS-in-the-phone may be tiny and cheap, but it's actually better than regular GPS. According to the data sheet, etc (see below), not only does it work indoors, it usually works in underground parking garages, works in "urban canyons", etc. Real GPS. They claim the cell-assist just speeds startup time by telling the phone which satellites should be available.

So, when MGMaps works with this, it will likely be the ultimate mobile GPS mapping solution.

For a quick intro, read http://www.snaptrack.com/technology/index.jsp -- particularly the second link (Mobile-Based Assisted GPS).

Tech details:
http://www.cdmatech.com/products/gpsone.jsp
Data sheet:
http://www.cdmatech.com/download_library/pdf/gpsone.pdf

#317:  Author: postalshark PostPosted: Sat Feb 10, 2007 6:05 pm
    —
Quote:


Note I did not try OTA install since I have so many versions, I want to make sure which one was replaced.



I can't find any way to install to a Katana other than OTA.


Cristian, I LOVE the work you are doing and will keep trying.


Last edited by postalshark on Sat Feb 10, 2007 6:22 pm; edited 1 time in total

#318: New Alpha 3 Author: klaroby PostPosted: Sat Feb 10, 2007 6:14 pm
    —
Looks great so far. I downloaded OTA and GPS seems to be working very well. I had tried adding using qpst before. I must have done something wrong

#319: New Alpha 3 Author: klaroby PostPosted: Sat Feb 10, 2007 10:44 pm
    —
GPS works continuously. No more crashes. Direction (compass and arrow) do not work. Speed does not work.

#320: Re: New Alpha 3 Author: Cristian Streng PostPosted: Sun Feb 11, 2007 8:23 am
    —
klaroby wrote:
GPS works continuously. No more crashes. Direction (compass and arrow) do not work. Speed does not work.

OK - there is no direction when the speed is zero, so the bug is probably with the speed code. If I find any workaround I'll let you know.

#321: No EFS in Katana? Author: MrPete PostPosted: Sun Feb 11, 2007 8:48 pm
    —
postalshark wrote:

I can't find any way to install to a Katana other than OTA.


On my new Katana:
* BitPim sees no filesystem (but CAN download some data.
* QPST says the phone does not support EFS (Embedded File Sys)

The phone/chip is seen by QPST as "SURF6100-ZRF6000 NAND"

I'm beginning to think the Katana is purposefully limited in function... maybe I should return it for something else while I can. Sad, because it has a REALLY great screen... Sad

QUESTION: Am I correct that (for now) unless I can find a way to download and upload a file directly into the EFS, there's no way for me to access the GPS functionality?

#322:  Author: Conner PostPosted: Mon Feb 12, 2007 3:41 am
    —
Some interesting tidbits:

First the background -- A900M, policy.txt changed, running a version from just before the latest 2-3 releases of this week. Only get a few minutes at a time to play with MGMaps (sorry, life comes first sometimes...)

-- In Vermont (fewer towers and 1XRTT speeds), I seem to have difficulty getting a GPS fix. Sometimes, I'll be reported almost 100 miles away, but usually just get the "...unable to determine your GPS coordinates, try again later..." message.

-- The above has happened both with MGMaps, and the "On Demand" app has also put me at the same 100 mile away location (a place I've never been. or looked up).

-- This week while in NYC, MGMaps worked great -- always put me right where I was (maybe one time put me one short block over).

Don't know what (if anything) it means, but thought I'd put the info out there...

#323:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 10:05 am
    —
Hi guys,

Can anyone try to install the version at http://wap.mgmaps.com/signed/mgmaps_sprint.jad ? This is v1.31.02 of MGMaps signed with a Thawte certificate, and I'm wondering whether it will install or not on a sprint phone. Note that you will need to install it from the jad file (OTA install) in order to use the certificate.

Thanks,
Cristian

#324:  Author: MrPete PostPosted: Mon Feb 12, 2007 11:50 am
    —
Cristian Streng wrote:
Can anyone try to install the version at http://wap.mgmaps.com/signed/mgmaps_sprint.jad ? This is v1.31.02 of MGMaps signed with a Thawte certificate, and I'm wondering whether it will install or not on a sprint phone. Note that you will need to install it from the jad file (OTA install) in order to use the certificate.


Result on Katana: "Data Error 909 Application Authentication Failure"

Notes:
* It said something like "this version already exists!" and gave me an opportunity to overwrite. If clearing and downloading again does the same thing.
* To reuse the URL on my phone at least, one must keep it as the most recent URL entered. It does not show up in History nor can it be bookmarked.
* (whine Smile -- the '_spr' sequence was a pain to enter on my phone. '_' requires bringing up the symbol menu and 'spr' is slow due to all being on the 7 key)


Last edited by MrPete on Mon Feb 12, 2007 11:59 am; edited 1 time in total

#325:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 11:57 am
    —
MrPete wrote:
Result on Katana: "Data Error 909 Application Authentication Failure"

OK, that suggests that the certificate doesn't work Sad . I'll wait for more feedback though. The most important thing at this point is to check if the Thawte certificate is accepted by any of the Sprint phones, and if the application works without any unlocking.

Cristian

#326:  Author: MrPete PostPosted: Mon Feb 12, 2007 12:17 pm
    —
Cristian Streng wrote:
OK, that suggests that the certificate doesn't work Sad . I'll wait for more feedback though.

I'll do a bit of research. Among other things, I have other friends who work on similar kinds of apps.

#327: Signing resources Author: MrPete PostPosted: Mon Feb 12, 2007 12:34 pm
    —
I assume you've seen...

(interaction on 909's) http://developer.sprint.com/show_thread.do?ps=10&forumId=122&threadid=24824

(MIDP 2.0 signing tutorial, updated 2 Feb 2007)
http://developer.sprint.com/getDocument.do?docId=91801

#328:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 12:57 pm
    —
I haven't seen that document, the application was simply signed with a Thawte certificate. I just tried it on my Nokia and it works fine - of course, not the GPS, but it does appear as signed and the certificate is valid.

Now that I'm reading it I understand that each user will need to enable developer root in order to run the application. And that's not the worst news... "Only those developers with a Java code signing digital ID from VeriSign will be issued a certificate that matches up to the Sprint Nextel developer root". If that's true, it means that even a Verisign certificate won't work alone, I'd need to get a Verisign certificate AND a certificate from Sprint.

Then again, the next section mentions that a certificate is already included with the Sprint wireless toolkit... I'll definitely need to get the latest version and check it.

Cristian

#329:  Author: MrPete PostPosted: Mon Feb 12, 2007 1:10 pm
    —
Cristian Streng wrote:
"Only those developers with a Java code signing digital ID from VeriSign will be issued a certificate that matches up to the Sprint Nextel developer root". If that's true, it means that even a Verisign certificate won't work alone, I'd need to get a Verisign certificate AND a certificate from Sprint.

Then again, the next section mentions that a certificate is already included with the Sprint wireless toolkit... I'll definitely need to get the latest version and check it.

I *think* they're saying that you only need the one cert, and based on that plus dev-activation THEY take care of devroot auth... but what do i know.

I've now gone thru the "part A" sequence. The ProtectedProperties app downloads and works correctly for me. So we're not far off track.

#330:  Author: MrPete PostPosted: Mon Feb 12, 2007 1:17 pm
    —
Page 9 explains how to sign without using the Sprint utilities. Needs both 1-1 and 1-2 cert attributes
Page 13 has useful examples.
Page 14 has 909-avoidance details:
If the content wasn’t digitally signed correctly or the developer root hasn’t been
enabled on the device, then you will get “909 Data Error: Application Authorization
Failure” message when downloading the content as illustrated in the image below.
In addition, you must follow the following recommendations to avoid 909 Data Error
messaging:
• You must include all special permissions (MIDlet-Permissions) in your JAD/JAR
files when using a set of APIs that are not part of the standard MIDP2.0
implementation. For a complete list of permissions, please refer to the
Appendix section of this document.
• The permissions must be included on a single line, comma separated, with
whitespace following each comma (,), and without line-break(s).
• You must specify the complete URL of the JAR file in the MIDlet-Jar-URL
attribute.
• For signed MIDP 2.0 applications, the MIDlet-* attributes need to exactly
match across the JAD and the JAR files.

#331:  Author: MrPete PostPosted: Mon Feb 12, 2007 1:26 pm
    —
Hmm.. a Good (?) Idea: one-button Waypoint collection as you go.
- press button, with optional (can be disabled) confirmation
- appends to Waypoint file
- separate app to view/edit waypoints
- eventually allow waypoint path collection and other Cool Stuff

Very handy while on the road.


Inspired by http://www.devx.com/wireless/Article/30380/0/page/3 but in their version you enter notes at waypoint marking time which is usually not an easy time to stop and T9-type Smile

#332:  Author: MrPete PostPosted: Mon Feb 12, 2007 1:33 pm
    —
One other potentially-useful resource found: sample code for a non-blocking location event/update listener. Vaguely sounds like it may resolve some of the issues seen (no knowledge, just a 'sense' from an experienced old fogey Smile)

http://www-users.cs.umn.edu/~czhou/docs/jsr179/lapi/javax/microedition/location/package-summary.html

#333:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 1:34 pm
    —
MrPete wrote:
Page 9 explains how to sign without using the Sprint utilities. Needs both 1-1 and 1-2 cert attributes
Page 13 has useful examples.
Page 14 has 909-avoidance details

OK, my whole point was to test whether anything else (cheaper) than a Verisign certificate works. There is no problem with the JAD file, that is generated automatically and works just fine on other phones, the application is correctly signed, the problem is whether the Sprint phones accept Thawte certificates or not.

This document suggests that even a Verisign certificate would not work on its own, but would need to be additionally certified by Sprint. So let's wait first until other people get to test the Thawte-signed version, and then I'll check the Sprint WTK and see what certificates are included there.

Cristian

#334:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 1:36 pm
    —
MrPete wrote:
One other potentially-useful resource found: sample code for a non-blocking location event/update listener. Vaguely sounds like it may resolve some of the issues seen (no knowledge, just a 'sense' from an experienced old fogey Smile)

http://www-users.cs.umn.edu/~czhou/docs/jsr179/lapi/javax/microedition/location/package-summary.html

This seems to be a copy of the documentation for JSR-179, which has been supported in MGMaps since the first GPS features were added. The only problem is that most Sprint phones do NOT support JSR-179, that's why I needed to create a separate version for Sprint.

Cristian

#335:  Author: MrPete PostPosted: Mon Feb 12, 2007 1:42 pm
    —
Cristian Streng wrote:
the problem is whether the Sprint phones accept Thawte certificates or not.

This document suggests that even a Verisign certificate would not work on its own, but would need to be additionally certified by Sprint.

Can you use the Thawte cert to sign in a way "similar" to what they describe? Seems the samples would be helpful, e.g. the need for multiple version attributes to be set.

#336:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 1:54 pm
    —
MrPete wrote:
Can you use the Thawte cert to sign in a way "similar" to what they describe? Seems the samples would be helpful, e.g. the need for multiple version attributes to be set.

OK, that document is structured like this:
  • Section A - how to activate developer root. Does not apply for me, as I don't live in the U.S. and I don't have a Sprint phone.
  • Section B, Part I - that's what I'm going to try. That does not involve any certificate except for that "sprintadp" that I assume comes with Sprint WTK.
  • Section B, Part II - explains how to sign a java application with the regular Java tools. This is what was done for this version you just tested, except that it wasn't a Verisign certificate but a Thawte certificate.
  • Section B, Part III - explains how to generate a CSR and send it to Verisign for obtaining a Verisign certificate.

What samples do you refer to? If those in the document or in the zip archive, they have no useful information, they are simply signed jad files. Also, what do you mean by "multiple version attributes to be set"?

Cristian

#337: Found info on GPS capabilities of CDMA chipsets and phones Author: MrPete PostPosted: Mon Feb 12, 2007 2:45 pm
    —
http://www.cdmatech.com/download_library/pdf/gpsone.pdf page 4 has a helpful matrix. This may be the first time I grab a cell phone based on its coding capabilities Laughing

Key things learned:

The 6050, 6100 and 6300 chips are significantly limited compared to all higher-end CMDA chips ("Single Chip 1x" and 6125 and higher).

All 14 higher end chips (except 6250) have four enhancements:
* Stand-alone GPS support (will work when away from digital cell service. So MGmaps could support via GPS-only display and/or cached-mapping)
* GPS-during voice
* Enhanced Navigation Support (whatever that is)
* Enhanced GPS satellite search (not on the 6250)

AFAIK, the Sanyo Katana uses the 6100 chip Sad

(The four EV-DO chips all have the full complement of enhancements)

https://developer.sprint.com/view_devices.do is a very handy catalog of phones and capabilities.

Some that look best to me from a GPS and developer viewpoint, all having enhanced GPS chipsets and large screens, most even capable of running javascript (!): Samsung A900, A900m and M610; Sanyo 8400 and M1, (and Palm 700P).

Secondary (due to smaller screens but still with enhanced GPS): the LG 550, Moto V3m, K1m and Slvr.

The brands differ on transparent graphic display capabilities (does this affect MGmaps?):
Samsung: none
Sanyo: GIF only
Moto: GIF and PNG
LG: all

#338:  Author: MrPete PostPosted: Mon Feb 12, 2007 3:03 pm
    —
Cristian Streng wrote:
What samples do you refer to? If those in the document or in the zip archive, they have no useful information, they are simply signed jad files. Also, what do you mean by "multiple version attributes to be set"?

See page 13.

Here are potentially significant differences I note between your jad file and their instructions and examples:

1) MGmaps "MicroEdition-Profile" is "MIDP-1.0" theirs is "MIDP-2.0". A likely culprit?

2) MGmaps jad MIDlet-Permissions lists io.Connector yet I have a hunch it uses other protected API's as well, to access the QJAE location API. The JAD and JAR must match exactly on all MIDlet-* attributes. (Page 14 says "For signed MIDP 2.0 applications, the MIDlet-* attributes need to exactly match across the JAD and the JAR files.") (Note too the comma-space reqt.)

3) MGmaps has 1-1, 1-2 and 1-3 certs. They use only two. Maybe confusing?

Hope that helps!

#339:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 4:28 pm
    —
I'm saying this again, the jad file is not broken. My whole point is to check whether the Thawte certificate works or not, I suspect not but I'm waiting for others to test this signed version. It's available at http://wap.mgmaps.com/signed/mgmaps_sprint.jad

For the next test I'll try signing with the certificate that's hopefully built into the Sprint WTK.

Cristian

#340:  Author: MrPete PostPosted: Mon Feb 12, 2007 5:52 pm
    —
Cristian Streng wrote:
I'm saying this again, the jad file is not broken.

I understand that the jad file works on non-Sprint systems. That's not at issue.

I also agree that the Thawte question is important. The hard part: we can't tell the difference between "not Verisign" rejection and rejection due to other mismatches.

What I'm asserting is that Sprint's documentation lists several additional requirements beyond a generically valid jad/jar.

You seem more confident than me that your jad/jar files meet all of the Sprint security checks listed (other than using Thawte as a cert source). Obviously I need to accept that; you're doing the heavy lifting, not me (and I sure appreciate that!!!!) I was just listing things that looked like they might cause Sprint's extra-checking to flag the app.

Cristian, the one item in MGmaps jad file that seems most 'suspect' to me is that it is marked for MIDP 1.0 instead of MIDP 2.0. QJAE requires MIDP 2.0 so that just seems a likely candidate.

Beyond that, here is a (Nokia) document that provides a number of practical hints. In section 5.3, it explains key differences between Thawte and Verisign certs, and how to handle them. I have no way to verify if MGmaps is already set up with these things in mind.
http://sw.nokia.com/id/88b8bf92-ab04-46b0-a07a-7c3e835e6d1e/MIDP_2_0_Tutorial_On_Signed_MIDlets_v1_1_en.pdf

(For onlookers: that document provided a good / detailed overview of the signing and cert-verification process.)

Well, I won't further waste your time. I *will* check with a friend who has significant Sprint midlet (and LBS) experience to see what he has to say.

#341: sprint version 1.31.02 with Thawte cert. Author: Hyatt PostPosted: Mon Feb 12, 2007 6:25 pm
    —
Sorry Cristian i get the 909 error when trying to download the sprint version 1.31.02 with Thawte cert.

Just wanted to let you know the 1.31.04 version is working the best on my 920 but it doesn't seem to refresh as fast sometimes and I was having trouble getty the Google Maps to come up while i was doing the mobile tracking in my car so i switched to MSN maps and it worked fine. Also the green GPS indicator stayed lit for a long time then gets red for a few minutes then the app starts tracking again. Thanks for all the hard work

Hyatt

#342: Re: sprint version 1.31.02 with Thawte cert. Author: Cristian Streng PostPosted: Mon Feb 12, 2007 7:38 pm
    —
Hyatt wrote:
Sorry Cristian i get the 909 error when trying to download the sprint version 1.31.02 with Thawte cert.

Just wanted to let you know the 1.31.04 version is working the best on my 920 but it doesn't seem to refresh as fast sometimes and I was having trouble getty the Google Maps to come up while i was doing the mobile tracking in my car so i switched to MSN maps and it worked fine. Also the green GPS indicator stayed lit for a long time then gets red for a few minutes then the app starts tracking again. Thanks for all the hard work

Hyatt

I have set the default refresh interval for 1.31.04 (current alpha-3) to 15 seconds, even if you configure the interval to a smaller value it will still not refresh quicker than that. When you say it doesn't refresh as fast do you mean this, or is it much slower than 15 seconds? About the GPS indicator - maybe there was a GPS coverage problem, there are a lot of factors that affect the GPS signal strength.

Cristian

#343: Refresh Author: Hyatt PostPosted: Mon Feb 12, 2007 7:41 pm
    —
Yes, thats what I was talking about, I changed the refresh rate but it didn't seem to affect it. Sometimes it takes a little longer but I couldn't get it to refresh any faster

#344:  Author: postalshark PostPosted: Mon Feb 12, 2007 8:40 pm
    —
Tried the signed link and I get the 909 Error.

#345:  Author: Cristian Streng PostPosted: Mon Feb 12, 2007 9:49 pm
    —
OK, I guess Thawte certificates don't work, I can move on to trying other alternatives.

Cristian

#346:  Author: Kenster PostPosted: Mon Feb 12, 2007 9:53 pm
    —
Tried it on my Sanyo SCP-8400 today, got the 909 Error also.

#347:  Author: jwsprint PostPosted: Mon Feb 12, 2007 11:38 pm
    —
Me too. On a new Motorola V3m.

#348: Mobile Tracking Author: Hyatt PostPosted: Tue Feb 13, 2007 2:34 pm
    —
Is there any way to speed up the moble tracking. I know you have it set to 15 sec but is there any chance of getting it to do it faster?

#349:  Author: Cristian Streng PostPosted: Tue Feb 13, 2007 2:36 pm
    —
Yes, I'll change it back in the future version - hope that won't lead to other errors.

Cristian

#350: Mobile Tracking Author: Hyatt PostPosted: Tue Feb 13, 2007 3:09 pm
    —
Ok. The new version still seems to be working great! Thanks again!

Hyatt

#351:  Author: Cristian Streng PostPosted: Tue Feb 13, 2007 5:45 pm
    —
I have uploaded a signed version of MGMaps for Sprint v1.31.04 (alpha 3) at http://wap.mgmaps.com/signed/mgmaps_sprint.jad. This one was signed using the certificate in the Sprint WTK. Let me know if you can install it.

Thanks,
Cristian.

#352:  Author: postalshark PostPosted: Tue Feb 13, 2007 6:34 pm
    —
no luck, same error 909

#353:  Author: Cristian Streng PostPosted: Tue Feb 13, 2007 6:37 pm
    —
postalshark wrote:
no luck, same error 909

Strange. If you don't have any favorites saved or if you don't mind losing them, try to delete any version of mgmaps completely from your phone before attempting to install this one. Also, make sure you have "developer root" enabled on your phone.

Cristian

#354: 909 Error Author: Hyatt PostPosted: Tue Feb 13, 2007 6:37 pm
    —
Sorry Cristian, I get the 909 error when I try to download the one you just posted. It's strange that this new one gives me the error before it starts to download where the other with the THAWTE signed one would let me download and then give me the 909 code before it installed?

#355: 909 Error Author: Hyatt PostPosted: Tue Feb 13, 2007 6:38 pm
    —
Sorry Cristian, I get the 909 error when I try to download the one you just posted. It's strange that this new one gives me the error before it starts to download where the other with the THAWTE signed one would let me download and then give me the 909 code before it installed? Also I have been trying to download these versions OTA.

#356:  Author: Kenster PostPosted: Tue Feb 13, 2007 7:07 pm
    —
Just installed the newest one (http://wap.mgmaps.com/signed/mgmaps_sprint.jad) on my 8400 and it installed fine over my existing version. My GPS now works! It actually finds me. Good work!

#357:  Author: Cristian Streng PostPosted: Tue Feb 13, 2007 7:11 pm
    —
Kenster wrote:
Just installed the newest one (http://wap.mgmaps.com/signed/mgmaps_sprint.jad) on my 8400 and it installed fine over my existing version. My GPS now works! It actually finds me. Good work!

Great news! Have you unlocked the phone before in any way (using QPST or BitPim) for GPS support in previous versions?

Cristian

#358: Version 1.32.00 Author: Hyatt PostPosted: Tue Feb 13, 2007 7:16 pm
    —
New version 1.32.00 Is yogimi great on my phone, Don't have developer root turned on on my phone so I can't try your signed one yet. How do I turn it on?

#359: Version 1.32.00 Author: Hyatt PostPosted: Tue Feb 13, 2007 7:17 pm
    —
New version 1.32.00 Is yogimi great on my phone, Don't have developer root turned on on my phone so I can't try your signed one yet. How do I turn it on?

#360:  Author: Kenster PostPosted: Tue Feb 13, 2007 7:17 pm
    —
No, bitpim couldnt find my file system and QPST couldnt find my phone. So I guess you could say its "unhacked" The only thing I did is at the spint developer site.

#361:  Author: postalshark PostPosted: Tue Feb 13, 2007 7:52 pm
    —
Cristian Streng wrote:
postalshark wrote:
no luck, same error 909

Strange. If you don't have any favorites saved or if you don't mind losing them, try to delete any version of mgmaps completely from your phone before attempting to install this one. Also, make sure you have "developer root" enabled on your phone.

Cristian


I just tried after deleting mgmaps and got the same error 909. I am not sure how to enable "developer root" for my phone. Katana.

#362:  Author: MrPete PostPosted: Tue Feb 13, 2007 8:37 pm
    —
Cristian Streng wrote:
I have uploaded a signed version of MGMaps for Sprint v1.31.04 (alpha 3) at http://wap.mgmaps.com/signed/mgmaps_sprint.jad. This one was signed using the certificate in the Sprint WTK. Let me know if you can install it.

Whoo Hoo! Smile

On my (soon to trade it in) Katana, it installs and runs, and sees me!!

I see the jad file has a change in the attributes:
MIDlet-Permissions: javax.microedition.io.Connector.http, com.qualcomm.qjae.gps.Gps

Want to do a quick try with Thawte signing again, yet using everything else from the new jad, just in case that works?

#363:  Author: postalshark PostPosted: Tue Feb 13, 2007 8:52 pm
    —
MrPete wrote:

Whoo Hoo! Smile

On my (soon to trade it in) Katana, it installs and runs, and sees me!!


How the heck did you get it to install? I can't get my Katana to install it.

#364:  Author: jwsprint PostPosted: Tue Feb 13, 2007 9:53 pm
    —
And I thought that Verizon was strict.

I deleted MGMaps (including the index file) with BitPim and rebooted my new Motorola V3m phone. Tried the wap and also tried the sprint upload. Recieved the 909 error trying both.

#365:  Author: Kenster PostPosted: Tue Feb 13, 2007 10:13 pm
    —
With the newest version I wonder if people getting the 909 error have enabled "developer root" on the sprint dev. web site. Thats the only thing I did different and downloaded and installed with no problems. And GPS is now working!

#366: developer root Author: Hyatt PostPosted: Tue Feb 13, 2007 11:35 pm
    —
Signed up on Sprint Developer site, how do I enable Developer Root?

#367:  Author: postalshark PostPosted: Tue Feb 13, 2007 11:43 pm
    —
I set my Katana up and it downloaded the Alpha that was giving me the 909 error. Very Happy

It connects with my GPS and found me!!!!

Is there anything I need to keep in mind now that myhandset is "enabled"?

#368: Re: developer root Author: Kenster PostPosted: Tue Feb 13, 2007 11:56 pm
    —
Hyatt wrote:
Signed up on Sprint Developer site, how do I enable Developer Root?


- I Clicked on the "Develop" Tab
- (On the left) chose Enabling device for activation
- Then Device ESN Activation
- Add your phone

- after your phone is added I believe under the "actions" you need to choose active.

My ESN was on the bottom of my phone (Sanyo 8400) Under the battery.

Hope this helps, and anyone correct me if im wrong! Thanks

#369: A920 success! THANK YOU for your persistence, Cristian! Author: NC PostPosted: Wed Feb 14, 2007 5:24 am
    —
After reading the recent posts and initially encountering the same error trying to download the latest version, I enabled Developer Root on my Samsung A920. I was then able to successfully load MGMaps 1.32.00 over my old 1.31.02 version. During the download it asked if I wanted the application to be able to access the persistent data of the earlier version, and I told it to do so.

Now I'm almost giddy! Laughing All my favorites were kept, the GPS feature works, and I didn't even have to try hacking the phone at all to change its policy file!

Now that the application is loaded and working, do I still have to keep Developer Root enabled? Would MGMaps still work if I disabled it (and then re-enabled it anytime I wanted to install an update)?

THANK YOU SO MUCH again, Cristian! As they've written before, "You rock!" Very Happy

Happy Valentine's Day, everyone!

P.S.: When MGMaps starts, I've been requiring it to ask me if it's OK to access the network, and I tell it to do so for the current session. Now it also asks me if it's OK to let MGMaps access my GPS location, and I give it the same reply. Also, when I choose "Where Am I?" it initially gives me a quick "error" saying that it can't find the location, but after a second or two it does find the location and display it on the map.

P.P.S.: I also have my *phone's* location feature on (Settings, 8 Others, 4 Location). It gives the following blurb: "Turning location on will allow the network to detect your position using GPS technology, making some Sprint applications and services easier to use. Turning location off will disable the GPS location for all purposes except 911, but will not hide your general location based on the cell site serving your call. No application or service may use your location without your request or permission. GPS enhanced 911 is not available in all areas."


Last edited by NC on Wed Feb 14, 2007 3:17 pm; edited 1 time in total

#370: Re: A920 success! THANK YOU for your persistence, Cristian! Author: Cristian Streng PostPosted: Wed Feb 14, 2007 8:49 am
    —
NC wrote:
Now that the application is loaded and working, do I still have to keep Developer Root enabled? Would MGMaps still work if I disabled it (and then re-enabled it anytime I wanted to install an update)?

I think it will not work without Developer Root enabled. The option basically validates the certificate used for signing MGMaps (it enables or disables the root authority it's checked against).

NC wrote:
P.S.: When MGMaps starts, I've been requiring it to ask me if it's OK to access the network, and I tell it to do so for the current session. Now it also asks me if it's OK to let MGMaps access my GPS location, and I give it the same reply. Also, when I choose "Where Am I?" it initially gives me a quick "error" saying that it can't find the location, but after a second or two it does find the location and display it on the map.

Well, it's normal to ask for confirmations, though since it's signed you should be able to allow it to always access the network and GPS. The "error" is also normal - it takes some time to get a GPS position fix.

#371:  Author: poonstang90lx PostPosted: Wed Feb 14, 2007 9:16 am
    —
I have a razor v3m that I cannot get gmaps to install on I have been to the sprint developer website and had my phone enabled. I keep getting an error message 910 The phone will down load the file then I get the error code it says. The issue has been reported. Please try again later. 910 I f any body can help me figure this problem out I would really appreciate it. Thankyou

#372: 909 error Author: Hyatt PostPosted: Wed Feb 14, 2007 1:20 pm
    —
Ok, I went to the Sprint Developer site and signed up and enabled the developer root. Does it take some time to activate on your phone because I still cant download the 1.31.04 with your signed cert. My A920 is hacked so do I need to revert back to the original policy.txt file or am I missing something?

Hyatt

#373: RAZR V3m Author: rickgtx PostPosted: Wed Feb 14, 2007 2:49 pm
    —
poonstang90lx wrote:
I have a razor v3m that I cannot get gmaps to install on I have been to the sprint developer website and had my phone enabled. I keep getting an error message 910 The phone will down load the file then I get the error code it says. The issue has been reported. Please try again later. 910 I f any body can help me figure this problem out I would really appreciate it. Thankyou
Do you have the USB cable to connect the phone to the PC? If so follow these instructions http://forum.mgmaps.com/viewtopic.php?p=1474#1474 to copy the files your phone.

#374: My A920 success steps Author: NC PostPosted: Wed Feb 14, 2007 3:14 pm
    —
I had been browsing this forum with Opera Mini (as I am now) and read about the developer root enabling. I tried to do that via both OM and the built-in Obigo browser but ultimately needed a pc. I created an account and activated it by clicking on the link that was emailed to me and then logging in (all via OM). After supplying my phone # and (hex) ESN (which I also found on my phone's original box) via a pc, I set it active. I then logged out and went back to OM on my phone and clicked on the forum link near the top of page 25. I told it to do the download and it launched the Obigo browser. See my post above for the success from this point. P.S.: I know I could set the app's permissions to always allow, but for now I have them (all) set to ask me each time and then I confirm for each session. P.P.S.: Does keeping the GPS feature (in MGMaps) on require any more battery power?

#375:  Author: RacerJLocation: Springfield, MO PostPosted: Wed Feb 14, 2007 5:28 pm
    —
Cristian Streng wrote:
I have uploaded a signed version of MGMaps for Sprint v1.31.04 (alpha 3) at http://wap.mgmaps.com/signed/mgmaps_sprint.jad. This one was signed using the certificate in the Sprint WTK. Let me know if you can install it.

Thanks,
Cristian.
I Have a Sprint Sanyo mm-7500, dev. enabled status Y, no hack, I still get 909 when trying OTA download at http://wap.mgmaps.com/signed/mgmaps_sprint.jad Sad Any suggestions? Smile

#376: 1.31.04 Error Author: Hyatt PostPosted: Wed Feb 14, 2007 5:33 pm
    —
I'm still having problems installing version1.31.04. I keep getting the 909 error, I have successfully installed version 1.32.00 (which works great) but I'm still trying to get the one thats signed,

#377: Re: My A920 success steps Author: Cristian Streng PostPosted: Wed Feb 14, 2007 6:20 pm
    —
NC wrote:
P.P.S.: Does keeping the GPS feature (in MGMaps) on require any more battery power?

Yes, usually it drains the battery power more rapidly.

Hyatt wrote:
I'm still having problems installing version1.31.04. I keep getting the 909 error, I have successfully installed version 1.32.00 (which works great) but I'm still trying to get the one thats signed

OK, I think both the signed version and the one available as "alpha-3" report 1.32.00 as the version number inside the application. Do you have developer root enabled? I think you need that (instead of phone hacking) for the signed version to work.

#378: GPS: Unspecified Error Author: JohanD PostPosted: Wed Feb 14, 2007 7:10 pm
    —
Cristian Streng wrote:
I have uploaded another version as alpha3 (http://wap.mgmaps.com/alpha3.html). Let me know if this one improves in any way the GPS tracking. Note that the Mobile Tracking On/Off option was switched - when it says "Mobile Tracking On" in the menu it's now on, and if you select it you'll turn it off. To be sure about its state, see Settings/GPS/Mobile Tracking - Enabled should be checked. Also, the code is based on a previous version of MGMaps so some Search features may not work.

Cristian


I know that I'm a bit late getting to this testing, but I just took a few quick rides around town with my V3m and tried the mobile tracking with this version. The backlight is now perfect.
Unfortunately I'm still eventually getting the dreaded "GPS: ... Unspecified Error" and it never works after I get that error. It seemed like it might be working slightly longer... but that may not be true. I'll have to do more testing, but it seems that I now have to power cycle my phone to get the gps working again... before I only had to quit out of the app and restart it.
Am I the only one still seeing the Unspecified Error?

#379:  Author: Hyatt PostPosted: Wed Feb 14, 2007 7:33 pm
    —
Do I need to change my policy.txt back to the original? My developer root is enabled. I try to download the alpha 3 version that has been signed (1.31.04) but I still get the 909?

#380:  Author: Cristian Streng PostPosted: Wed Feb 14, 2007 9:41 pm
    —
Hyatt wrote:
Do I need to change my policy.txt back to the original? My developer root is enabled. I try to download the alpha 3 version that has been signed (1.31.04) but I still get the 909?

I don't think the policy.txt matters any more. Sorry if you know this, but I'm repeating: the alpha-3 version is not signed, the signed version is at http://wap.mgmaps.com/signed/mgmaps_sprint.jad. If it still doesn't work you probably don't have developer root enabled correctly or for some reason you don't have the correct root certificates installed on the phone.

Cristian

#381: Signed app. Author: Hyatt PostPosted: Wed Feb 14, 2007 9:55 pm
    —
Sorry about the confusion, the signed alpha 3 still doesn't work. 909 error before it even begins download. The 1.32.00 seems to work fine except for compass and direction.

#382: Sprint (Katana) startup occasional trouble Author: MrPete PostPosted: Thu Feb 15, 2007 12:13 am
    —
At "random", when I start the app, it fails to ever find the GPS.

I can work around as follows...

* Set (and save) GPS device to None
* Set (and save) GPS device to Internal
* at this point, I get an Application Exception and it offers to restart the app
* upon restart, all is well.

#383: Re: Sprint (Katana) startup occasional trouble Author: postalshark PostPosted: Thu Feb 15, 2007 12:21 am
    —
MrPete wrote:
At "random", when I start the app, it fails to ever find the GPS.


I haven't seen that problem yet. Mine (Katana) connects everytime but sometimes it takes longer than others. Mostly when I am connecting "indoors", which is amazing since I have a Garmin V and also a Pharos bluetooth that can't connect indoors.

I am running ver 1.32.00

My biggest problem with mgmaps is spending too much time playin around with it and burning up my battery. Shocked

#384: Re: Sprint (Katana) startup occasional trouble Author: MrPete PostPosted: Thu Feb 15, 2007 3:01 am
    —
postalshark wrote:
...connecting "indoors", which is amazing since I have a Garmin V and also a Pharos bluetooth that can't connect indoors.

See my posting on page 22 of this thread.

Normal GPS basically requires line of sight to multiple satellites. Thus, they won't work indoors, under heavy foliage, in a parking garage (certainly not underground), and rarely in an "urban canyon" among hirise buildings.

The GPS in QualComm chips may be tiny and cheap but they provide superior GPS reception: literally 1,000+ times more sensitive than standard GPS receivers, the latest QC phones will provide a GPS signal in all of the above situations. There's a reason Qualcomm paid a LOT to buy out the company that invented the technology (SnapTrack). It allows e911 location service without modifying the cell network.

And for our purposes here, it allows for GPS reception pretty much no matter where you might be.

Those who want to buy a cellphone for use with MGmaps: find out which QualComm chip is used in your phone; models 6125 and newer have the latest and greatest advances in GPS technology.

#385: Re: RAZR V3m Author: poonstang90lx PostPosted: Thu Feb 15, 2007 5:31 am
    —
rickgtx wrote:
poonstang90lx wrote:
I have a razor v3m that I cannot get gmaps to install on I have been to the sprint developer website and had my phone enabled. I keep getting an error message 910 The phone will down load the file then I get the error code it says. The issue has been reported. Please try again later. 910 I f any body can help me figure this problem out I would really appreciate it. Thankyou
Do you have the USB cable to connect the phone to the PC? If so follow these instructions http://forum.mgmaps.com/viewtopic.php?p=1474#1474 to copy the files your phone.

No I don't have a usb adapter yet but I do have a bluetooth dongle, but for some reason I cant get it to load these files to my phone. I can load music and pictures no problem though.

#386:  Author: Cristian Streng PostPosted: Thu Feb 15, 2007 3:30 pm
    —
Just a quick update: the signed version was moved as the default Sprint version http://wap.mgmaps.com/mgmaps_sprint.jad, and a new signed version is available as the alpha-3 http://wap.mgmaps.com/alpha3.html. This new release reduces the default/minimum GPS refresh interval back to 3 seconds and includes some updates for the "Get directions" feature.

Cristian

#387: New Alpha 3 Author: klaroby PostPosted: Thu Feb 15, 2007 4:19 pm
    —
I tried to download the new signed Alpha-3. I get the 909 error. I have an edited policy.txt file and have enabled the handset as a developer.

Never had a problem downloading the files before. Is there a problem having the edited policy.txt file?

Can you make the new version available unsigned for us with edited policy.txt files?

#388: Re: New Alpha 3 Author: bboons PostPosted: Thu Feb 15, 2007 4:29 pm
    —
klaroby wrote:
Can you make the new version available unsigned for us with edited policy.txt files?


I second that request. I have an edited policy.txt and I'd rather not bother with the Sprint Developer stuff if possible.

Also, I am currently running the 1.28.16 Sprint version on Samsung A900 and it serves the purpose (I often get lost and the Where am I feature is a heaven send to get back my bearings!). Anyway, I would like to try the newer versions without erasing the old working version, is this possible? and if so how do I do it?

Thanks again Cristian for a great app.

#389:  Author: Hyatt PostPosted: Thu Feb 15, 2007 4:52 pm
    —
Cristian Streng wrote:
Just a quick update: the signed version was moved as the default Sprint version http://wap.mgmaps.com/mgmaps_sprint.jad, and a new signed version is available as the alpha-3 http://wap.mgmaps.com/alpha3.html. This new release reduces the default/minimum GPS refresh interval back to 3 seconds and includes some updates for the "Get directions" feature.

Cristian
I have dev root enabled but get 909 on both download links

#390: Re: New Alpha 3 Author: Cristian Streng PostPosted: Thu Feb 15, 2007 5:36 pm
    —
klaroby wrote:
I tried to download the new signed Alpha-3. I get the 909 error. I have an edited policy.txt file and have enabled the handset as a developer.

Never had a problem downloading the files before. Is there a problem having the edited policy.txt file?

No, there shouldn't be any problem with that.

klaroby wrote:
Can you make the new version available unsigned for us with edited policy.txt files?

The signature is only present in the jad file, so try to install directly from the jar file (http://wap.mgmaps.com/mgmaps-alpha-3.jar). If that doesn't work try installing from the unsigned jad file at (http://wap.mgmaps.com/mgmaps-alpha-3u.jad, the jar file accessed is the same).

Cristian

#391:  Author: klaroby PostPosted: Thu Feb 15, 2007 6:31 pm
    —
Could not get the http://wap.mgmaps.com/mgmaps-alpha-3.jar link to work. Gives me a "The Requested Page can not be displayed"error.
Loaded the http://wap.mgmaps.com/mgmaps-alpha-3u.jad file and cannot get the GPS to work. It gives the appearance that it works for a couple of seconds and then shuts down. Never gets a valid GPS position. The 1.32.00 version is working fine on my phone with the exception of speed and direction.

#392: Re: New Alpha 3 Author: Cristian Streng PostPosted: Thu Feb 15, 2007 6:32 pm
    —
bboons wrote:
Also, I am currently running the 1.28.16 Sprint version on Samsung A900 and it serves the purpose (I often get lost and the Where am I feature is a heaven send to get back my bearings!). Anyway, I would like to try the newer versions without erasing the old working version, is this possible? and if so how do I do it?

The phone should ask whether you want to upgrade when you install a newer version, and if you choose so then all preferences should be preserved. At some point I'll add support for saving favorites on the server.

#393:  Author: Cristian Streng PostPosted: Thu Feb 15, 2007 6:54 pm
    —
klaroby wrote:
The 1.32.00 version is working fine on my phone with the exception of speed and direction.

That is the previous unsigned version that was available as alpha-3, right?

#394:  Author: klaroby PostPosted: Thu Feb 15, 2007 7:13 pm
    —
Yes. That is the previous Alpha 3 version with the 15 second update rate.

#395: problems Author: Hyatt PostPosted: Thu Feb 15, 2007 7:23 pm
    —
Ok, can't figure out what is going on. 1.32.00 worked pretty good but I installed 1.32.01 and auto update doesn't work, no errors until I do the "where am I". I cant download any newer versions signed or unsigned, I get a 909 before it begins download. I'm hacked and root enabled. please help i'm stuck

#396: Re: problems Author: bboons PostPosted: Thu Feb 15, 2007 7:26 pm
    —
When I try http://wap.mgmaps.com/mgmaps_sprint.jad I get a 909 error and when I try http://wap.mgmaps.com/mgmaps-alpha-3u.jad (installs successfully but) I lost GPS completely.

Klaroby: can you send me a pointer to the 1.32 version that is working for you.
Thanks.

P.S. Using A900m/Sprint/edited policy/no dev root

#397:  Author: klaroby PostPosted: Thu Feb 15, 2007 7:32 pm
    —
Sorry, The one that I have that works was the previous unsigned Alpha3 that Cristian had posted as Alpha3. It has been replaced with the new signed Alpha3 version. Maybe Cristian can provide a link to the older version.

#398: v1.32.00 works OK; v1.32.01 doesn't without tweaking Author: NC PostPosted: Thu Feb 15, 2007 7:42 pm
    —
I did some quick "Get directions" searches with my installed v1.32.00 and was wondering how to delete these from the "Search History" screen(maybe in a similar way to deleting unwanted favorites).

I saw Cristian's note on the updated v1.32.01 release and so downloaded it (http://wap.mgmaps.com/alpha3.html), but then my GPS functionality stopped working. (I kept getting that error about not being able to find the location.) The GPS icon (resembling a Bluetooth symbol) stayed red all the time. (I did like the "sprint version" text addition to the "about" screen!)

I went to the other link in Cristian's recent note (http://wap.mgmaps.com/mgmaps_sprint.jad) and (re)loaded v1.32.00 again and got it working well. (The GPS icon changed from red to green in the display as it found my location. When I turned off the mobile tracking feature, the "Where Am I?" function still worked properly (unlike v1.32.01's) and the GPS icon eventually settled into its pleasant white-on-blue color.

I tried going back to v1.32.01 a couple more times, but the GPS would not work consistently. Sometimes if I changed the setting from "Internal" to "None" and then back to "Internal" (and sometimes this took a couple of presses to the "Save" button) it would work, but then just for that session. If I quit the app and started it again, it would not readily provide GPS locations. Now I'm back with v1.32.00 and it works fine in getting a quick location. Version 1.32.01 didn't have any way I could find to delete items from the search history either. Maybe I'll wait for v1.32.02+ and/or further instructions on this. (I'm enjoying the working "Where Am I?" function too much right now! Smile )

Incidentally, my Lat and Lon show up well in the Compass screen (that is, I can finally read each's entire value without its going off the screen, but they still overlap the "Spd:" and "Hdng:" light blue text. Might it be possible in a future release to put "Spd:" and "Hdng:" together on a line below "Lat:" and "Lon:"? The compass icon is great but maybe it could still be a teensy bit smaller if this would better accommodate another display line above it. In any event, I'm still grateful for this fine program!

P.S.: Enabling developer root on the phone is as easy as visiting the Sprint site, registering and providing an email address (you can even have a "nickname" there), then clicking on the link they email you and finally entering your phone # and its electronic serial # and setting your displayed phone info as Active. (This was a lot easier for me that trying to change internal phone files.) Don't be afraid to give it a try -- if you own your phone Sprint knows who you are anyway <wink>, and you can always disable it if you no longer want/need it.

#399:  Author: Cristian Streng PostPosted: Thu Feb 15, 2007 8:10 pm
    —
klaroby wrote:
Sorry, The one that I have that works was the previous unsigned Alpha3 that Cristian had posted as Alpha3. It has been replaced with the new signed Alpha3 version. Maybe Cristian can provide a link to the older version.

Yes, try http://wap.mgmaps.com/mgmaps_sprintu.jad.

NC wrote:
I did some quick "Get directions" searches with my installed v1.32.00 and was wondering how to delete these from the "Search History" screen(maybe in a similar way to deleting unwanted favorites).

You can't delete them, the history always keeps the latest 20 searches or so.

#400:  Author: bboons PostPosted: Thu Feb 15, 2007 8:31 pm
    —
Cristian Streng wrote:

Yes, try http://wap.mgmaps.com/mgmaps_sprintu.jad.


Thanks! That worked.
BTW, the key-short-cut header for zooming is unnecessarily taking up space at the top. An option to remove that would be nice (if not already supported).

Also, the reason I'm hesitating to use the developer root is I'm not sure if something gets uploaded to my phone automatically by doing that. I've made some changes to my phone (including editing of policy.txt) that I don't want to get overwritten. Does anybody know what exactly happens when I enable dev. root with my ESN?

#401:  Author: Cristian Streng PostPosted: Thu Feb 15, 2007 8:47 pm
    —
bboons wrote:
Thanks! That worked.
BTW, the key-short-cut header for zooming is unnecessarily taking up space at the top. An option to remove that would be nice (if not already supported).

That is already supported, it's the option "Key Hints" in Settings/Screen.

#402:  Author: bboons PostPosted: Thu Feb 15, 2007 9:39 pm
    —
Cristian Streng wrote:
[That is already supported, it's the option "Key Hints" in Settings/Screen.

As you can tell I'm not the kind of guy that reads user manuals!. Anyway, got to play around with other features and I'm truly impressed. The live traffic information was cool, however with that turned on I could not zoom in beyond 1000 feet. A minor issue but I thought I'd let you know.

#403:  Author: Cristian Streng PostPosted: Thu Feb 15, 2007 10:05 pm
    —
bboons wrote:
Cristian Streng wrote:
That is already supported, it's the option "Key Hints" in Settings/Screen.

As you can tell I'm not the kind of guy that reads user manuals!.

Well, I don't think that's present in the manual, the documentation is a bit behind the current development and still refers to version 1.28. Sad

bboons wrote:
Anyway, got to play around with other features and I'm truly impressed. The live traffic information was cool, however with that turned on I could not zoom in beyond 1000 feet. A minor issue but I thought I'd let you know.

You couldn't zoom in at all, or the traffic info was not displayed beyond 1000 feet?

Cristian.

#404: Re: problems Author: sjf7351Location: MI PostPosted: Thu Feb 15, 2007 11:32 pm
    —
Hyatt wrote:
Ok, can't figure out what is going on. 1.32.00 worked pretty good but I installed 1.32.01 and auto update doesn't work, no errors until I do the "where am I". I cant download any newer versions signed or unsigned, I get a 909 before it begins download. I'm hacked and root enabled. please help i'm stuck


Well, I'm in the same boat as you. I have a m610 that did work, but now all I get is the 909 and 910 errors. Its unhacked and root enabled. I tried all the links with no luck. Any help anybody can offer would be great.
Thanks

#405:  Author: Kenster PostPosted: Fri Feb 16, 2007 12:18 am
    —
Cristian Streng wrote:
Just a quick update: the signed version was moved as the default Sprint version http://wap.mgmaps.com/mgmaps_sprint.jad, and a new signed version is available as the alpha-3 http://wap.mgmaps.com/alpha3.html. This new release reduces the default/minimum GPS refresh interval back to 3 seconds and includes some updates for the "Get directions" feature.

Cristian


I downloaded and installed the alpha 3 with no problems. Although the GPS never kicked in(waited about 10 min). Went back to the signed one (one before) and GPS is fine.

#406:  Author: JohanD PostPosted: Fri Feb 16, 2007 1:09 am
    —
Kenster wrote:
Cristian Streng wrote:
Just a quick update: the signed version was moved as the default Sprint version http://wap.mgmaps.com/mgmaps_sprint.jad, and a new signed version is available as the alpha-3 http://wap.mgmaps.com/alpha3.html. This new release reduces the default/minimum GPS refresh interval back to 3 seconds and includes some updates for the "Get directions" feature.

Cristian


I downloaded and installed the alpha 3 with no problems. Although the GPS never kicked in(waited about 10 min). Went back to the signed one (one before) and GPS is fine.


Same here. I downloaded the signed version from my phone (V3m). It seemed to install fine, and even asked me for GPS permissions. I set it to "Always Allow", but I never got my location. I didn't get an error, it almost seemed like it never tried to get the location. I power cycled the phone, same thing.

#407: Did you try... Author: NC PostPosted: Fri Feb 16, 2007 5:31 am
    —
In v1.32.01, did you also try: GPS setup, select device, none (save), internal (save) and then attempt GPS again?

#408: Re: Did you try... Author: JohanD PostPosted: Fri Feb 16, 2007 2:46 pm
    —
NC wrote:
In v1.32.01, did you also try: GPS setup, select device, none (save), internal (save) and then attempt GPS again?


Not sure if you meant me... but I did try that with the latest "alpha3". I did get a javascript display error at first when I went back to internal, but it seemed to save the setting. (but then again maybe it didn't)

The error was: Uncaught Exception java.lang.IllegalThreadState Exception at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+309) at javax.microedition.lcdui.Display$DisplayManagerlmpl.commandAction(+10) at com.sun.midp.lcdui.Default EventHandler.commandEvent(+209) at com.sun.midp.lcdui.Default.EventHandler$QueuedEventHandler.run(+254)

Hmm... actually now that I keep going back and forth to get this error message. I'm noticing that sometimes I get my GPS position. It doesn't seem to keep working though. By the time I get back to the main screen, I have a GPS location, but it never updates while I watch it. (And it isn't just the last known location when I set the device to "None"... it seems to work briefly when I switch back and forth) The debug log shows a bunch of "Unspecified" GPS errors, and a few successful GPS fixes. Strange.

#409:  Author: bboons PostPosted: Fri Feb 16, 2007 2:54 pm
    —
wrote:

You couldn't zoom in at all, or the traffic info was not displayed beyond 1000 feet?

Cristian.

Well, zooming in beyond 1000ft have me a screen with blank tiles saying that maps are not available for that resolution. I'm not able to reproduce the problem today though. May be I did something wrong earlier.

#410: Re: Did you try... Author: Cristian Streng PostPosted: Fri Feb 16, 2007 5:46 pm
    —
JohanD wrote:
The error was: Uncaught Exception java.lang.IllegalThreadState Exception at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+309) at javax.microedition.lcdui.Display$DisplayManagerlmpl.commandAction(+10) at com.sun.midp.lcdui.Default EventHandler.commandEvent(+209) at com.sun.midp.lcdui.Default.EventHandler$QueuedEventHandler.run(+254)

Uh, that doesn't sound good, sounds like a threading bug somewhere in my code. The up side is that other people don't get such errors yet Smile

bboons wrote:
Well, zooming in beyond 1000ft have me a screen with blank tiles saying that maps are not available for that resolution. I'm not able to reproduce the problem today though. May be I did something wrong earlier.

I see... maybe you did zoom in some area where there was no map coverage, but if you can reproduce the problem let me know.

Cristian

#411: latest version? Author: sakha PostPosted: Fri Feb 16, 2007 6:09 pm
    —
Cristian,
Finally a fantastic break with get directions. I was wondering, what is the latest version?
I have 1.32.00 build date Feb 10 2007.
Is there a later version than that, how do i get my hands onto that one.
I saw a nifty feature for get directions with current gps location in some version, how do i get that one?
Thx
-Sachin

#412: Re: latest version? Author: Cristian Streng PostPosted: Fri Feb 16, 2007 6:20 pm
    —
sakha wrote:
I have 1.32.00 build date Feb 10 2007.
Is there a later version than that, how do i get my hands onto that one.
I saw a nifty feature for get directions with current gps location in some version, how do i get that one?

There is a newer one but it doesn't work (for Sprint)... Maybe I'll upload tomorrow another test version to see if the problems with the GPS in v1.32.01 were fixed.

Cristian

#413:  Author: sakha PostPosted: Fri Feb 16, 2007 6:23 pm
    —
Never mind, got it, it the alpha3 version.
Works for me, will do some more tests like gps auto-track and will let u know, no errors so far. Best feature is turn-by-turn directions.
Is it too much to ask to get a "<-previous next->" kind of key mapping for the directions?
Also would it be possible to at all track the directions progress with GPS?
Someday i might volunteer to write up a small piece for text-to-audio so that the directions can be heard over the internal phone speaker or over bluetooth headset, heck i might even buy a bluetooth headset if that were indeed to work Smile
Again I will keep saying it, thank you very much for such a fantastic app.
Cheers
-Sachin

#414: Re: latest version? Author: sakha PostPosted: Fri Feb 16, 2007 6:24 pm
    —
Cristian Streng wrote:
sakha wrote:
I have 1.32.00 build date Feb 10 2007.
Is there a later version than that, how do i get my hands onto that one.
I saw a nifty feature for get directions with current gps location in some version, how do i get that one?

There is a newer one but it doesn't work (for Sprint)... Maybe I'll upload tomorrow another test version to see if the problems with the GPS in v1.32.01 were fixed.

Cristian

Well lets see if it works or not, i will take a walk outside right now and will let you know, in 15-20 minutes.

#415:  Author: sakha PostPosted: Fri Feb 16, 2007 6:40 pm
    —
Just confirmed GPS is indeed broken for the 1.32.01 alpha 3 version.
The version 1.32.00 works perfectly though.
Would it be possbile to add the direction from GPS location to the 1.32.00 version?
Thx
-Sachin

#416:  Author: Cristian Streng PostPosted: Fri Feb 16, 2007 6:40 pm
    —
sakha wrote:
Is it too much to ask to get a "<-previous next->" kind of key mapping for the directions?

There is such a mapping, it should be displayed at the top of the screen if Settings/Screen/Overlays/Key Hints is enabled. It's 1 for previous, 3 for next. The new version will also use 2 to clear results/directions.

sakha wrote:
Also would it be possible to at all track the directions progress with GPS?
Someday i might volunteer to write up a small piece for text-to-audio so that the directions can be heard over the internal phone speaker or over bluetooth headset, heck i might even buy a bluetooth headset if that were indeed to work Smile

Yeah, once I'm done with drawing the route I'll continue to work on the tracking features.

#417:  Author: Cristian Streng PostPosted: Fri Feb 16, 2007 6:41 pm
    —
sakha wrote:
Would it be possbile to add the direction from GPS location to the 1.32.00 version?

No, but it will be present in future versions.

#418:  Author: sakha PostPosted: Fri Feb 16, 2007 6:55 pm
    —
Cristian Streng wrote:
sakha wrote:
Is it too much to ask to get a "<-previous next->" kind of key mapping for the directions?

There is such a mapping, it should be displayed at the top of the screen if Settings/Screen/Overlays/Key Hints is enabled. It's 1 for previous, 3 for next. The new version will also use 2 to clear results/directions.

Gotcha, I saw it now.

sakha wrote:
Also would it be possible to at all track the directions progress with GPS?
Someday i might volunteer to write up a small piece for text-to-audio so that the directions can be heard over the internal phone speaker or over bluetooth headset, heck i might even buy a bluetooth headset if that were indeed to work Smile

Yeah, once I'm done with drawing the route I'll continue to work on the tracking features.


Please do and let us know. Thx
-Sachin

#419: Re: problems Author: poonstang90lx PostPosted: Sat Feb 17, 2007 8:16 am
    —
sjf7351 wrote:
Hyatt wrote:
Ok, can't figure out what is going on. 1.32.00 worked pretty good but I installed 1.32.01 and auto update doesn't work, no errors until I do the "where am I". I cant download any newer versions signed or unsigned, I get a 909 before it begins download. I'm hacked and root enabled. please help i'm stuck


Well, I'm in the same boat as you. I have a m610 that did work, but now all I get is the 909 and 910 errors. Its unhacked and root enabled. I tried all the links with no luck. Any help anybody can offer would be great.
Thanks

Man I am having the exact same problem I have tried every version I can find and nothing works . The phone has been root enabled. Do any of you guys have an idea as to what could be the problem.

#420: m610 Author: mattleg PostPosted: Sat Feb 17, 2007 6:12 pm
    —
I have a m610 and finally got the GPS working with MGMaps 1.32.00 . First thing that happened was I kept getting either 909 error for 1.32.01 signed before it would even download. The unsigned 1.32.01 would download but give could error 910.

After some searching and tons of reading, I found out the ESN is case sensitive on the developer website for root enable. Once I fixed that, I could download both unsigned and signed 1.32.01, however GPS did not work on those version for my phone at least. I then tried 1.32.00 and it worked like a charm first time.

If your getting error 909, or 910 on your m610, you might try this method to verify you are properly root enabled. Log in and get to the enable device page. Disable the root and hit submit. When it refresh, the phone number becomes a link, click it and change your ESN to match yours, it is cAsE sensitive. Hit submit, go back to the main page and enable root again. Wait a few minutes and try to download again.

#421: Re: m610 Author: NC PostPosted: Sun Feb 18, 2007 7:29 am
    —
mattleg wrote:

After some searching and tons of reading, I found out the ESN ... is cAsE sensitive.
Thanks for discovering and posting this, mattleg! FWIW, I initially entered my ESN in UPPERCASE (as it appeared on the original box) and never had any download problems after marking my phone active on the developer website.

#422: Samsung A920 GPS MGMaps Author: clbowens PostPosted: Mon Feb 19, 2007 5:11 pm
    —
I have it running on my A920 and it works file (with the latest version 1.32.00). I went the Sprint developer website route. And yes, I also found out that it was case sensitive. Smile

#423:  Author: patrascu PostPosted: Mon Feb 19, 2007 9:45 pm
    —
I have a problem at the Sprint developer site. I put in my phone number and ESN but cannot activate my phone. It spits out an error every time I change the drop-down to activate and click "Submit". I have tried capital letters, lower case letters, and every combination of the two, in the ESN. No matter what I do, I still get the following error: "5054170000 - We're sorry, but we were unable to process this request, please verify that the PCS Phone Number/ESN is an active valid combination and the device is on to receive your request. Try your request again. If the problem persists, go to Contact Us and submit the problem. Reference number: 234-P"

Note: I zeroed out the last 4 digits of my phone number, but they do show up correctly online.


Anyone else have this problem???

#424: new version Author: Hyatt PostPosted: Tue Feb 20, 2007 7:53 pm
    —
When will new version be out?

#425:  Author: neverknowsbest PostPosted: Tue Feb 20, 2007 8:33 pm
    —
Yo, I have an LG LX350 phone with internal gps through Sprint, and I tried downloading both v1.32.01 and 1.32.00 and everytime the program will work fine, but absolutely no gps functionality. It won't even let me select it, every time it does it tells me there is no internal gps. So yeah, I'm totally lost. Anybody know what's going wrong? Oh yeah, in case it matters, i've already gotten on the sprint developer website and activated there, but it hasn't changed anything. someone just let me know if you know what Im doing wrong

#426: Re: new version Author: Cristian Streng PostPosted: Tue Feb 20, 2007 8:57 pm
    —
Hyatt wrote:
When will new version be out?

This is taking a bit longer than I expected, drawing the route is not trivial and I want that to be present in the next version. There will also be an option to disable route drawing since it could slow down the application in some cases (long routes).

Cristian

#427: LX350 needs regular version? Author: dag PostPosted: Tue Feb 20, 2007 9:23 pm
    —
neverknowsbest wrote:
Yo, I have an LG LX350 phone with internal gps through Sprint, and I tried downloading both v1.32.01 and 1.32.00 and everytime the program will work fine, but absolutely no gps functionality. It won't even let me select it, every time it does it tells me there is no internal gps. So yeah, I'm totally lost. Anybody know what's going wrong? Oh yeah, in case it matters, i've already gotten on the sprint developer website and activated there, but it hasn't changed anything. someone just let me know if you know what Im doing wrong


I also have the LG LX350 and have the same problem. Once I enabled Developer Root I was finally given the option to choose "Always Allow" for the "location" feature, but MGMAPS still does not find the GPS.

In looking around on the Sprint Developer site I noticed that on the devices pages you can see what "J2ME Characteristics" are supported by each phone. I have looked at a few of the phones mentioned by others in the forum and made the list below. Note that the LX350 shows that it supports JSR-179 (Isn't that the more common GPS API and does that mean I should be using the standard version instead of the Sprint version?)

The LX-350 seems to be unique in that it is one of the few Sprint phones that claim to support JSR-179.

This leads to my second problem in that now that I have enabled Developer Root and downloaded the Sprint 1.32.00 version I keep getting the "910" errors when I try to download the standard 1.32.01 version. Yes, I have rechecked that the ESN is in upper case. Any ideas? Does my phone now need the "signed" version? In the past I was able to download and run some of the standard 1.28 series.

Dave

LG LX350: QJAE Location API: No, Location API (JSR-179): Yes
Moto V3m: QJAE Location API: Yes, Location API (JSR-179): No
Sam m610: QJAE Location API: Yes, Location API (JSR-179): No
Sam A900m: QJAE Location API: Yes, Location API (JSR-179): No

#428: Re: LX350 needs regular version? Author: Cristian Streng PostPosted: Tue Feb 20, 2007 9:31 pm
    —
dag wrote:
I also have the LG LX350 and have the same problem. Once I enabled Developer Root I was finally given the option to choose "Always Allow" for the "location" feature, but MGMAPS still does not find the GPS.

In looking around on the Sprint Developer site I noticed that on the devices pages you can see what "J2ME Characteristics" are supported by each phone. I have looked at a few of the phones mentioned by others in the forum and made the list below. Note that the LX350 shows that it supports JSR-179 (Isn't that the more common GPS API and does that mean I should be using the standard version instead of the Sprint version?)

Yes, it does mean that! Have you tried to completely uninstall the Sprint version of mgmaps and then install the standard version?

You should at least get to the point where you are able to run mgmaps and see the maps. I'll try to sign a standard version using the Sprint developer certificate, maybe that will work for you.

Cristian

#429: Re: LX350 needs regular version? Author: dag PostPosted: Tue Feb 20, 2007 9:54 pm
    —
Cristian Streng wrote:
dag wrote:
I also have the LG LX350 and have the same problem. Once I enabled Developer Root I was finally given the option to choose "Always Allow" for the "location" feature, but MGMAPS still does not find the GPS.

In looking around on the Sprint Developer site I noticed that on the devices pages you can see what "J2ME Characteristics" are supported by each phone. I have looked at a few of the phones mentioned by others in the forum and made the list below. Note that the LX350 shows that it supports JSR-179 (Isn't that the more common GPS API and does that mean I should be using the standard version instead of the Sprint version?)

Yes, it does mean that! Have you tried to completely uninstall the Sprint version of mgmaps and then install the standard version?

You should at least get to the point where you are able to run mgmaps and see the maps. I'll try to sign a standard version using the Sprint developer certificate, maybe that will work for you.

Cristian


Thanks! The Uninstall/Reinstall fixed my "910" errors. Now I can get the standard 1.32.01 version to work. It now allows me to choose the "internal" option for GPS. I do not appear to get a GPS fix. When I try the "Where am I?" function it says there is a GPS Error "GPS Position not yet determined". On the top line of the screen there is a small red x near the left edge and the Bluetooth icon is red on the inside ( from previous reading I think this is used as the GPS status indicator) and never turns green.

Dave

#430: Re: LX350 needs regular version? Author: Cristian Streng PostPosted: Tue Feb 20, 2007 9:56 pm
    —
dag wrote:
Thanks! The Uninstall/Reinstall fixed my "910" errors. Now I can get the standard 1.32.01 version to work. It now allows me to choose the "internal" option for GPS. I do not appear to get a GPS fix. When I try the "Where am I?" function it says there is a GPS Error "GPS Position not yet determined". On the top line of the screen there is a small red x near the left edge and the Bluetooth icon is red on the inside ( from previous reading I think this is used as the GPS status indicator) and never turns green.

Dave

Do you get any errors in Help/Debug/Error Messages ?

#431: Re: LX350 needs regular version? Author: dag PostPosted: Tue Feb 20, 2007 10:18 pm
    —
Cristian Streng wrote:
dag wrote:
Thanks! The Uninstall/Reinstall fixed my "910" errors. Now I can get the standard 1.32.01 version to work. It now allows me to choose the "internal" option for GPS. I do not appear to get a GPS fix. When I try the "Where am I?" function it says there is a GPS Error "GPS Position not yet determined". On the top line of the screen there is a small red x near the left edge and the Bluetooth icon is red on the inside ( from previous reading I think this is used as the GPS status indicator) and never turns green.

Dave

Do you get any errors in Help/Debug/Error Messages ?


Ah yes, I was trying to remember where I had seen the error log.

Yes, I do "An exception has occurred! Exception class java.lang.SecurityException, message: Application not authorized to access the restricted API ..." In checking I also see that I now do not have the option of selecting "Always Allow" in the Location settings for the application like I was able to do for the Sprint 1.32.00 version. Maybe I need the "signed" version?

I will try to check back here tonight, but will be off for a few days skiing after that so I will not be able to try new things much until Sunday night.

Dave

#432: Re: new version Author: sprucebeach PostPosted: Tue Feb 20, 2007 11:45 pm
    —
Cristian Streng wrote:
Hyatt wrote:
When will new version be out?

This is taking a bit longer than I expected...
Considering what a great application this is and that you're working on it for free, nobody can ever be justified in questioning how long it might take to get the next improvement. Thank you for your efforts.

I do have a question relating to whether I should try one of the versions after 1.31.02. I've been using this version for a while, and the only special thing I did before getting it was editing my _policy.txt file. It's a big improvement over previous versions, but I continue to have the problem that it just stops updating its position sometimes. If I exit and restart the app it will resume updating but sometimes will stop again.

My question is: Is this an issue you know about and have addressed in later versions, or is it perhaps something related to my local data connection or some other factor? I don't want to go the route of registering as a developer unless I have to, given all the problems I see other people having with that process. But to get a version that will consistently update its position I'd be willing to try. What do you recommend?

#433: Re: new version Author: Hyatt PostPosted: Wed Feb 21, 2007 12:08 am
    —
sprucebeach wrote:
Cristian Streng wrote:
Hyatt wrote:
When will new version be out?

This is taking a bit longer than I expected...
Considering what a great application this is and that you're working on it for free, nobody can ever be justified in questioning how long it might take to get the next improvement. Thank you for your efforts.

I do have a question relating to whether I should try one of the versions after 1.31.02. I've been using this version for a while, and the only special thing I did before getting it was editing my _policy.txt file. It's a big improvement over previous versions, but I continue to have the problem that it just stops updating its position sometimes. If I exit and restart the app it will resume updating but sometimes will stop again.

My question is: Is this an issue you know about and have addressed in later versions, or is it perhaps something related to my local data connection or some other factor? I don't want to go the route of registering as a developer unless I have to, given all the problems I see other people having with that process. But to get a version that will consistently update its position I'd be willing to try. What do you recommend?
the only reason I ask about the time frame of when the next version is out is because I try to help in the testing. You need to try version 1.32.00, it's stable and updates GPS every 15 seconds.

#434: Re: new version Author: sprucebeach PostPosted: Wed Feb 21, 2007 12:21 am
    —
Hyatt wrote:
the only reason I ask about the time frame of when the next version is out is because I try to help in the testing. You need to try version 1.32.00, it's stable and updates GPS every 15 seconds.

Hyatt, I didn't intend to be critical of you at all. Sorry if I gave that impression. I was only responding to Cristian seeming to apologize for how long it was taking. Smile

#435: No Problem Author: Hyatt PostPosted: Wed Feb 21, 2007 2:35 am
    —
No problem, Cristian is doing a great job and I do sometimes get a little eager to test the next version and see the new features.

#436: Re: LX350 needs regular version? Author: Cristian Streng PostPosted: Wed Feb 21, 2007 9:01 pm
    —
dag wrote:
Cristian Streng wrote:
Do you get any errors in Help/Debug/Error Messages ?


Ah yes, I was trying to remember where I had seen the error log.

Yes, I do "An exception has occurred! Exception class java.lang.SecurityException, message: Application not authorized to access the restricted API ..." In checking I also see that I now do not have the option of selecting "Always Allow" in the Location settings for the application like I was able to do for the Sprint 1.32.00 version. Maybe I need the "signed" version?

I will try to check back here tonight, but will be off for a few days skiing after that so I will not be able to try new things much until Sunday night.

Dave

OK, I'll make a version of the generic MGMaps signed with the Sprint certificate, I'll announce it here when it's ready.

Cristian

#437:  Author: Cristian Streng PostPosted: Fri Feb 23, 2007 7:01 am
    —
Hi guys,

I have a new version available for Sprint. You can get it from http://wap.mgmaps.com/alpha3.html - there are link to both the signed and the unsigned version. The refresh time was (hopefully) reduced back to 3 seconds, and the code was updated with the latest features (like route drawing).

I also have uploaded a version of the default MGMaps signed with the Sprint developer certificate - you can use it if your phone supports JSR-179.

Cristian

#438: new alpha3 Author: JohanD PostPosted: Fri Feb 23, 2007 3:26 pm
    —
Cristian Streng wrote:
Hi guys,

I have a new version available for Sprint. You can get it from http://wap.mgmaps.com/alpha3.html - there are link to both the signed and the unsigned version. The refresh time was (hopefully) reduced back to 3 seconds, and the code was updated with the latest features (like route drawing).

I also have uploaded a version of the default MGMaps signed with the Sprint developer certificate - you can use it if your phone supports JSR-179.

Cristian


Looks pretty cool! I like the route drawing! The GPS is back to working at first... but I eventually still get the GPS Unspecified error. I'm not sure if this is new or not, but I did notice a few Unspecified errors that were followed by correct GPS fixes. Eventually though, I get all Unspecified errors... and it seems that I have to power cycle the phone to get it working again. Thanks and keep up the good work! Hopefully we'll eventually figure out the Unspecified errors.

#439:  Author: klaroby PostPosted: Fri Feb 23, 2007 3:32 pm
    —
I tried the new version. The bluetooth symbol will turn green for a few seconds and the map will update and then it turns red. After about 3 to 5 minutes the GPS stopped updating (bluetooth symbol red). The updates never seemed to really happen at 3 second intervals. Seemed to be more like 10 second intervals. This could be because of the map updates. I had move map turned on and the maps were taking a really long time to download. They seemed to download part way and get stuck. After a few seconds they would then continue to download.

I have a Samsung A920

#440:  Author: klaroby PostPosted: Fri Feb 23, 2007 5:19 pm
    —
I tried turning off move maps and the gps works continuously now so my thought that the problem was tied to the map downloads may be correct? Speed and direction still do not work.

#441:  Author: Cristian Streng PostPosted: Fri Feb 23, 2007 5:31 pm
    —
klaroby wrote:
I tried turning off move maps and the gps works continuously now so my thought that the problem was tied to the map downloads may be correct? Speed and direction still do not work.

It's possible that the phone spends much time uncompressing and displaying the images, so you're right it may have to do with the GPS update speed. Now that the direction/routing stuff is done, I'll spend more time on testing and improving the GPS features.

As for the direction & speed, do they always show N/A or 0? Or do they show some invalid values?

#442: somewhat works Author: JohanD PostPosted: Fri Feb 23, 2007 6:07 pm
    —
klaroby wrote:
I tried turning off move maps and the gps works continuously now so my thought that the problem was tied to the map downloads may be correct? Speed and direction still do not work.


On my V3m... this did seem to work somewhat. I got Unspecified errors every now and then. I let it run for about 1/2 hour. Once I got Unspecified errors for 5 min straight... then it recovered for about 2 min... then back to Unspecified errors. It did seem to work for quite a bit longer than with 'move maps' on. Although I haven't let it sit that long before to see if the GPS would eventually start working again.

What is strange though... is that I had move maps on before... but wasn't moving so the map wasn't really moving. I guess I'll have to do more testing.

Christian, I'm guessing that someone has already asked about this... but would it be hard to save the route information upon exiting the program and restoring it when it is reopened? This would make it easier to work around the Unspecified GPS errors.

#443:  Author: klaroby PostPosted: Fri Feb 23, 2007 8:06 pm
    —
The speed reads 0 on this version. If I remember correctly it read N/A on the previous version

#444: speed and direction Author: JohanD PostPosted: Fri Feb 23, 2007 8:09 pm
    —
klaroby wrote:
The speed reads 0 on this version. If I remember correctly it read N/A on the previous version


Ah... I forgot to mention that speed and direction do work on my V3m. Perhaps it has something to do with differences in phones?

#445:  Author: klaroby PostPosted: Fri Feb 23, 2007 8:16 pm
    —
Maybe the speed not working on my A920 is due to the GPS seemingly breaking lock and reacquiring all the time? i.e. the bluetooth symbol alternating between green and red. If I remember correctly, the bluetooth symbol stayed on much longer in the previously version. Now it turns green for only a second or so and then goes back to red.

#446:  Author: lotacus PostPosted: Sat Feb 24, 2007 8:45 pm
    —
Hello folks. Well, i've downloaded every version only 1 works (installs) there are no errors with gps tha tI know of other than it will not find my location or anything, this being on the samsung a920 (which I heared had better GPS reception than the a900).

I have not tried the alpha 3 versions yet as my phone is charging. Smile Hopefully it will work. that will be the bomb, and the only application that works on the bell network. Currently there are no gps apps for canada (for use on the phone), bell supposidly has map me etc.. but it looks like they may have discontinued it as any type of location based services once referenced on their site, no longer exist.

Anyways, that out in the clear, I am writing in regards to the people that have been talking about the sprint developer network and having their esn put on developer status. Regreditbly, this doesn't work with canadian phones. *sigh*. However, to those writing the mgmaps application, I may want to point you to http://www.developer.bellmobility.ca/ and strongly urge you to register an account and register your application. There isn't a whole lot on that site, but you'll find the part to register your application by going to this url AFTER you have registered on the site: http://www.developer.bellmobility.ca/my_profile/my_services/add_modify_service.asp

It would be strongly appreciated if the application worked with Bell/Aliant as i'm sure there are a lot of Canadian's interested in using some sort of GPS on their cell phone. So why not have mgmaps be the first application? Since there are currently NO GPS applications available to canadian cell users (at least on the Bell mobility network) it would be a great market. (even if the application is inherintly free)

An interesting note, that it seems bell uses microsoft map point server? for it's LBS, as it mentions it through out the site.

#447:  Author: neverknowsbest PostPosted: Sat Feb 24, 2007 10:44 pm
    —
Cristian Streng wrote:
Hi guys,

I have a new version available for Sprint. You can get it from http://wap.mgmaps.com/alpha3.html - there are link to both the signed and the unsigned version. The refresh time was (hopefully) reduced back to 3 seconds, and the code was updated with the latest features (like route drawing).

I also have uploaded a version of the default MGMaps signed with the Sprint developer certificate - you can use it if your phone supports JSR-179.

Cristian


I've tried every version that was for sprint users, and every single one won't recognize the internal gps support. They all say internal gps not supported on my phone, but i know that it is. I have no idea what the deal is, the program works fine otherwise, but no gps functionality. Anyone got any clues?

#448:  Author: klaroby PostPosted: Sun Feb 25, 2007 12:57 am
    —
What Phone are you using? You have to either register your phone with the sprint developer service or modify the policy.txt file on your phone in order for the gps to work. Read earlier in this thread for instructions.[/quote]

#449:  Author: lotacus PostPosted: Sun Feb 25, 2007 1:00 am
    —
I've tried every version. Public, and "alpha" signed and unsigned on the following phones:

a920 (Aliant/Bell) Public installs and runs, but GPS does not work.
All other versions fail to install either by web or manually

a900 (aliant/Bell) Firmware flashed with sprint firmware. I tried it with the bell firmware to no avail. So I flashed the phone with sprint firmware so that I can use the sprint gps_api in case this was the problem and in case it differed from aliant/bell. The public version installed but no gps. The older 1.28? version installed but no GPS. The "sprint" version failed to install manually* The unsigned version failed to install* and the signed version installed fine but there was no gps.

* Installation could only be done manually because of data configuration differences between the two networks, therefor I am unable to install via web.

I installed the gpstester application and it didn't report any errors in the ticker. Not even a GPS timeout error. When I installed this application on the a920, it reported a GPS time out error.

Since the only difference between Bell and Sprints a900 is in fact the firmware, I would have assumed that the gps applications, if not ALL of them, would be able to access GPS. However, seeing as how all the GPS applications used including mgmaps failed to initialize the GPS chip or process the data, or whatever they do, I can only assume that these are not REAL gps chips at all and it's not dependant on the chip or phone, but network dependant, meaning that GPS only works through the carrier. How this would work I do not know, but it seems to be the case.

#450:  Author: klaroby PostPosted: Sun Feb 25, 2007 1:42 am
    —
The application does use a Sprint server to get the GPS data (read the first few pages of this thread). It is probably not going to be possible to get it to work on another network without modifying the program.

#451:  Author: lotacus PostPosted: Sun Feb 25, 2007 3:47 am
    —
If your talking about the PDE address. I thought that was ruled out. However. There was a post that referenced my thread at Howard forums or sprintusers, dealing with upst with several screenshots. The pde address which was shown on the screenshot was from the Bell Mobility firmeware, before I flashed with Sprint. However, there were several instances of sprint related content within the phones filesystem, that this could have just been one of the unused parts of the phone.

in any case.. still looking forward for support with bell. Smile

#452:  Author: MrPete PostPosted: Sun Feb 25, 2007 11:35 am
    —
lotacus wrote:
Since the only difference between Bell and Sprints a900 is in fact the firmware, I would have assumed that the gps applications, if not ALL of them, would be able to access GPS. However, seeing as how all the GPS applications used including mgmaps failed to initialize the GPS chip or process the data, or whatever they do, I can only assume that these are not REAL gps chips at all and it's not dependant on the chip or phone, but network dependant, meaning that GPS only works through the carrier. How this would work I do not know, but it seems to be the case.

Several bad assumptions here, and the previous response to your question was also incorrect.

Read later postings for pointers to the QualComm website and data sheets. The chipset in your phone (MSM6500) not only has GPS but an enhanced version at that. It is capable of four modes of GPS operation, including completely stand alone (both basic and 'enhanced').

Just because hardware exists does not mean the firmware has been written in such a way that any application at all is capable of accessing it without limit.

First, as has been extensively discussed, only a verisign-signed app can even touch the GPS firmware interface. That's how Sprint manages application-access. For now, your phone can't download the signed app unless and until you 'activate' the phone at developer.sprint.com (no charge for this). The app can one day be specifically approved by Sprint, and then activation would no longer be required. So they have a great deal of control over who can create what kinds of software to run on subscribers' phones, at least for any software that uses the more advanced phone features.

An important analogy: many phones have built-in bluetooth as well. But MGmaps cannot use that feature to turn the phone into a bluetooth GPS, because there's no API in the firmware allowing the appropriate type of bluetooth transmissions. A firmware not hardware limitation.

Second, because it is not (yet) widely known, I'll repeat the previous suggestion that you go read up on the GPSone feature, if you want to learn more about the GPS capabilities of your phone.

The basic enhanced-GPS sequence involves:

1a) [if network is available] Cell provider tells phone which satellites are available. This greatly speeds up GPS location acquisition (i.e. a few seconds instead of a minute.)

1b) [if no network but 'sky' is seen, and phone can do standalone GPS] Phone attempts to find GPS satellites directly.

1c) [if phone recently had network or 'sky' access] Phone attempts to find GPS satellites based on previous (1a or 1b) info.

2) Phone reads as much data as necessary to make a fix. Typically, QC phones are claimed to be 1000x more sensitive than normal GPS and can find location in very difficult conditions.

It's steps 1a and (virtually) 1c that use the network, to accelerate and improve satellite discovery. But there IS a no-network path.

For now at least, MGmaps is useless without the network anyway, since it downloads all the maps on the fly.

Hope that helps bring understanding, if not satisfaction!

#453:  Author: Cristian Streng PostPosted: Sun Feb 25, 2007 1:52 pm
    —
klaroby wrote:
The application does use a Sprint server to get the GPS data (read the first few pages of this thread). It is probably not going to be possible to get it to work on another network without modifying the program.

Indeed, I just want to confirm this - the app connects to a Sprint server for GPS functionality.

Cristian

#454:  Author: lotacus PostPosted: Sun Feb 25, 2007 3:42 pm
    —
that's why it's never good to assume. Wink

So what your saying, is that mgmaps is written to only take advantage of the network part of the GPS_api and not use the chip as a standalone GPS system. It seems that maybe all the applications are used this way except for that gpstester application, which would be the reason why it never reports error's on either of my phone as it accesses the gps chip directly?

Perhaps for compatibility, mgmaps could impliment a standalone mode as well, outputing the data the gps chip sends. I do not know what the bluetooth-like icon represents. Red meaning it doesn't detect the gps chip or red meaning it hasn't established a lock? and does this icon represent the network aspect meaning it hasn't communicated with the sprint server or it hasn't found a satellite through standalone means?

GPS is meant to work world-wide, and the problem i'm facing is the initial lock, in what you would call "standalone" application of the chip. Are their any applications besides the gpstest app, that would offer debugging? meaning it will tell me if it has detected the chip, that it's functioning and searching for satellites etc?

#455:  Author: Cristian Streng PostPosted: Sun Feb 25, 2007 5:51 pm
    —
lotacus wrote:
So what your saying, is that mgmaps is written to only take advantage of the network part of the GPS_api and not use the chip as a standalone GPS system. It seems that maybe all the applications are used this way except for that gpstester application, which would be the reason why it never reports error's on either of my phone as it accesses the gps chip directly?

Yes, it's written so that it works with Sprint, see the code below. I tried it without using Gps.TRACK_NETWORK but it never seemed to work. Does the gpstester application work fine on your phone? We can discuss about creating a version of MGMaps that does not set the server config and performs tracking using the internal GPS functionality only, maybe that will work for you.
Code:
      Gps.setTransportProtocol(0);
      Gps.setServerType(1);
      Gps.setCustomServerConfig(NET_IPADDRESS, NET_PORT);

      // one-shot
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31); // max 31 seconds for a fix
      Gps.requestPosition(Gps.SVC_TYPE_ALL);
     
      // tracking
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31);
      Gps.requestPositionTrack(Gps.SVC_TYPE_ALL, Gps.INFINITE_FIXES, 0, Gps.TRACK_NETWORK);


lotacus wrote:
Perhaps for compatibility, mgmaps could impliment a standalone mode as well, outputing the data the gps chip sends. I do not know what the bluetooth-like icon represents. Red meaning it doesn't detect the gps chip or red meaning it hasn't established a lock? and does this icon represent the network aspect meaning it hasn't communicated with the sprint server or it hasn't found a satellite through standalone means?

The red bluetooth icon means that the GPS is not connected or it does not have a fix. Maybe I'll have different icons for that in the future. I have no access to the actual raw GPS data or to the communication with the server that goes on in the background, the app only gets events such as "ok, position is X,Y" or "error".

lotacus wrote:
GPS is meant to work world-wide, and the problem i'm facing is the initial lock, in what you would call "standalone" application of the chip. Are their any applications besides the gpstest app, that would offer debugging? meaning it will tell me if it has detected the chip, that it's functioning and searching for satellites etc?

Based on what I've seen in the docs, that info is not available.

Cristian

#456:  Author: neverknowsbest PostPosted: Sun Feb 25, 2007 10:05 pm
    —
klaroby wrote:
What Phone are you using? You have to either register your phone with the sprint developer service or modify the policy.txt file on your phone in order for the gps to work. Read earlier in this thread for instructions.
[/quote]

I'm using the LG LX350 with sprint, as I've said earlier, and i have already activated on the developer website. Still, all the versions fail to recognize internal gps. Every version i've tried (signed and unsigned) has said that there is no internal gps feature on my phone, yet there is, and i can't figure what the problem is. There are no error messages, and the program runs fine minus the gps, but every time it says internal gps not available.

#457:  Author: neverknowsbest PostPosted: Sun Feb 25, 2007 11:26 pm
    —
Update: I downloaded most versions on the WAP page. All sprint versions did not register the internal gps. However, the generic version, as well as the motorola a780 release did register the gps, and allowed me to save it as such. Haven't been able to get gps signal yet, but it's cold and i haven't really been outside much. I'll see if it works and get back. I tried this version last week, and it didn't pick up the internal gps. Wonder what was up...

#458: Stats That Could Help Author: MrPete PostPosted: Mon Feb 26, 2007 3:22 am
    —
Suggestion: how about a simple, resettable, GPS stats page?

This could help us all gain better understanding of how well or poorly our GPS acquisition is working, whether built-in or other modes.

I'm thinking:

Good/Bad/Total counts (and percent good/bad)
Longest sequential run of good-location queries (count, time if available)
Longest sequential run of bad-location queries (count, time if available)

I have a hunch that varying any/all of the application's parameters and/or interval between queries could drastically change the results seen.

[A networking analogy: traceroute through my DSL provider is incredibly flaky unless I slow down to a three-second interval... then it works 100%]

#459:  Author: bongiobul PostPosted: Mon Feb 26, 2007 8:33 am
    —
Hello all. Long time lurker, first time poster, I have a Sprint V3M and have downloaded a few versions of your program, none of which enable the gps function, maps take a very long time to load, I actually had enabled my phone via the sprint developers site a while ago, so that wasn't an issue. I guess I am just a geek. I wish I could utilize the gps capabilities on my phone, w/o using tele-nav=$9.95/ month. I know that very little is known about the sprint ui, so I am impressed with the headway you have made so far. I live in an affiliate market, so EVDO isn't a viable option, and I am roaming about half of the time. I would be willing to do any seem edits, or whatever else was required to enable gps functionality. I guess I am asking if there is any way I could help to make your version of this program acessibile to Sprint users. Basically I was wondering, if there was any workaround to access the Sprint GPS api to enable the the internal GPS supposedly included with the RAZRV3M.

#460:  Author: JohanD PostPosted: Mon Feb 26, 2007 2:31 pm
    —
bongiobul wrote:
Hello all. Long time lurker, first time poster, I have a Sprint V3M and have downloaded a few versions of your program, none of which enable the gps function, maps take a very long time to load, I actually had enabled my phone via the sprint developers site a while ago, so that wasn't an issue. I guess I am just a geek. I wish I could utilize the gps capabilities on my phone, w/o using tele-nav=$9.95/ month. I know that very little is known about the sprint ui, so I am impressed with the headway you have made so far. I live in an affiliate market, so EVDO isn't a viable option, and I am roaming about half of the time. I would be willing to do any seem edits, or whatever else was required to enable gps functionality. I guess I am asking if there is any way I could help to make your version of this program acessibile to Sprint users. Basically I was wondering, if there was any workaround to access the Sprint GPS api to enable the the internal GPS supposedly included with the RAZRV3M.

I have a V3m as well. I had trouble at first getting the gps to work, but then I just tried it again and everything worked well. The only thing I had to do was enable root access on the sprint developer site, but it sounds like you have that covered. I think that mine took a bit longer to enable the root access than I had anticipated... that is probably why it worked after I went back and tried again. With the latest signed alpha3 release, I was able to install from my phone with no problem (as opposed to using Bitpim). I'd give it a shot a few more times. Maybe try disabling the root access and re-enable it?

#461: alpha3 Works on Sprint RAZRV3m! Author: jwsprint PostPosted: Mon Feb 26, 2007 4:24 pm
    —
Quote:
I have a V3m as well.


Me too! And verson alpha3 works! I couldn't be happier.

Cristian what's your paypal account?

#462: alpha3 Works on Sprint RAZRV3m Author: rickgtx PostPosted: Mon Feb 26, 2007 5:19 pm
    —
bongiobul wrote:
I would be willing to do any seem edits, or whatever else was required to enable gps functionality. I guess I am asking if there is any way I could help to make your version of this program accessible to Sprint users. Basically I was wondering, if there was any workaround to access the Sprint GPS api to enable the the internal GPS supposedly included with the RAZRV3M.
Hi, You may have some regional problems. My V3m works too and I successfully installed OTA after enabling developer root.
I'm having the same problems discussed in forum about the GPS seeming to time out, but get a fix once the app is restarted.

Two ways to install on a V3m:
Arrow Easy way

I. Enable developer root. Do this only once!
On your PC go to https://developer.sprint.com/site/global/develop/activation_device/p_device_activation.jsp
Once you register you can click on the "Device/ESN Activation Go there now" link.
- 1. Click on the "Develop" Tab
- 2. (On the left) choose "Enabling device for activation"
- 3. Click "Device ESN Activation" (ESN is in HEX and case sensitive. Use A, B, etc). The ESN is on your box or behind the battery.
- 4. Add your phone
- 5. After your phone is added, under "actions" choose active.
II. You might need to wait a few hours until the activation occurs.
On your phone, go to http://wap.mgmaps.com/alpha3.html and download the signed version.

Arrow Hard way
If you get the 9xx errors installing OTA, follow the instructions at http://forum.mgmaps.com/viewtopic.php?p=1474#1474 to copy the files your phone.

#463: Re: alpha3 Works on Sprint RAZRV3m! Author: Cristian Streng PostPosted: Mon Feb 26, 2007 5:49 pm
    —
jwsprint wrote:
Me too! And verson alpha3 works! I couldn't be happier.

Cristian what's your paypal account?

I don't have a paypal account, as I explained in a previous message (see this one). But as soon as I get access to one I'll add a donate button Smile

Cristian

#464:  Author: lotacus PostPosted: Mon Feb 26, 2007 9:56 pm
    —
Cristian Streng wrote:
lotacus wrote:
So what your saying, is that mgmaps is written to only take advantage of the network part of the GPS_api and not use the chip as a standalone GPS system. It seems that maybe all the applications are used this way except for that gpstester application, which would be the reason why it never reports error's on either of my phone as it accesses the gps chip directly?

Yes, it's written so that it works with Sprint, see the code below. I tried it without using Gps.TRACK_NETWORK but it never seemed to work. Does the gpstester application work fine on your phone? We can discuss about creating a version of MGMaps that does not set the server config and performs tracking using the internal GPS functionality only, maybe that will work for you.
Code:
      Gps.setTransportProtocol(0);
      Gps.setServerType(1);
      Gps.setCustomServerConfig(NET_IPADDRESS, NET_PORT);

      // one-shot
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31); // max 31 seconds for a fix
      Gps.requestPosition(Gps.SVC_TYPE_ALL);
     
      // tracking
      Gps.setOptimizationType(Gps.OPTIMIZE_FOR_ACCURACY);
      Gps.setQoS(31);
      Gps.requestPositionTrack(Gps.SVC_TYPE_ALL, Gps.INFINITE_FIXES, 0, Gps.TRACK_NETWORK);


lotacus wrote:
Perhaps for compatibility, mgmaps could impliment a standalone mode as well, outputing the data the gps chip sends. I do not know what the bluetooth-like icon represents. Red meaning it doesn't detect the gps chip or red meaning it hasn't established a lock? and does this icon represent the network aspect meaning it hasn't communicated with the sprint server or it hasn't found a satellite through standalone means?

The red bluetooth icon means that the GPS is not connected or it does not have a fix. Maybe I'll have different icons for that in the future. I have no access to the actual raw GPS data or to the communication with the server that goes on in the background, the app only gets events such as "ok, position is X,Y" or "error".

lotacus wrote:
GPS is meant to work world-wide, and the problem i'm facing is the initial lock, in what you would call "standalone" application of the chip. Are their any applications besides the gpstest app, that would offer debugging? meaning it will tell me if it has detected the chip, that it's functioning and searching for satellites etc?

Based on what I've seen in the docs, that info is not available.

Cristian


well I am not sure exactly how GPS tester functions. On my Aliant phone, the a920, I get a GPS Error: Timeout message.

on my a900 (flashed with sprint) I get no errors, until recently some exception error if my memory serves me well, but I think that happened only after playing around with QXDM with the phone connected. I do not know what is reported with the gpstester program when a successful connection is made so I couldn't really tell you if it's working on my phone or not.

Another note on QXDM, specifically with my a920, all the GPS nv_items are in the phone and are readable, but most fields are blank or set to 0x00 etc.. So i'm guessing Bell decided not to set those fields for some reason. I will post more info on the readout of QXDM later. But it does support GPS and AAGPS (asynchronis) whatever that is. It also has an NV_item setting that lets the phone do position determination via the phone or by the PDE server.

I would like to test a version of mgmaps without the server flag set, very much so. Perhaps Canadian users need this set to 0 instead of going through a PDE server.

#465:  Author: dag PostPosted: Tue Feb 27, 2007 2:28 am
    —
Cristian Streng wrote:
Hi guys,



I also have uploaded a version of the default MGMaps signed with the Sprint developer certificate - you can use it if your phone supports JSR-179.

Cristian


Hi Cristian,

I'm back and can try test versions again. Where is the Sprint-signed Generic version? I tried all of the posted versions I could find and the only one that finds my GPS is the regular Generic 1.32.02. Anything labeled as "Sprint" does not find the JSR-179 GPS on my LG LX-350

Thanks,
Dave

#466:  Author: lotacus PostPosted: Tue Feb 27, 2007 3:46 am
    —
Ok. As promised, here is the output of my a920 in regards to gps features.

note:

Inactive means or could mean the device supports that protocol it is just not active or being used.

Parameter Bad means the phone doesn't support the feature or the feature is incompatible, or some other error that would make it report parameter bad.

any items with 0 or 0x00000 etc, are the read values from the phone without errors with the exeption of the parameter bad value which defaults to 0.

Since you may have a better understanding of what is to be posted, I hope this will help with your development or further understanding of the GPS implimentation(s) in the a920 andpossibly the a900.

Code:
Readable Nv_item AAGPS

(inactive)
AAGPS Devlopment Test Control 2 through 5
AAGPS Default Allow Rrc
AAGPS Default Mtlr Guard Timer
AAGPS Default Smlc Comm Timeout
AAGPS Default Presupl Ue Timer1 Value
""          Timer2  ""
""          Timer3  ""

(Active)

AAGPS RTI Validity Duration Value:1886680168 Size: 32 Type UINT32


NV Category: Factory

GPS Fine Grained TRK Offset Scalar: 0x00
GPSOne Capabilities: 0x00
GPSOne PDE TCP Address: 0x441C1F31
GPSOne Position Determination Services Lockout: 0x00 Name:(partial)gps1_allowed
GPSOne Preferred Transport Mechanism: 0x0000
GPSOne Mobile Vs PDE based Position Calculations: 0x0000
GPSOne PDE Port: 0x0000132F
GPSOne RF Delay: 0
GPSOne CDMA RF Delay: 5325
GPSOne GPS RF Loss: 0x00
GPSOne Lock: 0x00000000
GPSOne LO Calibration Offset: 0x000C
GPSOne Antenna Offset: 0x0080
GPSOne PCS RF Delay: 0x149B
GPS RXF Coarse Grain DC I Offset: 0x00000000
GPS RXF Fine Grain DC I Offset: 0x00000000
GPS RXF Fine Grain DC Q Offset: 0x00000000
GPS DAC Controller Estimator I Offset: 0x00000000
GPS DAC Controller Estimator Q Offset: 0x00000000
GPS DAC Controller I Accumulator Gain Step 0 through 4: 0x00 (inactive)
GPS DAC Controller Q Accumulator Gain Step 0 through 4: 0x00 (inactive)
GPS DAC Controller Gain Multiply: 0x00
GPS Mismatch Compensation A Offset: 0x00000000 (Inactive)
GPS Mismatch Compensation B Offset: 0x00000000 (Inactive)
GPS Low Bias Update NV Value Count: 5
GPS GPS Doppler Calibrated Standard Deviation: 0x0F
GPSOne Privacy: 0x00
GPSOne Network Access Control: 0x02
GPSOne Cell Based Position Determination: 0x00
GPSOne Teleservice ID: 0x0000
GPSOne Network Data Burst Packet Size: 0xC8
GPS Transmitter Gain Attenuation Limit: 0x0000 (Inactive)
C1 GPS DAC Controller I Accumulator Gain Step 0 through 4: 0x00 (inactive)
C1 GPS DAC Controller Q Accumulator Gain Step 0 through 4: 0x00 (inactive)
GPS Receive Chain Configuration: 0x00
BC0 through BC6 GPSOne RF Delay: 0x0000 (inactive)
GPSOne Vx LCS Agent: 0 (inactive)
GPSOne Vx Application Trusted Settings: 0 (inactive)
GPSOne Vx Dedicated SMS Teleservice Identifier: 0 (inactive)
GPSOne Vx LCS Agent Prev6 Only: 0 (inactive)
GPSOne Vx MO Max Duration: 0 (inactive)
OOS Operation Preference: 0 (inactive)
GPSOne Vx GPS During Voice Call: 0 (inactive)
Appendix 5 Preferences: (enabled/mpc addr/mpc port):0 (inactive)
GPS1 Min Num Svs: 0 (inactive)
GPSOne Position Report: 0 (parameter Bad)
GPSOne MS-Based Back Off Factor: 0
GPSOne MS-Based Back Off Minimum: 0
GPSOne MS-Based Back Off Maximum: 45940136
GPSOne MS-Based Back Off Reset: 0 (Parameter Bad)
GPSOne Enable MS-B Throttling: 1
GPSOne Number Of Searcher Tasks: 0 (Parameter Bad)
GPSOne Cross Correlation Threshold dbhz: 0 (Parameter Bad)
GPSOne Timer Threshold: 0 (Parameter Bad)
GPSOne V2 Handoff Enable: 0 (Parameter Bad)
GPSOne MO Backoff Duration: 0 (Parameter Bad)
Sigma Reject:0 (parameter bad)
Velocity Noise In One Sec Drive: 0 (Parameter Bad)
Velocity Noise In One Sec Pedestrian: 0 (Parameter Bad)
Velocity Noise In One Sec Static: 0 (Parameter Bad)
Extra Clock Bias Error: 0 (Parameter Bad)
KF Configuration Mask: 0 (Parameter Bad)
Max Propagation By KF: 0 (Parameter Bad)
KF Configuration control Flag: 0 (Parameter Bad)
GPSOne Seed Position Option: 0x0000 (Parameter Bad)
GPSOne Dynamic Mode: 0 (Parameter Bad)

#467: problems Author: Hyatt PostPosted: Tue Feb 27, 2007 5:59 pm
    —
Cristian, having a problem with the new signed version. The app was getting my location every 5-17 seconds but now it won't get any coordinates. I get the GPS Unspecified error

#468:  Author: NC PostPosted: Tue Feb 27, 2007 9:29 pm
    —
Cristian Streng wrote:
Indeed, I just want to confirm this - the app connects to a Sprint server for GPS functionality.

Hyatt wrote:
The app was getting my location every 5-17 seconds but now it won't get any coordinates. I get the GPS Unspecified error


I also had been enjoying the ability of MGMaps 1.32.02 (mgmaps_sprint) to get my initial location from about 7 to 13 seconds after the app loaded, but it has become inconsistent now and I am also getting the GPS Unspecified error. Do you think the Sprint server(s) somehow saw this latest GPS "traffic" and have been instructed to not let it through? Yesterday I was in an area which had earlier let me consistently get a location, but then it stopped working. I drove a few miles and tried again and was able to get my location there. Today in the original location again it has not been working. (Or maybe this is just a temporary snafu that will somehow resolve itself? Could it be a Sprint and not an MGMaps issue?)

P.S.: I had completely removed my MGMaps app a few days ago and reloaded the latest (1.32.02) one "new" to make sure nothing from the older (1.32.01?) version that had not been working could still be left behind. The maps still load properly, as usual. When the GPS did report its position, sometimes the altitude value would appear just a few moments before the latitude and longitude.

#469: Problems Author: Hyatt PostPosted: Tue Feb 27, 2007 9:46 pm
    —
Ok, I erased the 1.32.02 and reinstalled the 1.32.00 which worked fine before with 15 second updates but this version doesn't work either, I mean everything works but the GPS.

#470:  Author: klaroby PostPosted: Wed Feb 28, 2007 12:29 am
    —
I just tried it on my phone and it still works fine. My phone is developer registered and has an edited policy.txt file.

#471: Re: Problems Author: sakha PostPosted: Wed Feb 28, 2007 12:52 am
    —
Hyatt wrote:
Ok, I erased the 1.32.02 and reinstalled the 1.32.00 which worked fine before with 15 second updates but this version doesn't work either, I mean everything works but the GPS.

Mee too, GPS does not work anymore, wonder if Sprint somehow is blocking this app now, will test the regular GPS Tester app tonite to check out if indeed that is the case.

#472: Re: Problems Author: JohanD PostPosted: Wed Feb 28, 2007 1:36 am
    —
sakha wrote:
Hyatt wrote:
Ok, I erased the 1.32.02 and reinstalled the 1.32.00 which worked fine before with 15 second updates but this version doesn't work either, I mean everything works but the GPS.

Mee too, GPS does not work anymore, wonder if Sprint somehow is blocking this app now, will test the regular GPS Tester app tonite to check out if indeed that is the case.


Still working here. I eventually get some of the "Unexpected" GPS errors, but that was always the case for me.

#473: Random phone restarts and no GPS in 1.32.02, TeleNav, Garmin Author: sprucebeach PostPosted: Wed Feb 28, 2007 1:58 am
    —
Not only does the GPS not work for me in 1.32.02, but GPS also no longer works in TeleNav and Garmin. And my M610 is restarting every few minutes as it tries and fails to find my location in these apps. Previously I had GPS in all these apps (1.31.02 MGMaps) and no restarting. Does this make sense to anyone?

#474: Intermittent success Author: NC PostPosted: Wed Feb 28, 2007 2:42 am
    —
My app (v1.32.02) is working again tonight without my having done anything. (Go figure.) Where can I look to find that gps tester app, and does it require any phone hacking in order to run? P.S.: Cristian -- might it be possible to encode a means to save our favorites to del.icio.us (just wondering)?

#475: Re: Random phone restarts and no GPS in 1.32.02, TeleNav, Ga Author: sakha PostPosted: Wed Feb 28, 2007 7:58 pm
    —
sprucebeach wrote:
Not only does the GPS not work for me in 1.32.02, but GPS also no longer works in TeleNav and Garmin. And my M610 is restarting every few minutes as it tries and fails to find my location in these apps. Previously I had GPS in all these apps (1.31.02 MGMaps) and no restarting. Does this make sense to anyone?


Seems like the Sprint PDE server might be having some problems, either it is down, or it is being overhauled.
I also tried the onDemand application in my Samsung A920 phone, where you can get the local weather, it uses the GPS functionality to get local co-ordinates and then finds a closest city, this functionality is not working right now, so it might be a Sprint Problem, not specifically MGMaps issue.
Sine the IP address of the PDE server we use is the exact same one as the one in the OnDemand app from Handmark.

#476:  Author: Cristian Streng PostPosted: Wed Feb 28, 2007 8:51 pm
    —
dag wrote:
I'm back and can try test versions again. Where is the Sprint-signed Generic version? I tried all of the posted versions I could find and the only one that finds my GPS is the regular Generic 1.32.02. Anything labeled as "Sprint" does not find the JSR-179 GPS on my LG LX-350

Thanks,
Dave

The generic signed version should be available at http://wap.mgmaps.com/signed/mgmaps.jad.

Cristian

#477:  Author: dag PostPosted: Wed Feb 28, 2007 10:27 pm
    —
Cristian Streng wrote:
dag wrote:
I'm back and can try test versions again. Where is the Sprint-signed Generic version? I tried all of the posted versions I could find and the only one that finds my GPS is the regular Generic 1.32.02. Anything labeled as "Sprint" does not find the JSR-179 GPS on my LG LX-350

Thanks,
Dave

The generic signed version should be available at http://wap.mgmaps.com/signed/mgmaps.jad.

Cristian


Cristian,
I downloaded this a couple of times (once even after deleting the old file and restarting the phone), but I still cannot use the Options for "Location" to allow access to the GPS. It is acting just like the unsigned version.
Thanks,
Dave

#478: Re: Random phone restarts and no GPS in 1.32.02, TeleNav, Ga Author: sprucebeach PostPosted: Wed Feb 28, 2007 11:35 pm
    —
sakha wrote:
sprucebeach wrote:
Not only does the GPS not work for me in 1.32.02, but GPS also no longer works in TeleNav and Garmin. And my M610 is restarting every few minutes as it tries and fails to find my location in these apps. Previously I had GPS in all these apps (1.31.02 MGMaps) and no restarting. Does this make sense to anyone?


Seems like the Sprint PDE server might be having some problems, either it is down, or it is being overhauled.
I also tried the onDemand application in my Samsung A920 phone, where you can get the local weather, it uses the GPS functionality to get local co-ordinates and then finds a closest city, this functionality is not working right now, so it might be a Sprint Problem, not specifically MGMaps issue.
Sine the IP address of the PDE server we use is the exact same one as the one in the OnDemand app from Handmark.
Thanks for the reply, sakha. Makes sense to me, but then I'm easily impressed. Wink I've consistently been able to navigate today with Garmin Mobile, and MGMaps 1.32.02 has worked intermittently. Several times MGMaps did not find the location within 90 seconds or so and I closed it and ran Garmin, which quickly located itself, after which MGMaps functioned for a few minutes, then stopped updating. I'll keep playing with these apps and see if any behavior pattern emerges.

#479: (Typical?) debug log excerpt (re: GPS on Samsung A920) Author: NC PostPosted: Thu Mar 01, 2007 2:34 pm
    —
In case this might be useful, here is a sample of my debug log after starting MGMaps (v1.32.02) a few minutes ago. I just started it and then let it run without doing anything but inspecting the log. (I had to visually inspect it and then type the results, which I then copied here. Hopefully I didn't miss any entries as I was typing the list.) The GPS refresh rate is set at 3 seconds.

14:06:37.602: DEBUG: GPS: (Lat/Lon)
14:08:42.954: DEBUG: GPS: (Lat/Lon)
14:08:48.626: ERROR: GPS: Error: Unspecified error
14:09:03.807: ERROR: GPS: Error: Unspecified error
14:09:19.312: ERROR: GPS: Error: Unspecified error
14:09:36.393: DEBUG: GPS: (Lat/Lon)
14:10:25.822: ERROR: GPS: Error: Unspecified error
14:11:11.925: ERROR: GPS: Error: Unspecified error
14:12:25.410: DEBUG: GPS: (Lat/Lon)
14:12:33.927: ERROR: GPS: Error: Unspecified error
14:12:49.224: ERROR: GPS: Error: Unspecified error
14:13:04.352: ERROR: GPS: Error: Unspecified error
14:13:19.681: DEBUG: GPS: (Lat/Lon)
14:13:36.949: DEBUG: GPS: (Lat/Lon)
14:13:52.685: DEBUG: GPS: (Lat/Lon)
14:14:08.168: DEBUG: GPS: (Lat/Lon)
14:14:20.031: DEBUG: GPS: (Lat/Lon)
14:14:38.920: DEBUG: GPS: (Lat/Lon)
14:14:50.051: DEBUG: GPS: (Lat/Lon)
14:14:57.869: DEBUG: GPS: (Lat/Lon)
14:15:10.077: DEBUG: GPS: (Lat/Lon)
14:15:21.800: DEBUG: GPS: (Lat/Lon)
14:15:27.811: ERROR: GPS: Error: Unspecified error
14:15:39.650: DEBUG: GPS: (Lat/Lon)
14:15:53.650: DEBUG: GPS: (Lat/Lon)
14:16:08.539: DEBUG: GPS: (Lat/Lon)
14:16:19.072: ERROR: GPS: Error: Unspecified error
14:16:34.394: ERROR: GPS: Error: Unspecified error

#480:  Author: lotacus PostPosted: Thu Mar 01, 2007 9:34 pm
    —
how do you get a debug log?

#481: Re: Random phone restarts and no GPS in 1.32.02, TeleNav, Ga Author: sakha PostPosted: Thu Mar 01, 2007 11:28 pm
    —
sprucebeach wrote:
sakha wrote:
sprucebeach wrote:
Not only does the GPS not work for me in 1.32.02, but GPS also no longer works in TeleNav and Garmin. And my M610 is restarting every few minutes as it tries and fails to find my location in these apps. Previously I had GPS in all these apps (1.31.02 MGMaps) and no restarting. Does this make sense to anyone?


Seems like the Sprint PDE server might be having some problems, either it is down, or it is being overhauled.
I also tried the onDemand application in my Samsung A920 phone, where you can get the local weather, it uses the GPS functionality to get local co-ordinates and then finds a closest city, this functionality is not working right now, so it might be a Sprint Problem, not specifically MGMaps issue.
Sine the IP address of the PDE server we use is the exact same one as the one in the OnDemand app from Handmark.
Thanks for the reply, sakha. Makes sense to me, but then I'm easily impressed. Wink I've consistently been able to navigate today with Garmin Mobile, and MGMaps 1.32.02 has worked intermittently. Several times MGMaps did not find the location within 90 seconds or so and I closed it and ran Garmin, which quickly located itself, after which MGMaps functioned for a few minutes, then stopped updating. I'll keep playing with these apps and see if any behavior pattern emerges.


Well MGMaps started magically working for me again, since last evening. Just like it did for someone else here.

#482: Where to find the debug log Author: NC PostPosted: Fri Mar 02, 2007 12:02 am
    —
The debug log is the bottom selection in the help menu.

#483:  Author: lotacus PostPosted: Fri Mar 02, 2007 2:26 am
    —
Interesting. The only output the debug shows for me is the google maps addresses, and the only output related to GPS is this: GPSQJAE started.

but no fix. doesn't even tell me if the application has actually located and successfully activated the gps chip in the phone.

Ok, interesting. When I configure mgmaps to use (internal) GPS, and view the log, it just reports as GPSQJAE started. When I choose a wrong setting, for example for mgmaps to use the serial interface (USB0) and eraase the logs and restart, the logs say (re)Connected to GPS GPSQJAE started. This tells me that mgmaps has found a gps chip, however, there is no GPS chip connected to the phone on the serial interface. Should mgmaps report (re)Connected to GPS if I have the settings to use 'internal' ?


Thank god for the edit button.

Another update.

Erasing the logs and putting the settings back to internal I get the following in the logs:

Error Messages: 02:35:00.662 ERROR: An exception has occured! Exeptions class java0io.InterruptedIOException, Message: Stream closed, description: Error recieving data

I assume this error is related to the PDE server?

It's strange because I get no error's when I use the settings 'serial' I would have expected an error stating that there was no gps chip found.

#484:  Author: lotacus PostPosted: Sat Mar 03, 2007 11:45 am
    —
any news on the no network gps version? Would like a debug only version for testing. would be appreciated. Something that will tell if it's detected GPS chip and a satellite and output coordinates only. btw. I'm not sure if the bell stuff is different then the sprint. Like for bell, in the jad or jar, an "allow sprint_extentions" needs to be called. I thought I saw that somewhere on the internet. Just in case here is my policy.txt as well.


Code:
alias: Net_Access javax.microedition.io.Connector.http,

 javax.microedition.io.Connector.socket,

 javax.microedition.io.Connector.https,

 javax.microedition.io.Connector.ssl,

 javax.microedition.io.Connector.datagram,

 javax.microedition.io.Connector.serversocket,

 javax.microedition.io.Connector.datagramreceiver


alias: Device_Connectivity_Comm javax.microedition.io.Connector.comm


alias: Application_Self_Start javax.microedition.io.PushRegistry


alias: Message_Reception javax.microedition.io.Connector.sms,

  javax.microedition.io.Connector.cbs,
 
  javax.wireless.messaging.sms.receive,
 
  javax.wireless.messaging.cbs.receive


alias: Message_Delivery javax.wireless.messaging.sms.send


alias: Personal_Data_Read_Access javax.microedition.pim.ContactList.read,

 javax.microedition.pim.EventList.read,

 javax.microedition.pim.ToDoList.read


alias: Personal_Data_Write_Access javax.microedition.pim.ContactList.write,

  javax.microedition.pim.EventList.write,
 
  javax.microedition.pim.ToDoList.write


alias: gps_api com.qualcomm.qjae.gps.Gps,

 javax.microedition.location.Location,

 javax.microedition.location.Orientation,

 javax.microedition.location.ProximityListener,

 javax.microedition.location.LandmarkStore.read,

 javax.microedition.location.LandmarkStore.write,

 javax.microedition.location.LandmarkStore.category,

 javax.microedition.location.LandmarkStore.management


alias: file_connection javax.microedition.io.Connector.file.read,

 javax.microedition.io.Connector.file.write


alias: mmapi javax.microedition.media.protocol.Datasource,

 javax.microedition.media.protocol.DataSource,

 javax.microedition.media.Player,

 javax.microedition.media.Manager,

 javax.microedition.media.control.RecordControl,

 javax.microedition.media.control.VideoControl.getSnapshot


alias: bluetooth java.bluetooth,

 javax.microedition.io.Connector.bluetooth.server,

 javax.microedition.io.Connector.bluetooth.client


alias: satsa javax.microedition.securityservice.CMSMessageSignatureService


alias: sprint_extensions com.sprintpcs.util.System


domain: embedded

allow: Net_Access

allow: Message_Delivery

allow: Message_Reception

oneshot(oneshot): Personal_Data_Read_Access

oneshot(oneshot): Personal_Data_Write_Access

allow: Application_Self_Start

allow: Device_Connectivity_Comm

blanket(oneshot): gps_api

allow: file_connection

allow: mmapi

allow: satsa

allow: sprint_extensions

allow: bluetooth


domain: Bell-Trust

blanket(oneshot): Net_Access

blanket(oneshot): Message_Reception

blanket(oneshot): Message_Delivery

blanket(oneshot): Personal_Data_Read_Access

blanket(oneshot): Personal_Data_Write_Access

blanket(oneshot): Application_Self_Start

blanket(oneshot): Device_Connectivity_Comm
 
blanket(oneshot): gps_api

blanket(oneshot): file_connection

allow: mmapi

allow: satsa

allow: sprint_extensions

allow: bluetooth


domain: Silver-Trust

blanket(oneshot): Net_Access

session(oneshot): Message_Reception

session(oneshot): Message_Delivery

session(oneshot): Personal_Data_Read_Access

session(oneshot): Personal_Data_Write_Access

blanket(oneshot): Application_Self_Start

blanket(oneshot): Device_Connectivity_Comm

blanket(oneshot): gps_api

blanket(oneshot): file_connection

allow: mmapi

allow: satsa

allow: sprint_extensions

allow: bluetooth


dom