A system comprising: a server (22, 24, 26) for running applications, the server configured to: receive a request for content from a client installed in a mobile device (2, 4, 6) whereby the mobile device is configured to communicate and interact with the server for obtaining access to content provided by the server, whereby the server is configured to receive device parameters for the mobile device (2, 4, 6) from the client; retrieve content in response to the received content request from the client, characterized in that the server is configured to simulate a virtual device corresponding to the mobile device, wherein the virtual device comprises a set of data structures and/or operations in the server which acts as the mobile device and which is configured according to some or all of the device parameters of the corresponding mobile device; adapt the retrieved content and commands to comport with the parameters for the virtual device, and transmit the device specific adapted content to client layers used together with gateway server layers for the communication between the server and the mobile device. a server (22, 24, 26) for running applications, the server configured to: receive a request for content from a client installed in a mobile device (2, 4, 6) whereby the mobile device is configured to communicate and interact with the server for obtaining access to content provided by the server, whereby the server is configured to receive device parameters for the mobile device (2, 4, 6) from the client; retrieve content in response to the received content request from the client, characterized in that the server is configured to simulate a virtual device corresponding to the mobile device, wherein the virtual device comprises a set of data structures and/or operations in the server which acts as the mobile device and which is configured according to some or all of the device parameters of the corresponding mobile device; adapt the retrieved content and commands to comport with the parameters for the virtual device, and transmit the device specific adapted content to client layers used together with gateway server layers for the communication between the server and the mobile device. receive a request for content from a client installed in a mobile device (2, 4, 6) whereby the mobile device is configured to communicate and interact with the server for obtaining access to content provided by the server, whereby the server is configured to receive device parameters for the mobile device (2, 4, 6) from the client; retrieve content in response to the received content request from the client, characterized in that the server is configured to simulate a virtual device corresponding to the mobile device, wherein the virtual device comprises a set of data structures and/or operations in the server which acts as the mobile device and which is configured according to some or all of the device parameters of the corresponding mobile device; adapt the retrieved content and commands to comport with the parameters for the virtual device, and transmit the device specific adapted content to client layers used together with gateway server layers for the communication between the server and the mobile device.