android

Google Pixel 7a 免 Root 解鎖 VoLTE 功能

Y Cheung 有張SIM卡很奇怪,在 Pixel 7a手機上無法使用,能識別出號碼,但是就是無法註冊網絡,而這張卡在iPhone上使用是沒問題的。於是上網查了一下,原來是Google搞的鬼!連韓國網友也深受其害。幸好不是沒有解決方案,一二三,搞起! 1.在手機上安裝 Shizuku App . Google Play 安裝 Shizuku 2. 在電腦上安裝 ADB command line。如果你已經安裝過了Android Studio,那麼可以在Android Studio 選單中

Android 使用 Volley 下載文件附進度條

Volley官方文檔 [https://developer.android.com/training/volley/index.html]說: > "Volley is not suitable for large download or streaming operations, since Volley holds all responses in memory during parsing. For large download operations,

解決 Rejecting re-init on previously-failed class <androidx.core.view.ViewCompat$2> 警告

新建一個安卓項目, compileSdkVersion 29,然後啟動MainActivity就看到 Logcat中有警告信息: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener; 雖然不會拋出錯誤或異常,但是看到也很噁心。 解決方法,在build.gradle文件中添加以下配置 configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails

Unity AvProVideo Plugin 中設置影片在安卓SD卡上的絕對地址

Media Play 設置 * Video Location 選擇 Absolute Path Or URL。 找到安卓設備SDCard的根目錄(ROOT PATH) * 如果電腦上安裝了adb工具 [https://developer.android.com/studio/command-line/adb.html] ,使用指令 adb shell echo $EXTERNAL_STORAGE 打印SD Card Root directory。 * 如果安卓設備上安裝了terminal工具,