Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 9
Registered: ‎12-29-2012
My Device: Dev Alpha
My Carrier: Vodafone

Implementing push for large downloads

I'm not a developer, so please forgive me if this is a stupid question:

 

Is it possible to use push technologies on OS 10 to enable large downloads (3-30MB) to occur in the background while an app is closed? We sell content as in-app purchases. This can take a long time to download and I'd like users to be able to close the app but the download to continue.

 

If this is possible could you please provide some info which I can pass onto our developers?

Thanks,

 

George

Retired
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10
My Carrier: Rogers

Re: Implementing push for large downloads

Hi George,

 

Yep, it is possible to use push with BlackBerry 10 to start large downloads through your application.  It's typically called a "poke and pull".  You poke your application (using a push) to let it know that it should go download content.  In the push, you would specify the URL of the content that it should go and pull/download. 

 

As of right now, however, the application must at least be running in the background (it will be visible in the running applications grid) for your application to do this download.  This isn't unique to push.  It's how things currently are in BlackBerry 10. 

 

Matt

 

 

Highlighted
New Contributor
Posts: 9
Registered: ‎12-29-2012
My Device: Dev Alpha
My Carrier: Vodafone

Re: Implementing push for large downloads

Thanks for the quick response Matt!