可以在Android上使用GoogleFinanceAPI吗?

时间:2010-08-10 04:15:26

标签: java android xml-parsing feedparser google-finance-api

我一直在寻找明确的答案,但还没有找到答案。似乎简单的答案是“不”,因为GoogleAPI使用了太多未包含在Android中的Java类。

如果是这种情况,那么我需要问另一个问题:解析“http://www.google.com/finance/”信息的最佳方法是什么?

1 个答案:

答案 0 :(得分:1)

http://code.google.com/p/google-api-java-client/允许访问权限。您需要进行身份验证,然后您可以使用该lib中的Atom解析器来解析源。您应该使用SyncAdapter模型来缓存通过API获取的数据。

相关问题