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

  • Home
  • SEARCH
  • 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 6885365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:37:32+00:00 2026-05-27T05:37:32+00:00

I have an Activity where there’s a form to be fulfilled by the user.

  • 0

I have an Activity where there’s a form to be fulfilled by the user. It has some textfields and so on.

The user also needs to introduce the GeoLocation of the item. For that purpose I created another activity where the user will press and the app will take the coordinates of it.

Knowing this, which would be the best approach?

  1. The form activity has a button that calls the map activity and
    expects a result with the coortdinates. Will the values introduced
    in the form be there after coming back from the map activity?
  2. The
    form activity launches the map activity when the user has filled the
    form and clicked on next. The map activity receives all the date
    from the previous form and will be in charge or forwarding it to the
    server.

Which one is more reliable? And more efficient? Faster? Better structured? Do these options have any drawbacks? Is there any other approach that I didn’t consider?

  • 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-05-27T05:37:32+00:00Added an answer on May 27, 2026 at 5:37 am

    I think the first option is a better flow for the user, because it’s clearer when she wants to submit the form compared to option two where the ‘next’ step (and then submit) could be a bit confusing.

    With option one you will be in charge of filling the form with the coordinates, but it’s a very simple task with startActivityForResult: when the map activity returns the coordinates, onActivityResult will be called in your form activity, and from the intent (third parameter) you can retrieve the coordinates and show them in the form.

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

Sidebar

Related Questions

I have some problem with Android AsyncTask. There is an Activity which contains some
I have a table that essentially has: person activity-code activity-value There are multiple activity-codes
I have an activity, inside the onCreate() method there are some instances and some
I have an activity that starts a service. There is also a singleton Data
I have an activity with custom popup window (quickaction style). There are some buttons
I have an activity that has the following set as theme: android:theme=@android:style/Theme.Dialog However, there
I have an activity on the top of it there are some buttons from
I have an android activity where there is an EditText and as user types
Alright, so i have an Activity. In the activity there is a textview and
I have designed an activity in which there is a listView. I want that

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.