Skip to main content
Samsung Developer Program

Deep Link Usage

You can add a deep hyperlink to your websites, your marketing channels and media, and your app or product code in order to promote your app or product available in Galaxy Apps. Typically, deep links point to your app or product detail page in the Galaxy Apps store, where your customers can review, purchase, and download your app or product. 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 marketing and promotions channels, and media deep link for marketing and promotions channels and media
  • URI deep link for app or product code

The following table shows deep-link basic use guidelines:

  Samsung Smartphones Devices other than Samsung Smartphones

HTTP Deep Link  

App or product detail page

www.samsung.com  (or a regional variant)

URI Deep Link App or product detail page Caution: The deep link will not work.
We recommend that your code checks for the type of device, and if it is not a Samsung smartphone, the code prevents presenting a 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 insert HTTP deep inks 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.

The following table shows formats and examples of HTTP deep links for the types of apps and products to be deep linked:

Android apps
and Edge panels

http://www.samsungapps.com/appquery/...tail.as?appId=<package name>

http://www.samsungapps.com/appquery/...tail.as?appId=com.supercel.hayday

Gear apps
and Gear watch face apps

http://apps.samsung.com/gear/appDetail.as?appId=<package ID>

http://apps.samsung.com/gear/appDetail.as?appId=iOIOoLYWGm

Themes, wallpaper, icon packs, and AOD products

http://www.samsung.com/appquery/glob...ex.html.appId=<package name>

http://www.samsungapps.com/appquery/...ex.html.appId=com.example.myapp

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?