Java action mobile info

0
Hi, I'm currently trying to figure out how to do get info of a phone in java action. I would have to be able to return a Object but I don't find great documentation on how to do this. Does anyone have a great example on how I have to create my object I want with the IMendixObject?  Thanks  
asked
1 answers
1

Hi,

IOP you should use the proxy classes to create and manipulate mendix objects in java actions. When you are done call the getMendixObject() function to get the object in the right return type as is required from the java action.

Creating a new proxy object is the same as creating any other java object.

new SomeMendixEntity(getContext());

-Andrej

answered