240 发简信
IP属地:河北
  • Android中,在子线程使用Toast会报错?

    在子线程中使用Toast抛出异常,提示错误显示:Can't create handler inside thread that has not ...

  • SharedPreference.Editor的apply和commit 区别

    在android 中存储数据时经常用SharedPreference, 并且在提交数据时一直用的是Editor的commit方法, 今天无意了看...

  • React Native(一)环境搭建与Hello World(Windows/Mac)

    http://liuwangshu.cn/rn/primer/1-helloworld.html

  • React-Native Android真机测试 -unable to load script from assets 'index.android bundle'...

    在android手机上运行react-native项目时 报错:unable to load script from assets 'index...

  • CardView的简单使用

    环境配置 一、在Eclipse的环境中配置同上篇文章,引入android.support.v7包进行使用。参照文章:RecyclerView的简...

  • Resize,w 360,h 240
    SoftReference 为什么被 Android “放弃”

    JDK 中除了默认的 Strong Reference 之外,还有三个其他的 Reference: WeakReference SoftRefe...

  • Android中事件传递机制的总结

    Android中事件传递机制的总结 http://www.cnblogs.com/smyhvae/p/4802274.html Android ...

  • Android 进程间通信的几种实现方式

    主要有4种方式: 这4种方式正好对应于android系统中4种应用程序组件:Activity、Content Provider、Broadcas...

  • anr异常、oom异常、bitmap、ui卡顿

    一、anr异常 1 概述 a)超过5秒,广播是10秒。程序无响应对话框。 b)在主线程做了耗时操作。 c)Application Not Res...