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
Posts: 656
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Active Frame - How to Update?

I have an Active Frame setup and it is working fine.  The app cover is written in QML and uses information from C++ to build the page.

 

The question is how can I get the whole cover refreshed in the update function without having to manually change each field in the update routine.  The values in c++ which the QML is based off of has already changed....just need to get the cover to redraw itself.  Not sure how to force that redraw (refresh)


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Developer
Posts: 656
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Active Frame - How to Update?

Bump please.


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Developer
Posts: 1,636
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: Active Frame - How to Update?

Steven,

 

What you need to do is set a timer to update Active Frame.  It does not automatically refresh the screen.

 

Developer
Posts: 656
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Active Frame - How to Update?

Thanks...I have that part ok as I can update it by changing something in QML. issue is that if I have a bunch of QML objects that are linked to c++ code how can I get them to redraw themselves... This way I font have to manually update each one.

Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing