1 CDT 是 Eclipse 插件,它将把 Eclipse 转换为功能强大的 C/C++ IDE。 C/C++在Eclipse平台下的开发工具.它提供的功能包括:C/C++编辑器(一些基本的功能:语法高亮显示,代码编辑等),C/C++调试器,C/C++ Launcher,剖析器,内容提示,Make...
分类:
其他好文 时间:
2014-08-10 21:21:20
阅读次数:
281
在前面一篇文章中,我们分析了Android系统在启动时安装应用程序的过程,这些应用程序安装好之后,还须要有一个Home应用程序来负责把它们在桌面上展示出来,在Android系统中,这个默认的Home应用程序就是Launcher了,本文将详细分析Launcher应用程序的启动过程。 Andr...
分类:
移动开发 时间:
2014-08-10 18:23:00
阅读次数:
396
0.添加壁纸:在给系统换默认的壁纸的时候,需要修改一些地方:首先是默认的壁纸,这个是在framework中配置的,所以要修改framework中找到drawable-nodpi(这个文件夹中的内容都不会做缩放处理)中配置的一个叫做default_wallpapaer的壁纸.其次就是替换lanuche...
分类:
其他好文 时间:
2014-08-09 15:47:08
阅读次数:
219
Properly stopping and restarting your activity is an important process in the activity lifecycle that ensures your users perceive that your app is always alive and doesn't lose their progress. There are a few of key scenarios in which your activity is stop...
分类:
移动开发 时间:
2014-08-09 02:36:17
阅读次数:
496
1/打开终端在Dash里搜索。打开Dash,在里面搜索“gnome-terminal”,就可以找到终端应用序。快捷键Ctrl+Alt+L也可以,不过如果是虚拟机的话可能会有问题。如果想以后快捷打开终端的话,可以在终端运行时的图标选择“Lock to Launcher”。2/下载安装包在终端输入:ge...
分类:
其他好文 时间:
2014-08-08 17:44:56
阅读次数:
293
Unlike other programming paradigms in which apps are launched with a main()method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to specific stages of its lifecycle. There is a sequence of c...
分类:
移动开发 时间:
2014-08-08 08:28:45
阅读次数:
539
现在没事儿搞搞launcher,就用到了抽屉效果,纯属自己瞎胡闹,玩呢。这里可以隐藏抽屉打开后的手柄,点击返回按钮,又再次恢复。这里也写了个小球震荡回弹的效果。SlidingDrawer的实现,同时何以隐藏SlidingDrawer的handle,在抽屉打开时处于隐藏状态。当SlidingDrawe...
分类:
其他好文 时间:
2014-08-07 21:42:40
阅读次数:
292
1:然后我自己看了一下桌面图标的载入过程:桌面第一次载入时是默认读取一个xml配置文件,完毕配置工作。这个配置文件在Launcher文件夹下,路径是:\Launcher\res\xml\default_workspace.xml 。这个XML文件就是刚升级,Launcher第一次显示的时候,会读取的...
分类:
移动开发 时间:
2014-08-07 12:01:29
阅读次数:
288
在开机时,系统会启动PhoneApp类,那是因为在AndroidManifest.xml文件中配置了
<application
android:name="PhoneApp"
android:icon="@drawable/ic_launcher_phone"
android:label="@string/phoneAppLabel"...
分类:
移动开发 时间:
2014-08-05 11:17:49
阅读次数:
250
BUG:打开下载菜单,标题栏瞬间显示"文档";
把AndroidManifast.xml里
android:label="@string/app_label"
android:supportsRtl="true">
中的 android:label="@string/app_label" 去掉了,全编后下载到手机里,再进下载,此时actionbar会先显示一下document...
分类:
其他好文 时间:
2014-08-03 10:20:55
阅读次数:
150