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
New Developer
hakolito
Posts: 7
Registered: ‎08-29-2011
My Device: 9700
My Carrier: Orange Dominicana

File Explorer

I want to open the blackberry file explorer and select a file and get the path to insert into database, is that possible in the new SDK 2.1

Please use plain text.
BlackBerry Development Advisor (Retired)
ababut
Posts: 46
Registered: ‎07-08-2010
My Device: Superberry
My Carrier: Rogers

Re: File Explorer

Directly, no.

What you can do is put a standard file picker, let the user pick a file and read its value property to obtain the path.
-------------------------------------------------------------------------------------------------
Useful resources, food for the brain:
Web(Works) KB - http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/tkb-p/browser_dev%40tkb
Please use plain text.
New Developer
hakolito
Posts: 7
Registered: ‎08-29-2011
My Device: 9700
My Carrier: Orange Dominicana

Re: File Explorer

is there a file picker made already or javascript extension

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

Re: File Explorer

If you are on the BlackBerry smartphone OS you can try out the FilePicker Community API

 

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/FilePicker

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
New Developer
hminaya
Posts: 10
Registered: ‎11-27-2012
My Device: Playbook
My Carrier: Orange

Re: File Explorer

hakolito, did you have any luck in solving this?

Please use plain text.
New Developer
hakolito
Posts: 7
Registered: ‎08-29-2011
My Device: 9700
My Carrier: Orange Dominicana

Re: File Explorer

yes i used the filepicker create by neil 

Please use plain text.