making mediastore ignore files?

by Yoni Samlan » Tue, 14 Apr 2009 13:04:35 GMT


Sponsored Links
 My app downloads a bunch of .ogg samples to an SD card (5 MB worth, so
it wasn't practical to bundle them inside the apk). The issue: All
100+ .ogg files show up in media playing apps like Music and TuneWiki.
Ew!

Is there a (semipermanent) way to tell the MediaStore not to look in a
particular folder when it scans for media? I know I can just delete
the rows from the MediaStore provider (a la 
 http://www.souvey.com/2009/03/android-development-i/ 
), but then they'd just get picked up at the next rescan.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. ayo serbu global teleshop beli spica

112500 x 12 bulan? Kompas halaman 47
emang bener harganya segitu?


bawa korannya langsung ke Global, kalau gak dikasih kita ngotot bisa gak ya?

-- 
"Indonesian Android Community [id-android]" 

2. Custom MediaPlayer Interface Thru JNI

Hi All,

I was trying to mimic the MediaPlayer Java interface provided by the
Android Framework by writing a similar Java-JNI layers. I have found
one observation regarding this.

case 1: The Java layer is very similar to the MediaPlayer.java code.
But on the JNI side, I am creating a thread ("pthread" to be
specific). This thread I will be using to send "start", "stop",
"pause" etc commands to the mediaplayer class in cpp. In this case I
am able to play the video file but Video is not visible. Audio is
playing fine!!!

case 2: Tha Java layer again is very similar to the MediaPlayer.java
code. But now I will not create a thread, but I will be using the UI
thread itself (JNI Layer) to send "start", "stop", "pause" etc
commands to the mediaplayer class in cpp. Now both Audio-Video is
playing fine.

Why there is a difference in behaviour in these 2 cases? Is it because
there is an extra thread in between the Java and the MediaPlayer
service? Even if there is thread why the difference in behaviour?

Kindly provide the reasons and the architecture used for rendering
frames.

Thanks in advance....
Sandeep

-- 

3. Siap Dikirim : Buku "membuat aplikasi untuk Android"

4. to get/generate nonce. error in random, getBytes Options

5. android rfkill problems - again

6. request: Tutor install NDRIVE n link files required

7. Matrix broadband(pejing yopie)