Force start GPS windows mobile 6.5 - gps

I built a navigator and have a problem with the GPS, sometimes it takes forever to get a GPS-fix even though the device is outside with nothing blocking it. If I start TomTom the GPS gets a fix almost instantly on the same device. I can also get a fix faster if I restart the device.
Its like the GPS is in a sleep mode and has to be "poked" for it to start sending coordinates. Anyone knows anything about this and how to get it working faster in win CF c#?

Related

Can't read bytes or lines from a GPS device that other applications are able to

I have a vb.net application that is able to read gps info from gps connected to usb. This works on about 50-60 different computers and gps devices, however there is one gps device (did try it on several computers aswell) that this will not work on.
I did think there might be something wrong with the gps device, but there are two other applications (Haicom Viewer and a custom application I do not have the source code for) that works with that device without any issues. So there has to be something with my application that is not able to work with that specific device.
Currently I'm using a SerialPort control and when using Read() I get "blank" bytes and ReadLine() times out.
I have tried different BaudRates, Encodings and Hanshakes.
I managed to make it work by setting DtrEnable = True on the SerialPort control. However I do not know why that was the deciding factor. If anyone could explain why only 1 of many GPS devices needed this to be true it would be much appreciated.

Keep App Alive in Background IOS7

I have created the application, which track the GPS Location of user at specific time period. This process is run 3 times in background. So, App need to keep alive in background.
To achieve the our requirement, we use the Location manager (GPS) running in the background. So, it will never been killed by OS. Also, we have run the background task thread while App is in background.
This approach working fine on iOS 6 and before and running more than 10 minute in background.
But in iOS 7 Application going to killed after 10 minute.
Please need suggestion for keep the Timer alive in background.
We would appreciate the earliest response. Thank you in advance.
How to keep app running alive in background in IOS 7 without affecting the battery life.
There's no reason for the app to be killed if it has background location tracking functionality in the Info.plist file and doesn't try to abuse the benefits of that permission.
I'm not sure what's your use case for the tracking functionality, but -- together with an assumption that if there's no record from some period, the tracked device didn't change the location -- setting a distance filter would allow to track the location all the time.
That also allows to put a smaller burden on device's battery, because in certain activity types handled by CLLocationManager, the device may put the location service in idle state if it doesn't detect any significant movement.
if you want to keep app active in background and don't want to go to appstore for some reason (for example you are developing something for your company with using enterprise developer program), you should check deferredLocationUpdates(even on devices which doesn't support them, you just get error in your delegate but app will work) and don't call stopLocationUpdates while in background.(if you use this on app for appstore you have to explain why you needed this to apple of course).

Manual testing for GPS on ios

I'm a newbie in testing area. I have an application which has the facility to use gps and I don't have garmin tracker. I have done few tests on gps but i don't feel it's sufficient.
How to test gps manually?
What are the ways and methods to test it? please, suggest some testcases for it.
1.Need to test while traveling how the application is working with Gps connection.
2.How the Application is behaving while we got a call/Message.
3.How the Application is behaving while battery low /Automatic turn off u r phone,the current data is saved in data base properly or not
4.Need to check Battery life while using GPS
I am sure your done with smoke testing!, In that case start with Interruption testing.
Keep moving in a place, check the your GPS connectivity.
Travel to remote places where you feel the GPS can't be tracked. Check how your application responds.
Try receiving call while using the Application.
Place an alarm, check how your application responds during alarm work.
Check when your device is about to die, how the application responds. Since you'l be using GPS, chances of u'r battery drain is too high.
Check with Notification. how your application behaves.
Switch off your GPS, see if an appropriate alert is provided.

Hold connection between iOS and Mac, even if App is in Background (as VOIP?)

I need to connect an iOS Device to a computer/mac. It's necessary to take this connection alive, even if the app goes in background mode. I know that the normal life cycle of a multitasking app will cut the connection at unknown time. Now my idea was to declare the app as an VOIP-App, so that I can use the SignOfLive to send signal to the PC. Is that possible?
Please note that I'm only asking if it's possible, not if apple would like this way ;)
Sure it's possible to set any app as a VoIP app and enable keep-alives. But, Apple will reject the app and the keep-alive trigger interval has a 600 second minimum and can only run for 30-seconds.
The keep-alive is limited and is really intended for sending SIP registrations.
Why don't you describe what you are trying to accomplish and someone may be able to offer a better solution?
The voip setting will also allow the app to listen for network traffic, while in the background. Or, if you just need to be able to have a network process finish, any app can continue to run in the background for up to 10 minutes.

GPS connection is lost and does not recover

We have developed an application on Windows.net mobile framework and it is used on a Windows 6.5 Smartphone. for our location based application. Our application is real time and tracks our employees. We are finding that the device loses its GPS signal.
Has anyone managed to restart the GPS receiver so that it starts giving the GPS signal again. I would be ever so gratefull if someone can help. We are using GeoFramework2.0 to deliver the geographic information that you need.
Regards
Sandy
The GPS is "shut down" when no application is using it. Just close your handles and re-open them.
If the GPS on your device is part of the WWAN radio (i.e. cellular phone) it may get put in to a low power state rather than being actually shut off. In that case, you can try restarting the radio.
If that doesn't work, some GPS's will allow you to send proprietary commands to them to force a reset or clear the memory. These commands are not standard and will differ significantly by manufacturer. If you have a SiRF GPS, take a look at the SiRF Binary Protocol Reference.