public static final String SYSTEM_VERSION = "ro.wp.system.ver";
public static final String KERNEL_VERSION = "ro.wp.kernel.ver";
public static final String BOOTLOADER_VERSION = "ro.wp.bootloader.ver";
public static String getsystemPropertie(String key, String defaultValue){
Object propObj = null ;
try {
Class<?> systemProperties = Class.forName("android.os.SystemProperties");
Log.i("systemProperties", systemProperties.toString());
propObj = systemProperties.getMethod("get", new Class[]{String.class, String.class}).invoke(systemProperties, new Object[]{key,"unknown"});
Log.i("bootloaderVersion", propObj.getClass().toString());
}catch (Exception e) {
e.printStackTrace();
}
String prop = propObj.toString().toUpperCase();
return prop;
}
int emv_get_version_string(unsigned char *buffer, int bufferLength)