0 items ($0.00) Plans & Prices My Applications Profile Login
HOME |  ONLINE NOW |  COMMUNITY |  OUR PORTFOLIO |  LOGIN 

SeattleClouds FORUM > 2. Help & Tutorials
Seattle Clouds Custom URL Schemes    

In order to give Seattle Clouds 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=info">Add item to your shopping cart</a>

 
bgplayer-play:// Playbacks an audio file in the background.
  Example:
<a href="bgplayer-play://track-1.mp3">Track #1</a>

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

 
bookmark:// Bookmarks book pages in our BookStore template.
  Example:
<a href="bookmark://book=book_name.html&page=page_number">Go to bookmark</a>

 
buy:// Links a user to a selling item by its ID on a web page.
  Example:
<a href="buy://147:item_147_info.html">Buy product with ID 147</a>

 
camera:// Turns on the camera with a linked .html page used to mask the image from the camera. Please note that a linked page must be of .html extension only, but can contain anything in it.
  Example:
<a href="camera://hat.html">Photo everyone with a hat</a>

 
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>

 
external:// Opens a linked page in a default web browser. This scheme will take user out of your application.
 
  Example:
<a href="external://seattleclouds.com">Seattle Clouds</a>

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>

 
file:// Opens a local file from app's resources.
  Example:
<a href="file://about_me.pdf">About me</a>

 
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>

 
latlong:// Sends following coordinates to Google Maps API. Map opens up inside UI WebView without leaving the app.
 
  Example:
<a href="latlong://20,47">Somewhere in the Pacific</a>

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>

 
logout:// If your app allows users to register their own accounts, this scheme will log them out.
  Example:
<a href="logout://">Log out<a>

 
map:// Links a user to a map inside the app displaying location of preset address using Google Maps.
  Example:
<a href="map://Infinite+Loop+Cupertino+Santa+Clara+California+95014">Infinite Loop, Cupertino, Santa Clara, California 95014</a>

 
movie:// Opens a linked media file in QuickTime player.
 
  Example:
<a href="movie://movie.mp4">Play movie in QuickTime</a>

 
ratings:// Allows users to rate and comment a linked page on Facebook.
  Example:
<a href="ratings://gallery.html">My gallery on Facebook</a>

 
removefromcart:// Removes an item from user's shopping cart by its ID.
  Example:
<a href="removefromcart://item_id">Remove item from cart</a>

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>

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>

 
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>

 
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>

 
xaudio:// Playbacks an audio file or stream in OS' default player.
  Example:
<a href="xaudio://track-1.mp3">Track #1</a>

 
xvideo:// Playbacks a video file or stream in OS' default player.
  Example:
<a href="xvideo://clip-1.mp4">Clip #1</a>

 


THANK YOU SO MUCH SC!!!


You are always welcome. Thank you for staying with us :)


Exactly what I needed!!

quick question, how does the upload photo:// work?


CAn this be adjusted so that you can upload a photo to your Facebook wall from within the app, without having to have it hosted on an SC server?


camera url scheme,

I tried testing this out, but the link itself just takes me to a full screen view of the camera.
How would the consumer take a picture?

What I did was create a png file which I stretched out to dimension of the page
I added the .png file as an image in a blank HTML page


Copied your code and changed all the links to match my link.





Marc,
url scheme 'uploadphoto://' is used to send a photo from device to your server via specific target url on your website. 

NOTE: The content of photo is sent as hex stream. On the server side your handler should read this stream and convert into physical file (*.png, *.jpg).

All the best


Hi ,

Can i use the above commands in a mobile page hosted in another server, i tried the 
1<a href="local://tab1.html">Start page of our app</a>

But the above link code didn't work, it works only on an SC html page, 

 what i need is a link to put in my mobile page on my server in order to go directly to tab1.html in the app can you help on this case
Khondr,

Can you please specify two moments for me here:

1.) Is there a trouble with any other page which is not a Tab?

2.) When this page of yours loads, does it load in a web browser (Safari) or in app's UI Web View.

Thank you.
if i use the above herf in a html page from SC it works fine but if i use it in my mobile page it does nothing at all...

the question is can i use the above command in a mobile page to return back to tab1 in the app??

Thanks for help
Khondr,

Yes, you can. As it is a new feature, the common answer is to request a rebuild. If you want to test this functionality in a Seattle Clouds app you need to wait till we update it in a couple of weeks.


Dmitry,


Thanks for the reply. I am gonna work with my webmaster to be able to set this up. What would it take to have all photos taken and files in general be hosted onto our server versus have it linked to SC.

For example:
Photo effect allows for posting on websites such as FB, but the file is hosted on SC.
Is the URL scheme used to upload pictures taken from photo effect.html to our own server?

Goes back to debranding SC as we are putting the app as our own app. 

Would this be a special build?


Great stuff here. Thanks a lot


yeah, Vadim is the Man. Thanks a lot.

You must login to post messages. Click here to log in.
    1   
 This topic is assigned to Vladimir

© Mobiblocks 2011-2012. All Rights Reserved.