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
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.

Does any event related to video like sensor_event?

Purpose: Using native sdk to record video.

 

Question: How do I defince a bps_event_get_domain for video?

                   or Does any event related to video like sensor_event?

                  

                   When I try to define an event, the error shows that 

"warning: .dynamic section for "C:\bbndk\target_10_1_0_1020\qnx6\armle-v7\usr\lib\libbps.so.3" is not at the expected address (wrong library or version mismatch?)"


video_done_domain = bps_register_domain();

                    

                    How could I modify bps_register_domain class?                    

 

Minimum code:

if (event) {
    domain = bps_event_get_domain(event);
if (domain == navigator_get_domain()) {
    handle_navigator_event(event);
} else if (domain == screen_get_domain()) {
    handle_screen_event(event);
} else if (domain == video_done_domain) {
    fprintf(stderr,"0\n");
    handle_video_done_event(event);
}
}

 

//warning: .dynamic section for "C:\bbndk\target_10_1_0_1020\qnx6\armle-v7\usr\lib\libbps.so.3" is not at the expected address (wrong library or version mismatch?)
video_done_domain = bps_register_domain();

 

Thank your attention,

-Fight with BB10