Team, Below code is working as I need to select first View by pressing left arrow key which maked MapView as Current view and then pressing back button. It is getting called.
Thanks for your patience. Regards, _-_Mayank Rana_-_ On Jul 3, 11:04 am, mak <[email protected]> wrote: > Overlay Code: > > public class MyLocationOverlay extends > com.google.android.maps.Overlay { > �...@override > public boolean onKeyDown(int keyCode,KeyEvent event, MapView view){ > System.out.println("==============INSIDE onKeyDown > =============="); > if(keyCode == KeyEvent.KEYCODE_BACK) { > System.out.println("HMM....... Calling Your Key Event > \n"); > return true; > } > return false; > > } > > Do I need to call this method explicitly from MapView Acitivity or as > any keydown this will get called ? > > Appreciate your input on it. > > Regards, > _-_Mayank Rana_-_ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

