import android.provider.Settings;public boolean isAirplaneModeOn(Context context){ return Settings.System.getInt(context.getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 0) != 0;}
Post a Comment
No comments:
Post a Comment