On Tue, Jun 12, 2012 at 1:41 AM, Chris Stratton <cs07...@gmail.com> wrote:
> On Jun 11, 2:30 pm, TreKing <treking...@gmail.com> wrote:
>> On Mon, Jun 11, 2012 at 2:11 AM, Reddy <devireddy....@gmail.com> wrote:
>> > I have a requirement that i need to download a jar file dynamically at
>> > runtime and use a function present in the jar.
>>
>> I would expect that this would not be possible, for what should be obvious
>> security concerns.
>
> It would be extremely difficult to prevent an application from
> executing externally-obtained native code, and as a result there's not
> really any reason to go to great lengths to make it impossible to do
> so with dalvik code. How tricky it is to do this with dalvik code is a
> valid question, but it is probably possible.
>

Hmm... sorry, I'm not sure I understand what you're saying?

It seems easy to do this, you can't inject code into the vm
(especially native code), without using something like a
DexClassLoader, basically.

Do you instead mean that there are necessary situations when this
should be provided?   (I think I buy that more, and it fits with the
rest of what you're saying better.)

Kris

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