BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-25-2008, 05:16 AM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Model: 8120
PIN: N/A
Carrier: Airtel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Access File System (BB Specific APIs)

Please Login to Remove!

Hi everyone ..

I am trying to save/store a doc or pdf file to the local file system on a BB device. I know how to do this using persistent storage but wish to know is there any other way by which I can do this. I want to stick to the BB specific APIs (net.rim.*.*) and cannot use classes like FileConnection that fall under javax. Please help me out on this as I seem to get no clue of doing this.

Thanks,
Omi
Offline  
Old 07-25-2008, 06:37 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

To access file storage use FileConnection. There are no other ways.

By the way BB API is extending the standard J2ME/Java classes, so even if you want you cannot avoid all of them.

To open any connection the calss Connector is used which is part of javax.microedition.io, so...
Offline  
Old 07-25-2008, 06:42 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

That is a strange constraint, why can't you use FileConnection? While it is true that RIM has replace some J2ME functions with their own code, it is unlikely they would provide duplicate APIs without a very good reason.
Offline  
Old 07-28-2008, 03:57 AM   #4 (permalink)
New Member
 
Join Date: Jul 2008
Model: 8120
PIN: N/A
Carrier: Airtel
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok .. Thank you very much for your prompt replies.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Vintage Fruit Wine Cider Press Juice Maker Grapes Crusher Harvest Apple Antique
$142.98
Vintage Fruit Wine Cider Press Juice Maker Grapes Crusher Harvest Apple Antique pictureVTG APPLE COMPUTER MEAD ZIPPERED ORGANIZER CASE
$19.99
VTG APPLE COMPUTER MEAD ZIPPERED ORGANIZER CASE  pictureVintage EDM 926 ELECTROHOME monitor Apple II
$199.0
Vintage  EDM 926 ELECTROHOME monitor Apple II   picture Vintage OEM Apple Design Powered Speakers M2497 USED WORKING
$39.99
 Vintage OEM Apple Design Powered Speakers M2497 USED WORKING pictureVintage Letterpress Print Type Ornament "An Apple A Day Bugs The A.M.A." Adcut
$9.5
Vintage Letterpress Print Type Ornament






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.