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

Native Development

Reply
Contributor
joanpuigsanz
Posts: 27
Registered: ‎07-30-2011
My Device: Z10

How can I know in which country the app is being used?

Hi all,

 

I'm developing an app that need to check in which country is running in order to show some data to the user.

 

Anybody knows how can I know in where the device is being used?? It could be nice if there are any QML solutions...

 

Thanks!

Please use plain text.
Developer
KermEd
Posts: 179
Registered: ‎05-18-2009
My Device: NA

Re: How can I know in which country the app is being used?

In Appworld (http://appworld.blackberry.com/isvportal)

 

Generate a report across your sales days.  It shows much more information.  It might not give you exact info, but close.

Please use plain text.
Contributor
joanpuigsanz
Posts: 27
Registered: ‎07-30-2011
My Device: Z10

Re: How can I know in which country the app is being used?

I mean inside the app, using QML. The app has some information that will be displayed according to the country where the user is using the app

Please use plain text.
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)

Re: How can I know in which country the app is being used?

You'll have to determine the user's position for that. Take a look at the Location documentation for that.

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.