Mark,

The application will be residing in the /sdcard/ and I am loading it
dynamically using PathClassLoader API.
and using Method.invoke() function I am invoking the method residing
in that class.

Yes it may violate the model but I need it in my application

>>If not, are both applications executing as the same user ID and in the
>>same process?

  both are different application and I think both have different user
IDs. Is there any way to run both application as the same userID and
in the same process.???

Regards,

Asif
On Apr 17, 6:04 pm, "Mark Murphy" <[email protected]> wrote:
> >    I am calling a method of another .apk file dynamically at runtime
> > in my application. I can execute it successfully if method does not
> > contain any variable which is defined outside of that method.
>
> Are you using remote services?
>
> If not, are both applications executing as the same user ID and in the
> same process?
>
> If not, how are you doing this, since it seems to violate the Android
> security model?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---------~--~----~------------~-------~--~----~
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