![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mars视频讲解
啊啊哎哎哎
专注于互联网发展
展开
-
intent作用
一个intent包含的一组信息: component name action data category extras---key-value---额外的数据 flags 第一种: 发送方: Intent intent=new Intent(this,other.class); intent.putextras("other","123"); startactivity(i原创 2013-08-13 16:00:10 · 804 阅读 · 0 评论 -
activity的生命周期
7个生命周期的函数: oncreate onstart onrestart onresume onpause onstop ondestroy 启动一个新的activity的依次调用: oncreate onstart onresume 启动第二个activity调用:onpause oncreate onstart onresume onst原创 2013-08-13 16:54:32 · 621 阅读 · 0 评论 -
handle的用法
一个activity是一个线程,,那么下载文件时间长和处理大量的数据可以独自有个线程。。。消息队列handle Handle handle=new Handle(); Runnable updateThread=new Runnable(){ public void run(){ handle.postDelayed(updateThread,3000) }} 在oncli原创 2013-08-14 11:29:38 · 748 阅读 · 0 评论