ITeye博客

用Preferences,通过xml文件跳转到另一个Activity

doll · 2010-01-15 15:19 · Android · 移动开发 · Markdown

我亲自没有测试过 但是看到发布的人测试过 原文地址:< http://groups.google.com/group/android-developers/browse_thread/thread/8ea1145c3c8b9c0b>

直接上代码


<Preference android:title="Internal activity"
		android:summary="This will launch internal activity">
		<intent android:action="android.intent.action.MAIN"
			android:targetPackage="com.doll.demo" android:targetClass="com.doll.demo.MyInternalActivity"
			android:data="mydata" />
</Preference>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。