Let's start our foray into the realm of the connected world by looking at the simplest way of adding an online feature to our games—launching a web page in the device browser.
Being able to direct the user to a website can be extremely useful for things such as instruction manuals, hints and tips, or technical support access. It is also great for cross promotion of titles by making it really simple to deliver a Get More Games button that highlights other games you have created.
How do we accomplish this magic? It's really simple! Just include the header file s3eOSExec.h
and then make a call to s3eOSExecAvailable
to see if the functionality is supported by the platform we are running on. Most of the platforms supported by Marmalade allow this functionality, but it is always best to check!
If support is
available, all we have to do is call the function s3eOSExecExecute
with the URL of the web page and a Boolean value indicating whether or not our application...