There is an API in cupcake to allow you to perform the dexopt into your own
directory.  That will be available when cupcake is available.

On Thu, Apr 9, 2009 at 2:05 AM, Eborix13 <ebori...@yahoo.com> wrote:

>
> Hi,
>
> We are a team of Android developers and we are facing a serious
> problem for quite some time. Our app (a game client) is designed in
> such a way, that once it's installed it can be used to download games
> from a game server. In order for the downloaded games to work, they
> have to be installed and launched by the client.
>
> The problem is that the client has no write/update rights for the /
> data/dalvik-cache directory, unless we specifically execute the chmod
> 777 command for that directory. Setting the
> android.permission.INSTALL_PACKAGES permission in the client's
> manifest file also doesn't work. After reading countless forums where
> other people have complained about the same problem, we would like to
> know when this issue is going to be resolved. Apparently the code for
> this feature already exists (the DexFile class of the so called
> "cupcake" release) but it hasn't been released yet.
>
> What's more frustrating is that the Android team points out that all
> Android apps are equal, that system apps are equal in rights to custom
> apps. Obviously this is not the case. If the client game app is
> installed in the /system/app the problem described above is solved.
> System apps have the right to dynamically install other apps. Regular
> apps (installed in the /data/data folder) do not.
>
> Is this issue going to be resolved anytime soon? Will the "cupcake"
> DexFile class going to be present in the next release? This is a
> rather urgent problem since we are waiting for this new functionality
> in order to continue development.
>
> Thank you...
>
> >
>


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