码迷,mamicode.com
首页 >  
搜索关键字:am    ( 1985个结果
android adb常用命令
1.adb--- 截取屏幕的命令  :adb shell screencap -p | sed 's/\r$//' > outputs.png 2.jni ---命令    :$NDK/ndk-build 3. adb 启动程序:adb shell am start -n 包名/程序Activity类的类名(main) adb 安装程序: adb install  + 路径 ...
分类:移动开发   时间:2014-06-19 10:17:59    阅读次数:263
test from Windows Live Writer
I am Excerpt
分类:Windows程序   时间:2014-06-18 22:55:26    阅读次数:266
跟着编程之美学算法——最长公共子序列
最长公共子序列是一个很经典的动态规划问题,最近正在学习动态规划,所以拿来这里再整理一下。这个问题在《算法导论》中作为讲动态规划算法的例题出现。动态规划,众所周知,第一步就是找子问题,也就是把一个大的问题分解成子问题。这里我们设两个字符串A、B,A = "a0, a1, a2, ..., am-1",...
分类:其他好文   时间:2014-06-15 20:54:15    阅读次数:229
git patch生成方法
先把修改commit掉,然后生产修改patch给提交代码的同事,具体操作步骤如下: 修改代码的同事: git format-patch al821_xxx origin/al821_xxx 会生成:0001-HQ00656135-xxx-al821_xxx.patch这样的patch文件 把这个patch给提交代码的同事 提交代码的同事,执行: git am 0001-HQ006561...
分类:其他好文   时间:2014-06-15 20:13:56    阅读次数:159
Java代理(Aop实现的原理)
经过大牛同事的一句指点立刻明白的代理实现方式,Spring Aop应该也是这么去做的。直接上代码 实现在Car的run方法之前调用star方法,在run方法之后调用stop方法。 Car类 package com.lubby.test; public class Car { public void run() { System.out.println("I am running......
分类:编程语言   时间:2014-06-15 08:48:20    阅读次数:240
安装qc 出现error An error occurred while attempting to connect to the database.
When trying to install mercury quality center starter edition 9.0 on Windows XP media center, I am getting the following error Wrong attributes "An er...
分类:数据库   时间:2014-06-12 18:07:45    阅读次数:344
Android bluetooth low energy (ble) writeCharacteristic delay callback
I am implementing a application on Android using BLE Api (SDK 18), and I have a issue that the transfer data process is delay very slow. This is my lo...
分类:移动开发   时间:2014-06-12 17:55:25    阅读次数:1309
Linux 获取登录者IP
在linux中有时需要获得登录者的IP,这里有两种方法,先使用who am i 获取登录IP,然后截取字符串: 1、awk截取,sed替换 who am i | awk '{print $5}' | sed 's/(//g' | sed 's/)//g' 2、cut 截取 who am i|cut -d\( -f2|cut -d\) -f1 使用方法,若在脚本中如.bashrc中,可...
分类:系统相关   时间:2014-06-10 07:49:49    阅读次数:320
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!