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

Allen-Bradley 1764-LRP Processor/Controller
$150.0
Allen-Bradley 1764-LRP Processor/Controller pictureOMRON C200H-BC031 cpu base unit
$40.0
OMRON C200H-BC031 cpu base unit pictureVMIC 332-107487-033 H VMIVME 7487A W/ 332-000201 000 A CPU BOARD SOLD AS-IS
$550.0
VMIC 332-107487-033 H VMIVME 7487A W/ 332-000201 000 A CPU BOARD SOLD AS-IS pictureVerifone 510 Credit Card Processor With Power Cords
$19.99
Verifone 510 Credit Card Processor With Power Cords pictureModicon Quantum CPU Controller 140CPU11303
$298.0
Modicon Quantum CPU Controller 140CPU11303 picture






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