I want to detect when a new media is taken.
I use a broadcast receiver like this
Using java Syntax Highlighting
- IntentFilter filter = new IntentFilter(TAKE_NEW_PICTURE);//
- try {
- filter.addDataType("image/*");//
- } catch (MalformedMimeTypeException e) {
- e.printStackTrace();
- }
- myReceiver = new MediaReceiver();
- registerReceiver(myReceiver, filter);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
to detect new picture but I do not know how I can detect new video or sound because I have not found filter to detect these kind of media.
Thanks for your help.

