Casio V-N500 Series Quick Start Manual page 52

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

Advertisement

4. Create a program.
Next, open the source of the activity.
Open in the order of SDKSample1 → src → jp.casio.vx.framework.sdksample1 from Package
Explorer, and
double-click MainActivity.java.
Figure 7.15
Correct MainActivity.java as shown below.
(For the specifications of the System library currently used, refer to the manual of the library.)
package jp.casio.vx.framework.sdksample1;
import android.os.Bundle;
import android.app.Activity;
import android.app.AlertDialog;
import android.view.Menu;
import android.content.Context;
import android.view.View;
import jp.casio.vx.framework.system.Api;
public class MainActivity extends Activity implements
View.OnClickListener
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.activity_main, menu);
{
52

Advertisement

Table of Contents
loading

This manual is also suitable for:

V-t500 series

Table of Contents