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 966747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:12:29+00:00 2026-05-16T02:12:29+00:00

I am working on an application that tries to streamline data entry from a

  • 0

I am working on an application that tries to streamline data entry from a very repetitive process:

  1. Enter some details that require full-screen graphics and would be confusing if scrolled
  2. Enter some more atomic details
  3. Enter yet more atomic details
  4. Apply the accumulated data
  5. Go back to step 1

I am pretty sure that i can represent this as 3 separate Activities and then just fire up new Intents for each activity in each cycle. What I can’t yet get a sense of is whether this is a viable approach.

Question 1: If I do a fire-and-forget approach, how much of the resource management is going to be handled by Android? Will it just happily deallocate/reuse/etc. activities behind the scenes? Or is this something i have to manage myself?

Question 2: Is there a way to cause the reusing of activities so that only one instance of each activity is ever allocated and is just reused for each cycle?

Question 3: Can one manipulate the activity stack so that there aren’t ~100 (approximated number of expected cycles) cycles worth of activities on the stack? I’d like to be able to use the back key no more than three times and exit out of the data entry portion to a summary page.

Question 4: Can anyone suggest alternate approaches to the cycles of activities problem? I have considered view flippers and tabs, but wasn’t sure that would be better or not.

  • 1 1 Answer
  • 1 View
  • 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-05-16T02:12:30+00:00Added an answer on May 16, 2026 at 2:12 am

    Will it just happily
    deallocate/reuse/etc. activities
    behind the scenes?

    Yes.

    Is there a way to cause the reusing of
    activities so that only one instance
    of each activity is ever allocated and
    is just reused for each cycle?

    Try FLAG_ACTIVITY_REORDER_TO_FRONT on your Intent to launch the activity. Based on the docs, it should give you your desired behavior.

    Can one manipulate the activity stack
    so that there aren’t ~100
    (approximated number of expected
    cycles) cycles worth of activities on
    the stack?

    100? You must be expecting some very patient users.

    Regardless, FLAG_ACTIVITY_REORDER_TO_FRONT should cover that too.

    Can anyone suggest alternate
    approaches to the cycles of activities
    problem? I have considered view
    flippers and tabs, but wasn’t sure
    that would be better or not.

    Tabs aren’t great for things where you’re trying to enforce a flow, since tabs are designed for random (not sequential) access. ViewFlipper/ViewSwitcher could work, though then you have to manage BACK button functionality and make sure you’re not effectively leaking memory within the activity, since you’re expecting people to be using it for an extended period.

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

Sidebar

Related Questions

I'm working on a console application that tries to download some files from a
I m working on a console application that tries to download some files from
I am working on a ASP.NET web application that tryies to download some files
I'm working on an application that contains some buttons defined via layout.xml like this
I'm working on an iPhone application that involves uploading full photos from the camera
I'm working on a web application that is referenced from another, external application. The
I am working on an application that runs the live video taken from the
I've been working on some streaming software that takes live feeds from various kinds
I'm working on a small web application that will let users enter calendar events.
I'm working on a test application that will run an mp4 file from internet.

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.