Anton van der Vegt | 20 Jul 2012 04:54
Picon

Can't transfer generated service proxy to android project

I am using eclipse and was delighted at how well the proxy generator worked, but when I imported the classes
to my android project the files were put into a (default package).  Which ever way I tried to transfer/copy
file/copy text back to my android package - the program would not run (failed at startup on the device -
couldn't find the class.

Is this
1. A bug or 
2. I using the generator incorrectly or
3. Importing to eclipse incorrectly.

I followed very closely the tutorial set out by Diego Acosta at (http://weblogs.asp.net/uruit/archive/2011/09/13/accessing-odata-from-android-using-restlet.aspx?CommentPosted=true#commentmessage)

The generator code i used was:

		Generator.main(new String[] {
				  "http://my.ip.add.ress/test5/testXPressDBData.svc",
				  "c:\\android\\trial"
				});

Any help much appreciated.

thanks

anton

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2991879


Gmane