Friday, June 10, 2011

[android-developers] Loading a Class from APK with the permissions in that apk

Hi,
We are building a framework as a service and the framework uses
the datasources to get data from different sources like Facebook,
GMail, Calls, GPS, Battery Information etc. So the development of
framework is separate and the development of datasources is seperate.

Whenever there is a need for data in the framework, the datasources
class is dynamically loaded from the APK.

So the problem is with the permissions. The permissions in framework
is different from the permission defined in datasources.apk

When I load the class from datasources APK in the framework project I
am getting permission denied error for sources dependent on GPS,
Battery Information.

Is there any way to load the required permissions from the datasources
APK in the framework.

Regards,
Mahender

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