Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 2
Registered: ‎09-03-2010
My Device: Not Specified

Need to detect country from Blackberry

We have developed a site which is available through Blackberry as well. We now need to detect from which country user is accessing the site from the Blackberry.

 

However it always returns Canada.

 

Can anybody suggest a solution for this?

 

Its an urgent requirement.

Developer
Posts: 27
Registered: ‎06-14-2010
My Device: bold 9700

Re: Need to detect country from Blackberry

As far as I know all the information sent from blackberry devices that have BlackBerry data plans pass through RIM Servers located at Canada, if you are using an IP filter thats why you always see "Canada" as the user country.

 

Try using a BlackBerry device that have no blackberry data plan, using WiFi or something to see if its still the same problem.

 

I really dunno how to get the country where device is, maybe a BB Guru could give us some advice on this.

 

Regards.