Author Topic: Java/ J2ME mobile orbiter  (Read 312833 times)

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #150 on: May 15, 2008, 09:17:50 am »
Hi,

Just wanted to add my vote for a deb with this.

Isn't this something that could be updated via the normal apt system? Given that it is stable enough, of course..

sambuca

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #151 on: May 16, 2008, 08:15:32 pm »
sambuca.

Hi,

Just wanted to add my vote for a deb with this.

Isn't this something that could be updated via the normal apt system? Given that it is stable enough, of course..

sambuca

If you need the patched libBDCommon and haris debug tools compiled for AMD64 then pm me.
I managed to compile libBDCommon.so from the latest charon-merge source.
It seem that haris patch was already in the source I checked out (rev 20803). Hari can you confirm this?
(patch told med that the patch was probably there already)

To compile libBDCommon.so you will need to install ubuntu build tools and two additional devel libraries.

Do:
cd <linuxmce home direcory>
mkdir lmce_source
cd lmce_source
svn co http://svn.linuxmce.org/pluto/branches/charon-merge
sudo apt-get install build-essentials
sudo apt-get install libmysqlclient15-dev
sudo apt-get install libbluetooth2-dev
cd charon-merge/src/BD
make
You will end up with a libBDCommon.so.
sudo cp libBDCommon.so /usr/pluto/lib (rename original file first)
Restart core (probably not needed but the easy way yo be sure the new lib is loaded).

Above steps work on my hybrid core installed from RC1 dvd.

/niz23

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Java/ J2ME mobile orbiter
« Reply #152 on: May 19, 2008, 01:49:27 am »
It seem that haris patch was already in the source I checked out (rev 20803). Hari can you confirm this?
(patch told med that the patch was probably there already)
yeah, should be in. It's also in the pluto main trunk.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

FastPlymouth

  • Making baby steps
  • Posts: 2
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #153 on: May 23, 2008, 01:01:33 am »
Hi Guys,


First off I'd just like to say great work Hari! A Java Orbiter is a great project that numerous users will benefit from!

I'm not at all familiar with Java - otherwise I'd offer my assistance, however I can do some testing :)

I have a Blackberry 8830 World Edition which I installed JavaMO on (using the instructions you posted about dumping the jar/jad on one's own webserver and updating the reference). It installed sucessfully, however when I click the icon the application bombs with:
Uncaught exception:
java.lang.NoClassDef FoundError.

Not sure what this means - I suppose I could have screwed up the install :)

Please let me know if this error means anything to you.


Thanks!
Ken

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Java/ J2ME mobile orbiter
« Reply #154 on: May 25, 2008, 03:35:24 pm »
Hi Guys,


First off I'd just like to say great work Hari! A Java Orbiter is a great project that numerous users will benefit from!

I'm not at all familiar with Java - otherwise I'd offer my assistance, however I can do some testing :)

I have a Blackberry 8830 World Edition which I installed JavaMO on (using the instructions you posted about dumping the jar/jad on one's own webserver and updating the reference). It installed sucessfully, however when I click the icon the application bombs with:
Uncaught exception:
java.lang.NoClassDef FoundError.

Not sure what this means - I suppose I could have screwed up the install :)

Please let me know if this error means anything to you.


Thanks!
Ken
the next version will have better exception handling and show an sane error message. For now i guess (and ddamron has the same prob with his blackberry) it won't allow unsigned j2me applications access to the jsr082 stack.

The process of signing is not really cheap and therefore scheduled (if we can raise the funds) after the 1.0 version.

best regards,
Hari

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

FastPlymouth

  • Making baby steps
  • Posts: 2
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #155 on: May 25, 2008, 06:14:01 pm »
Hi Hari,


Thanks! My BB did ask if I wanted to allow the unsigned application (AFAIK you can only do this when installing over-the-air) and I said yes. The installation then finished successfully. I'll keep playing with it and let you know what I find - I think this may have something to do with the address I specified for the JAR file in the JAD. I read a couple things online that lead me to believe it can't find the jar.


Regards,
Ken

scubidoo

  • Making baby steps
  • Posts: 2
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #156 on: June 12, 2008, 08:19:55 pm »
hello all


i tryng javamo on windows mobile 6 on htc hermes

i installed javamo on the phone but tryng to execute give me this error

cant access jsr082

any ideia????


thank for the reply

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #157 on: June 12, 2008, 08:20:50 pm »
Those phones do not have JSR082 which is the standard Bluetooth library for J2ME. Therefore this orbiter will not work with them.

-Thom

curtpm

  • Making baby steps
  • Posts: 2
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #158 on: June 17, 2008, 02:04:07 am »
Hello everyone,

I have been in the cell phone game industry professionally for a few years now and i am VERY interest in working on this in my spare time.  I have worked on almost every model of phone from all over the world.  I also worked directly with T-Mobile and RIM to get BlackBerry games on the deck.  can someone point me to any more info on this project like a wiki or the source?

Thanks.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #159 on: June 17, 2008, 03:03:16 am »
the source code is available elsewhere in this thread, alongside the rest of the code in svn.

I do recommend talking with us on the Chat forum, if you are interested in helping out with this code. We desperately need support for more phones.

-Thom

curtpm

  • Making baby steps
  • Posts: 2
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #160 on: June 17, 2008, 03:25:52 am »
yeah i would love to help out i just want to start looking it over and get a feel for how its set up.  the only problem with using Blue tooth is that only a handful of phones support the JSR needed.  so i can see this only ever working for like a max of 40 different phones.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Java/ J2ME mobile orbiter
« Reply #161 on: June 17, 2008, 05:21:03 am »
That is today, yes.  As new models come out, more support for JSR082 will be added.  Even RIM supports it now.
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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Java/ J2ME mobile orbiter
« Reply #162 on: June 17, 2008, 12:43:33 pm »
jsr082 should be supported by nearly every phone hitting the market since 2007.

The code can be found here: http://svn.charonmedia.org/home/hari/javamo
You need to have the Sun WTK installed, just adapt the path to it in the Makefile.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Java/ J2ME mobile orbiter
« Reply #163 on: June 18, 2008, 11:04:52 pm »
Hi Folks,

new version released: http://vt100.at/javamo/

Bugfix release for the unhandled exception on dcerouter reload.

best regards and much fun,
Hari

EDIT: the provided libBDCommon.so is for LMCE0710 32bit
« Last Edit: June 18, 2008, 11:06:25 pm by hari »
rock your home - http://www.agocontrol.com home automation

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: Java/ J2ME mobile orbiter
« Reply #164 on: June 18, 2008, 11:14:16 pm »
Hari.
Hi Folks,

new version released: http://vt100.at/javamo/

Bugfix release for the unhandled exception on dcerouter reload.

best regards and much fun,
Hari

EDIT: the provided libBDCommon.so is for LMCE0710 32bit

This is great. Keep up the good work.
Have you though about touch screens and how to handle them?

If you want I have a compiled libBDCommon.so for AMD64 that I can provide you with so everyone that wish to evaluate javaMO can do it.

At the moment I am trying to make it run on my new SonyEricsson P1i.
It install.
It start.
It connect to lmce.
But...
The keys on this phone is a bit different than most other phones so I am unable use javaMO at the moment.
Cannot select anything in the orbiter menus.


Will create a keyboard map with keycodes.jar to see what differs form ordinary phones.


/niz23