×
Namespaces

Variants
Actions
Revision as of 09:41, 6 August 2012 by hamishwillee (Talk | contribs)

Archived:Uninstalling a Symbian Web Runtime app

From Nokia Developer 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

76 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.

×