Back to Top

Install to SD --- ***Even if it means feature loss***

6 posts / 0 new
Last post
Nightshade
Offline
Last seen: 3 years 11 months ago
Joined: 02/09/2011 - 13:39
Install to SD --- ***Even if it means feature loss***

Due to limited memory on many Android devices, an option to install Doggcatcher to SD would be GREATLY appreciated.

I realize and understand that I would be required to be give up some features such as the Widget (which I don't use anyway), but given a choice between increased internal memory and loss of some Doggcatcher features, I would gladly and with a smile on my face give up the internal memory dependent features.

Truth be told, as much as I love Doggcatcher, the inability to install it to the SD card has me looking elsewhere for other comparable products.

eric
Offline
Last seen: 1 year 9 months ago
Joined: 11/06/2008 - 22:02
I wish I could do this, but

I wish I could do this, but while I haven't tried, the google list many things that will be broken as a result of this and it would most likely render DC dead. It relies heavily on the DC service which stores all the feeds, and services aren't supported when installed to the sd card. This is really the big one. There are some other things that would be problematic like the receivers that get notified when any android events occur. DC responds to these in different circumstances and these also are not supported.

There is a faq that lists what DC uses that wouldn't work and also a link to the relevant google docs.

http://www.doggcatcher.com/node/1332

I might do a little tinkering to see exactly how this breaks, but my guess is that when the sd card gets unmounted, the app would die.

Is your DC installation large enough to be a problem? I've got 20 or so feeds and my install is about 4mb. If so you could decrease the number of items per feed (if you have it set larger than default). That's where most of the size comes from.

ikajaste
Offline
Last seen: 8 years 10 months ago
Joined: 09/19/2011 - 06:12
Alternative for tinkerers: Link2SD

As the page eric linked to (node 1332) says, moving an app to SD only moves it's APK file, which for DC is 1.5 MB. There's a bit of other stuff that will remain in internal storage regardless.

For example my DC uses total of 5,32 MB. Out of that, APK is 1.55 MB - that's the only part you would regain. The other stuff is Dex (2.06 MB) and Data (1.60 MB).

In case you have a rooted phone and are willing to tinker a bit to create a secondary partition on your SD card, then there's an alternative to the regular "Install to SD": A little tool called Link2SD. It can move any app to the SD card by creating a "symlink" that will fool Android into thinking the program is still on the internal storage, even though it isn't. Removing the SD card after such operation will of course cause all kinds of breaking, but for folks who always keep their card connected, this is a great hack!

What's even better, Link2SD doesn't move just the APK file, it moves Dex too, so in my case I would regain 3.61 MB by using it. It doesn't seem to be able to move the Data part, for some reason.

So if you're into tinkering a bit, that's definately something to look into with a device that has low internal memory.

eric
Offline
Last seen: 1 year 9 months ago
Joined: 11/06/2008 - 22:02
Great info, I wasn't aware

Great info, I wasn't aware that the apk was the only thing moved to the sd card. Thanks for posting it.

ikajaste
Offline
Last seen: 8 years 10 months ago
Joined: 09/19/2011 - 06:12
AFAIK it's also possible to

AFAIK it's also possible to clear the Dex (dalvik cache) with some tools. But it keeps growing back, so easier to just keep it linked to the SD where's plenty of space for it (probably speeds starting up the app a bit too, since it is a cache file after all).

Kinda silly that Android keeps storing cache files on the space-limited internal storage. (Though I hear this might improve with Android 4.0 - not sure.)

GAVollink
Offline
Last seen: 10 years 2 months ago
Joined: 11/21/2011 - 14:51
4MB really IS big.

I think we all (especially those of us who have older phones) expect and understand that if the SD card is unmounted (for whatever reason) that applications that have been installed to the SD card will stop working. I also don't think anybody is saying that this should be the application's default action. Everything else, according to the App Install Location link in the FAQ seems like something that can be restored after the application is restarted (assuming "register for the ACTION_EXTERNAL_APPLICATIONS_AVAILABLE broadcast Intent", it can even restart itself).

It does mean that it needs to expect that boot time isn't the only time it needs to restore alarms from stored settings.

I have a 17 month old MyTouch 3G Slide, 256MB of "internal" memory. However, because of the footprint of installed items, updates to those items ALSO cannot be put on an SD card. Which means that with just the base phone, and the updates to Google Maps, etc, etc.