android转页面

/**
         * 设置图片单机监听事件
         */
        imageView.setOnClickListener(new OnClickListener()
        {
            public void onClick(View view)
            {
                Intent intent = new Intent();
                intent.setClass(Dynamic.this, Speak.class);
                startActivity(intent);
            }
        });



<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mickey" android:versionCode="1" android:versionName="1.0">

<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
/> -->
<!-- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
/> -->
<!-- <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"
/> -->
<!-- <uses-permission android:name="android.permission.BATTERY_STATS" /> -->
<!-- <uses-permission android:name="android.permission.CALL_PHONE" /> -->
<!-- <uses-permission android:name="android.permission.READ_CONTACTS" /> -->

<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".Dynamic" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Speak" android:label="@string/app_name">

</activity>
</application>

</manifest>

你可能感兴趣的:(android)