我正在学习如何从HEAD FIRST ANDROID制作Android应用程序。在一个章节中,我们将制作一个应用程序,该应用程序将在Android手机上显示NASA每日图像。我们在其中使用RSS feed。这本书说:
Go to "http://www.nasa.gov/rss/image_of_the_day.rss".
Save the page locally as .XML file.
Open it with Eclipse. Then this file will be opened by Eclipse's built-in XML file editor, which looks something like this:
但是,当页面另存为.XML
并用Eclipse打开时,它看起来像这样:
如何.XML
以所需的格式打开文件,如第一个图像所示?
要使用Eclipse XML Editor打开XML文件,请执行以下操作:
Project Explorer
窗口中展开您的项目文件夹Open With --> XML Editor
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句