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

Posts: 68
Registered: ‎10-15-2012
My Device: Z10
My Carrier: Telus

Re: How to check if an App has "read_geolocation" Permission?

[ Edited ]

You may need this:


#include <QVariant>


The second parameter to setProperty() is a QVariant reference. By virtue of QVariant's non-explicit overloaded constructors, you can pass a double, and a QVariant will be implicitly constructed using the double value. But only if the compiler is aware of the QVariant class definition.



New Developer
Posts: 14
Registered: ‎02-20-2013
My Device: BB 10 Dev Alpha B
My Carrier: BB 10

Re: How to check if an App has "read_geolocation" Permission?

Thanks a lot for your response and clarification.
now its working fine.

Thanks & Regards