Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Revision as of 13:38, 14 July 2014 by Tomi_ (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Deep Linking to Store on Nokia X

From Wiki
Jump to: navigation, search
Featured Article
20 Apr
2014

This article explains how deep linking to apps in the Nokia Store works on Nokia X.

Note.pngNote: This was a winning entry in the Nokia X Wiki Challenge 2014Q1

Article Metadata
Code Example
Installation file: DeepLinkSample.apk
Tested with
SDK: Android SDK for API level 16
Devices(s): Nokia X, Nokia X+ and Nokia XL
Article
Created: Tomi_ (12 Apr 2014)
Last edited: Tomi_ (14 Jul 2014)

Contents

Introduction

Store deep linking means guiding the user to the page of a specific application in the store. On the Nokia X devices, the page can be displayed in the Store client app. Like in many other use cases, here the behavior of Nokia X is similar to Android phones - with or without Google services. There is no difference development-wise either when the market scheme is used. In this short article store deep linking is described and demonstrated by the corresponding sample app available in GitHub.

Market scheme

The market scheme format to link to the app details in the Nokia Store client is the following:

market://details?id=<package name>

This format is of course cross-platform: When your package name is the same in both Nokia Store and, e.g. Google Play Store, the same Intent implementation with the same market scheme URI will work. The code snippet below will launch the Nokia Store client app and show the Nokia MixRadio app:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://details?id=com.nokia.app.mixradio.client"));
startActivity(intent);

The user interface (UI) flow is demonstrated below:

If an app with the given package name is not found, Nokia Store falls back to search mode. However, this fallback is Nokia Store specific and you should not rely on it. Instead, always make sure that the package name you use is correct. If you want to search for apps, use the search query explained below.

The format of search query with the market scheme is the following:

market://search?q=<search term>

Summary

The store deep linking with Nokia X works just like in any Android device, e.g. a device with Google Play Services and Google Play Store, when utilising the market scheme.

Version Hint

Windows Phone: [[Category:Windows Phone]]
[[Category:Windows Phone 7.5]]
[[Category:Windows Phone 8]]

Nokia Asha: [[Category:Nokia Asha]]
[[Category:Nokia Asha Platform 1.0]]

Series 40: [[Category:Series 40]]
[[Category:Series 40 1st Edition]] [[Category:Series 40 2nd Edition]]
[[Category:Series 40 3rd Edition (initial release)]] [[Category:Series 40 3rd Edition FP1]] [[Category:Series 40 3rd Edition FP2]]
[[Category:Series 40 5th Edition (initial release)]] [[Category:Series 40 5th Edition FP1]]
[[Category:Series 40 6th Edition (initial release)]] [[Category:Series 40 6th Edition FP1]] [[Category:Series 40 Developer Platform 1.0]] [[Category:Series 40 Developer Platform 1.1]] [[Category:Series 40 Developer Platform 2.0]]

Symbian: [[Category:Symbian]]
[[Category:S60 1st Edition]] [[Category:S60 2nd Edition (initial release)]] [[Category:S60 2nd Edition FP1]] [[Category:S60 2nd Edition FP2]] [[Category:S60 2nd Edition FP3]]
[[Category:S60 3rd Edition (initial release)]] [[Category:S60 3rd Edition FP1]] [[Category:S60 3rd Edition FP2]]
[[Category:S60 5th Edition]]
[[Category:Symbian^3]] [[Category:Symbian Anna]] [[Category:Nokia Belle]]

This page was last modified on 14 July 2014, at 13:38.
498 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×