android开发,我在我的 activity 插入一个按钮,如果andriod market找不到的话就使用 toast进行提示,在使用的时候出现了一些问题,下面的代码报错了 Context cannot be resolved to a variable
1
2
3
4
5
6
7
Uri
uri = U...
分类:
移动开发 时间:
2014-12-23 10:31:06
阅读次数:
223
在andriod studio目录下找到studio.exe.vmoptions这个文件,用记事本打开,在后面加上-Djava.net.preferIPv4Stack=true-Didea.updates.url=http://dl.google.com/android/studio/patches...
分类:
移动开发 时间:
2014-12-23 01:26:18
阅读次数:
227
andriod提供了Handler 和 Looper 来满足线程间的通信。Handler先进先出原则。Looper类用来管理特定线程内对象之间的消息交换(MessageExchange)。1)Looper: 一个线程可以产生一个Looper对象,由它来管理此线程里的MessageQueue(消息队列...
分类:
其他好文 时间:
2014-12-22 14:25:58
阅读次数:
180
介绍了Andriod开发中SharedPreferences存储方式的基本使用。
分类:
其他好文 时间:
2014-12-22 12:39:08
阅读次数:
220
android开发,我在我的 activity 插入一个按钮,如果andriod market找不到的话就使用 toast进行提示,在使用的时候出现了一些问题,下面的代码报错了 Context cannot be resolved to a variable
1
2
3
4
5
6
7
Uri
uri = U...
分类:
移动开发 时间:
2014-12-21 20:43:45
阅读次数:
195
android开发,我在我的 activity 插入一个按钮,如果andriod market找不到的话就使用 toast进行提示,在使用的时候出现了一些问题,下面的代码报错了Context cannot be resolved to a variable1234567Uri uri = Uri.p...
分类:
移动开发 时间:
2014-12-21 20:34:01
阅读次数:
154
Handler概述andriod提供了Handler 和 Looper 来满足线程间的通信。Handler先进先出原则。Looper类用来管理特定线程内对象之间的消息交换(MessageExchange)。1)Looper: 一个线程可以产生一个Looper对象,由它来管理此线程里的MessageQ...
分类:
其他好文 时间:
2014-12-21 16:35:41
阅读次数:
104
介绍了Andriod开发中标准广播及本地广播的初步使用方法。
分类:
其他好文 时间:
2014-12-21 16:32:31
阅读次数:
127
介绍了Andriod开发中ListView控件的基本使用方法。
分类:
其他好文 时间:
2014-12-20 12:50:26
阅读次数:
174
参考地址:http://blog.sina.com.cn/s/blog_73288dd10101m6xs.html,http://blog.csdn.net/fancsxx/article/details/8811565在Android开发中,定时执行任务的3种实现方法:一、采用Handler与线程...
分类:
其他好文 时间:
2014-12-18 21:58:05
阅读次数:
200