import android.app.*;
import android.view.View.OnClickListener;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.widget.Button.*;
import android.widget.Button.*;
import android.content.*;
import android.net.*;

public class MainActivity extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button Button1 = (Button) findViewById(R.id.Button1);
Button1.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent myIntent = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://www.naver.com"));
startActivity(myIntent);
Button Button2 = (Button) findViewById(R.id.Button2);
Button2.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent myIntent = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://play.google.com/store/apps/details?id=com.snowbound.pockettool.free&feature=nav_result#?t=W251bGwsMSwyLDNd"));
startActivity(myIntent);
Button Button3 = (Button) findViewById(R.id.Button3);
Button3.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent myIntent = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://play.google.com/store/apps/details?id=net.zhuoweizhang.pocketinveditor&feature=search_result#?t=W251bGwsMSwxLDEsIm5ldC56aHVvd2VpemhhbmcucG9ja2V0aW52ZWRpdG9yIl0."));
startActivity(myIntent);
}
});}});}});}}
요렇게 햇는데
버튼1을 눌러야지만 버튼2가 작동하네요...
해결법좀요..ㅜ