You could get the AppID from the Mendix Deploy API. If you have an API key which has only access to a single app, you have the AppID easily accessbile in your application: it’s a single REST call.
Hello Rom,
Since i would like to use the application offline as well, i created a module using a java action which can be used to retrieve the project id. If anyone would like the module, feel free to message me. (it is also really easy to build it yourself).
Thank you for taking your time to answer.
Vince van Noort