copy a gmaps location link to clipboard if user location marker is clicked

This commit is contained in:
Philipp Schaefer
2013-07-08 17:12:24 +02:00
parent 90a9770e09
commit 30e1a26af0
3 changed files with 13 additions and 4 deletions

View File

@ -174,8 +174,6 @@ public class IITC_Mobile extends Activity {
if (Intent.ACTION_VIEW.equals(action)) {
Uri uri = intent.getData();
String url = uri.toString();
if (intent.getScheme().equals("http"))
url = url.replace("http://", "https://");
Log.d("iitcm", "intent received url: " + url);
if (url.contains("ingress.com")) {
Log.d("iitcm", "loading url...");