是否可以在 Archos 101 平板电脑上使用 Google 地图进行开发
我正在开发一个需要使用 Google 地图的项目,该项目针对运行 Android 操作系统的平板电脑。我们购买了一台 Archos 101 互联网平板电脑来测试我们的实现,但我很快注意到,我安装的任何使用 Google 地图的应用程序在启动时都会立即崩溃(在扩展 MapActivity 的类上抛出 ClassNotFoundException)。然后我了解到 Archos 不是“Google 认证”设备,并且显然不支持 Google Maps API。
据我了解,我们可能需要购买一台已确认可与 Android 版 Google API 配合使用的平板电脑。
我想知道是否有人尝试过在这些平板电脑上开发 Google 地图应用程序?
作为后续,您建议使用什么平板电脑来开发 Google 地图应用程序?
编辑:我已在 Android 模拟器和 Nexus One 手机上成功测试了相同的实现。我想强调的是,问题似乎是 Archos 101 平板电脑上缺乏对 Google 地图的支持。另外,这只是一个原型,我们还没有为市场开发任何东西,因此在这种情况下,解决方法是可以接受的。
I am working on a project which requires the use of Google Maps and is aimed for tablet PCs running the Android OS. We have purchased an Archos 101 Internet Tablet to test our implementation, but what I have quickly noticed is that any application that I install which uses Google Maps immediately crashes on startup (throwing a ClassNotFoundException on the class which extends MapActivity). I then learned that Archos is not a "Google-certified" device and apparently does not support the Google Maps API.
I understand that we may need to acquire a Tablet which is confirmed to work with Google APIs for Android.
I wanted to know if anyone has ever tried to develop a Google Maps application on one of these tablets?
As a follow up, what tablet would you suggest for developing a Google Maps application?
EDIT: I have tested the same implementation successfully on both the Android Emulator and a Nexus One phone. I want to stress that the issue seems to be the lack of support for Google Maps on the Archos 101 tablet. Also, this is just a prototype, and we are not developing anything for the market quite yet, so the workaround is acceptable in this case.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ARCHOS 平板电脑没有 Google 地图,因此您无法使用这些平板电脑开发使用 Google 地图插件的应用程序。但是,您可以在
WebView
或其他内容中显示经典的基于 Web 的 Google 地图。任何合法拥有 Google 地图和 Android Market 的平板电脑。如果您有 Android 市场开发者帐户,并且该设备显示在过滤掉这些设备列表中,则它合法拥有 Android 市场。
我会认真考虑 Honeycomb 平板电脑,因为这将是大多数平板电脑设备将来运行的操作系统风格。
ARCHOS tablets do not have Google Maps, and so you cannot develop apps that use the Google Maps add-on using those tablets. You can, however, display classic Web-based Google Maps in a
WebView
or something.Any tablet that legitimately has Google Maps and the Android Market. If you have an Android Market developer account, if the device shows up in the filter-out-these-devices list, then it legitimately has the Android Market.
I'd seriously consider a Honeycomb tablet, as that will be the OS flavor that most tablet devices will be running in the future.
尽管我所做的所有研究都表明这是不可能的,但我的同事坚持不懈,我最终找到了一个我认为应该分享的解决方法。
我找到了一个软件包,可以将必要的组件安装到 Archos 上,以支持 Google Apps 功能。我使用的版本可以在此处下载.
使用
adb install
安装 apk 后,我运行该应用程序并单击“仅安装核心应用程序”。重新启动后,我尝试再次运行我的 Google 地图程序,结果成功了。编辑:此“解决方法”可能不再有效,因为该包的链接已被删除。尝试搜索 Android 版 Google Apps 安装程序(版本号)。
Despite all the research I had been doing pointing to the conclusion that this was impossible, my peers persisted, and I did end up finding a workaround that I thought I should share.
I found a package which installs the necessary components onto the Archos for it to support Google Apps functionality. The version I used can be downloaded here.
After installing the apk using
adb install
, I ran the app and clicked "Install only core apps". After rebooting, I tried to run my Google Maps program again, and it worked.EDIT: This "workaround" may no longer be valid as the link to the package has been taken down. Try searching Google Apps Installer for Android (version number).