Feed Sponge v1.3.6

Sept. 1, 2010, 7:41 p.m.


Version 1.3.6 is in the market.

Ignore everything below here if you are a new user or have Android 2.1. If you plan on developing Android apps, it is worth a read.

NOTICE: If this is your first update since installing Froyo (Android 2.2) you may lose downloaded files. It does not affect your subscriptions. All of the data is retained except for the actual media files. You can simply re-download the media files at this point but it is really annoying that it happened and I sincerely apologize. There is no other way as this is a counter-documented feature of the Market apparently.

I say counter-documented because I followed the instructions on Google's Android developer site regarding the use of external storage. By reading that site you would conclude that external storage files would go in (external storage)/Android/data/com.caller9.feedsponge/files. You would be horribly mistaken.

On the first install after upgrading to Froyo the Droid Incredible will nuke the entire /mnt/sdcard/Android/data/com.caller9.feedsponge tree. I thought it was a fluke so I called a friend who could reproduce the same behavior on the Motorola Droid. I cannot test this on my development phone because developers cannot install their own apps from the Market. Side-loading with development tools does not cause this issue as it is a bug with the Market itself.

It gets a little bit deeper. For the Motorola Droid this folder tree gets zapped on every single update installation of my app even when I only changed the version number and nothing else. The Incredible only carpet bombs this folder once and leaves it alone on subsequent upgrades. This discrepancy highlights the poor implementation of this un-feature.

I cannot change my app to work around this without releasing an upgrade. Releasing the upgrade causes the deletion. You cannot go backwards in versions in the Market. Catch 22

The workaround is to migrate newly downloaded episodes to (external storage)/data/com.caller9.feedsponge. The Market doesn't know about this folder so it shouldn't nuke it. People unaffected by this bug will never know anything happened as they migrate to the new folder.

If you are running 2.1 upgrade immediately and you will not be affected.

Again, I apologize for the hassle this may cause.


tags( #feedsponge #android )

Code

Various Coding and Scripting Endeavors

Life

Whats going on generally.

Neat Stuff

Things I have found useful or interesting on the internet, for what it is worth.

Follow caller9com on Twitter