向我的 Android 应用程序添加帮助窗口
我需要向我的 Android 应用程序添加一个帮助窗口。 但实际上我不知道如果有最佳实践或一些准备对象该怎么做。
我只是想在应用程序菜单中添加一个帮助选项,当选择它时就会显示帮助。最好的方法是什么?
我考虑了几种解决方案,但我不确定它们是否好。
- 添加另一个仅包含文本视图或 Web 视图的活动,并打印帮助的内容
- 使用对话框?也许是自定义对话框?
- 启动 Web 活动并从 Web 检索帮助页面。
它们是好主意吗?顺便说一句,向 Android 应用程序提供基本帮助页面的最佳方式是什么?
谢谢。
i need to add an help window to my android application.
But actually i don't know how to do it if there is a best practice, or some prepare objects.
I simply want to add an help option in the application menu, and when it is chooesed the help is showed. What is the best way to do that?
I think about several solution, but i'm not sure they are good.
- Add another activity that contains only a text view or a webview and print the contente of the help
- Use a Dialog Box? Maybe a custom dialog?
- Launch a web activity and retrieve the help page from the web.
They are good ideas? Btw what is the best way to provide a basic help page into an android application?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您的帮助量小并且不需要格式化,则适合
适合格式化文本、大量文本,并且不需要互联网连接或您的服务器当用户想要获得帮助时出现
是最灵活,因为您可以更改帮助信息而无需更新应用程序,
但需要专用网页和互联网连接。
现在是你的选择了。我个人的偏好是#2。
Is suitable if your amount of help is small and does not need formatting
Is good for formatted text, bigger amounts of text and does not require internet connection or your server to be present when user likes to have help
Is the most flexible, as you can change help information without updating application,
but requires dedicated web page and internet connection.
Now it's your choice. My personal preference is #2.
您想要做的是制作一个包含所有帮助信息的 xml 布局,然后创建一个显示它的活动,如果您需要代码帮助,请问我。
What you want to do is make a xml layout containing all the help information and just create an activity that displays it, if you need help with code just ask me.