Access Keys:
Skip to content (Access Key - 0)
 

Controller API Documentation

 
Labels: , , , , ,

Added by Dan Cong

Last edit by Dan Cong on Dec 01, 2009 07:38

  1. Apr 21, 2009

    Olivier Poitrey says:

    Instead of "/cmd.htm?id={button_id}" why not something like: "/{action}/{button_...

    Instead of "/cmd.htm?id={button_id}" why not something like: "/{action}/{button_id}", with action accepting "press", "release", "click".

    Examples:

    /click/1
    
    /press/2
    ...
    /release/2
    
    This way it can handle long press on a button for volume control for instance.

    1. Apr 21, 2009

      Juha Lindfors says:

      Yes it makes sense, and we will evolve towards something like that with the REST...

      Yes it makes sense, and we will evolve towards something like that with the REST API. The document you're looking at the moment is from a work-in-progress controller release and documented here for testing purposes. It is intended to support the features of our 1.0 release.

  2. May 17, 2009

    Jeremy Nelson says:

    When I test this on my installation, I get an error that java.security.AccessCo...

    When I test this on my installation, I get an error that

    java.security.AccessControlException: access denied (java.io.FilePermission /home/jernel22/controller.xml read)

    Do I need to set something in Tomcat or one of the config files to give Tomcat access to that file?

    Do I need to move the file somewhere else?

    Thanks

    1. May 17, 2009

      Jeremy Nelson says:

      I figured it out. I had to edit the file /etc/tomcat5.5/policy.d/04webapps.poli...

      I figured it out. I had to edit the file

      /etc/tomcat5.5/policy.d/04webapps.policy

      and add this at the endgrant{
      permission java.io.FilePermission "myHomeFolder", "read";
      };

      1. May 17, 2009

        Juha Lindfors says:

        Glad to hear you got it working. As the installation documentation for the soft...

        Glad to hear you got it working.

        As the installation documentation for the software is still very much a work-in-progress, please let us know on the Forums if you need more assistance.

        Best,

        – Juha

Adaptavist Theme Builder Powered by Atlassian Confluence
Free theme builder license