Mobitop development
We are currently in process of making Mobitop a more open development environment, in the meanwhile here is how you would develop a mobitop application
Step1: For using mobitop, you need to include mobitop JavaScript file in your page like following:<script type="text/javascript" src="http://www.mobisy.com/mobitop/apis/getApi?ver=3.0&appid=<YOURAPPID>&file=common.js,menu.js,contacts.js,location.js,database.js,call.js,multimedia.js,voip.js,fs.js,camera.js,ui.js,calender.js,sms.js"></script>
You can also include the specific files you need, i.e.<script type="text/javascript" src="http://www.mobisy.com/mobitop/apis/getApi?ver=3.0&appid=<YOURAPPID>&file=common.js,contacts.js,location.js"></script> //Contacts and Location APIS.
NOTE1: Common.js has to be included as first file, as it's used by all other javascript files.
NOTE2: APPID should have been provided to you. If your AppId is wrong, no API will work.To get your APPID, pls contact zmo@mobisy.com
Step2: Use Mobitop Api Reference Doc for typical usage of the APIS.You should have got the link to reference document along with your APPID.
For example, if you need to Open Camera from your web application, you need to add following function in your java script file and call it from somewhere.
################################################################function CamCallBack(aError,aResponseText)
{
alert(aError);
if(aError == 0)
{
aResponseText = aResponseText.replace(/\\/g,"/");
alert(aResponseText);
var myimg = document.createElement('img');
myimg.src = 'mobitopfile:\/\/'+aResponseText;
document.body.appendChild(myimg);
}
}
function TakePic()
{
var cam = new MobitopCamera();
cam.TakePicture(CamCallBack,100,100,1);
}
################################################################
To check out a sample web app developed using Mobitop, download this hello world app.

Can't wait to get your hands on Mobitop and ZMO , have a look at some sample code or just drop an e-mail to zmo@mobisy.com and request a trial code or just drop an e-mail




>> ZMO
>> Ticktop

