It would be nice to have something like an installation package that
contains the apk as well as some files that are only needed during
installation time. Like this you could deploy e.g. your sqlite db file
with some initial content or some files that maybe should be stored
inflated on the sdcard.

-- Urs

On Tue, Dec 16, 2008 at 11:33 PM, jarkman <jark...@gmail.com> wrote:
>
> Thanks for the confirmation. Still seems like a shame... :-)
>
> R.
>
>
> On Dec 16, 5:25 pm, "Dianne Hackborn" <hack...@android.com> wrote:
>> The .apk is read-only, and can not be modified.
>>
>>
>>
>> On Tue, Dec 16, 2008 at 12:49 AM, jarkman <jark...@gmail.com> wrote:
>>
>> > We've got a similar issue, with a bunch of files that we extract from
>> > the apk on first run and will never need in the apk again.
>>
>> > It is a terrible waste of space to leave them there. Shame.
>>
>> > Richard
>>
>> > On Dec 15, 9:16 pm, Ralf <ralfo...@gmail.com> wrote:
>> > > You can think of the the APK as being a read-only zip file, so I don't
>> > > think you can remove anything from it. You don't really need to remove
>> > > your lib from the apk anyway, do you?
>>
>> > > R/
>>
>> > > On Mon, Dec 15, 2008 at 5:50 AM, shuoshuo <wzshuos...@gmail.com> wrote:
>>
>> > > > I have made an application, it uses a C++ shared library, I want
>> > > > deploy it by including it with the .apk package, at run time, copy it
>> > > > from the assets to a file, then remove it from assets in apk, how
>> > > > could I remove a file from assets in apk at runtime? or Is there any
>> > > > other alternative to deploy a C++ shared library?
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> hack...@android.com
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support.  All such questions should be posted on public
>> forums, where I and others can see and answer them.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to