Welcome to the CrackBerry Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 2 12 LastLast
Results 1 to 25 of 41
Like Tree13Likes
  1. katesbb's Avatar
    CrackBerry Addict

    Posts
    774 Posts
    Global Posts
    854 Global Posts
    Thread AuthorThread Author   #1  

    Default How do BB10 "background" apps work?

    How does BB10 handle the idea of "background" apps?

    For example, do you still get hub notifications for FaceBook and Twitter if those apps aren't in Active Frames? Does the Hub itself poll for updates independent of those apps?

    Can third-party apps update the Hub if not running as an Active Frame?

    Is it possible for an app to be running in the background without counting towards the 8 app limit? I'm wondering if it's possible or practical for BeBuzz type apps to be developed for BB10. If BeBuzz was automatically quit when a 9th app was launched, that isn't going to work very well. And if BeBuzz type apps (apps which monitor email, alerts, battery, etc.) need to be Active Frames, I can see the 8 app limit being exceeded quickly.

    Are the days of BBOS utility apps (the kind which run behind the scenes to modify how the device actually works) gone?
    Thanked by:
    ubizmo (02-23-2013) 
  2. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #2  

    Default Re: How do BB10 "background" apps work?

    This is a very good question. If all apps have to be in the active frames queue, utilities would be impossible. But aren't there already a shortcut app and a wallpaper changer, to mention two that would need to stay active?
    What is now proved was once only imagined.
    -- William Blake
  3. skrewball's Avatar
    CrackBerry Abuser

    Posts
    269 Posts
    Global Posts
    270 Global Posts
    #3  

    Default

    Currently, 3rd party apps cannot run in the background, yet..
    8130 > 9800 > 9810 > 9900 > Z10 & DAC

    Twitter: @JasonOickle BBM Channel: C001645C5
    Apps: Chive On | "What's On?" - BFB Approved!
    Main site: Jason Oickle | Independent BlackBerry 10 Developer
  4. belfastdispatcher's Avatar
    CrackBerry Genius of Geniuses

    Posts
    13,775 Posts
    PIN
    27F48177
    #4  

    Default

    Quote Originally Posted by joickle View Post
    Currently, 3rd party apps cannot run in the background, yet..
    Yahoo Messenger does, I tested it today
  5. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #5  

    Default Re: How do BB10 "background" apps work?

    Quote Originally Posted by joickle View Post
    Currently, 3rd party apps cannot run in the background, yet..
    This means that the shortcutme app that was just released has to take up an active frame... And then gets dumped if eight more apps are open? If true, this would be the most serious limitation of the OS I've heard so far.

    And what's the basis for saying "yet"? Do we know true background apps are coming?
    What is now proved was once only imagined.
    -- William Blake
  6. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #6  

    Default Re: How do BB10 "background" apps work?

    Quote Originally Posted by belfastdispatcher View Post
    Yahoo Messenger does, I tested it today
    And does it do notifications? There's another thread where it's mentioned that the CB app needs to be in an active frame to do notifications. CB isn't a utility of course but many utilities need to be able to do alerts etc.
    What is now proved was once only imagined.
    -- William Blake
  7. belfastdispatcher's Avatar
    CrackBerry Genius of Geniuses

    Posts
    13,775 Posts
    PIN
    27F48177
    #7  

    Default

    Quote Originally Posted by ubizmo View Post
    And does it do notifications? There's another thread where it's mentioned that the CB app needs to be in an active frame to do notifications. CB isn't a utility of course but many utilities need to be able to do alerts etc.
    I got messages after I closed the active frame.

    Posted via CB10
  8. katesbb's Avatar
    CrackBerry Addict

    Posts
    774 Posts
    Global Posts
    854 Global Posts
    Thread AuthorThread Author   #8  

    Default

    Quote Originally Posted by belfastdispatcher View Post
    Yahoo Messenger does, I tested it today
    Did you install YM yourself? Or was it included, "built-in" with BB10?
  9. belfastdispatcher's Avatar
    CrackBerry Genius of Geniuses

    Posts
    13,775 Posts
    PIN
    27F48177
    #9  

    Default

    Quote Originally Posted by katesbb View Post
    Did you install YM yourself? Or was it included, "built-in" with BB10?
    It's in BlackBerry World.

    Posted via CB10
  10. skrewball's Avatar
    CrackBerry Abuser

    Posts
    269 Posts
    Global Posts
    270 Global Posts
    #10  

    Default

    Quote Originally Posted by belfastdispatcher View Post
    Yahoo Messenger does, I tested it today
    It's made by RIM, to yahoo
    8130 > 9800 > 9810 > 9900 > Z10 & DAC

    Twitter: @JasonOickle BBM Channel: C001645C5
    Apps: Chive On | "What's On?" - BFB Approved!
    Main site: Jason Oickle | Independent BlackBerry 10 Developer
  11. oddboy's Avatar
    CrackBerry Abuser

    Posts
    434 Posts
    Global Posts
    435 Global Posts
    #11  

    Default

    Push notifications are different from background apps. A messanger or messaging app doesnt have to be running to get a push notification.

    Background apps aren't an option get, but are likely to be added (if the BlackBerry dev forums are aby indicator) . Obviously QNX allows for background apps and QNX has an api demonized programs.
    Thanked by:
    tharrison4815 (03-03-2013) 
    tharrison4815 likes this.
  12. twstd.reality's Avatar
    CrackBerry Master

    Posts
    1,250 Posts
    #12  

    Default

    Apparently, the APIs to do this will be released to devs sometime down the road.

    Stolen from another thread:

    Quote Originally Posted by M.Rizk View Post
    BlackBerry announced in Europe 2013 Jam that they will be working to release the background apps APIs soon. So it's a yes you will be able to get those apps later without active frames and won't count towards the 8 apps limit.
    Apps running in background

    Posted via CB10
    Thanked by:
    Masahiro (02-25-2013) 
    Masahiro likes this.
  13. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #13  

    Default Re: How do BB10 "background" apps work?

    Quote Originally Posted by twstd.reality View Post
    Apparently, the APIs to do this will be released to devs sometime down the road.

    Stolen from another thread:



    Apps running in background

    Posted via CB10
    This is disturbing. "Sometime down the road" could be a long time. Meanwhile, the many utilities that might be created to make the BB10 user experience more satisfying are on hold.
    What is now proved was once only imagined.
    -- William Blake
  14. greatwiseone's Avatar
    CrackBerry Genius

    Posts
    1,789 Posts
    #14  

    Default

    If you check out the BB10 developer website, headless apps are on the roadmap. The problem is that a lot of apps aren't coded properly such that they use up resources while running in the background (this was a problem on legacy BBOS). BB's trying to figure out the best way for these apps to work. I listened into the session on roadmap items, and it's likely coming in the 'next' version of BB10, with BB10.1 being released when Q10's released (i.e. BB10 with keyboard support). I haven't had much use of these type of apps though. BB10's pretty awesome as is.
    peter9477 likes this.
  15. sportline's Avatar
    CrackBerry Genius

    Posts
    2,069 Posts
    #15  

    Default

    So we're still in this beta and will not see any change until Q10 launch in June? Great. No problem.

    Posted via CB10
  16. pictus's Avatar
    CrackBerry Newbie

    Posts
    6 Posts
    #16  

    Default

    Quote Originally Posted by greatwiseone View Post
    If you check out the BB10 developer website, headless apps are on the roadmap. The problem is that a lot of apps aren't coded properly such that they use up resources while running in the background (this was a problem on legacy BBOS). BB's trying to figure out the best way for these apps to work.
    You can see why they're trying to work out the best way of doing this, one of the common complaints on Android is that background tasks can sometimes cause battery drain and it's hard to know which one is causing it. On BB10 if it doesn't have an active frame you'd also have no way to close a background process currently.

    Looking at the headless app discussions I think allowing an app to be invoked on an event (e.g. incoming Email/SMS) is preferable for some kinds of apps such as BeBuzz as they don't really need to be running in the background all the time. I hope this comes soon as I'd like to get started on an app that would use this functionality but I feel it will be some months off yet since it's still in the planning stage...
    AceRoom likes this.
  17. peter9477's Avatar
    CrackBerry Genius of Geniuses

    Posts
    5,216 Posts
    Global Posts
    5,218 Global Posts
    #17  

    Default

    It won't be in 10.1 on the Q10, but later. After BlackBerry Live in May.

    Posted via CB10
    Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
    Follow us on Twitter or Facebook or visit Engenuity's mobile apps page.
  18. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #18  

    Default Re: How do BB10 "background" apps work?

    So this means that things like podcast and news apps that update periodically must sit in an active frame, right? But can they be protected from being bumped?
    What is now proved was once only imagined.
    -- William Blake
  19. Damian1221's Avatar
    CrackBerry User

    Posts
    17 Posts
    #19  

    Default How do BB10 "background" apps work?

    Quote Originally Posted by ubizmo View Post
    So this means that things like podcast and news apps that update periodically must sit in an active frame, right? But can they be protected from being bumped?
    Currently to actually download new podcasts/news updates it would have to be open but it could receive push notifications that new updates are available without running.

    I really hope the background APIs are added soon and done correctly. IMO the ability to run apps like BeBuzz in the background or QuickLaunch that was run out of a frame was one of the great features of BBOS.


    Sent from my BlackBerry 9930 using Tapatalk
  20. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #20  

    Default

    Quote Originally Posted by Damian1221 View Post
    Currently to actually download new podcasts/news updates it would have to be open but it could receive push notifications that new updates are available without running.
    Can the push notifications cause the app to open and download?
  21. peter9477's Avatar
    CrackBerry Genius of Geniuses

    Posts
    5,216 Posts
    Global Posts
    5,218 Global Posts
    #21  

    Default

    ubizmo, yes, push can invoke an app and it can do whatever work it needs, then issue a notification and shut down again. This is how the podcast/news/messenger types of apps can do their thing already.

    There is no single answer to any of this stuff... BB10 has support for numerous techniques, and will have support for many more once the "headless apps" stuff is ready (and note that even it may arrive in stages).

    Part of the reason they're rolling things out this way is to give themselves time to study the use cases, and make sure devs aren't just dumping all their apps into background services the way they did on BBOS, where battery life, user privacy, and performance tend to suffer. Short term pain not having certain features, but this is a good thing for the platform, in the long run.
    Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
    Follow us on Twitter or Facebook or visit Engenuity's mobile apps page.
    Thanked by 2:
    deltact (02-25-2013),  ubizmo (02-25-2013) 
    kbz1960, madx80h and ZEDTROSPEKTIV like this.
  22. ubizmo's Avatar
    CrackBerry Genius

    Posts
    3,739 Posts
    Global Posts
    3,901 Global Posts
    PIN
    2BD8C4F9
    #22  

    Default

    Quote Originally Posted by peter9477 View Post
    ubizmo, yes, push can invoke an app and it can do whatever work it needs, then issue a notification and shut down again. This is how the podcast/news/messenger types of apps can do their thing already.

    There is no single answer to any of this stuff... BB10 has support for numerous techniques, and will have support for many more once the "headless apps" stuff is ready (and note that even it may arrive in stages).

    Part of the reason they're rolling things out this way is to give themselves time to study the use cases, and make sure devs aren't just dumping all their apps into background services the way they did on BBOS, where battery life, user privacy, and performance tend to suffer. Short term pain not having certain features, but this is a good thing for the platform, in the long run.
    Thank you, this is more reassuring. I certainly want them to get it right, since getting it wrong could cause all manner of headaches. It is a real bottleneck, in terms of app development, but I guess I can have some confidence that they will put it together soon.
    kbz1960 likes this.
  23. world boss's Avatar
    CrackBerry User

    Posts
    32 Posts
    Global Posts
    33 Global Posts
    #23  

    Default

    I guess the os isn't as complete as we thought it was
    meh
  24. Crowezine's Avatar
    CrackBerry Abuser

    Posts
    373 Posts
    Global Posts
    374 Global Posts
    #24  

    Default Re: How do BB10 "background" apps work?

    It shouldn't affect the hub. The Hub's features (like Facebook and Twitter) are baked in using API. Meaning that you could have 8 business apps running and can still send messages through LinkedIn for example.

    If this wasn't possible, it'd make the Hub pointless, because users would end up switching in and out between the apps on their homescreen. As stated in the 'BlackBerry Experience', the idea is that you can switch between apps in one place, without closing anything.
    Josh - Curve 9320 & PlayBook 64GB - BlackBerry Enthusiast - CrackBerry Addict - PlayBook Sideloader
  25. #25  

    Default

    Quote Originally Posted by mtblanc View Post
    I guess the os isn't as complete as we thought it was
    Are you serious? Most OS's don't allow "headless" apps. Actually, out of BB10, iOS, WP8, and Android, only Android allows it. As a former Android (Nexus 4) user, I hope that Blackberry NEVER implements this stupid strategy. You have no idea how many useful apps I had to uninstall on my N4, because they run in the background.

    If BB does implement this feature, I would at least hope that it requires a "open on startup" permission that users can disable. On Android, if the app runs on startup, you have no way of disabling it. Even closing it through a task manger doesn't work. The daemon keeps bringing it back.
    AceRoom likes this.
Page 1 of 2 12 LastLast

Similar Threads

  1. How do you close all open apps?
    By datchineseguy in forum BlackBerry Curve 83xx
    Replies: 9
    Last Post: 05-22-2008, 09:41 AM
  2. how do i get opera mini to work
    By jimmyjam in forum BlackBerry Curve 83xx
    Replies: 10
    Last Post: 02-19-2008, 06:00 PM
  3. How do I get started building apps?
    By atlkr5 in forum Developers Lounge
    Replies: 1
    Last Post: 02-01-2008, 05:09 PM
  4. How do you have so many apps on 64Mg?
    By cre8tivspirit in forum BlackBerry OS Apps
    Replies: 10
    Last Post: 01-04-2008, 02:33 PM
  5. How do you Install Java Base App and games
    By jurena0915 in forum BlackBerry OS Games
    Replies: 4
    Last Post: 12-02-2007, 05:42 AM

Posting Permissions