C2DM Registration issues

112 views
Skip to first unread message

akkines

unread,
Sep 15, 2010, 3:55:55 PM9/15/10
to android-c2dm
I always keep getting "SERVICE_NOT_AVAILABLE" error whenever I try to
register the emulator/device for C2DM. On the same emulator, I can get
JumpNoteApp to register with no errors at all. I initially thought the
service indeed was unavailable but more and more it looks like an
application error. I followed the same example (JumNoteApp) on my app
and double checked the manifest file and the code but nothing seems to
help the situation. Can any one help? I can post the manifest file if
some one wants to look at

Costin Manolache

unread,
Sep 15, 2010, 3:59:43 PM9/15/10
to androi...@googlegroups.com
The manifest seems ok if you get SERVICE_NOT_AVAILABLE ( i.e. you get the intent back ).

Could you post the lines you're using to register ? Also any logs, and the user ID on the phone ( you can send 
me a private mail to avoid having it on a public list ).

Costin 

Costin Manolache

unread,
Sep 15, 2010, 4:46:26 PM9/15/10
to androi...@googlegroups.com
FYI: the problem was the sender account.

When you register ( or fill the form to request access ), the sender account must exist, and it must be a regular google or hosted account. 

It is ok to register before you get the invitation - you just won't be able to send. The account must not be a group or alias.

Costin

wyz

unread,
Sep 27, 2010, 4:39:35 AM9/27/10
to android-c2dm
Hi Costin, I face a similiar problem. I get SERVICE_NOT_AVAILABLE
error when I tried to register. I am using a newly created google role
account as sender_id.

I tried to use a hosted account as sender_id and manager to register
successfully. But I failed to obtain an auth token using curl, and the
error message is Unknown Error. Then I decided to use Google ID
instead but no luck still.

Please suggest, thanks.

On Sep 16, 4:46 am, Costin Manolache <cos...@google.com> wrote:
> FYI: the problem was the sender account.
>
> When you register ( or fill the form to request access ), the sender account
> must exist, and it must be a regular google or hosted account.
>
> It is ok to register before you get the invitation - you just won't be able
> to send. The account must not be a group or alias.
>
> Costin
>
> On Wed, Sep 15, 2010 at 12:59 PM, Costin Manolache <cos...@google.com>wrote:
>
>
>
> > The manifest seems ok if you get SERVICE_NOT_AVAILABLE ( i.e. you get the
> > intent back ).
>
> > Could you post the lines you're using to register ? Also any logs, and the
> > user ID on the phone ( you can send
> > me a private mail to avoid having it on a public list ).
>
> > Costin
>
Reply all
Reply to author
Forward
0 new messages