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
[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 - GTalk isConnected

GTalk isConnected

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

GTalk isConnected

Postby cop3rfi3ld » Tue May 13, 2008 10:14 am

Hi, I need an answer to this problem !

Here is my code sample :

try {
if (!user.equals("defaultSession")) {

mGTalkSession = GTalkService.createGTalkSession(user, mdp);

} else {
mGTalkSession = GTalkService.getDefaultSession();
}
if (mGTalkSession == null) {
showMessage("La session n'est pas initialisée...");
setResult(RESULT_CANCELED);
finish();
} else {
if(mGTalkSession.isConnected()){
showMessage("connected");
setResult(RESULT_OK);
finish();
}
else{
showMessage("not Connected");
setResult(RESULT_OK);
finish();
}


the problem is that I can put any username and password, I am never connected, I always receve the "not connected message", although I have a valid gmail username and password I use to login gmail.com.

What can I do to be connected ???

Thank you to answer quickly if you know because I really need it !

Romain
cop3rfi3ld
Freshman
Freshman
 
Posts: 2
Joined: Mon May 05, 2008 12:36 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 14 guests