关于用于阅读出版物的移动应用程序的建议

发布于 2024-09-13 13:34:20 字数 548 浏览 12 评论 0原文

我正在考虑为 Android 和 Windows Phone 7 开发应用程序,允许用户阅读在线制作者的内容(报纸/杂志/博客等)。该提供商有一个 REST API,应该允许直接访问内容。我有几个问题:

  • 我看到了一个 OData 演示,其中从提要获取数据非常简单,不需要任何类型的解析。是否值得在出版物现有的 API 之上构建一个 OData 提供程序,只是为了让移动应用程序更轻松地获取数据?

  • 听说C++可以在wp7和Android上使用。是否有理由用 C++ 开发应用程序核心,然后用 C#/Java 与设备 API 交互?还是应用程序的核心逻辑层太薄弱,不值得这么麻烦?开发一个出版物阅读器应用程序似乎真的没有那么多 - 基本上只是提供所有数据的 API 之上的 GUI。

  • 或者,开发该出版物网站的移动版本是否更有意义?这样就可以为所有移动平台提供一项服务。与专门为移动设备构建的网站相比,在设备上运行的应用程序有哪些优点和缺点? (就像 iPhone 上的 Gmail、Google Docs 和 GTalk“应用程序”。)

谢谢。

I'm considering developing apps for Android and Windows Phone 7 that allow the user to read content from an online producer (newspaper/magazine/blogs etc). This provider has a REST API that should allow for straightforward access to the content. A few questions I have:

  • I saw an OData demo, where getting data from a feed was super easy, with no parsing of any sort required. Is it worth building an OData provider on top of the publication's existing API, just to make it easier for the mobile apps to get data?

  • I have heard that C++ can be used on wp7 and Android. Is there any reason to develop an app core in C++, then interact with the device APIs in C#/Java? Or is the core logic layer of the app so thin that it's not worth the hassle? It seems like there's really not that much to developing a publication reader app - basically just a GUI on top of an API that provides all the data.

  • Or, would it make more sense to just develop a mobile version of this publication's web site? Then there could be one service for all mobile platforms. What are the pros and cons of an app that runs on the device as opposed to a website specially built for mobile devices? (Like the Gmail, Google Docs, and GTalk "apps" for the iPhone.)

Thanks.

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

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

发布评论

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

评论(2

轮廓§ 2024-09-20 13:34:20

C++不是Windows Phone 7的开发语言。WP7有两个开发平台:Silverlight和XNA。不可能与 C++ 模块进行互操作。

C++ is not a development language for Windows Phone 7. There are two development platforms for WP7: Silverlight and XNA. There is no possibility of interop with a C++ module.

一腔孤↑勇 2024-09-20 13:34:20

据我所知,C++目前还不能用于开发WP7应用程序。在你尝试在交叉兼容性道路上走得太远之前,我会检查一下。

也就是说,WP7 和 iPhone 之间的 UI 确实非常不同 - 与后来编写良好的 UI 相比,后端代码非常小,我只需编写两个单独的应用程序即可。这看起来可能节省了时间,但要么您的应用程序看起来不属于一个平台或另一个平台,要么您将花费更多时间尝试保持兼容的内容在两个平台上正常工作。

As far as I know, C++ cannot currently be used to develop WP7 applications. I would check on that before you try to go too far down a cross-compatibility road.

That said, the UI between WP7 and the iPhone is really, really different - the backend code is so small in comparison to well-written UI later, I'd just write two separate apps. It may seem like a time savings but either your app is going to look like it does not belong to one platform or the other, or you'll be spending more time trying to keep the compatible stuff working OK on two platforms.

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