Author Topic: Remote API  (Read 4830 times)

geirgp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Remote API
« on: December 09, 2009, 09:44:58 am »
Hi,

Is there a remote api I can use if I want to develop native applications for handheld devices like the iPhone/Android ?

Thanks,

Geir

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Remote API
« Reply #1 on: December 09, 2009, 02:31:38 pm »
There isn't a "remote" API, so to speak. Everything in this system speaks DCE, and there is a library in our source tree that handles this.

However, Mobile Orbiters are special, as they are basically dumb terminals, which use a protocol known as BD, to send keypresses and recieve screen images which are displayed by the phone. Essentially all the fat logic is handled by the core.

-Thom

geirgp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Remote API
« Reply #2 on: April 13, 2010, 03:25:16 pm »
I am interested in writing client applications to read data from - and control LinuxMCE. What would it take to make this data and controls available in an open API using for instance XML or JSON?

I very experience Java architect/programmer, yet not so bewandered in the C/C++ world (but still enough to make smaller changes, and maybe more later on). If someone would give me the necessary pointers (not very familiar with the LinuxMCE codebase) I am more than happy to start looking into this.


Cheers,

Geir

Kezza

  • Veteran
  • ***
  • Posts: 146
    • View Profile
Re: Remote API
« Reply #3 on: April 13, 2010, 11:15:08 pm »
Seen these links? http://forum.linuxmce.org/index.php?topic=9818.msg67819#msg67819

Might be a good starting point.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Remote API
« Reply #4 on: April 13, 2010, 11:26:27 pm »
you could use the RPC plugin for json/http, too.

br Hari
rock your home - http://www.agocontrol.com home automation

jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: Remote API
« Reply #5 on: April 14, 2010, 04:13:28 pm »
Hari, is there any documentation on the RPC plug-in?  What is its development/stability status?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Remote API
« Reply #6 on: April 14, 2010, 07:22:57 pm »
use the source luke :-)
rock your home - http://www.agocontrol.com home automation

jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: Remote API
« Reply #7 on: April 14, 2010, 07:46:39 pm »
Thanks wise guy.  ;)

Is RPC Plug-in included in new installations?  Is the interface considered "complete" or are key pieces still undergoing changes?