package com.example.super_duckhunt;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

public class SQLView extends Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.view);
		TextView d=(TextView)findViewById(R.id.da);
		Data ob=new Data(this);
		ob.open();
		String data=ob.getData();
		Toast.makeText(this,ob.getData()+"result",Toast.LENGTH_SHORT).show();
		ob.close();
		d.setText(data);
		
	}

}
