04-30-2013 02:07 PM
Purpose: Using SENSOR_TYPE_ORIENTATION gets orientation angle.
Problem: I could not find any sample code for SENSOR_TYPE_ORIENTATION.
Question: How could I use SENSOR_TYPE_ORIENTATION to get orientation angle?
If the function is developing now, just let us know.
Minimum currrent code to get orientation angle
int angle = navigator_event_get_orientation_angle(event).
the anlge shows 0, 90, 180, 270.
Thanks your attention.
04-30-2013 04:34 PM
I read it, but not any description SENSOR_TYPE_ORIENTATION instead of naviagtor_angle.
I guess the SENSOR_TYPE_ORIENTATION is developing now.