[maemo-developers] connectivity status cb not called.

From: Antonio Gomes tonikitoo at gmail.com
Date: Tue May 8 16:55:22 EEST 2007
hey all,

just facing some weird problem while handling connectivity problems on
my app. For some specific cases, connectivity status callback is not
called. Any specific reason for this kind of problem ?

<quoted code 1>
(...)
// connecting callback
#ifdef USE_OSSOIC
    webglobal = G_OBJECT(self);
    if (osso_iap_cb(g_mozilla_connectivity_iap_callback) != OSSO_OK) {
        printf("osso_iap_cb failed\n");
    }
#endif
(...)
</quoted code 1>


<quoted code 2>

// callback
void
connectivity_iap_callback(struct iap_event_t *event, void *arg)
{
   // ... handle my code here
}
#endif

</quoted code 2>



-- 
--Antonio Gomes

More information about the maemo-developers mailing list