Is there a way to check if the app is running in background using the widget?
Try the below code and match your appid…
function onRunningAppsContext(contexts)
{
for (var i = 0; i < contexts.length; i++)
{
console.log("ID: " + contexts[i].id);
}
}
tizen.application.getAppsContext(onRunningAppsContext);