|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
|
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
|
|
|
|
|
|
#2 |
|
Enthusiast
![]() Posts: 51
Karma: 14
Join Date: Jan 2011
Location: Germany
Device: PW 2 FW 5.4.5.1 (JB)
|
There is an app entry called "MediaScanner" on my rooted T1. That might do the trick.
|
|
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
|
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" />
<intentAction>android.intent.action.MAIN</intentAction>
<intentCategory>android.intent.category.DEFAULT</intentCategory>
Code:
<customAppDefinition name="app_dropbox" title="Dropsync">
<iconNormal>ic_dropbox.png</iconNormal>
<iconPressed>ic_dropbox_pressed.png</iconPressed>
<componentName package="com.ttxapps.dropsync" class="com.ttxapps.dropsync.SyncNowShortcutActivity" />
<intentAction>android.intent.action.MAIN</intentAction>
<intentCategory>android.intent.category.LAUNCHER</intentCategory>
</customAppDefinition>
|
|
|
|
![]() |
| Tags |
| home, reboot, refresh, sync |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-950 Where did my booklist go? | Arpadams | Sony Reader Dev Corner | 0 | 08-14-2011 01:00 PM |
| booklist refresh | fbdev | Kindle Developer's Corner | 2 | 08-01-2011 01:08 PM |
| Booklist by author | huebi | Sigil | 2 | 12-24-2010 07:54 AM |
| How to generate a portable booklist? | terencek | Amazon Kindle | 1 | 10-07-2010 10:26 AM |
| Classic How to go back from book being read to the booklist? | bthoven | Barnes & Noble NOOK | 1 | 01-21-2010 05:23 AM |