- 博客(8)
- 资源 (11)
- 收藏
- 关注
转载 含有中文的网址中显示百分号%等乱码是什么?
<br /> <br />标签: ASCII, GB2312, UTF-8, 网页编码<br />在浏览一些网址中,我们可以看到这样一些特别的现象,就是网址中会出现一些百分号(%)和一字母数字组成的让我们看不明白的乱码,这究竟是怎么回事,它们又都是些什么东西呢?<br />其实,这里由%和数字字母组成的有规律性的“乱码”它们并不真是乱码,它们是一种特殊的编码,有电脑基础的人就知道,计算机它是不认得中文汉字的,要让计算机认识这些编码必须要转换成一些字母和数字等组成的代码。<br />事实上,我们在
2011-03-30 17:25:00 30042
转载 android launchmode小结
<br />launchmode4种模式:<br />1,standard:<br />如果从A跳到A,intent5次,task里5个activity;<br />2,single Top:<br />如果从A 跳B,再从B跳A,如果此时栈顶为A,则不创建新实例,直接把Intent给A,但如果栈顶不是A,则还要创建A的实例<br />3,singleTask<br />如果从A跳B,再从B跳A,无论是否栈顶栈底,只要A在,则将Intent给A,不会创建A的新实例;<br />4
2011-03-22 13:53:00 562
转载 Android应用程序模块详解
本文向您介绍Android应用程序开发中的各个模块,包括任务、启动模式、进程和线程等。 在大多数操作系统里,存在独立的一个1对1的可执行文件(如Windows里的exe文件), 它可以产生进程,并能和界面图标、应用进行用户交互。但在Android里,这是不固定的,理解将这些分散的部分如何进行组合是非常重要的。 由于Android这种可灵活变通的,在实现一个应用不同部分时你需要理解一些基础技术: 一个android 包 (简称 .apk ) ,
2011-03-22 13:52:00 774
转载 Base64编码
<br />按照RFC2045的定义, Base64被定义为:Base64内容传送编码被设计用来把任意序列的8位字节描述为一种不易被人直接识别的形式。(The Base64 Content-Transfer-Encoding is designed to represent arbitrary sequences of octets in a form that need not be humanly readable.)<br />图标base64编码在线转换器 :<br />ht
2011-03-20 23:35:00 877
转载 使用Eclipse开发Android源码
<br />1、Android的文件系统结构是怎样的,我们安装的程序放在那里?<br />编译Android源码之后,在out/target/product/generic一些文件:<br />ramdisk.img、system.img、userdata.img、 system、 data、root<br />其中, system.img是由 system打包压缩得到的, userdata.img是由 data打包压缩得到的。<br />ramdisk.img是模拟器的文件系统,把
2011-03-19 08:38:00 552
原创 AsyncTask
Android的AsyncTask比Handler更轻量级一些,适用于简单的异步处理。推荐三篇:Android开发中AsyncTask实现异步处理任务的方法,Android中AsyncTask的用法实例,Android AsyncTask的使用。 首先明确Android之所以有Handler和AsyncTask,都是为了不阻塞主线程(UI线程),且UI的更新只能在主线程中完成,因此异步处理是不可避免的。 Android 1.5提供了一个工具类:AsyncTask,它使创建需要与用户界面交互的长时
2011-03-11 22:35:00 576
原创 java 内存
<br />一、内存溢出类型 <br /><br />1、java.lang.OutOfMemoryError: PermGen space JVM管理两种类型的内存,堆和非堆。堆是给开发人员用的上面说的就是,是在JVM启动时创建;非堆是留给JVM自己用的,用来存放类的信息的。它和堆不同,运行期内GC不会释放空间。如果web app用了大量的第三方jar或者应用有太多的class文件而恰好MaxPermSize设置较小,超出了也会导致这块内存的占用过多造成溢出,或者tomcat热部署时侯不会清理前面加载
2011-03-11 14:26:00 655
原创 Android 开发 ide 快捷键
<br />******Android模拟器快捷键******<br /> F1/PgUp Menu key 菜单键<br /> F2/PgDown Star key 星号键<br /> F3 Call key 发送拨号键<br /> F4 End Call key 结束通话或者说红键<br /> Home Home key Home键<br /> ESC Back Ke
2011-03-10 10:57:00 781
Android A Programmer's Guide(Android程序员向导) 英文版
2010-06-27
spring3.x 权威开发指南中文版
2010-05-24
PL/SQL 中文版
2009-08-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人