在 Android 上使用 GData 和 Google Analytics

发布于 2024-08-29 10:38:12 字数 152 浏览 9 评论 0原文

我想知道我有什么选择使用 GData,特别是 Android 上的分析 api 来构建一个小部件。经过一段时间的搜索后,我找不到任何有合适示例的库。

是否有任何专门的库提供一些不错的示例/ doco 来完成此类事情?我想以 1.5 为目标,但如果只是 2.0,我想那也可以。

I am wondering what my options are for using GData and specifically the analytics api on android to build a small widget. After searching around for a while I couldnt come up with any libraries with decent examples.

Are there any dedicated libraries with some decent examples / doco to do this sort of thing? I would like to target 1.5 but if the are 2.0 only I guess that is fine too.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

悸初 2024-09-05 10:38:12

此处是支持 Android 的 Google API 库。它支持所有 Google API(包括 gdata)。我认为它还没有专门用于 Analytics 的 GData 抽象,因此您可能必须熟悉数据源的外观,您可以这样做 此处

Here is a Google API library that supports Android. It supports all Google API's (including gdata). I don't think it has GData abstractions specifically for Analytics yet, so you might have to familiarize yourself with how the data feed looks, which you can do here.

青巷忧颜 2024-09-05 10:38:12

请尝试 google-spreadsheet-lib-android< /a>

虽然它是为 SpreadSheet 编写的,但您可以按照此方法访问 Google 的其他服务 API。目前它支持 SpreadSheet 和 Document List API,并且根据需要我计划添加更多 API 支持。

GData API 不适用于 Android,因此没有直接的解决方案。

希望有帮助。

干杯,
普拉桑塔

Please try google-spreadsheet-lib-android

Though its written for SpreadSheet, but you can follow this approach to access Google's other service API. At present it support SpreadSheet and Document List API and based on need I am planning to add more API support.

GData API doesn't work on Android, so no straight forward solution.

Hope it helps.

Cheers,
Prasanta

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文