filipst / hackerskeyboard

Automatically exported from code.google.com/p/hackerskeyboard
0 stars 0 forks source link

RFE: Enable install to SD card #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install app
2. Go to "Settings > Manage Applications", select app
3. Unable to "Move to SD card"

What is the expected output? What do you see instead?

(Desired not expected) Enable copy to SD card.

What version of the product are you using? On what operating system?

Current market version on unmodded HTC Desire.

Please provide any additional information below.

Original issue reported on code.google.com by philhuds...@gmail.com on 11 Oct 2011 at 5:30

GoogleCodeExporter commented 9 years ago
I don't think this is a good idea, it will make the keyboard unavailable while 
the SD card isn't mounted, and can lead to odd errors since running services 
off the SD card isn't recommended.

The main use case I could think of is if you only occasionally use the keyboard 
(for example for ConnectBot), but I'm worried that offering the option will 
cause people to use it inappropriately and then complain about things breaking.

Would this be less of an issue if the APK file were smaller? One thing I'm 
thinking about is removing the en_US dictionary which is currently included in 
the keyboard's APK file by default, and replacing it with a 
separately-downloadable dictionary. This would reduce the APK file size by 
about half. Also, I think the APK contains some unused graphics resources, 
overall I think it should be possible to reduce the size from the current 1.79M 
to 0.75M or so.

Original comment by Klaus.We...@gmail.com on 11 Oct 2011 at 5:59

GoogleCodeExporter commented 9 years ago

Original comment by Klaus.We...@gmail.com on 31 Oct 2011 at 12:12

GoogleCodeExporter commented 9 years ago
Issue 117 has been merged into this issue.

Original comment by Klaus.We...@gmail.com on 5 Dec 2011 at 11:44

GoogleCodeExporter commented 9 years ago
(followup from issue 117)

I agree that it would be useful to have the option to move the app to SD for 
users who only rarely use the keyboard, but I think the user experience is bad 
for users who have it active and aren't aware of the implications of moving it. 
The developer guide specifically recommends that IMEs should not allow 
installing on SD card, and that mounting the phone's USB storage will result in 
a permanent switch back to the default IME until the user manually re-enables 
the other IME again - though I would not be surprised if there were worse side 
effects on vendor-modified builds.

  http://developer.android.com/guide/appendix/install-location.html#ShouldNot

I'm still considering it, but would prefer to have a way to warn users about 
this behavior. It looks as if the ApplicationInfo FLAG_EXTERNAL_STORAGE should 
work for detecting that it was moved to the SD card, so it could look for this 
on launch and show a (one-time) warning dialog.

Original comment by Klaus.We...@gmail.com on 6 Dec 2011 at 10:34