Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/228.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何使用Parse在浏览器中推送URL打开_Android_Url_Parse Platform_Notifications_Push - Fatal编程技术网

Android 如何使用Parse在浏览器中推送URL打开

Android 如何使用Parse在浏览器中推送URL打开,android,url,parse-platform,notifications,push,Android,Url,Parse Platform,Notifications,Push,我只能推送简单文本,但无法发送URL以在浏览器中打开解析推送通知。您只需将URL推送为简单文本即可。然后,当设备收到此信息时,将其转换为URL,并以web浏览器的方式启动它。你试过什么? Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.google.com")); startActivity(intent);

我只能推送简单文本,但无法发送URL以在浏览器中打开解析推送通知。

您只需将URL推送为简单文本即可。然后,当设备收到此信息时,将其转换为URL,并以web浏览器的方式启动它。你试过什么?
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.google.com"));
            startActivity(intent);