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

3 posts
Thanks Meter: 0
 
By ftips, Junior Member on 4th July 2014, 03:12 AM
Post Reply Subscribe to Thread Email Thread
How to use XposedBridgeApi to modify the mobile phone resolution
 
 
4th July 2014, 10:19 PM |#2  
GermainZ's Avatar
Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 8,328
 
More
Check App Setting's source code.
6th July 2014, 12:41 AM |#3  
ftips's Avatar
OP Junior Member
Thanks Meter: 0
 
More
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, 04:49 AM |#4  
ftips's Avatar
OP Junior Member
Thanks Meter: 0
 
More
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