摘要:http://stackoverflow.com/questions/18328730/how-to-create-a-release-signed-apk-file-using-gradle/ 阅读全文
[Android Tips] 11. How to Create a Release Signed APK File using Gradle
2014-08-23 00:28 by shaobin0604, 196 阅读, 0 推荐, 收藏, 编辑[Android Tips] 10. Pull out /data/data/${package_name} files without root access
2014-08-22 15:20 by shaobin0604, 493 阅读, 0 推荐, 收藏, 编辑
摘要:#!/usr/bin/env bashPACKAGE_NAME=com.your.packageDB_NAME=data.dbrm -rf ${DB_NAME}adb shell "run-as ${PACKAGE_NAME} chmod 666 /data/data/${PACKAGE_NAME}... 阅读全文
[gerrit] Auto Add Reviewer When Push Code
2014-08-21 12:55 by shaobin0604, 788 阅读, 0 推荐, 收藏, 编辑
摘要:1. ${PROJECT_ROOT}/.git/config 加入如下代码[remote "review"]url = ssh://${username}@codeserver.xxx.com:29418/${project_name}push = HEAD:refs/for/${branch_na... 阅读全文
[Android Tips] 9. framework notification layout font size
2014-08-09 15:32 by shaobin0604, 494 阅读, 0 推荐, 收藏, 编辑
摘要:android 4.4 framework notification layout 相关字体大小* title: notification_title_text_size: 18dp* content: notification_text_size: 14dp* subtext:... 阅读全文
[Android Tips] 8. Install apk on multiple connected devices
2014-08-02 10:39 by shaobin0604, 238 阅读, 0 推荐, 收藏, 编辑
摘要:$ adb devices | tail -n +2 | cut -sf 1 | xargs -I X adb -s X install pathto/myapp-release.apk 阅读全文
[Android Tips] 7. 以调试模式启动应用
2014-07-26 18:56 by shaobin0604, 537 阅读, 0 推荐, 收藏, 编辑
摘要:adb shell am set-debug-app -w {package_name} 阅读全文
[Android Tips] 6. Parallax ViewPager
2014-07-22 15:24 by shaobin0604, 260 阅读, 0 推荐, 收藏, 编辑
摘要:文章http://ryanhoo.github.io/blog/2014/07/16/step-by-step-implement-parallax-animation-for-splash-screen-of-zhihu/http://blog.neteril.org/blog/2014/01/0... 阅读全文
[Android Tips] 5. INSTALL_PARSE_FAILED_MANIFEST_MALFORMED on Android-2.1
2014-07-22 12:48 by shaobin0604, 204 阅读, 0 推荐, 收藏, 编辑
摘要:最近在 http://testin.cn 上的多款 android 2.1 设备上出现安装失败的问题 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED问题分析貌似 android 2.1 AndroidManifest.xml provider 元素的 authorit... 阅读全文
[Android Tips] 4. Dismiss PopupWindow when touch outside
2014-04-04 15:02 by shaobin0604, 486 阅读, 0 推荐, 收藏, 编辑
摘要:PopupWindow.setFocusable(true); 阅读全文
[Android Tips] 3. Launch CallLog Activity
2014-04-04 15:02 by shaobin0604, 165 阅读, 0 推荐, 收藏, 编辑
摘要:```java
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(android.provider.CallLog.Calls.CONTENT_URI);
startActivity(intent);
``` 阅读全文