03 2014 档案
摘要:While static libraries are useful and essential tools, they are also a source of confusion to programmers because of the way the Unix linker uses them to resolve external references.During the symbol resolution phase, the linker scans the relocatable object files and archives left to right in the sa
阅读全文
摘要:1、用来触发BroadcastReceive的Intent和启动Activity或Service的Intent是不兼容的。2、当文件名做为ContentProvider查询的一部分返回的时候,不应该直接访问文件,应该使用帮助器类(ContentResolver或者openInputStream方法)来访问二进制数据。此方法可以解决linux进程安全问题,并能通过ContentProvider保证所有数据访问实现的规范化。3、模拟器(emulator)与仿真器(simulator)的区别:仿真器工具的工作原理是创建一个与实际环境100%接近的测试环境,但是,它只能接近实际平台,并且这不代表仿真器
阅读全文
摘要:1 import java.io.InputStream; 2 import java.io.RandomAccessFile; 3 import java.net.URL; 4 import java.net.URLConnection; 5 6 public class MultithreadsDownload { 7 public static void main(String[] args) { 8 final int DOWNLOAD_THREAD_NUM = 4; 9 final String FILE_NAME = "...
阅读全文
摘要:The combination of the new hardware supplied by Intel and AMD ,and the new versions of GCC targeting these machines makes x86-64code substantially different from that generated for IA32 machines. The main features include:1、Pointers and long integers are 64 bits long. Integer arithmetic operations s
阅读全文

浙公网安备 33010602011771号