findNumber.setOnClickListener(new View.OnClickListener() {
Uri uri = Uri.parse("http://wwww.whitepages.ca/phone/" + phoneNumber.getText());
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
@Override
public void onClick(View v) {
startActivity(intent);
}
});
当我这样做时,它只打开了“http://www.whitepages.com/phone/”