I currently have an application, which is just a standard android app, but I wanted to add some google maps functionality to it.
So I created another project to get to grips with google maps API and to try and develop it to the point where it is doing exactly what i need it to do.
My issue is that i need my first app to be able to call or run the map application to retrieve data.
Is it possible to create a library from the map application and then import that into my first project? If so, how would i deal with calling it?
If not, how could I implement it into the application?
For what its worth, I would be calling it from a button in the menu.
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.
If you’re using eclipse here’s how to add activity
And a little tutorial for using Intent