is it possible to use signals/slots in BB10 WebWorks app ?
Opened this issue · 1 comments
Kra-Kra commented
Hello,
Is it possible to use signals/slots in BB10 WebWorks native extension ?
I was able to compile and load succesfully the native extensiona and I can call native methods and fire events from within the native code.
The only problem that I have is that registered slots are never called.
Do I need to start a separate thread and manage event queue myself ? Any hints are welcome.
Example slots used during testing:
calendarService = new CalendarService();
connect(calendarService, SIGNAL(eventsRefreshed(bb::pim::calendar::EventRefresh)), SLOT(calendarSlot()));
MediaKeyWatcher* keyWatcher = new MediaKeyWatcher(MediaKey::VolumeUp);
connect(keyWatcher, SIGNAL(longPress(bb::multimedia::MediaKey::Type)), SLOT(mediaKeySlot()));
PrashantKIsHere commented
Did u get the answer?