title: Getting full path of file in COCOS2D-X on Android devices
body: <p>I am trying to obtain an XML file in my project but I can't seem make work right. 
  I am using <code>libXML</code> (the one that comes with cocos2d-x-2.0.4) to parse XML files.</p>
  
  <p>I'm using <code>CCFileUtils::sharedFileUtils() -&gt; fullPathFromRelativePath( );</code> but the problem is, for Android versions, it will not give the full path. It works fine on iOS, though.</p>
  
  <p>I then looked at the GitHub and saw something weird. It turns out that <code>fullPathFromRelativePath( )</code> will only <strong>return whatever you pass onto it</strong>.</p>
  
  <p>From the <a href="https://github.com/cocos2d/cocos2d-x/blob/gles20/cocos2dx/platform/android/CCFileUtils.cpp" rel="nofollow">GitHub</a>:</p>
  
  <pre><code>const char* CCFileUtils::fullPathFromRelativePath(const char *pszRelativePath)
  {
      return pszRelativePath;
  }
  </code></pre>
  
  <p>I've looked everywhere and all I get is how to read XML files using <code>CCFileUtils</code>. I am already able to parse XML files. The only issue is that I can't get the full path of the XML file using <code>fullPathFromRelativePath()</code> in Android.</p>
  
  <p>How can I get the full path of the XML file in Android?</p>