Java tutorial
//package com.java2s; import android.os.Build; public class Main { public static String GetDeviceInfo() { String deviceInfo = "Device={0};Hardware={1};ID={2};Model={3};Product={4};MANUFACTURER={5};User={6};"; return String.format(deviceInfo, Build.DEVICE, Build.HARDWARE, Build.ID, Build.MODEL, Build.PRODUCT, Build.MANUFACTURER, Build.USER); } }