Re: [android-developers] Why froyo copies package with index -1.apk to /data/app

2010-11-29 Thread Dianne Hackborn
Because it simplified the implementation. You should *never* be relying on absolute paths. There is an API to get the path to your .apk -- Context.getApplicationInfo(). On Mon, Nov 29, 2010 at 8:23 AM, Mr Pinguin wrote: > since 2.2 i have the problem that i see froyo copies > com.android.myapp.

[android-developers] Why froyo copies package with index -1.apk to /data/app

2010-11-29 Thread Mr Pinguin
since 2.2 i have the problem that i see froyo copies com.android.myapp.apk as com.android.myapp-1.apk to /data/app after installation. So during first start , my app searches com.android.myapp.apk to unpack libraries, but this file of course doesn't exist. I would like to know why ? And how can i