Android
lj1043041006
这个作者很懒,什么都没留下…
展开
-
小米2在Eclipse 调试,要注意下列步骤。
由于自己电脑是个bi,,模拟器我基本上就见过它出来一次。无奈只能使用真机。 -----------------------------------------------------------------------------------------------------------------------------------------------------------------转载 2013-04-23 22:49:28 · 1536 阅读 · 1 评论 -
类名.this 的使用
原文地址:http://blog.csdn.net/nullreference/article/details/7746822 有时候,我们会用到一些内部类和匿名类。当在匿名类中用this时,这个this则指的是匿名类或内部类本身。这时如果我们要使用外部类的方法和变量的话,则应该加上外部类的类名。如下面例子: 例子1 public class A { int i = 1转载 2013-04-24 23:15:45 · 508 阅读 · 0 评论 -
类名.class
---------------------------------这是我学intent里的setClass()的疑惑-------------------------------------------- 原文地址:http://blog.163.com/granite8@126/blog/static/853746082008610102657141/ 类名.class是Clas转载 2013-04-24 23:19:54 · 537 阅读 · 0 评论 -
不同XML文件定义同一个ID
今天上午写程序时发现我在MainActivity.xml和other.xml各写了一句 android:id = "@+id/myTextView" android:layout_width="fill_parent" android:layout_height="wrap_content" /> 当时我打开R.java发现只自动生成了一个myText原创 2013-04-25 14:07:29 · 1430 阅读 · 0 评论 -
xml命名字母必须小写
今天下午新建一个xml文件,名字是:OtherActivity,然后控制台就冒出以下三行: [2013-04-27 14:46:25 - MyActivity1] res\layout\OtherActivity: Invalid file name: must contain only [a-z0-9_.] [2013-04-27 14:46:25 - MyActivity1] res\la原创 2013-04-27 14:50:53 · 1137 阅读 · 0 评论 -
adb server is out of date.
转载自:http://blog.csdn.net/id19870510/article/details/8489486 1:今天调试android的时候发现一个诡异的问题 [html] view plaincopyprint? C:\Users\xxxx>adb start-server adb server is out of date. killing...转载 2013-04-27 16:13:07 · 960 阅读 · 0 评论 -
学android前的一些问题
因为信息安全大赛需要用到安卓,所以最近可能要和安卓大很多交道。小弟以前从未学过安卓,java甚至都不了解。但是我愿意为此花时间。请问一个月可以把安卓学成什么样? 最近一直在配置安卓开发环境,配置完成后,模拟器启动很慢。用一会模拟器就白屏,然后电脑关不了机。但是电脑干其他事情用起来不卡。这个怎么解决。 说点题外话:明天就有校赛,最近都没怎么做,我估计这次挂零。。原创 2013-04-19 18:08:30 · 500 阅读 · 0 评论 -
Android之Adapter用法总结
装载自:http://www.cnblogs.com/devinzhang/archive/2012/01/20/2328334.html 1.概念 Adapter是连接后端数据和前端显示的适配器接口,是数据和UI(View)之间一个重要的纽带。在常见的View(ListView,GridView)等地方都需要用到Adapter。如下图直观的表达了Data、Adapter、Vi转载 2013-05-07 18:56:06 · 569 阅读 · 0 评论