Last active
November 13, 2016 13:29
-
-
Save celiovasconcelos/63eabee9a3f7fc2091b39ed4c8bcb1c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registerReceiver(new BroadcastReceiver() { | |
@Override | |
public void onReceive(Context context, Intent intent) { | |
Uri apkUri = (Uri) intent.getExtras().get("uri"); | |
//enjoy the apk uri | |
//notice this will be called every 30s (more or less). You need to handle this. | |
} | |
}, new IntentFilter(getPackageName() + ".pushlink.APPLY")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment