Generally, you don't.  Android isn't Windows, and does some things
differently than Windows.  One of those is that application files stay
packed in their .apk, and there are APIs to retrieve the data from the .apk.
 There are only very few situations where you should ever unpack the files
from the .apk, and in those cases you will need to do that when your app
starts and do this itself.

On Tue, Aug 9, 2011 at 11:42 PM, s.rawat <imsaurabhra...@gmail.com> wrote:

> HI,
> How we can make the apk(on installing) copy the application files on the
> device .Do we have invoke the script from the application to copy
> application files(test files,read me, release notes, data files) or is there
> any other way for example any default folder  we have to put the files in
> and while installing the apk those files will get copied.
> Also is there a way to provide the versioning  to the apk so that when we
> make some changes to the apk and install it it will incrementally update the
> existing one.
> What other benefits can there be for providing the versioning information
> embedded inside the apk.
>
> if any one has developed for windows , they can understand the versioning
> and application file copying(which we used to put under the file system)
> which on installing the application will copy the contents on the program
> files /application directory.
>
> PLz dont frown on me if I am mentioning windows here in android context, i
> know both are different in all sense..
>
> Rgds,
> Saurabh
>
> "..pain is temporary.....quitting lasts forever......"
>
>  --
> 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




-- 
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, and so won't reply to such e-mails.  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