keypad back button doesn't work

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

keypad back button doesn't work

Postby ashish » Sat Mar 28, 2009 12:12 pm

i have developed one applicaton in which i am using googlemap
my class is....


public class Googlemap extends MapActivity
{
}

it extends mapactivity.....

when i press back button on my phone keypad....activity doesn't quit......why??????
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Top

Postby Yinten » Mon Mar 30, 2009 10:46 pm

Are you overriding onKeyDown and returning true instead of false at the end?
Yinten
Developer
Developer
 
Posts: 27
Joined: Tue Jan 20, 2009 7:27 pm

Postby ashish » Tue Mar 31, 2009 12:44 pm

thanks yieten it works.. i don't know why i forget to return false.....
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Postby Yinten » Tue Mar 31, 2009 6:24 pm

Ha, I wasted a couple hours on a that typo in the past.
Yinten
Developer
Developer
 
Posts: 27
Joined: Tue Jan 20, 2009 7:27 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests