{"id":377,"date":"2011-10-19T11:41:58","date_gmt":"2011-10-19T11:41:58","guid":{"rendered":"http:\/\/www.drmop.com\/?p=377"},"modified":"2011-10-19T11:46:14","modified_gmt":"2011-10-19T11:46:14","slug":"marmalade-sdk-bitesize-tutorial-how-to-launch-an-external-file-or-web-link","status":"publish","type":"post","link":"http:\/\/www.drmop.com\/index.php\/2011\/10\/19\/marmalade-sdk-bitesize-tutorial-how-to-launch-an-external-file-or-web-link\/","title":{"rendered":"Marmalade SDK Bitesize Tutorial \u2013 How to Launch an External File or Web Link"},"content":{"rendered":"<p>Welcome to another bite size Marmalade SDK tutorial. \u00a0This tutorial covers a cross platform way of opening up web links and other types of external file using the Marmalade SDK.<\/p>\n<p>The Marmalade SDK contains a cool function called s3eOSExecExecute() which will launch the file \/ URL that you provide as a parameter using the underlying OS&#8217;s method of handling various file types.<\/p>\n<p>In our example, we want to open up a web page URL. This type of system is great for deep linking your app or game to full and paid versions of free \/ lite apps or even providing a simple link to your other products or web sites.<\/p>\n<p>The format of s3eOSExecExecute is as follows:<\/p>\n<p><span style=\"color: #333399;\">s3eResult  s3eOSExecExecute(const char *url, s3eBool exit) <\/span><\/p>\n<p><span style=\"color: #008080;\">url &#8211; The URL you wish to open<br \/>\nexit &#8211; Should the app exit when launching the URL<\/span><\/p>\n<p>Before you call this function you should however check to make sure that it is supported on the device using:<\/p>\n<p><span style=\"color: #333399;\">s3eBool  s3eOSExecAvailable() <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to another bite size Marmalade SDK tutorial. \u00a0This tutorial covers a cross platform way of opening up web links and other types of external file using the Marmalade SDK. The Marmalade SDK contains a cool function called s3eOSExecExecute() which will launch the file \/ URL that you provide as a parameter using the underlying [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13,29,43,118,44,42,28,3,45,1],"tags":[718,141,142,139,140],"class_list":["post-377","post","type-post","status-publish","format-standard","hentry","category-airplay-sdk","category-android-app-development","category-blackberry-playbook","category-blackberry-playbook-app-development","category-c-programming","category-game-and-app-development","category-ios-app-development","category-marmalade-sdk","category-programming","category-samsung-bada-development","category-uncategorized","tag-marmalade-sdk","tag-open-external-url","tag-open-web-page","tag-s3eosexecavailable","tag-s3eosexecexecute"],"_links":{"self":[{"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":3,"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"predecessor-version":[{"id":381,"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/posts\/377\/revisions\/381"}],"wp:attachment":[{"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.drmop.com\/index.php\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}