1
私はenter link description hereにこの質問と同じ問題があります。しかし、私はJavaでアプリケーションをやっているのではなく、ActionScriptとAdobe AIR 2.6でアプリケーションをやっています。AIR:Androidファイルを削除するとギャラリーに空のプレースホルダが残る
次に、ActionScript経由でプレースホルダを削除する方法が問題です。
私はenter link description hereにこの質問と同じ問題があります。しかし、私はJavaでアプリケーションをやっているのではなく、ActionScriptとAdobe AIR 2.6でアプリケーションをやっています。AIR:Androidファイルを削除するとギャラリーに空のプレースホルダが残る
次に、ActionScript経由でプレースホルダを削除する方法が問題です。
あなたは、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);
}
});