2011年11月18日金曜日

MediaScannerConnection

I would like to register taken video in gallery.
I used MediaScannerConnection.
Register video.
MediaScannerConnection.scanFile(this, "/sdcard/sample.3gp", "video/3gpp", null);

It is simple. it is all.
Let see your gallery.

source code here

0 件のコメント:

コメントを投稿