PendingIntent requestCode getBroadcast useless doesn’t work

By | October 18, 2015

Android PendingIntent requestcode on getBroadcast() method is useless.  It won’t be used at all for making a unique PendingIntent.

Use other fields such as Data (Intent.setData(“someStringPerhapsInteger.valueOf(RequestCode)”)) to make your PendingIntent unique for use with AlarmManager for Notifications for example.

http://stackoverflow.com/a/33203752/2301224


Related Articles: