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

Web and WebWorks Development

Reply
Developer
iamtony
Posts: 87
Registered: ‎02-26-2010
My Device: Bold 9000
My Carrier: Rogers

Possible to prompt user for download location?

[ Edited ]

Hi there,

 

I was wondering if it was possible to prompt the user for a download location in which they can choose to save a file from my Widget Application?

 

I was looking at the FILE API provided, but would rather not have to create something like this from scratch.

 

Thanks to any responders :smileyhappy:

 

OS 5.0 BB Bold 9000

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Possible to prompt user for download location?

Hmmm.. There is a way to get a file dialog to open a file from a location.. maybe there is a way to make it work for you to choose a location to save your file..

 

 http://www.blackberry.com/developers/docs/widgetapi/google.gears.desktop.html

 

 

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Developer
iamtony
Posts: 87
Registered: ‎02-26-2010
My Device: Bold 9000
My Carrier: Rogers

Re: Possible to prompt user for download location?

[ Edited ]

Thanks, I didn't even consider it to be part of gears. I'll look into it! But I guess I might have to write my own :/

 

Edit: If there's a way to save a file using the widget, I might as well use that and scrap the idea that the user can choose where they want to save it.

Please use plain text.