Skip to content

Instantly share code, notes, and snippets.

@axeda
axeda / axeAddDeviceToDeviceGroup.groovy
Created August 30, 2011 22:15 — forked from axeda/axeAddDeviceToDeviceGroup.groovy
Axeda Scripto Service Example - Add a Device to a DeviceGroup
import net.sf.json.JSONObject
import com.axeda.drm.sdk.device.DeviceGroupFinder
import com.axeda.drm.sdk.device.DeviceGroup
import com.axeda.drm.sdk.Context
import com.axeda.common.sdk.id.Identifier
import com.axeda.drm.sdk.device.DeviceFinder
def response = [:], status
try {
@axeda
axeda / 06292011KillerApps3.mxml
Created July 27, 2011 20:24 — forked from saranicole/06292011KillerApps3.as
Building Killer Applications with Flash - Demo 3 of 3: A Polished App
package Axeda.Controller.Services
{
import RiaBus.Controller.Core.ApplicationManager;
import com.adobe.utils.StringUtil;
import mx.rpc.AsyncToken;
import mx.rpc.http.HTTPService;
public class RestService {
private var _url