Unexpected behaviour of built-in GPS module in HTC HD2 - General Questions and Answers

Hi all,
Considering introducing some kind of GPS Localization module to my project, I decided to create small test application just to see how does the Microsoft API work.
I referenced the code provided with Compact Framework to wrapp the original library and used it in my application. It was pleased to see, that everyting works just from scratch, but after a while I came across quite worrying behaviour.
Everything went good, before the signal was lost. What you expect then is the LocationChangedEvent to stop firing or position not validating at least.
Not this time. I got new position reports every second, including changing precision, satellites in view, GPS time, altitude.. everything.
Even using GetPosition() with TimeSpan set for 1 minute each new position was accepted. You could catch this data even after hour sitting in a tunnel, far from any sattelites signal, still getting new reports.
Is it typical behaviour for this devices? How could you recognize if the signal has been really lost or not then?
My Device is HTC HD2, Windows Mobile 6.5 inside. Behaviour does not depends on COM port selection or any other configuration.
P.S. Hmm, what is more I have noticed that the situation is similar using applications like OpenStreetMaps, etc.
Any idea?
Best Regards
Mikolaj

As this is not a development yet and still a question, moved to Q&A.
Please contact a MOD when this becomes a working APP and feel free to post it in D&H if you wish to share it.
Till then it will have to be entertained in Q&A.
Moved.

Related

Impressions from HTC - Windows (Long post)

Impressions from HTC Cruise - Windows Mobile
Hello All,
I have been relatively new here, but I thought I could contribute in the forums by posting my (unbiased) views about HTC Cruise here, hoping other people may find them useful. I am a software developer, so although I do not have an experience with hi-tech PDAs and smartphones, (never owned such a device before), I am fine with the technicalities of such devices.
My everyday phone was a simple sony ericson K510i . What had always annoyed me was that in most "simple" phones, it was quite hard to control the phone via my PC, do backups, backup contacts, SMSes, etc. My sony was good, I had found "MYPhoneExplorer" which pretty much did all those things for my phone. The screen was little bit outdated in terms of resolution, but I did not mind much.
And then came iPhone (which I never owned). I was impressed by its design, usability and user friendliness. I also liked the idea of having WiFi on it. I was close to buying that phone and using one of the available tools to unlock it, (noway I would pay for a contract - I am UK based). My brother who is into mobiles and gadgets more than I am, commented on the fact that iPhone is an "old" generation phone in terms of phone technologies and overpriced. I soon realised it was quite overpriced and started looking at alternatives. I was happy to see HTC would release a really cool phone, which I could get as my Christmas gift (yes, dream on, I had my eyes on it since November and managed to get it this February)...
So, what are my impressions so far?
I dare to say, quite mixed...
On the one hand this device is really wicked and cool! It has all the things I had always liked and needed in a single device. Packing a GPS, a radio, 3G, WiFi in a nice package is just amazing. I can now listen to music, watch videos, find my way around using GPS and have a nice PDA. These are really cool things! No need to have my pockets filled with separate devices...
On the other hand, this phone costed me little bit less than 400 pounds. One can argue you can get a laptop for that price, but then again, a laptop is not a phone. The video issues has not been much of an issue for me, I encode my videos at QVGA and all is well. However, I do get *very* upset when I realise that there is hidden potential in the hardware platform which has not been utilised. What I found bad straight from the moment i used it, is that when i press the "phone-call" hard button, there really is a lag when drawing the blue rectangle above the dialpad, (I am talking about the area which shows the names of your contacts as you type the numbers below.) I mean, come on, so much CPU power, and I can see the blue area being drawn? The other things is that if a couple of applications are running, then the phone does not seem to be operating so smoothly. Again, in order to be fair, it is still very usable. However, as things stand now in the market, in terms of specifications this phone is easily on the upper part, so in my opinion it should be fast, not just "very usable".
My other bit of criticism is probably related to Windows rather than HTC cruise. I find this OS quite interesting on the device, there is a huge applications' base and the things that are missing can be coded by talented people. However, I find the platform a little bit of a pain to use in a pure phone context. Why do i have to check an option everytime I want to get back a delivery report for my SMS? Why do I have to hack the registry to make this permanent? I set a wallpaper in my phone, then I set its transparency, then I realise it is hidden by the today plugin, which I can of course disable. If I disable it I loose certain features which are accessible straight away. I can of course get a new plugin that matchs my needs. Why is it so hard to have tabs with incoming/outgoing/missed calls? This is a feature that phones that cost 10 times less have. Of course Windows 6.1 has this, but then I would have to "install" a new ROM. Simple question: Why do I have to do these things? Why dont' they get it right from the beginning? Don't get me wrong, I am a technology enthusiast and I am sure I will manage to set up the phone the way I want. A number of users out there will do the same thing. However, is this platform one that non-enthusiasts would find user-friendly?
Look at all those skins and modding. Really cool. And the moment you press a button on your really cool new Today plugin, an ungly Windows application will pop up.
I hope that my criticism will be received well here! I like the phone, Windows is cool on it, but I think Microsoft has quite some way to go in order to make their platform really simple to use and user-friendly (think iPhone for example, my parents could use that, but I am quite sure if I show them my phone, they will not know how to make a a phonecall with it!)
In many ways some requirements are contradictory: Being user-friendly means you may have to hide settings, having your platform run on a variety of hardware means you cut corners here and there. Hopefully Microsoft will get it right with version 7 and 8, screenshots look quite good.
As for HTC... They lost a little bit of their credibility with a couple of issues for me. First the sound issue with the french rom which was initially denied and then fixed by people in this forum, then of course the drivers issue. I intend to make good use of this cool phone and customise it to my needs, it just takes time.
For your information, I find these applications useful:
Coreplayer (obviously!)
TouchPal keyboard works good for me
WKTask (and get rid off that default task switcher)
MyMobiler installs on your PC and a little "daemon-service" on your phone, (which you can disable). Then it allows you to control your phone from your desktop.
PocketCM did not particularly appeal to me, so I removed it
FunContact was cool, and loved it. Unfortunately, two things were not so good:
a) Splash screen and loading time
b) sometimes it made my phone freeze
Thanks for reading this (long) post,
Michael
Good post...Here are my impressions as well.
I used to carry a Palm Tx and a Motorala SLVR. I have been looking for the most ideal device to "do it all", PDA, phone (quad band gsm, tri band umts), wifi, and gps. There was nothing realy that appealing on the market until I read about the HTC Touch Cruise.
I read about people's complaints about the "driver" issues and hardware acceleration, and decided to take the risk and bought the phone from a gsm seller online. The phone was unbranded and did not have any stupid carrier proprietary software.
For the most part, I am very happy with the Touch Cruise. I have dumped the palm pda and the slvr, and have not looked back.
I just spent the last 2 weeks traveling to UK (London), Germany (Frankfurt), and Italy (Padova). As a mobile phone, the Touch Cruise functioned flawlessly and had 3G connections where they were available. Couldn't have asked for better features out of a "world" phone.
The TomTom GPS also ran quite well (Western Europe maps). Had to drive alot in Frankfurt and never got lost. Even traffic reports were right on the money.
As for a PDA, it blows the Palm syncing and calendar features out of the water. I used to be a Palm pilot only person, but Palm has become a dinasaur in their attutude to features and interface. The pocket pc has in my opinion surpassed them.
As a portable media device, it does kind of ok . Core Media Player is a must install, microsoft's media players still suck and are not usable and dont support all codecs. This device is not really ideal for video in my opinion. You have to re-encode videos to QVGA for ppc level quality, then video will play fine. You cant simply take a wmv file and dump it on the device to view, it wont work. As for music/mp3's, it works great. I got on a 10 hour flight from UK to US, and used it play music and games, and still had 40% battery charge left over and used an hour of GPS on the way home, with 20% left over.
In all fairness, the HTC could run a little faster, but I blame Microsoft and HTC for hogging up the cpu and not using hardware acceleration.
Since media (video) is not high on my list of required features, I am quite happy with the HTC Touch Cruise.
darkazally, I tend to agree with you really...
I guess if one did not have such a device before or had a really old one, then HTC Cruise is really super. On the other hand I can see certain people's frustration with Cruise. It is mostly people who owned 3 or 4 PDAs before and were probably expecting to be blown away by its specs; I kind of sypathise with them....
I read in an article written by someone at Microsoft, that companies tend to overload Windows with their own propriatory software and then the whole experience goes downwards. He mentioned that for the next versions of windows mobile, they intend to post stricter requirements just because of this situation.
As I also read in these forums, people who got their devices from O2 (just to mention a single company), seem to have more issues with HTC's performance...
I enjoy using the phone everyday and I am in the process of customising it to my needs, though it takes some time!
Uhhh mymobiler is amazing thanks for posting that! That is frickin sweet!
Great review, I tend to agree.
As far as PIM Management, I came from using two devices, a slim panasonic phone and a Xircom Rex 6000 PDA in the early part of this decade (circa 2001), like you I converged them into a Sony Ericsson phone (T610>T616) which had limited capabilities and lacked a lot of features my Rex had. In 2006, I got my first Windows Mobile smartphone, a Qtek 8310 (HTC Tornado), and now I have the HTC Touch Cruise.
Ever since getting into Windows Mobile, I thought that HTC/Microsoft had delivered great functionality, but poor usability and way too much lag for such high powered devices. Take for instance the settings panel. There are probably over 8 programs (4+networking icons, 3+ button config icons, ect) in there that only have one check box, when I'm sure HTC/Microsoft could very easily put them into one or two easy to use program with a Help feature.
But at the end of the day, I don't care if no one can use my device as long as I understand it. Additional consolation is provided in the fact that this phone looks so damned sexy
My Own impression
First of all, I'm new here & let me introduce my self...
I'm Richard & i'm from Indonesia.
I've waited for +3 months, before I decided to buy HTC Touch Cruise.
My other candidate are Atom Life & Nokia N82.
Soon (2 days) after my pal (who own a PDA shop) introduce me to Touch Cruise, I bought it
First impression is luxury.
Second impression........Windows Mobile sucks......
I have done hard reset for 4 times now....due to mis configure the registry....
I've done quite intensive test on my Touch Cruise, including Video,Audio,GPS,3G & Internet,Battery life & Applications.
This is my score (0-10):
1. Stability : 3 -> Typical Windows product
2. Looks : 9
3. Dimension : 8
4. Features : 8
5. Usability : 8
6. User Friendliness : 6
7. Battery Life : 7
Average score : 7
The Driver issue doesn't bothered me yet, so I'm very pleased with my new Touch Cruise
NOTE:
FYI,try not to uninstall anything from your TC.
Microsoft Windows product tends to leave "garbage" into the Registry & it will slow down your TC.
Choose wisely before installing & if you have to uninstall,search & delete any leftover inside the registry.
d4rkkn16ht said:
1. Stability : 3 -> Typical Windows product
Click to expand...
Click to collapse
What's wrong with stability? I'd have to agree that it is probably not the best device overall, but I didn't have a single stability issue with it. Maybe, you've got a defective one?
You know, there are certain lag things that I don't think are due to video drivers. I mentioned this in another thread "Why the lag" but I used to have a Cingular 8525 and supposedly that device had video drivers. It still lagged with a phone skin when you hit the phone button. Rotating the screen was still slow. I hate little things that lag like that. it should be smooth navigation / interface.
The device doesn't have a cohesive feel to it when we have to customize the **** out of it to get it to work the way we want to. You're right when we make a today screen look good then all the underlying apps are ugly windows apps. Your transparency issue, that can only be done from within the Windows picture viewer not the HTC photo viewer. You need to install your own video player. The HTC video browser app only shows videos with certain extensions. It's like you have to have a specific app for every little thing and then it feels like there isn't a streamlined feel to the device.
I gotta give credit to HTC for trying to improve the interface with their apps, the Windows interface is archaic. It's just the combo of the 2 doesn't allow for a polished interface.
hambola said:
The device doesn't have a cohesive feel to it when we have to customize the **** out of it to get it to work the way we want to.
Click to expand...
Click to collapse
On the other hand, thanks to HTC for a platform that allows us to do so and even greater kudos to all the xda-developer wizards who make it possible (and relatively easy for the most part).
Not enough can be said for xda. Although I'm a new poster I've been reading these forums for about a year now. Helped me out greatly with the 8525 and is proving to be helpful with the Cruise.
>You're right when we make a today screen look good then all the underlying apps are ugly windows apps.
I am happy we agree on this, I just wish it had a little bit of the Apple touch on it, that's all....
>Your transparency issue, that can only be done from within the Windows picture viewer not the HTC photo viewer.
All I wanted is a kind of minimal interface, so I can set my own wallpaper and not have it hidden by the huge HTC today plug-in. I have installed spb shell for a couple of weeks now and it looks great. I also discovered the HTC Home Customiser which looks cool, so, that's nice too.
>You need to install your own video player...
I think HTC should actually write a very generous paycheck for the people that developed CorePlayer. Without that one, Cruise would be a *little* bit of a disaster.
Overall I guess Windows is a versatile OS with lots and lots of space of customisation and at the end you do get it right, it just takes a lot of patience and resets to get there...
rev3nant said:
What's wrong with stability? I'd have to agree that it is probably not the best device overall, but I didn't have a single stability issue with it. Maybe, you've got a defective one?
Click to expand...
Click to collapse
After some intensive test, I found some irritating bug that caused stability issues.
Quick Menu sometimes disappeared after running several applications.
System Hang at random cause.
Some system settings cannot be changed even if you've already change it.
Redundancy in Registry Entry that can cause stability issues if you change the entry. (not considered a bug if you don't change it)
and some other (not quite sure yet...)
Have you tried a different ROM?

New Coder For WinMobile

I have some questions about coding specifically, this seems like something to put in the development forum, but its rules seem to specify that it is not.
I am making some GPS applications currently for my phone and would like to have some tips on being "friendly" with other GPS programs.
I have created a program that does GPS tracking and records coordinates and speed while driving. When I run this at the same time as Google Maps, it loses the ability to query the GPS device intermittently. What I would like is to be able to see if the GPS device itself is available. Currently I am using the GPS library provided by the Microsoft Sample with some edits (it was doing some unfortunate thread locking that it had no right to know about for a class library).
My hope is that my GPS app can recognize that another program is using it, OR it can recognize that the GPS device has been disabled by another program and turn it back on. Currently the sample library is either Open or Closed but does not actually seem to query the device to get these device states back.
Does anyone have some good example code for this? I intend to keep coding it, but right now it seems I will have to ignore other software on the phone that might be using it until I can get some help on this.

What's the best GPS tracking software?

So many tracking / security programs out there now..and all by decent developers! Anyone tried more than one and can give input as to what is best etc for everyone?
Remote Tracker by Joubert - http://forum.xda-developers.com/showthread.php?t=394203
nueGPSSecurity by no2chem - http://forum.xda-developers.com/showthread.php?t=459604
SmartProtect by mayo98 - http://forum.xda-developers.com/showthread.php?t=464336
If other (such as something off-site like WM GoHome by just per4mance) ( would add this to the poll, but I am honestly not sure how :S)
please specify WHAT WHERE AND WHY.
Thanks!
Nobody knows eh?
Never heard of these Nav Apps. I'm used to the more main stream ones like tomtom and Igo8.
I'll vote RT, since I traded the Vogue just after no2chem finished his. It worked perfect for me. The VZW, if its your carrier, aGPS fix really improves the abilities of the app. I tested it several times sitting in my home downtown, always got a perfect GPS track, and was able to paste the results in GMap Mobile for the position.
band27 said:
Never heard of these Nav Apps. I'm used to the more main stream ones like tomtom and Igo8.
Click to expand...
Click to collapse
These aren't Nav apps per se, more a case of "Where is my phone" type apps. You lose your phone and send it a specially crafted SMS and it responds with its GPS/cell tower position.

GNSS Internet Radio and Built in GPS

Hello,
I am new to the forum and also the owner of an HTC Fuze. I have been playing around recently with the GPS on the phone and got me thinking. I live in NY and we have a CORS network of gps base stations that are fed by the use of ntrip.
I was wondering if their was any way to use the gps signal on my phone and the connection to this CORS network to give me sub inch accuracy on my phone...then not sure what I would do with it then. But I do live on a farm and I would like to see some type of precision agricultural use.
I guess I need a way to have the GPS on the phone talk with the GNSS internet radio and then give me spot on guidance and such.
Please let me know your thoughts or if I need to explain better.
Thanks,
Clayton
bump
bump. Any ideas? Anyone
Great idea cwrisrey !
That will save the cost of a geodetic device, which is many times the cost of a Fuze. Further, it will lead the accuracy of the buildin GPS into millimum class.
Not dig into this further, would you go further to tell these:
Is that CORS data encrypted?
Is that accessible through public internet or VPN?
Is there copy right or intellectuall property right issue involved? (I don't think so, but better make it clear first)
Once again, great idea. Please do remember to update this thread once you got any progress. Thanks.
More info
Hello wg5566,
This site would probably answer alot of your questions clearer than I could:
http://www6.nysdot.gov/spiderweb/frmIndex.aspx
* Is that CORS data encrypted?
-I don't believe so, I think that it is just a form of compression, to distribute across the internet.
* Is that accessible through public internet or VPN?
Yes, the NYS CORS anyway. It accessible from the public internet (although they require you to register with them) But I believe there are other free streams. I also believe it was modeled after being able to be sent threw GPRS.
* Is there copy right or intellectuall property right issue involved? (I don't think so, but better make it clear first)
-I believe the ntrip is based on a GNU, I think the source code is available. http://igs.bkg.bund.de/index_ntrip_down.htm
Windows CE version:
http://www.ilmb.gov.bc.ca/crgb/gsr/downloads/installGNSS.CAB
Please, let me know your thoughts...
Thanks,
Clayton
My fast thoughts:
First make sure there is no satisfied freeware currently available for WM.
If so please ask a moderator to move this to the development & hackings section. And Add tyis sentence on the title: Call for developers for revolutionary GPS app!
I'm sure somebody here can develop this. You know the geodetic device was invented many years ago with very weak profiles comparing to current WM devices. The hardware on our phone should be capable to deal with these calculations, and the WM Pro platform should be capable to support such an app. Anyway it should not be a biggy for many masters here. But it is a biggy for gps users with high accuracy demand for any reason.
Edit: Did you try install that wince cab on your phone? I think some of WINCE apps can just run on WM. Please backup your data first.
Edit2: I tried to install it on my device, at first it did not show up in start menu, then I found the cab just put files and shortcut in the folder names in French. But there is no registry involved in the cab. Only three files. And then program UI itself is in English. Just run the executable from the folder will go right out of the box. So please try it. I did not try to connect & loggin yet, due to not registered account.
Edit3: Looks like the cab is only access the data from internet, convert the data format and export the data, but we still need a geodetic/gps software to process/use the data.
Disclaimer: I attatched these three files for the only purppose of exchanging software developement infomation. Anybody if download it please do not use it for any purppose other than this. Thanx.
Some thoughts on the subject
Hi All,
The idea of using NTRIP to make a Windows Mobile GPS device sub-meter accurate crossed my mind. After some research I found this thread.
Unfortunately, I haven't been able to find any software capable of doing this. My idea is that it should be possible to accomplish this goal, using a combination of existing tools (which would be really cool!).
As wg5566 notes, there is a (WM) tool called GNSS Internet Radio, which is capable of downloading NTRIP corrections. It turns out this software works, but does have some flaws. Someone wrote another open source tool which is better (?), but unfortunately it isn't built for Windows Mobile (see: http://lefebure.com/software/).
More searching revealed a (dead?) project on codeplex: SharpGPS. It's an unfinished demo. It does however seem to be designed to do exactly what we're suggesting in this thread.
My idea: Completing the WM version of SharpGPS with parts of GNSS Internet radio / lefebure NTRIP client should result in a tool that's capable of upgrading a WM devices' gps signal to sub-meter accuracy through RTK/DGPS corrections over NTRIP.
Any ideas / suggestions about this?
It's already been done for the commercial market
Land surveyors, construction companies, and farmers use RTK GPS and RTK GNSS correction services on a regular basis. Some are free and some are paid subscription. They can be either NTRIP protocol with casters or individual TCP or UDP connections. Examples of software available are Carlson SurvCE and MicroSurvey. Read Carlson's support site for how they deal with the data flow using such networks on SurvCE (Windows Mobile and CE).
I have worked in land surveying using such equipment, and it generally requires dual frequency receivers, RTK corrections, and high quality antennas to achieve 1-2cm 95% CI horizontal precision. The current GPS chips in cell phones are only single frequency and so the best you could expect under ideal conditions is 2'-3' precision using some form of differential correction like WAAS or beacon or DGPS via NTRIP. Under average conditions, the precision will likely be in the 10-20' range. The dual frequency receivers take care of the large errors caused by radio waves traveling through the ionosphere.
Due to the limitations of batteries, antennas, and space for more chips in cellphones, the future of location accuracy will likely include some combination of GPS/GLONASS and cellular radio signal frequency timing calculations from cell towers. True Position, with its U-TDOA technology, is one example of measuring the time differences of cell phone radio waves using cell towers with known coordinates. Rumors (from surveying journals) have it that there are current patents in place that can allow for sub foot precision using such methods when sufficient cell towers are present for multilateration.
Has anyone found success on this topic? WM or Android...
Would be very interested, since there is a free NTRIP feed available in Switzerland... anyone?
*bump* it up
Been there still trying. Problem is no carrier phase off internal gps.
Grimli said:
Hi All,
The idea of using NTRIP to make a Windows Mobile GPS device sub-meter accurate crossed my mind. After some research I found this thread.
As wg5566 notes, there is a (WM) tool called GNSS Internet Radio, which is capable of downloading NTRIP corrections. It turns out this software works, but does have some flaws. Someone wrote another open source tool which is better (?), but unfortunately it isn't built for Windows Mobile (see: /lefebure.com/software/).
Click to expand...
Click to collapse
Lance lefebure is a really cool guy I'm sure he wouldn't have any problem building a wm version but it is going to takea lot more than that to get rtk to a cell phone.
Very good ,thanks.
Ed hardy bikini said:
Very good ,thanks.
Click to expand...
Click to collapse
If you are confused just ask questions and I will do my best to answer them. I am in the ag industry and deal with RTK networks and different ways of connecting them and tons of different gps units on a daily basis.
Look at this:
http://stakemill.wordpress.com/2010/07/19/ashtech-mobile-mapper-100-supports-esri-arcpad-10-0/
and this:
http://www.ashtech.com/-2359.kjsp?RH=1272644205746&RF=1270806507068
Is that still a phone !?
wg5566 said:
Look at this:
Is that still a phone !?
Click to expand...
Click to collapse
Nope PDA with support for external GPS with a builtin reciever that even sees glonass satellites (russian constelation). That was made specifically to do RTK mapping. It does have a GSM radio for data to connect to the cors.
Phone positioning using CORS
To perform a CORS (Network Reference correction we need a GGA stream from the GPS in your device. This allows us to remove the anomalies and provde the correction stream. As phones use a sirf II chip or similar they do not have input capability to output the NMEA stream to achieve this.
This one works great! it will connect to an Rtk receiver and get the nmea string from it or will use the internal GPS to be able to register on the CORS network. It will then stream the corrections over Bluetooth to a receiver or even a repeater radio. It won't however correct the internal GPS. http://antrip.dyndns.biz/Home/DownloadTrial

[Q] Simvalley XT-930 GPS waypoints

Hi,
I am new to this forum. Although I have had a XDA (not sure if this forum relates to that smartphone of a decade ago), I am a consumer and no developer what so ever. I have not much technical knowlegde, so please bear with me if I don't get some things that are crystal clear to you guys. Also, my English is pretty poor.
My question: I have a Simvalley XT-930 dumbphone as a backup phone while travelling. It also has GPS and can get GPS coordinates. What I miss is an app on the phone to store and find back waypoints. I don't need anything fancy with maps or satellite photographs. An arrow pointing in the right direction, and the distance would be the major functionality I need. To find back that bus station, meeting point, parked car in a foreign city, etc.
The good thing is that the phone supports Java based apps. I tried VLKGPS 0.9.4, but it crashes because the Midlet is not supported.
Do you guys know an app with the functionality I am looking for and that would work on my phone?

Categories

Resources