LinuxMCE Forums

General => Feature requests & roadmap => Topic started by: krys on November 18, 2008, 09:19:52 pm

Title: New app for Iphone came out... Air Mouse
Post by: krys on November 18, 2008, 09:19:52 pm
ok so I have seen a few posts about iphones as orbiters, and while that would be nice with the touchscreen I am sure that it would be much more involving than getting this new app to work. The app basically turns the iphone into a gyro mouse with some buttons on the touch screen. There is a server app that you download to the PC that runs it along with the iphone app, looks like right now it only supports MAC's and Windoze.....

http://www.mobileairmouse.com/

All I need is someone smarter than me who owns an iphone to lead the way on making this thing work with LMCE or tell me there is no way it will work and crush my dreams.
-Krys
Title: Re: New app for Iphone came out... Air Mouse
Post by: Zaerc on November 18, 2008, 09:30:08 pm
... looks like right now it only supports MAC's and Windoze.....

That should have answered your question.
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on November 18, 2008, 09:51:29 pm
I did some digging and found out that they are looking for people to be beta testers for new versions of this app and possibly different OS'. I shot an email off to their software dept and asked if they would be willing to look into developing a version that will work for us and offered myself and some others here as beta testers. I will post their reply if I recieve one.
-Krys
Title: Re: New app for Iphone came out... Air Mouse
Post by: Zaerc on November 18, 2008, 11:07:39 pm
Unless the source is/becomes available, I wouldn't bother.  We're dependent on to many binary drivers already.
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on November 18, 2008, 11:21:14 pm
alright, no worries. I wouldn't be surprised if the source for the server is open since it is free. The app for the Iphone is where they make their money. I will still post the email results to see what they say. (If I ever get time I am sure that I could figure out the app for myself in the Iphone SDK, then we could do whatever we wanted....)
-Krys
Title: Re: New app for Iphone came out... Air Mouse
Post by: skatingn330 on November 19, 2008, 12:09:13 am
I realized this possibility also, I'm probably wrong, but couldn't we just run the server app in wine or use synergy to make the iphone app work?
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on November 19, 2008, 03:17:47 pm
one problem I could see is since this app runs over wifi, I would imagine that it would have an issue determining which MD you are trying to control, unless there was some way to run the server app on the MD itself...
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on November 20, 2008, 05:18:02 pm
well I got an email back, and as of right now they are not trying to make a version for linux.
Title: Re: New app for Iphone came out... Air Mouse
Post by: skatingn330 on December 12, 2008, 02:16:49 am
Hey krys,

I found a solution! Download remotepad app from the iTunes app store. It supports Linux! I have yet to test it, let know if you try it and it runs successfully. Btw it's a free app
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on December 15, 2008, 06:25:38 pm
you test this program out yet?
Title: Re: New app for Iphone came out... Air Mouse
Post by: skatingn330 on December 15, 2008, 06:32:00 pm
Naw, I couldn't install 0710 because many problems, However i did sucessfully get 0810 alpha 1 installed but deleted after realizing how many gliches it had. I did DL the App and it looks like it would work, it just asks for a server ip address and a port. or the option to connect to a RemotePad Server
Title: Re: New app for Iphone came out... Air Mouse
Post by: elvisimprsntr on February 24, 2009, 01:03:03 pm
BACKGROUND

I have a base Kubuntu 810 which I downloaded, compiled, and demonistrated remotepad working on my machine.  This is awesome.  No need for a gyro remote to control LMCE . 

STEPS

http://groups.google.com/group/remotepad/browse_thread/thread/378148b28871f5e0/be05c9dca6219596?lnk=gst&q=linux#be05c9dca6219596

Now if I can only get LMCE 810a2 installed and working....

Title: Re: New app for Iphone came out... Air Mouse
Post by: skatingn330 on February 24, 2009, 06:24:34 pm
I don't think it will work while Lmce is running, LMce is somewhat a server and I doubt it'll let u run the remote server at the same time.
Title: Re: New app for Iphone came out... Air Mouse
Post by: totallymaxed on February 24, 2009, 06:43:30 pm
I don't think it will work while Lmce is running, LMce is somewhat a server and I doubt it'll let u run the remote server at the same time.

Well there can be many 'servers' running simultaneously. LinuxMCE already runs numerous servers...HTTP, Asterisk, fuppes etc etc. As long as they dont clash on the ports etc they use there should be no problem from that perspective at all... there maybe other issues though ;-)


Andrew
Title: Re: New app for Iphone came out... Air Mouse
Post by: seth on February 24, 2009, 07:30:13 pm
 :)
I want to give this a try this evening. I really am quite attached to my iPhone, now that I have one, it seems it is always with me. And I would also like to look into some sort of orbiter. Smarthome has a control package that works on ipod touch and iphone that is really quite slick. There should be some way to port the orbiter app to iphone. They have like hundreds of apps daily being written for it, so why not one more.

I have tried to use the iPhone with the web orbiter, but I can not seem to get the resolution right, either way too small, or just big enough that you need to scroll up or down.

Anyways, Back on topic. I have downloaded the server source software for remotepad app server and will attempt to get it running tonight.

Regards,

Seth
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on February 24, 2009, 08:26:42 pm
lemme know how it goes, I have been too lazy to try it myself.
However if you think that is cool, this will blow your mind
http://www.orb.com/en/orblive

they are promising a linux version soon, if so I would be set.

Oh, and as far as the orbiter for iphone goes, the problem is you would need to develop something in the iphone SDK and get apple to approve it so people dont have to hack their phone to use it. The main problem is the SDK only works on a MAC OS and most people dont have a MAC just laying around to use. There are ways to run leopard and a few others on a windows machine but it involves breaking the law or paying a few hundred bucks to purchase the OS from apple.
Other than that I would assume the rest would be feasible.
Title: Re: New app for Iphone came out... Air Mouse
Post by: seth on February 24, 2009, 08:43:42 pm
 ;D
Wow, that is really cool. I am currently working on getting a job set up to rip out the commercials, and export the show to a iphone compatible format, but I have been busy at work lately, hopefully by this weekend I will have that done. But that orblive looks very cool indeed.

Thanks for the link.

Regards,

Seth
Title: Re: New app for Iphone came out... Air Mouse
Post by: Zaerc on February 24, 2009, 09:35:31 pm
lemme know how it goes, I have been too lazy to try it myself.
However if you think that is cool, this will blow your mind
http://www.orb.com/en/orblive

they are promising a linux version soon, if so I would be set.

Oh, and as far as the orbiter for iphone goes, the problem is you would need to develop something in the iphone SDK and get apple to approve it so people dont have to hack their phone to use it. The main problem is the SDK only works on a MAC OS and most people dont have a MAC just laying around to use. There are ways to run leopard and a few others on a windows machine but it involves breaking the law or paying a few hundred bucks to purchase the OS from apple.
Other than that I would assume the rest would be feasible.
And people wonder why we prefer the freedom that open systems give us...
Title: Re: New app for Iphone came out... Air Mouse
Post by: skatingn330 on February 25, 2009, 12:08:41 am
There's a open source sdk  available from cydia, it's called big boss's toolchain I believe. But that'd let u develop in Linux. Then just host the app in cydia, then we won't have to deal with apple at all for approveal. I would lovee to see an orbitor app for the iPhone. Most poeple that use lmce that have an iPhone probably already have jailbroken iPhones anyways.
Title: Re: New app for Iphone came out... Air Mouse
Post by: hari on February 25, 2009, 12:23:47 am
I have a developer license to publish on the AppStore.

Now we just need some orbiter code to publish :-) But i lack a bit motivation on this one as my screensize for MacOSX is limited to 1024x600..

best regards,
Hari
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on February 25, 2009, 03:55:08 am
well, I can confirm that the Orb app for the iphone does freakin rock. I got the free app that limits how many files you can view from your phone, but most of the functions work. I watched some movies, listened to some songs etc. Once the Linux version is available I will be able to watch live TV on my phone!
Title: Re: New app for Iphone came out... Air Mouse
Post by: elvisimprsntr on February 25, 2009, 12:06:08 pm
Although it's not open source, ORB for the iPhone is pretty cool.  I've even been streaming music from my desktop to my iPhone while driving around in my car.  Get occasional streaming drops when switching cell towers.  You can even open popular document files.  I wish OO.org would port their document viewers to the iPhone.  With an iPhone clipped into a Griffin RoadTrip, I don't know why anyone  would want or need sat radio, a seperate GPS, or a computer in the dash or trunk of their car, especially if it's powered by MS.  I don't want MS powering my desktop, why then would I want them to be powering my car.  I hope to god the auto manufacturers (Ford and MS Sync) have isolated Windows from the saftey critical functions in the car.  I would hate to think what would happen if a clever virus figured out how to re-boot a car while someone is driving down the highway. 

Back on thread....  remotepad for the iPhone and the server app for your MacOS, Linux, Windows works excellent.  The only one I have come across that support all three OS.    And it's open source.    http://www.tenjin.org/RemotePad/       Maybe it can be rolled into LMCE 810 distribution when it is released.    If someone figures out how to get it to start automatically upon boot up, please post your config.

Thanks,

Elvis

Title: Re: New app for Iphone came out... Air Mouse
Post by: los93sol on February 27, 2009, 04:09:51 pm
Another option to get the Iphone running as a proper orbiter is to utilize the Java runtime that will run on the Iphone.  It isn't natively supported, but runs on jailbroken phones and installation is a breeze.  I attempted to compile JavaMO on it, but got some compiler errors.  Maybe someone could get it working relatively quickly with the right knowledge since the code is already pretty much working for JavaMO.  Anybody interested in giving this a quick try and reporting their results?
Title: Re: New app for Iphone came out... Air Mouse
Post by: krys on February 27, 2009, 04:19:54 pm
I am too scared to jailbreak the iphone I use, but Ill bet we can get some ipod touch's real cheap or some used iphones if we can find a solution that works.
Title: Re: New app for Iphone came out... Air Mouse
Post by: hari on February 27, 2009, 06:01:16 pm
you need j2me for the javamo.
Title: Re: New app for Iphone came out... Air Mouse
Post by: los93sol on March 02, 2009, 07:30:05 pm
I looked at some software from Javaground in their Xpress Suite to automate converting the J2ME source to the iPhone's objective C, but received some error messages I'm not quite sure how to correct.  Javaground has a free trial that can be used for testing if someone more experienced wants to take a look to see if it can be done easily.  With only 8 compiler errors I imagine someone with the right knowledge could resolve them in a few minutes and have the iPhone running as an orbiter.
Title: Re: New app for Iphone came out... Air Mouse
Post by: jgdev on March 11, 2009, 12:55:22 am
Hey, I'm a developer from Javaground and I happened to see your comment.  There shouldn't be any conversion issues with using standard J2ME code (MIDP 2/CLDC 1.1) on the iPhone.  If you're having issues please report them to the email used to send your trial license information.
Title: PhoneGap.com - that work?
Post by: rvetruba on March 12, 2009, 07:19:39 am
I'm a total noob and a designer, not a programmer... so pardon if i'm way off base

http://www.phonegap.com/

Title: Re: New app for Iphone came out... Air Mouse
Post by: los93sol on March 26, 2009, 02:20:24 am
Okay, I decided to revisit the Javaground route...below are the few compiler errors...I think once these are resolved then the orbiter will be running natively on the Iphone as an app...Hari, Thom, any devs with some quick guidance?

Failed to COMPILE java sources.

----------
1. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\TestMIDlet.java (at line 15)
   canvas = new BDCommand(this);
                ^^^^^^^^^
BDCommand cannot be resolved to a type
----------
----------
2. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 35)
   public class BDCommand extends SerializeClass {
                                  ^^^^^^^^^^^^^^
SerializeClass cannot be resolved to a type
----------
3. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 105)
   startReading();
   ^^^^^^^^^^^^
The method startReading() is undefined for the type BDCommand
----------
4. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 106)
   response = readString();
              ^^^^^^^^^^
The method readString() is undefined for the type BDCommand
----------
5. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 122)
   return m_pBout.toByteArray();
          ^^^^^^^
m_pBout cannot be resolved
----------
6. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 131)
   return (long)currentSize();
                ^^^^^^^^^^^
The method currentSize() is undefined for the type BDCommand
----------
7. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 138)
   startWriting();
   ^^^^^^^^^^^^
The method startWriting() is undefined for the type BDCommand
----------
8. ERROR in E:\DOCUME~1\Los93soL\LOCALS~1\Temp\jg\Test\Build\src\BDCommand.java (at line 139)
   writeString("OKAY");
   ^^^^^^^^^^^
The method writeString(String) is undefined for the type BDCommand
----------
8 problems (8 errors)
Title: Re: New app for Iphone came out... Air Mouse
Post by: chrisbirkinshaw on April 16, 2009, 02:01:36 pm
I think the best way to support the iphone is to create an iphone webapp rather than a native app. Most of the data is loaded in at first load, so it essentially runs client-side. You then make updates using AJAX.

There are a few frameworks around aimed at doing this easily. I'll try and knock something up as a demo.

Chris
Title: Re: New app for Iphone came out... Air Mouse
Post by: los93sol on April 16, 2009, 09:27:57 pm
Problem there is we can't use it as a mobile orbiter so the house can call us and start feeding video etc.
Title: Re: New app for Iphone came out... Air Mouse
Post by: McKenny on June 30, 2010, 09:28:00 am
Thanks a lot! And did you know anything about ActyMac ScreenShots Remote by actymac?
Did you use it? I heard that it allows to get desktop images from your Mac to iPhone.
It's good tool to watch from employees and kids I think.
Title: New Web Orbiter makes iPhone, iPod Touch & iPad great touch based Orbiters
Post by: totallymaxed on July 02, 2010, 03:22:08 pm
Another option to get the Iphone running as a proper orbiter is to utilize the Java runtime that will run on the Iphone.  It isn't natively supported, but runs on jailbroken phones and installation is a breeze.  I attempted to compile JavaMO on it, but got some compiler errors.  Maybe someone could get it working relatively quickly with the right knowledge since the code is already pretty much working for JavaMO.  Anybody interested in giving this a quick try and reporting their results?

The Web Orbiter php code & the proxy_orbiter have been re-written to make them perform much better than previously. The new Web Orbiter has be 100% re-written and now uses javascript to refresh the Orbiter UI (and not the browsers refresh mechanism)... which means we can double buffer the screen image and eliminate the continuous refresh. The new javascript code now implements a light weight query to the proxy_orbiter (once per second) which now supports a new flag which indicates if the screen you are currently on has changed... if the flag is true then the new Orbiter gets an update and the screen is updated cleanly in the background using the new double buffered update code.

See my post here; http://forum.linuxmce.org/index.php?topic=8880.msg71281#msg71281

We have done extensive testing on desktop browsers with Firefox 3.6 & Chrome and also on iPhone, Ipod Touch and importantly iPad. The iPad in particular due to its increased screen resolution works spectacularly well and makes that device an excellent touch based controller.

All the best


Andrew
Title: Re: New app for Iphone came out... Air Mouse
Post by: chrisbirkinshaw on July 02, 2010, 04:16:25 pm
Does this mean LMCE can eventually drop all other orbiters? ;-)
Title: Re: New app for Iphone came out... Air Mouse
Post by: totallymaxed on July 02, 2010, 08:49:32 pm
Does this mean LinuxMCE can eventually drop all other orbiters? ;-)

Well we plan to deploy the new Web Orbiter on a lot of devices and we expect many installations to just use touch based devices. So its got a big roll to play ;-)
Title: Re: New app for Iphone came out... Air Mouse
Post by: MarcoZan on July 03, 2010, 09:10:35 am
Hi Andrew

just a question about the rewritten Proxy Orbiter.

In LMCE 7.10 you can set up a Generic Web Device on core, then you set up a child device with Generic Proxy Orbiter template that contains all the setup for the orbiter (room, ent.area, appearance, and so on).

In theory you could set up as many Generic Proxy Orbiter Templates as needed (each one with its own setup), but actually I've seen that only one ca be used.
I tried to have a web orbiter for a DT325 and another one for a mobile phone, but there was no way to make them work together. 

Is the re-written Proxy orbiter still afflicted by this limitation?

Thanks and regards.
Marco
Title: Re: New app for Iphone came out... Air Mouse
Post by: totallymaxed on July 03, 2010, 11:21:13 am
Hi Andrew

just a question about the rewritten Proxy Orbiter.

In LinuxMCE 7.10 you can set up a Generic Web Device on core, then you set up a child device with Generic Proxy Orbiter template that contains all the setup for the orbiter (room, ent.area, appearance, and so on).

In theory you could set up as many Generic Proxy Orbiter Templates as needed (each one with its own setup), but actually I've seen that only one ca be used.
I tried to have a web orbiter for a DT325 and another one for a mobile phone, but there was no way to make them work together. 

Is the re-written Proxy orbiter still afflicted by this limitation?

Thanks and regards.
Marco

The new Web Orbiter fixes that limitation - each Web Orbiter has a 'listen port' parameter this is set to s different port number for each device. You can have as many Web Orbiters on your system as you need without limitation.

All the best

Andrew
Title: Re: New app for Iphone came out... Air Mouse
Post by: dowster on October 13, 2010, 06:11:01 am
Problem there is we can't use it as a mobile orbiter so the house can call us and start feeding video etc.


since its so easy to jailbreak ipods and iphones now, just go to jailbrteakme.com on your device os 4.0 works best, we could create our own gyro and put it up on cydia or just on the site, i may be able to host it, and use it with bluetooth for follow me, and wifi for all the other stuff. i dont code so im just throwing out ideas, hope to be coding soon