Patent ID: 8356117

Claim:
A method of controlling an electronic device, the method comprising: providing a plurality of schemes, each scheme defining for at least one electronic device features operable on the at least one electronic device and which features each of the features in the scheme can use; receiving data for identifying a type of the electronic device; based on the type of the electronic device, selecting a predetermined one of the plurality of schemes; and controlling the electronic device based on the selected scheme, wherein the electronic device is controlled using an object oriented program, each feature in the selected scheme corresponding to an object instance of the object oriented program and wherein the electronic device is controlled using an interface created by: determining the features of the electronic device required to implement a desired control; mapping each of the required features with an object instance based on the selected scheme; implementing the object oriented program, wherein the desired control is carried by invoking methods of the mapped object instances in the selected scheme.