Your blog blocked in my country (all blogspot blogs blocked)
how can i use onActivityResult class in construct cordova plugin
Like this:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
try {
if (requestCode == DeveloperInterface.TAPSELL_DIRECT_ADD_REQUEST_CODE) {
System.err
.println(data
.hasExtra(DeveloperInterface.TAPSELL_DIRECT_CONNECTED_RESPONSE));
System.err
.println(data
.hasExtra(DeveloperInterface.TAPSELL_DIRECT_AVAILABLE_RESPONSE));
System.err
.println(data
.hasExtra(DeveloperInterface.TAPSELL_DIRECT_AWARD_RESPONSE));
System.err
.println(data
.getBooleanExtra(
DeveloperInterface.TAPSELL_DIRECT_CONNECTED_RESPONSE, false));
System.err
.println(data
.getBooleanExtra(
DeveloperInterface.TAPSELL_DIRECT_AVAILABLE_RESPONSE, false));
System.err
.println(data
.getIntExtra(
DeveloperInterface.TAPSELL_DIRECT_AWARD_RESPONSE, -1));
}
} catch (Exception e) {
e.printStackTrace();
}
}[/code:2szf80nn]
Look for a plugin which implements that function. About my blocked blog, check your messages, i sent you the download link for the device id plugin.