You can use the parse static method from Uri

Uri myUri =Uri.parse("http://stackoverflow.com")

創作者介紹
創作者 經驗交流分享與備忘 的頭像
本熊

經驗交流分享與備忘

本熊 發表在 痞客邦 留言(0) 人氣( 11 )