added back named google maps marker...seems to work for other geo intent

apps too...(needs testing for more apps)
This commit is contained in:
Philipp Schaefer 2013-07-31 16:16:44 +02:00
parent 88d87f1776
commit 77bc791131

View File

@ -60,7 +60,7 @@ public class ShareActivity extends FragmentActivity implements ActionBar.TabList
intent.putExtra(Intent.EXTRA_SUBJECT, mTitle);
addTab(intent, R.string.tab_share, R.drawable.share);
String geoUri = "geo:" + mLl + "?q=" + mLl;
String geoUri = "http://maps.google.com/maps?q=loc:" + mLl + " (" + mTitle + ")";
intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(geoUri));
addTab(intent, R.string.tab_map, R.drawable.location_map);