Restlet use of Android intents

86 views Asked by At

I tried to find answer to my question without success, please excuse me if it is a trivial question....

I managed to add Restlet server to an existing Android application. It works well, serving get/put/post request as needed. The problem that on selected POST request I have to start an Android activity or send a message to an activity. I could not find any way to do it. The android context is not available within ServerResource, so cannot use intents, and messages.

The best would be to send intents (broadcast message), so I can use it for any communication.

Any help welcome! Thanks

0

There are 0 answers