Java tutorial
//package com.java2s; import android.os.Build; public class Main { public static String getPid() { StringBuilder pid = new StringBuilder(Build.MANUFACTURER).append(" ").append(Build.MODEL).append(" - ") .append(Build.VERSION.RELEASE); return pid.toString(); } }