1. A method for protecting a user's privacy on an electronic device, the method comprising: collecting, by a sensor in an electronic device hosting a plurality of applications, sensor information associated with at least one user input action; intercepting, by the electronic device, a request to access the sensor information from a requesting application of the plurality of applications; and controlling, by the electronic device, access to the sensor information associated with the at least one user input action based on the requesting application.