顯示具有 Android 標籤的文章。 顯示所有文章
顯示具有 Android 標籤的文章。 顯示所有文章

2021年5月1日 星期六

[Android] Android 版本和 對映API 層級

每個 Android 版本都會被指派一個唯一的整數識別碼- API 層級。 使用者會在舊版以及最新的 Android 版本上安裝應用程式,所以實際撰寫 Android 應用程式時,必須考量不同版本的Android 手機。

名稱版本API 層級已發行組建版本代碼
Q 10.0 29 2020年8月 BuildVersionCodes.Q
Pie 9.0 28 2018年8月 BuildVersionCodes.P
Oreo 8.1 27 12月2017 BuildVersionCodes.OMr1
Oreo 8.0 26 2017 年 8 月 BuildVersionCodes.O
Nougat 7.1 25 12月2016 BuildVersionCodes.NMr1
Nougat 7.0 24 2016年8月 BuildVersionCodes.N
Marshmallow 6.0 23 2015 年 8 月 BuildVersionCodes.M
Lollipop 5.1 22 2015 年 3 月 BuildVersionCodes.LollipopMr1
Lollipop 5.0 21 2014 年 11 月 BuildVersionCodes.Lollipop
Kitkat 監看 4.4 w 20 6月2014 BuildVersionCodes.KitKatWatch
Kitkat 4.4 19 2013 年 10 月 BuildVersionCodes.KitKat
Jelly Bean 4.3 18 2013年7月 BuildVersionCodes.JellyBeanMr2
Jelly Bean 4.2-4.2。2 17 11月2012 BuildVersionCodes.JellyBeanMr1
Jelly Bean4.1-4.1。1166月2012BuildVersionCodes.JellyBean 

參考資料:https://docs.microsoft.com/zh-tw/xamarin/android/app-fundamentals/android-api-levels?tabs=windows

2020年10月21日 星期三

[App Inventor2] 印出 Fibonacci Sequence

 Fibonacci Sequence

The Fibonacci Sequence is the series of numbers:

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...

The next number is found by adding up the two numbers before it:

1 = 1 + 0

2 = 1 + 1

3 = 1 + 2

5 = 2 + 3

8 = 3 + 5 …


[app inventor2] 印出質數

 Prime Numbers

Prime Number is a natural number greater than 1 that has exactly two different natural number divisors: 1 and itself. A natural number greater than 1 that is not a prime number is called a composite number. The smallest prime number is 2.


Make an app with app inventor to show a list of prime numbers up to 100. An  example is as follows:


Thinking...

  1. Declare two variables Dividend and Divisor.

  2. Check the  remainder = (Dividend % Divisor) is 0 or not. If remainder = 0 then Dividend is a prime number.

  3. If Dividend=Divisor then Dividend is a prime number.




[app inventor2] 印出偶數和奇數


 




2018年7月14日 星期六

製作 APP 的好工具 JQuery Mobile、EZoApp

http://jquerymobile.com/

https://ezoui.com/app/zh-tw/

https://ezoapp.gitbooks.io/ezoapp-tutorials/

體驗設計
http://jqmdesigner.appspot.com/designer.html

備註:
EZoApp是國內中鋼公司100%控股,所以是商業軟體呀!若要發佈上架則須付費.  

photogap and appsgeyser 線上微課程

https://www.slideshare.net/pulipulichen/20150717-android-app

從簡報中可得知,appsgeyser 的確有使用者紀錄、權限開放較多、廣告等問題,雖然它非常適合初學者來製作app。對於想個人體驗如何來製作app,這真的是個好選擇。但如果要上架推廣,還是要認真考慮一下。

使用who.is 的網站查詢 appsgeyser.com的網域,這一家公司是由 GoDaddy.com的公司來註冊的,GoDaddy是從事網際網路域名註冊及網站託管的美國上市公司。(來源:wiki)

2018年3月28日 星期三

Android 的終端機模式(Termux)

Android手機如何使用終端機的命令列模式,只要安裝一個Ternux的app就可以使用,
常見的linux指令幾乎都可以使用,另外也可以使用pkg install 來安裝一些其他的工具,例如:dnsutils etc...

關於Termux指令如何在手機按鍵上操作
https://termux.com/touch-keyboard.html

Termux 存取照片的設定
https://wiki.termux.com/wiki/Termux-setup-storage

關於手機的Root
https://www.androidcentral.com/root


2017年2月28日 星期二

Android Command line ( ASUS Zenphone)

Android 常用指令 與 linux 通用,不過 ifconfig已由 ip取代。

ASUS_T00F:/ $ ip help
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help } ip [ -force ] -batch filename
where  OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable | tunnel | tuntap | maddr | mroute | mrule | monitor | xfrm | netns | l2tp }
       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |   -f[amily] { inet | inet6 | ipx | dnet | link } |  -l[oops] { maximum-addr-flush-attempts } | -o[neline] | -t[imestamp] | -b[atch] [filename] |

指令範例:

查詢網卡資訊:
$ ip addr show
$ ip addr list rmnet0

顯示 Routing Table
$ip r
$ ip route
$ ip route show
$ ip route list

2017年1月20日 星期五

ASUS Zenphone 5 Mobile backup & firmware upgrade Android 4.4.2 to 5

1. 備份手機資料
directory: /DCIM /LINE_Backup /Pictures
LINE聊天記錄備份:
(1). 只能一個聯絡人或群組來備份,資料記錄在 /LINE_Backup目錄中,再轉存至雲端硬碟或SD卡中。
(2). 選擇全部備份的方式才能有匯入的選項。
其他電話聯絡人、photo、movie的資料綁定 Google帳戶或放雲端即可。

2. 下載適合的系統更新檔
https://www.asus.com/tw/Phone/ZenFone_5_A500CG/HelpDesk/
https://www.asus.com/tw/support/Download/39/1/0/2/32/
複製至手機的根目錄,移除USB,系統即可發現更新檔,進行系統更新。

3. Asus mobile function test
打開計算機,輸入 .12345+=


原先更新兩次都不順利,後來直接用 TW_3.24.40.87的 Firmware才解決,如果用TW_3.24.40.78來更新,可能會無法順利更新。

2015年5月16日 星期六

android Zenphone 5 如何自訂鈴聲(ringtones)、鬧鈴(alarms)、提示音(notifications)


開啟ASUS 檔案管理員,在內建儲存空間中(sdcard),media 目錄下建立以下三個目錄,再將mp3檔案放入以下目錄中,即可至[設定]的[音效]來選擇所要的音效。

鈴聲(ringtones)、鬧鈴(alarms)、提示音(notifications)


熱門文章