BlackBerry Wi-Fi Location in OS 5

2019-08-14 06:52发布

I have successfully acquired Wi-Fi location in my BlackBerry App built on BlackBerry JRE 6.0 through the following code:

BlackBerryCriteria myCriteria = new BlackBerryCriteria(LocationInfo.GEOLOCATION_MODE)

I am now trying to compile the same App in BlackBerry JRE 5.0 However, LocationInfo is not part of BlackBerry 5 API and so I would require another mechanism. I have come to understand that GEOLOCATION_MODE_WLAN is available in BlackBerry 5 only through third party application. For example, Google has a geolocation API that supports wifi location fixes. However I am lost as to how to implement this in code behind. Can anybody guide so I can get a start and implement it accordingly.

Please Help!!

0条回答
登录 后发表回答