I am building an App that leverages the Google Map and Places API. I do not want to use the Places Info Window but I want to open a new Activity and populate the Layout with data when the Place icon is selected. I am able to pass the telephone information and other data using Intent and Intent-Extra. However I am having difficulty passing the URL or Website of the Location even though I don't get an error, the layout text view field just returns blank. My code is as below.
From the sending Activity
String phonenum=mPlace.getPhoneNumber();
intent.putExtra("Phone Number: ", phonenum);
Uri Web = mPlace.getWebsiteUri();
intent.putExtra("Web: ", Web);
In the Receiving Activity my Code is as follows
Bundle bundle = getIntent().getExtras();
String phonenum = bundle.getString("Phone Number: ");
String Web = bundle.getString("Web: ");
TextView Txtview3 = (TextView) findViewById(R.id.telephone);
Txtview3.setText(phonenum);
TextView web = (TextView) findViewById(R.id.url7)
web.setText(Web);
As I mentioned the phone number code works fine, but I don’t know what I am missing with the URL code. I have checked a number of answers and found no solution. Any ideas would be appreciated