08-16-2010 12:58 AM
I have just started working on blckberry GPS App, while developing i found that for different devices we need to have different criterias. But if we have to make a single build for all devices how should I proceed? Is there any critria which works for all devices.
08-16-2010 02:52 AM
The GPS criteria depedns upon various factors like carrier, device (CDMA or GSM) etc. SO the best approach is to use the best suitable criteria per device basis, as no one can gurantee one particulor criteria will work on all the device.
to solve your problem you can check the device name programmatically and return the specific criteria for that device.
Use the DeviceInfo. getDeviceName() method to retrieve the device name.
08-16-2010 05:04 AM
Thanks Ankit, but how to find which type of criteria suits for a device ? I have gone through different GPS modes but was unable to relate them to a device.
08-16-2010 05:14 AM
Well the best way is to try with diffreent values for differrent parameters. We had a GPStester application, where we used to put differrent values for differrent parameters to check the GPS . You can create a similar application.
Whenever you work with a new device , you can first install that GPS tester and get the suitable criteria.