Is there a custom URL scheme for the built-in Contacts app?
If there were a public URL scheme, Apple would have documented it in the URL Scheme Reference.
Your options are:
ABNewPersonViewController
orABUnknownPersonViewController
- Direct modification of the address book. (archived link)
WP8 Contact Store Launch App
Afaik it's not possible yet. We cannot launch app from people hub.
Windows Phone 8 Custom Contact Store & Extended Properties
URL scheme to call the Microsoft Edge App?
I try with microsoft-edge:some website
and it works. I test the following page in Firefox on Android and it can open Microsoft Edge when I click the link:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<a href="microsoft-edge:https://www.google.com">link</a>
</body>
</html>
android custom url scheme..?
I think the problem is with the Action you defined.
There is a "android.intent.action.VIEW" which is what I think you want.
<activity android:name=".Gallery1" android:label="@string/app_name" android:launchMode="singleTask" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="cedemo" android:host="com.cedemo.scan" />
</intent-filter>
</activity>
Try that and I bet will resolve correctly. I only made this assumption because you included the browsable category which is usually used by the Browser, which does not know of any of your custom actions. If you do want the GALLERY action as you have implied then just create 2 filters
<activity android:name=".Gallery1" android:label="@string/app_name" android:launchMode="singleTask" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.GALLERY" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="cedemo" android:host="com.cedemo.scan" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="cedemo" android:host="com.cedemo.scan" />
</intent-filter>
</activity>
So within the contents of your activity you can do something like:
// Value should be "toto" as in your example
String value = getData().getQueryParameter("X");
Related Topics
How to Differentiate Whether a User Is Tapping the Screen with His Finger or an Apple Pencil
Having Uiview Drawrect Occur in a Background Thread
Custom Uitableviewcell with Progress Bar Download Update
iOS Appextension:How to Combine Nsextensionactivationrule and Nspredicate
Detecting iOS Version Number from User Agent Using Regular Expressions
Getting the Action of Uigesturerecognizer in iOS
Using Wcsession with More Than One Viewcontroller
Fit Image of Random Size into a Uiwebview (Ios)
Ios: Diddiscoverperipheral Not Called in Background Mode
How to Change Uibutton Image After Clicking in Swift
How to Create Multi Line Uisegmentedcontrol
Xamarin.iOS Binding Libraries/Native Frameworks
The Proper Way of Doing Chain Animations
Parse JSON Response with Afnetworking
How to Make a Conical Gradient in iOS Using Core Graphics/Quartz 2D