Tuesday, November 3, 2009

[android-developers] Re: Does DexClassLoader works correctly?

On Nov 1, 3:54 am, mongd <mongdl...@gmail.com> wrote:
> So, do you mean if I use a different path for the 2nd parameter,
> DexClassLoader should work properly, right?
> How about "data/app-private"? Is it ok to use that path?
> I tried the above one, but it didn't work... T^T

/data/app-private is:

drwxrwx--x system system 2009-11-03 10:18 app-private

so no, that won't work. You need your application's own data area,
e.g. /data/data/com.mything.wahoo/. I believe you can get the
directory from the "context" object.

--
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

No comments:

Post a Comment