Ahmed Mirza
Results
1
comments of
Ahmed Mirza
@Override protected void onResume() { super.onResume(); NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this); Intent intent = new Intent(this, getClass()); intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); PendingIntent pendingIntent = PendingIntent.getActivities(this, 0, new Intent[] { intent }, 0); if (nfcAdapter...