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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:23:01+00:00 2026-06-12T23:23:01+00:00

My app is basically used for scanning the QR code, first when user scan

  • 0

My app is basically used for scanning the QR code, first when user scan the qr code the product image,description,price and add to cart button is displayed.When the user click on add to cart button it proceed to another activity where he/she set product quantity,on the same activity more products icon is set,when the user click on that icon more products image is displayed here also add to cart button is placed when click on that button it proceed to another activity,where he/she set the quantity,my problem is that add to cart session is not maintained ,the previous products is not display in his/her shopping bag, the product which is select presently was store in shopping not prevoiusly.

Please help me ,how could i do this?

  • 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-12T23:23:03+00:00Added an answer on June 12, 2026 at 11:23 pm

    you asked a kind of vague question, so I assume you are looking for a strategy rather than specific code.

    There are two ways that I can think of that you could approach this. Basically you are looking to maintain information between activities. You could use an application class that stores your clicked items, or you could save the session activity into an sqlite database.

    I recommend the first option, the application level class. Basically this is a class that sits above all your activities, at application level, and is accessible to all of them as well as to services and broadcast receivers etc. I think of it as being equvilant to using SESSION variables in php.

    theres a link to an article on global variables in android via applications:
    http://trace.adityalesmana.com/2010/08/declare-global-variable-in-android-via-android-app-application/

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

Sidebar

Related Questions

How can I build an android app which basically get the inputs from user
well i basically cant add an app.config file to my win forms project. and
I am working on an app (my first one), which is basically a TabBar
I'm developing my first windows phone 7 app, and I've hit a snag. basically
I have an app that basically can be used to download, upload, and manage
I'm building the data model of my app and basically, for a given user,
So my app is basically a shell with a ContentControl that I populate with
I created a native Android app that basically hosts a webView control. That webView
I'm making a Android app that basically plays video from a website on the
I'm working on an interface with a 3rd party app that basically needs to

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.