Get GeoCodes from Android Google Maps App
<p>I'm trying to integrate with Google Maps application on Android, and would like to share the GeoCodes of a selected locaiton on the map ( by clicking on that location and pressing share )</p>

<p>1) I'm receiving the URL in short, which I'm running a URL expanding function on
2) After expanding the URL, I;m getting the URL as follows: <a href="http://maps.google.com/?cid=8877913323339833318&amp;hl=en&amp;gl=us&amp;shorturl=1" rel="nofollow">http://maps.google.com/?cid=8877913323339833318&amp;hl=en&amp;gl=us&amp;shorturl=1</a> </p>

<p>I've have searched everywhere online and couldn't really find a reliable way to convert CID to geocodes (latitude and longitude)</p>

<p>Question: How to convert CID to geocodes, is it even possible? If it's not possible, how do we pass GeoCodes directly from Google Maps to our app rather than getting the CID.</p>

<p>I'm adding the below to my manifest, I'm assuming i would need to look for something other than "text/plain"</p>

<pre><code>&lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.SEND" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;data android:mimeType="text/plain" /&gt;
&lt;/intent-filter&gt;
</code></pre>

<p>Any ideas?</p>

<p>appreciate it.</p>