Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,909 Members 37,876 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
ftips
Old
#1  
ftips's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Aug 2013
Default [Q] How to use XposedBridgeApi to modify the mobile phone resolution

How to use XposedBridgeApi to modify the mobile phone resolution
 
ftips
Old
#3  
ftips's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: 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.
 
ftips
Old
#4  
ftips's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: 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.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes