.NET Framework - Connect_på_GPS_in_HTC_HD2
Asked By Brofalad
07-Jan-10 01:40 PM
Hi,
I have problem to get my GPS-application to work with HTC HD2 and
windows mobile 6.5. I have tried every comport with no success. Am I
missing something? It worked OK on my WM6.1 device. I do not know if
WM 6.5 is the problem or the HTC HD2 device.
Any hints appreciated.
/Brofalad
Connect
(1)
Check
(1)
Brox
(1)
Mentionend
(1)
Windows
(1)
Anyware
(1)
Century
(1)
Respons
(1)
Bjørn_Brox replied to Brofalad
Brofalad skrev:
Why are you working directly on the COM port and not on the managed
interface?
If you insist on work on a com port remember to check your GPS setting
for a virtual com-port, if it is enabled and which port it is.
You should in any case only use the virtual com-port since it allows
multiple processes to access it.
--
Bj?rn Brox
Brofalad replied to Bjørn_Brox
No, I am working on the GPS Intermediate Driver. But I cannot get it to
work. I have tested all comport to find the hardware port to enter in
the GPSID GUI with no success.
And I haven=92t found what hardware comport HTC HD2 are using anyware on
the net yet.
As mentionend, my program is working with WM6.1 on a other devices.
/Brofalad
Bjørn_Brox replied to Brofalad
Brofalad skrev:
Some time since I programmed a HTC, but there was a system setting for
hardware and virtual COM port.
Anyhow, - check out http://www.htcwiki.com/
--
Bj?rn Brox
Brofalad replied to Bjørn_Brox
Yes,
Probably getting the right system settings f=F6r the HTC HD2 accorning
to hardware port will solve the problem.
But how? it is not mentions in the HTC HD2 User Manual.
/Brofalad
Bjørn_Brox replied to Brofalad
Brofalad skrev:
GPS setting regarding the virtual com port is a default part of Windows
Mobile and not HTC specific.
--
Bj?rn Brox
Bjørn_Brox replied to Bjørn_Brox
And again: Since this is a multi-process OS you should not access
hardware ports directly but use the virtual COM port for reading GPS.
The hardware port is probably already occupied by the OS or some other
process, or you will block them.
--
Bj?rn Brox
Brofalad replied to Bjørn_Brox
Thanks for your respons
Do you mean I should be able to access the GPS Intermediate Driver,
without setting the hardware port in the GPS ID GUI?
I am the looking for the problem at the wrong place?
/Brofalad.
Bjørn_Brox replied to Brofalad
Brofalad skrev:
Depends on how the HTC have implemented their hardware driver, - it
might not be a hardware port at all.
In any case you should use the virtual com port, but personally I would
access it on an even higher level and using the Windows Mobile API.
You find examples of that in your Windows Mobile Pro SDK examples folder.
Polling a hardware COM port was something you did in the last century in
the early windows OS'es. Today you can just instruct the API to send you
events.
--
Bj?rn Brox
Thore Berntsen replied to Bjørn_Brox
I think that there is a problem with the GPS driver on HRC Touch HD2. I have
seen that described on the xda-developer site, I think it takes some time
for the GPS driver to start up.
Check out http://www.xda-developers.com/
Thore

How can i connect LDAP and query AD to authorize Domain User Name and Password? .NET Framework I want to develop a C# Web Base Logon to connect a Novell LDAP Server with SSL and then authorize the AD Domain User Name and i do not know how to authorize AD User Name and Password. And can it connect to Novell LDAP? Here are my source code: public class LdapAuthentication { private string _path; private collection. Response.Cookies.Add(authCookie); Response.Redirect("urlHERE"); } else { Message.Text = "Authentication did not succeed. Check user name and password."; return; } C# Discussions DateTime.Now.AddMinutes (1) FormsAuthentication.FormsCookieName (1) FormsAuthenticationTicket is a multi-post where the group microsoft.public.it.dotnet.csharp is included. - - Bjorn Brox keywords: How, can, i, connect, LDAP, and, query, AD, to, authorize, Domain, User, Name, and, Password? description: I want to develop a C# Web Base Logon to connect a Novell LDAP Server with SSL and then authorize the AD Domain User Name and
com / putainformatica / viewtopic.php?p = 843 www.trabajobasura.com / solusoft C# Discussions GetExecutingAssembly (1) TcpScan.Connect (1) TcpScan.Close (1) TcpClient (1) WCF (1) String.Compare (1) GetName (1) WebserviceVersionCompatible (1) Connect to it, if it fails it is not available. - - Pete = = = = http: / / mrpmorris.blogspot.com http com - Think domain, not database Peter Morris skrev: Correct. Personally I also implement a version check which ask the web service with version it is and compare it with the version the web service and can tell why not everything is working as expected. - - Bjørn Brox bool success = false; TcpClient TcpScan = new TcpClient(); try { TcpScan.Connect(address, port); success = true; } catch { } TcpScan.Close(); Put this in a method and check the success flag before making a wcf call and registering your WCF service with your
Connect PDA To SqlServer .NET Framework Hi, I have to make an application for a PDA to connect to WIFI on SqlSerrver 2008 How can I do? Thanks C# Discussions System.Data.SqlCLient (1) SqlCeClient (1) Connect (1) SqlSerrver (1) Ignacio (1) Machin (1) Paul skrev: The same way as you would connect a sqlserver on a desktop application. Setting up the network connection itself is, as on a desktop application, an OS configuration task, not the application. - - Bjørn Brox Hi, But in .NET 2.0 compact framework i Don't have a System.Data SqlCLient? How I make to connect a SqlServer? Paul skrev: Use SqlCeClient Any reason why you stick to CF 2.0? - - Bjørn Brox Ignacio Machin ( .NET / C# MVP ) skrev: Depending on your setup CF 3.5 will be automatically installed if required. - - Bjørn Brox Ignacio Machin ( .NET / C# MVP ) skrev: As I said: It depends on you setup. A
When to Check-out / check-in files in Visual Source Safe .NET Framework I am looking for some suggestions from on Source Safe. 1. What is the best practice / rule for the Source Safe to check-out and check-in files for a small group of developers? 2. What is the best practice / rule for the Source Safe to check-out and check-in files for a large group of developers? VB.NET Discussions Visual (1 Check (1) SourceGear (1) Umljaw (1) FBFC (1) Dans (1) Vss (1) = ?Utf-8?B?Umljaw = = ? = <Rick@> wrote in Don't check out more files than you need. You may want to look at using a CSV