Scoreloop achievements do not save?

Hi, I have worked with scoreloop and the code example provided by RIM... I have scores (submit and retrieve) work. But prices achievements I find a bit odd.

The prices obtained are saved to a local package and then you're supposed to synchronize them. I don't get any sync errors, so I guess it's work. Local bundle is updated and things are granted. But nothing shows in the hub of "Games" on the dev (done score) alpha

However, if I uninstall the application and then re-install, all prices on unfinished back. Even though things are synchronized again (for example a new price is earned and is displayed correctly, but not any previous won award before uninstallation are not displayed).

Looks like things are not sync, but no error is returned, so would it be a matter of scoreloop recording do not?

What might be missing?

To load achievements...

   SC_Error_t rc = SC_Client_CreateAchievementsController(app->client, &app->myAchievementsController, LoadAchievementsCompletionCallback, app);
    if (rc != SC_OK) {
        HandleError(app, rc);
        return;
    }

    /* Get the session from the client. */
    SC_Session_h session = SC_Client_GetSession(app->client);

    /* Get the session user from the session. */
    SC_User_h user = SC_Session_GetUser(session);

    //Load achievements for the local awards bundle
    rc =  SC_AchievementsController_LoadAchievements(app->myAchievementsController, user);

To retrieve their rappel...

SC_AchievementList_h achievementList = SC_AchievementsController_GetAchievements(app->myAchievementsController);

To synchronize a new...

rc = SC_LocalAchievementsController_SetAchievedValueForAwardIdentifier(app->achievementsController, awardIdentifier, &achieved);
        if (rc != SC_OK) {
            SC_LocalAchievementsController_Release(app->achievementsController); /* Cleanup Controller */
            HandleError(app, rc);
            return;
        }

        if(Global::instance()->getIsInternetAvailable()) {
            if (SC_LocalAchievementsController_ShouldSynchronize(app->achievementsController) == SC_TRUE) {
                rc = SC_LocalAchievementsController_Synchronize(app->achievementsController);
                if (rc != SC_OK) {
                    SC_LocalAchievementsController_Release(app->achievementsController); /* Cleanup Controller */
                    HandleError(app, rc);
                    return;
                }
                qDebug() << "Synchronizing Achievements...";
            }
        }

Found the problem... I was releasing the controller too early

SC_LocalAchievementsController_Release (app-> achievementsController);

Tags: BlackBerry Developers

Similar Questions

  • Suddenly, MB Pro can not save on Time Capsule

    A month earlier, out of nowhere, I get a time error message:

    "Backup failed."

    Time Machine could not save in "XXX Time Capsule."   Then in details:

    "Time Machine could not complete the backup for"XXX Time Capsule".

    "The backup disk image" / Volumes/XXX of MacBook Pro (4) .sparsebundle of the Time Capsule/XXX ' could not be found (error (null)) "." "

    Have restarted the T.C. and just updated the firmware - no help.  OS X version is up-to-date.  Nothing has changed I know. Full to 98% of the time Machine, but it has been like this for a long time and just deletes old entries, as it should.

    Any thoughts?  I was able to empty the contents of the time capsule, I suppose, if being near capacity could be the culprit.   ???

    Thank you!

    Being near capacity should not be the problem, but of course, everything is possible.

    If Time Machine backups are essential for you, I suggest that you check first of all in existing ones to another drive. Then erase the time Capsule drive and start a new Time Machine backup.

    You can do both archive and delete measures directly from AirPort Utility, as follows:

    • Run the AirPort Utility and then select the time Capsule.
    • Select Edit.
    • Select the disks tab.
    • For the process of archiving, select Archive disk...
    • For the delete process, select erase disc...
  • History and cache does not save

    Recently, my firefox does not save browsing history and cache. Cookies, bookmark and other preferences are good.

    I tried all of the solutions that I can find. Reinstall, reset, delete user, disable the addon, change the config of privacy, etc.

    Y at - he viruses that delete browsing history? Another browser is good. Or maybe my OS?

    If you have the solution, I am very grateful.

    Thank you and sorry for my bad English.

    I don't know that I'm not and thanks for your reply.

    I have uninstall system utility app and my problem is solved.

    I still don't know why this happen, cause all this time this problem never happen.

  • Firefox does not save bookmarks. I have reset Firefox and reinstalled.

    Firefox does not save bookmarks. I have reset Firefox and reinstalled.

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • Why FIREFOX will not save my HISTORY of parameters of USE CUSTOM settings?

    It is very very annoying. I'm ready to throw the bucket of bit of this program.
    I use it to access facebook and play farmville. I need to not FORGET things so that whenever I load farm town should not have their server stuff...

    Whenever I open fire fox and go to the who's who and load farmville I get a message that says I can load faster if I allow them to store data on my computer...

    I go into the settings of firefox and find that my history preferences won't save 'USE the PERSONALIZED SETTINGS.

    I need to change every time. I have the 32-bit and 64-bit of Nightly (beta version) on my computer.
    I completely removed those two, restarted windows 7, rebooted again, re-installed fire fox and it STILL happens...

    Why? I'll be darn if I use Solution Explorer, but at least it will SAVE the settings and gets their damn!

    Hello

    See the article How to fix preferences that will not save.

    Make sure you have not a user.js or mozilla.cfg file set your preferences each time you restart Firefox.

    Unrelated to the question: you have multiple Adobe Shockwave for Director Netscape plug-in is installed - some navigation problems may be experienced with several versions of the same plugin. Uninstall older versions.

  • Could not save the privacy settings!

    I go into 'Settings '. On the 'privacy' in 'history' written ' Firefox: will be remembered in history. " Change to "use... custom parameters. ». Click OK. And then I go into 'Settings '. And behold, it is written: "Firefox: will be remembered in history," that is, the parameters are not changed, even if I changed the. What am I doing wrong and how fix it, please show me.

    Hello

    See the article How to fix preferences that will not save for clues that could help. It could just be that a file is set to read-only.

    Let us know if you find out what causes the problem!

  • When I select "keep without history", firefox will restart but does not save it.

    I use the french version so maybe that some translations are not correct. what I'm trying to do is to forefow delete or simply not save history after that I go to a page. It is said that firefow must restart to save the change, I agree, and when it restarts, nothing is recorded. I also tried to say not "restart" with no effect different however it should work, but as explained, this isn't. I can also change the page that opens when I run firefox for the same reasons: I save 'open a blank page', say ok, the option page closes, but when nothing opened changed again.

    Hello

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    More information on the resettlement of Firefox can be found here.

    WARNING: Uninstaller or the use of Firefox and not run a third remover as part of this process, because who could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. These can be recovered, unless they have been backed up on an external device!

    Please report back to see if this helped you!

    Thank you.

  • Firefox and Palemoon does not save the settings of a Web site.

    He is a recent problem. I use Firefox 25.0.1 because progress of download in Firefox 26 changes are unacceptable.

    I use www.nzbindex.nl a lot - Out of the blue Firefox will not save the settings, but will Google Chrome. In my view, that the problem is a Java problem. Any advice would be appreciated.

    This can be caused by corrupted cookies or cookies are blocked (check the permissions on the subject: permissions page).

    You can control and manage permissions for the domain in the tab currently selected through these steps:

    • Click on "Site Identity" (globe/lock) in the address bar
    • Click on 'More information' to open ' tools > Page Info "with the Security tab is selected
    • Go to the permissions tab (Tools > Page Info > permissions) to check the permissions for the domain in the currently selected tab

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".

    It is not advisable to continue to use older versions of Firefox with disclosed security vulnerabilities.

  • My IPAD 4 takes great pictures but will not save the photo

    MY IPAD 4 takes great pictures but will not save the photo

    Don't know what your question, but the changes are saved to a file with the extension. AAE. If you are importing photos to a Mac changes will come with photos.

    Import photos and videos from your iPhone, iPad or iPod touch - Apple Support

  • Address-home page/search bar will not save

    Hi people!

    I tried to change my homepage and my search from the address bar of the SmartPage, but whenever I restart Firefox, won't save the settings and I'm back to my old home page. I have tried several strategies:

    (1) I first tried to set the home page under 'Options', but would not save the homepage.

    (2) I then tried to change under "subject: config ' and changing the lines"browser.startup.homepage"both"keyword.url ". The changes worked for this session, but restart Firefox would return lines to their previous settings

    (3) I then tried to directly edit the lines "browser.startup.homepage" & "keyword.url" from the prefs.js file and resave. Once Firefox is closed, however, the prefs.js file would go back.

    (4) I then tried to change the file prefs.js with the new settings, save on my desktop and after closing Firefox, replace the prefs.js file in the Mozilla folder with that on the desktop. The strange thing was when I copy & paste the file prefs.js Office to the Mozilla folder and opened then the file was rewritten for the old settings, even if the file on the desktop still had the new settings.

    Does anyone know how to fix this?

    After last post of cor - el, check the settings for the "Advanced SystemCare surf Protection" extension. You can open the page modules using either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click Extensions. Search for an Options button configure what he done, or turn it off.

  • The spectacle of widows and tabs from last time in the options section does not work. It does not save open tabs

    13 Firefox does not save the tabs open, as it is set up in the window for options.

    you might want to try to go to firefox > help > troubleshooting information > profile folder - display the folder and deleting all the files in this folder starting with sessionstore. Then, close the browser and after the next startup has chosen 'show widows and tabs from last time' and see if it works then...

  • Firefox does not save passwords

    Problem is... then I updated my Firefox, it does not save passwords. When I enter my login details to any website, Firefox ask even to save them or not. When I check my storage of passwords in Firefox, it is always blank. I tried to reinstall completely, I tried the previous versions, but that did not help. Now I have hopes to solve this problem... so I ask for help here. If you need more information, please ask largely.
    Sorry for my bad English.

    Hey aur1m4z,

    Have you looked at the section of the Base names of users and passwords are not saved ? There are lots of good information in there.

    If it's only a particular site, you experience problems with, you can also delete cookies from this site in order to make the site you not forget if you have created a remember me cookie by visiting to Tools > Options > privacy > Cookies: "Show Cookies" that there could be a "don't remember" cookie for this site.

    Hope this helps!

  • Firefox will not save my passwords for all sites, I checked the options, securtit and marked the box to save passwords. Any suggestions?

    Firefox will not save my passwords for any site. I checked the box 'Save password'. I tried several times over several days.

    Any suggestions?

    Under the Privacy tab, check box "remember history". My sister had the same problem, and this box is unchecked in its version. Please try it out.

  • Can not set my homepage and usernames/passwords do not save/fill automatic.

    My old homepage google.com/ig does not save when I try to restore it as my homepage. When I log in to gmail, I
    name of user and password to enter each time and I ask myself is no longer
    to save information to register on any site.

    Make sure that you are not Firefox running in permanent private browsing mode.

    To view the history settings and cookies, choose:

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Uncheck the box: [] "always use the navigation mode private.
  • my 8.0.1 firefox does not save, or ask me to save passwords (even if the box is checked)

    Windows 7 Home Premium SP1 64-bit operating system
    Firefox 8.0.1
    I duly ticked the relevant box but still Firefox not save / she asks me to save any password whenever I have access to a site that requires identification: it forces me to repeat to every time the password.

    Make sure that you are not Firefox running in permanent private browsing mode.

    To view the history settings and cookies, choose:

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Uncheck the box: [] "always use the navigation mode private.

    The Web site may use autocomplete = off to prevent Firefox to record the name and the password.

    You can remove autocomplete = off with a bookmarklet to register the name and the password of Firefox.

Maybe you are looking for