herususanto10121980 / chrometophone

Automatically exported from code.google.com/p/chrometophone
0 stars 0 forks source link

C2DMessaging uses deprecated code #292

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I believe you using deprecated code, the taskqueue has been released for the 
general public.

I think you can quickly fix this by removing the "labs." bit of the imports.

import com.google.appengine.api.labs.taskqueue.Queue;
import com.google.appengine.api.labs.taskqueue.QueueFactory;
import com.google.appengine.api.labs.taskqueue.TaskHandle;
import com.google.appengine.api.labs.taskqueue.TaskOptions;

Best regards, Lars

Original issue reported on code.google.com by Lars.Vo...@gmail.com on 14 Mar 2011 at 12:03

GoogleCodeExporter commented 8 years ago
Also changing the line:

TaskOptions.Builder.url(C2DMRetryServlet.URI)

with:

TaskOptions.Builder.withUrl(C2DMRetryServlet.URI)

Original comment by jua...@gmail.com on 17 May 2012 at 10:27

GoogleCodeExporter commented 8 years ago
Fixed on http://code.google.com/p/chrometophone/source/detail?r=308

Original comment by felip...@android.com on 27 Jul 2012 at 11:24