Hi guys,I added hosted service,and now want to call from app,but I am getting this error message
Service invocation failed: java.lang.ClassNotFoundException: ClassNotFoundException: defaultPackage.MyClass
When I got source for my service,I put them into my android app and just changed package names.
And also provide documantation for hosted services
Hi Vardan!
It looks like some issues when service is not in any created package ( defaultPackage ). While we fix this you can move your service to another package and try in that way
I don’t understand your solution,please explain little bit more :))
I have downloaded sdk,then moved the service and model files to my android project,please ask more what I need to do,thanks 
As I understood from exception message your service is in root source package. If you move your service to some named package it should fix this issue.
I have tried to put my service into different packages (from root to nested :))))) ) but I think the problem is that I include service to already defined app (with different package organization than sdk’s)
Could you please provide your hosted service?
Please, try following hierarchy of the service:
BkManagerApi
±–models
| ±–MyBookmark
| ±–MyBookmarkCategory
| ±–MyUserGeneralInfo
±–services
| ±–BookmarkManagerService
Then corresponding API classes you can put to any other directories.
I changed as you suggested,but now I am getting this error message
BackendlessFault{ code: '14004', message: 'Service invocation failed: weborb.exceptions.ServiceException: java.lang.IllegalArgumentException: Entity cannot be null.ServiceException' }
Because of it is not clear how to map parameter from request to complex datatype MyUserGeneralInfo the exeption was thrown. But you can pass some id or another primitive parameter and execute search by them.
Check folowing code to resolve this problem:
http://pastebin.com/S9PtFuF6
Also one question,will synchronized calls work on server? Because they didn’t work in android app.
Yes, sync calls work on server. For android app you can use async methods