Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,424 Members 36,447 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Xposed | Hook GPS and Phone calls

Tip us?
 
shnapsi
Old
(Last edited by shnapsi; 21st August 2014 at 07:31 AM.) Reason: adding email notification
#1  
Junior Member - OP
Thanks Meter 0
Posts: 23
Join Date: Aug 2014
Default [Q] Xposed | Hook GPS and Phone calls

Hello,

I want to create an xposed module that blocks GPS access and outgoing phone calls for specific apps.
I can't find the best methods to hook to get these 2 actions.

Any help will be appreciated.


Thanks,
Gidi
 
GermainZ
Old
#2  
GermainZ's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 6,398
Posts: 5,476
Join Date: Aug 2012
To be honest, that's where a lot of the work goes when it comes to writing a module: what to hook. You need to decide that by yourself, after checking the AOSP source code and testing.

The only advice I can give you without doing that myself is to take a look at XPrivacy's source code, and see where it's being blocked there.
The Following User Says Thank You to GermainZ For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes