View Single Post
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