URL检测Adobe AIR的桌面小工具 [英] URL detection adobe air desktop widget

查看:148
本文介绍了URL检测Adobe AIR的桌面小工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的Adobe AIR中,我需要(urgente!)做Adobe AIR的一个小工具,监视我的导航,当我进入到一个特定的网站上的小部件会出现在我的屏幕前面的网址并显示一条消息。 问题是,我不知道怎么听使用的Adobe AIR(闪烁)我的浏览器当前的URL。

我试图用HttpStatusEvent,但我可以计算AUT如何从我的浏览器retireve的URL。

感谢名单!

 北卡罗来纳
 

解决方案

请参阅我的回答<一href="http://stackoverflow.com/questions/4174987/adobe-air-to-detect-url-of-active-browser-tab/4175106#4175106">this问题

这不会是容易的;它可能是不可能的。有与定时器和运行AIR / Flash播放器最小化的问题。事情慢下来,这是减少对计算机性能的拖累。空气中的背景相同的方式可能会不响应作为主动式空气将应用

在理论上,你可以写在AIR使用套接字代理,并设置本地浏览器路由通过代理的所有请求。这可能是不实际的广泛使用。

如果你有过,你要用来触发AIR应用程序中的网页控制,你也许可以把你的网页的SWF,然后使用LocalConnection浏览器SWF和AIR应用程序之间的通信,迫使AIR应用程序弹出。

I'm new in Adobe Air, I need (urgente!!!) to do a widget with Adobe Air that monitors the URLs where I navigate and when I enter to a specific site the widget appears in the front of my screen and display a message. The problem is that I don't know how to listen the current URL of my browser using Adobe air (flash).

I was trying with HttpStatusEvent but I can figure aut how to retireve the URL from my browser.

Thanx!!

   Carolina

解决方案

See my answer to this question

This wouldn't be easy; it may be impossible. There are issues with timers and running AIR/Flash Player minimized. Things slow down so it is less of a drag on computer performance. AIR in the background may not respond the same way as an Active AIR application would.

In theory, you can write a Proxy in AIR using sockets and set the local browser to route all requests through the proxy. That probably isn't practical for wide use.

If you have control over the web page that you want to use to trigger your AIR app, you might be able to put a SWF on your web page and then use a LocalConnection to communicate between the browser SWF and the AIR app, forcing the AIR app to pop up.

这篇关于URL检测Adobe AIR的桌面小工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆