title: how to recognize external sd card mounted in the device and that device also have internal sd card?
body: <pre><code>if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()))            
  {           
      System.out.println("​sd card present");         
  }
  </code></pre>
  
  <p>by using this code i am able to find the sd card but i am unable recognize which sd card it was. that is inbuilt sd or external...</p>
  
  <p><a href="http://androidforums.com/samsung-galaxy-s2-t/557831-am-i-saving-sdcard-not.html" rel="nofollow">http://androidforums.com/samsung-galaxy-s2-t/557831-am-i-saving-sdcard-not.html</a> plz refer this link once.....</p>
  
  <p>On the <strong>SGS2 Samsung</strong> has a 2 GB partition for the system and the remaining 14 GB partitioned and recognized as an sd card by making its mount point /sdcard. Along with that we can mount an external removable sd card in that device. Then how to recognize external removable sd card through programming. </p>