File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Adding customized RPC methods to the auto generated code for a Google App engine connected app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Adding customized RPC methods to the auto generated code for a Google App engine connected app" Watch "Adding customized RPC methods to the auto generated code for a Google App engine connected app" New topic
Author

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

james frain
Ranch Hand

Joined: Apr 06, 2011
Posts: 34
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
 
 
subject: Adding customized RPC methods to the auto generated code for a Google App engine connected app
 
Threads others viewed
Eclipse, Google App Engine and Utility Projects
I Need a Sanity Check on this job.
java.net.InetAddress is a restricted class error in Eclipse when running GWT and MySQL
Using IntegrationService to interrogate the desktop shortcut
Is this even possible?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com