1. A mobile device for providing a haptic function, the mobile device comprising: a vibration unit which generates vibration for a tactile effect as the haptic function; and a control unit which comprises a platform providing an application programming interface (API) corresponding to the haptic function, which executes an application prepared by the API that is downloaded from an external device and is installed on the mobile device, and which analyzes a plurality of parameters provided by the executed application to the API; and which comprise at least two values indicating at least two of a strength, a time period, and a frequency attribute of the vibration; and determines a characteristic of the vibration provided by the mobile device based on the analyzed plurality of parameters set up in the application, and controls the vibration unit to generate the vibration having the determined characteristic, wherein the application provides a function supplemented with the at least one haptic function described by the plurality of parameters, and wherein the haptic function is performed when the application is executed.