[android-developers] Intercept calls to library methods

2010-02-11 Thread pieter
Hello everyone,

I read somewhere that in Android it's possible to write components
that basically sit between applications and the Android library
classes. Using some kind of interception framework, it would be
possible to intercept calls from applications to the Android
libraries. This would be perfect for something I'm working on, but I'm
having trouble finding the interception mechanism. Can someone help me
with this? How can I intercept (Android library) method calls?

Thanks!
Pieter

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


Re: [android-developers] Intercept calls to library methods

2010-02-11 Thread Mark Murphy
 I read somewhere that in Android it's possible to write components
 that basically sit between applications and the Android library
 classes. Using some kind of interception framework, it would be
 possible to intercept calls from applications to the Android
 libraries. This would be perfect for something I'm working on, but I'm
 having trouble finding the interception mechanism. Can someone help me
 with this? How can I intercept (Android library) method calls?

You can't from an SDK application, sorry. That would be a security hole of
the highest magnitude.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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