Hey pavan try this..
Code:
try {
FileConnection con = (FileConnection) javax.microedition.io.Connector.open("file:///SDCarc/blackberry/");
if(con.exists())
{
InputStream input = con.openInputStream();
StringBuffer buffer = new StringBuffer();
while(input.read() != -1)
{
buffer.append(input.read());
}
System.out.println("OutPut"+buffer.toString());
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} by the way where r u frm?