Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

is it possible to use signals/slots in BB10 WebWorks app ? #670

Open
Kra-Kra opened this issue Jun 6, 2013 · 1 comment
Open

is it possible to use signals/slots in BB10 WebWorks app ? #670

Kra-Kra opened this issue Jun 6, 2013 · 1 comment

Comments

@Kra-Kra
Copy link

Kra-Kra commented Jun 6, 2013

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
Copy link

Did u get the answer?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants