Example usage for android.hardware SensorEventListener interface-usage

List of usage examples for android.hardware SensorEventListener interface-usage

Introduction

In this page you can find the example usage for android.hardware SensorEventListener interface-usage.

Usage

From source file com.zoffcc.applications.zanavi.Navit.java

@SuppressLint("NewApi")
@SuppressWarnings("deprecation")
public class Navit extends AppCompatActivity implements Handler.Callback, SensorEventListener {

    static {
        AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);