Skip to main content
Samsung Developer Program

Deep Link Usage

You can generate and add a deep hyperlink to your websites, your marketing channels and media.  A deeplink can target one of your app's Product Detail Page, or your Seller Brand Page in the associated Samsung app store. Your customers can review, purchase, and download your app, or review your entire product line or one of your brand lines.

 

However, where a deep link actually leads to depends on the type of deep link you use and the user's device. When a Samsung smartphone user follows either type of deep link, they are taken to your app product detail page. When a Samsung smartphone user follows either type of deep link, they are taken to your app product detail page.  

For more details, see the Interworking Guide for Galaxy Apps (http://developer.samsung.com/technical-doc/view.do?v=T000000076).

You can use two types of deep links:

  • HTTP deep link for Samsung badges and marketing and promotions channels, and media deep link for marketing and promotions channels and media
  • URI deep link for app code or seller brand page
     

The following table shows deep-link basic use guidelines:

  Samsung Smartphones Devices other than Samsung Smartphones

HTTP Deep Link  

One of your app detail pages or your seller brand page in the Samsung app store

A help page that guides users

 

URI Deep Link One of your app detail pages or your seller brand page in the Samsung app store Caution: The deep link will not work under this condition.
We recommend that your code checks for the type of user device, and if it is not a Samsung smartphone, the code prevents presenting the URI deep link to users.

In both scenarios of these scenarios, your users may be presented with popups in which they can choose to follow or not follow to get to a deep-link target.

 

HTTP Deep Links for Promotional Channels and Material

You can generate and insert HTTP deep links, either with a Samsung app store badge or separately, in your promotional channels and material to allow your customers to go to your product detail page. The structure of HTTP deep links depends on the app or product type that is being linked.

For details, see Badge Promotion.

 

URI Deep Links for App and Product Code

You can insert URI deep-link code in your apps and products to allow your users to go to your product detail pages (for example, for your entire product line). The structure of URI deep links depends the app or product type being linked (not the type of app or product into which the deep link is being inserted).

The following table shows formats and examples of URI deep links and example code for the following types of apps and products to be deep-linked:

Android apps and Edge panels

samsungapps://ProductDetail/<package name>

samsungapps//ProductDetail/com.supercell.hayday

 

Example Android code:  

Intent intent / new  Intent():

// set data

intent.setData(Uri.parse("samsungapps://ProductDetail/com.supercell.hayday")); //

// add flags

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |

Intent.FLAG_ACTIVITY_CLEAR_TOP |  

Intent.FLAG_INCLUDE_STOPPED_PACKAGES);

// Intent.FLAG_INCLUDE_STOPPED_PACKAGES must be added ONLY IF Android SDK API level is greater than 11.

startActivity(intent);

Gear apps and Gear watch face apps

samsungapps://ProductDetail/<package ID>

samsungapps://ProductDetail/iOIOoLYWGm

 

Example Tizen code:  

var remoteAppCtrl = new webapis.RemoteApplicationControl(

                     "http://samsung.com/appcontrol/operation/remote/view",

                     "samsungapps://ProductDetail/iOIOoLYWGm/"

                     );   

     try {

           webapis.remoteappcontrol.launchRemoteAppControl( remoteAppCtrl,

           function () {createHTML("launch success");}, function(e) {createHTML("failed : " + e.name);});

     } catch(e) {

              console.log("Error Exception, error name : " + e.name + ", error message : " + e.message);

     }

 

For details, see http://img-developer.samsung.com/onlinedocs/gear/Extension_PG_Web/html/prog_guide/remote_ww.htm

Theme, wallpaper, icon packs, and AOD products

themestore://ProductDetail/<package name>

themestore://ProductDetail/com.theme.chi

 

Example Android code:  

Intent intent / new  Intent():

// set data

intent.setData(Uri.parse("themestore://ProductDetail/com.theme.chi")); //

// add flags

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |

Intent.FLAG_ACTIVITY_CLEAR_TOP |  

Intent.FLAG_INCLUDE_STOPPED_PACKAGES);

// Intent.FLAG_INCLUDE_STOPPED_PACKAGES must be added ONLY IF Android SDK API level is greater than 11.

startActivity(intent);

 

  • Was this article helpful?