Re: [android-developers] File not found but it's part of the apk
On Fri, Jan 6, 2012 at 12:47 PM, Leigh McRae
<leigh.mcrae@lonedwarfgames.com> wrote:
> It's not a problem that has been around since the first release. I'm
> starting to think it's been around since I added support to install to SD
> card. Hmmm, I should see if I can log whether the game is installed on an
> SD card.
That would be useful to know, though I'm not sure there's a way to
tell that at runtime. sourceDir on ApplicationInfo, perhaps.
> I would bet that the initial install does a verification but the launcher
> likely doesn't do it every time. So if the card is flaky it could still
> install and fail later.
Agreed.
> You think this is overkill? I have a game engine so it could be done once
> in my tools.
It's only overkill if it doesn't help.
I'm going to be in a similar situation in a few months (I hope),
distributing APKs with large assets that should allow install-to-SD
for older devices. If you decide to go down the checksum path, drop me
a line off-list, and perhaps we can collaborate on an open source
solution, if you're up for that.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training in NYC: http://marakana.com/training/android/
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home