Skip to content

Instantly share code, notes, and snippets.

function callSpaz(serviceParams, onFailure) {
var appids = ['com.funkatron.app.spaz-sped', 'com.funkatron.app.spaz', 'com.funkatron.app.spaz-beta'], index = 0;
function makeCall() {
if (index < appids.length) {
Mojo.Log.info('Trying to post with appid %s', appids[index]);
var request = new Mojo.Service.Request("palm://com.palm.applicationManager", {