-
Notifications
You must be signed in to change notification settings - Fork 6
OpenURL
Andy Johns edited this page Feb 22, 2017
·
5 revisions
####Description: Opens URL on device external to app
This service is available on the iOS, MacOS, Android, and Java platforms as an optional service.
Method: POST
URL: http://pmapi/openurl
Input: JSON dictionary
Dictionary must contain element: url
Output: No data returned. Status code 200 if successful. Status code 500 if the provided URL cannot be opened by any process/app on the device.
Example Input JSONs
Open mail app, and start new message:
{
"url": "mailto://[email protected]?Subject=Hello%20again"
}
Initiate a phone call:
{
"url": "tel:1-800-555-1212"
}
Open Facebook:
{
"url": "fb://feed"
}
Open Page in Safari:
{
"url": "https://www.google.com"
}
Intro *Home
Services
- Authentication
- Boot
- Command
- Connectivity
- Data Access High-level
- Data Access Low-level
- Logging
- Notify
- OpenURL
- Secure Storage
- TouchId
- User Information
- User Settings
- Version
- Window
iOS SDK
- General
- Posted Notifications
- Remote Notifications
- Classes
- PredixMobilityConfiguration
- PredixMobilityManager
- Protocols
- PredixAppWindowProtocol
iOS Examples
Java Examples
General
[//]: (Enabling Sync Logging)