Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    Nokia Developer Administrator hamishwillee's Avatar
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    1,774
    Nice question indeed - and winner of the current promotion. Well done.

    I was wondering if anyone in the thread would like to create a wiki article covering in more detail the ideas and concepts here? I think "How do I create a trial app in Windows phone" which explores the difficulty of getting unique identifiers, server vs local storage, limiting on functionality rather than uses, in app purchase/advertising could make a very good story.

    As a side note, I wonder if the in-app purchase could somehow be used here - ie is it possible to create a consumable (20 free goes) that can only be purchased once by a particular user?
    How can I help?
    Hamish Willee, Nokia Developer Community Manager, ext-hamish.willee@nokia.com

  2. #17
    Thanks Hamish for the device.

    Surly need a wiki article for creating a trial app with usage/time limited applications. Since there is no help in web for this condition.

    Binu

  3. #18
    Registered User Daniel Jones's Avatar
    Join Date
    Mar 2013
    Posts
    5
    Congrats binu for your Lumia..

  4. #19
    Nokia Developer Champion Shayan Rais's Avatar
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    59
    Hi binu_ji ;
    Nice Question and congrats for your Lumia

    Please can you share the code that how are you counting that the app is working for 20times.

    Thanks

  5. #20
    Nokia Developer Champion Loukt's Avatar
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    165
    Quote Originally Posted by Shayan Rais View Post
    Hi binu_ji ;
    Nice Question and congrats for your Lumia

    Please can you share the code that how are you counting that the app is working for 20times.

    Thanks
    You can do so easly by storing that in the IsolatedStorageSettings
    and putting it in the app launch event.
    Code:
    var settings = IsolatedStorageSettings.ApplicationSettings;
    bool reachedMax = false;
    if(settings.contains("AppUseCount"))
    {
        var i = (int) settings["AppUseCount"];
        reachedMax = (i>=20);
        settings["AppUseCount"] = i+1;
    }
    else 
    {
        settings["AppUseCount"] =1;
    }
    settings.Save()
    if(reachedMax) MessageBox.Show("You reached the trial limit.")
    but by uninstalling and installing the app again, the counter is back to 0 and the user can try it again.

  6. #21
    Quote Originally Posted by Shayan Rais View Post
    Hi binu_ji ;
    Nice Question and congrats for your Lumia

    Please can you share the code that how are you counting that the app is working for 20times.

    Thanks
    I used RadTrialApplicationReminder control from telerik, which take care of app usage counts.
    My Apps - http://www.windowsphone.com/en-IN/store/publishers?publisherId=Binu

  7. #22
    Nokia Developer Administrator hamishwillee's Avatar
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    1,774
    Hi Binu
    Quote Originally Posted by binu_ji View Post
    Thanks Hamish for the device.

    Surly need a wiki article for creating a trial app with usage/time limited applications. Since there is no help in web for this condition.

    Binu
    You're welcome. If you feel you could create such an article, I'd be happy to help tidy it up. Does anyone else volunteer?
    How can I help?
    Hamish Willee, Nokia Developer Community Manager, ext-hamish.willee@nokia.com

  8. #23
    The problem is i am an VB developer, and my code is also in VB. Is that ok?
    My Apps - http://www.windowsphone.com/en-IN/store/publishers?publisherId=Binu

  9. #24
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,680
    Quote Originally Posted by binu_ji View Post
    The problem is i am an VB developer, and my code is also in VB. Is that ok?
    That is absolutely no problem, and yes, using VB code in a Wiki article is perfectly ok.

  10. #25
    Nokia Developer Moderator joaocardoso's Avatar
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    503
    Quote Originally Posted by binu_ji View Post
    The problem is i am an VB developer, and my code is also in VB. Is that ok?
    I'm also an VB developer so I welcome VB articles
    Cheers

    João Cardoso

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Using the same UID for a trial version
    By spol in forum [Closed] Publishing to Nokia Store
    Replies: 4
    Last Post: 2009-09-03, 20:59
  2. I have got problem with my 90 day trial
    By aycan555 in forum Geolocation and Navigation
    Replies: 3
    Last Post: 2008-07-22, 08:00
  3. Time Trial
    By maozet in forum Mobile Java General
    Replies: 1
    Last Post: 2008-01-21, 17:04
  4. Limit Midlet usage
    By cprome in forum Mobile Java General
    Replies: 0
    Last Post: 2007-04-12, 10:07
  5. bh4-x trial driver
    By Never_Die in forum Bluetooth Technology
    Replies: 3
    Last Post: 2004-11-30, 11:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved