update:2019.04.22

fix:增加绑定确认
add:
This commit is contained in:
2020-04-22 18:23:50 +08:00
parent ecf5aa3d1c
commit f037e1cb12
17 changed files with 766 additions and 31 deletions

View File

@@ -0,0 +1,19 @@
package com.info.sn.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class APKinstallReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
// TODO: This method is called when the BroadcastReceiver is receiving
// an Intent broadcast.
if (intent.getAction().equals(Intent.ACTION_PACKAGE_ADDED) || intent.getAction().equals(Intent.ACTION_PACKAGE_REPLACED)) {
String packageName = intent.getDataString().replace("package:", "");
}
}
}