Android活动组使用

发布于 2025-01-07 17:53:31 字数 80 浏览 4 评论 0原文

如何在android应用程序中使用活动组,以便不同的活动能够按照意图进行导航?任何人都可以给我更好的编码示例来在 android 中使用活动组吗?

how to use Activity Group in android application so that the different activities are able to navigates with the intent ?? can any one give me better coding example to use activity group in android ??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

数理化全能战士 2025-01-14 17:53:31

如所述 ActivityGroup 已弃用。如今,Android 开发人员正在使用 FragmentsFragmentManager

它们使用起来非常简单,处理起来也更灵活。如果您想向下兼容,可以使用 compatibility-library

as stated ActivityGroup is deprecated. Nowadays Android Developers are using Fragments with FragmentManagers.

They are pretty simple to use and more flexible to handle. If you want to have downwards compatibility you're able to use the compability-library

抠脚大汉 2025-01-14 17:53:31

我希望您正在尝试根据特定要求扩展项目中的 ActivityGroup?如果是这样,以下有关 TabActivity 和 ActivityGroup 的教程可能会对您有所帮助。
http://blog.henriklarsentoft.com/2010/07/android- tabactivity-nested-activities/

这是我发现有用的另一个示例:

http://ericharlow.blogspot.com/2010/09/experience-multiple -android-activities.html

I Hope you are trying to extend ActivityGroup in your project with specific requirements? If so, the following tutorials with a TabActivity and ActivityGroup may help you.
http://blog.henriklarsentoft.com/2010/07/android-tabactivity-nested-activities/

here is a another example I found useful:

http://ericharlow.blogspot.com/2010/09/experience-multiple-android-activities.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文