Sreedev
Sreedev

Reputation: 6653

Max number Activities support in android?

I created an application with tab and many number of activities and child activities.But am getting an StackoverFlow error.Its because more number of layers of activity remaining in the stack.Now am planing it to rebuild with separate activities.Near to 30 activities will be needed for the app and I have also more functionalities in activities.So I want to know is there any limit for the number of activities.If not will any thing happen to app if the the number of activities are more than 25 like memory issues and stackoverflow.if yes what is the limit of the number of activities in app.

Looking for good advices

.Thanks in advance...

Upvotes: 3

Views: 1433

Answers (1)

Aju
Aju

Reputation: 4599

We can have any number of activities, but good to limit max to 25 activities (as Google suggests). We can reduce number of activities by using Fragments. I hope this will help you.

Upvotes: 3

Related Questions