`
雨过天晴0521
  • 浏览: 155010 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
原文链接:http://www.youdzone.com/signature.html 译文:      http://news.cnblogs.com/n/111348/     Bob (Bob's public key) (Bob's private key)     Bob has been given two keys. One of Bob's keys is called a Public Key, the other is called a Private Key.   Bob's Co-workers: ...

SSL概览之一

Secure Sockets Layer (SSL)协议是网络上应用最广泛的一种密码技术. 在网络上SSL通过一系列的加密处理, 提供安全的通信机制. 为什么使用SSL? 在网络上传输敏感信息由于以下三个原因会存在一定的风险: You cannot always be sure that the entity with whom you are communicating is really who you think it is. Network data can be intercepted, so it is possible that it can be read by an u ...
step 1. 创建一个新的activity step 2. 向AndroidManifest.xml的application中添加一个activity <activity android:name=".Android_SecondActivity" android:label="@string/app_name"> </activity> step 3. 为新的activity创建layout xml文件 second.xml <?xml v ...
使用快捷键可以大大提高我们的工作效率,下面是eoe为大家整理的Eclipse常用快捷键,希望对新手有所帮助。 (1)新建项目:Ctrl+N 这个基本上所有的软件都通用 (2)快速保存:Ctrl+S 这个也通用 (3)关闭文件:Ctrl+W 同样通用 (4)注释与取消注释为:Ctrl+/ 多行注释先选中多行,单行注释只要把光标定位在该行即可 (5)组织导入:Ctrl+Shift+O 快速导入需要的类,清除不需要的类(就是自动帮我们填写程序最顶上的import) (6)删除整行:Ctrl+D 删除光标所在行 (7)定位到最后编辑的行:Ctrl+Q 这个真的很好用,尤其是对我这种记性差, ...
出现bad interpreter:No such file or directory的原因: 是文件格式的问题。这个文件是在Windows下编写的。换行的方式与Unix不一样,但是在VI下面如果不Set一下又完全看不出来。 解决方法: 1、上传到linux主机运行      chmod +x back      ...

关于setContentView

位置 调用setContentView()要写在组件代码前, onCreate()方法后. public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.main);           ... ... //组件代码 } 否则会抛出如下NPE 08-03 19:23:15.200: ERROR/InputDispatcher(69): channel '407ecfe8 com.example.he ...
C:\Documents and Settings\Michael\My Documents\My Pictures>mksdcard 512M mycard C:\Documents and Settings\Michael\My Documents\My Pictures>adb push luan.jpg mycard failed to copy 'luan.jpg' to 'mycard': Read-only file system C:\Documents and Settings\Michael\My Documents\My Pictures>adb pu ...
假如我们在VC++6.0 Studio中创建了EX10这个工程,选择菜单中[Build]→[Rebuild All],重新编译所有的工程文件,可以看到如下输出:     从这个输出中,我们可以看到可执行程序EX10.exe的产生,经过了两个步骤:首先,C++编译器对工程中的三个源文件fish.cpp、animal.cpp单独进行编译(Compiling…)。在编译时,先由预处理器对预处理指令(#include、#define和#if)进行处理,在内存中输出翻译单元(一种临时文件)。编译器接受预处理的输出,将源代码转换成包含机器语言指令的三个目标文件(扩展名为obj的文件):EX10.obj ...
Global site tag (gtag.js) - Google Analytics