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
-~----------~----~----~----~------~----~------~--~---