Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - setMessage not working for Horizontal Progress Dialog.

setMessage not working for Horizontal Progress Dialog.

Put your problem here if it does not fit any of the other categories.

setMessage not working for Horizontal Progress Dialog.

Postby MJ » Fri Jul 24, 2009 3:56 am

progressDwnldDialog = new ProgressDialog(this);
progressDwnldDialog.setTitle(R.string.progressDownload);
progressDwnldDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progressDwnldDialog.setMessage(String.valueOf(msg.arg1/msg.arg2 * 100 + "%") + "[" + msg.arg1 + "/" + msg.arg2 + "]" + getText(R.string.bytes)); //set Message for HORIZONTAL style doesn't seem to work bt works for SPINNER style. :(

Can't we customize the message for HORIZONTAL progress Dialog?
MJ
Freshman
Freshman
 
Posts: 3
Joined: Wed Jul 15, 2009 8:21 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 11 guests