Re: Which Java JRE? (dusting off this thred)

2011-02-03 Thread Timo Juhani Lindfors
Eric Smith  writes:
> Is anyone using a JRE on the freerunner?
>
> Please advice what is possible and available.

http://lists.debian.org/debian-arm/2011/02/msg00011.html


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Which Java JRE? (dusting off this thred)

2011-02-03 Thread Eric Smith
Is anyone using a JRE on the freerunner?

Please advice what is possible and available.

Thanks a lot.

-- 
- Eric Smith
Rafael Campos said:
> Hello,
> 
> On Wed, Dec 2, 2009 at 1:12 PM, Arigead  wrote:
> > Bernd Pru"nster wrote:
> >> Martin Jansa wrote:
> >>> On Thu, Nov 26, 2009 at 03:06:35PM +, Arigead wrote:
> >>>
> >>>> Hello all,
> >>>>     I'm working on a project and I think it'd be cool as to show off the
> >>>> project's work on a phone. The OpenMoko phone ;-)
> >>>>
> >>>> Unfortunately the project is implemented in Java, which I'm no fan of on
> >>>> anything but a web server or browser but that's a discussion for another
> >>>> day.
> >>>>
> >>>> I tried our system, which is running in an OSGi Container, on Jamvm on
> >>>> the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
> >>>> Not Good! I tried the same on my eeePC and with Sun's JRE our system
> >>>> uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
> >>>> not suit our system.
> >>>>
> >>> No idea if it would be better, but have you tried cacao? Its in shr-feeds 
> >>> now again.
> >>>
> >> This is really weird!
> >> I wrtoe one more or less serious app in java for the freerunner and a
> >> couple of test apps and jamvm had avery fast startup, but was not as
> >> compatible as cacao, but easier to use and did not require that much
> >> ressources.
> >> which distro are you using? which feed are you using to install jamvm
> >> (dunno if still true but there used to be a difference depending on
> >> where you installed it from).
> >>
> >
> > Sorry I've been a bit busy on stuff and only now catching up here on the
> > list.
> >
> > I'm using the latest classpath 0.98 and Jamvm 1.5.3  I can't remember
> > the specifics at the moment but there was some feature of Java 6 that
> > our system's code was using which required JamVM 1.5.3 which in turn
> > required Classpath 0.98. I just used a OE recipe for those and build
> > them for the OpenMoko.
> >
> > I tried the Cacao JRE on my eeePC and it soaked up resources as well so
> > I never even bothered to build it for the phone. Obviously something in
> > our Java System, mabe knophlerfish is not streamlined in these JRE's.
> > There is a Huge difference in running our system in a SUN JRE (1% CPU
> > According top) and other Jre's
> >
> > I'm working now on the eeePC to see can I reduce this 40% on Jamvm. When
> > I get time actually I'm now trying to connect to an AdHoc wifi network
> > form the FreeRunner.
> >
> > Thanks for the clarification on the ARM front. I don't think Sun have a
> > JRE for an ARM 4, no surprise really ;-) Things would be too easy.
> >
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> I think that OpenJDK has some JRE machines running on ARM. It's no
> receipe in OE yet, but i tested a GUI in a OE machine and worked fine.
> I didn't test the load of the CPU, but i could tell that some JREs are
> working.
> 
> I hope to post some of this in OE repos, and get a OpenJava JRE machine :)
> 
> 
> -- 
> ___
> Rafael Campos
> o0 Methril 0o
> http://openblog.methril.net/
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java ME for QtMoko

2010-05-14 Thread ANT

Hi,

2010/5/14 Georgy wrote:
> Hello,
>
> I try it out and it's work with the demo apps.
> I try it out with remoco (http://code.google.com/p/remuco/, but crashed
> with
> message : javax/bluetooth.BluetoothStateException.
>
> Any hint, or apps can't work with PhonetiQ ?
>
> Anyway, thanks for your work
>
> Georgy

It seems that Bluetooth classes within the Virtual Machine is not ported to
Qtopia. So, applications that uses Bluetooth can't be run currently.

Anton
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Java-ME-for-QtMoko-tp5042260p5051182.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java ME for QtMoko

2010-05-12 Thread ANT

Hello,

I added a new package called "phonetiQ" [1] to QtMoko feed (Main
Menu->Settings->Software Packages). It is a GUI for phoneME [2] (Java ME
Virtual Machine) that allows you to easily install and use VM and midlets.
So, QtMoko is capable to run usual J2ME apps at decent speed now :D. Of
course, there are many bugs and limitations in the current version of VM
(e.g. virtual keyboard does not works), but a number of games that I tested
was 100% playable. You may search a video "phoneME on QtMoko" on YouTube to
see how it works. I also found a simple open source game TouchSenku [3] that
can be used for test purposes (you can download it directly from the GUI).
Quick start instructions are available at the project wiki [4].

[1] http://github.com/Sektor/phonetiq
[2] http://github.com/Sektor/phoneme-qtopia
[3] http://code.google.com/p/touchsenku/
[4] http://wiki.github.com/Sektor/phonetiq/

Have Fun!
Anton
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Java-ME-for-QtMoko-tp5042260p5042260.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Which Java JRE?

2009-12-05 Thread Rafael Campos
Hello,

On Wed, Dec 2, 2009 at 1:12 PM, Arigead  wrote:
> Bernd Pru"nster wrote:
>> Martin Jansa wrote:
>>> On Thu, Nov 26, 2009 at 03:06:35PM +, Arigead wrote:
>>>
>>>> Hello all,
>>>>     I'm working on a project and I think it'd be cool as to show off the
>>>> project's work on a phone. The OpenMoko phone ;-)
>>>>
>>>> Unfortunately the project is implemented in Java, which I'm no fan of on
>>>> anything but a web server or browser but that's a discussion for another
>>>> day.
>>>>
>>>> I tried our system, which is running in an OSGi Container, on Jamvm on
>>>> the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
>>>> Not Good! I tried the same on my eeePC and with Sun's JRE our system
>>>> uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
>>>> not suit our system.
>>>>
>>> No idea if it would be better, but have you tried cacao? Its in shr-feeds 
>>> now again.
>>>
>> This is really weird!
>> I wrtoe one more or less serious app in java for the freerunner and a
>> couple of test apps and jamvm had avery fast startup, but was not as
>> compatible as cacao, but easier to use and did not require that much
>> ressources.
>> which distro are you using? which feed are you using to install jamvm
>> (dunno if still true but there used to be a difference depending on
>> where you installed it from).
>>
>
> Sorry I've been a bit busy on stuff and only now catching up here on the
> list.
>
> I'm using the latest classpath 0.98 and Jamvm 1.5.3  I can't remember
> the specifics at the moment but there was some feature of Java 6 that
> our system's code was using which required JamVM 1.5.3 which in turn
> required Classpath 0.98. I just used a OE recipe for those and build
> them for the OpenMoko.
>
> I tried the Cacao JRE on my eeePC and it soaked up resources as well so
> I never even bothered to build it for the phone. Obviously something in
> our Java System, mabe knophlerfish is not streamlined in these JRE's.
> There is a Huge difference in running our system in a SUN JRE (1% CPU
> According top) and other Jre's
>
> I'm working now on the eeePC to see can I reduce this 40% on Jamvm. When
> I get time actually I'm now trying to connect to an AdHoc wifi network
> form the FreeRunner.
>
> Thanks for the clarification on the ARM front. I don't think Sun have a
> JRE for an ARM 4, no surprise really ;-) Things would be too easy.
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
I think that OpenJDK has some JRE machines running on ARM. It's no
receipe in OE yet, but i tested a GUI in a OE machine and worked fine.
I didn't test the load of the CPU, but i could tell that some JREs are
working.

I hope to post some of this in OE repos, and get a OpenJava JRE machine :)


-- 
___
Rafael Campos
o0 Methril 0o
http://openblog.methril.net/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Which Java JRE?

2009-12-02 Thread Arigead
Bernd Pru"nster wrote:
> Martin Jansa wrote:
>> On Thu, Nov 26, 2009 at 03:06:35PM +, Arigead wrote:
>>   
>>> Hello all,
>>> I'm working on a project and I think it'd be cool as to show off the
>>> project's work on a phone. The OpenMoko phone ;-)
>>>
>>> Unfortunately the project is implemented in Java, which I'm no fan of on
>>> anything but a web server or browser but that's a discussion for another
>>> day.
>>>
>>> I tried our system, which is running in an OSGi Container, on Jamvm on
>>> the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
>>> Not Good! I tried the same on my eeePC and with Sun's JRE our system
>>> uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
>>> not suit our system.
>>> 
>> No idea if it would be better, but have you tried cacao? Its in shr-feeds 
>> now again.
>>   
> This is really weird!
> I wrtoe one more or less serious app in java for the freerunner and a 
> couple of test apps and jamvm had avery fast startup, but was not as 
> compatible as cacao, but easier to use and did not require that much 
> ressources.
> which distro are you using? which feed are you using to install jamvm 
> (dunno if still true but there used to be a difference depending on 
> where you installed it from).
> 

Sorry I've been a bit busy on stuff and only now catching up here on the
list.

I'm using the latest classpath 0.98 and Jamvm 1.5.3  I can't remember
the specifics at the moment but there was some feature of Java 6 that
our system's code was using which required JamVM 1.5.3 which in turn
required Classpath 0.98. I just used a OE recipe for those and build
them for the OpenMoko.

I tried the Cacao JRE on my eeePC and it soaked up resources as well so
I never even bothered to build it for the phone. Obviously something in
our Java System, mabe knophlerfish is not streamlined in these JRE's.
There is a Huge difference in running our system in a SUN JRE (1% CPU
According top) and other Jre's

I'm working now on the eeePC to see can I reduce this 40% on Jamvm. When
I get time actually I'm now trying to connect to an AdHoc wifi network
form the FreeRunner.

Thanks for the clarification on the ARM front. I don't think Sun have a
JRE for an ARM 4, no surprise really ;-) Things would be too easy.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Which Java JRE?

2009-11-26 Thread Bernd Prünster
Martin Jansa wrote:
> On Thu, Nov 26, 2009 at 03:06:35PM +, Arigead wrote:
>   
>> Hello all,
>> I'm working on a project and I think it'd be cool as to show off the
>> project's work on a phone. The OpenMoko phone ;-)
>>
>> Unfortunately the project is implemented in Java, which I'm no fan of on
>> anything but a web server or browser but that's a discussion for another
>> day.
>>
>> I tried our system, which is running in an OSGi Container, on Jamvm on
>> the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
>> Not Good! I tried the same on my eeePC and with Sun's JRE our system
>> uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
>> not suit our system.
>> 
>
> No idea if it would be better, but have you tried cacao? Its in shr-feeds now 
> again.
>   
This is really weird!
I wrtoe one more or less serious app in java for the freerunner and a 
couple of test apps and jamvm had avery fast startup, but was not as 
compatible as cacao, but easier to use and did not require that much 
ressources.
which distro are you using? which feed are you using to install jamvm 
(dunno if still true but there used to be a difference depending on 
where you installed it from).

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Which Java JRE?

2009-11-26 Thread Martin Jansa
On Thu, Nov 26, 2009 at 03:06:35PM +, Arigead wrote:
> Hello all,
> I'm working on a project and I think it'd be cool as to show off the
> project's work on a phone. The OpenMoko phone ;-)
> 
> Unfortunately the project is implemented in Java, which I'm no fan of on
> anything but a web server or browser but that's a discussion for another
> day.
> 
> I tried our system, which is running in an OSGi Container, on Jamvm on
> the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
> Not Good! I tried the same on my eeePC and with Sun's JRE our system
> uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
> not suit our system.

No idea if it would be better, but have you tried cacao? Its in shr-feeds now 
again.

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Which Java JRE?

2009-11-26 Thread The Rasterman
On Thu, 26 Nov 2009 15:06:35 + Arigead  said:

> Hello all,
> I'm working on a project and I think it'd be cool as to show off the
> project's work on a phone. The OpenMoko phone ;-)
> 
> Unfortunately the project is implemented in Java, which I'm no fan of on
> anything but a web server or browser but that's a discussion for another
> day.
> 
> I tried our system, which is running in an OSGi Container, on Jamvm on
> the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
> Not Good! I tried the same on my eeePC and with Sun's JRE our system
> uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
> not suit our system.
> 
> So I was thinking of taking a look at one of Sun's ARM JRE's but I'm a
> bit confused by the CPU in the FreeRunner. I've read that it's an
> ARM920T core which uses the ARMv4 Instruction set and is ARM7 Binary
> Compatible. I'm totally confused as to whether this means I need an

arm moves in versions of their instruction set, v4, v5, v6, v7 for example. the
2442 in the gta02 is an ooold armv4 based cpu core, and is armv4. v5, v6, v7
compiled binaries likely wont work (if they use newer instructions). any
assembly for v5,v6,v7 etc. wont work.

> Arm4, 7, or 9 JRE. Sun don't have too many JRE's for ARM so I'm probably
> not going to get one that suits. I might try Cacao.
> 
> If anybody could advise me which ARM Jre I need I'd be very greatful.
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Which Java JRE?

2009-11-26 Thread Arigead
Hello all,
I'm working on a project and I think it'd be cool as to show off the
project's work on a phone. The OpenMoko phone ;-)

Unfortunately the project is implemented in Java, which I'm no fan of on
anything but a web server or browser but that's a discussion for another
day.

I tried our system, which is running in an OSGi Container, on Jamvm on
the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
Not Good! I tried the same on my eeePC and with Sun's JRE our system
uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
not suit our system.

So I was thinking of taking a look at one of Sun's ARM JRE's but I'm a
bit confused by the CPU in the FreeRunner. I've read that it's an
ARM920T core which uses the ARMv4 Instruction set and is ARM7 Binary
Compatible. I'm totally confused as to whether this means I need an
Arm4, 7, or 9 JRE. Sun don't have too many JRE's for ARM so I'm probably
not going to get one that suits. I might try Cacao.

If anybody could advise me which ARM Jre I need I'd be very greatful.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[DBus]Probleme mit DBus in Java

2009-03-10 Thread Bastian Muck
Hi,

I am testing a little with java and DBus on the Freerunner. I got Java
(and Swing) running on it very well. But when I try to get a simple
value I get this Exception. Can someone help me where I can find this
Class "dbusjava_localized"?

Exception in thread "Thread-1" java.lang.NoClassDefFoundError:
org/freedesktop/dbus/Gettext
   at
org.freedesktop.dbus.DBusConnection$_sighandler.handle(DBusConnection.java:54)
   at
org.freedesktop.dbus.AbstractConnection$2.run(AbstractConnection.java:845)
   at
org.freedesktop.dbus.AbstractConnection$_workerthread.run(AbstractConnection.java:174)
Exception in thread "Thread-2" java.lang.ExceptionInInitializerError
   at
org.freedesktop.dbus.DBusConnection$_sighandler.handle(DBusConnection.java:54)
   at
org.freedesktop.dbus.AbstractConnection$2.run(AbstractConnection.java:845)
   at
org.freedesktop.dbus.AbstractConnection$_workerthread.run(AbstractConnection.java:174)
Caused by: java.util.MissingResourceException: Bundle dbusjava_localized
not found for locale en_US by classloader
java.lang.ClassLoader$1{urls=[file:/home/root/test/./dbus-test.jar,file:/home/root/test/./cgi-0.5.jar,file:/home/root/test/./debug-disable-1.1.jar,file:/home/root/test/./debug-enable-1.1.jar,file:/home/root/test/./hexdump-0.2.jar,file:/home/root/test/./io-0.1.jar,file:/home/root/test/./unix-0.5.jar],
parent=null}
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:410)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:231)
   at org.freedesktop.dbus.Gettext.(Gettext.java:26)
   at
org.freedesktop.dbus.DBusConnection$_sighandler.handle(DBusConnection.java:54)
   ...2 more

Greetungs Bastian

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java On Openmoko

2008-11-11 Thread Bernd Prünster
amidan schrieb:
> Hi,
> I'm curious if Neo FreeRunner supports Java applications. Does anybody
> know if Neo FreeRunner has support for Java? Googling this subject I
> understood that several projects aim to get Java working on Openmoko and I'm
> wondering if you have any idea if any of them succeeded?
>Adrian
>   
Sure it works!

here's a quick guide (tested on fdom) - works flawlessly!
opgk install cacao
opkg install calsspath
opkg install classpath-gtk (only if you want to run gui programms)
   it even suppors swing, but to do yourself a favor, start 
programming awt apps - you're gonna save yourself alot of trouble!

well one thing: try installing the packages with -force-depends 
parameter if needed and if it gives you warnings either manually install 
the needed packages or it they are already installed, just ignore the 
warings.

if you want to run gui apps you have to scp your core.jar form you pc 
onto your freerunner:

check this out:
jmccloud.funpic.de
download exec.sh, core.jar and opg.jar into the same folder on you fr 
and sh exec.sh
(the exec.sh shows you how to run java apps)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java On Openmoko

2008-11-11 Thread Vinzenz Hersche
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

amidan schrieb:
> Hi, I'm curious if Neo FreeRunner supports Java applications. Does
> anybody know if Neo FreeRunner has support for Java? Googling this
> subject I understood that several projects aim to get Java working
> on Openmoko and I'm wondering if you have any idea if any of them
> succeeded? Adrian
See the compare-table in the end of the site. There is java marked as
a point

http://wiki.openmoko.org/wiki/Distributions

OM 2008.8 use jalimo as jvm. But i don't know where the diffrents to
the normal jdk are..

- --
Vinzenz Hersche
Lehrling 2. Lehrjahr

Puzzle ITC GmbH
www.puzzle.ch

Telefon +41 31 370 22 00
Direkt  +41 31 370 22 04
Mobile  +41 78 845 24 12
Fax +41 31 370 22 01

Puzzle ist Mitglied der Eclipse Foundation:
<http://www.puzzle.ch/eclipse/>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJGZ96K9d7OHUJmA4RAqApAKCatHPIXhdAHAOl62rYtG6OSrgqbQCgtKUV
yyfsNRf3dgxQe96dM9R+LxE=
=LlGn
-END PGP SIGNATURE-

begin:vcard
fn:Vinzenz Hersche
n:Hersche;Vinzenz
email;internet:[EMAIL PROTECTED]
tel;home:033 336 20 56
tel;cell:077 447 73 74
x-mozilla-html:TRUE
version:2.1
end:vcard

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java On Openmoko

2008-11-11 Thread arne anka
http://wiki.openmoko.org/wiki/Java

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java On Openmoko

2008-11-11 Thread Warren Baird
I've used Jalimo (https://wiki.evolvis.org/jalimo/index.php/OpenMoko) to run
a pretty complicated swing based java SE client on the FR, and it was quite
successful.   A little sluggish, but not bad, all things considered.

I think you can also use the same environment to run java ME midlets as
well, but I haven't tried that.

Warren

On Tue, Nov 11, 2008 at 9:58 AM, amidan <[EMAIL PROTECTED]> wrote:

>
> Hi,
>I'm curious if Neo FreeRunner supports Java applications. Does anybody
> know if Neo FreeRunner has support for Java? Googling this subject I
> understood that several projects aim to get Java working on Openmoko and
> I'm
> wondering if you have any idea if any of them succeeded?
>   Adrian
> --
> View this message in context:
> http://n2.nabble.com/Java-On-Openmoko-tp1485337p1485337.html
> Sent from the Openmoko Community mailing list archive at Nabble.com.
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java On Openmoko

2008-11-11 Thread amidan

Hi,
I'm curious if Neo FreeRunner supports Java applications. Does anybody
know if Neo FreeRunner has support for Java? Googling this subject I
understood that several projects aim to get Java working on Openmoko and I'm
wondering if you have any idea if any of them succeeded?
   Adrian
-- 
View this message in context: 
http://n2.nabble.com/Java-On-Openmoko-tp1485337p1485337.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Accelerometer in Java

2008-11-09 Thread Bernd Prünster
ok, thanks folks!
jni it is then...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Accelerometer in Java

2008-11-09 Thread Bastian Muck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
I guess that this is the way when using jni.

Timo Juhani Lindfors schrieb:
> Bernd Prünster <[EMAIL PROTECTED]> writes:
>> my question is: how do i read our data from the accelerometers in java?
>
> You open the file[1] and read data[2].
>
> [1] /dev/input/event{2,3}
> [2] data is a steady flow of
>
> struct input_event {
> struct timeval time;
> __u16 type;
> __u16 code;
> __s32 value;
> };
>
> See linux-2.6.26/Documentation/input/input.txt for more info.
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFJF2BUlYiDScJJ+7QRAqbyAKC9DUbgAh++aT//HV2VXLy/ImxH4wCZAULY
6rrDc+WSmiV25tHc5KyHj8w=
=aacC
-END PGP SIGNATURE-


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Accelerometer in Java

2008-11-08 Thread Sudharshan S
On Sat, Nov 8, 2008 at 8:29 PM, Timo Juhani Lindfors
<[EMAIL PROTECTED]>wrote:

> Sudharshan S <[EMAIL PROTECTED]> writes:
> > I think, there are DBus bindings for java. So you could probably take a
> look
> > at the services offered by FSO for reading accelerometers output.
>
> Wouldn't that cause huge overhead? Reading 100 (or 400) events per
> second from two accelometers can not be smooth over dbus.


Hi,
Agreed, but frameworkd doesn't send DBus signals continously. Instead it
gives accelerometer values on demand with a method call (which in fact opens
the device nodes and unpacks the values from the input_event struct). But
sending a DBus signal when the co-ordinates change would be awesome as it
removes the need for keep a fd open on our side.

---
Regards
Sudharshan S
Blog : http://www.sudharsh.wordpress.com
IRC  : Sup3rkiddo @ Freenode, Gimpnet
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Accelerometer in Java

2008-11-08 Thread Timo Juhani Lindfors
Sudharshan S <[EMAIL PROTECTED]> writes:
> I think, there are DBus bindings for java. So you could probably take a look 
> at the services offered by FSO for reading accelerometers output.

Wouldn't that cause huge overhead? Reading 100 (or 400) events per
second from two accelometers can not be smooth over dbus.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Accelerometer in Java

2008-11-08 Thread Sudharshan S
On Saturday 08 November 2008 19:58:29 Bernd Prünster wrote:
> so i'm asking to give me a hint how to directly read the accelerometer
> output. (it's gotta be possible without jni and the like...
> ..but if not, what's the best way to do it?)
>

I think, there are DBus bindings for java. So you could probably take a look 
at the services offered by FSO for reading accelerometers output.

Sudharshan S
Blog : http://www.sudharsh.wordpress.com
IRC   : Sup3rkiddo @ Freenode, Gimpnet




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Accelerometer in Java

2008-11-08 Thread Timo Juhani Lindfors
Bernd Prünster <[EMAIL PROTECTED]> writes:
> my question is: how do i read our data from the accelerometers in java?

You open the file[1] and read data[2].

[1] /dev/input/event{2,3}
[2] data is a steady flow of

struct input_event {
struct timeval time;
__u16 type;
__u16 code;
__s32 value;
};

See linux-2.6.26/Documentation/input/input.txt for more info.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Accelerometer in Java

2008-11-08 Thread Bernd Prünster
Hiho!
Few years went on since i had to bother with such simple issues, but i 
played arounf for some time and didn't get anywhere ( i have no clue 
what to do)
my question is: how do i read our data from the accelerometers in java?
my first approach was to use and modify the pothon script from 
wiki.openmoko.org, execute it and read the output, but that's not a 
desirable way!

so i'm asking to give me a hint how to directly read the accelerometer 
output. (it's gotta be possible without jni and the like...
..but if not, what's the best way to do it?)

thx in advance

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Warren Baird
Sounds to me like you only installed the java vm, not the classpath
component.   I followed the instructions at
https://wiki.evolvis.org/jalimo/index.php/OpenMoko and things worked
fine...   basically you need to do "opkg update && opkg install cacao
classpath" - or if you need awt/swing, change the last to 'classpath-awt'

good luck,

Warren

On Fri, Oct 31, 2008 at 5:59 AM, Girish Revadigar <[EMAIL PROTECTED]
> wrote:

> Hi,
>
> I tried according to your guidelines and got the cacao and jamvm installed
> onto my openmoko.(neo freerunner). I compiled a small HelloWorld program on
> my pc to generate HelloWorld.class file, which prints Hello World when run
> on my PC using:  java HelloWorld command. After that i copied the same
> HelloWorld.class file to my openmoko device (freerunner) and tried to run
> using the cacao, but it gives the following error:
>
> output when run with cacao:
> ---
> # cacao HelloWorld
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
>
> output when run with jamvm:
> ---
> # jamvm HelloWorld
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
>
>
> Also tried running the test.jar file from cacao, and jamvm, that also gives
> the same result:
>
> output when tried to run jar file with cacao:
> 
> # cacao -cp -jar test.jar
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
>
> output when tried to run jar file with jamvm:
> ------
> # jamvm -jar test.jar
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
>
> What can be wrong in my settings? Please update me.
>
> Thank you
> Girish
>
>
> On Fri, Oct 24, 2008 at 6:44 PM, Joseph Reeves <[EMAIL PROTECTED]>wrote:
>
>> Hi Girish,
>>
>> I've been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG
>> mobile isn't freely available yet, but keep an eye on
>> planet.openmoko.org for an announcement in the (hopefully) near
>> future.
>>
>> Cheers,
>>
>> Joseph
>>
>>
>> [1] http://gvsigmobileonopenmoko.wordpress.com/
>> [2] https://wiki.evolvis.org/jalimo/index.php/Main_Page
>>
>>
>>
>>
>>
>>
>> 2008/10/24 Girish Revadigar <[EMAIL PROTECTED]>:
>> > Hi Max,
>> >
>> >  Thank you for your reply. From the information on this site, looks like
>> we
>> > need to do some external work to get java run on openmoko. Can you
>> please
>> > suggest some java packages available which can be installed in openmoko?
>> >
>> > Thank you
>> > Girish
>> >
>> >
>> > On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]>
>> wrote:
>> >>
>> >> have you checked http://wiki.openmoko.org/wiki/Java ?
>> >>
>> >> please update if necessary...
>> >>
>> >> Girish Revadigar schrieb:
>> >> > Hi,
>> >> >
>> >> > I am new to openmoko. I want to run one of my java based GUI
>> application
>> >> > on openmoko. But when I tried to check for the java support on the
>> newly
>> >> > brought model, I found there is no java utility pre installed (Any
>> JVM
>> >> > for running java apps). So can you guide me how can I set up my
>> openmoko
>> >> > to run java applications on it? Is there any extra package I need to
>> >> > install? Please guide me, without finding it I can't proceed. Your
>> >> > valuable suggestion will be greatly helpful for me.
>> >> >
>> >> > Thank you
>> >> > Regards
>> >> > Girish
>> >> > +91 99867 64809
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> 
>> >> >
>> >> > ___
>> >> > Openmoko community mailing list
>> >> > community@lists.openmoko.org
>> >> > http://lists.openmo

Re: Need help to run java apps on openmoko

2008-10-31 Thread Joseph Reeves
>From memory this is, so may be completely wrong, but I'd:

opkg install --force-depends cacao
opkg install --force-depends classpath
opkg install --force-depends classpath-gtk

If I remember correctly, there was a bug in classpath that was causing
it to report a successful installation, whereas in reality it was
going wrong. Forcing all three got it to work for me.

Best of luck,



2008/10/31 Jim Ancona <[EMAIL PROTECTED]>:
> Peter Neubauer wrote:
>> Mmh,
>> it seems your jvm is not finding the Java base classes. Do you ave
>> Classpath installed? You could try to explicitly point out the
>> classes.zip file of your JRE using
>>
>> cacao -cp PATH/TO/classes.zip .jar myJar.jar
>>
>> HTH, probably others on this list know more ...
>
> I agree with Peter, your problem sounds CLASSPATH related. I had pretty
> good luck using Jalimo [1] to package Java apps for my Freerunner. I was
> able to run a SWT GUI app, although it was very slow.
>
> Jim
>
> [1] - https://wiki.evolvis.org/jalimo/index.php/Main_Page
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Jim Ancona
Peter Neubauer wrote:
> Mmh,
> it seems your jvm is not finding the Java base classes. Do you ave
> Classpath installed? You could try to explicitly point out the
> classes.zip file of your JRE using
> 
> cacao -cp PATH/TO/classes.zip .jar myJar.jar
> 
> HTH, probably others on this list know more ...

I agree with Peter, your problem sounds CLASSPATH related. I had pretty 
good luck using Jalimo [1] to package Java apps for my Freerunner. I was 
able to run a SWT GUI app, although it was very slow.

Jim

[1] - https://wiki.evolvis.org/jalimo/index.php/Main_Page


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Girish Revadigar
No, i have compiled the java program on my pc and after I got the class
file, i copied the class file to freerunner using scp from my pc.

On Fri, Oct 31, 2008 at 3:43 PM, Max Giesbert <[EMAIL PROTECTED]> wrote:

> have you tried compiling the java class on the freerunner?
>
> Girish Revadigar schrieb:
> > Hi,
> >
> > I tried according to your guidelines and got the cacao and jamvm
> > installed onto my openmoko.(neo freerunner). I compiled a small
> > HelloWorld program on my pc to generate HelloWorld.class file, which
> > prints Hello World when run on my PC using:  java HelloWorld command.
> > After that i copied the same HelloWorld.class file to my openmoko device
> > (freerunner) and tried to run using the cacao, but it gives the
> > following error:
> >
> > output when run with cacao:
> > --
> > -
> > # cacao HelloWorld
> > LOG: [0x400211d0] exception thrown while vm is initializing:
> > LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> > LOG: [0x400211d0] Aborting ...
> > Aborted
> >
> > output when run with jamvm:
> > ---
> > # jamvm HelloWorld
> > Exception occured while vm initialising.
> > java/lang/NoClassDefFoundError: java/lang/Class
> >
> >
> > Also tried running the test.jar file from cacao, and jamvm, that also
> > gives the same result:
> >
> > output when tried to run jar file with cacao:
> > 
> > # cacao -cp -jar test.jar
> > LOG: [0x400211d0] exception thrown while vm is initializing:
> > LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> > LOG: [0x400211d0] Aborting ...
> > Aborted
> >
> > output when tried to run jar file with jamvm:
> > --
> > # jamvm -jar test.jar
> > Exception occured while vm initialising.
> > java/lang/NoClassDefFoundError: java/lang/Class
> >
> > What can be wrong in my settings? Please update me.
> >
> > Thank you
> > Girish
> >
> >
> > On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > have you checked http://wiki.openmoko.org/wiki/Java ?
> >
> > please update if necessary...
> >
> > Girish Revadigar schrieb:
> > > Hi,
> > >
> > > I am new to openmoko. I want to run one of my java based GUI
> > application
> > > on openmoko. But when I tried to check for the java support on the
> > newly
> > > brought model, I found there is no java utility pre installed (Any
> JVM
> > > for running java apps). So can you guide me how can I set up my
> > openmoko
> > > to run java applications on it? Is there any extra package I need
> to
> > > install? Please guide me, without finding it I can't proceed. Your
> > > valuable suggestion will be greatly helpful for me.
> > >
> > > Thank you
> > > Regards
> > > Girish
> > > +91 99867 64809
> > >
> > >
> > >
> > >
> > >
> >
> 
> > >
> > > ___
> > > Openmoko community mailing list
> > > community@lists.openmoko.org <mailto:community@lists.openmoko.org>
> > > http://lists.openmoko.org/mailman/listinfo/community
> >
> > --
> > exactt technology
> > Dipl. Inf. (FH) Max Giesbert
> >
> > Schießstättstr. 16  T: +49 17 75 07 53 44
> > D-80339 München F: +49 89 1 22 21 97 02
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org <mailto:community@lists.openmoko.org>
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
> >
> > 
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
>
> --
> exactt technology
> Dipl. Inf. (FH) Max Giesbert
>
> Schießstättstr. 16  T: +49 17 75 07 53 44
> D-80339 München F: +49 89 1 22 21 97 02
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Max Giesbert
have you tried compiling the java class on the freerunner?

Girish Revadigar schrieb:
> Hi,
> 
> I tried according to your guidelines and got the cacao and jamvm
> installed onto my openmoko.(neo freerunner). I compiled a small
> HelloWorld program on my pc to generate HelloWorld.class file, which
> prints Hello World when run on my PC using:  java HelloWorld command.
> After that i copied the same HelloWorld.class file to my openmoko device
> (freerunner) and tried to run using the cacao, but it gives the
> following error:
> 
> output when run with cacao:
> --
> -
> # cacao HelloWorld
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
> 
> output when run with jamvm:
> ---
> # jamvm HelloWorld
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
> 
> 
> Also tried running the test.jar file from cacao, and jamvm, that also
> gives the same result:
> 
> output when tried to run jar file with cacao:
> 
> # cacao -cp -jar test.jar
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
> 
> output when tried to run jar file with jamvm:
> ------
> # jamvm -jar test.jar
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
> 
> What can be wrong in my settings? Please update me.
> 
> Thank you
> Girish
> 
> 
> On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> have you checked http://wiki.openmoko.org/wiki/Java ?
> 
> please update if necessary...
> 
> Girish Revadigar schrieb:
> > Hi,
> >
> > I am new to openmoko. I want to run one of my java based GUI
>     application
> > on openmoko. But when I tried to check for the java support on the
> newly
> > brought model, I found there is no java utility pre installed (Any JVM
> > for running java apps). So can you guide me how can I set up my
> openmoko
> > to run java applications on it? Is there any extra package I need to
> > install? Please guide me, without finding it I can't proceed. Your
> > valuable suggestion will be greatly helpful for me.
> >
> > Thank you
> > Regards
> > Girish
> > +91 99867 64809
> >
> >
> >
> >
> >
> 
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org <mailto:community@lists.openmoko.org>
> > http://lists.openmoko.org/mailman/listinfo/community
> 
> --
> exactt technology
> Dipl. Inf. (FH) Max Giesbert
> 
> Schießstättstr. 16  T: +49 17 75 07 53 44
> D-80339 München F: +49 89 1 22 21 97 02
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org <mailto:community@lists.openmoko.org>
> http://lists.openmoko.org/mailman/listinfo/community
> 
> 
> 
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

-- 
exactt technology
Dipl. Inf. (FH) Max Giesbert

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Peter Neubauer
Mmh,
it seems your jvm is not finding the Java base classes. Do you ave
Classpath installed? You could try to explicitly point out the
classes.zip file of your JRE using

cacao -cp PATH/TO/classes.zip .jar myJar.jar

HTH, probably others on this list know more ...

/peter

http://www.oredev.se - Be there or be gone.

GTalk:neubauer.peter
Skypepeter.neubauer
ICQ18762544
Phone   +46704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Fri, Oct 31, 2008 at 10:59 AM, Girish Revadigar
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried according to your guidelines and got the cacao and jamvm installed
> onto my openmoko.(neo freerunner). I compiled a small HelloWorld program on
> my pc to generate HelloWorld.class file, which prints Hello World when run
> on my PC using:  java HelloWorld command. After that i copied the same
> HelloWorld.class file to my openmoko device (freerunner) and tried to run
> using the cacao, but it gives the following error:
>
> output when run with cacao:
> --
> -
> # cacao HelloWorld
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
>
> output when run with jamvm:
> ---
> # jamvm HelloWorld
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
>
>
> Also tried running the test.jar file from cacao, and jamvm, that also gives
> the same result:
>
> output when tried to run jar file with cacao:
> 
> # cacao -cp -jar test.jar
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
>
> output when tried to run jar file with jamvm:
> --
> # jamvm -jar test.jar
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
>
> What can be wrong in my settings? Please update me.
>
> Thank you
> Girish
>
> On Fri, Oct 24, 2008 at 6:44 PM, Joseph Reeves <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi Girish,
>>
>> I've been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG
>> mobile isn't freely available yet, but keep an eye on
>> planet.openmoko.org for an announcement in the (hopefully) near
>> future.
>>
>> Cheers,
>>
>> Joseph
>>
>>
>> [1] http://gvsigmobileonopenmoko.wordpress.com/
>> [2] https://wiki.evolvis.org/jalimo/index.php/Main_Page
>>
>>
>>
>>
>>
>>
>> 2008/10/24 Girish Revadigar <[EMAIL PROTECTED]>:
>> > Hi Max,
>> >
>> >  Thank you for your reply. From the information on this site, looks like
>> > we
>> > need to do some external work to get java run on openmoko. Can you
>> > please
>> > suggest some java packages available which can be installed in openmoko?
>> >
>> > Thank you
>> > Girish
>> >
>> >
>> > On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]>
>> > wrote:
>> >>
>> >> have you checked http://wiki.openmoko.org/wiki/Java ?
>> >>
>> >> please update if necessary...
>> >>
>> >> Girish Revadigar schrieb:
>> >> > Hi,
>> >> >
>> >> > I am new to openmoko. I want to run one of my java based GUI
>> >> > application
>> >> > on openmoko. But when I tried to check for the java support on the
>> >> > newly
>> >> > brought model, I found there is no java utility pre installed (Any
>> >> > JVM
>> >> > for running java apps). So can you guide me how can I set up my
>> >> > openmoko
>> >> > to run java applications on it? Is there any extra package I need to
>> >> > install? Please guide me, without finding it I can't proceed. Your
>> >> > valuable suggestion will be greatly helpful for me.
>> >> >
>> >> > Thank you
>> >&

Re: Need help to run java apps on openmoko

2008-10-31 Thread Girish Revadigar
Hi,

I tried according to your guidelines and got the cacao and jamvm installed
onto my openmoko.(neo freerunner). I compiled a small HelloWorld program on
my pc to generate HelloWorld.class file, which prints Hello World when run
on my PC using:  java HelloWorld command. After that i copied the same
HelloWorld.class file to my openmoko device (freerunner) and tried to run
using the cacao, but it gives the following error:

output when run with cacao:
---
# cacao HelloWorld
LOG: [0x400211d0] exception thrown while vm is initializing:
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
LOG: [0x400211d0] Aborting ...
Aborted

output when run with jamvm:
---
# jamvm HelloWorld
Exception occured while vm initialising.
java/lang/NoClassDefFoundError: java/lang/Class


Also tried running the test.jar file from cacao, and jamvm, that also gives
the same result:

output when tried to run jar file with cacao:

# cacao -cp -jar test.jar
LOG: [0x400211d0] exception thrown while vm is initializing:
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
LOG: [0x400211d0] Aborting ...
Aborted

output when tried to run jar file with jamvm:
--
# jamvm -jar test.jar
Exception occured while vm initialising.
java/lang/NoClassDefFoundError: java/lang/Class

What can be wrong in my settings? Please update me.

Thank you
Girish


On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]> wrote:

> have you checked http://wiki.openmoko.org/wiki/Java ?
>
> please update if necessary...
>
> Girish Revadigar schrieb:
> > Hi,
> >
> > I am new to openmoko. I want to run one of my java based GUI application
> > on openmoko. But when I tried to check for the java support on the newly
> > brought model, I found there is no java utility pre installed (Any JVM
> > for running java apps). So can you guide me how can I set up my openmoko
> > to run java applications on it? Is there any extra package I need to
> > install? Please guide me, without finding it I can't proceed. Your
> > valuable suggestion will be greatly helpful for me.
> >
> > Thank you
> > Regards
> > Girish
> > +91 99867 64809
> >
> >
> >
> >
> > 
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
>
> --
> exactt technology
> Dipl. Inf. (FH) Max Giesbert
>
> Schießstättstr. 16  T: +49 17 75 07 53 44
> D-80339 München F: +49 89 1 22 21 97 02
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Girish Revadigar
Hi,

I tried according to your guidelines and got the cacao and jamvm installed
onto my openmoko.(neo freerunner). I compiled a small HelloWorld program on
my pc to generate HelloWorld.class file, which prints Hello World when run
on my PC using:  java HelloWorld command. After that i copied the same
HelloWorld.class file to my openmoko device (freerunner) and tried to run
using the cacao, but it gives the following error:

output when run with cacao:
---
# cacao HelloWorld
LOG: [0x400211d0] exception thrown while vm is initializing:
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
LOG: [0x400211d0] Aborting ...
Aborted

output when run with jamvm:
---
# jamvm HelloWorld
Exception occured while vm initialising.
java/lang/NoClassDefFoundError: java/lang/Class


Also tried running the test.jar file from cacao, and jamvm, that also gives
the same result:

output when tried to run jar file with cacao:

# cacao -cp -jar test.jar
LOG: [0x400211d0] exception thrown while vm is initializing:
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
LOG: [0x400211d0] Aborting ...
Aborted

output when tried to run jar file with jamvm:
--
# jamvm -jar test.jar
Exception occured while vm initialising.
java/lang/NoClassDefFoundError: java/lang/Class

What can be wrong in my settings? Please update me.

Thank you
Girish


On Fri, Oct 24, 2008 at 6:39 PM, Peter Neubauer <[EMAIL PROTECTED]> wrote:

> Well,
> on standard 2008.9 or so, you should be able to install
>
> opkg install jamvm
>
> to start with. Starting a visual java program from the command line
> (logging in via ssh) would then be:
>
> export DISPLAY=:0.0 && jamvm -jar myJar.jar
>
> If you are running Debian, you can even install classpath, openjdk,
> harmony etc, but they tend to be quite slow (but Java5)
>
> HTH
>
> /peter
>
> http://www.oredev.se - Be there or be gone.
>
> GTalk:neubauer.peter
> Skypepeter.neubauer
> ICQ18762544
> Phone   +46704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter  http://twitter.com/peterneubauer
>
> http://www.neo4j.org - New Energy for Data - the Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org- New Energy for Java - Domain Driven
> Development.
>
>
>
>
> On Fri, Oct 24, 2008 at 3:01 PM, Girish Revadigar
> <[EMAIL PROTECTED]> wrote:
> > Hi Max,
> >
> >  Thank you for your reply. From the information on this site, looks like
> we
> > need to do some external work to get java run on openmoko. Can you please
> > suggest some java packages available which can be installed in openmoko?
> >
> > Thank you
> > Girish
> >
> >
> > On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]>
> wrote:
> >>
> >> have you checked http://wiki.openmoko.org/wiki/Java ?
> >>
> >> please update if necessary...
> >>
> >> Girish Revadigar schrieb:
> >> > Hi,
> >> >
> >> > I am new to openmoko. I want to run one of my java based GUI
> application
> >> > on openmoko. But when I tried to check for the java support on the
> newly
> >> > brought model, I found there is no java utility pre installed (Any JVM
> >> > for running java apps). So can you guide me how can I set up my
> openmoko
> >> > to run java applications on it? Is there any extra package I need to
> >> > install? Please guide me, without finding it I can't proceed. Your
> >> > valuable suggestion will be greatly helpful for me.
> >> >
> >> > Thank you
> >> > Regards
> >> > Girish
> >> > +91 99867 64809
> >> >
> >> >
> >> >
> >> >
> >> >
> 
> >> >
> >> > ___
> >> > Openmoko community mailing list
> >> > community@lists.openmoko.org
> >> > http://lists.openmoko.org/mailman/listinfo/community
> >>
> >> --
> >> exactt technology
> >> Dipl. Inf. (FH) Max Giesbert
> >>
> >> Schießstättstr. 16  T: +49 17 75 07 53 44
> >> D-80339 München F: +49 89 1 22 21 97 02
> >>
> >> ___
> >> Openmoko community mailing list
> >> community@lists.openmoko.org
> >> http://lists.openmoko.org/mailman/listinfo/community
> >
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-31 Thread Girish Revadigar
Hi,

I tried according to your guidelines and got the cacao and jamvm installed
onto my openmoko.(neo freerunner). I compiled a small HelloWorld program on
my pc to generate HelloWorld.class file, which prints Hello World when run
on my PC using:  java HelloWorld command. After that i copied the same
HelloWorld.class file to my openmoko device (freerunner) and tried to run
using the cacao, but it gives the following error:

output when run with cacao:
---
# cacao HelloWorld
LOG: [0x400211d0] exception thrown while vm is initializing:
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
LOG: [0x400211d0] Aborting ...
Aborted

output when run with jamvm:
---
# jamvm HelloWorld
Exception occured while vm initialising.
java/lang/NoClassDefFoundError: java/lang/Class


Also tried running the test.jar file from cacao, and jamvm, that also gives
the same result:

output when tried to run jar file with cacao:

# cacao -cp -jar test.jar
LOG: [0x400211d0] exception thrown while vm is initializing:
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
LOG: [0x400211d0] Aborting ...
Aborted

output when tried to run jar file with jamvm:
--
# jamvm -jar test.jar
Exception occured while vm initialising.
java/lang/NoClassDefFoundError: java/lang/Class

What can be wrong in my settings? Please update me.

Thank you
Girish


On Fri, Oct 24, 2008 at 6:44 PM, Joseph Reeves <[EMAIL PROTECTED]>wrote:

> Hi Girish,
>
> I've been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG
> mobile isn't freely available yet, but keep an eye on
> planet.openmoko.org for an announcement in the (hopefully) near
> future.
>
> Cheers,
>
> Joseph
>
>
> [1] http://gvsigmobileonopenmoko.wordpress.com/
> [2] https://wiki.evolvis.org/jalimo/index.php/Main_Page
>
>
>
>
>
>
> 2008/10/24 Girish Revadigar <[EMAIL PROTECTED]>:
> > Hi Max,
> >
> >  Thank you for your reply. From the information on this site, looks like
> we
> > need to do some external work to get java run on openmoko. Can you please
> > suggest some java packages available which can be installed in openmoko?
> >
> > Thank you
> > Girish
> >
> >
> > On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]>
> wrote:
> >>
> >> have you checked http://wiki.openmoko.org/wiki/Java ?
> >>
> >> please update if necessary...
> >>
> >> Girish Revadigar schrieb:
> >> > Hi,
> >> >
> >> > I am new to openmoko. I want to run one of my java based GUI
> application
> >> > on openmoko. But when I tried to check for the java support on the
> newly
> >> > brought model, I found there is no java utility pre installed (Any JVM
> >> > for running java apps). So can you guide me how can I set up my
> openmoko
> >> > to run java applications on it? Is there any extra package I need to
> >> > install? Please guide me, without finding it I can't proceed. Your
> >> > valuable suggestion will be greatly helpful for me.
> >> >
> >> > Thank you
> >> > Regards
> >> > Girish
> >> > +91 99867 64809
> >> >
> >> >
> >> >
> >> >
> >> >
> 
> >> >
> >> > ___
> >> > Openmoko community mailing list
> >> > community@lists.openmoko.org
> >> > http://lists.openmoko.org/mailman/listinfo/community
> >>
> >> --
> >> exactt technology
> >> Dipl. Inf. (FH) Max Giesbert
> >>
> >> Schießstättstr. 16  T: +49 17 75 07 53 44
> >> D-80339 München F: +49 89 1 22 21 97 02
> >>
> >> ___
> >> Openmoko community mailing list
> >> community@lists.openmoko.org
> >> http://lists.openmoko.org/mailman/listinfo/community
> >
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-24 Thread Joseph Reeves
Hi Girish,

I've been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG
mobile isn't freely available yet, but keep an eye on
planet.openmoko.org for an announcement in the (hopefully) near
future.

Cheers,

Joseph


[1] http://gvsigmobileonopenmoko.wordpress.com/
[2] https://wiki.evolvis.org/jalimo/index.php/Main_Page






2008/10/24 Girish Revadigar <[EMAIL PROTECTED]>:
> Hi Max,
>
>  Thank you for your reply. From the information on this site, looks like we
> need to do some external work to get java run on openmoko. Can you please
> suggest some java packages available which can be installed in openmoko?
>
> Thank you
> Girish
>
>
> On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]> wrote:
>>
>> have you checked http://wiki.openmoko.org/wiki/Java ?
>>
>> please update if necessary...
>>
>> Girish Revadigar schrieb:
>> > Hi,
>> >
>> > I am new to openmoko. I want to run one of my java based GUI application
>> > on openmoko. But when I tried to check for the java support on the newly
>> > brought model, I found there is no java utility pre installed (Any JVM
>> > for running java apps). So can you guide me how can I set up my openmoko
>> > to run java applications on it? Is there any extra package I need to
>> > install? Please guide me, without finding it I can't proceed. Your
>> > valuable suggestion will be greatly helpful for me.
>> >
>> > Thank you
>> > Regards
>> > Girish
>> > +91 99867 64809
>> >
>> >
>> >
>> >
>> > 
>> >
>> > ___
>> > Openmoko community mailing list
>> > community@lists.openmoko.org
>> > http://lists.openmoko.org/mailman/listinfo/community
>>
>> --
>> exactt technology
>> Dipl. Inf. (FH) Max Giesbert
>>
>> Schießstättstr. 16  T: +49 17 75 07 53 44
>> D-80339 München F: +49 89 1 22 21 97 02
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-24 Thread Peter Neubauer
Well,
on standard 2008.9 or so, you should be able to install

opkg install jamvm

to start with. Starting a visual java program from the command line
(logging in via ssh) would then be:

export DISPLAY=:0.0 && jamvm -jar myJar.jar

If you are running Debian, you can even install classpath, openjdk,
harmony etc, but they tend to be quite slow (but Java5)

HTH

/peter

http://www.oredev.se - Be there or be gone.

GTalk:neubauer.peter
Skypepeter.neubauer
ICQ18762544
Phone   +46704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Fri, Oct 24, 2008 at 3:01 PM, Girish Revadigar
<[EMAIL PROTECTED]> wrote:
> Hi Max,
>
>  Thank you for your reply. From the information on this site, looks like we
> need to do some external work to get java run on openmoko. Can you please
> suggest some java packages available which can be installed in openmoko?
>
> Thank you
> Girish
>
>
> On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]> wrote:
>>
>> have you checked http://wiki.openmoko.org/wiki/Java ?
>>
>> please update if necessary...
>>
>> Girish Revadigar schrieb:
>> > Hi,
>> >
>> > I am new to openmoko. I want to run one of my java based GUI application
>> > on openmoko. But when I tried to check for the java support on the newly
>> > brought model, I found there is no java utility pre installed (Any JVM
>> > for running java apps). So can you guide me how can I set up my openmoko
>> > to run java applications on it? Is there any extra package I need to
>> > install? Please guide me, without finding it I can't proceed. Your
>> > valuable suggestion will be greatly helpful for me.
>> >
>> > Thank you
>> > Regards
>> > Girish
>> > +91 99867 64809
>> >
>> >
>> >
>> >
>> > 
>> >
>> > ___
>> > Openmoko community mailing list
>> > community@lists.openmoko.org
>> > http://lists.openmoko.org/mailman/listinfo/community
>>
>> --
>> exactt technology
>> Dipl. Inf. (FH) Max Giesbert
>>
>> Schießstättstr. 16  T: +49 17 75 07 53 44
>> D-80339 München F: +49 89 1 22 21 97 02
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-24 Thread Girish Revadigar
Hi Max,

 Thank you for your reply. From the information on this site, looks like we
need to do some external work to get java run on openmoko. Can you please
suggest some java packages available which can be installed in openmoko?

Thank you
Girish


On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <[EMAIL PROTECTED]> wrote:

> have you checked http://wiki.openmoko.org/wiki/Java ?
>
> please update if necessary...
>
> Girish Revadigar schrieb:
> > Hi,
> >
> > I am new to openmoko. I want to run one of my java based GUI application
> > on openmoko. But when I tried to check for the java support on the newly
> > brought model, I found there is no java utility pre installed (Any JVM
> > for running java apps). So can you guide me how can I set up my openmoko
> > to run java applications on it? Is there any extra package I need to
> > install? Please guide me, without finding it I can't proceed. Your
> > valuable suggestion will be greatly helpful for me.
> >
> > Thank you
> > Regards
> > Girish
> > +91 99867 64809
> >
> >
> >
> >
> > 
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
>
> --
> exactt technology
> Dipl. Inf. (FH) Max Giesbert
>
> Schießstättstr. 16  T: +49 17 75 07 53 44
> D-80339 München F: +49 89 1 22 21 97 02
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Need help to run java apps on openmoko

2008-10-24 Thread Max Giesbert
have you checked http://wiki.openmoko.org/wiki/Java ?

please update if necessary...

Girish Revadigar schrieb:
> Hi,
> 
> I am new to openmoko. I want to run one of my java based GUI application
> on openmoko. But when I tried to check for the java support on the newly
> brought model, I found there is no java utility pre installed (Any JVM
> for running java apps). So can you guide me how can I set up my openmoko
> to run java applications on it? Is there any extra package I need to
> install? Please guide me, without finding it I can't proceed. Your
> valuable suggestion will be greatly helpful for me.
> 
> Thank you
> Regards
> Girish
> +91 99867 64809
> 
> 
> 
> 
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

-- 
exactt technology
Dipl. Inf. (FH) Max Giesbert

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Need help to run java apps on openmoko

2008-10-24 Thread Girish Revadigar
Hi,

I am new to openmoko. I want to run one of my java based GUI application on
openmoko. But when I tried to check for the java support on the newly
brought model, I found there is no java utility pre installed (Any JVM for
running java apps). So can you guide me how can I set up my openmoko to run
java applications on it? Is there any extra package I need to install?
Please guide me, without finding it I can't proceed. Your valuable
suggestion will be greatly helpful for me.

Thank you
Regards
Girish
+91 99867 64809
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java Application output and working directory on 2008.8?

2008-09-24 Thread Peter Neubauer
Thanks for all the hints!
Seems that my main problems were the missing file logging
configuration, and the setting of the working dir. Have filed an
enhancement request for the mvn pkg:pkg plugin at Evolvis to even let
me specify the working dir for the Java app so it ends up in the
starter scripts.

Thanks!

/peter

GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.




On Wed, Sep 24, 2008 at 3:14 PM, Florian Hackenberger
<[EMAIL PROTECTED]> wrote:
> On Wednesday 24 September 2008, Peter Neubauer wrote:
>> Yes, it is a Swing app, but even doing debug output via java.logging
> Pu something like this in your startup script:
>
> pwd > /home/root/working_dir.txt
>
> and launch your application from the launcher. The working_dir.txt file
> should then contain your WD.
>
> Cheers,
>Florian
>
> --
> DI Florian Hackenberger
> [EMAIL PROTECTED]
> www.hackenberger.at
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java Application output and working directory on 2008.8?

2008-09-24 Thread Florian Hackenberger
On Wednesday 24 September 2008, Peter Neubauer wrote:
> Yes, it is a Swing app, but even doing debug output via java.logging
Pu something like this in your startup script:

pwd > /home/root/working_dir.txt

and launch your application from the launcher. The working_dir.txt file 
should then contain your WD.

Cheers,
Florian

-- 
DI Florian Hackenberger
[EMAIL PROTECTED]
www.hackenberger.at

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java Application output and working directory on 2008.8?

2008-09-24 Thread Peter Neubauer
Hi,

On Wed, Sep 24, 2008 at 10:40 AM, vale <[EMAIL PROTECTED]> wrote:
>
> put in your starterscript:
>
> cd /path/to/your/workingdir before you call the applet ...
> and also export DISPLAY=:0
>
> has your applet graphical output? because you say output to console ... ?
Yes, it is a Swing app, but even doing debug output via java.logging ...

/peter

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java Application output and working directory on 2008.8?

2008-09-24 Thread vale

put in your starterscript:

cd /path/to/your/workingdir before you call the applet ...
and also export DISPLAY=:0

has your applet graphical output? because you say output to console ... ?





Peter Neubauer wrote:
> 
> Hi there,
> 
> On Wed, Sep 24, 2008 at 10:09 AM, vale <[EMAIL PROTECTED]> wrote:
>>
>> you have to look into the corresponding .desktop file in
>> /usr/share/applications i think .. there is a line exec= which contains
>> the
>> command used to start the application. it should look like the command
>> you
>> use from the terminal
> Yes, I have a starter script in /usr/bin/ and are calling that with
> exec=myApp from the .desktop file, but still the question is where
> standard output is directed to and what the working dir is if I do not
> have a shell and start the program via click on the desktop item?
> 
> starting the app with
> export DISPLAY=:0.0
> testApp
> 
> works fine with working dir=. and the output to the console ...
> 
> /peter
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Java-Application-output-and-working-directory-on-2008.8--tp1114743p1114808.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java Application output and working directory on 2008.8?

2008-09-24 Thread Peter Neubauer
Hi there,

On Wed, Sep 24, 2008 at 10:09 AM, vale <[EMAIL PROTECTED]> wrote:
>
> you have to look into the corresponding .desktop file in
> /usr/share/applications i think .. there is a line exec= which contains the
> command used to start the application. it should look like the command you
> use from the terminal
Yes, I have a starter script in /usr/bin/ and are calling that with
exec=myApp from the .desktop file, but still the question is where
standard output is directed to and what the working dir is if I do not
have a shell and start the program via click on the desktop item?

starting the app with
export DISPLAY=:0.0
testApp

works fine with working dir=. and the output to the console ...

/peter

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java Application output and working directory on 2008.8?

2008-09-24 Thread vale

you have to look into the corresponding .desktop file in
/usr/share/applications i think .. there is a line exec= which contains the
command used to start the application. it should look like the command you
use from the terminal


Peter Neubauer wrote:
> 
> Hi Folks,
> does anyone know where the standard output from a Java application
> that I start via the visual desktop icon ends up? The app is starting
> from the terminal but not from the Desktop, so I would like to see
> what's going on ...
> 
> /peter
> 
> GTalk: neubauer.peter
> Skype peter.neubauer
> ICQ 18762544
> Phone +46704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
> 
> http://www.neo4j.org - New Energy for Data - the Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Java-Application-output-and-working-directory-on-2008.8--tp1114743p1114771.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java Application output and working directory on 2008.8?

2008-09-24 Thread Peter Neubauer
Hi Folks,
does anyone know where the standard output from a Java application
that I start via the visual desktop icon ends up? The app is starting
from the terminal but not from the Desktop, so I would like to see
what's going on ...

/peter

GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-19 Thread Marco Trevisan (Treviño)
Robert Schuster wrote:
> Petr Vanek schrieb:
>> how can i run java applications from other mobile phones on fr? Is it
>> what is called JavaME? Is this available for fr? I have looked at
>> jalimo and around but no clarity for me...
> What you usually want to run is a MIDlet or MIDP application. For this
> you can either use the microemulator or MIDPath on top of either
> Cacao+GNU Classpath or PhoneME Advanced.
> 
> You can install midpath for OpenMoko through the Jalimo repository. All
> of this is in OE. So it could be added to the official feeds as well.
> 
> Running MIDPath on PhoneME Advanced (PMEA for short) is currently not
> possible due to a bug in the MIDPath version in OE. I hope I can
> convince Guillaume to release another RC soon so that I can base the
> recipes in OE on it.
> 
> For the user PMEA would have the advantage that it is tried and tested
> Sun code and additionally really fast. It is also compatible to SWT and
> can as such run application that are compatible to J2SE 1.3.

Nice and does it support all midlets built following the J2Me standards?

Btw, do you have packages for testing it without waiting the OE/OM
updates? There are some repos [1] that I found in your blog but they
don't seem so updated as needed...

[1] https://wiki.evolvis.org/jalimo/index.php/Packages#OpenMoko

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-19 Thread Robert Schuster
Hi,

David Samblas schrieb:
> Good news :) a step closer to say "neo is full compatible with you
> favorite java games and apps :)" I know all c/python/elf/gtk even qt
> lovers will be groaning  like Gollum in Saurons fortress but marketing
> is cruel some times and the avobe sentence can make Openmoko sell more
> neos :) 
What is also nice is that BugLabs, a company that sells customizable ARM
computers, is using PMEA as the primary JVM in their products. These
people will use OpenEmbedded (through Poky) and as such all of the stuff
they are committing can be used for OpenMoko as well.

Regards
Robert



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread Petr Vanek
On Thu, 18 Sep 2008 18:07:21 +0200 (CEST)
[EMAIL PROTECTED] (FOGO) wrote:

>> On Thu, 18 Sep 2008 13:01:13 +0200 (CEST)
>> [EMAIL PROTECTED] (FOGO) wrote:
>
>fogo?

i reply through gmane gate and it hides all addresses. In your case
very well :)

>> Yes, i have read this. Unfortunately i am not a programmer to be able
>> to give a hand so i will only hope quietly this gets done one day,
>> after all the other issues have been nailed out...
>>
>> thank you anyways
>> Petr
>>
>
>I was not suggesting that you should do it. I only was pointing that I
>think it would still require time.

I just tried to show some empathy :)
cheers

--
Petr Vaněk
http://biodynamika.cz




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread flamma
> On Thu, 18 Sep 2008 13:01:13 +0200 (CEST)
> [EMAIL PROTECTED] (FOGO) wrote:

fogo?

> Yes, i have read this. Unfortunately i am not a programmer to be able
> to give a hand so i will only hope quietly this gets done one day,
> after all the other issues have been nailed out...
>
> thank you anyways
> Petr
>

I was not suggesting that you should do it. I only was pointing that I
think it would still require time.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread David Samblas
Good news :) a step closer to say "neo is full compatible with you
favorite java games and apps :)" I know all c/python/elf/gtk even qt
lovers will be groaning  like Gollum in Saurons fortress but marketing
is cruel some times and the avobe sentence can make Openmoko sell more
neos :) 
El jue, 18-09-2008 a las 14:37 +0200, Robert Schuster escribió:
> Hi,
> for some blogposts by me that deal with the Java situation on OpenMoko
> have a look at this:
> 
> http://rschuster.blogs.evolvis.org/category/OpenMoko/
> 
> (With a little luck this will soon be available through planet.openmoko.org)
> 
> Petr Vanek schrieb:
> > how can i run java applications from other mobile phones on fr? Is it
> > what is called JavaME? Is this available for fr? I have looked at
> > jalimo and around but no clarity for me...
> What you usually want to run is a MIDlet or MIDP application. For this
> you can either use the microemulator or MIDPath on top of either
> Cacao+GNU Classpath or PhoneME Advanced.
> 
> You can install midpath for OpenMoko through the Jalimo repository. All
> of this is in OE. So it could be added to the official feeds as well.
> 
> Running MIDPath on PhoneME Advanced (PMEA for short) is currently not
> possible due to a bug in the MIDPath version in OE. I hope I can
> convince Guillaume to release another RC soon so that I can base the
> recipes in OE on it.
> 
> For the user PMEA would have the advantage that it is tried and tested
> Sun code and additionally really fast. It is also compatible to SWT and
> can as such run application that are compatible to J2SE 1.3.
> 
> Regards
> Robert
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread Robert Schuster
Hi,
for some blogposts by me that deal with the Java situation on OpenMoko
have a look at this:

http://rschuster.blogs.evolvis.org/category/OpenMoko/

(With a little luck this will soon be available through planet.openmoko.org)

Petr Vanek schrieb:
> how can i run java applications from other mobile phones on fr? Is it
> what is called JavaME? Is this available for fr? I have looked at
> jalimo and around but no clarity for me...
What you usually want to run is a MIDlet or MIDP application. For this
you can either use the microemulator or MIDPath on top of either
Cacao+GNU Classpath or PhoneME Advanced.

You can install midpath for OpenMoko through the Jalimo repository. All
of this is in OE. So it could be added to the official feeds as well.

Running MIDPath on PhoneME Advanced (PMEA for short) is currently not
possible due to a bug in the MIDPath version in OE. I hope I can
convince Guillaume to release another RC soon so that I can base the
recipes in OE on it.

For the user PMEA would have the advantage that it is tried and tested
Sun code and additionally really fast. It is also compatible to SWT and
can as such run application that are compatible to J2SE 1.3.

Regards
Robert



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread Petr Vanek
On Thu, 18 Sep 2008 13:01:13 +0200 (CEST)
[EMAIL PROTECTED] (FOGO) wrote:

>> how can i run java applications from other mobile phones on fr? Is it
>> what is called JavaME? Is this available for fr? I have looked at
>> jalimo and around but no clarity for me...
>>
>> thank you for pointing into the right direction,
>
>I think a lot of work must still be done.
>
>http://wiki.openmoko.org/wiki/Java#Status_on_Openmoko


Yes, i have read this. Unfortunately i am not a programmer to be able
to give a hand so i will only hope quietly this gets done one day,
after all the other issues have been nailed out...

thank you anyways
Petr


--
Petr Vaněk
http://biodynamika.cz




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread Kostis Anagnostopoulos
On Thu 18 Sep 2008 14:14:01 Martin Šenkeřík wrote:
> On Thu, Sep 18, 2008 at 1:01 PM,  <[EMAIL PROTECTED]> wrote:
> >> how can i run java applications from other mobile phones on fr? Is it
> >> what is called JavaME? Is this available for fr? I have looked at
> >> jalimo and around but no clarity for me...
> >
> > I think a lot of work must still be done.
> >
> > http://wiki.openmoko.org/wiki/Java#Status_on_Openmoko
> 
> But see the history of this page: the only changes this year were
> OpenMoko->Openmoko changes and some category corrections...

I have updated that OpenMoko-java-page about:
Debian status with and CacaoVM, JamVM and Microemu PhoneME impl.

Regards,
  Kostis

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread Kostis Anagnostopoulos
On Thu 18 Sep 2008 13:24:20 Petr Vanek wrote:
> Hi all,
>
> perhaps a silly question, but google nor wiki give me an answer:
>
> how can i run java applications from other mobile phones on fr? Is it
> what is called JavaME? Is this available for fr? I have looked at
> jalimo and around but no clarity for me...
>
> thank you for pointing into the right direction,

I just tried microemu[1] with CacaoVM (included in Debian)
and it worked!
(It takes ~20sec to start up but it is very responsive)

After downoading it and unpacking it i tried the demo apps included with the 
command:
  DISPLAY=:0 java -jar microemulator.jar apps/microemu-demo.jad

Yet, at the TextField demo, the microemu aborted with:
  LOG: [0x43ee3490] mutex_lock: pthread_mutex_lock failed: Invalid argument
  Aborted

Regards,
  Kostis

[1]: http://www.microemu.org/index.html

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread Martin Šenkeřík
But see the history of this page: the only changes this year were
OpenMoko->Openmoko changes and some category corrections...

On Thu, Sep 18, 2008 at 1:01 PM,  <[EMAIL PROTECTED]> wrote:
>> how can i run java applications from other mobile phones on fr? Is it
>> what is called JavaME? Is this available for fr? I have looked at
>> jalimo and around but no clarity for me...
>>
>> thank you for pointing into the right direction,
>
> I think a lot of work must still be done.
>
> http://wiki.openmoko.org/wiki/Java#Status_on_Openmoko
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Phone java apps on fr?

2008-09-18 Thread flamma
> how can i run java applications from other mobile phones on fr? Is it
> what is called JavaME? Is this available for fr? I have looked at
> jalimo and around but no clarity for me...
>
> thank you for pointing into the right direction,

I think a lot of work must still be done.

http://wiki.openmoko.org/wiki/Java#Status_on_Openmoko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Phone java apps on fr?

2008-09-18 Thread Petr Vanek
Hi all,

perhaps a silly question, but google nor wiki give me an answer:

how can i run java applications from other mobile phones on fr? Is it
what is called JavaME? Is this available for fr? I have looked at
jalimo and around but no clarity for me...

thank you for pointing into the right direction,

--
Petr Vaněk
http://biodynamika.cz




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launch scripts for Java app?

2008-09-18 Thread Robert Schuster
Hi,
I do it the following way:

1) provide a shell script that starts your app and place it in /usr/bin

2) write a .desktop file and place it in /usr/share/applications.

Thats all.

(Btw: If your Java app is built can be built with maven you can use the
maven packaging plugin[0] to do this for you.)

Regards
Robert

[0] - http://mvn-pkg-plugin.evolvis.org

Peter Neubauer schrieb:
> Hi there,
> thanks for all the effort over here, I think OM is a very cool
> tinkering platform!
> 
> I would like to get an Icon on the Idle Screen and some name in the
> task list for my little Java-SWT app. Is there any tutorial on how to
> do that?
> 
> Cheers
> 
> /peter
> 
> GTalk: neubauer.peter
> Skype peter.neubauer
> ICQ 18762544
> Phone +46704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
> 
> http://www.neo4j.org - New Energy for Data - the Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 




signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java FX, any news?

2008-09-16 Thread Kostis Anagnostopoulos
On Tue 16 Sep 2008 10:45:58 Philipp Aeberli wrote:
> Hello everyone,
>
> I was going through some of my bookmarks and stumbled over the Java FX
> announcement in May this year:
> http://www.sfgate.com/cgi-bin/blogs/sfgate/detail?blogid=19&entry_id=16310
>
> There is even a Java FX Mobile dedicated to mobile devices:
> http://java.sun.com/javafx/mobile/
>
> Does anyone now if somebody is pursuing this 

Hi Philipp, 

I have attempted some experiments with JavaFX.

I'm using Debian with CacaoVM implementing JSE 1.5, 
and i tried the SDK preview samples "Stopwatch", "ImageRollover"  
and "Madness".
Here are the results so far:

* "Stopwatch" run but was deadly slow!
It may be that it requires floating-point maths for the clock-pointers.

* "ImageRollover" (just a close-button) starts slow but is perfectly 
responsive!

* "Madness" segfaulted CacaoVM with a "unable to find a Java method" message.
Attempts with others progs have also end-up with CacaoVM segfaults.


Tried also JamVM but classpath-classes didn't implement 
Window.isLocationByPlatform() method so JavaFX aborts.

Hope the above info helps.


Regards,
  Kostis

PS: These attempts are the precursory steps of evaluating the possibility of 
an ala "Tichy" FSO-based JavaFX+OSGi software for OpenMoko devices.
Any feedback appreciated.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java FX, any news?

2008-09-16 Thread Philipp Aeberli
Hello everyone,

I was going through some of my bookmarks and stumbled over the Java FX 
announcement in May this year: 
http://www.sfgate.com/cgi-bin/blogs/sfgate/detail?blogid=19&entry_id=16310

There is even a Java FX Mobile dedicated to mobile devices:
http://java.sun.com/javafx/mobile/

Does anyone now if somebody is pursuing this 

cheers 
Philipp


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Launch scripts for Java app?

2008-09-10 Thread Peter Neubauer
Hi there,
thanks for all the effort over here, I think OM is a very cool
tinkering platform!

I would like to get an Icon on the Idle Screen and some name in the
task list for my little Java-SWT app. Is there any tutorial on how to
do that?

Cheers

/peter

GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: lwuit (toolkit for mobile java interface) goes opensource

2008-08-16 Thread Fredrik Wendt
lör 2008-08-16 klockan 11:08 +0200 skrev arne anka:
> > See: https://lwuit.dev.java.net/ , It's gplv2 with classpath exception.
> > Maybe somebody will find this useful.
> 
> afaik there's no java me stack for the fr. only java se.

http://wiki.openmoko.org/wiki/Java#J2ME_implementations


signature.asc
Description: Detta är en digitalt signerad	meddelandedel
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: lwuit (toolkit for mobile java interface) goes opensource

2008-08-16 Thread arne anka
> See: https://lwuit.dev.java.net/ , It's gplv2 with classpath exception.
> Maybe somebody will find this useful.

afaik there's no java me stack for the fr. only java se.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


lwuit (toolkit for mobile java interface) goes opensource

2008-08-16 Thread Yorick Moko
See: https://lwuit.dev.java.net/ , It's gplv2 with classpath exception.
Maybe somebody will find this useful.

y

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qtopia and Java?

2008-07-25 Thread Jim Morris
Geoff Ruscoe wrote:
> 
> 
> I wrote a simple Java GUI app using Jalimo the other day just as soon as 
> I got my FR.
> 
> It worked great, just as described on the wiki/links from wiki.
> 

Yes I did that too on 2007.2 which has an X Server running. The SWT port is to 
GTK not Qt, so it 
does not not work on Qtopia.

I presume Python Graphics libs will have the same problem.

Any word on this from Trolltech? Jambi looks great, it would be nice if it 
worked under Qtopia.



-- 
Jim Morris, http://blog.wolfman.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qtopia and Java?

2008-07-25 Thread arne anka
> I wrote a simple Java GUI app using Jalimo the other day just as soon as  
> I
> got my FR.

then it run probably 2007.2, not qtopia?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qtopia and Java?

2008-07-25 Thread Geoff Ruscoe
On Thu, Jul 24, 2008 at 4:27 PM, Jim Morris <[EMAIL PROTECTED]> wrote:

> On my Desktop I just played with Qt Jambi the Trolltech Java UI SDK for
> Java. It looks good, but
> will it work under Qtopia? Or only under Qt/X11?
>
> I have Jalimo loaded on my Qtopia loaded FR and of course none of the
> graphics libs they provide
> work because they are GTK/X11, so what does it take to use Java to write an
> app under Qtopia?
>
> I'd like to be able to write simple apps either in Java or Ruby. I presume
> some people will want
> python too.
>
> There are Qt bindings for Ruby but I think they are Qt/X11 not Qtopia.
>
> Any suggestions?
>
> Thanks
> Jim
>

I wrote a simple Java GUI app using Jalimo the other day just as soon as I
got my FR.

It worked great, just as described on the wiki/links from wiki.

The key was I went ahead and used the SWT framework (which is also available
in the packages).

a couple recommended opkg installs
built little gui in Eclipse (compiled using the swt jar)
copied the class to the phone
ran from the command line...
And life was full of joy!

Hope this helps.  I know I didn't look up the links, but they are readily
available.  I figured its the procedure that you needed.

Cheers,
Geoff
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Qtopia and Java?

2008-07-24 Thread Jim Morris
On my Desktop I just played with Qt Jambi the Trolltech Java UI SDK for Java. 
It looks good, but 
will it work under Qtopia? Or only under Qt/X11?

I have Jalimo loaded on my Qtopia loaded FR and of course none of the graphics 
libs they provide 
work because they are GTK/X11, so what does it take to use Java to write an app 
under Qtopia?

I'd like to be able to write simple apps either in Java or Ruby. I presume some 
people will want 
python too.

There are Qt bindings for Ruby but I think they are Qt/X11 not Qtopia.

Any suggestions?

Thanks
Jim

-- 
Jim Morris, http://blog.wolfman.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Only 6 days to go: Live, worldwide, and free broadcast - Java Mobile & Embedded Developer Days

2008-01-17 Thread Terrence Barr - Evangelist, Java Mobile & Embedded

News Flash:

The Java Mobile & Embedded Developer Days will be broadcast live,
worldwide, and for free! Only 6 more days to go ...

Newsletter #5:

  https://developerdays.dev.java.net/newsletters/MEDD-Countdown5.pdf

See you there or online!

-- Terrence


begin:vcard
fn:Terrence Barr
n:Barr;Terrence
org:Sun Microsystems
adr:;;Zettachring 10 A;Stuttgart;;70587;Germany
email;internet:[EMAIL PROTECTED]
title:Evangelist, Java Mobile & Embedded Community
tel;work:+49 711 720 98185
url:http://www.mobileandembedded.com
version:2.1
end:vcard

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Only 10 days to go: Java Mobile & Embedded Developer Days countdown

2008-01-11 Thread Terrence Barr - Evangelist, Java Mobile & Embedded

Newsletter #4:

  https://developerdays.dev.java.net/newsletters/MEDD-Countdown4.pdf

Enjoy!

-- Terrence

--
Terrence Barr
Technical Evangelist, Java Mobile & Embedded Community
Phone: +49 711 720 98185
http://www.mobileandembedded.org
http://www.sun.com

Registered Office:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized review, 
use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message.


begin:vcard
fn:Terrence Barr
n:Barr;Terrence
org:Sun Microsystems
adr:;;Zettachring 10 A;Stuttgart;;70587;Germany
email;internet:[EMAIL PROTECTED]
title:Evangelist, Java Mobile & Embedded Community
tel;work:+49 711 720 98185
url:http://www.mobileandembedded.com
version:2.1
end:vcard

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Only 3 weeks to go! Java Mobile & Embedded Developer Days countdown #3

2008-01-02 Thread Terrence Barr - Evangelist, Java Mobile & Embedded

Newsletter #3:

  https://developerdays.dev.java.net/newsletters/MEDD-Countdown3.pdf

Enjoy!

-- Terrence

--
Terrence Barr
Technical Evangelist, Java Mobile & Embedded Community
Phone: +49 711 720 98185
http://www.mobileandembedded.org
http://www.sun.com

Registered Office:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized review, 
use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message.

begin:vcard
fn:Terrence Barr
n:Barr;Terrence
org:Sun Microsystems
adr:;;Zettachring 10 A;Stuttgart;;70587;Germany
email;internet:[EMAIL PROTECTED]
title:Evangelist, Java Mobile & Embedded Community
tel;work:+49 711 720 98185
url:http://www.mobileandembedded.com
version:2.1
end:vcard

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Only 5 weeks to go: Java Mobile & Embedded Developer Days countdown #2

2007-12-19 Thread Terrence Barr - Evangelist, Java Mobile & Embedded

Conference Count-Down: Only 5 weeks to go!

  https://developerdays.dev.java.net/newsletters/MEDD-Countdown2.pdf

Enjoy!

--
Terrence Barr
Technical Evangelist, Java Mobile & Embedded Community
Phone: +49 711 720 98185
http://www.mobileandembedded.org
http://www.sun.com

Registered Office:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized review, 
use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message.




begin:vcard
fn:Terrence Barr
n:Barr;Terrence
org:Sun Microsystems
adr:;;Zettachring 10 A;Stuttgart;;70587;Germany
email;internet:[EMAIL PROTECTED]
title:Evangelist, Java Mobile & Embedded Community
tel;work:+49 711 720 98185
url:http://www.mobileandembedded.com
version:2.1
end:vcard

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Android isn't a Java Platform - Say Hello to Dalvik

2007-11-13 Thread Doug Sutherland
On a related note, the J2ME from Sun is now open source
https://phoneme.dev.java.net/

"The project scope includes a focus on the mainstream feature 
phone segment with phoneME Feature software, and the emerging 
advanced phone segment with phoneME Advanced software."

Regarding Android and Sun licensing, interestingly Ed Zander 
who used to run Sun Microsytstems (COO/President) now 
runs Motorola (CEO), and has said moto wants to be part of 
Android. If there was any kind of licensing problem he would 
probably know.

Another interesting thing is that Java runs on many many 
phones already. Probably most are not set up to allow 
development, but from what I've seen doing tech support
it seems most phones run Java. Another interesting thing 
is how prevalent ARM is used on phones. I believe ARM
actually owns this market for processors. If you have any
recent phone, most likely it's ARM inside.

  -- Doug 

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Android isn't a Java Platform - Say Hello to Dalvik

2007-11-13 Thread Brad Midgley
hey friend

MS got in trouble with Sun for doing something a little bit similar,
but they had a licensing agreement in place that put MS in hot water.

I wonder if on a technical level it rules out cool stuff like jruby...

> > - Android code is written to a unique dialect of Java (super/subset)
> > that runs on Android's own Dalvik VM.  It's not J2ME or any other Sun
> > profile and apparently not subject to Sun's licensing regimes

-- 
Brad

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Android isn't a Java Platform - Say Hello to Dalvik

2007-11-13 Thread Joshua Layne

William Weinberg wrote:

Dear OpenMoko Friends

See the following blog about the "neat tricks" that Google performed to
sidestep Sun Java licensing requirements.

http://www.betaversion.org/~stefano/linotype/news/110/

The short of is

- Android code is written to a unique dialect of Java (super/subset)
that runs on Android's own Dalvik VM.  It's not J2ME or any other Sun
profile and apparently not subject to Sun's licensing regimes

- In doing so, Google created a new platform, better technically
perhaps, but not a Java-based platform.  This act by definition
increases fragmentation, whatever you may think of the ugly Java-based
status quo in the broader mobile market.

Your comments and reflections appreciated.
  


There are apparently good reasons for doing that type of fragmentation 
with java (although I would argue staying as close to the spec as 
possible would be better) in open source development


Bug labs details this a bit on their blog - Sun has no certification 
program for open source implementations of java, so it kind of forces 
the issue. http://www.bugblogger.com/2007/10/gpl-sun-java-tr.html


This one _may_ not just be google throwing their weight around.

regards,
joshua

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Android isn't a Java Platform - Say Hello to Dalvik

2007-11-13 Thread William Weinberg
Dear OpenMoko Friends

See the following blog about the "neat tricks" that Google performed to
sidestep Sun Java licensing requirements.

http://www.betaversion.org/~stefano/linotype/news/110/

The short of is

- Android code is written to a unique dialect of Java (super/subset)
that runs on Android's own Dalvik VM.  It's not J2ME or any other Sun
profile and apparently not subject to Sun's licensing regimes

- In doing so, Google created a new platform, better technically
perhaps, but not a Java-based platform.  This act by definition
increases fragmentation, whatever you may think of the ugly Java-based
status quo in the broader mobile market.

Your comments and reflections appreciated.

Bill
-- 
Bill Weinberg - Embedded and Open Source Analyst / Consultant
http://www.linuxpundit.com   [EMAIL PROTECTED]
831-662-2857 (p)   |  408-568-2492 (m)   |   831-662-2852 (f)
  Blogs:  http://activeanalysis.net/blog/18
  http://linux-foundation.org/weblogs/mobile

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Call for Papers: Java Mobile & Embedded Developer Days Conference

2007-10-08 Thread Terrence Barr - Evangelist, Java Mobile & Embedded

We just announced the Java Mobile & Embedded Developer Days Conference
for January of 2008. OpenMoko fits very well into the focus of this
conference so I'm posting the announcement here assuming the OpenMoko
community is interested in promoting this and participating.

The Call for Papers has just opened. For more information please see
the note below.

Let me know if you have any additional questions.

Thanks much,

-- Terrence

--
Terrence Barr
Technical Evangelist, Java Mobile & Embedded Community
Phone: +49 711 720 98185
http://www.mobileandembedded.org, http://www.sun.de, http://www.sun.com

Registered Office:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten, Germany
Commercial register of the Local Court of Munich: HRB 161028
Managing Directors: Wolfgang Engels, Dr. Roland Boemer
Chairman of the Supervisory Board: Martin Haering

NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized review, 
use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message.





The Mobile & Embedded Community is hosting the first ever


Java Mobile & Embedded Developer Days Conference

January 22-24, 2008
At the Sun Santa Clara Campus Auditorium
Santa Clara, California, USA


The conference is devoted solely to the technologies of mobile and
embedded Java platforms and is targeted for application developers of
intermediate and advanced skill levels, platform developers, and technical
personnel at tool vendors, OEMs and carriers.

Content areas are expected to include the traditional phone and PDA
development on the Java ME platform as well as SunSPOT wireless sensors,
Trackbot and Java robotics, and other small Java systems used in machinery
and process control but centered around Java, JavaME, and open source
aspects of Java.

We want this to be a community-driven conference. We are looking forward
to your involvement in making this an interesting and interactive event.

The Call for Papers opened on October 2, 2007 and will end October 31, 2007.
Registration is expected to be open November 1, 2007.

For more information about the conference and how to submit papers please
see

  https://developerdays.dev.java.net

Best regards,

Roger Brinkley, Mobile & Embedded Community Leader
Terrence Barr, Mobile & Embedded Community Technical Evangelist
begin:vcard
fn:Terrence Barr
n:Barr;Terrence
org:Sun Microsystems
adr:;;Zettachring 10 A;Stuttgart;;70587;Germany
email;internet:[EMAIL PROTECTED]
title:Evangelist, Java Mobile & Embedded Community
tel;work:+49 711 720 98185
url:http://www.mobileandembedded.com
version:2.1
end:vcard

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java games for openMoko

2007-07-28 Thread Henryk Plötz
Moin,

Am Sun, 29 Jul 2007 02:11:19 +0100 schrieb Giles Jones:

> Implement bluetooth HID etc then you can use a bluetooth keyboard.
> Or compile the wii mote code on the phone and use a Wii controller
> (they use bluetooth for all but pointing).

Note that HID already is working with the default Bluez installed on
OpenMoko. I have successfully used the HID application on another phone
(Sony-Ericsson W800i) to appear as a keyboard to my Neo1973.

And yes, incidentally it was to get numeric input into a J2ME
application running on the Neo. I have made a bitbake recipe to build
PhoneME Feature to run directly on the Neo1973 framebuffer, with
pointer input through tslib (see http://wiki.openmoko.org/wiki/Java and
http://projects.openmoko.org/plugins/scmsvn/viewcvs.php/oe/packages/phoneme-feature/?root=java-pkg).

The big drawback here is that there is no virtual on-screen keyboard
(though the idea to implement something like this has surfaced in the
phoneme forum approximately in February), so you'll only get pointer
input and can select menu options.

What would be cool would be a phoneme 'port' for X11, so that the
existing on-screen keyboard could be used. Should in principle be easy,
since PhoneME Feature already has all the code to run on bare metal
without any widget system. You'll only have to redirect all the
drawing operations that would normally take place on the framebuffer
into an X11 window.

-- 
Henryk Plötz
Grüße aus Berlin
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java games for openMoko

2007-07-28 Thread Giles Jones


On 28 Jul 2007, at 22:44, Steven Milburn wrote:

This one-button-at-a-time is not an uncommon to existing phones.   
Many phone keypads are implemented in such a way that they do not  
register multiple key presses at the same time.  For instance, when  
playing the "Asphalt Urban GT 3D", a Java game, on my A707, I  
cannot both accelerate and turn at the same time because it takes  
two keys.  Luckily, the game programmers must have known this and  
there's a control mode that includes auto-acceleration so that you  
don't need to press two keys at a time.


So, it would be good if the neo could play the games that already  
exist and only require one key at a time.  I'm sure plenty exist  
for it to be worth while.




Implement bluetooth HID etc then you can use a bluetooth keyboard. Or  
compile the wii mote code on the phone and use a Wii controller (they  
use bluetooth for all but pointing).



___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java games for openMoko

2007-07-28 Thread Steven Milburn
This one-button-at-a-time is not an uncommon to existing phones.  Many phone
keypads are implemented in such a way that they do not register multiple key
presses at the same time.  For instance, when playing the "Asphalt Urban GT
3D", a Java game, on my A707, I cannot both accelerate and turn at the same
time because it takes two keys.  Luckily, the game programmers must have
known this and there's a control mode that includes auto-acceleration so
that you don't need to press two keys at a time.

So, it would be good if the neo could play the games that already exist and
only require one key at a time.  I'm sure plenty exist for it to be worth
while.

--Steve

On 7/28/07, Ortwin Regel <[EMAIL PROTECTED]> wrote:
>
> Remember that the Neo doesn't have the buttons for games. The touchscreen
> can only do one button at a time, so an external gamepad (USB or Wiimote)
> would be necessary.
>
> Ortwin
>
> On 7/27/07, John Smith <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I'm sorry but I'm new to the openMoko system. So my question, is it
> > possible to play java games, like for other mobiles, on the openMoko? I
> > know, they must be compiled for it. But is it possible to play in the same,
> > easy way, some java games?
> >
> > Thanks,
> > John
> >
> > ___
> > OpenMoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
>
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java games for openMoko

2007-07-28 Thread Ortwin Regel
Remember that the Neo doesn't have the buttons for games. The touchscreen
can only do one button at a time, so an external gamepad (USB or Wiimote)
would be necessary.

Ortwin

On 7/27/07, John Smith <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm sorry but I'm new to the openMoko system. So my question, is it
> possible to play java games, like for other mobiles, on the openMoko? I
> know, they must be compiled for it. But is it possible to play in the same,
> easy way, some java games?
>
> Thanks,
> John
>
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java games for openMoko

2007-07-28 Thread Shakthi Kannan
Hi,

On 7/27/07, John Smith <[EMAIL PROTECTED]> wrote:
> So my question, is it possible
> to play java games, like for other mobiles, on the openMoko?

Please see:
http://wiki.openmoko.org/wiki/Wishlist:BuiltInScriptingLanguage#Java

-- 
Shakthi Kannan
http://www.shakthimaan.com

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java games for openMoko

2007-07-28 Thread John Smith
Hello,

I'm sorry but I'm new to the openMoko system. So my question, is it possible
to play java games, like for other mobiles, on the openMoko? I know, they
must be compiled for it. But is it possible to play in the same, easy way,
some java games?

Thanks,
John
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Java

2007-06-08 Thread John Seghers
As one data point, I have managed to run phoneME Feature via qvfb inside
OpenMoko inside Xephyr on Ubuntu.

Tying together this thread with the UI thread, phoneME is one "application"
that would benefit greatly from having a framebuffer interface available. It
is designed to render to a frame buffer. There is a QTE build, but I have
not gotten that to build yet.

> Ian Darwin wrote:
> > ...  Or, it might be
> > better to do "our own" port of phoneME to OpenMoko. I don't know which
> > approach is better in the long run.
> Has anybody that has GTA01 hardware tried running this?

No hardware here, nor have I tried it in arm emulation--but they do have a
Linux ARM build target and if qvfb can be built for Linux ARM, it should
work.

- John


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java

2007-06-08 Thread Ian Darwin

Ian Darwin wrote:

...  Or, it might be
better to do "our own" port of phoneME to OpenMoko. I don't know which 
approach is better in the long run.


Err, not to mention that there are already Linux/ARM binaries of phoneME 
available for free (GPL) from Sun at this page:


https://phoneme.dev.java.net/downloads_page.html

Might not need any porting for basic Java ME functionality (though this 
is a far cry from JavaFX Mobile support!).


Has anybody that has GTA01 hardware tried running this?

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java (was: Re: OpenMoko - We Need HYPE, and we need it yesterday!)

2007-06-08 Thread Ian Darwin



please point your browsers to http://de.sun.com/

I am not sure how long it will be there - but to see is JavaFX
Mobile - with a (slightly trimmed?) Neo1973 and you can see the
FIC-Logo.

I think the Neo _has_ some attention.


The hardware in that demo is almost incidental.

JavaFX Mobile is a complete alternate mobile stack based entirely on 
Java, and all the APIs are in Java. It has its own Linux port, based on 
work done by Savaaje, which Sun acquired a few months back.


While this might initially position JavaFX Mobile as a direct competitor 
to OpenMoko, I've seen blogs in which Sun was quoted saying it would be 
GPL'd, so it should (might) be possible to blend them.  Or, it might be 
better to do "our own" port of phoneME to OpenMoko. I don't know which 
approach is better in the long run.


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: open-source Java VM for openmoko?

2007-01-25 Thread Bob Deanna
Scott,

Thanks for the info!

I personally have no preference between Java and .NET.  

I am also equally interested in support for ikvm on openmoko as well.

There was a thread of discussion on this topic on the ikvm development
email list.

J2ME CDC would be just fine, but as you state J2SE would be better...and
ikvm even better.

That would pave the way for really strong application development!

Thanks again!
Bob 

-Original Message-
From: Scott Oberg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 25, 2007 10:59 AM
To: Bob Deanna
Cc: community@lists.openmoko.org
Subject: Re: open-source Java VM for openmoko?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

There is a jamvm package that is checked into the OpenEmbedded
(jamvm_1.3.0-jamvm_1.4.2), so I think that it will be available soon
after the release.

Koen Kooi did some initial work on testing a CDC build, see the
following link.  Thanks Koen! I'm starting to test out building phoneme
- - so that other existing J2ME phone apps can run on the openmoko.
However, like yourself, I'm also more interested in full J2SE support.
I'm not a Java nut case, but I think it's important to get it working on
the openmoko.
http://lists.linuxtogo.org/pipermail/openembedded-devel/2006-December/00
1036.html

Scott

Bob Deanna wrote:
> Hello all,
>  
> Will a Java VM, such as JamVM (see http://jamvm.sourceforge.net/) be a

> part of the openmoko software stack?
>  
> I think this is a very exciting effort!
>  
> Regards,
> Bob
> 
> 
> --
> --
> 
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/community
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQIVAwUBRbjhyHuDTbCxG8PhAQKxgxAArAsJLCiH4eHmdemRde5ZrZzlBoNMXxJ+
62L/ER7Xamynbx56X3y618+zQYfi7TJ8bDpJUKx9KWza50vCRrTRtswmv5QNGXyp
cuot3MSdYA8hXRV+6ZUeZvPuerdyfHLzOrAieKkrAz8H+rwcrfRK6DgioQIDJ51z
CD1+FFgH4mYNLinHMG6drBdrUurmawOW7qGKmLPMd0kk1j/cRDGGpfuezujxwHXt
y43/4XyRgGaL+GV7cnvvVT2F2K7LGCZmZ1qX+FeeJmysf7cgU8UloY3iPeuHPzf5
UygRrQNDRzUTt3PotsRFMZ0j9KG5Osb8tnzSimExM+OSE+kmbLNDIp+60qbqrO7p
OifYa+pG8Lds6Q+v3sROZPfnV+HbMjhey3lBHOe/LMf04O91CJg2bwdeIbuHXNOO
KJ8Rb7w0ZL7jKRcytheUMeBm15qZrF8mVES1Pwajg6UoINFzc6lX3X4ISW2jnERx
w0+2SPS+Sxtr4d/u3rfZ0KtRHPO6rPgLuxEHqQv2DExVLPvKmEflj43z3GvC358Z
VYuuIDi2KY1S3/mI70RN3WQOnblR07wfDKd4t3dDUdjll/IcaZ7I+v6GHy7T0Z53
nm3KIScvgKXWl4JPzqq4VndUdgKBxDoRJWRj7DiY6V3VcLhDi5XQB4/j5+Rq4HBy
kgpVQmo0EDo=
=hOd2
-END PGP SIGNATURE-

___
OpenMoko community mailing list
community@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/community


Re: open-source Java VM for openmoko?

2007-01-25 Thread Scott Oberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

There is a jamvm package that is checked into the OpenEmbedded
(jamvm_1.3.0-jamvm_1.4.2), so I think that it will be available soon
after the release.

Koen Kooi did some initial work on testing a CDC build, see the
following link.  Thanks Koen! I'm starting to test out building phoneme
- - so that other existing J2ME phone apps can run on the openmoko.
However, like yourself, I'm also more interested in full J2SE support.
I'm not a Java nut case, but I think it's important to get it working on
the openmoko.
http://lists.linuxtogo.org/pipermail/openembedded-devel/2006-December/001036.html

Scott

Bob Deanna wrote:
> Hello all,
>  
> Will a Java VM, such as JamVM (see http://jamvm.sourceforge.net/) be a
> part of the openmoko software stack?
>  
> I think this is a very exciting effort!
>  
> Regards,
> Bob
> 
> 
> 
> 
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/community
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQIVAwUBRbjhyHuDTbCxG8PhAQKxgxAArAsJLCiH4eHmdemRde5ZrZzlBoNMXxJ+
62L/ER7Xamynbx56X3y618+zQYfi7TJ8bDpJUKx9KWza50vCRrTRtswmv5QNGXyp
cuot3MSdYA8hXRV+6ZUeZvPuerdyfHLzOrAieKkrAz8H+rwcrfRK6DgioQIDJ51z
CD1+FFgH4mYNLinHMG6drBdrUurmawOW7qGKmLPMd0kk1j/cRDGGpfuezujxwHXt
y43/4XyRgGaL+GV7cnvvVT2F2K7LGCZmZ1qX+FeeJmysf7cgU8UloY3iPeuHPzf5
UygRrQNDRzUTt3PotsRFMZ0j9KG5Osb8tnzSimExM+OSE+kmbLNDIp+60qbqrO7p
OifYa+pG8Lds6Q+v3sROZPfnV+HbMjhey3lBHOe/LMf04O91CJg2bwdeIbuHXNOO
KJ8Rb7w0ZL7jKRcytheUMeBm15qZrF8mVES1Pwajg6UoINFzc6lX3X4ISW2jnERx
w0+2SPS+Sxtr4d/u3rfZ0KtRHPO6rPgLuxEHqQv2DExVLPvKmEflj43z3GvC358Z
VYuuIDi2KY1S3/mI70RN3WQOnblR07wfDKd4t3dDUdjll/IcaZ7I+v6GHy7T0Z53
nm3KIScvgKXWl4JPzqq4VndUdgKBxDoRJWRj7DiY6V3VcLhDi5XQB4/j5+Rq4HBy
kgpVQmo0EDo=
=hOd2
-END PGP SIGNATURE-

___
OpenMoko community mailing list
community@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/community


open-source Java VM for openmoko?

2007-01-25 Thread Bob Deanna
Hello all,
 
Will a Java VM, such as JamVM (see http://jamvm.sourceforge.net/) be a
part of the openmoko software stack?
 
I think this is a very exciting effort!
 
Regards,
Bob
___
OpenMoko community mailing list
community@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/community


Re: Q1: GPS software bundled ,Q2:Java support

2007-01-21 Thread Terrence Barr - Evangelist, Java Mobile & Embedded

Jay,

On Q2:

The Mobile & Embedded Community (http://www.mobileandembedded.org) is
keeping a close eye on OpenMoko. We definitely want to see Java ME
on this device. Anybody who is interested in working on porting Java ME
to OpenMoko please let me know.

Btw, I believe Koen has already started some work on this, see
atached.

-- Terrence


Jay Trister wrote:
This is my first post ,so I just wanted to give a thumbs up for this 
original idea :)
I think this mobile will start a chain reaction that will lead to a big 
market change..


Question 1:
Will there be any software (from phase 0) that will take advantage of 
the AGPS?
No need for maps (as long as there is a way to create them ourselves). 
Can you tell us which program you're planning to use ,so we can get a 
head start?



Question 2:
I know what I want might be tough , but are there any plans to implement 
a java API to access some of the basic functions of the phone (ringing, 
sms, catalogue access) ?
I prefer java because its more portable (or at least more easy to port) 
than C++.
I believe that if you allow even a basic low level access to java apps 
the phone lot of java developers will turn to it .It's better to have 
Java&C Developers than only C ;)   .


Keep up the good work. I think this mobile WILL revolusionize the future.

Btw, the gaming-console/media-player/e-book-reader GP2X is made on a 
pretty much-same philosophy.Everything is open for everyone-even the 
source code of the firmware. And the company is giving an SDK.


PS. sorry for my bad english :)





8:00? 8:25? 8:40? Find a flick < 
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news> in no time
with theYahoo! Search movie showtime shortcut. < 
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>





___
OpenMoko community mailing list
community@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/community
--- Begin Message ---
[note about crossposting that will get ignored by people pressing reply-all, but naive as 
I am, I'll try anyway: this is crossposted, watch out when replying]


Hi,

I was getting very annoyed with all the people complaining "OMG! we need java! LOL", 
but doing absolutely nothing to help getting java into OE (and hence making it available 
to the neo1973). So I decided to actually do something:


http://www.openembedded.org/~koen/java/

It errors out somewhere in do_compile, probably because kaffeh isn't sun j2se (on my build 
machine).


So if any of you want to actually help out instead of complaining, go read 
http://java.sun.com/javame/reference/docs/cdc_build_system.pdf, install OE and get busy!


regards,

Koen

As sample of the output in the devshell:

[EMAIL PROTECTED]:/data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/phoneme-advanced-0.0+MR2-r0/phoneme_advanced-mr2/build/linux$ 
make bin

touch ../../build/linux--/./generated/empty.mk
CVM_HOST   = i686-generic-linux
CVM_TARGET = linux--
SHELL  = sh -e
HOST_CC= 
/data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc
HOST_CCC   = 
/data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-g++
ZIP= /usr/bin/zip
CVM_JAVA   = /usr/bin/java
CVM_JAVAC  = /usr/bin/javac
CVM_JAVAH  = /usr/bin/javah
CVM_JAR= /usr/bin/jar
TARGET_CC = 
/data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc
TARGET_CCC= 
/data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-g++
TARGET_AS = 
/data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc
TARGET_LD = 
/data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc

TARGET_AR = /usr/bin/ar
TARGET_RANLIB = /usr/bin/ranlib
LINKFLAGS  = -g -Wl,-export-dynamic
LINKLIBS   = -lpthread -ldl -lm
ASM_FLAGS  = -c -fno-common -march=armv5te -mtune=xscale -mthumb-interwork 
-mthumb
CCCFLAGS   = -fno-rtti
CCFLAGS_SPEED  = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O4
CCFLAGS_SPACE  = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O2
CCFLAGS_LOOP   = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O4 -fno-inline
CCFLAGS_FDLIB  = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O4

JAVAC_OPTIONS  = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 
-target 1.4
CVM_DEFINES= -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING 
-DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_TIMESTAMPING 
-DJ2ME_CLASSLIB=cdc -DTARGET_CPU_FAMILY= -D_GNU_SOURCE

updating ../../buil

Re: Q1: GPS software bundled ,Q2:Java support

2007-01-20 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jay Trister schreef:

> Btw, the gaming-console/media-player/e-book-reader GP2X is made on a
> pretty much-same philosophy.Everything is open for everyone-even the
> source code of the firmware. And the company is giving an SDK.

Last I checked they used a huge pile of closed source kernel modules, so no, it 
isn't the
same philosophy.

regards,

Koen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFsg3sMkyGM64RGpERAqb/AJ4ugvL9sG6C9sjAbZVbMb7i4EYKlwCfd1WO
6R1iShpd6iyqo9ay1J8SwAQ=
=mpn1
-END PGP SIGNATURE-

___
OpenMoko community mailing list
community@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/community


Q1: GPS software bundled ,Q2:Java support

2007-01-20 Thread Jay Trister
This is my first post ,so I just wanted to give a thumbs up for this original 
idea :)
I think this mobile will start a chain reaction that will lead to a big market 
change..

Question 1:
Will there be any software (from phase 0) that will take advantage of the AGPS? 
No need for maps (as long as there is a way to create them ourselves). Can you 
tell us which program you're planning to use ,so we can get a head start?


Question 2:
I know what I want might be tough , but are there any plans to implement a java 
API to access some of the basic functions of the phone (ringing, sms, catalogue 
access) ?
I prefer java because its more portable (or at least more easy to port) than 
C++.
I believe that if you allow even a basic low level access to java apps the 
phone lot of java developers will turn to it .It's better to have Java&C 
Developers than only C ;)   .

Keep up the good work. I think this mobile WILL revolusionize the future.

Btw, the gaming-console/media-player/e-book-reader GP2X is made on a pretty 
much-same philosophy.Everything is open for everyone-even the source code of 
the firmware. And the company is giving an SDK.

PS. sorry for my bad english :)





 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.___
OpenMoko community mailing list
community@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/community


Re: Java GPL'ed!

2006-12-29 Thread Alessandro Iurlano

On 12/29/06, Koen Kooi <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alessandro Iurlano schreef:
> And it has started GPLizing from the J2ME.
> So, for everyone interested it should be easy to compile it for the
> OpenMoko.

If it's so easy, why haven't you finished the work started here:
http://lists.openmoko.org/pipermail/community/2006-December/000884.html ?



Because I'm not interested at all.
I just wanted to point out that J2ME is now officially GPL'ed to all the
people
interested in Java.
Yes, probably I have used a wrong word (easy), but all that I wanted was to
give more license info.

Regards,
Alessandro
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Java GPL'ed!

2006-12-29 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alessandro Iurlano schreef:
> And it has started GPLizing from the J2ME.
> So, for everyone interested it should be easy to compile it for the
> OpenMoko.

If it's so easy, why haven't you finished the work started here:
http://lists.openmoko.org/pipermail/community/2006-December/000884.html ?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFlPPMMkyGM64RGpERAmhuAJoD/TGeo7j3Iv4ZL5zZmiAIt92rbACfT5Xo
WqjaYYKD5cA04Y/AZg+ZA1M=
=V4aA
-END PGP SIGNATURE-

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Java GPL'ed!

2006-12-29 Thread Alessandro Iurlano

And it has started GPLizing from the J2ME.
So, for everyone interested it should be easy to compile it for the
OpenMoko.

Here are the links:

http://developers.slashdot.org/article.pl?sid=06/12/22/065253
https://phoneme.dev.java.net/downloads_page.html

Regards,
Alessandro
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[OpenMoko] Re: Java and neo1973

2006-11-14 Thread Robert Michel
Salve Stefano, *!

On Tue, 14 Nov 2006, Stefano Sanna wrote:
> >
> >Why should java be a _must_, just because it's GPL after many years?
> 
> With some billions of devices already running Java MIDP applications, I 
> think any new mobile device should look with interest to it. Being GPLed 
> just makes easy to have a good VM implementation, because it is still 
> missing a good one in the open source world.


Let me start with a general statement - a pyschology institut of my
university (rwth-aachen) made a studies about
"Evaluation of Input Devices" and "usability of mobile phones"
with the result that mobile phones had become to complex.

I dissagree with that point and Java MIDP is an example for it
IMHO the mobile phones lakes a 100% continuous usable of the
interfaces and functions.
When the phone offers the function "printing" it should be possibel
to print adresses, sms, emails, texfiles, wap/webpages
and it should be possible to print via all interfaces the phone
offeres.
When the phone has Bluetooth and Java (the companies promote phones
with both features) I don't want to be disspointed that it has
no JSR-82  - not on the box, nor on the webpage are announced that
it has Bluetooth and Java, but Java has no API to use BT.

IMHO complexity is be created when a company doesn't care about
good design - just supporting a few new features or even more worse,
when the GSM provider doesn't like that the device can use BT or
USB for filetransmission So you don't have to know about
4 Interfaces and 8 funktion = 12, you have to know about
4 * 8 = 36 combinations what is working, and how
Faktor 3 of complexity due not 100% continuous developent.

A GPLed Java VM will help that the APIs we like to use 
could be written.



Second - did you used the PALM some time ago?
I liked it very much that is like "screen -rx" jumping back to
one application will not start it again - you could go on 
at the same point you left it.
So it would be smart when "suspend to RAM" would work with Java
as well.

And to go ahead: maybe someone would like to hack this:
Linux vserver make it possible to migrate from one host server
to another. AFAIK you have to shut your vserver down - but it could
be also maybe possible to have "suspend to HD", to migrate then
and to wake up with the same process still running...

Maybe someone would like to interup this java application on his
mobile and migrate this to another machine (his PC, a Server...)
and go on with his application at the same point he stopped
- without the need to modificated the java applet to do this. 


Suns decision to GPLed java makes java more interesting for
open source developer - the development of new APIs is now more
open and so the Neo1973 will be more attractive for all
who whant to develop Mobile Java application.

And the more open source developers working with the Neo1973 
the more the Neo1973 becomes attractive for even more developers
- so suns decision is definitive good for the Neo1973/Openmoko
project ;)

Cheers,
rob


PS: BTW Palm - sorry no Java topic, so a OT, 
but IMHO is the most amaizing hack for a Palm the megawiki hack:
http://www.geocities.com/ddvteach/MegaWiki.html 
manual:
http://www.geocities.com/ddvteach/Manual.html
Tapping on special formated words in any other application 
makes possible to access data with other application.

E.g. tapping on OpenMoko will link to the Memo OpenMoko
(or the editor of your choose with the card/file OpenMoko)
*:RobertMichel: would be the link to the Adressbook with
entry of my adress  

Such a hack that a wikiwiki syntax could be used with
different applications could be very interesting for
OpenMoko, but maybe for Java-Applications as well ;)













___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


Re: Java and neo1973

2006-11-14 Thread Stefan Schmidt
Hello.

On Tue, 2006-11-14 at 06:38, Stefano Sanna wrote:
> Java and miss native capabilities of device. However, if you plan to 
> have the same application running on two (very) different platforms 
> (Symbian and EZX, for instance) you will have to double effort or switch 
> to Java.

We are looking forward to OpenMoko on EZX phones somewhere in 2007. :)

regards
Stefan Schmidt


signature.asc
Description: Digital signature
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


Re: Java and neo1973

2006-11-13 Thread Stefano Sanna

Hi.

Stefan Schmidt wrote:

Hello.

You are definitively right. It is an option, but having Java 
compatibility may present neo1973 more attractive for mass market. For 
instance, there are lot of ready-to-run applications for RSS reading, 
email, games, mapping and so on. Maybe it would be easier to port the VM 
instead of writing from scratch all the software already available for 
Java ME.


But write them from scratch or port native linux apps makes the
software better. ;) SCNR


:-D


I see that there are billions of java midlets with nice GUI and closed
code. And I see that the mass market like to use them.


Not only: industry recognizes Java as the fastest way to deploy services 
on mobile devices. Google, for instance, provides its gmail client con 
JME devices: it is easier than providing a client for WM5, EZX, Maemo, 
PalmOS and so on.



My point is that we have the chance here to do it _right_.


Absolutely!


In my eyes Java midlets are only a workaround while you can't write
native applications for your phone.


Yes and no. I mean: if you have to write an application that has to run 
in just one (well identified) device, I think there is no reason to use 
Java and miss native capabilities of device. However, if you plan to 
have the same application running on two (very) different platforms 
(Symbian and EZX, for instance) you will have to double effort or switch 
to Java.



Don't get me wrong, I _know_ somebody will make a JavaVM available for
OpenMoko and I _know_ that people will run there midlets on it. That's
fine with me.


:-)


But personally unhappy with the performance, code quality and closed
source of the java midlets I've seen.


Performances are getting better, code quality is in our hands.

Anyway, I would be happy to see Java on neo1973 and I would be happy to 
contribute to it. ;-)


Regards,
Stefano.

--
Stefano Sanna - [EMAIL PROTECTED]
Personal web site: http://www.gerdavax.it
AIM: gerdavax - Skype: gerdavax - Callsign: IS0DZE

Fratelli D'Etails

Gerda: "Mi hanno contattato per avere idee nuove..."
Dada:  "... e le vanno a chiedere proprio a te???"

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


Re: Java and neo1973

2006-11-13 Thread Stefan Schmidt
Hello.

On Tue, 2006-11-14 at 00:19, Stefano Sanna wrote:
> 
> Stefan Schmidt wrote:
> 
> >It is an option not a must.
> 
> You are definitively right. It is an option, but having Java 
> compatibility may present neo1973 more attractive for mass market. For 
> instance, there are lot of ready-to-run applications for RSS reading, 
> email, games, mapping and so on. Maybe it would be easier to port the VM 
> instead of writing from scratch all the software already available for 
> Java ME.

But write them from scratch or port native linux apps makes the
software better. ;) SCNR

I see that there are billions of java midlets with nice GUI and closed
code. And I see that the mass market like to use them.

My point is that we have the chance here to do it _right_.

In my eyes Java midlets are only a workaround while you can't write
native applications for your phone.

Don't get me wrong, I _know_ somebody will make a JavaVM available for
OpenMoko and I _know_ that people will run there midlets on it. That's
fine with me.

But personally unhappy with the performance, code quality and closed
source of the java midlets I've seen.

regards
Stefan Schmidt


signature.asc
Description: Digital signature
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


Re: Java and neo1973

2006-11-13 Thread [EMAIL PROTECTED]

Hello,

I definitely agree that Java will help to make the Neo1973 far more 
appealing to a mass-market.

I would be willing to help in development of JavaME for the Neo1973.
__
Donnie

Stefano Sanna wrote:

Hi.

Stefan Schmidt wrote:

Hello.

On Tue, 2006-11-14 at 00:03, Stefano Sanna wrote:
What a nice coincidence: neo1973 is arriving full open and Java is 
moving towards open source. I believe that Java on the neo1973 is a 
must, in order to support the large market of existing mobile devices.


Why should java be a _must_, just because it's GPL after many years?


With some billions of devices already running Java MIDP applications, 
I think any new mobile device should look with interest to it. Being 
GPLed just makes easy to have a good VM implementation, because it is 
still missing a good one in the open source world.



It is an option not a must.


You are definitively right. It is an option, but having Java 
compatibility may present neo1973 more attractive for mass market. For 
instance, there are lot of ready-to-run applications for RSS reading, 
email, games, mapping and so on. Maybe it would be easier to port the 
VM instead of writing from scratch all the software already available 
for Java ME.



But I'm sure we will see java in openembedded until january. This
makes it pretty easy for java lovers to install it.


Excellent!

Regards,
Stefano.



___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


Re: Java and neo1973

2006-11-13 Thread Stefano Sanna

Hi.

Stefan Schmidt wrote:

Hello.

On Tue, 2006-11-14 at 00:03, Stefano Sanna wrote:
What a nice coincidence: neo1973 is arriving full open and Java is 
moving towards open source. I believe that Java on the neo1973 is a 
must, in order to support the large market of existing mobile devices.


Why should java be a _must_, just because it's GPL after many years?


With some billions of devices already running Java MIDP applications, I 
think any new mobile device should look with interest to it. Being GPLed 
just makes easy to have a good VM implementation, because it is still 
missing a good one in the open source world.



It is an option not a must.


You are definitively right. It is an option, but having Java 
compatibility may present neo1973 more attractive for mass market. For 
instance, there are lot of ready-to-run applications for RSS reading, 
email, games, mapping and so on. Maybe it would be easier to port the VM 
instead of writing from scratch all the software already available for 
Java ME.



But I'm sure we will see java in openembedded until january. This
makes it pretty easy for java lovers to install it.


Excellent!

Regards,
Stefano.

--
Stefano Sanna - [EMAIL PROTECTED]
Personal web site: http://www.gerdavax.it
AIM: gerdavax - Skype: gerdavax - Callsign: IS0DZE

Fratelli D'Etails

Gerda: "Mi hanno contattato per avere idee nuove..."
Dada:  "... e le vanno a chiedere proprio a te???"

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


  1   2   >