Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Uninstalling a Symbian Web Runtime app

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia N95, Nokia 6210 Navigator
CompatibilityArticle
Created: User:Technical writer 1 (07 Aug 2008)
Last edited: hamishwillee (06 Aug 2012)

Note.pngNote: This API is not part of the public SDK. It can be found in the SDK API Plug-in.

Description

The SWInstallerLauncher API can be used to uninstall a widget by passing the appropriate MIME type "application/x-nokia-widget" and the UID of the widget.

The following sample code can be used to uninstall a widget.

    _LIT8(KMIMEType,"application/x-nokia-widget");
SwiUI::RSWInstLauncher iLauncher;
User::LeaveIfError(iLauncher.Connect());
TRequestStatus status;
iLauncher.Uninstall(status, TUid::Uid(<uid of the widget>), KMIMEType);
User::WaitForRequest(status);
iLauncher.Close();

Example application

This example application silently uninstalls a widget.

File:UnInstall Widget.zip

This page was last modified on 6 August 2012, at 06:44.
38 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×