• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Application stopped unexpectedly.Logcat:Activity idle timeout

Hello Developers,

I am trying to create an app with 3 tabs (which I successfully did so using the tab layout tutorial here Developer Resources | Android Developers ... index.html.

Then I created an Activity for each tab. I am trying to insert a Google Map into the third tab so I have been importing and doing everything by the book.

But when the application runs I get the error: Application xxx has stopped unexpectedly.

When I use DDMS I don't get the error but when I launch the application the screen just stays blank and my logcat says:

CODE: SELECT ALL
07-04 18:01:24.596: WARN/ActivityManager(61): Activity pause timeout for HistoryRecord{406554c8 com.example.cabnow/.CabNow}


I'll show you my code here below.
THANKS IN ADVANCE.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones