English 中文(简体)
我怎么能将 go光地图和roid应用输入另一个roid项目?
原标题:How could I import a google maps android application into another android project?

目前我有一份申请,这只是一份标准和roid,但我想给它增加一些 go图功能。

因此,我创建了另一个项目,以掌握阿戈格尔地图APIC,并尝试和开发该图,使之达到它所需要的准确程度。

我的问题是,我首先需要能够打电话或操作地图应用以检索数据。

是否有可能从地图应用中建立一个图书馆,然后将图书馆输入我的第一个项目? 如果是的话,将如何处理?

如果没有,我如何在申请中执行?

就其价值而言,我将把它从菜单的纽州提一下。

最佳回答

If you want to make it into one app, you can copy the source and layout from the maps app into the main app, turn it into a separate Activity. Then use Intent to start the map activity, maybe pass some parameters and get result back to the main activity.

如果你重新使用eclipse 如何增加活动

http://www.vogella.com/articles/AndroidIntent/article.html”rel=“nofollow noreferer” 使用Intent的指南很少。

问题回答

如果你再次使用ec片,你可以正确地点击你的地图项目,去做房地产和大片;罗安德罗德,并在“伊斯兰图书馆”的屏幕底层检查盒子。 然后,在你的另一个项目中,你需要在同一地点进口这一图书馆项目。 您不在此核对箱子,就将点击“Add”并将图书馆项目添加到主机上。

在您对图书馆项目的发言中,您可能需要调整您的意图过滤器,以摆脱发射器的功能。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签