Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8832431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:31:37+00:00 2026-06-14T08:31:37+00:00

Simple question: When should I use a new activity, when a new tab, when

  • 0

Simple question:

When should I use a new activity, when a new tab, when new app? I am asking from a “resources” point of view here.

I know that, obviously, the answer should depend on the app. But how and why?

Example: I am writing a gallery app to show my pictures. In one “page”, I enter the search regexp (to be matched against the filename). The result is a list of filenames, each of which has a thumbnail too. Then, after retrieving the result, a second “page” should open, showing a grid view with the thumbnails. When a thumbnail is clicked, I want a third “page” to open, with the actual big picture, fullscreen.

So, I have 3 “pages”. Which is the “best” way of implementing this: as 3 tabs? As 3 separate activities that open when needed? Or maybe the last two “pages” as tabs in a separate app?

Here, by “best” I mean from a resources/CPU/memory/lag point of view. I understand that each method gives different user experiences (swiping, for example, makes more sense with tabs), but I am not referring to this. I’m referring to speed.

I hope my question makes sense, and that I made myself clear….

Thanks!!!

L.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:31:38+00:00Added an answer on June 14, 2026 at 8:31 am

    No difference between using tabs or not. In Android, even when you are using tabs, only one activity is active and visible at any moment on the screen and the other activities associated with the other tabs are hidden away and can be destroyed at any moment if the resources become to low. You should see the use of the tabs only as a menu that remains visible at any moment but with the disadvantage that they grab up some valuable screen space.

    For the use of different applications or not; there is not much of a difference when it comes to the activities themselves: it’s not because that the activities are associated with different applications that they will be destroyed earlier or faster when the user will switch from one activity to another. However, beside the activities, the application itself requires some resources; so it’s clear that starting three activities associated with three different applications will require more resources than three activities associated with the same application.

    I never saw a comparaison of the resources required for an application and the starting of any of its activity; so I cannot tell you if adding unecessary supplemental applications to your activities will grap up much more resources or not in comparaison to the resources required for the activities themselves.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question is really simple. When should I use List, IEnumerable and ArrayList. Here's
I'm new to Java so I have a simple question that I don't know
Simple question, if you use the Html Helper from ASP.NET MVC Framework 1 it
Okay, so this should be a simple question, but I'm fairly new at programming,
I'm quite new into groovy / grails world, so forgive for asking simple question.
I have a very simple yes no question: should static methods have same result
Simple question, I should think. Unfortunately, I couldn't figure out how to get it
This should be a simple question, but I just can't recall the relevant API.
This should be a simple question, but I can't get it to work :(
This should be a simple question, but I just can't seem to figure it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.