First, Worklight does not support Eclipse Standard. Rather, you should use Eclipse Java EE.
Second, have you deployed both the application and adapter?
I've done the following steps and the application works for me:
- Imported the Adapter Procedures sample project .zip file
- Opened the adapters folder, right-clicked on the
RSSReader
adapter and choseRun As > Deploy Worklight Adapter
- Opened the apps folder, right-clicked on the
InvokeAdapterProcedure
app and choseRun As > Run on Worklight Development Server
- Right-clicked on the Worklight project and chose
Open Worklight Console
- Clicked on
Preview as Common Resources
The result was:
I also tested this when adding the Android environment and previewing it via Worklight Console's MBS, as well as an in a real Android device.
Make sure that after adding the Android environment you build and deploy the application by choosing Run As > Run on Worklight Development Server
.