1、安装APK(如果加 -r 参数,保留已设定数据,重新安装filename.apk)
adb install xxx.apk
adb install -r xxx.apk
2、卸载APK(如果加 -k 参数,为卸载软件但是保留配置和缓存文件)
adb uninstall xxx.apk
adb uninstall -k xxx.apk...
分类:
移动开发 时间:
2014-07-29 17:48:52
阅读次数:
194
1.找到android sdk的本地路径,adb命令在platform-tool下面,记为XXXX我的路径是(/Applications/eclipse/android-sdk-mac_x86/platform-tools)2.打开终端输入touch .bash_profile open -e .b...
分类:
移动开发 时间:
2014-07-29 16:49:52
阅读次数:
181
adb shell am使用此命令可以从cmd控制台启动 activity, services;发送 broadcast等等: 1 C:\Users\Administrator>adb shell am 2 usage: am [subcommand] [options] 3 4 star...
分类:
数据库 时间:
2014-07-28 11:31:50
阅读次数:
452
1: 首先介绍如何利用adb查看数据库1: adb shell2: cd /data/data/包名/databases3: sqlite3 数据库4 接下来就可以进行数据库的sql语法的使用了bean对象:public class Person { private int id; ...
分类:
移动开发 时间:
2014-07-27 23:07:29
阅读次数:
430
http://poj.org/problem?id=1106Time Limit:1000MSMemory Limit:10000KTotal Submissions:4488Accepted:2379DescriptionIn a wireless network with multiple tr...
分类:
其他好文 时间:
2014-07-27 22:54:59
阅读次数:
273
adb介绍SDK的Tools文件夹下包含着Android模拟器操作的重要命令adb,adb的全称为(Android Debug Bridge就是调试桥的作用。通过adb我们可以在Eclipse中方面通过DDMS来调试Android程序。借助这个工具,我们可以管理设备或手机模拟器的状态。还可以进行以下...
分类:
数据库 时间:
2014-07-27 22:24:59
阅读次数:
367
adb shell am set-debug-app -w {package_name}
分类:
移动开发 时间:
2014-07-27 09:59:32
阅读次数:
174
今天略微合拢了一下笔记本,然后Ubuntu unity死掉了,Ctrl-Alt-1进入terminal, 登录后重新启动系统,发现wif不能用了。上网查了一个命令,可以检查软硬件禁用的状况:root@dean-Latitude-3330:~# rfkill list
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
2: dell...
分类:
其他好文 时间:
2014-07-26 01:59:26
阅读次数:
251
1,查看一下有没有装过无线网卡驱动[root@localhost network-scripts]# iwconfiglo no wireless extensions.eth0 no wireless extensions.2,查看无线网卡型号[root@localhost network-sc....
分类:
其他好文 时间:
2014-07-26 01:48:36
阅读次数:
209
monkeyrunner在执行device = MonkeyRunner.waitForConnection()一直报错的问题(或者[main] [com.android.chimpchat.adb.AdbChimpDevice] Timeout while trying to create chi...
分类:
移动开发 时间:
2014-07-26 01:01:56
阅读次数:
224