12-06-2012 01:46 PM
I have an android app that runs in the background and makes use of SYSTEM_ALERT_WINDOW permissions to create a small info box and show it on top (literally on top of any app running)
when i run the verifier i get an impact level 4 on this one
can someone point me in the right direction?
cheers!
Solved! Go to Solution.
12-06-2012 04:16 PM
Unfortunately applications that run in the background with no launchable activity or make use of SYSTEM_ALERT_WINDOW are not currently supported.
For the full list of unsupported APIs please see: http://developer.blackberry.com/android/apisupport
12-06-2012 04:18 PM
sorry i was not being completely clear
it is a launchable app with gui and everything but it should autostart and run in the background responding to certain events with an info screen/box
sort of like pushglobalscreen on bb java
12-06-2012 04:21 PM - edited 12-06-2012 04:31 PM
if its not supported at all is there another way to do the same thing?
would that functionality be possible if making the app in one of the different languages? like native or html5?
12-06-2012 04:32 PM
Autostarting of applications is not currently supported. So I'm not sure if there would be a work around for your application scenario. Especially with the usage of SYSTM_ALERT_WINDOW.
You might be able to post notifications instead of using an alert window (These notifications would be shown in the users BlackBerry Hub area) but the application would have to launched and running by the user.
12-06-2012 04:38 PM
sorry if i am flogging a dead horse here but are they (autostart and "pushglobalscreen") unavailable just for android or for all languages?
12-06-2012 04:57 PM - edited 12-06-2012 04:58 PM
I don't believe these are supported for the other platforms on BB10.
12-06-2012 05:00 PM
12-06-2012 05:16 PM
Spoke to soon. Dialogs and toasts should be able to be seen while a native application is running. Background mode is still not supported however.