Android开发笔记

1. 通过wifi debug:

http://stackoverflow.com/questions/4893953/android-run-install-debug-applications-over-wifi

2. Webview 显示中文乱码问题

http://stackoverflow.com/questions/4933069/android-webview-with-garbled-utf-8-characters

3. 通过命令行卸载程序,设定时间 (用于调试程序)

You can use the next command:

adb shell date -s YYYYMMDD.HHmmss

example:

adb shell date -s 20120423.130000

sets the date to Mon Apr 23 13:00:00 CEST 2012

删除程序

adb shell pm uninstall com.example.hello 


4. 基于Virtualbox 的android tablet虚机

http://androvm.org/blog/androvm-documentation/

5. How to remove application from recent application list?

<activity android:name=".MainActivity"
        android:excludeFromRecents="true" ...

6. GreenDAO: JavaDoc http://greendao-orm.com/javadoc/greendao/

7. set the attribute android:animateLayoutChanges="true" for the parent layout . put the view in a layout if its not and set its attribute.

8. Calendar handling:

http://www.anddev.org/novice-tutorials-f8/insert-delete-events-in-android-calendar-t48488.html

你可能感兴趣的:(android)