try {
conn = (FileConnection) Connector.open( url,Connector.WRITE_ONLY );
if( conn.create() ){ // create the file
OutputStream out = conn.openOutputStream();
// now write data to the file
}
conn.close();
}
catch( IOException e ){
// error
}
catch( SecurityException e ){
// no permission to create/write
}
这段代码是访问存储卡吗???
这个方法对所有手机或大部分手机适用吗》???