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
New Developer
Posts: 13
Registered: ‎04-15-2012
My Device: non-blackberry
My Carrier: non-blackberry

Not able to get mmrenderer position

if ( bps_get_event( &event, 0 ) == BPS_SUCCESS )
        {
            if(event)
            {
                qWarning() << "Pause ok";
                const char *pos = mmrenderer_event_get_position(event));
                qWarning() << pos;
            }
        }

 Anyone can help me see my code, is there any wrong with this? I keep getting blank when i try to get the position.

however if I try to get other parameters like Speed, it is ok..

 

Thanks. please help.

BlackBerry Development Advisor
Posts: 54
Registered: ‎10-26-2011
My Device: Playbook
My Carrier: Rogers

Re: Not able to get mmrenderer position

You need to check the domain of the event and make sure that it matches the domain returned by mmrenderer_get_domain()