---
title: "How to detect if device support EAP-SIM"  
description: "How to detect if device support EAP-SIM"  
author: "Anonymous User"  
published: 2015-01-23  
updated: 2015-01-23  
canonical: https://www.mindstick.com/forum/12896/how-to-detect-if-device-support-eap-sim  
category: "mobile development"  
tags: ["android", "java"]  
reading_time: 1 minute  

---

# How to detect if device support EAP-SIM

For my [application](https://www.mindstick.com/articles/12824/calculator-application-in-android), I need to [detect if](https://answers.mindstick.com/qa/99016/is-there-any-device-that-can-detect-if-someone-opens-your-backpack) my [device](https://www.mindstick.com/blog/149/retriving-network-device-information-in-c-sharp) [support](https://yourviews.mindstick.com/view/286/modi-support-for-sportsperson) EAP-SIM. [Anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) knows if this is possible or not? Thanks in advance.

## Replies

### Reply by Anonymous User

Ok, finally i get the solution for my problem:

- If anyone is interested:

```
public static boolean isEAPSIMSupported(){ActivityManager manager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);    for (ActivityManager.RunningServiceInfo
service : manager.getRunningServices(Integer.MAX_VALUE)) {        if ("org.simalliance.openmobileapi.service.SmartcardService".equals(service.service.getClassName()))
{            Log.i(WifiHelper.class,"EAP-SIM Supported");            return true;        }    }    Log.i(WifiHelper.class,"EAP-SIM not Supported");    return false; }
```

\

Thanks


---

Original Source: https://www.mindstick.com/forum/12896/how-to-detect-if-device-support-eap-sim

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
