1
カメラの画像に1つのPNG画像が表示されています。画像をタッチまたはクリックしたときにタッチ/クリックイベントを生成したい場合は、イベントハンドラでURLをブラウザで開きます。アンドロイドカメラでの画像のタッチイベント
/** Called when the activity is first created. */
@Override
ImageView iv=(ImageView) findViewById(R.id.test_image);
iv.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
Intent browserIntent=new Intent(Intent.ACTION_VIEW,Uri.parse("http://www.cdacb.in"));
startActivityForResult(browserIntent,0);
}