Imal Hasaranga Perera
Imal Hasaranga Perera

Reputation: 10029

Open phonegap application when click to a specific url

This is similar to intents in android, what i need is when clicking a specific url format in a browser through mobile device installed phonegap application should start.

Upvotes: 0

Views: 265

Answers (1)

csantanapr
csantanapr

Reputation: 5022

You need to edit your App *Info-.plist file and define URL Schemes for example "myapp://"

When the user tries to open a link that starts with myapp:// then your App will open

Here is a good tutorial http://www.idev101.com/code/Objective-C/custom_url_schemes.html

Upvotes: 3

Related Questions