How to Determine if Android Device has SIP API Enabled

public static final String FEATURE_SIP was Added in API level 9
Feature for getSystemAvailableFeatures() and hasSystemFeature(String).
The SIP API is enabled on the device.
Constant Value: "android.software.sip"


1. Get a PackageManager Instance named myPackageManager.

2. Create a Boolean Variable named bolSIPSupported. 

3. Set the Minimum and Target SDK version  to 9 or greater. 

4. In the onCreate method, add the below code. This will return the SIP API availability to a boolean named bolSIPSupported. It will then display a toast displaying the SIP API availability of the device to the user.

bolSIPSupported = myPackageManager.hasSystemFeature(PackageManager.FEATURE_SIP);
if (bolSIPSupported) {
Toast.makeText(this, "Device has a SIP API enabled", Toast.LENGTH_LONG).show();
} else {
Toast.makeText(this, "Device does NOT have SIP API enabled!", Toast.LENGTH_LONG).show();
}

5. Compile and run!

Resources:
http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_SIP