在创建一个Dialog时,发生的错误: Unable to add window -- token null is not for an application
2016-03-21 10:23
330 查看
在创建一个Dialog时,发生的错误:
Unable to add window -- token null is not for an application
不能用getAPplicationContext(),必须要有指定的activity
Unable to add window -- token null is not for an application
不能用getAPplicationContext(),必须要有指定的activity
相关文章推荐
- swift -- 适配准备
- Android定位
- android坐标系详解
- ios点击手势学习笔记
- android之ScrollView里嵌套ListView(转)
- 了解mach-o文件结构
- iOS 数组排序
- iOS 长按手势
- iOS 录音
- 数据转换的总结
- iOS 声音播放
- android列表视图切换:GridView和ListView两种方式来显示一个列表
- iOS 上拉刷新 下拉加载
- iOS基础控件
- iOS tableview headview
- android开发-Listview中显示不同的视图布局
- iOS label 根据内容自动布局
- Android音频系统之AudioTrack(二)
- Android开发库VUtils之圆形头像CircleImageView
- Android Studio上方便使用butterknife注解框架的偷懒插件Android Butterknife Zelezny