-
公开(公告)号:US10794698B2
公开(公告)日:2020-10-06
申请号:US15779092
申请日:2015-11-26
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Rui Sun , Teng Zhang , Yi Pan , Renzhi Yang
Abstract: Embodiments of the present invention disclose a method and system for indicating a direction. The method is executed by a mobile terminal, and includes: determining an orientation of a screen of the mobile terminal; determining any direction in four directions east, south, west, and north of a location of the mobile terminal; determining another direction based on the determined direction when the screen of the mobile terminal is determined to be downward, so that directions for every 90° are respectively the east, the north, the west, and the south in a clockwise direction; and displaying all the determined directions on the screen of the mobile terminal. By using the solutions in the embodiments, a user can obtain a correct direction indication even when holding the mobile terminal non-horizontally, so that accuracy of the direction indication of the mobile terminal is improved.