Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Can I test one sample application of location based services with IPosdet interface
in device without a gpsOne facility?. For example we can simulate GPS input by using a BGP(BREW Geographic Position) file. Can I use this file on device. Beacuse in India we have no way to test LBS appliaction. Because no operator support is available here.(For CDMA phones).

Anybody know if any gpsOne enabled phone is available INDIA.

Thanks

I already posted a topic about LBs apps here http://brewforums.qualcomm.com/showthread.php?t=17081&highlight=LOcation...
But nobody answered....
Waiting for a reply from brew app engg, Administrator etc....

I already posted a topic about LBs apps here http://brewforums.qualcomm.com/showthread.php?t=17081&highlight=LOcation...
But nobody answered....
Waiting for a reply from brew app engg, Administrator etc....

No you can not use BREW Geographic Position file on device to test,
But rather u can just create a txt file with this (BREW Geographic Position) by
and using that txt file u can test u r application on device.
For making txt file u have to write all the value that u get in IPOSDET_GetGPSInfo 's call funtion
in the call funtion
write the a function
AEEGPSInfo * pAEEGPSInfo
setData_toFile(pMe,pMe->m_pAEEGPSInfo, sizeof(AEEGPSInfo));
in this function setData_toFile just write whole structure in to the txt file.
put this file into device and while running the app just read this file u can simulate the GPS in India

No you can not use BREW Geographic Position file on device to test,
But rather u can just create a txt file with this (BREW Geographic Position) by
and using that txt file u can test u r application on device.
For making txt file u have to write all the value that u get in IPOSDET_GetGPSInfo 's call funtion
in the call funtion
write the a function
AEEGPSInfo * pAEEGPSInfo
setData_toFile(pMe,pMe->m_pAEEGPSInfo, sizeof(AEEGPSInfo));
in this function setData_toFile just write whole structure in to the txt file.
put this file into device and while running the app just read this file u can simulate the GPS in India

Hi kumaresh ,
Thanks for urreply.
When calling IPOSDET_GetGPSInfo () from a device without the gpsOne facility all values returned by this function may be null. right?
When calling this function from simulator( IPOSDET_GetGPSInfo ()), this function will automatically locate the BGP(BREW Geographic Position) file for reading the longitude and lattitude?
Then how it is possible in device. If possible where you write the .txt file location?
Do you have any idea about map displaying on simulator? Now we are trying to build a .NET BREW Server for utilizing Microsoft's MapPoint.NET Web Services .
Any other way is available for downloading and displaying maps. Had heard about the NAVTEQ. I already registred in developper community of that site. But not yet recieved the confirmation. Waiting fir ur reply
thanks

Hi kumaresh ,
Thanks for urreply.
When calling IPOSDET_GetGPSInfo () from a device without the gpsOne facility all values returned by this function may be null. right?
When calling this function from simulator( IPOSDET_GetGPSInfo ()), this function will automatically locate the BGP(BREW Geographic Position) file for reading the longitude and lattitude?
Then how it is possible in device. If possible where you write the .txt file location?
Do you have any idea about map displaying on simulator? Now we are trying to build a .NET BREW Server for utilizing Microsoft's MapPoint.NET Web Services .
Any other way is available for downloading and displaying maps. Had heard about the NAVTEQ. I already registred in developper community of that site. But not yet recieved the confirmation. Waiting fir ur reply
thanks

Please refer to the Code I have attached with this post of simulation of GPS on device in India.I have done it with succes in my provious project

Please refer to the Code I have attached with this post of simulation of GPS on device in India.I have done it with succes in my provious project

Well, you can possibly do that if you have enough info from operator (which is rather unlikely unless you work for operator).
Using ITelephone API, you can get the Cell ID information from the phone, now from operator if you can get the table of the location of all the towers, then by using well known triangulation method you can find out the user's approximate location with some margin of error.
The real problem is operator's wouldn't publish the lat-long of the towers.

Well, you can possibly do that if you have enough info from operator (which is rather unlikely unless you work for operator).
Using ITelephone API, you can get the Cell ID information from the phone, now from operator if you can get the table of the location of all the towers, then by using well known triangulation method you can find out the user's approximate location with some margin of error.
The real problem is operator's wouldn't publish the lat-long of the towers.

IPOSDET_GetSectorInfo does return lat lon info about the base stations but this API is OEM dependent and requires additional mif privilege. Not all devices/carriers support retrieving sector info.

IPOSDET_GetSectorInfo does return lat lon info about the base stations but this API is OEM dependent and requires additional mif privilege. Not all devices/carriers support retrieving sector info.

Thanks for the help.

Thanks for the help.

Hi Kumaresh,
my question is repeating,
When calling IPOSDET_GetGPSInfo () from a device without the gpsOne facility all values returned by this function may be null. right? then how you create a txt file with AEEgpsInfo.
Again repeating :(
Is it possible to developp a location based application for a device without the gpsOne facility. As of my knowldege use of Location API in BREW means IPosdet depends on the availability of gpsOne facility on device. right?

Hi Kumaresh,
my question is repeating,
When calling IPOSDET_GetGPSInfo () from a device without the gpsOne facility all values returned by this function may be null. right? then how you create a txt file with AEEgpsInfo.
Again repeating :(
Is it possible to developp a location based application for a device without the gpsOne facility. As of my knowldege use of Location API in BREW means IPosdet depends on the availability of gpsOne facility on device. right?

Yes for those API phone needs to be have GPSOne enabled.
For alternative mechanism see the answer above.

Yes for those API phone needs to be have GPSOne enabled.
For alternative mechanism see the answer above.

Thanks ruben,
Then the steps for the alternative mechanism posted by kumaresh i understands
that in the following way,
1) After setting the .bgp file via gps Emulation feature from in simulator call IPOSDET_GetGPSInfo ().
2) Then we will get a filled structure with the gpsInfo in the form of AEEgpsInfo.
3) Then we must write these info in to a file.
4) After that we must copy this file in to device .
5) Read these values(we need longitude and lattitude) and perform some
functionalities like drawing a map and point to a particular place..etc.
So all the other functionalities on device will be done without the Location API (IPosdet) since we cannot use the Location API on device bacuse of the lack of gpsOne .
Assuming that all of the above assumptions are correct?

Thanks ruben,
Then the steps for the alternative mechanism posted by kumaresh i understands
that in the following way,
1) After setting the .bgp file via gps Emulation feature from in simulator call IPOSDET_GetGPSInfo ().
2) Then we will get a filled structure with the gpsInfo in the form of AEEgpsInfo.
3) Then we must write these info in to a file.
4) After that we must copy this file in to device .
5) Read these values(we need longitude and lattitude) and perform some
functionalities like drawing a map and point to a particular place..etc.
So all the other functionalities on device will be done without the Location API (IPosdet) since we cannot use the Location API on device bacuse of the lack of gpsOne .
Assuming that all of the above assumptions are correct?

That post for for simulation that wouldn't work in the device for real life application.
Here is the post above I mentioned
>>>>>
Well, you can possibly do that if you have enough info from operator (which is rather unlikely unless you work for operator).
Using ITelephone API, you can get the Cell ID information from the phone, now from operator if you can get the table of the location of all the towers, then by using well known triangulation method you can find out the user's approximate location with some margin of error.
The real problem is operator's wouldn't publish the lat-long of the towers.
>>>>>>

That post for for simulation that wouldn't work in the device for real life application.
Here is the post above I mentioned
>>>>>
Well, you can possibly do that if you have enough info from operator (which is rather unlikely unless you work for operator).
Using ITelephone API, you can get the Cell ID information from the phone, now from operator if you can get the table of the location of all the towers, then by using well known triangulation method you can find out the user's approximate location with some margin of error.
The real problem is operator's wouldn't publish the lat-long of the towers.
>>>>>>

Thanks Ruben.. Thanks for the reply.

Thanks Ruben.. Thanks for the reply.

Please tell me which API of ITelephone interface is returning Cell Id information?
As I am not able to judge which parameter is having cell id info.
Regards,
Abhilasha

Please tell me which API of ITelephone interface is returning Cell Id information?
As I am not able to judge which parameter is having cell id info.
Regards,
Abhilasha

abhilasha wrote:Please tell me which API of ITelephone interface is returning Cell Id information?
As I am not able to judge which parameter is having cell id info.
Regards,
Abhilasha
http://brewforums.qualcomm.com/showthread.php?t=19926&highlight=iposdet
i tried a lot but could not find a way or parameter which gives cell id using ITelephone api..
only api which supports base station id is
IPOSDET_GetSectorInfo
uint16 wBaseID;

abhilasha wrote:Please tell me which API of ITelephone interface is returning Cell Id information?
As I am not able to judge which parameter is having cell id info.
Regards,
Abhilasha
http://brewforums.qualcomm.com/showthread.php?t=19926&highlight=iposdet
i tried a lot but could not find a way or parameter which gives cell id using ITelephone api..
only api which supports base station id is
IPOSDET_GetSectorInfo
uint16 wBaseID;

If anyone is developing LBS application for Indian market, they can consult the respective operators (Tata/Reliance). Handsets that supports gpsone are V3C and K1M. To get the gpsone work on these handset one need to flash the handsets with new binary which are currently available only with operators.
The handsets that are currently in the market don't support LBS functionality.

If anyone is developing LBS application for Indian market, they can consult the respective operators (Tata/Reliance). Handsets that supports gpsone are V3C and K1M. To get the gpsone work on these handset one need to flash the handsets with new binary which are currently available only with operators.
The handsets that are currently in the market don't support LBS functionality.

Hello Brewin,
Can you please tell me what exactly I have to do to get my handset flashed with new binary?
Whom should I contact?
Regards
Abhilasha

Hello Brewin,
Can you please tell me what exactly I have to do to get my handset flashed with new binary?
Whom should I contact?
Regards
Abhilasha

Ask your respective BREW application market team.

Ask your respective BREW application market team.

Will the handset get flashed with the new binaries at any of the service centres of Tata Indicom?

Will the handset get flashed with the new binaries at any of the service centres of Tata Indicom?

No, At present it will be done only at corporate office Mumbai.

No, At present it will be done only at corporate office Mumbai.