Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 15:54, 3 May 2008.

How to show a message box avoid of the bug in 'Alert'

From Forum Nokia Wiki


Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2

Problem

Developing widget with javascript. It has a bug with the Alert("") in JavaScript to be shown in S60: There is a sign of unknown character '口' appeared in left upper position.

Soluton

How to avoid it? We could use below code instead of alert to show a message to user.

Code

var uiManager = new UIManager();
	uiManager.showNotification(3000, "warning", "Input error. Try again.");
	
	//or
	uiManager.showNotification(3000, "OK", "Done successfully.");

Of course, we should include WRTkit.js which was provided by nokia to make UIManager to be known.

Related Discussions
Thread Thread Starter Forum Replies Last Post
Where to find old versions? oks0101 Python 1 2005-08-05 20:35
SMS Send problem NaSSaR Mobile Java General 5 2008-05-06 13:35
Alert Icon Size? davidmanpearl Mobile Java General 2 2006-02-27 22:42
HELP: Get ride of "No Data" text in the list box xiaomingzhou Symbian User Interface 2 2004-08-16 23:54
Items of CEikColumnListBox don't show properly -janine Symbian User Interface 5 2004-08-28 19:32
 
Powered by MediaWiki