BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-17-2010, 07:13 AM   #1
prasadrajapaksha
Knows Where the Search Button Is
 
Join Date: Dec 2009
Location: Sri Lanka
Model: 9000
PIN: N/A
Carrier: Software Engineer
Posts: 21
Default Save Dom XML Document

Please Login to Remove!

Hi,

Please see following code.

HttpConnection connection = null;
InputStream inputStream = null;

connection = (HttpConnection) Connector.open(strServiceURL, Connector.READ_WRITE, true);

inputStream = connection.openInputStream();

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse( inputStream );

// ------------------------------------------------

Here finally I have Dom.Document object which include my XML file where I have downloaded it from the internet. Now I want to save it in to my device memory. Is there any way to do that using above inputstram or document.

Thank you.

Prasad.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Siemens RAM Board 6FX1190-1AA00 picture

Siemens RAM Board 6FX1190-1AA00

$199.95



Stroke Hydraulic Cylinder Flat Jack Low Profile Ram Tool Steel 50 Ton 64mm 2.52

Stroke Hydraulic Cylinder Flat Jack Low Profile Ram Tool Steel 50 Ton 64mm 2.52"

$109.24



RAM MODULE (COMES WITH WIRING HARDNESS) picture

RAM MODULE (COMES WITH WIRING HARDNESS)

$200.00



30 Ton Hydraulic Cylinder Ram Hollow Jack 2.3

30 Ton Hydraulic Cylinder Ram Hollow Jack 2.3" 60mm Working Stroke Single Acting

$76.24



Tnt Rescue Equipment Hydraulic Ram R-30   724 picture

Tnt Rescue Equipment Hydraulic Ram R-30 724

$240.00



NCR 7616-1301 NCR 72XRT 15

NCR 7616-1301 NCR 72XRT 15" Retail POS Terminal with i3, 8GB Ram 250GB HD No OS

$299.00







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