×
Namespaces

Variants
Actions

S40 Web app Icon issue on Asha Software Platforms

From Nokia Developer Wiki
Jump to: navigation, search

This article explains how to fix the problem with S40 web apps, Asha software 1.0 and later where the default icon shows instead of the icon you wanted.

Article Metadata
Tested with
Devices(s): Asha 501 and others in Asha SW platform 1.0 and newer
CompatibilityArticle
Created: ()
Last edited: BuildNokia (12 Jun 2014)

Introduction

Web apps are transformed into Java apps, so they can be installed on the device. There is a problem with the way the apps are transformed and the way Asha Software platforms support the folder structures. We are working on resolving this, but in the meanwhile you can try this as a fix. So if you got a recommendation to fix or got failed QA on some devices, here is something you can do.

How to fix

1) Rename the wgt file into wgt.zip and open it with a winzip/7-zip similar. 2) There is a config.xml file inside. You need to modify that. Open it with an editor. 3) If there is a line like this: <icon src="s40-theme/images/icon.png"/> (this is the bit causing the problem). Change it into <icon src="icon.png"/>. This will instruct the app to use the icon which is in the same folder as config.xml. so if that icon is not the one you want or missing , change also the icon. 4) Replace the modified files in the .zip. Check again that the modifications are correct. 5) Rename that file back to .wgt 6) Submit back to store.

Summary

If this raises questions, please ask help from forums: http://developer.nokia.com/community or contact developer.support@nokia.com This problem is concerning only Asha Software platforms 1.0 and newer. This modification, when done correctly, will work also on other platforms.

This page was last modified on 12 June 2014, at 23:54.
87 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.

×