reference will now be made in detail to the presently exemplary and preferred embodiments of the invention as illustrated in the accompanying drawings , in which like reference characters designate like or corresponding parts throughout the several drawings . the nature , objectives and advantages of the present invention will become more apparent to those skilled in the art after considering the following detailed description in connection with the accompanying drawings . regarding use of terms , in this description , the terms “ wireless device ,” “ wireless telephone ,” and “ mobile device ” are used interchangeably . the term “ application ” as used herein is intended to encompass executable and nonexecutable software files , raw data , aggregated data , patches , content , user interfaces and user interface components , and other code segments . further , like numerals refer to like elements throughout the several views , and the articles “ a ” and “ the ” includes plural references , unless otherwise specified in the description . trigml is a data driven language useful in developing user interfaces . trigml is a product owned by qualcomm corporation . like data languages defined under xml , trigml code includes the use of tags . while embodiments will be described in context of trigml for a user interface on a wireless device , it will be recognized that this is for descriptive purposes only and not a limitation on the invention . the apparatus and methods described herein are also applicable in non - user interface environments and , as stated above , in those using environments using a different data language . fig1 is a functional diagram of a communications environment 100 in which devices may operate in an embodiment of the present invention . in this example , the communications environment 100 includes a wireless network 122 . the wireless network 122 may be a communications network operated by a wireless service provider to provide data or telecommunications connectivity to mobile devices . further , the wireless network 122 may also include wired networks , the internet , wide area networks , the public switch telephone network ( pstn ) and other public and / or private networks so that devices may communicate to directly or indirectly using other devices connected to these to these networks . in one example , the wireless network 122 may include a cellular telephone network . several mobile devices are in communication with the wireless network 122 , such as a cellular phone 112 , a laptop computer 116 , a pda 118 , and a mobile messaging device 120 . these devices are only shown as illustrative of the many types of devices that may communicate over the wireless network 122 . illustrated in fig1 are an application server 124 and a user interface server 126 . the user interface server 126 is a computing device that serves user interface components 130 ( described in more detail below ). these user interface components 130 may be downloaded to other devices connected to the wireless network 122 . user interface components include code and / or data to render a user interface ( such as function calls , menus , code for content calls , skins , etc .). note , many other servers may be used connect to the network to deliver information including content servers . the type of information that can be made available is limitless , and very many different examples will be apparent to those skilled in the art . the user interface server 126 includes server software that is configured to provide the user interface components 130 to requesting devices over the wireless network 122 . the application server 124 is a computing device or system coupled to the wireless network 122 that makes software applications 128 available for download by the mobile devices . generally stated , the applications 128 are downloadable by the devices connected to the wireless network 122 , such as the cellular phone 112 , for execution on those devices . in this particular implementation , at least one of the applications 128 served by the application download server 124 is a content - based application configured for execution on at least one of the mobile devices . the content - based application ( the client ) is configured to retrieve content from the content server ( not shown ) for presentation by the mobile device via a user interface . fig2 is a functional block diagram generally illustrating the components of a sample mobile device 201 , in an embodiment of the present invention . the mobile device 201 could be any device having computing functionality , such as a cellular telephone , a personal digital assistant , a handheld “ palmtop ” device , a laptop computer , a portable music player , a global positioning satellite ( gps ) device , or the like . the mobile device 201 has a computer platform 250 that can receive and execute software applications and display data . the computer platform 250 includes a processor 252 , such as an application - specific integrated circuit “ asic ”, digital signal processor (“ dsp ”), microprocessor , microcontroller , logic circuit , state machine , or other data processing device . the processor 252 executes the application programming interface (“ api ”) layer 254 that interfaces with any resident programs in the memory 256 of the mobile device . the memory 256 can include random - access or read - only memory ( ram or rom ), eprom , eeprom , flash memory , or any memory common to computer platforms . the computer platform 250 also includes a local storage 258 that can hold software applications , files , or data not actively used in memory 256 , such as software applications or user interface components downloaded from the user interface server 126 ( fig1 ). the local storage 258 is typically comprised of one or more flash memory cells , but can be any secondary or tertiary storage device as known in the art , such as magnetic media , eprom , eeprom , optical media , tape , or soft or hard disk . the computer platform 250 also includes a display 260 that may be used by the software applications to display data using the user interface ( not shown ). the components shown in fig2 are typical of many types of mobile devices , but it will be appreciated that other components may be added to the mobile device 201 and in certain cases , some components shown in fig2 may be omitted from the mobile device 201 . fig3 is a functional block diagram generally illustrating the core components of a sample computing device 301 , in an embodiment of the present invention . the computing device 301 could be any fixed computing device , such as a desktop computer or server . in this example , the computing device 301 includes a processor unit 304 , a memory 306 , a storage medium 313 , and an audio unit 331 . the processor unit 304 advantageously includes a microprocessor or a special - purpose processor such as a digital signal processor ( dsp ), but may in the alternative be any conventional form of processor , controller , microcontroller , or state machine . the processor unit 304 is coupled to the memory 306 , which is advantageously implemented as ram memory holding software instructions that are executed by the processor unit 304 . in an alternate embodiment , the memory 306 could be composed of firmware or flash memory . in this embodiment , the software instructions stored in the memory 306 include an operating system 310 and one or more other applications 312 , such as an application employing a user interface ( not shown ). the mobile device 301 also includes a communications module 321 that enables bidirectional communication between the computing device 301 and one or more other computing devices , such as the mobile device . the communications module 321 may include components to enable rf or other wireless communications , such as a cellular telephone network , bluetooth connection , wireless local area network , or perhaps a wireless wide area network . alternatively , the communications module 321 may include components to enable land - line or hard - wired network communications , such as an ethernet connection , rj - 11 connection , universal serial bus connection , ieee 1394 ( firewire ) connection , or the like . these are intended as non - exhaustive lists and many other alternatives are possible . the audio unit 331 is a component of the mobile device 301 that is configured to convert signals between analog and digital format . the audio unit 331 is used by the mobile device 301 to output sound using a speaker 332 and to receive input signals from a microphone 333 . fig3 illustrates only certain components that are generally found in many conventional computing devices . very many other components are also routinely found in particular implementations , and in certain cases , some components shown in fig3 may be omitted . however , the computing device 301 shown in fig3 is typical of the computing devices commonly found today . fig4 illustrates an application architecture of a device in an embodiment of the present invention . the device will include a “ computer platform ”. a computer platform may refer to components of the device including of hardware , software or of both . for example , it may include the operating system , the underlying hardware components , including the chip , user interface hardware ( e . g ., displays , input and output devices ), libraries , supporting apis , additional extensions to the operating system , etc . in one embodiment , the application architecture 400 of a wireless device includes device apis 405 , brew apis 410 , brew extensions 415 , a trigplayer 420 , actors 425 , and trigs 430 . the device apis 405 may include those apis used by a software platform to address functions associated specifically with that device , such as specific processor or asic functions , specific device hardware functionality , etc . the brew apis 410 is a software platform developed by qualcomm incorporated . the brew apis 410 provide the ability for applications to call device apis 405 and other functions without having to be written specifically for the device . in otherwords , it abstracts the specific aspects of the hardware from the application thereby allowing an application to be written for many devices without having to tailor , or requiring only slight tailoring , for each specific device on which the application executes . a brew extension 415 provides the ability to add additional capability to the brew platform , such as offering mp3 players , java virtual machines , etc . a trigplayer 420 , trigs 430 and actors 425 are components of the uione ™ architecture developed by qualcomm incorporated . these components typically refer to user interface aspects of the device 400 . in one embodiment , the trigs 430 are compiled trigml ® code , and other resources ( which may include metadata , text files and images ) used by an application to render a user interface on the device 400 . multiple trigs 430 and updates to trigs , referred to as triglets ( not shown ) may be used for the user interface . trigml code , owned by qualcomm incorporated , is a data language based on xml and may be used for user interface presentation language for authoring trigs 430 and includes advantages of mobile - targeted functionality , an interactive user interface event model , and pixel positioning among other advantages . actors 425 include underlying c code to connect trigs to underlying device apis 405 and / or brew apis 410 . actors 425 may also serve as executables for input / output . and because actors connect to the underlying device and brew apis , they have access to the computer platform functions . the trigplayer 420 may be implemented as a brew extension 415 even though it is separated out in fig4 . the trigplayer is used to render the user interface using the trigs and actors . it will be recognized that although the discussion of fig4 is in terms of the qualcomm incorporated &# 39 ; s uione architecture ( including compiled trigml , trigplayer , brew apis , etc ) that this is for descriptive purposes and that the present invention include other data languages , computer and software platforms and device architectures . fig5 is a block diagram illustrating the system of updating user interface components and an architecture depicting a trigplayer 420 , actors 425 and trigs 430 in an embodiment of the present invention in an embodiment of the present invention . the device 500 includes a trigplayer 420 , actors 425 , and trigs 430 . the trigs may include trigml code 505 , text strings 510 , images 515 and update channels 520 ( update channels may define urls and timing schemes to fetch triglets 530 ). trigs may be updated over the air thereby allowing the user interface to be updated after the device has already left the manufacturer . a server 525 may be used to download new trigs and or updated components of trigs ( e . g ., triglets 530 ) thus allowing the user interface for the device to be customized . fig6 is a block diagram illustrating the association trigml code , objects and actors in an embodiment of the present invention . trigml code may be written using a series of tags ( 605 - 625 ). these tags may define actions to perform and define specific parameters related to the purpose of the program code . in one embodiment , this trigml code is compiled prior to parsing and executing on a wireless device . in one embodiment of the invention , when the trigml program code is parsed for execution , objects associated ( 630 - 650 ) with elements ( 605 - 625 ) in the trigml code . these objects may contain the representations of the element . for example , element 620 indicates a box having a length of 3 . when this element is evaluated , an object having the value of the box length = 3 ( 645 ) is created . it may be desireable to include a dynamic variable in an expression in the program code . for example , if an icon representing a battery level for a wireless device is desired , assuming the width of box changes as the batter level changes , it is desirable to update this box width to indicate the current battery level , which is subject to change as the battery is charged and depleted . in this case , the element “& lt ; box width =“ batterylife / 10 ”& gt ;” ( 645 ) contains an expression (“ batterylife / 10 ”) having a dynamic variable “ batterylife ” that may change depending the amount of charge left in the battery . it further is manipulated by the object by dividing the batterylife value by 10 . note the expression may contain a simple or complex operation , including the use of numbers , strings , operators along with dynamic variables . in one embodiment , an object 640 is created to determine the value of the expression of the element containing the dynamic variable . in addition , an actor 655 is created and used to receive the batterylife value . the object 640 will use the value represented in the actor for the dynamic variable in evaluating the expression . in the device , a function , e . g ., an api , monitors and determines the current batterylife ( 660 ). the function may include those functions that are at the computer or platform level to the computing device ( e . g ., device and / or brew apis ) or may be other functions of other apis , functions , or tasks executed locally or remotely and related to the local computer or a remote computer . it will be recognized by those skilled in the art that the “ batterylife ” function is used for descriptive purposes only and that any function / api may be used . many paradigms may be used to indicate a change in the value of the batterylife function 660 to the actor 655 . for example , an observe / notify pattern may be implemented in which the batterylife function 660 is told that the actor 655 exists and when a change in value occurs to notify the actor 655 . using this paradigm , the actor 655 stands by and waits for an indication from the batterylife function 660 that a change occurred . once the actor 655 receives the indication of a change , it notifies the object 640 so the object 640 can fetch the value from the battery function 660 . the object can then evaluate the expression containing the dynamic variable using the new function value . another paradigm includes polling , where the actor 655 periodically polls the batterylife function 660 for an indication that a change has occurred . processing proceeds as described above where the object fetches the value of the function and evaluates the expression . other paradigms exist and known to those skilled in the art and included in the scope of this invention . when the object representing the expression is reevaluated , the new value can then be used for the purpose the trigml code was written . also notice that the dynamic variable can change often and with each change , only the object associated with the expression needs to reevaluated to determine a new value . the trigml code is not needed to be reparsed . fig7 is a flowchart depicting the process of evaluating a dynamic expression in an embodiment of the present invention . first , the method begins by receiving an expression having a dynamic variable ( step 705 ). note the expression is typically in a data language format , such as one based on xml . however other data language formats may also be used . also , the dynamic variable is a variable that may change and any change to it may be desired after the initial parsing of the data language program code . it may also be related to function associated with the computer platform . next , an object is created to evaluate the expression ( step 710 ). the use of an object is not necessary and may only be necessary for some elements . the object may contain the value , not necessarily a number or scalar value but the representation of the intention of the element . an actor is then created ( step 715 ) which assists in providing a value of the dynamic variable . alternatively , the actor may have already existed and the existing actor is use for informing the object that the function value has changed . the actor is linked to the function associated with the dynamic variable . the actor may provide two functions ( these functions are not required to be assigned to the actor and it may perform additional functions ). first , it may allow a value to be queried / fetched / read etc , and second , it may server as the mechanism to indicate a change in the function to the object ( using one of the paradigms discussed herein ). the object then fetches the function value from the function ( step 720 ). the object proceeds to evaluate the expression ( step 725 ). next , it is determined if there is a change in the function value ( step 730 ). this may be perform as described herein via the function indicating to the actor that a change has occurred and the actor indicating that a change occurred to the object . if the function value changed in step 730 , the “ yes path is followed and the object re - fetches the function value from the function ( step 735 ) and evaluates the expression using the new function value ( associated with the dynamic variable ) ( step 745 ). if the value of the function does not change in step 730 , the “ no ” path is followed and the function is monitored for a change using one of the paradigms described herein or others known to those skilled in the art . another embodiment includes updating “ action ” tags that rely on boolean expressions , e . g ., here the ‘ animate ’ animation tag is activated while the given boolean expression is true . if at any point in the future the expression resolves to ‘ false ’ the animation will be deactivated . boolean expression may also be used for one - off ‘ action ’ tags , by insisting that the tag is ( instantaneously ) activated each time the expression resolves to true i . e . when any sub - element of the expression is changed and the whole expression resolves to true , e . g ., here the ‘ doload ’ action is performed each time the vfs node / res / errormsg is updated and the expression evaluated to true . in this embodiment the resource path of three elements is constructed using a string literal for the first element and two expressions for the final elements . the resource path indicates the location of the image to be rendered . should any of the sub - expressions change the resource path will be automatically re - evaluated and may result in a different image being displayed . by embedding arbitrarily complex expressions directly in xml attributes it is possible to create dynamically updatable uis with succinct and elegant markup , without the need for events or embedded scripting languages . the above method and software design description may also be implemented in an apparatus , stored as instructions in ram or in other memory storage devices . although the processes presented in this document have been illustrated and described sequentially in a particular order , in other embodiments , the steps of the processes may be performed in different orders , multiple times , and / or in parallel . further , in some embodiments , one or more steps described in the several processes may be performed as separate steps , combined into fewer steps , or possibly omitted entirely . while the foregoing disclosure shows illustrative embodiments of the invention , it should be noted that various changes and modifications could be made to the described embodiments without departing from the spirit and scope of the invention as defined by the appended claims . furthermore , although elements of the invention may be described or claimed in the singular , the plural is contemplated unless limitation to the singular is explicitly stated .