Drag & Drop Pin on Map for Your Android Application

Hi all, I am very excited as I am very close to finish my first Android Application project.

From the past few days I have been working on it and truly this project has helped me learn a variety of stuffs including using various controls, external libraries, animations & my favorite Maps in android application. Personally I feel Map makes any application much smarter.

This application I have been developing uses Map to point users current location and it also allows to drag and drop the pin to any other location on the map and get address details for the position.

I love the way Drag & Drop Pin feature works on apple products (IPhone, IPod & IPad), specially the bouncy feeling it has and I wanted my application to have the same feel, but my bad, after searching for sometime on google I found that Google has not provided similar inbuilt feature for Android [I wonder why?], see the article here.

But as said in IT industry if client want it, it has to happen icon wink Drag & Drop Pin on Map for Your Android Application so after some more search I found another article that mentioned about a sample project which shows similar feature, see the article here. So I used the sample project and achieved the desired result. Though it does not have the same bouncy feel but it look good and satisfies the requirement.

I have created a sample Android project for everyone who may have similar requirement after now and also attached the source code for Android project here below.

Download Source : Drag & Drop Pin for Android App

Please feel free to contact me in case you face any problem, thanks for reading icon wink Drag & Drop Pin on Map for Your Android Application

VN:F [1.9.7_1111]
Rating: 8.8/10 (13 votes cast)
VN:F [1.9.7_1111]
Rating: +6 (from 6 votes)
Drag & Drop Pin on Map for Your Android Application, 8.8 out of 10 based on 13 ratings
Share and Enjoy:
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
  • services sprite Drag & Drop Pin on Map for Your Android Application
Posted in Android, General, Google Maps by ankitkedia at January 8th, 2012.
Tags: ,

16 Responses to “Drag & Drop Pin on Map for Your Android Application”

  1. Abhishek says:

    Thanks a lot!

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: +2 (from 2 votes)
  2. jie says:

    that’s freaking sweet. thanks!

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  3. Amit says:

    Thanks a lot very nice and useful code for MAP

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: +1 (from 1 vote)
  4. Ankit says:

    glad i could be of help :)

    VN:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  5. Matt says:

    incredibly easy. great job

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  6. parag says:

    Nice Job..

    VA:F [1.9.7_1111]
    Rating: 5.0/5 (1 vote cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  7. parag says:

    Nice Tutorial

    VA:F [1.9.7_1111]
    Rating: 5.0/5 (1 vote cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  8. Lipica says:

    Very Nice Tutorial

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: +2 (from 2 votes)
  9. kunal says:

    Owsun tutorial
    Thanks

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: +2 (from 2 votes)
  10. why there are a lot of errors? What is your “MapView”

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  11. Ankit says:

    I have provided a working example, also this example uses deprecated version of Google Maps SDK for Android, I will try to post an example with new one soon

    Cheers,
    Ankit

    VN:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  12. mayank says:

    I need a demo of map V2 with drag and drop please post this..

    Thanks

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  13. Ankit says:

    Hi Mayank,

    I have been staying busy for past couple of months, will try to post an updated example ASAP

    Cheers,
    Ankit

    VN:F [1.9.7_1111]
    Rating: 4.5/5 (2 votes cast)
    VN:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  14. mayank says:

    Thank Ankit

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  15. regeme says:

    Why I cant see the map?

    VA:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.7_1111]
    Rating: 0 (from 0 votes)
  16. Ankit says:

    the source code is outdated, it uses deprecated version on Google Map API. so probably that iss the reason you don’t see the map

    VN:F [1.9.7_1111]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.7_1111]
    Rating: 0 (from 0 votes)

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes