Add music results to search
Hi, in my opinion music should be added to results. The launcher does anything one can expect except music results.
This is actually possible by using Android's android.provider.MediaStore; it's just not very straight-forward and (big surprise) mostly undocumented.
Since I couldn't find a ready-to-use example of this, I remembered the Vanilla Music music player, that does something very similar. Particularly the ch.blinklight.android.vanilla.MediaUtils ~~code dump~~ class looks promising: The buildMediaQuery method shows how to construct a cutom query for A/V media entries, the queryResolver method shows how to submit it.
@Neamar Is this something we actually want in KISS (off by default ofc)?
Hum... good point. I think it's pretty lightweight, and as you say disabling it by default seems a sane option.
If you want to have a try :)
How reliable it the MediaStore API however? Is it working all the way down to Android v2.3?
Not my needs, but it looks interesting. I'll try :)
@ilmich Feel free! I wasn't planning on approaching this seriously for some time, so definitely go ahead! :smile_cat: