2012-02-03 2 views
0

나는 startActivity를 통해지도를 다음과 같이 표시하고 있습니다.Google지도에서 onresume을 재정의하는 방법

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
Uri.parse("http://maps.google.com/maps?  
saddr=20.565442,80.35622213&daddr=21.24363633,80.7655222")); 
intent.setClassName("com.google.android.apps.maps","com.google.android.maps.MapsActivity");  
startActivity(intent); 

그리고 정상적으로 작동합니다. 그러나 onresume과 onpause를 어떻게 오버라이드 할 것인가?

답변

0

원하는 경우 사용자 고유의 MapActivity를 구현해야합니다.

관련 문제