我使用的是win7-64位系统。对于windows系统,adb devices 显示offline一般可能有两个原因:1 )端口被占用。 解决方式是:查找端口号,结束占用进程: adb nodaemon server ----------------查看结果是TCP 5037的连接有问题 nets....
分类:
移动开发 时间:
2014-07-03 10:33:11
阅读次数:
249
1. 启动安卓手机app发送如下命令:adb shell am start -n 包名/.Activity名包名与Activity名,可以通过如下命令获取到:aapt dump badging sample.apk一般返回如下:package: name='com.tencent.android.q...
分类:
数据库 时间:
2014-07-03 06:58:44
阅读次数:
293
最近在linux上面用mysqldump导出数据,放在windows系统中导入就会出现中文乱码,然后就会导致出现: Unknown MySQL server host和Can't connect to the server的错误。解决mysql导入导出数据乱码问题就是统一导入导出的编码,linux默...
分类:
数据库 时间:
2014-07-02 18:53:23
阅读次数:
225
python 集成了 sqlite3 ,其接口很简单:import sqlite3db_connection = sqlite3.connect(db_filename)db_cursor = db_connection.cursor()db_cursor.execute('select * fro...
分类:
数据库 时间:
2014-07-02 17:46:35
阅读次数:
306
#!/usr/bin/pythonimportMySQLdbdefnew_mail_mysql(ak):printakconn=MySQLdb.connect(host=‘m3306.sae.sina.com.cn‘,user=‘sae_ol‘,passwd=‘7b149edb22ae7526‘,db=‘sae‘,port=3306)cur=conn.cursor()sql="selectnamefromappwhereaccesskey=‘%s‘"%akcur.execute(sql)app_name=cu..
分类:
数据库 时间:
2014-07-02 16:14:12
阅读次数:
285
英文版原文地址这是两篇连载文章的第一篇,讲解了如何使用Docker替代Vagrant开发基于Express框架的NodeJs App的部分细节。不过,这次要增加点难度:我们要使用connect-redis在 Redis 中实现 session 功能。第二篇文章将基于此继续。The Node App这...
分类:
移动开发 时间:
2014-07-01 22:32:50
阅读次数:
414
#include #include #include #include #include #include #include #include void icvprCcaByTwoPass(const cv::Mat& _binImg, cv::Mat& _lableImg){ // connect...
分类:
其他好文 时间:
2014-07-01 13:45:49
阅读次数:
255
Android开发之配置adb工具的环境变量...
分类:
移动开发 时间:
2014-07-01 07:40:49
阅读次数:
211
select regexp_substr('A,B,C,D,E', '[^,]+', 1, level, 'i') as str
from dual
connect by level
length('A,B,C,D,E') - length(regexp_replace('A,B,C,D,E', ',', '')) + 1;...
分类:
其他好文 时间:
2014-07-01 07:38:06
阅读次数:
217
对原作者表示感谢,转自博客:http://www.otechu.me/zh/2011/12/filtering-adb-logcat-output/本文介绍如何在shell 命令行中过滤 adb logcat 输出的几个小技巧。开发当中经常看到别人的 log 如洪水般瞬间刷满了屏幕,对自己有用的信息...
分类:
数据库 时间:
2014-07-01 00:30:09
阅读次数:
495