原创 VelocityTracker 註釋
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "Li
原创 PointerLocationView 源碼分析
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "L
原创 基於Android 8.1 的靜默安裝卸載
這個轉自 : https://blog.csdn.net/u013270171/article/details/89320824 1.靜默安裝-------系統簽名 /** * void installPackageAsUser(i
原创 android 文本轉語音
參考: https://blog.csdn.net/shendan00/article/details/43525437#commentBox https://www.jianshu.com/p/0cf01f089660 https:
原创 android 喚醒和解鎖屏幕
/** * 喚醒手機屏幕並解鎖 */ public void wakeUpAndUnlock() { // 獲取電源管理器對象 PowerManager pm = (Power
原创 AIDL Demo
代碼:https://github.com/macy7/AIDLDemo 學習資料(本demo跟着幾位前輩的博客學習寫出): https://blog.csdn.net/u011240877/article/details/7276513
原创 Android 如何修改MenuItem 文字的大小寫
可以參考:https://stackoverflow.com/questions/17044790/android-actionbar-menuitem-lowercase 修改主題那種方式,我沒有成功。 我用的這個:
原创 Android UTC和Local 時間互轉
public static String getUTCFromLocalTime_(int hour, int minute, int second) { StringBuffer UTCTimeBuffer = new
原创 Android 軟件盤的打開和關閉
public class KeyBoardUtils { public static void openKeyboard(Context context){ InputMethodManager imm = (
原创 git 提交代碼 ERROR: [eaabb6d] missing Change-Id in commit message footer
今天在提交代碼的時候出現了一個問題,提示丟失 Change-Id , 然後我很慌,但是 有提示教你怎麼做: 這是第一段提示: remote: Hint: To automatically insert Change-Id, instal