Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] How to use XposedBridgeApi to modify the mobile phone resolution

OP ftips

4th July 2014, 04:12 AM   |  #1  
ftips's Avatar
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2013
How to use XposedBridgeApi to modify the mobile phone resolution
4th July 2014, 11:19 PM   |  #2  
GermainZ's Avatar
Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 7,337
 
5,911 posts
Join Date:Joined: Aug 2012
More
Check App Setting's source code.
6th July 2014, 01:41 AM   |  #3  
ftips's Avatar
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2013
I use XposedHelpers.findAndHookMethod (XposedHelpers.findClass ("android.util.DisplayMetrics", "widthPixels", lpparam.classLoader), new XC_MethodHook () {}); error: unable to find "widthPixels" method, view the android.util.DisplayMetrics.class source code, found that "widthPixels" is a field, now that the problem is in the XposedHelpers class, I do not know what methods to achieve.
6th July 2014, 05:49 AM   |  #4  
ftips's Avatar
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2013
I use XposedHelpers.findAndHookMethod (XposedHelpers.findClass ("android.util.DisplayMetrics", "widthPixels", lpparam.classLoader), new XC_MethodHook () {}); error: unable to find "widthPixels" method, view the android.util.DisplayMetrics.class source code, found that "widthPixels" is a field, now that the problem is in the XposedHelpers class, I do not know what methods to achieve.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes