9. A system for analyzing movements of a handheld electronic device, comprising: a memory storage device; a microprocessor; a first module to generate rotational movement data for the handheld electronic device responsive to movements of the handheld electronic device; a second module providing instructions to the microprocessor to map the rotational movement data to a rotational string representation relating to at least one of a magnitude, speed and acceleration of a rotational movement detected along an axis of rotation for the handheld electronic device and store the string representation in the memory storage device; and a third module providing instructions to the microprocessor to calculate a matching score for the rotational string representation to a gesture string representing a gesture related to a command for the handheld electronic device by recursively traversing a matrix containing the rotational string representation, the gesture string representation and earlier movement data of the handheld electronic device using a distance edit algorithm to generate matching scores for values of the rotational string representation against the gesture string; and execute a command associated with the gesture on the handheld electronic device when a threshold for the matching score is met.
9. A system for analyzing movements of a handheld electronic device, comprising: a memory storage device; a microprocessor; a first module to generate rotational movement data for the handheld electronic device responsive to movements of the handheld electronic device; a second module providing instructions to the microprocessor to map the rotational movement data to a rotational string representation relating to at least one of a magnitude, speed and acceleration of a rotational movement detected along an axis of rotation for the handheld electronic device and store the string representation in the memory storage device; and a third module providing instructions to the microprocessor to calculate a matching score for the rotational string representation to a gesture string representing a gesture related to a command for the handheld electronic device by recursively traversing a matrix containing the rotational string representation, the gesture string representation and earlier movement data of the handheld electronic device using a distance edit algorithm to generate matching scores for values of the rotational string representation against the gesture string; and execute a command associated with the gesture on the handheld electronic device when a threshold for the matching score is met. 14. The system for analyzing movements of a handheld electronic device as claimed in claim 9 , further comprising: a fourth module to generate linear movement data for the handheld electronic device responsive to linear movements of the handheld electronic device; a fifth module providing instructions to the microprocessor to map the linear movement data to a text string representation and store the text string representation in the memory storage device; a sixth module providing instructions to the microprocessor to analyze data relating to the text string representation and earlier movement data, if available, for the handheld electronic device against data relating to a linear gesture string representing the gesture; and compare the text string representation against the threshold to determine if the string representation matches the linear gesture string; and a seventh module providing instructions to the microprocessor to process results of the third and sixth modules to determine whether to execute the command associated with the gesture on the handheld electronic device.