{"id":485,"date":"2015-10-18T15:31:52","date_gmt":"2015-10-18T15:31:52","guid":{"rendered":"http:\/\/installingcats.com\/?p=485"},"modified":"2015-10-18T15:31:52","modified_gmt":"2015-10-18T15:31:52","slug":"pendingintent-requestcode-getbroadcast-useless-doesnt-work","status":"publish","type":"post","link":"https:\/\/installingcats.com\/2015\/10\/18\/pendingintent-requestcode-getbroadcast-useless-doesnt-work\/","title":{"rendered":"PendingIntent requestCode getBroadcast useless doesn’t work"},"content":{"rendered":"
Android PendingIntent requestcode on getBroadcast() method is useless. \u00a0It won’t be used at all for making a\u00a0unique PendingIntent.<\/p>\n
Use other fields such as Data (Intent.setData(“someStringPerhapsInteger.valueOf(RequestCode)”)) to make your PendingIntent unique for use with AlarmManager for Notifications for example.<\/p>\n