i want to start multiple sub activity with-in a single tabwidget. i also tried out some code, but it not works properly.
problem : when i switched from MainActivity --> A --> A1 --> A2 and again A2 --> A1 --> A ( i performed this activity switching operation around 2 to 3 times after that it gives me an error *like* *:* *StackOverFlowError * ) how can i resolve it..., Guys please help me... *: this is my logcat entry :* * * 09-13 16:29:21.391: E/AndroidRuntime(786): FATAL EXCEPTION: main 09-13 16:29:21.391: E/AndroidRuntime(786): java.lang.StackOverflowError 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6846) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1842) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewRoot.draw(ViewRoot.java:1407) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewRoot.performTraversals(ViewRoot.java:1163) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewRoot.handleMessage(ViewRoot.java:1727) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.os.Handler.dispatchMessage(Handler.java:99) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.os.Looper.loop(Loop * * -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en