×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Uninstalling a Symbian Web Runtime app

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Fix categories)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add Deployment/uninstallation category)
 
Line 1: Line 1:
[[Category:Symbian C++]][[Category:Symbian Web Runtime]][[Category:S60 3rd Edition (initial release)]][[Category:S60 3rd Edition FP1]][[Category:S60 3rd Edition FP2]][[Category:Code Examples]]
+
[[Category:Symbian C++]][[Category:Symbian Web Runtime]][[Category:S60 3rd Edition (initial release)]][[Category:S60 3rd Edition FP1]][[Category:S60 3rd Edition FP2]][[Category:Code Examples]][[Category:Deployment/Installation]]
 
{{Archived|timestamp=20120223112227|user=roy.debjit| }}
 
{{Archived|timestamp=20120223112227|user=roy.debjit| }}
  

Latest revision as of 09:44, 6 August 2012

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.

[edit] 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();

[edit] Example application

This example application silently uninstalls a widget.

File:UnInstall Widget.zip

This page was last modified on 6 August 2012, at 09:44.
57 page views in the last 30 days.
×