Modify Accelerometer Test sample because of  the modification of nativeactivity.cpp