Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package tk.khokho.broadrecievr;
- import android.content.BroadcastReceiver;
- import android.content.Context;
- import android.content.Intent;
- import android.widget.Toast;
- public class RecieveBroadcast extends BroadcastReceiver {
- public RecieveBroadcast() {
- }
- @Override
- public void onReceive(Context context, Intent intent) {
- // TODO: This method is called when the BroadcastReceiver is receiving
- // an Intent broadcast.
- Toast.makeText(context, "Broadcast has been recieved", Toast.LENGTH_LONG).show();
- // throw new UnsupportedOperationException("Not yet implemented");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement