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
Developer
kamalakshan
Posts: 107
Registered: ‎06-12-2012
My Device: Dev Alpha C, Playbook
Accepted Solution

Is Qt Mobility API's supported

Hi,

 

Would like to know if BB10 supports Qt Mobility API's.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer

Re: Is Qt Mobility API's supported

Currently supported Qt classes for cascades are documented in:

 

https://bdsc.webapps.blackberry.com/cascades/reference/qt_index.html

 

Stuart

Please use plain text.
Contributor
djmbb
Posts: 30
Registered: ‎06-14-2012
My Device: Simulator

Re: Is Qt Mobility API's supported

Looks like its not supported then...eg no QGeoPositionInfoSource

What is then the recommended way of using mobility like functionality (eg determining the current position) in a cascades project?

Please use plain text.
Contributor
djmbb
Posts: 30
Registered: ‎06-14-2012
My Device: Simulator

Re: Is Qt Mobility API's supported

Or showing a Map at all (as can be done with the Map element from Qt Quick)
Please use plain text.
BlackBerry Development Advisor (Retired)
selom
Posts: 60
Registered: ‎05-10-2012
My Device: Blackberry 10 Alpha

Re: Is Qt Mobility API's supported

Hello,

 

You can access the geolocation, accelerometer and other data from the device sensors using the The Blackberry Platform Services API located here. https://bdsc.webapps.blackberry.com/native/reference/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_ref...

 

There is also the device namespace in Cascades namespace e.g. bb::cascades::Gravity class https://bdsc.webapps.blackberry.com/cascades/reference/bb__device__Gravity.html which simplies the BPS code above into a Cascades class. You can find more classes from the /target/qnx6/usr/include/bb/device folder for the 10.0.4 NDK in cascades.

 

 

Unforunately there is no maps API supported in the released version of the NDK.

 

Cheers

Selom

Please use plain text.
Contributor
djmbb
Posts: 30
Registered: ‎06-14-2012
My Device: Simulator

Re: Is Qt Mobility API's supported

Hi Selom.

 

Thanks for the helpful reply.

We have some apps we're currently considering porting to blackberry. They all show one or more maps however.

What are our options? None for Blackberry 10? Can you give me any idea when its planned to make this possible if its not yet?

 

Thanks in Advance.

Best Wishes,

Declan

Please use plain text.
BlackBerry Development Advisor (Retired)
selom
Posts: 60
Registered: ‎05-10-2012
My Device: Blackberry 10 Alpha

Re: Is Qt Mobility API's supported

Hi Declan,

 

Unfortunately I do not have information regarding future features in the upcoming NDK releases. This is normally done through the offical RIM channels. You could use the device features available in the native NDK at this time from your Cascades app, minus the map.

 

Please monitor official RIM developer channels for announcements related to upcoming releases.

 

Cheers

Selom

Please use plain text.
Contributor
djmbb
Posts: 30
Registered: ‎06-14-2012
My Device: Simulator

Re: Is Qt Mobility API's supported

Hi Selom.

 

Thanks.

 

>Please monitor official RIM developer channels for announcements related to upcoming releases.

 

Can you please advise me where the best places for this would be.

 

Thanks in Advance.

Please use plain text.
BlackBerry Development Advisor (Retired)
selom
Posts: 60
Registered: ‎05-10-2012
My Device: Blackberry 10 Alpha

Re: Is Qt Mobility API's supported

Hello again :smileyhappy:

 

The main developer page https://developer.blackberry.com/

 

and the twitter feed: http://twitter.com/BlackBerryDev

 

are two good places to monitor for new information.

 

Cheers

Please use plain text.
Developer
Jaffa
Posts: 34
Registered: ‎06-19-2012
My Device: BlackBerry Z10 Ltd Edition

Re: Is Qt Mobility API's supported

I was told at the BB10 Dev Jam in London that Qt Mobility should be coming in the next beta; although it wouldn't be all of the APIs in the first batch.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Please use plain text.