<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AvProVideo on 瓶子裡的小狐狸</title>
    <link>https://szeching.com/tags/avprovideo/</link>
    <description>Recent content in AvProVideo on 瓶子裡的小狐狸</description>
    <generator>Hugo</generator>
    <language>zh-Hant</language>
    <lastBuildDate>Sat, 28 May 2016 13:14:31 +0000</lastBuildDate>
    <atom:link href="https://szeching.com/tags/avprovideo/rss" rel="self" type="application/rss+xml" />
    <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 id=&#34;media-play-設置&#34;&gt;Media Play 設置&lt;a class=&#34;anchorjs-link&#34; href=&#34;#media-play-%e8%a8%ad%e7%bd%ae&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&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;&lt;h2 id=&#34;找到安卓設備sdcard的根目錄root-path&#34;&gt;找到安卓設備SDCard的根目錄(ROOT PATH)&lt;a class=&#34;anchorjs-link&#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;&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;如果電腦上安裝了&lt;a href=&#34;https://developer.android.com/tools/adb&#34; target=&#34;_blank&#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;&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;&lt;h2 id=&#34;設置權限&#34;&gt;設置權限&lt;a class=&#34;anchorjs-link&#34; href=&#34;#%e8%a8%ad%e7%bd%ae%e6%ac%8a%e9%99%90&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&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&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;&lt;span style=&#34;color:#ff79c6&#34;&gt;&amp;lt;uses-permission&lt;/span&gt; &lt;span style=&#34;color:#50fa7b&#34;&gt;android:name=&lt;/span&gt;&lt;span style=&#34;color:#f1fa8c&#34;&gt;&amp;#34;android.permission.READ_EXTERNAL_STORAGE&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#ff79c6&#34;&gt;/&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&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;&gt;《App Manifest》&lt;/a&gt;（有中文版）。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
