Casio V-N500 Series Quick Start Manual page 53

Hide thumbs Also See for V-N500 Series:
Table of Contents

Advertisement

return true;
}
public void onClick(View view)
{
jp.casio.vx.framework.system.Api sysapi
//Get model name of terminal
String modelName = sysapi.getModelNameString();
if(modelName.length() > 0) {
}else {
}
}
private static void showDialog(Context context, String title, String text)
{
AlertDialog.Builder ad=new AlertDialog.Builder(context);
ad.setTitle(title);
ad.setMessage(text);
ad.setPositiveButton("OK", null);
ad.show();
}
}
Save the source by Save All of the File menu after entering the source.
Figure 7.16
After saving the source, execute build. When any error occurs, correct as necessary.
= new jp.casio.vx.framework.system.Api(this);
showDialog(this,"SDK Sample",
"The model name of this terminal is "+ modelName);
showDialog(this,"SDK Sample","Can't get model name.");
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

V-t500 series

Table of Contents