Android studio:如何通过单击按钮打开HTML文件

Android studio:如何通过单击按钮打开HTML文件

问题描述:

我对android很新。我正在制作一个android项目。在这个项目中,有几个按钮。每当我点击其中一个按钮时,每个按钮都必须打开一个特定的html文件。

我该怎么做?

任何帮助都将不胜感激!



我尝试了什么:



到目前为止,我已经学会了如何使用用于进行数学计算的按钮。

I am completely new to android. I am making an android project. In this project, there are several buttons. Whenever I click one of those buttons, each buttons will have to open a specific html file.
How can i do this ?
Any help would be appreciated !

What I have tried:

So far I've learned how to use buttons for doing some mathematical calculation.

转到 http://www.codeproject.com/KB/android/#Android+Tutorial+Contest [ ^ ],在这里您可以找到许多有用的教程。
Go to http://www.codeproject.com/KB/android/#Android+Tutorial+Contest[^], where you will find lots of useful tutorials.