![]() |
Refresh booklist without reboot
Hi,
I sync the books directiory on the sd-card using Dropspace, but when I return to the Home screen the newly added books are not available until I reboot. Is there a way to force it to reload the list? Maybe an Intent that can be called? Thanks :) |
There is an app entry called "MediaScanner" on my rooted T1. That might do the trick.
|
1 Attachment(s)
Thanks that was a good hint :)
There is indeed a broadcast intent that can be called (android.intent.action.MEDIA_MOUNTED), however it has to be broadcasted, so I created the attached small app so that I can have an icon in my readers advanced home-screen. Actually DropSpace only does one-way sync from Reader to Dropbox. However DropSync is capable of a real two-sync. So for future reference here are the relevant lines for the homemod.xml: Code:
<componentName package="de.rumpeltux.mediarefresh" class="de.rumpeltux.mediarefresh.MediaRefresh" />Code:
<customAppDefinition name="app_dropbox" title="Dropsync"> |
| All times are GMT -4. The time now is 06:10 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.