1. A method for providing a user interface (UI) in an electronic device, the method comprising: determining at least a starting keyword from a given target database, and associating each said starting keyword with a function of the electronic device; determining at least a linking keyword from a user profile database; creating a keyword tree from the at least a starting keyword and the at least a linking keyword, wherein the keyword tree has at least two layers, and the at least a linking keyword is placed in an upper layer relative to the at least a starting keyword; and providing the keyword tree on the electronic device for a user to browse and thereby select at least a said starting keyword by at least a said linking keyword on the keyword tree, thus starting the function.