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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:18:36+00:00 2026-05-27T02:18:36+00:00

Im working in a school project. I want the user to select categories to

  • 0

Im working in a school project. I want the user to select categories to be display in map. Im using toggle buttons and the user can select more than one. After the selection is done the user clicks a button that says display on map.

The map its supposed to display all the points from the selected categories.

I created a bundle for each button to be pass some dummy points to the mapActivity.

The problem is that in the mapActivity I dont know how to make the code to display only the selected categories. It displays all the categories in the map.

Here is a screen shot of the main Activity: http://imageshack.us/photo/my-images/831/screenshot20111128at226.png/

  • 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-27T02:18:37+00:00Added an answer on May 27, 2026 at 2:18 am

    Well this is how I wouldve done it:

    1. Pass the dummy points ( for which you are using the bundle) as extras to the intent that starts the map activity. The extras passed to the intent will depend on which toggle buttons are selected.
    2. In the onCreate() of your map activity get the values from the intents that the previous activity passed and add the points to an array list.
    3. Make the map use this array list for populating the overlays.

    This way everytime you start the map activity only the points passed via the intent would get added to the list and hence populate the map. No extra overlay will be added as they wouldnt have been passed into the intent in the first place.

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

Sidebar

Related Questions

I'm working on an ASP.NET project for a school. In one area I want
while working on a school project i ran into a problem using javascript to
I'm working on a school project desktop application in c# using Visual Studio 2010
I'm currently working on a school project in Eclipse (We have just started using
I am working on a school project using Spring MVC (Spring 3.0.0). Now everything
I am working on a school project with another two friends. I want an
I'm working on a school project in Java. I'm able to login user successfully
I am working a school project to implement a Huffman code on text. The
Im working on a school project and it's my first time on android development.
I am working on a school project (if you couldn't figure that out just

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.