Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-18-2012, 09:44 AM   #1
ramble
Junior Member
ramble began at the beginning.
 
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
ramble is offline   Reply With Quote
Old 02-18-2012, 08:09 PM   #2
goldencore
Enthusiast
goldencore began at the beginning.
 
Posts: 29
Karma: 14
Join Date: Jan 2011
Device: none
There is an app entry called "MediaScanner" on my rooted T1. That might do the trick.
goldencore is offline   Reply With Quote
Old 02-19-2012, 06:07 AM   #3
ramble
Junior Member
ramble began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2012
Device: PRS-T1
Thumbs up

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>
Attached Files
File Type: zip MediaRefresh.zip (15.8 KB, 77 views)
ramble is offline   Reply With Quote
Reply

Tags
home, reboot, refresh, sync

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:22 AM.


MobileRead.com is a privately owned, operated and funded community.