[maemo-developers] "hildon_file_chooser_dialog_new" error
hi, when I invoke the api "hildon_file_chooser_dialog_new", there are some error message as following: GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed BRs, wang baisheng ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] J2ME on Nokia 770
Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Hi, Thank you for this info. I have strong interest into java on the 770. Could you tell me if you have support for CDC 1.1 or 1.0 ? Regards, Fabrice On Mar 7, 2006, at 2:45 AM, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
RE: [maemo-developers] J2ME on Nokia 770
MicroEmulator has two branches: - stable - CLDC 1.0, MIDP 1.0 - dev - CLDC 1.0, MIDP 1.0/2.0 But most code of CLDC is connected with generic J2SE implementation (because now MicroEmulator is something like J2ME on J2SE). Some help from GNU Classpath should be taken porting ME (CLDC part) to Nokia 770. Regards, Bartek Teodorczyk > Original Message > Subject: Re: [maemo-developers] J2ME on Nokia 770 > From: Fabrice Di Meglio <[EMAIL PROTECTED]> > Date: Tue, March 07, 2006 12:28 pm > To: [EMAIL PROTECTED] > Cc: maemo-developers@maemo.org, Di Meglio Fabrice <[EMAIL PROTECTED]> > > Hi, > > Thank you for this info. I have strong interest into java on the 770. > Could you tell me if you have support for CDC 1.1 or 1.0 ? > > Regards, > > Fabrice > > > On Mar 7, 2006, at 2:45 AM, [EMAIL PROTECTED] wrote: > > > Hello, > > > > I've read some discussion on that list about the possibility of > > running > > J2ME MIDlets on Nokia 770. As I've found, the problem is because of > > lack of J2ME implementation for that device. I'm an author of > > MicroEmulator (http://www.sf.net/projects/microemulator) - pure java > > CLDC/MIDP implementation. I think it would be possible to create port > > of MicroEmulator on Nokia 770 to fill that gap. If anyone is > > interesested in that please send info and I could look into more > > deeply. > > > > Regards, > > Bartek Teodorczyk > > > > ___ > > maemo-developers mailing list > > maemo-developers@maemo.org > > https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having plans for implementing a CLDC JVM on the 770 but I have been waiting for somebody to make 770 development on Mac OS X possible. I don't think it is possible yet. /Jesper On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
RE: [maemo-developers] J2ME on Nokia 770
Right. Most work for that port would be in: - choosing JVM, - create CLDC implementation, - create graphics support (MIDP part) to GTK+. Regards, Bartek Teodorczyk > Original Message > Subject: Re: [maemo-developers] J2ME on Nokia 770 > From: Jesper Zuschlag <[EMAIL PROTECTED]> > Date: Tue, March 07, 2006 12:43 pm > To: maemo-developers@maemo.org > > Sound fine. But you will not get far without a Java environment / > JVM, which is exactly what we are missing on the Nokia 770. I been > having plans for implementing a CLDC JVM on the 770 but I have been > waiting for somebody to make 770 development on Mac OS X possible. I > don't think it is possible yet. > > /Jesper > > > On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: > > > Hello, > > > > I've read some discussion on that list about the possibility of > > running > > J2ME MIDlets on Nokia 770. As I've found, the problem is because of > > lack of J2ME implementation for that device. I'm an author of > > MicroEmulator (http://www.sf.net/projects/microemulator) - pure java > > CLDC/MIDP implementation. I think it would be possible to create port > > of MicroEmulator on Nokia 770 to fill that gap. If anyone is > > interesested in that please send info and I could look into more > > deeply. > > > > Regards, > > Bartek Teodorczyk > > > > ___ > > maemo-developers mailing list > > maemo-developers@maemo.org > > https://maemo.org/mailman/listinfo/maemo-developers > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Hi Jesper, Jesper Zuschlag wrote: Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having Actually, I have been playing with JamVM on the Nokia 770 and the parts I had tested worked (albeit slow). I only played with OSGi [1], and that worked out alright. One problem was that the javax.sound.* is not available yet in GNU Classpath (which is the classlibrary implementation I used with JamVM). There's a separate project implementing javax.sound.* under a Free license, but I haven't played with it yet. If I remember correctly, the webpage of this project (whose name I cannot recall at this moment) stated that it was tested on x86 and PPC only (so no ARM). There are JamVM and GNU Classpath packages available on the Maemo wiki application page. With friendly regards, Takis [1] http://issaris.blogspot.com/2006/01/nokia-770-osgi.html ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Hi, I have just joined this list so please forgive whatever sounds ignorant. For the choice of VM I would recommend SableVM, as with its recent refactoring I built it down to 220 K on Intel with gcc -Os etc. Check out SableVM at www.sablevm.org. We at Gatespace are the people behind Knopflerfish OSGI. I test-drove Knopflerfish's test suite with JamVM and SableVM (both use Classpath), the results were the same, and the speed was comparable. Haven't measured memory consumption yet. We target CDC, so our constraints with respect to that are less strict. Classpath's AWT of course runs on top of GTK+. I argue for Sable instead of Jam because: - Sable has a large and active community - Sable is LGPL. GPL does not work for maemo. Read why at http://sablevm.org/wiki/License_FAQ. - Sable has an almost complete JIT compiler. Someone needs to put in a build option to Classpath to make it build CLDC only, or any other profile. As for the MIDP implementation, someone is working on it (announced on the wishlist). Best Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Right. Most work for that port would be in: - choosing JVM, - create CLDC implementation, - create graphics support (MIDP part) to GTK+. Regards, Bartek Teodorczyk Original Message Subject: Re: [maemo-developers] J2ME on Nokia 770 From: Jesper Zuschlag <[EMAIL PROTECTED]> Date: Tue, March 07, 2006 12:43 pm To: maemo-developers@maemo.org Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having plans for implementing a CLDC JVM on the 770 but I have been waiting for somebody to make 770 development on Mac OS X possible. I don't think it is possible yet. /Jesper On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hello, > > I've read some discussion on that list about the possibility of running > J2ME MIDlets on Nokia 770. As I've found, the problem is because of > lack of J2ME implementation for that device. I'm an author of > MicroEmulator (http://www.sf.net/projects/microemulator) - pure java > CLDC/MIDP implementation. I think it would be possible to create port > of MicroEmulator on Nokia 770 to fill that gap. If anyone is > interesested in that please send info and I could look into more > deeply. gcj now works on arm as well. regards, Koen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEDXx0MkyGM64RGpERAiNIAKCi2M7BCOC1algXH7ebe+R2aZUtOgCdFeKK iuT1fWrmsjcEIfjFe6/xFGQ= =btld -END PGP SIGNATURE- ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[Fwd: Re: [maemo-developers] J2ME on Nokia 770]
Hi, Anyone working on this, or knows anything? This is on its way to a maemo bug report, or? How can we best track this? I'm not an X guru, but seems like the Matchbox guys might be involved? -> "No expose events sent by X". Which means even the "direct"-X :-) port of Classpath AWT would not work? Is everyone with me when I say: "let's make AWT work first, then we can talk about Swing"? Thanks, Philippe Original Message Subject:Re: [maemo-developers] J2ME on Nokia 770 Date: Tue, 7 Mar 2006 13:46:16 +0100 From: Clemens Eisserer <[EMAIL PROTECTED]> To: Philippe Laporte <[EMAIL PROTECTED]>, Classpath@gnu.org References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Classpath's AWT of course runs on top of GTK+. Not on the 770, it has several problems but I am not experienced enough to solve them: - Expose events seem not to be sent by X or at least are not received by java. I did some debgugging and as far as I can tell no expose events are sent by X. - When creating offscreen images they are created using 24 bit depth since GTK_RGB thinks this is best (why do we ask GTK_RGB for the default pixmap depth and do not simply use the depth the screen is running?). But 770's X server has no colormap assigned to 24-bit mode so it asserts. - Swing propably needs to be extended to allow the virtual keyboard to send key events. lg Clemens -- Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
We could really use some direction from Nokia here. Jamvm, SableVM, GIJ, maybe even ikvm, could all likely be made to work with a subset of gnu classpath to implement CLDC 1.1 and a hildon based MIDP 2.0 But if we really want to run java effeciently, we should use the Jazelle hardware on the ARM chip. This part is not free and would require Nokia to put out the jvm. There is no reason Nokia couldn't put out the jvm and use it along with open source class libraries. Luis Philippe Laporte wrote: Hi, I have just joined this list so please forgive whatever sounds ignorant. For the choice of VM I would recommend SableVM, as with its recent refactoring I built it down to 220 K on Intel with gcc -Os etc. Check out SableVM at www.sablevm.org. We at Gatespace are the people behind Knopflerfish OSGI. I test-drove Knopflerfish's test suite with JamVM and SableVM (both use Classpath), the results were the same, and the speed was comparable. Haven't measured memory consumption yet. We target CDC, so our constraints with respect to that are less strict. Classpath's AWT of course runs on top of GTK+. I argue for Sable instead of Jam because: - Sable has a large and active community - Sable is LGPL. GPL does not work for maemo. Read why at http://sablevm.org/wiki/License_FAQ. - Sable has an almost complete JIT compiler. Someone needs to put in a build option to Classpath to make it build CLDC only, or any other profile. As for the MIDP implementation, someone is working on it (announced on the wishlist). Best Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Right. Most work for that port would be in: - choosing JVM, - create CLDC implementation, - create graphics support (MIDP part) to GTK+. Regards, Bartek Teodorczyk Original Message Subject: Re: [maemo-developers] J2ME on Nokia 770 From: Jesper Zuschlag <[EMAIL PROTECTED]> Date: Tue, March 07, 2006 12:43 pm To: maemo-developers@maemo.org Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having plans for implementing a CLDC JVM on the 770 but I have been waiting for somebody to make 770 development on Mac OS X possible. I don't think it is possible yet. /Jesper On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Hi, Well the Nokia maemo team won't care until they get a product program that requires Java (that's my hunch :-) Yes, there is no reason they wouldn't do it, and we all await Nokia Maemo's coming to Java. They might be waiting for the community to put up all the basic work in the mean-time though... It all depends whether they go for MIDP or OSGI, or both. OSGI requires CDC, whereas MIDP only requires CLDC. But with such a screen size (and probably future ones as well), they can do much better than just MIDP. Then there is also the enabling of Hildon apps dev in Java. Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] Luis Montes wrote: We could really use some direction from Nokia here. Jamvm, SableVM, GIJ, maybe even ikvm, could all likely be made to work with a subset of gnu classpath to implement CLDC 1.1 and a hildon based MIDP 2.0 But if we really want to run java effeciently, we should use the Jazelle hardware on the ARM chip. This part is not free and would require Nokia to put out the jvm. There is no reason Nokia couldn't put out the jvm and use it along with open source class libraries. Luis Philippe Laporte wrote: Hi, I have just joined this list so please forgive whatever sounds ignorant. For the choice of VM I would recommend SableVM, as with its recent refactoring I built it down to 220 K on Intel with gcc -Os etc. Check out SableVM at www.sablevm.org. We at Gatespace are the people behind Knopflerfish OSGI. I test-drove Knopflerfish's test suite with JamVM and SableVM (both use Classpath), the results were the same, and the speed was comparable. Haven't measured memory consumption yet. We target CDC, so our constraints with respect to that are less strict. Classpath's AWT of course runs on top of GTK+. I argue for Sable instead of Jam because: - Sable has a large and active community - Sable is LGPL. GPL does not work for maemo. Read why at http://sablevm.org/wiki/License_FAQ. - Sable has an almost complete JIT compiler. Someone needs to put in a build option to Classpath to make it build CLDC only, or any other profile. As for the MIDP implementation, someone is working on it (announced on the wishlist). Best Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Right. Most work for that port would be in: - choosing JVM, - create CLDC implementation, - create graphics support (MIDP part) to GTK+. Regards, Bartek Teodorczyk Original Message Subject: Re: [maemo-developers] J2ME on Nokia 770 From: Jesper Zuschlag <[EMAIL PROTECTED]> Date: Tue, March 07, 2006 12:43 pm To: maemo-developers@maemo.org Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having plans for implementing a CLDC JVM on the 770 but I have been waiting for somebody to make 770 development on Mac OS X possible. I don't think it is possible yet. /Jesper On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
It still would be nice to hear something from them. For all the java talk on this list over the last few months, I've yet to see a response from an @nokia email. The screen size is definetly enough to hanlde full size swing apps, it just seems that we'd be limited on the amount of internal flash to store the jvm and full class libraries. The average midlet is pretty small, but the midlet runner could use the hardware zoom buttons. There are thousands of midlets out there, that means there's suddenly thousand of apps available if the 770 had the jvm to run them. Luis Philippe Laporte wrote: Hi, Well the Nokia maemo team won't care until they get a product program that requires Java (that's my hunch :-) Yes, there is no reason they wouldn't do it, and we all await Nokia Maemo's coming to Java. They might be waiting for the community to put up all the basic work in the mean-time though... It all depends whether they go for MIDP or OSGI, or both. OSGI requires CDC, whereas MIDP only requires CLDC. But with such a screen size (and probably future ones as well), they can do much better than just MIDP. Then there is also the enabling of Hildon apps dev in Java. Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] Luis Montes wrote: We could really use some direction from Nokia here. Jamvm, SableVM, GIJ, maybe even ikvm, could all likely be made to work with a subset of gnu classpath to implement CLDC 1.1 and a hildon based MIDP 2.0 But if we really want to run java effeciently, we should use the Jazelle hardware on the ARM chip. This part is not free and would require Nokia to put out the jvm. There is no reason Nokia couldn't put out the jvm and use it along with open source class libraries. Luis Philippe Laporte wrote: Hi, I have just joined this list so please forgive whatever sounds ignorant. For the choice of VM I would recommend SableVM, as with its recent refactoring I built it down to 220 K on Intel with gcc -Os etc. Check out SableVM at www.sablevm.org. We at Gatespace are the people behind Knopflerfish OSGI. I test-drove Knopflerfish's test suite with JamVM and SableVM (both use Classpath), the results were the same, and the speed was comparable. Haven't measured memory consumption yet. We target CDC, so our constraints with respect to that are less strict. Classpath's AWT of course runs on top of GTK+. I argue for Sable instead of Jam because: - Sable has a large and active community - Sable is LGPL. GPL does not work for maemo. Read why at http://sablevm.org/wiki/License_FAQ. - Sable has an almost complete JIT compiler. Someone needs to put in a build option to Classpath to make it build CLDC only, or any other profile. As for the MIDP implementation, someone is working on it (announced on the wishlist). Best Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Right. Most work for that port would be in: - choosing JVM, - create CLDC implementation, - create graphics support (MIDP part) to GTK+. Regards, Bartek Teodorczyk Original Message Subject: Re: [maemo-developers] J2ME on Nokia 770 From: Jesper Zuschlag <[EMAIL PROTECTED]> Date: Tue, March 07, 2006 12:43 pm To: maemo-developers@maemo.org Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having plans for implementing a CLDC JVM on the 770 but I have been waiting for somebody to make 770 development on Mac OS X possible. I don't think it is possible yet. /Jesper On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-de
Re: [Jamvm-general] Re: [maemo-developers] J2ME on Nokia 770
Michael Koch wrote: On Tue, Mar 07, 2006 at 02:37:17PM +0100, Philippe Laporte wrote: If you link native to a GPL VM, then that code must also be GPL, no? That is an absolute requirement in the embedded world... That is true. But running java bytecode in with a GPL vm and loading JNI libs during that doenst render all the java/native code you run with the VM to GPL. and this context does not apply to CLDC... I don't know much about Maemo. Perhaps you should be more clear on what you really need/want to do. Maemo is the platform for the 770. It doesn't have Java support yet, but when it does it sure can manage CDC, which goes your way, but still, the big guys will want a clear picture, and in the past LGPL has been a go, and GPL a no-go. Are you saying SableVM is using FUD tactics? They seem to be believe strongly in their position... There are just two sides with different opinions. They have their opinion. FSF/GNU classpath has theirs. Well then we all want to know what Nokia's legions of lawyers have to say...:-) ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
On Tue, 2006-03-07 at 16:51, ext Luis Montes wrote: > It still would be nice to hear something from them. For all the java > talk on this list over the last few months, I've yet to see a response > from an @nokia email. (This is a response from @nokia email.) We cannot comment on product features, but of course Java would benefit Maemo, so it is in the minds of some Nokia people as well. However, I think the current HW limitations do not make using Java very attractive in a large scale, because we have performance problems even with plain C. BR; Kimmo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Hi, As a embedded Java developper behind the Knopflerfish OSGI distro, I can sqay that running Swing is the last of my concerns. We'll do fine with only AWT for a start. It would be nice if these midlets all scaled...:-) But take a lok at OSGI. Nokia is deeply interested in it and some of it will make it to MIDP 3.0. Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] Luis Montes wrote: It still would be nice to hear something from them. For all the java talk on this list over the last few months, I've yet to see a response from an @nokia email. The screen size is definetly enough to hanlde full size swing apps, it just seems that we'd be limited on the amount of internal flash to store the jvm and full class libraries. The average midlet is pretty small, but the midlet runner could use the hardware zoom buttons. There are thousands of midlets out there, that means there's suddenly thousand of apps available if the 770 had the jvm to run them. Luis Philippe Laporte wrote: Hi, Well the Nokia maemo team won't care until they get a product program that requires Java (that's my hunch :-) Yes, there is no reason they wouldn't do it, and we all await Nokia Maemo's coming to Java. They might be waiting for the community to put up all the basic work in the mean-time though... It all depends whether they go for MIDP or OSGI, or both. OSGI requires CDC, whereas MIDP only requires CLDC. But with such a screen size (and probably future ones as well), they can do much better than just MIDP. Then there is also the enabling of Hildon apps dev in Java. Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] Luis Montes wrote: We could really use some direction from Nokia here. Jamvm, SableVM, GIJ, maybe even ikvm, could all likely be made to work with a subset of gnu classpath to implement CLDC 1.1 and a hildon based MIDP 2.0 But if we really want to run java effeciently, we should use the Jazelle hardware on the ARM chip. This part is not free and would require Nokia to put out the jvm. There is no reason Nokia couldn't put out the jvm and use it along with open source class libraries. Luis Philippe Laporte wrote: Hi, I have just joined this list so please forgive whatever sounds ignorant. For the choice of VM I would recommend SableVM, as with its recent refactoring I built it down to 220 K on Intel with gcc -Os etc. Check out SableVM at www.sablevm.org. We at Gatespace are the people behind Knopflerfish OSGI. I test-drove Knopflerfish's test suite with JamVM and SableVM (both use Classpath), the results were the same, and the speed was comparable. Haven't measured memory consumption yet. We target CDC, so our constraints with respect to that are less strict. Classpath's AWT of course runs on top of GTK+. I argue for Sable instead of Jam because: - Sable has a large and active community - Sable is LGPL. GPL does not work for maemo. Read why at http://sablevm.org/wiki/License_FAQ. - Sable has an almost complete JIT compiler. Someone needs to put in a build option to Classpath to make it build CLDC only, or any other profile. As for the MIDP implementation, someone is working on it (announced on the wishlist). Best Regards, Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Right. Most work for that port would be in: - choosing JVM, - create CLDC implementation, - create graphics support (MIDP part) to GTK+. Regards, Bartek Teodorczyk Original Message Subject: Re: [maemo-developers] J2ME on Nokia 770 From: Jesper Zuschlag <[EMAIL PROTECTED]> Date: Tue, March 07, 2006 12:43 pm To: maemo-developers@maemo.org Sound fine. But you will not get far without a Java environment / JVM, which is exactly what we are missing on the Nokia 770. I been having plans for implementing a CLDC JVM on the 770 but I have been waiting for somebody to make 770 development on Mac OS X possible. I don't think it is possible yet. /Jesper On 07/03/2006, at 11.45, [EMAIL PROTECTED] wrote: Hello, I've read some discussion on that list about the possibility of running J2ME MIDlets on Nokia 770. As I've found, the problem is because of lack of J2ME implementation for that device. I'm an author of MicroEmulator (http://www.sf.net/projects/microemulator) - pure java CLDC/MIDP implementation. I think it would be possible to create port of MicroEmulator on Nokia 770 to fill that gap. If anyone is interesested in that please send info and I could look into more deeply. Regards, Bartek Teodorczyk ___
Re: [Jamvm-general] Re: [maemo-developers] J2ME on Nokia 770
Michael Koch wrote: On Tue, Mar 07, 2006 at 02:49:32PM +0100, Philippe Laporte wrote: Well then we all want to know what Nokia's legions of lawyers have to say...:-) I'm sure they will introduce just another opinion. ok, but what assets does FSF have to lose...? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Double-click a ListStore item
Hi, I have a list of itmes in a ListStore. An item can be selected with a stylus by tapping it once. Tapping it twice brings up an item-specific dialog. This seems too be very natural for a desktop application. However, under hildon, the fact that a user has to tap twice on an item to bring up a dialog seems very confusing to the end user. I tried to connect signal_button_press_event to the TreeView and catch "Select,Confirm" button click (GDK_Return - nokia770 round button), but even though TreeView has the focus, I don't see the event being generated. Same goes for "Cancel,Close" (GDK_Escape). The buttons I mentioned are described here: http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Hardware-keys So, how do others cope with clear absence of double-click in hildon? thanks, -Vlad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [Jamvm-general] Re: [maemo-developers] J2ME on Nokia 770
On tis, 2006-03-07 at 15:26 +0100, ext Philippe Laporte wrote: > > Michael Koch wrote: > > >On Tue, Mar 07, 2006 at 02:49:32PM +0100, Philippe Laporte wrote: > > > > > >>Well then we all want to know what Nokia's legions of lawyers have to > >>say...:-) > >> > >> > > > >I'm sure they will introduce just another opinion. > > > > > > ok, but what assets does FSF have to lose...? Freedom? Regards: David Weinehall [not speaking for Nokia] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Q: how to restore the original size of a dialog?
Hi, The subject says it all - I have a dialog with an Entry field. When an end-user enters text in the field, virtual keyboard pops up and resizes the dialog to half of its height. I would like to find a way to restore the size to its original after the keyboard is closed. The dialog is GtkDialog and not an AppView (and I'd like to keep it that way). Any hints? thanks, -Vlad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [Jamvm-general] Re: [maemo-developers] J2ME on Nokia 770
[apologies for separate reply, other lists didn't bounce, only moderated] On Tue, Mar 07, 2006 at 02:49:32PM +0100, Philippe Laporte wrote: > >There are just two sides with different opinions. They have their > >opinion. > >FSF/GNU classpath has theirs. > > > > > > Well then we all want to know what Nokia's legions of lawyers have to > say...:-) Absolutely. We're developers, not lawyers. That being said... The general (non-SableVM) common sense consensus should be that if your code can run unmodified on any JVM, Sun's especially, then really what license the JVM and class library themselves use is pretty irrelevant. This is using a common and published interface. Doing the above should be your aim anyway, to give businesses the most flexibility to use any JVM they can (be it CVM, SableVM, J9, Wonka, etc) With that dealt with, what your own application code links to (ie loading JNI libraries from application code or importing, say, the BouncyCastle java libraries for crypto) is entirely your problem - regardless of which JVM+Classlib you run under. Thanks, Steph -- Stephane Meslin-Weber Email: [EMAIL PROTECTED] Senior Software Engineer Web: http://odonata.tangency.co.uk signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [Jamvm-general] Re: [maemo-developers] J2ME on Nokia 770
Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] Weinehall David (Nokia-M/Tampere) wrote: On tis, 2006-03-07 at 15:26 +0100, ext Philippe Laporte wrote: Michael Koch wrote: On Tue, Mar 07, 2006 at 02:49:32PM +0100, Philippe Laporte wrote: Well then we all want to know what Nokia's legions of lawyers have to say...:-) I'm sure they will introduce just another opinion. ok, but what assets does FSF have to lose...? Freedom? I mean who is gonna sue FSF for some opinion? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] J2ME on Nokia 770
Kimmo Hämäläinen wrote: On Tue, 2006-03-07 at 16:51, ext Luis Montes wrote: It still would be nice to hear something from them. For all the java talk on this list over the last few months, I've yet to see a response from an @nokia email. (This is a response from @nokia email.) We cannot comment on product features, but of course Java would benefit Maemo, so it is in the minds of some Nokia people as well. However, I think the current HW limitations do not make using Java very attractive in a large scale, because we have performance problems even with plain C. We all should know the potential, not-yet-measured (?) performance issue is not the whole story at all. The real reason is probably simply that there are tons of things that could go on the 770, and Java is not a priority...for now. The powers that be can change that faster than you can expect... So in the mean time let's all work on Java for Maemo simply knowing that Java kicks ass and they won't be able to ignore it for ever...:-) Best Regards, -- Philippe Laporte Software Gatespace Telematics Första Långgatan 18 41328 Göteborg Sweden Phone: +46 702 04 35 11 Fax: +46 31 24 16 50 Email: [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Double-click a ListStore item
On 3/7/06, Vladislav Grinchenko <[EMAIL PROTECTED]> wrote: > Hi, > > I have a list of itmes in a ListStore. An item can be selected with a > stylus by tapping it once. Tapping it twice brings up an item-specific > dialog. This seems too be very natural for a desktop application. > > However, under hildon, the fact that a user has to tap twice on an item > to bring up a dialog seems very confusing to the end user. > > I tried to connect signal_button_press_event to the TreeView and catch > "Select,Confirm" button click (GDK_Return - nokia770 round button), but > even though TreeView has the focus, I don't see the event being > generated. When you press Select with a selected item, you should get the "row-activated" signal. Same goes with tapping twice on the same item (or, annoyingly, tapping on a selected item once). > So, how do others cope with clear absence of double-click in hildon? There is no absence of double click, the treeview case is just special (you can double- and triple-click to select text for example, unless I remember wrong). In addition to that, you have the tap'n'hold behaviour to compensate with the absence of multiple mouse buttons. Youa can read more about that from the tutorials / API docs. -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Playing wav sounds using hildon
Hello: I am using hildon sounds to play sounds through: hildon_play_system_sound("ui-key_press.wav"); when this line is executed I get the following errors: Audio File Library: could not open file 'ui-key_press.wav' [error 3] GLIB_WARNING ** default - error while caching sample. But the sound is playing, so obviously the file is being opened. Should I be concerned about these errors? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers