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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:56:58+00:00 2026-05-19T13:56:58+00:00

I’m looking for some information regarding how I would create a demo period in

  • 0

I’m looking for some information regarding how I would create a demo period in my Android application. Essentially, I would like a user to be able to use my app for say 5 days. What sort of methods are available to be able to determine how long the user has had the application?

The only solution I can think of is to try saving something to shared preferences based on a date/time stamp from when the user started the app for the first time. Then each time they start the app, I grab this data from Shared Prefs and either enable/disable functionality accordingly. I’m not sure how exactly to get a time stamp into shared prefs though.

Unfortunately, there doesn’t seem to be much on Google…or I’m just using the wrong keywords.

Help! Thanks!

  • 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-19T13:56:59+00:00Added an answer on May 19, 2026 at 1:56 pm

    I implemented this using shared preferences. Obviously, as Scoobler suggested, the user can get around this. But as I also stated, this is the type of user that I would never get $0.99 from anyway.

    As I’ve learned over the past few months, I believe that my approach to this was wrong. Demo apps that expire just aren’t a real common thing in the marketplace. Instead developers create Ad supported and Lite versions of their applications. From what I’m seeing these tend to be more successful than demo period apps.

    Well live and learn…or is that code and learn… 🙂

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

Sidebar

Related Questions

All, I'm looking for some information on connecting a Flash (not Flex) application to
I've been looking for some mechanism through which I can fetch android app's information
I've been looking for some information regarding the scrapped ECMAScript 4th Edition without much
I looking for some information about the difference of the different session types available
I'm looking for some information on Arduino and UltraSonic Sensors. I'm considering getting the
I'm looking for some documentation on how Information Retrieval systems (e.g., Lucene) store their
I'm developping an application and I'm looking for some cool informations about protecting it
I am looking to parse some database information through a URL. Im not sure
Thanks for all your help, as usual, i am looking for some more information...
I'm looking at some image processing algorithms for white balance manipulations. Seems like a

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.