顯示具有 PendingIntent 標籤的文章。 顯示所有文章
顯示具有 PendingIntent 標籤的文章。 顯示所有文章

2016年3月9日 星期三

PendingIntent.getBroadcast request code,problem

PendingIntent leftpendingIntent = PendingIntent.getBroadcast(context, request code, leftintent, 0);

if for the intent,has the same action,and same request code,android system may thaink that the Broadcast is the same and send the old Brodcast,although the putExtra method,put other thing.