FileConnection conn = (FileConnection) Connector.open( _path, Connector.READ );
if( conn.exists() ) {
// invoke callback for the file
new CallbackDispatcherEvent( _completeCallback, new Object[] { _path } ).Dispatch();
} else {
MicrophoneNamespace.handleError( _errorCallback, new FileNotFoundException( _path ) );
}
} catch( Exception e ) {
MicrophoneNamespace.handleError( _errorCallback, e );
}
}