2014-10-01 67 views
0

我想在Android上將超級鏈接添加到我的應用中。Android上的優步深度鏈接

我創建的意圖如下:

Intent intent = new Intent(Intent.ACTION_VIEW, deepLink.getDeeplinkUri()); 
mContext.startActivity(intent); 

計算的開放的,我通過發送是這樣的:

uber://?action=setPickup&product_id=91901472-f30d-4614-8ba7-9fcc937cebf5&pickup[latitude]=-33.9226277&pickup[longitude]=18.4232182&dropoff[latitude]=-33.972282&dropoff[longitude]=18.601956 

然後啓動Uber應用,選擇正確的產品,但它根本沒有拿起丟失的位置。

我錯過了什麼嗎?

感謝您的幫助

回答

3

好的。我找到了解決方案。你還需要通過拾取[暱稱]和下降[暱稱],然後纔會顯示超級應用程序中的任何內容

0

在我的情況下,我忘了附上product_id。 附加它沒有綽號的伎倆