2.7 CreaTusApps Custom URL Schemes

CreaTusApps Custom URL Schemes

In order to give CreaTusApss users even more tools to design feature-rich interactive applications, we have created a custom set of URL schemes. Some of them are platform specific, others will run equally well on both iOS and Android.

Please, look through the list bellow and see how you can enrich your apps.

URL Scheme

Description

Platform Support

addtocart://

Adds an item to the user's shopping cart. The scheme has four parameters: item name, item price, URL of item info and URL of an image. All parameters are separated with an ampersand (&).

Example:
<a href="addtocart://id?itemname=name&itemprice=price&urlimg=imag​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​e.png&urlinf​o​=​i​n​f​o​"​>​​​Add item to your shopping cart</a>

 

applesmall androidsmall
 bgplayer-play://

Playbacks an audio file in the background.

Example:
<a href="bgplayer-play://track-1.mp3">Track #1</a>

applesmall androidsmall
bgplayer-stop://

Stops background playback.

Example:
<a href="bgplayer-stop://">Stop background player</a>

applesmall androidsmall
 counterenter://

Limits user to a specified number of page visits to a linked page or sets to zero the number of visits of the page if resetzero parameter is presented.

Example:
<a href="counterenter://secret.html?maxenter=1">Access my secret page just once</a>
<a href="counterenter://secret.html?resetzero=">Reset the number of your visits</a>

applesmall
external://

Opens a linked page in a default web browser. This scheme will take user out of your application.

Example:
<a href="external://http://creatusapps.net">CreaTusApps</a>

applesmall androidsmall
facebook://

Posts a screenshot of current app page to user's Facebook wall. This URL scheme requires no arguments.

Example:
<a href="facebook://">Let your Facebook friends see this page</a>

applesmall
globe://

Links a user to a globe-type page from our page type menu. The globe caries location marks that can be edited in our online editor.

Example:
<a href="globe://offices-worldwide.html">Our offices worldwide</a>

applesmall
latlong://

Opens following coordinates with available Maps applications. Map opens up inside UI without leaving the app on iOS, while on Android available mapping application is loaded.

Example:
<a href="latlong://40.689167,-74.044444">Statue of Liberty National Monument, NY</a>

applesmall androidsmall
local://

Allows web sites loaded in In-App Browser or Mobile pages to link to internal resources of the app.

Example:
<a href="local://tab1.html">Start page of our app</a>

applesmall androidsmall
logout://

If your app allows users to register their own accounts, this scheme will log them out.

Example:
<a href="logout://">Log out<a>

applesmall
map://

Displays the location of preset address using Maps application. Similar with latlong://.

Example:
<a href="map://Infinite+Loop+Cupertino+Santa+Clara+California+95014">Infinite Loop, Cupertino, Santa Clara, California 95014</a>

applesmall androidsmall
movie://

Opens a linked media file in default player.

Example:
<a href="movie://movie.mp4">Play movie</a>

applesmall androidsmall
ratings://

Allows users to rate and comment a linked page on Facebook.

Example:
<a href="ratings://gallery.html">My gallery on Facebook</a>

applesmall
removefromcart://

Removes an item from user's shopping cart by its ID.

Example:
<a href="removefromcart://item_id">Remove item from cart</a>

applesmall
sendmail://

Prompts user to send an email to an indicated email address without leaving an app.

Example:
<a href="sendmail://my@email.com">Email me</a>

applesmall androidsmall
sharemail://

Creates a screenshot of current app page and prompts user so send it by email. This URL scheme requires no arguments.

Example:
<a href="sharemail://">Send a screenshot of this page by email</a>

applesmall
sound://

Playbacks a sound file in OS' default player. The scheme was designed with audio effects in mind, so the playback can not be stopped. On iOS the audio file can only be 30 seconds long and of >WAV format.

Example:
<a href="sound://beep.wav">Alert</a>

applesmall androidsmall
uploadphoto://

Uploads an image file to a preselected file hosting.

Example:
<a href="uploadphoto://file_hosting.com/upload">Choose a photo to upload on the web</a>

applesmall
xaudio://

Playbacks an audio file or stream in OS' default player.

Example:
<a href="xaudio://track-1.mp3">Track #1</a>

androidsmall
xvideo://

Playbacks a video file or stream in OS' default player.

Example:
<a href="xvideo://clip-1.mp4">Clip #1</a>

androidsmall
purchase://restore

"Restore Purchase" option for Apple In-App Purchases. This URL scheme requires no arguments.

Example:
<a href="purchase://restore">R​estore your Purchase</a>

applesmall

 

 

Avatar of CreaTusApps

CreaTusApps has written 103 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>