XBMC Community Forum
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps (/showthread.php?tid=8760)



- Nuka1195 - 2005-06-27 14:40

i've tried from two different computers and a friend has tried from a different location to download xbmccontrol.zip from sourceforge.

i have to open it in winrar, windows built-in zip reader won't work and there is a single file called xbmccontrol, no extension. dated 6.27.2005 12:18 pm, file size 205,981 packed 198,138.

i'll re-read this thread, but is there something i missed or is there a problem with the zip file maybe?

edit: nevermind, i was trying to download from your patch page. great app.


- nad - 2005-06-28 23:52

nuka1195: thanks.

pike and thor918: command=execbuiltin&parameter=xbmc.runxbe(xbe) is the correct syntax to use, however, if you had tried it you most likely would have found xbmc locking up. yesterday, i uploaded a fix for this bug.

nad


- pike - 2005-06-29 00:04

thx nad! closed the sf bug accordingly


- pulp_136 - 2005-06-30 21:45

nad, thanks for your effort.

my question is, can i use this with vb6 ? (the only pl that i can sort of use). preferably with your source module, or, if that's not possible, how do i give the http commands from within vb6?

something else: if i use xbmc as a dashboard is there a possibility to launch specific back-up games with your api? i'm thinking of creating a touchscreen control app for the xbmc.

thanks in advance


- nad - 2005-06-30 22:17

pulp_136,

you can definitely use vb6. however, you won't be able to use my module directly, you will first to port it from vb.net which should be very straightforward. in fact it was something i was planning on doing. i can't remember the vb6 approach to sending http commands i'll look it up and post back here.

you should be able to execute games using the command discussed in the posts in this thread from a couple of days back, i.e.:

Quote:http://xbox/xbmccmds/xbmchttp?command=execbuiltin&parameter=xbmc.runxbe(xbe)

where xbe would be the filename of the game you wish to execute.

nad


- Livin - 2005-06-30 23:13

pulp_136,
i've been wanting someone with some programming savvy to make a "remote control" interface for xbmc. i also have a touchscreen and would love to use it. if you need a beta tester let me know!

i also suggest using .net since you will easily be able to build the code once and compile it for both windows 2000/xp and windowsce since they all run the .net framework.

i'm wondering though if maybe just creating/extending the web pages may be the best way to go instead of a stand-alone app... web pages are the most portable and could run on many platforms.

or possibly even more "robust" is java controls... then any platform running a jvm could use it. this is the most robust, and the most complex, of course.


- thor918 - 2005-07-01 03:36

Quote:or possibly even more "robust" is java controls... then any platform running a jvm could use it. this is the most robust, and the most complex, of course.
not if the java runtime is older than what it is programmed in  Tongue (just saying, there are some devices that is not upgradable that has old javaruntimes.)

how is that web project you said that you where going to make?


- Livin - 2005-07-01 03:55

someone already made a pm3 skinned version and has added some of the httpapi features.

i'm not a good web developer so i hope someone that is can take on the task.


- nad - 2005-07-02 21:54

i have at last created some proper documentation for the api. at the moment it is a word document that you can download here httpapi doc though it should probably go into the xbmc online manual. i will do this eventually but if someone with the skills (i don't have them) can translate and update the contents of my word document to wacko wiki i would appreciate it. perhaps a new page under the "advanced features" section?

nad


- Livin - 2005-07-04 08:54

@nad
is there any way you can make the ppc client scalable?
i have a 10.4" 800x600 screen on my wince device. as ppc screens get larger and wince gets put into various devices having auto-scaling would be helpful.

i know other ppc applications have it so i thought i'd ask.