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


Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System picture

Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System

$83.60



Zareba Low Impedance Electronic Fence Controller 2 Miles picture

Zareba Low Impedance Electronic Fence Controller 2 Miles

$20.00



IMPEDENCE MATCHING TRANSFOMER BNC F-BNC F, 50 OHM TO 75 OHM, 20-1100 MHZ picture

IMPEDENCE MATCHING TRANSFOMER BNC F-BNC F, 50 OHM TO 75 OHM, 20-1100 MHZ

$28.00



 RESQPod ITD10 Impedance threshold device 12-0242-000 picture

RESQPod ITD10 Impedance threshold device 12-0242-000

$14.95



*TC* FLUKE IMPEDANCE BRIDGE MODEL 710B (WCS73) picture

*TC* FLUKE IMPEDANCE BRIDGE MODEL 710B (WCS73)

$150.00



*TC* ESI ELECTRO SCIENTIFIC INDUSTRIES IMPEDANCE BRIDGE 250-DA (BAL43) picture

*TC* ESI ELECTRO SCIENTIFIC INDUSTRIES IMPEDANCE BRIDGE 250-DA (BAL43)

$187.50







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