Yes, the flags have scary names as a warning, but using them with
createPackageContext definitely does work (is 4.0.2 recent enough?)


13 февраля 2012 г. 17:19 пользователь Kristopher Micinski
<[email protected]> написал:
> On Mon, Feb 13, 2012 at 3:34 AM, Doug <[email protected]> wrote:
>> On Feb 11, 7:53 am, Kristopher Micinski <[email protected]>
>> wrote:
>>> I would hope that main apps can't reach inside other apps to access
>>> their code!  In any case, even if you got an app's bytecode, there's
>>> not really a way to take arbitrary bytecode and execute it on the vm.
>>> Though I think that you probably meant through an abstraction layer
>>> such as AIDL or something..
>>
>> No, I do mean literally load another application's classes directly.
>>
>> http://groups.google.com/group/android-developers/browse_thread/thread/261ce958a8599bfc
>>
>> Doug
>
>
> Doug,
>
> I understand exactly what you said, and I still would be scared to
> randomly load code, :-)
>
> "
> Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY);
> "
>
> *That* sounds like a good idea...
>
> kris
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to