0
是否有無意中在原生應用程序中打開instagram用戶配置文件(如http://instagram.com/username)的意圖,我們不應鏈接到默認的bouser。如何在原生應用程序中打開instagram用戶配置文件
intent.setData(Uri.parse("http://instagram.com/username"));
是否有無意中在原生應用程序中打開instagram用戶配置文件(如http://instagram.com/username)的意圖,我們不應鏈接到默認的bouser。如何在原生應用程序中打開instagram用戶配置文件
intent.setData(Uri.parse("http://instagram.com/username"));
有一種命令行方法。您可以使用上午命令來獲得瀏覽器導航到指定的Web:
上午開始-a android.intent.action.VIEW -d http://instagram.com/username
這會打開一個網頁瀏覽器,而不是Instagram應用程序。另外,您應該始終在已發佈的應用程序中通過命令行使用意圖。 –
你有沒有試過爲了這個目的集成的WebView。 – Krrishnaaaa