Method for generating a mobile application with an interactive graphical user interface displayable on a display of a mobile device from a desktop application executed on a data processing device, comprising the method steps: capturing individual images of a graphical user interface of the desktop application, analyzing the images by pattern recognition and dividing the images into desktop image components, analyzing the desktop image components by pattern recognition and capturing property information of the desktop image components, transforming the desktop image components by mapping them to predefined equivalent mobile device executable components adapted to the size of the display of the mobile device using the property information and pattern recognition information, generating the mobile application executable graphical user interface from the mapped mobile device components, chracterized in, that the images are captured as video images in the form of a video stream of the graphical user interface of the executable desktop application, that the property information captured during pattern recognition includes a type, a status, a position, a label, a text area, a change in status over time and/or an exact size of the desktop image component's representation on the desktop screen, that a user interaction with one of the executable mobile device components is captured transformed into a corresponding desktop application image coordinate in consideration of the pattern recognition information and sent to the desktop application for execution of the associated desktop component, wherein the user interaction is executed in the desktop application graphical user interface and an updated and/or new mobile device executable component for the mobile application is generated on the fly from an updated video image of the video stream in response to the user interaction. capturing individual images of a graphical user interface of the desktop application, analyzing the images by pattern recognition and dividing the images into desktop image components, analyzing the desktop image components by pattern recognition and capturing property information of the desktop image components, transforming the desktop image components by mapping them to predefined equivalent mobile device executable components adapted to the size of the display of the mobile device using the property information and pattern recognition information, generating the mobile application executable graphical user interface from the mapped mobile device components, chracterized in, that the images are captured as video images in the form of a video stream of the graphical user interface of the executable desktop application, that the property information captured during pattern recognition includes a type, a status, a position, a label, a text area, a change in status over time and/or an exact size of the desktop image component's representation on the desktop screen, that a user interaction with one of the executable mobile device components is captured transformed into a corresponding desktop application image coordinate in consideration of the pattern recognition information and sent to the desktop application for execution of the associated desktop component, wherein the user interaction is executed in the desktop application graphical user interface and an updated and/or new mobile device executable component for the mobile application is generated on the fly from an updated video image of the video stream in response to the user interaction.