[Forwarding.java]

      Button goButton = (Button)findViewById(R.id.go);
        goButton.setOnClickListener(mGoListener);
    }

    private OnClickListener mGoListener = new OnClickListener()
    {
        public void onClick(View v)
        {
            Intent intent = new Intent();
            intent.setClass(Forwarding.this, ForwardTarget.class);
            startActivity(intent);
            finish();

        }
    };



[ForwardTarget.java]

-



[Manifest.xml]

//추가//

        <activity android:name=".app.ForwardTarget">
        </activity>



 

'old > API_Demo' 카테고리의 다른 글

APP_Activity_Persistent State  (0) 2010.03.15
APP_Activity_Hello World  (0) 2010.03.15
APP_Activity_Dialog  (0) 2010.03.15
APP_Activity_Custom Title  (0) 2010.03.15
APP_Activiy_Custom Dialog  (0) 2010.03.15
Posted by jazzlife
,