|
|
|
Re: MTJ and Java SDK 3: bullshit [message #543778 is a reply to message #543596] |
Wed, 30 June 2010 10:29   |
Eclipse User |
|
|
|
Originally posted by: news.s237965939.online.de
Am 30.06.2010 01:36, schrieb Gorkem Ercan:
> There is a problem with the WTK 3.0 integration. WTK seems to be sending
> information that it is not supposed to and that is confusing MTJ. You
> can follow up on the fix
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=315209.
> I would still like to check that your trouble with the CLDC 1.0 setting
> getting ignored is related to same problem. Can you tell where did you
> set the CLCD 1.0 ?
I tried many SDKs, different versions (Sun, Motorola, Sony Ericsson,...)
with all the same effect. No error message related to the CLDC 1.0
setting, the jar just didn't run on the real device. That made me so
angry that I deleted everything that sounded like eclipse and switched
to Netbeans. To answer your question I downloaded and installed it
again. BTW, it's still the same with the latest version of Pulsar (Helios).
The setting CLDC 1.0 was done in the 'Application Descriptor'. Try it,
insert the following code, but do something with the variable, otherwise
the line will be optimized away. 'sum' and 'cnt' are of the type int, too.
int z = (int)(15.0 - ((double) sum / (double) cnt));
It will compile with no errors, no warnings. But when you download the
..jar to a CLDC 1.0 phone, like my Motorola V3, it will crash.
Hans
|
|
|
|
|
|
|
|
Re: MTJ and Java SDK 3: bullshit [message #581062 is a reply to message #581005] |
Wed, 30 June 2010 10:29   |
Eclipse User |
|
|
|
Originally posted by: news.s237965939.online.de
Am 30.06.2010 01:36, schrieb Gorkem Ercan:
> There is a problem with the WTK 3.0 integration. WTK seems to be sending
> information that it is not supposed to and that is confusing MTJ. You
> can follow up on the fix
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=315209.
> I would still like to check that your trouble with the CLDC 1.0 setting
> getting ignored is related to same problem. Can you tell where did you
> set the CLCD 1.0 ?
I tried many SDKs, different versions (Sun, Motorola, Sony Ericsson,...)
with all the same effect. No error message related to the CLDC 1.0
setting, the jar just didn't run on the real device. That made me so
angry that I deleted everything that sounded like eclipse and switched
to Netbeans. To answer your question I downloaded and installed it
again. BTW, it's still the same with the latest version of Pulsar (Helios).
The setting CLDC 1.0 was done in the 'Application Descriptor'. Try it,
insert the following code, but do something with the variable, otherwise
the line will be optimized away. 'sum' and 'cnt' are of the type int, too.
int z = (int)(15.0 - ((double) sum / (double) cnt));
It will compile with no errors, no warnings. But when you download the
..jar to a CLDC 1.0 phone, like my Motorola V3, it will crash.
Hans
|
|
|
|
|
|
Re: MTJ and Java SDK 3: bullshit [message #656009 is a reply to message #541499] |
Wed, 23 February 2011 12:50  |
Eclipse User |
|
|
|
Hi!
I've been using MTJ succesfully with XP and Vista. But windows 7 (x86) + Helios 3.6.1 + java ME sdk 3 .0 keep ignoring cldc 1.1. Doesn't matter if I've set it to work with DefaultCldcJtwiPhone2. The eclipse editor doesn't allow/show the fields or methods e.g. Math.E or TestField.DECIMAL.
So, anybody face this or is working on it?
thanks
|
|
|
Powered by
FUDForum. Page generated in 0.05256 seconds