Mario,
You need to setup TWO separate projects.
One project just for your server actions and another project for the mobile app.
From the mobile project you call the server actions just as you normally do, not using the API action.
Check the link I posted.