Here we go! https://github.com/MobileChromeApps/cordova-plugin-background-app/tree/master/example-app
Also makes use of CLI's ability to store plugins & platforms in config.xml :) On Tue, May 5, 2015 at 2:50 PM, Andrew Grieve <[email protected]> wrote: > Hmm, just have mobile chrome apps' mobilespec equivalent. It'd be worth > creating a smaller just-uses-local-notifications-or-alarms app to show it > off. I'll try and do that some time this week. > > On Tue, May 5, 2015 at 11:52 AM, Raymond Camden <[email protected]> > wrote: > >> Do you have an example appl? >> >> On Tue, May 5, 2015 at 10:20 AM, Andrew Grieve <[email protected]> >> wrote: >> > Wanted to draw attention to a new plugin we've created for allowing >> Android >> > apps to behave as a service on Android (without actually being a >> service!) >> > >> > https://github.com/MobileChromeApps/cordova-plugin-background-app >> > >> > We use it as part of our chrome.gcm, chrome.notifications, and >> > chrome.alarms plugins. >> > >> > Under-the-hood, it uses less-well-known Android features to have an >> > Activity start without any visual cues, then have it be able to switch >> to >> > the foreground through "task reparenting". Crazy stuff, but nice >> results :) >> >> >> >> -- >> >> =========================================================================== >> Raymond Camden, Developer Advocate for MobileFirst at IBM >> >> Email : [email protected] >> Blog : www.raymondcamden.com >> Twitter: raymondcamden >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
