View Single Post
hhedberg's Avatar
Posts: 84 | Thanked: 212 times | Joined on Nov 2007 @ Oulu, Finland
#112
Originally Posted by yerga View Post
In a related note about as could be the new tablet, Stskeeps and myself were looking to the mce header files for Fremantle, and we found this new interesting code about orientations:
Code:
/** Device rotation name for portrait orientation */
#define MCE_ORIENTATION_PORTRAIT		"portrait"
/** Device rotation name for landscape orientation */
#define MCE_ORIENTATION_LANDSCAPE		"landscape"
/** Device rotation name for on stand */
#define MCE_ORIENTATION_ON_STAND		"on_stand"
/** Device rotation name for off stand */
#define MCE_ORIENTATION_OFF_STAND		"off_stand"
/** Device rotation name for facing up */
#define MCE_ORIENTATION_FACE_UP			"face_up"
/** Device rotation name for facing down */
#define MCE_ORIENTATION_FACE_DOWN		"face_down"
/** Device rotation name for unknown */
#define MCE_ORIENTATION_UNKNOWN			"unknown"
#endif /* _MCE_MODE_NAMES_H_ */
Seems reasonable. Some Nokia phones do not ring while put face down on a table.

Originally Posted by yerga View Post
Also this could be interesting but not related to orientations:
Code:
/** Cellular call */
#define MCE_CALL_STATE_CELLULAR			"cellular"
While the other call states are as follows, the case should be fairly obvious for everybody:

Code:
/** VoIP call */
#define MCE_CALL_STATE_VOIP			"voip"
/** Video call */
#define MCE_CALL_STATE_VIDEO			"video"
 

The Following User Says Thank You to hhedberg For This Useful Post: