public void callSign(){
List
<
Object
>
list
=
new ArrayList<>(
10
);
list
.add(vm.getJNIEnv());
list
.add(
0
);
DvmObject<?> context
=
vm.resolveClass(
"android/content/Context"
).newObject(null);
list
.add(vm.addLocalObject(context));
StringObject
str
=
new StringObject(vm,
"search"
);
StringObject str2
=
new StringObject(vm,
"{\"addrFilter\":\"1\",\"addressId\":\"0\",\"articleEssay\":\"1\",\"deviceidTail\":\"49\",\"exposedCount\":\"40\",\"frontExpids\":\"F_0_0\",\"gcAreaId\":\"12,904,3024,0\",\"gcLat\":\"0.0\",\"gcLng\":\"0.0\",\"imagesize\":{\"gridImg\":\"532x532\",\"listImg\":\"341x341\",\"longImg\":\"532x681\"},\"insertArticle\":\"1\",\"insertScene\":\"1\",\"insertedCount\":\"2\",\"isCorrect\":\"1\",\"keyword\":\"第一行代码\",\"newMiddleTag\":\"1\",\"newVersion\":\"3\",\"oneBoxMod\":\"1\",\"orignalSearch\":\"1\",\"orignalSelect\":\"1\",\"page\":\"4\",\"pageEntrance\":\"1\",\"pagesize\":\"10\",\"pvid\":\"8cb41ee45f4145d8b5b97d4b9a81ae78\",\"searchVersionCode\":\"9418\",\"secondInsedCount\":\"0\",\"showShopTab\":\"yes\",\"showStoreTab\":\"1\",\"stock\":\"1\",\"ver\":\"108\"}"
);
StringObject str3
=
new StringObject(vm,
"4b9655ae0e4a755a"
);
StringObject str4
=
new StringObject(vm,
"android"
);
StringObject str5
=
new StringObject(vm,
"10.2.0"
);
list
.add(vm.addLocalObject(
str
));
list
.add(vm.addLocalObject(str2));
list
.add(vm.addLocalObject(str3));
list
.add(vm.addLocalObject(str4));
list
.add(vm.addLocalObject(str5));
Number number
=
module.callFunction(emulator,
0x28b4
+
1
,
list
.toArray())[
0
];
String result
=
vm.getObject(number.intValue()).getValue().toString();
System.out.println(
"result: "
+
result);
}