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. When the dev phone will be available in Greece

I currently develop MonolithAndroid, a 3D game that uses openGL/ES. I
develop my application on the emulator, but users that tried my
application have experienced problems, like crashes and black screens
not replicated on my emulator setup. Of course, the solution to this
problem is to test my game on a real phone. The problem is, the dev
phone is not yet available in Greece where I live. I visit the android
market every day, i click on the Buy button and I get to the point
where I select the shipping country. Guess what, Greece is not in the
list! There are fellow EU member countries like Germany, UK, France
etc. I can understand that android phone general availability may be
limited for some countries, but I think that that cannot apply to
developer phones, because it inhibits us from delivering competitive
and polished apps. So I want to know when and if the dev phone will be
available in my country. Any ideas?

Tasos Kleisas
--~--~---------~--~----~------------~-------~--~----~

2. Zip inflate failed error

Hi everyone,

While booting,  Android is segfaulting when it scans /system/app for
 most of .apk present in that dir. Each time it segfaults in a similar
fashion; e.g.:

W/zipro   ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e
aIn=1101 nOut=0x1
ac708 aOut=3936)

The error is coming out of frameworks/base/libs/utils/ZipFileRO.cpp:
615.

See below for more info from logcat.

Plese share your Ideas, suggestions on how to fix this?

D/PackageManager( 1555): Scanning app dir /system/app
W/zipro   ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e
aIn=1101 nOut=0x1
ac708 aOut=3936)
I/DEBUG   ( 1536): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *
**
I/DEBUG   ( 1536): Build fingerprint: 'generic/generic/generic/:1.0/
TC3/eng.kish
orl.20090123.180414:eng/test-keys'
I/DEBUG   ( 1536): pid: 1555, tid: 1570  >>> system_server <<<
I/DEBUG   ( 1536): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG   ( 1536):  r0 001ac708  r1 00000000  r2 00000f60  r3 00000018
I/DEBUG   ( 1536):  r4 00000001  r5 001b0740  r6 00000000  r7 00000f60
I/DEBUG   ( 1536):  r8 45bffda0  r9 41016d64  10 41016d50  fp 00000001
I/DEBUG   ( 1536):  ip 80000000  sp 45bffd30  lr a9d21f15  pc
afe0ce00  cpsr a00
00010
I/DEBUG   ( 1536):          #00  pc afe0ce00  /system/lib/libc.so
I/DEBUG   ( 1536):          #01  pc a9d21f12  /system/lib/libutils.so
I/DEBUG   ( 1536):          #02  pc ad333028  /system/lib/
libandroid_runtime.so
I/DEBUG   ( 1536):          #03  pc ad00d9f4  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #04  pc ad04123e  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #05  pc ad012748  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #06  pc ad02a92c  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #07  pc ad0169d0  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #08  pc ad051f40  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #09  pc ad051f60  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #10  pc ad047668  /system/lib/libdvm.so
I/DEBUG   ( 1536):          #11  pc afe0ed98  /system/lib/libc.so
I/DEBUG   ( 1536):          #12  pc afe0e90c  /system/lib/libc.so
I/DEBUG   ( 1536): stack:
I/DEBUG   ( 1536):     45bffcf0  00000f60
I/DEBUG   ( 1536):     45bffcf4  af90a97c  /system/lib/libz.so
I/DEBUG   ( 1536):     45bffcf8  00000000
I/DEBUG   ( 1536):     45bffcfc  a9d2898f  /system/lib/libutils.so
I/DEBUG   ( 1536):     45bffd00  4101910e
I/DEBUG   ( 1536):     45bffd04  0000044d
I/DEBUG   ( 1536):     45bffd08  001ac708  [heap]
I/DEBUG   ( 1536):     45bffd0c  afe0ddd8  /system/lib/libc.so
I/DEBUG   ( 1536):     45bffd10  00000f60
I/DEBUG   ( 1536):     45bffd14  afe0ddd8  /system/lib/libc.so
I/DEBUG   ( 1536):     45bffd18  001ac708  [heap]
I/DEBUG   ( 1536):     45bffd1c  afe0e16c  /system/lib/libc.so
I/DEBUG   ( 1536):     45bffd20  001ac708  [heap]
I/DEBUG   ( 1536):     45bffd24  000001b4
I/DEBUG   ( 1536):     45bffd28  df002777
I/DEBUG   ( 1536):     45bffd2c  e3a070ad
I/DEBUG   ( 1536): #00 45bffd30  001b0740  [heap]
I/DEBUG   ( 1536):     45bffd34  00000000
I/DEBUG   ( 1536):     45bffd38  00000f60
I/DEBUG   ( 1536):     45bffd3c  45bffda0
I/DEBUG   ( 1536):     45bffd40  41016d64
I/DEBUG   ( 1536):     45bffd44  41016d50
I/DEBUG   ( 1536):     45bffd48  00000001
I/DEBUG   ( 1536):     45bffd4c  001ac708  [heap]
I/DEBUG   ( 1536):     45bffd50  00000001
I/DEBUG   ( 1536):     45bffd54  a9d21f15  /system/lib/libutils.so
I/DEBUG   ( 1536): #01 45bffd58  001b0740  [heap]
I/DEBUG   ( 1536):     45bffd5c  afd01939  /system/lib/libstdc++.so
I/DEBUG   ( 1536):     45bffd60  a9d45618
I/DEBUG   ( 1536):     45bffd64  a9d1c391  /system/lib/libutils.so
I/DEBUG   ( 1536):     45bffd68  001b0618  [heap]
I/DEBUG   ( 1536):     45bffd6c  00000000
I/DEBUG   ( 1536):     45bffd70  001b0618  [heap]
I/DEBUG   ( 1536):     45bffd74  00088ae8  [heap]
I/DEBUG   ( 1536):     45bffd78  001b0740  [heap]
I/DEBUG   ( 1536):     45bffd7c  ad33302b  /system/lib/
libandroid_runtime.so
I/DEBUG   ( 1536): de{*filter*}d committing suicide to free the zombie!
I/DEBUG   ( 1584): de{*filter*}d: Jan 23 2009 19:14:01
E/installd( 1543): eof
E/installd( 1543): failed to read size
I/installd( 1543): closing connection

Regards,
Krish






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

3. is there a way to access the install date of an application?

4. what display resolution to expect?

5. Rendering the G1 screen on a computer screen via VNC software?

6. Layout editing Eclipse refreshes with every key pressed event... a bug?

7. How to launch Market to point to specific application