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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:57:03+00:00 2026-05-17T14:57:03+00:00

In the included LVL sample app, the license check is triggered during onCreate. This

  • 0

In the included LVL sample app, the license check is triggered during onCreate. This means that when I click “Buy App” to launch the market, then immediately hit the back button to return to the app, the dialog is gone and another check isn’t performed, leaving me with a perfectly usable app (at least until the activity is killed and the process starts over again).

Would triggering the license check during onResume() be bad form, even though it would fix this issue? Is there a better solution?

  • 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-17T14:57:04+00:00Added an answer on May 17, 2026 at 2:57 pm

    After further research (and some experience) it appears that using onCreate() to check the license is fine. If you’re sticking with the dialog method, adding finish() to the function that goes to the market will ensure that somebody can’t just “back” into the app from the market and use it normally. They’ll have to re-launch the app, which then triggers the license check again.

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

Sidebar

Related Questions

I included a repeater in my master page. The repeater has a button that
My included file (include.php) is this: <?php $myarray=(a,b,c); shuffle($myarray); ?> My main php file
I've included a mobile web form in my asp.net project, I thought that it
What library should be included to use TransparentBlt? This is VC98 (Visual Studio 6)
I have included a resource in my Visual Studio 2005 solution that was a
Background: Included so people don't ask Why on earth I am doing this! I
I included ActionBarSherlock as a library. Added this in manifest.xml: <application android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/Theme.Sherlock>
i need to use Base64 on my app (import android.util.Base64;) but Base64 was included
I included some adsense code in my google chrome extension popup file. Unfortunately this
I included mootools le this <script language=javascript src='<%# ResolveClientUrl(~/Scripts/mootools-core-1.3.1-full-compat.js)%>' type=text/javascript/> It compiles but when

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.