get Mnc from Context - Android android.content

Android examples for android.content:Context

Description

get Mnc from Context

Demo Code


//package com.java2s;

import android.content.Context;

public class Main {
    public static int getMnc(Context context) {
        return context.getResources().getConfiguration().mnc;
    }/*  ww w.  j  av a2s .c  o m*/
}

Related Tutorials