Just as a caveat when dealing with large resources.
I tried to pack a rather large XML resource file with one of my
applications, for which I planned to open a pull parser to then put it into
a DB. Inside the apk the xml file is compressed, but when (implicitly)
uncompressing it for parsing, the process failed because the uncompressed
resource was too large. Chopping the resource into several XML files helped
to overcome this problem and the database is quite responsive (the DB size
after cutting down is now about 500KB, so not too big).

As it was pointed out to me there is only 128MB user space on the G1, so
putting lots of multimedia content onto the built-in memory is also not a
good idea.

I do support the motion that applications should be installable, or part
installable, onto the SD card, e.g. in the form of pre-packaged databases
(or some such) as additional resources. That would for many developers solve
the problem of how to implement lazy-fetching. Not all data resides on the
internet...

Ludwig

2008/10/24 Timmah <[EMAIL PROTECTED]>

>
> Definitely agree, however we want to enable offline installation. We
> are dealing with heavy multimedia content which could take too long to
> download from a phone. In this case, if I am a user, I need to first
> download the app along with multimedia content --> install the
> application --> from the installed application find the multimedia
> content on sd card. Which is probably fine, however I hoped for an
> easier, 1 step installation.
>
> Thanks all for contributing!
>
> On Oct 23, 6:06 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> > Timmahwrote:
> > > 2) Otherwise, packaging an actual app and its data in separate
> > > packages will make installation a confusing for a user 2-step process.
> > > Maybe it's possible to ship one zip file and make the android's
> > > installer do the work of installing an app on the phone and app's data
> > > on SD card ?
> >
> > Why not have the application lazy-fetch the data off the Internet when
> > it is first run?
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> >
> > Android Training on the Ranch! -- Mar 16-20, 2009
> http://www.bignerdranch.com/schedule.shtml
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to