//从result中获取params参数,然后解析params数据,可以获取open_id。
final String [] strs = new String[2];
if (result != null) {
Set<String> keys = result.keySet();
int index = 0;
for (String key : keys) {
strs[index] = result.getString(key);
Log.e(TAG, key + " = " + result.getString(key));
index ++;
}
SharedPreferences sp = context.getSharedPreferences(
"UUIDnumber", Context.MODE_PRIVATE);
String name = sp.getString("uuid_number", "无值");
HashMap map = new HashMap();
map.put("param", strs[0]);
map.put("sign", strs[1]);