Recently, I buy a tablet called HP TouchPad, it has excellent hardware: 1.2Ghz CPU, 1G RAM, 9.7inch Screen. The built-in operating system for TouchPad is HP webOS. In point of UI view, webOS is beautiful and apple-like. But there is main weakness of webOS: lack of software applications. Like apple store or android market, HP also have the online application marketing called App Catalog. But there are just have little of apps.

The CM team do a amazing job, they made Android port for the TouchPad. To experience the Touchpad with Android system, I updated my TouchPad to Android. Generally this rom is fast and useful even if in alpha version. Of course some bugs in alpha version, to feedback to the CM team. I need connect the my TouchPad with wired USB line with adb tools.

1, Install the CyanogenMod 7 to HP TouchPad

There a lot of tutorials on internet, you can follow the tutorials to install CyanogenMod android.

http://liliputing.com/2011/11/how-to-install-cyanogenmod-7-1-android-alpha-3-on-the-hp-touchpad.html

http://www.opinionless.com/updating-your-hp-touchpad-to-cyanogenmod-android-alpha-3/

2,Connect the HP TouchPad with adb

Follow the post:http://rootzwiki.com/topic/7281-wired-adb-not-working-for-you-fix-is-right-here/

First, you need update the USB driver by Android SDK Manager.

After that you re-plug your TouchPad, you will see “Android Tablet” in your Device Manager. Right click “Android Tablet” and select “Update Driver Software…”.

You will find driver(labeled with HTC….) suitable for TouchPad. In this point you do all of your job. Open “cmd.exe” and issue the “adb devices” command to check result.

3,How to use logcat

a, view logs

>adb shell logcat //view and block for incoming log

>adb shell logcat –d //view and exit

b,view Warnings

>adb shell logcat –d *:W //show all of warnings

>adb shell logcat –d ActivityManager:W //only show warnings associated with ActivityManager

c,view recently 10 line logs and exit

>adb shell logcat –t 10

d,view log with specific format

>adb shell logcat –d –v long

alternatives:

brief — Display priority/tag and PID of originating process (the default format).
process — Display PID only.
tag — Display the priority/tag only.
thread — Display process:thread and priority/tag only.
raw — Display the raw log message, with no other metadata fields.
time — Display the date, invocation time, priority/tag, and PID of the originating process.
long — Display all metadata fields and separate messages with a blank lines.

e,clear logs & helps

>adb shell logcat –c //clear logs

>adb shell logcat –help //help information

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Java线程之创建与启动
  2. 算法:有向无环图的最短路径
  3. 配置DNS服务和编译安装MariaDB
  4. 10 个有关 String 的面试问题
  5. Java线程之线程状态的转换
  6. Unity 阴影
  7. 如何用 Map 对象创建 Set 对象
  8. redis集群教程(一)
  9. Arrays.sort() 你应该知道的事
  10. Java线程之线程的同步与锁