Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding customized RPC methods to the auto generated code for a Google App engine connected app

 
james frain
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been trying to get my head around the IO session listed below. http://bradabrams.com/2011/05/google-io-session-overview-android-app-engine-a-developers-dream-combination/

Everything seems straight forward till I tried to create my own custom method in the auto generated CloudTasksService class. eg I want to add a method like

Problem is how do I get this method to be callable from the client? On the client side the Auto generated code, when you ask the Google plugin to create the RPC service, works fine for me but now I want to add a new method manually on the server side, which I have done, but how do I modify the TaskRequest class to allow my client to call this method? The problem I see is the TaskRequest is created by the factory. Do I have to implement all the plumbing code myself which the Google plugin does automatically for the other methods. I just don't want to have to be implementing code myself which can be done automatically.

EDIT .... Just found this thread but still can't get the client to call my new method on the server side. See http://code.google.com/eclipse/docs/appeng_android_tuning.html

Rgds
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic