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 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

I was just looking through some information about Google's protocol buffers data interchange format.
I'm looking for some information and a little history. I am writing a program
I'm looking for some information on Routing in MVC with C#. I'm currently very
I have done some searches looking for information about how to do logging with
I'm looking for a module or some way to obtain the information about the
Looking through some code I came across the following code trTuDocPackTypdBd.update(TrTuDocPackTypeDto.class.cast(packDto)); and I'd like
Can any one share some information about the sample application using hibernate for learning.
Thanks for all your help, as usual, i am looking for some more information...
I'm looking for some information about the roll-out of a python project that uses
I was looking for some technical information about how RequestInterceptor from the WCF REST

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.