2011-08-12 8 views

答えて

0

あなたは、Air3.0を使用するネイティブ拡張を作成し、このコードから取ら

でJava関数を呼び出すことができる場合:http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/content/ExternalStorage.html

// Tell the media scanner about the new file so that it is 
// immediately available to the user. 
MediaScannerConnection.scanFile(this,new String[] { file.toString() }, null, 
new MediaScannerConnection.OnScanCompletedListener() { 
public void onScanCompleted(String path, Uri uri) { 
Log.i("ExternalStorage", "Scanned " + path + ":"); 
Log.i("ExternalStorage", "-> uri=" + uri); 
} 
}); 
関連する問題