I try to use GCMRegistrar to regist my device on GCM,
Before I send the request by using GCMRegistrar.register(this, SENDER_ID),
I turned off the network connection.
Then I see the below log.
09-06 15:56:34.850: V/GCMRegistrar(10452): Registering app
com.amazon.mShop.android of senders 593777502750
09-06 15:56:34.880: E/C2DMRegistrar(319): [C2DMReg] handleRequest caught
java.net.UnknownHostException: android.clients.google.com
But my app never receive an intent that can tell me what happen.
I'd like to receive an intent so that the onError or onRecoverableError can
be trigger to know the time out or whatever happens?
Because I need rely on this result to do the next work?
Can someone give some advice?
Any tip is appreciated.