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
[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 - call to start service.

call to start service.

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

call to start service.

Postby chippie2000 » Mon Apr 04, 2011 8:01 pm

Hi guys,

I've got a singleton that looks after my binding to the service for me. However, the call to bind is asynchronous method returning at somepoint a successful event back in the service connection object. I've tried using

private static final Object locker = new Object();

prviate ServicClass(Context ctx) {
//create connection to service here via ctx.bind)
object.wait();
}

public static IServiceClass getInstance(ctx) {
if (serviceClass == null) {
serviceClass = new serviceClass();
}
return serviceClass
}

private ServiceConnection mService.....
//here we have the callback for connection and disconnect. In both of them i do object.notifity()

My issue is that it doesn't get past the wait call....

Can anyone shred some light to this?
chippie2000
Junior Developer
Junior Developer
 
Posts: 22
Joined: Wed Oct 07, 2009 4:11 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 6 guests