<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Android on 瓶子裡的小狐狸</title>
    <link>https://szeching.com/tags/android/</link>
    <description>Recent content in Android on 瓶子裡的小狐狸</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-Hant</language>
    <copyright>© 2026 Y Cheung</copyright>
    <lastBuildDate>Sun, 24 Sep 2023 14:37:36 +0000</lastBuildDate><atom:link href="https://szeching.com/tags/android/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Google Pixel 7a 免 Root 解鎖 VoLTE 功能</title>
      <link>https://szeching.com/enable-volte-support-on-pixel-7a-without-root/</link>
      <pubDate>Sun, 24 Sep 2023 14:37:36 +0000</pubDate>
      
      <guid>https://szeching.com/enable-volte-support-on-pixel-7a-without-root/</guid>
      <description>&lt;p&gt;Y Cheung 有張SIM卡很奇怪，在 Pixel 7a手機上無法使用，能識別出號碼，但是就是無法註冊網絡，而這張卡在iPhone上使用是沒問題的。於是上網查了一下，原來是Google搞的鬼！連韓國網友也深受其害。幸好不是沒有解決方案，一二三，搞起！&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Android 使用 Volley 下載文件附進度條</title>
      <link>https://szeching.com/tutorial-about-download-file-with-progress-bar-using-volley/</link>
      <pubDate>Fri, 03 Jul 2020 11:06:01 +0000</pubDate>
      
      <guid>https://szeching.com/tutorial-about-download-file-with-progress-bar-using-volley/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://developer.android.com/training/volley/index.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Volley官方文檔&lt;/a&gt;說：&lt;/p&gt;&#xA;&lt;blockquote&gt;&lt;p&gt;&amp;ldquo;Volley is not suitable for large download or streaming operations, since&#xA;Volley holds all responses in memory during parsing. For large download&#xA;operations, consider using an alternative like DownloadManager.&amp;rdquo;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;p&gt;這是真的，特別是內存小的手機，使用Volley下載很多文件或者單個大文件就不是很恰當了。這裡的large是相對手機內存大小而定。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>解決 Rejecting re-init on previously-failed class &lt;androidx.core.view.ViewCompat$2&gt; 警告</title>
      <link>https://szeching.com/resolve-rejecting-re-init-on-previously-failed-class-androidx-core-view-viewcompat/</link>
      <pubDate>Tue, 23 Jun 2020 06:43:39 +0000</pubDate>
      
      <guid>https://szeching.com/resolve-rejecting-re-init-on-previously-failed-class-androidx-core-view-viewcompat/</guid>
      <description>&lt;p&gt;新建一個安卓項目， compileSdkVersion 29，然後啟動MainActivity就看到 Logcat中有警告信息：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;Rejecting re-init on previously-failed class java.lang.Class&amp;lt;androidx.core.view.ViewCompat$2&amp;gt;: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;雖然不會拋出錯誤或異常，但是看到也很噁心。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Unity AvProVideo Plugin 中設置影片在安卓SD卡上的絕對地址</title>
      <link>https://szeching.com/setting-android-sdcard-absolute-path-on-unity-avprovideo-plugin/</link>
      <pubDate>Sat, 28 May 2016 13:14:31 +0000</pubDate>
      
      <guid>https://szeching.com/setting-android-sdcard-absolute-path-on-unity-avprovideo-plugin/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;Media Play 設置&#xA;    &lt;div id=&#34;media-play-設置&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#media-play-%e8%a8%ad%e7%bd%ae&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Video Location 選擇 &lt;code&gt;Absolute Path Or URL&lt;/code&gt;。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;找到安卓設備SDCard的根目錄(ROOT PATH)&#xA;    &lt;div id=&#34;找到安卓設備sdcard的根目錄root-path&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%89%be%e5%88%b0%e5%ae%89%e5%8d%93%e8%a8%ad%e5%82%99sdcard%e7%9a%84%e6%a0%b9%e7%9b%ae%e9%8c%84root-path&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;如果電腦上安裝了&lt;a href=&#34;https://developer.android.com/tools/adb&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;adb工具&lt;/a&gt;，使用指令 &lt;code&gt;adb shell echo $EXTERNAL_STORAGE&lt;/code&gt; 打印SD Card Root directory。&lt;/li&gt;&#xA;&lt;li&gt;如果安卓設備上安裝了terminal工具，(比如&lt;a href=&#34;https://play.google.com/store/apps/details?id=jackpal.androidterm&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Terminal Emulator for Android&lt;/a&gt;)，使用指令 &lt;code&gt;ls&lt;/code&gt; 根據經驗篩選可能的目錄。&lt;/li&gt;&#xA;&lt;li&gt;一般而言，SD卡的根目錄可能但不限於以下幾種：&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/mnt/sdcard&lt;/li&gt;&#xA;&lt;li&gt;/storage/sdcard0&lt;/li&gt;&#xA;&lt;li&gt;/storage/sdcard&lt;/li&gt;&#xA;&lt;li&gt;/sdcard&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;設置權限&#xA;    &lt;div id=&#34;設置權限&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e8%a8%ad%e7%bd%ae%e6%ac%8a%e9%99%90&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;在 &lt;code&gt;AndroidManifest.xml&lt;/code&gt; 文件中的&lt;code&gt;&amp;lt;uses-sdk&lt;/code&gt;前添加以下語句：&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;uses-permission&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;android:name=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;android.permission.READ_EXTERNAL_STORAGE&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;通常該文件位於&lt;code&gt;Assets/Plugins/Android/&lt;/code&gt;文件夾內，該配置文件詳解請參閱官方文檔&lt;a href=&#34;https://developer.android.com/guide/topics/manifest/manifest-intro.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;《App Manifest》&lt;/a&gt;（有中文版）。&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
