A technique for retrieving and processing data retrieved from a non-contact recording medium without physically contacting the non-contact recording medium. The non-contact medium contains coded data including a data declaration, a graphical user interface, a determining function, and specification of a communication protocol. A portable terminal reads the data from the non-contact medium, decodes the data into a structured language code file including a data declaration function, a determining function, and a communication protocol specifying function, and stores the code file. A user may select a stored code file, which executes on the portable terminal and performs display control. The portable terminal then communicates data from the selected code file to an external device by using a specified communication protocol from the selected code file.