Advanced input method for smartphones