0

I had made android application for google map. and now i want to add/embed this application to my new android application. Please tell me how to move further on this? Thanx in advance

j0k
  • 22,600
  • 28
  • 79
  • 90
gangarmitesh
  • 45
  • 1
  • 6
  • specify more detail .. if you want to integrate you can simply copy package and xml file in respective directory and mention the permission in manifest like wise ... – Vipin Sahu Jul 04 '12 at 07:35

1 Answers1

0

You have to follow the following steps:

  1. Change your project build target of the destination application, Project -> properties -> Android -> Project Build Target and then select the Google APIS one.

  2. Copy all the files (java and xml) to the destination application source.

  3. Rename the files if they conflict with the existing files.

  4. I guess you should know this one, rename the destination activity's parent to MapActivity if you want to use MapViews.

  5. Enter in the AndroidManifest.xml: uses-library android:required="true" android:name="com.google.android.maps">

  6. Also enter the required permissions if you wish to use location updates: INTERNET, ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION

neetinnagap
  • 106
  • 1
  • 6