标题: [解决] Use putExtra to pass Object value for PendingIntent Activity [打印本页] 作者: 资讯王 时间: 2014-4-13 17:06 标题: [解决] Use putExtra to pass Object value for PendingIntent Activity Android - Use putExtra to pass Object value for PendingIntent Notification Activity
把object传到另个Activity form
1. Add implements Serializable in your class
public class Article implements Serializable { }
复制代码
2. Create object for passing
Intent notificationIntent = new Intent(this,NotifyMessage.class);