News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Java/ J2ME mobile orbiter

Started by david_a_dawson, October 19, 2007, 04:31:08 PM

Previous topic - Next topic

sambuca

I did a preliminary check-in of my current VMC code. It is still very much a work in progress.

Still much to do, though I am not sure whether all the code in the original mo is used for lmce. Maybe someone can shed some light on this?

br,
sambuca

hari

i think zaerc and tschak use the original symbian orbiter. Maybe thay can tell about the available features..
br, Hari

ps: keep up your great work!
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Zaerc

To be honest I have never even looked at the code so far. :-[  But I might be able to answer some of the more basic questions about the (everyday) usage.  And I'd be glad to lend a hand where I can, you guys are doing an awesome job!
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

ddamron

Hi Guys!

I'm trying to get back into the swing of things here..
I have had Hari's version running on my blackberry 8330 Curve, it's amazing what upgrading the OS will give you :)

Sambuca:  I tried to get your version working, maybe I'm missing something, it installed fine over the web..
when I attempt to start it, I get:

Error starting JavaMO:
Symbol 'CommandListener.SELECT_COMMAND' not found

any ideas?
Phone is midp2.0/CLDC1.1/JSR082 (Hari's version worked for about 2 keypresses)

Thanks in advance!  Glad someone picked this project up!

All the best,

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

hari

i'd assume this is related to the list stuff, but that is just a blind guess.

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

sambuca

Hi Dan,

Would you mind trying again? I changed the reference to SELECT_COMMAND, so maybe it works now. I cannot see anything wrong with the code, but maybe some devices are a bit picky.

(It was the list, hari :) The phone tries to access CommandListener.SELECT_COMMAND when I use the SELECT_COMMAND reference in the code. The class extends List and implements CommandListener, the SELECT_COMMAND is in the List class)

br,
sambuca

ddamron

#291
Okee Dokee, will try tonight, and report back. :)

Update:  attempted again, now I can't install it,

I get: 904 JAR size mismatch
jar size does not match MIDlet-Jar-Size attribute

Getting closer, I can feel it in my bones :)

HTH,

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

sambuca

Hmm,
As far as I can see, the jar file size is the same as the Midlet-Jar-Size. It also installs fine on my SonyEricsson phone. Maybe there is some caching/proxy in your providers network?
At least I can't think of anything else at this moment.

br,
sambuca

sambuca

Ok, I got time to do some more work on the JavaMO.  8)

I fixed some issues related to disconnect/reconnects. I ran into them when testing follow me. It disconnected, but it never succesfully reconnected. I'm not sure but perhaps hari's version handled reconnects better.
Anyway, it should work now.
For those who like to read log files etc, it is now possible to close the VMCViewer/Orbiter, open the log, close it and then reopen the viewer with a "Orbiter" menu entry when it is connected.

The new version has been published on my website. (see previous post for url  ;D )

br,
sambuca

hari

Quote from: sambuca on February 09, 2009, 09:02:06 PM
Ok, I got time to do some more work on the JavaMO.  8)
cool!

Quote
I'm not sure but perhaps hari's version handled reconnects better.
I would not bet on that one :-)

br, Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

sambuca

Hi everyone,

I've added parsing of the configuration file to the MO and opening of the web browser from within the VMC viewer. This should enable much more of the original MOs functionality (set scenarios, view alerts etc.).

But it does not inform you of any events like (I think) the original mo does, because Java does not allow call interception, which is what the Symbian orbiter uses to alert you. (LMCE calls your phone, and the PlutoMO intercept it, and does its magic). Please correct me if I am wrong ;)
It would be possible to intercept SMS in the JavaMO, but it would require a change in LMCE to send SMS instead of calling your phone. I don't even know if most phone providers support sending SMS via land line/VOIP?

Time to bring out your phones and start testing  :D

br,
sambuca

hari

Great work sambuca!! I'll give it a try on 0810.

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

WhateverFits

I just tried to load the JavaMO on my Windows Mobile phone running the intent Java MIDlet Manager. It started and gave the error about JSR-82: Can't access JSR082Device : intent JTE. I was reading up on the Bluetooth stack and JSR-82 compatibility after looking at this and found http://code.google.com/p/bluecove/ ,  is a JSR-82 implementation. I was wondering if that could be linked into this jar, providing the necessary bits to allow my phone to work. I'm pretty weak on Java so I'm not sure if it is possible or I just spewed rubbish.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]

sambuca

From what I can see from a quick look on the web page, it is enough to add the bluecove jar to the javamo's classpath. This could be done in the Manifest file, if I remember correctly. I'll see if I can make a second jad/jar pair which references the bluecove.jar.
I haven't got a clue about installing the bluecove jar in the phone though. You'll have to install it yourself, if nobody else on the forum has a clue..

br,
sambuca

WhateverFits

Very nice. I'll look for any manifest info for the intent Java MIDlet manager. I'll post what I find. Might take a while as I have a 10 page essay due at school. The audacity of them to require I do work for a degree.
[url="http://www.seanwalker.org"]http://www.seanwalker.org[/url]