Skip to content

Instantly share code, notes, and snippets.

fantouch fantouch

Block or report user

Report or block fantouch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fantouch / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View 使用Eclipse内置编辑器制作9.png图片.md

升级Android SDK Tool 升级到v22后,意外发现ADT为Eclipse增加了9.png编辑器: [![][1]][1]

那样就省去每次在外部制作,然后拖回工程里面替换的痛苦了. Google一下,答案好简单.

  • 按Cmmd+,打开Eclipse的设置界面
  • 添加文件扩展名*.png,添加对应的编辑器为Android Draw 9-patch,并设置成默认.
fantouch /
Last active Dec 17, 2015
View me.fantouch.libs
**Android Library 工程,帮助更便捷地进行 Android 开发,含有以下模块:**
* [CrashHandler 崩溃处理器](
* [Logg 日志工具](
* [UpdateHelper App自动更新助手](
* [AbsSendReportsService 文件后台发送服务](
fantouch / .java
Last active Dec 17, 2015
View .java
// 获取当前线程的StackTrace
StackTraceElement[] elements = Thread.currentThread().getStackTrace();
You can’t perform that action at this time.