Discussion:
JAD Editor
s***@synopsia.net
2008-01-21 05:00:09 UTC
Permalink
Hi,

I'm a novice user of EclipseME, but have been using Eclipse for a couple of years. I'm trying to run my first midlet, a sample from sun developers site.

I'm actually using Motodev Studio, which is based on EclipseME Version 1.7.6.

I was trying to run the midlet in an emulator that came with this application, but got an error: "DEscriptor not found".

I looked at the help documentation and figured out that I need to run the JAD Editor, but I can't see anywhere how it can be started. I tried looking at the jad file properties, project properties, midlet class properties, the run dialog options etc. Any idea how to run the JAD Editor? Is it not there because I'm using the Motodev studio and they simply copied the docs from EclipseME and did not include opne of the components?

Thanks in advance,

Sergei

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Markus Sinner
2008-01-21 11:59:22 UTC
Permalink
Hello Sergei,

that means, you already HAVE a JAD in your project? If so, then if you
double-click that, the JAD-Editor should be started.

if you do not have a JAD, then you should run the application wizard an
add a Midlet to your project. This creates the base structure of the
Midlet and generates a JAD.

I do not think that they removed some functions from 1.7.6

Greetings,
Markus
Post by s***@synopsia.net
Hi,
I'm a novice user of EclipseME, but have been using Eclipse for a couple of years. I'm trying to run my first midlet, a sample from sun developers site.
I'm actually using Motodev Studio, which is based on EclipseME Version 1.7.6.
I was trying to run the midlet in an emulator that came with this application, but got an error: "DEscriptor not found".
I looked at the help documentation and figured out that I need to run the JAD Editor, but I can't see anywhere how it can be started. I tried looking at the jad file properties, project properties, midlet class properties, the run dialog options etc. Any idea how to run the JAD Editor? Is it not there because I'm using the Motodev studio and they simply copied the docs from EclipseME and did not include opne of the components?
Thanks in advance,
Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
--
*********************************
***@psitronic.de
http://www.psitronic.de

psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax: (+49)6206 / 963514

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
s***@synopsia.net
2008-01-21 22:40:01 UTC
Permalink
Hello Markus,

Thanks! That was embarrassingly simple and it worked. I did have a jad file already. For some reason, the editor cannot find my midlet class in the midlets pane, although it's a part of the project (in fact, the only class there). I did specify the jar file. I probably need to take a closer look or just start a new project from scratch with a new midlet class and then figure out the jad editor.

Thanks again,

Sergei
Post by Markus Sinner
Hello Sergei,
that means, you already HAVE a JAD in your project? If so, then if you
double-click that, the JAD-Editor should be started.
if you do not have a JAD, then you should run the application wizard an
add a Midlet to your project. This creates the base structure of the
Midlet and generates a JAD.
I do not think that they removed some functions from 1.7.6
Greetings,
Markus
Post by s***@synopsia.net
Hi,
I'm a novice user of EclipseME, but have been using Eclipse for a couple of
years. I'm trying to run my first midlet, a sample from sun developers site.
Post by s***@synopsia.net
I'm actually using Motodev Studio, which is based on EclipseME Version
1.7.6.
Post by s***@synopsia.net
I was trying to run the midlet in an emulator that came with this
application, but got an error: "DEscriptor not found".
Post by s***@synopsia.net
I looked at the help documentation and figured out that I need to run the
JAD Editor, but I can't see anywhere how it can be started. I tried looking at
the jad file properties, project properties, midlet class properties, the run
dialog options etc. Any idea how to run the JAD Editor? Is it not there
because I'm using the Motodev studio and they simply copied the docs from
EclipseME and did not include opne of the components?
Post by s***@synopsia.net
Thanks in advance,
Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
--
*********************************
http://www.psitronic.de
psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax: (+49)6206 / 963514
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Markus Sinner
2008-01-22 08:14:47 UTC
Permalink
Maybe you could write a feature request on EclipseME's sourceforge-site.
I think the Midlet should be added (or asked to be added) to the JAD if
you create a new midlet.

Markus
Post by s***@synopsia.net
Hello Markus,
Thanks! That was embarrassingly simple and it worked. I did have a jad file already. For some reason, the editor cannot find my midlet class in the midlets pane, although it's a part of the project (in fact, the only class there). I did specify the jar file. I probably need to take a closer look or just start a new project from scratch with a new midlet class and then figure out the jad editor.
Thanks again,
Sergei
Post by Markus Sinner
Hello Sergei,
that means, you already HAVE a JAD in your project? If so, then if you
double-click that, the JAD-Editor should be started.
if you do not have a JAD, then you should run the application wizard an
add a Midlet to your project. This creates the base structure of the
Midlet and generates a JAD.
I do not think that they removed some functions from 1.7.6
Greetings,
Markus
Post by s***@synopsia.net
Hi,
I'm a novice user of EclipseME, but have been using Eclipse for a couple of
years. I'm trying to run my first midlet, a sample from sun developers site.
Post by s***@synopsia.net
I'm actually using Motodev Studio, which is based on EclipseME Version
1.7.6.
Post by s***@synopsia.net
I was trying to run the midlet in an emulator that came with this
application, but got an error: "DEscriptor not found".
Post by s***@synopsia.net
I looked at the help documentation and figured out that I need to run the
JAD Editor, but I can't see anywhere how it can be started. I tried looking at
the jad file properties, project properties, midlet class properties, the run
dialog options etc. Any idea how to run the JAD Editor? Is it not there
because I'm using the Motodev studio and they simply copied the docs from
EclipseME and did not include opne of the components?
Post by s***@synopsia.net
Thanks in advance,
Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
--
*********************************
http://www.psitronic.de
psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax: (+49)6206 / 963514
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
--
*********************************
***@psitronic.de
http://www.psitronic.de

psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax: (+49)6206 / 963514

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Craig Setera
2008-02-23 13:29:53 UTC
Permalink
(Catching up a bit on email...)

Are you implying that you want it to be added if a class is created
without going through the Midlet wizard? That might be possible to do,
but since the Midlet wizard already offers that function, I'm not sure
whether it is something worth doing.

Craig
Post by Markus Sinner
Maybe you could write a feature request on EclipseME's sourceforge-site.
I think the Midlet should be added (or asked to be added) to the JAD if
you create a new midlet.
Markus
Post by s***@synopsia.net
Hello Markus,
Thanks! That was embarrassingly simple and it worked. I did have a jad file already. For some reason, the editor cannot find my midlet class in the midlets pane, although it's a part of the project (in fact, the only class there). I did specify the jar file. I probably need to take a closer look or just start a new project from scratch with a new midlet class and then figure out the jad editor.
Thanks again,
Sergei
Post by Markus Sinner
Hello Sergei,
that means, you already HAVE a JAD in your project? If so, then if you
double-click that, the JAD-Editor should be started.
if you do not have a JAD, then you should run the application wizard an
add a Midlet to your project. This creates the base structure of the
Midlet and generates a JAD.
I do not think that they removed some functions from 1.7.6
Greetings,
Markus
Post by s***@synopsia.net
Hi,
I'm a novice user of EclipseME, but have been using Eclipse for a couple of
years. I'm trying to run my first midlet, a sample from sun developers site.
Post by s***@synopsia.net
I'm actually using Motodev Studio, which is based on EclipseME Version
1.7.6.
Post by s***@synopsia.net
I was trying to run the midlet in an emulator that came with this
application, but got an error: "DEscriptor not found".
Post by s***@synopsia.net
I looked at the help documentation and figured out that I need to run the
JAD Editor, but I can't see anywhere how it can be started. I tried looking at
the jad file properties, project properties, midlet class properties, the run
dialog options etc. Any idea how to run the JAD Editor? Is it not there
because I'm using the Motodev studio and they simply copied the docs from
EclipseME and did not include opne of the components?
Post by s***@synopsia.net
Thanks in advance,
Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
--
*********************************
http://www.psitronic.de
psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax: (+49)6206 / 963514
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Sergio Ordoño Marín
2008-01-22 21:30:34 UTC
Permalink
Hi everyone!

I got some questions related with the canvas class. I hope someone can help.

I'm making an app for my sony ericsson so I'm using pictures of 128x160
pixels... but... I wonder if any function or procedure exist that allows you
to resize images to fit the screen so that way I may be able to use the app
in others cells with bigger or tinier screens resolutions.

More things... can you load animated gif file?. If so, how can you make them
not cycle and show the animation only one time?.

last is a simple one... what happen if you put one imagen on top of
another... which one shows?, if the one on top is tinier than the other, do
you see the big one behind it?, is there some way of making some colors
transparent (I guess, maybe with png files)?.

Thank you very much!



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Ashish Patil
2008-01-26 18:26:12 UTC
Permalink
Reply Embeded...
Post by Sergio Ordoño Marín
Hi everyone!
I got some questions related with the canvas class. I hope someone can help.
I'm making an app for my sony ericsson so I'm using pictures of 128x160
pixels... but... I wonder if any function or procedure exist that allows you
to resize images to fit the screen so that way I may be able to use the app
in others cells with bigger or tinier screens resolutions.
Well for MIDP 2.0/2.1 there is no scaling of images. (It may be coming in
MIDP 3.0). You can do it with some tricks in 3D, but still not many hndsets
will support 3D. Instead you can get better Image quality and file size if
you target individual canvas size.
Post by Sergio Ordoño Marín
More things... can you load animated gif file?. If so, how can you make them
not cycle and show the animation only one time?.
I have not tried animated gif. But what we use is image sequence. Please
check out Sprite class for more information.
Post by Sergio Ordoño Marín
last is a simple one... what happen if you put one imagen on top of
another... which one shows?, if the one on top is tinier than the other, do
you see the big one behind it?
Rendering is done in a way you call. So you draw a big image, it will be
shown. Then you draw another image, it will be drawn on top of previous one.
And yes, the parts of old image not blocked by new one will still remain
there.
Post by Sergio Ordoño Marín
Is there some way of making some colors
transparent (I guess, maybe with png files)?.
Yes, PNG supports transparency, as well as alpha channel. 8-bit PNG as
indexed colored with one of the color set as transparent. PNG 24 can have an
alpha chennel (semi-transparency) too.

Thank you very much!



---
Ashish Patil
Markus Sinner
2008-01-27 12:56:14 UTC
Permalink
I think the question of resizing images is more a question of quality
and speed. There is code for J2ME to resize images, just ask google :-).
But the results will not be very nice, because, on many devices you have
other screen-dimensiosn (240x240, 240x320 e.g.).

If you only target new devices, than this should not be a problem. Just
include some more Graphics or build Midlets for specific devices.
Post by Ashish Patil
Reply Embeded...
Hi everyone!
I got some questions related with the canvas class. I hope someone can help.
I'm making an app for my sony ericsson so I'm using pictures of 128x160
pixels... but... I wonder if any function or procedure exist that allows you
to resize images to fit the screen so that way I may be able to use the app
in others cells with bigger or tinier screens resolutions.
Well for MIDP 2.0/2.1 there is no scaling of images. (It may be coming
in MIDP 3.0). You can do it with some tricks in 3D, but still not many
hndsets will support 3D. Instead you can get better Image quality and
file size if you target individual canvas size.
More things... can you load animated gif file?. If so, how can you make them
not cycle and show the animation only one time?.
I have not tried animated gif. But what we use is image sequence.
Please check out Sprite class for more information.
last is a simple one... what happen if you put one imagen on top of
another... which one shows?, if the one on top is tinier than the other, do
you see the big one behind it?
Rendering is done in a way you call. So you draw a big image, it will
be shown. Then you draw another image, it will be drawn on top of
previous one. And yes, the parts of old image not blocked by new one
will still remain there.
Is there some way of making some colors
transparent (I guess, maybe with png files)?.
Yes, PNG supports transparency, as well as alpha channel. 8-bit PNG as
indexed colored with one of the color set as transparent. PNG 24 can
have an alpha chennel (semi-transparency) too.
Thank you very much!
---
Ashish Patil
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Loading...