Skip to main content

Android - Google MAP V2 PART 4 (Google Map V2 Direction)






before go ahead check all articals.





for support all Android OS Version I have used ActionBarSherLock library.


Do not forgate to generate Google MAP API KEY and add Google Play services library.




Note: this code is only work in Android Device not in Android Emulator




Comments

  1. where's ActionBarSherLock library target path ?? N how to use this library??

    ReplyDelete
    Replies
    1. How use actionbarsharelock ---> http://actionbarsherlock.com/usage.html

      How use library project in our project ---> http://www.vogella.com/articles/AndroidLibraryProjects/article.html

      Best Luck...

      Delete

Post a Comment

Popular posts from this blog

Share Text To Facebook & Twitter ANDROID

Shaadi.com Indian Matrimonials Before Create this app you must Have to create Application on FACEBOOK & TWITTER Download Code

Multi-Selection ListView ANDROID with CheckBox

Shaadi.com Indian Matrimonials Download code Create New Android Project: in res/layout/main.xml create new layout for list row : in res/layout/list_row.xml in your Main Activity Class: Create Class name mItems: Create New Class name SelectViewHolder: Create New Class name SelectArrayAdapter: Download Source Code Click Here : Check PART2 for more detail. Shaadi.com Matrimonials

Android - Google MAP V2 PART 2

Download Full Code  of  PART-1 , 2 , 3 , 4 Before do this check part 1 Note : I have to run this in API 8 to API 17 that why i have used  ActionBarSherlock  support library. if you don't want that then replace it.  In main Activity i have added following code. package com.djandroid.mapsv2; import android.os.Bundle; import android.support.v4.app.FragmentManager; import com.actionbarsherlock.app.SherlockFragmentActivity; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.GoogleMap.OnMapClickListener; import com.google.android.gms.maps.SupportMapFragment; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.MarkerOptions; public class MainActivity extends SherlockFragmentActivity { private GoogleMap MAP; @Override protected void onCreate(Bundle arg0) { // TODO Auto-generated method stub setTheme(R.style....