List of usage examples for android.telephony TelephonyManager getPhoneCount
public int getPhoneCount()
From source file:com.android.mms.ui.ConversationList.java
public boolean isAnySmsReady() { if ((TelephonyManager.getPhoneCount() <= 1 && mSmsReady[0]) || (TelephonyManager.getPhoneCount() > 1 && (mSmsReady[0] || mSmsReady[1]))) { return true; } else {//from w ww. j a v a 2 s .c o m return false; } }