简体   繁体   English

在移动Flex应用程序中使用Internet

[英]Using the Internet in a mobile Flex application

I am building a mobile Flex application, and I need to access the internet during my program in order to return some data in a pdf file. 我正在构建一个移动Flex应用程序,我需要在程序运行期间访问互联网,以便以pdf文件形式返回一些数据。

First of all, I want the application to use the internet in the background. 首先,我希望应用程序在后台使用互联网。 So, I do NOT want the app to transfer to the web browser. 因此,我不希望该应用程序传输到Web浏览器。

Also, my app allows the user to enter certain information, which will be needed to access the website ie username and password. 另外,我的应用程序允许用户输入某些信息,这将是访问网站所需的信息,即用户名和密码。 I want this information to be entered automatically without the user going to the website and entering the information. 我希望自动输入此信息,而无需用户访问网站并输入信息。

Lastly, is there a way I can get the information off of the pdf file, or do I have to return the entire file to the user? 最后,有没有办法我可以从pdf文件中获取信息,还是必须将整个文件退还给用户?

As you can probably see, I am extremely confused about how to access the internet with my specific requirements. 您可能会看到,我对如何满足自己的特定要求感到非常困惑。 I have heard about HTTPService and navigateToUrl... but I don't know which is more suitable for my conditions. 我听说过HTTPService和navigationToUrl ...,但是我不知道哪种更适合我的情况。

Thanks for all of your help (this is my first Flex program) :) 感谢您的所有帮助(这是我的第一个Flex程序):)

如果您不想使用来切换应用程序或其他功能,请使用简单的URLLoaders并在后台加载页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM