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 - AlertDialog and using dialog.cancel()

AlertDialog and using dialog.cancel()

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

AlertDialog and using dialog.cancel()

Postby nicky » Thu Jun 14, 2012 11:46 am

Hello,

I just joined this forum to talk about android development since I have recently started to develop apps for android. :D I'm familar with C# and I have done several Java projects using eclipse as well.

However, there's something I'm wondering about: When using the AlertDialog, for example with the options "yes" and "no", does it make sense to call dialog.cancel() inside the "no" option if you don't want use the fired onDialogCancelled event?

I'm just curious about it. Since I don't want to do anything when the user hits the "no" option I don't need dialog.cancel(), do I?

nicky
nicky
Freshman
Freshman
 
Posts: 3
Joined: Thu Jun 14, 2012 11:36 am

Top

Re: AlertDialog and using dialog.cancel()

Postby nicky » Thu Jun 21, 2012 1:13 am

push();
nicky
Freshman
Freshman
 
Posts: 3
Joined: Thu Jun 14, 2012 11:36 am

Re: AlertDialog and using dialog.cancel()

Postby nicky » Wed Aug 22, 2012 11:52 am

repush();
nicky
Freshman
Freshman
 
Posts: 3
Joined: Thu Jun 14, 2012 11:36 am

Re: AlertDialog and using dialog.cancel()

Postby arleneangle » Thu Aug 23, 2012 8:01 am

It is so interesting what you said.
Every journey begins with the first step
Image
arleneangle
Developer
Developer
 
Posts: 36
Joined: Thu Aug 16, 2012 8:33 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests