Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,054 Members 40,767 Now Online
XDA Developers Android and Mobile Development Forum

Hardware compass support [UPD 28 Dec: Working in *all* GPS navigation software]

Tip us?
 
barty22
Old
(Last edited by barty22; 28th December 2009 at 10:41 PM.)
#1  
Senior Member - OP
Thanks Meter 106
Posts: 1,130
Join Date: Jan 2008
Default Hardware compass support [UPD 28 Dec: Working in *all* GPS navigation software]

Probably going to buy a HD2 within a few months, and I am wondering whether there is any information available about the support for the hardware compass in any navigation software like iGO8, iGO Amigo, Google Maps (which are my personal favorites).

Google Maps Update:

The new 3.3.1 update for Google Maps (permanent link to most recent Google Maps, at the time of writing 3.3.1) adds hardware compass support for the HD2! When in the 'my location' mode, it will show you the direction you are facing by means of the blue my location dot changing into a blue arrow. You may have to walk and turn around a little bit to somewhat trigger the use of the compass. Note that this doesn't work when 'my location' is off (which makes sense). What makes less sense is that it won't work in combination with GPS either. With GPS, the arrow will still be there but will always face north. Maybe a bug?

I didn't find a way to let Google Maps rotate the map on the screen, depending on the direction you are facing.

I've double checked, and this feature is not available in the stock 3.2.1 (#16) Google Maps on the HD2.



Google Maps Update (13 Dec 2009):

This can work when using GPS as well. In Google Maps, apparently it works when you set your GPS settings to manual.
For example, set your baud rate to 57600 (Options -> GPS Settings -> Set Manually: COM4, Baud 57600).

Get compass navigation support in your GPS navigation software! (28 Dec 2009):

Have been working with Mach2003 to enable support for the compass in potentially *all* GPS navigation software!
Get GpsModDriver 1.50beta: http://forum.xda-developers.com/show...&postcount=583

 
hmota78
Old
#2  
hmota78's Avatar
Senior Member
Thanks Meter 1
Posts: 216
Join Date: Sep 2008
Location: Bardejov
Quote:
Originally Posted by barty22 View Post
Probably going to buy a HD2 within a few months, and I am wondering whether there is any information available about the support for the hardware compass in any navigation software like iGO8, iGO Amigo, Google Maps (which are my personal favorites).
Not unless HTC releases SDK for HD2
HTC HD2 (LEO)
 
Dark Fire
Old
#3  
Dark Fire's Avatar
Senior Member
Thanks Meter 1
Posts: 431
Join Date: Aug 2007
There are three possibilities:
1. Yes, some apps such as those listed will (perhaps not immediately, but eventually) be able to access the compass.
2. Yes, but the compass is mainly there for WM7 compatibility so until a WM7 upgrade comes, most apps won't be able to access the compass.
3. No, the compass is there just for the HTC Compass app, which would be really pointless and stupid.
 
clubtech
Old
#4  
Senior Member
Thanks Meter 297
Posts: 1,674
Join Date: Jun 2007
Location: USA
Quote:
Originally Posted by hmota78 View Post
Not unless HTC releases SDK for HD2
This is something I really don't understand about windows mobile devices.
The OEM's make such powerful phones with excellent hardware but they don't release the SDK to that developers can use these hardware feature and create good apps for the devices.
What's the point then?

I know Samsung recently starting releasing SDK's for their devices, I think HTC should follow if they want to keep people buying their devices.
HARDWARE: AT&T 8285 > iPhone 3G > Toshiba TG01 > iPhone 3GS > HD2 > AT&T N1 > EVO 4G > Samsung Galaxy S > Samsung Galaxy Tab > Samsung Nexus S > Atrix 4G > Motorola Xoom > Thunderbolt > Galaxy S II > Galaxy Tab 10.1 > HTC Flyer > E4GT > Galaxy Note > Galaxy S 3 > Galaxy Note II > HTC One > Galaxy Note 8 > Galaxy S 4
 
kersh
Old
#5  
Senior Member
Thanks Meter 90
Posts: 884
Join Date: Oct 2007
i think that the compass will be used by some programs like igo and yes, google map, but not much more.

we will see in 2 weeks
 
vangrieg
Old
#6  
Senior Member
Thanks Meter 44
Posts: 2,499
Join Date: Jul 2007
Location: Moscow
As far as I know HTC hasn't released SDKs for their current sensors but it doesn't prevent programs from using them they were reverse engineered very quickly.
 
kb0n
Old
#7  
kb0n's Avatar
Senior Member
Thanks Meter 32
Posts: 150
Join Date: Oct 2009
Quote:
Originally Posted by Dark Fire View Post
There are three possibilities:
1. Yes, some apps such as those listed will (perhaps not immediately, but eventually) be able to access the compass.
2. Yes, but the compass is mainly there for WM7 compatibility so until a WM7 upgrade comes, most apps won't be able to access the compass.
Hm, don't know which one I'd prefer =)

I don't think they'd just put a simple compass app on the device and NOT release a SDK just to get people excited for WM7. So I'm pretty sure the compass will be used in some way, either on preinstalled apps or via SDK.
 
bym007
Old
#8  
bym007's Avatar
Senior Member
Thanks Meter 1
Posts: 121
Join Date: Apr 2006
Location: London ==> Jeddah
Quote:
Originally Posted by kersh View Post
i think that the compass will be used by some programs like igo and yes, google map, but not much more.
I, for one being a Muslim, would want an application telling directions to Mecca for prayer purposes... This "would" be definitely a big plus for Muslim HD2 adopters. I know some people have similar app on iPhone, but it takes direction from internet and as a result is highly inaccurate ...

>>>>>>>>>>>>>>>>>>>> HTC <<<<<<<<<<<<<<<<<<<


Loving HTC ONE KitKat 4.4.2 stock on Mobily Saudi Arabia

>>>>>>>>>>>>>>>>>>>> HTC ONE <<<<<<<<<<<<<<<<<<<


Past HTC Flames:
HTC Typhoon ==> XDA IIi ==> XDA Exec ==> XDA Mini S ==> XDA Touch Diamond ==> HTC HD2 ==> HTC Desire HD ==> HTC Sensation XE

 
rathga
Old
#9  
Junior Member
Thanks Meter 2
Posts: 16
Join Date: Nov 2009
now thatleo's arrived, anyone know of a rotatey map program?
 
barty22
Old
#10  
Senior Member - OP
Thanks Meter 106
Posts: 1,130
Join Date: Jan 2008
Wooohoo, some new development.

An API has been developed by MilaCzeque. Check here!!

Next step is for some developer to somehow let Google Maps and our favourite navigation software use the API.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Remove Unnecessary WhatsApp Elements with Xposed

In modern life, you can’t underestimate the power ofthe dark sidemessaging … more

MaR-V-iN to Talk Google and Android APIs at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of September … more

But First, Let Me Take a #Selfie

“Today while browsing XDA,I’m going tocheck to seeif my favorite ROM has been updated–but … more