Android 使用 RemoteViews 发送自定义通知 ,遇到 Couldn't expand RemoteViews问题总结

时间:2014-08-18 15:52:32   收藏:0   阅读:477

在RemoteViews这种调用方式中,你只能使用以下几种界面组件:
Layout:
    FrameLayout, LinearLayout, RelativeLayout

Component:
  AnalogClock, Button, Chronometer, ImageButton, ImageView, ProgressBar, TextView, ViewFlipper, ListView, GridView, StackView, AdapterViewFlipper

SO,当你使用了不是上面的组件的时候,可能会遇到这个问题,导致发送通知的时候程序报错。

Android 使用 RemoteViews 发送自定义通知 ,遇到 Couldn't expand RemoteViews问题总结,布布扣,bubuko.com

原文:http://www.cnblogs.com/Free-Thinker/p/3919489.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!