分類
Uncategorized

取得手機基本資訊(SDK,手機名稱,製造商名稱…)

Android 手機上的基本硬體資訊可由 android.os 套件中提供的類別來取得,其中的 android.os.Build 類別可取得相當多的資訊,如主機板,手機名稱,內部識別碼等等,相關範例如下

          Log.v(tLog,""+Build.VERSION.SDK_INT); // phone SDK version
          Log.v(tLog,""+Build.MODEL); // phone name
          Log.v(tLog,""+Build.MANUFACTURER); // phone manufacturer
          Log.v(tLog,""+Build.BOARD); // phone mother board
          Log.v(tLog,""+Build.BRAND); // phone brand

第 1 行取得手機上目前 Android SDK Version
第 2 行取得手機名稱,如 HTC Incredible S
第 3 行取得製造商名稱,如 HTC
第 4 行取得手機的主機板名稱,如 vivo
第 5 行取得手機的品牌名稱,如 twn_tw

在〈取得手機基本資訊(SDK,手機名稱,製造商名稱…)〉中有 1 則留言

You need targeted traffic to your Vulpes | 取得手機基本資訊(SDK,手機名稱,製造商名稱…) website so why not get some for free? There is a VERY POWERFUL and POPULAR company out there who now lets you try their traffic service for 7 days free of charge. I am so glad they opened their traffic system back up to the public! Sign up before it is too late: http://kout.eu/2y9i

留言功能已關閉。