2013年6月18日

android学习笔记(1)

摘要: Android 开发框架 android系统是一个开放且体积庞大的系统,从功能上,将android开发分为移植开发移动电话系统,android应用开发和android系统开发三种。移动移植移动电话系统主要是由移动电话制造者进行开发,其产品就是android手机。公司,个人和团体一般进行android应用程序开发,就是制作各种android应用。android移植开发,主要集中在对于Linux内核中的相关设备驱动程序以及android本地框架中的硬件抽象层借口的开发。应用程序方面:一般而言,一个标准的android应用程序包括Activity、Broadcast Intent Receiver. 阅读全文

posted @ 2013-06-18 20:44 Tmacy 阅读(232) 评论(0) 推荐(0) 编辑

2013年4月16日

Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded (转载)

摘要: Sven Keidel 2009-04-05 09:36:44 EDTThe bug depends on the vim plugin "taglist". The plugin requirers the"Exuberant ctags" wich you can download athttp://ctags.sf.net. After you have unziped it, you have to add the ctags location to the PATH variable, or set the Tlist_Ctags_Cmd va 阅读全文

posted @ 2013-04-16 09:23 Tmacy 阅读(338) 评论(0) 推荐(0) 编辑

2012年11月23日

判断机器的大小端问题

摘要: 思路:联合体union的存放顺序是所有成员都从低地址开始存放,利用该特性就可以轻松地获得了CPU对内存采用Little-endian还是Big-endian模式读写。 1 int checkCPU( ) 2 { 3 { 4 union w 5 { 6 int a; 7 char b; 8 } c; 9 c.a = 1;10 return(c.b ==1);11 }12 }另一种思路:int i... 阅读全文

posted @ 2012-11-23 19:16 Tmacy 阅读(174) 评论(0) 推荐(0) 编辑

2012年11月8日

windows7中找不到管理员账户administrator

摘要: 在windows系统中未激活administrator用户,在cmd命令行下使用:net user administrator /active:yes注销后就能看到administrator用户了 阅读全文

posted @ 2012-11-08 15:32 Tmacy 阅读(267) 评论(0) 推荐(0) 编辑

2012年9月21日

Android: “Path for project must have only one segment”

摘要: I found the cause of the problem: It turns out that when I specified the (only) Launch configuration for the project (Properties > Run/Debug Settings), I forgot to specify the Project nameandroid:theme="@android:style/Theme.Dialog" 将一个Activity显示为能话框模式 android:theme="@android:style/ 阅读全文

posted @ 2012-09-21 20:50 Tmacy 阅读(800) 评论(0) 推荐(0) 编辑

linux ubuntu下配置了多个jdk时,应该如何切换

摘要: 在linux ubuntu系统上,当编译android源码时,因为源码版本的不同所需的jdk的版本也不同,这就需要不断的更换jsk的版本。$ sudo update-alternatives --config java$ sudo update-alternatives --config javac 阅读全文

posted @ 2012-09-21 12:29 Tmacy 阅读(288) 评论(0) 推荐(0) 编辑

导航