×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    6

    When uninstalling, how to ask whether user wants to remove app data completely or not

    Hi!

    I'm making an game which stores high scores in [gamename].conf file.

    In Ovi Store entry requirements, it is said that

    "Verifies if the user wants to delete any related user content before application uninstallation "

    So, how this can be achieved? What must I do to be able to ask the user whether he wants that data file to be removed, i.e., wiping out the application completely, when removing the application and its data? Shall I make somekind of a script or a binary just for asking that question? Or is there any framework for it?

    The conf file is not large in size.

    Another question is that the .conf file is currently stored in the following folder:

    resultPath = QDesktopServices::storageLocation(QDesktopServices:ataLocation);
    QString tmpPath = resultPath.left(resultPath.lastIndexOf('/'));
    qDebug() << "tmpPath" << tmpPath;

    ("tmpPath /home/developer/.local/share//data/")

    Is this ok path?

    In Harmattan Data Storage document , it is said that The XDG Base Directory Specification is supported, although the environment variables stated in XDG specs are not set, at least in the terminal. Why?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: When uninstalling, how to ask whether user wants to remove app data completely or

    Hi,
    No idea why that requirement is there since it's not really possible to achieve that.
    Just leave your config file there. It should not be a problem for QA!
    Last edited by gnuton; 2011-10-20 at 11:58.

Similar Threads

  1. [moved] How can I remove a task from scheduler when uninstalling the an application?
    By jose_yallouz in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2010-01-25, 18:41
  2. Prevent user from uninstalling application
    By juannoguera in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2009-07-12, 12:11
  3. Replies: 9
    Last Post: 2008-10-30, 07:27
  4. Replies: 2
    Last Post: 2004-09-15, 22:47
  5. Replies: 1
    Last Post: 2002-05-24, 06:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •