05-08-2013 07:43 AM
I would like my app to notify the user when a reminder needs to be fired. Naturaly, the user will have the app minimized (as an Active Frame).
I've been going through the documentation & the sample app but I can't find much to go on. How do I:
I've went through this: https://developer.blackberry.com/html5/apis/blackb
but I'm not sure which function to use and where to fire it!
05-08-2013 02:29 PM
Let me make sure I understand correctly:
- You would like to have a dialog WHILE minimized? This is not possible in WebWorks and would require Cascades to access the system dialogs.
- You can run your code in the background using the run_when_backgrounded: https://developer.blackberry.com/html5/documentati
- To update the active frame you can issue calls to the active frames method through the updateCover method:
05-08-2013 03:05 PM
05-08-2013 03:18 PM
You can write a notification to the UIB using the following in WebWorks:
If that API is too constricting you can write a native extension that exploits the following:
05-10-2013 06:02 AM
So if I used the Dialog in the WebWorks documentation, it won't work if the App is minimized!?
If I DO have to use a native extension, might I find a ready one for a DIalog somewhere?
I'm really trying to avoid Native & C++ development I tried going native with my app, but it took me forever to get any progress done while I was able to get my App up to speed and ready in a couple of days with WebWorks. I'm a Web Developer.
05-10-2013 04:04 PM
05-10-2013 06:46 PM
Go to the Github link that Erik included and open an issue with the details of what you are looking for. We'll take a look and between the various community members we can see if there is some interest and an opportunity to create one.
Within the repository there is a Template extension if you want to try yourself.