#1hi @majdinj in the quote above I could you explain a little better than see what value access$xx in GlobalActions.smali because I'm trying to port it to a galaxy s rom advance please
To match the same "Landroid/content/context" class in both GlobalActions.smali and GlobalActions$99.smali, open GlobalActions.smali, and search for the method that includes this class "Landroid/content/context", usually it is:
Code:
.method static synthetic access$200(Lcom/android/internal/policy/impl/GlobalActions;)Landroid/content/Context;
Now open GlobalActions$99.smali and search for all lines that contains the class "Landroid/content/context" and adjust any "access$xx" to what you have found in GlobalActions.smali
#2
You will need to decompile framework-res.apk and to go to res\values folder and open public.xml and look for:
Code:
<public type="string" name="ok" id="0x0104000a" />
Code:
<public type="string" name="cancel" id="0x01040000" />