11-04-2012 06:52 AM
Does anybody know if App covers (QNXCover in native world) are available in Webworks and how tow use them?
An example would be greatly appreciated.
For app covers, I mean the app screen when the app is minimized and show in the homescreen of BB10, like in the first screenshot here:
Iv'e only found examples / api for Air and C++, but nothing for Webworks:
Thanks in advance!
Solved! Go to Solution.
05-19-2013 10:29 PM - edited 05-19-2013 10:29 PM
Only supports image and label? If I want to update content in active frame window, I have to prepare the content in a canvas area, convert that canvas to a PNG file, save in file system, and send to active frame?
path: <path to the photo>
Does path accept data URL format? path: data:image/png;base64,iVBORw0KGgo...... so I don't need to request for permission to access file system in order to save the temporary PNG image.
05-20-2013 11:37 PM
tested and data URL format does not work for active frame... have to convert the canvas to png file, save in local share folder and then pass the full path to active frame --
this means app needs to request for additional permission unop first-time running, sometimes the permission request may mislead users: they are wondering why for example a calculator app needs to access documents, music, video... folders.
I am trying to avoid any unnecessary permission request but in order to get active frame working, I seem to have no choice here...