<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>DoIT 科技論壇 - ANDROID</title>
    <link>https://forum.doit.net.tw/forum.php?mod=forumdisplay&amp;fid=14</link>
    <description>Latest 20 threads of ANDROID</description>
    <copyright>Copyright(C) DoIT 科技論壇</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 06 May 2026 13:35:17 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://forum.doit.net.tw/static/image/common/logo_88_31.gif</url>
      <title>DoIT 科技論壇</title>
      <link>https://forum.doit.net.tw/</link>
    </image>
    <item>
      <title>ADB 連線</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=243</link>
      <description><![CDATA[// 使用adb命令root并且赋予写入权限，并重启adb rootadb disable-verityadb reboot//重启后root和remount一下，连接wifiadb rootadb remount//然后开发者模式下打开无线调试,直接就看到IP地址，或者用以下命令查询adb shell ifconfig//wlan开头的inet addr:后面的就是  ...]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Sat, 18 May 2024 01:40:19 +0000</pubDate>
    </item>
    <item>
      <title>Layout</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=129</link>
      <description><![CDATA[Layout 決定app的外觀，來介紹幾個常見的Layout元件。Layout元件主要有分五種：Linear Layout(線性佈局)、Relative Layout(相對佈局)、TableLayout(表格佈局)、AbsoluteLayout(絕對佈局)、FrameLayout(框架佈局)。●Linear Layout(線性版面佈局)：水平線或垂直線的排版 ...]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:48:19 +0000</pubDate>
    </item>
    <item>
      <title>顯示方向設定</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=128</link>
      <description><![CDATA[AndroidManifest.xml







\&quot;unspecified\&quot;
- 默認值. 由系統選擇顯示方向. 在不同的設備可能會有所不同.

\&quot;landscape\&quot;
- 橫向

\&quot;portrait\&quot;
- 縱向

\&quot;user\&quot;
- 用戶當前的首選方向

\&quot;behind\&quot;
- 與在活動堆棧下的活動相同方向

\&quot;sensor\&quot;
- 根據物理方向傳感器確定方向.  ...]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:46:33 +0000</pubDate>
    </item>
    <item>
      <title>ICON 下載 使用</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=127</link>
      <description><![CDATA[下載
https://material.io/tools/icons/?icon=menu&amp;style=baseline


使用
http://www.codedata.com.tw/mobile/android-tutorial-the-2nd-class-1-res/]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:46:04 +0000</pubDate>
    </item>
    <item>
      <title>Android emulator ROOT</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=126</link>
      <description><![CDATA[]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:45:21 +0000</pubDate>
    </item>
    <item>
      <title>SQLite 資料庫</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=125</link>
      <description><![CDATA[adb shell
cd data/data
cd xxx.xxx.xxx.xxx.xxx
cd databases
sqlite3 external.db

.help
.tables
select * from images;]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:44:44 +0000</pubDate>
    </item>
    <item>
      <title>變數類型轉換</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=124</link>
      <description><![CDATA[轉字串
String s = String.valueOf(i);
String s = Integer.toString(i);

轉數值
int i = Integer.parseInt([String]);
Float f = Float.parseFloat([String]);
long l = Long.parseLong([String]);
double d = Double.parseDouble([String]);]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:44:26 +0000</pubDate>
    </item>
    <item>
      <title>getColor 過時替代方法</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=123</link>
      <description><![CDATA[getResources().getColor(R.color.colorWhite)


ContextCompat.getColor(this,R.color.colorPrimary);
getColor(this,R.color.colorPrimary);]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:44:13 +0000</pubDate>
    </item>
    <item>
      <title>Android Studio 的“Permission is only granted to system apps”</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=122</link>
      <description><![CDATA[ile -&gt; Settings -&gt; Editor -&gt; Inspections

在Android Lint下面，將 Using system app permission的Error改成Warning。]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:43:41 +0000</pubDate>
    </item>
    <item>
      <title>Android Studio 熱鍵(keymap)</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=121</link>
      <description><![CDATA[整理Android Studio熱鍵:HotKey功能對應英文說明&amp;nbsp;Ctrl + B(Ctrl + Click)直接跳轉到類、方法、成員變數定義的地方&amp;nbsp;&amp;nbsp;Ctrl + D&amp;nbsp;(1) 比較兩個jar檔，在同一工程中，選中兩個jar檔，按此複合鍵(2) 集合了複製和粘貼兩個操作，如果有選中的部分就複製選 ...]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:43:00 +0000</pubDate>
    </item>
    <item>
      <title>Android 權重 layout_weight</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=120</link>
      <description><![CDATA[wrap_content
match_parent

設定方式相反]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:42:36 +0000</pubDate>
    </item>
    <item>
      <title>內距 外距</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=119</link>
      <description><![CDATA[XML內之內距語法為 android:padding=\&quot;10dp\&quot;
XML內之外距語法為 android:layout_margin

android:layout_marginBottom=\&quot;10dp\&quot;
android:layout_marginLeft=\&quot;10dp\&quot;
android:layout_marginRight=\&quot;10dp\&quot;
android:layout_marginTop=\&quot;10dp\&quot;]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:42:18 +0000</pubDate>
    </item>
    <item>
      <title>MPAndroidChart</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=118</link>
      <description><![CDATA[Github 地址：https://github.com/PhilJay/MPAndroidChart依賴：Project 的build.gradle檔案中新增allprojects {
repositories {
maven { url \'https://jitpack.io\' }
}
}然後在 module中的build,gradle 中新增implementation \'com.github.PhilJay:MPAndroidChart:v3.0. ...]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:41:23 +0000</pubDate>
    </item>
    <item>
      <title>dialog點擊屏幕不消失</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=117</link>
      <description><![CDATA[dialog.setCanceledOnTouchOutside(false);//設置dialog點擊屏幕不好消失


或：

oncreate()方法中設置Dialog點擊屏幕不可取消]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:41:02 +0000</pubDate>
    </item>
    <item>
      <title>模擬器路徑</title>
      <link>https://forum.doit.net.tw/forum.php?mod=viewthread&amp;tid=116</link>
      <description><![CDATA[ANDROID_AVD_HOME]]></description>
      <category>ANDROID</category>
      <author>Anderson</author>
      <pubDate>Thu, 25 May 2023 02:40:45 +0000</pubDate>
    </item>
  </channel>
</rss>