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
BlackBerry Development Advisor
jehrismann
Posts: 68
Registered: ‎10-15-2012
My Device: Z10

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.

 

Jim

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

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
Faheem