我从网上获取 Rss Reader 解析的示例代码。但它在 iphone 但在 android 中工作正常
network.canDetectNetworkStatusChanges
这个不工作。请帮我解决这个问题。我想要适用于 android 的 rss 解析器。
Not knowing where you got the code and without seeing it, you probably could take out the network.canDetectNetworkStatusChanges bit and do some other method of testing to see if you have network access.
It's likely that you have a module that I wrote, but its kind of old. We published a blog post this week on Business apps and made a business sample app available that has a couple of RSS feeds in it. It has the latest version of my RSS module in it. I don't see where I'm using the network.canDetectNetworkStatusChange anywhere.
http://www.coronalabs.com/blog/2013/10/09/a-look-inside-a-sample-corona-powered-business-app/