Java tutorial
//package com.java2s; import android.os.Build; import java.net.URLEncoder; public class Main { public static String getEncodedPhoneModel() { String model = ""; try { model = URLEncoder.encode(Build.MODEL, "UTF-8"); } catch (Exception e) { } return model; } }