Sony Ericsson SDK 2.2.4 for the Java(TM) ME Platform Support

Hi people. I am currently looking at doing a bit of J2ME development (specifically for Sony Ericsson phones) but don't seem to be able to integrate the Sony Ericsson SDK with Idea.

I have installed Suns SDK and pointed Idea towards that and it works fine, but doesn't contain the emulators I want.

If I point Idea towards the Sony Ericsson SDK, it says it is not a valid mobile SDK.

In the instructions for the Sony Ericsson SDK, it tells me how to integrate the SDK with Netbeans and Eclipse but I don't want to use them :) and I can't really see any equivalent way to do it in Idea.

Does anyone how to do this or even if it is possible?

Thanks, Boomah.

7 comments
Comment actions Permalink

Hello Paul,

What directory do you try as home for your SDK? (for 2.1.4 in default installation
it must be SonyEricsson/J2ME_SDK/PC_Emulators/WTK directory )

BTW, you can copy libraries from Sony Ericsson to WTK devices.

Thank you.

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hi people. I am currently looking at doing a bit of J2ME development
(specifically for Sony Ericsson phones) but don't seem to be able to
integrate the Sony Ericsson SDK with Idea.

I have installed Suns SDK and pointed Idea towards that and it works
fine, but doesn't contain the emulators I want.

If I point Idea towards the Sony Ericsson SDK, it says it is not a
valid mobile SDK.

In the instructions for the Sony Ericsson SDK, it tells me how to
integrate the SDK with Netbeans and Eclipse but I don't want to use
them :) and I can't really see any equivalent way to do it in Idea.

Does anyone how to do this or even if it is possible?

Thanks, Boomah.



0
Comment actions Permalink

Hi Anna, thanks for the response.

I was working with WTK2 and trying to use:

SonyEricsson/J2ME_SDK/PC_Emulators/WTK2 as the home directory. It wasn't working. I'm not sure if that was because it wasn't in the default installation directory or that I'd had a Christmas thing the night before, :) but now its working fine.

Well, I say fine. When I try and run against a device it comes up with the error:

"SonyEricsson_P990_Open" is not a valid device name. The following are valid names:
...
...

or whatever device I am trying to run against.

However, if I add

-Xdevice:SonyEricsson_P990_Open_Emu

to the emulator parameters (or whatever device I'm trying to run against) it works fine.

Cheers, P.

0
Comment actions Permalink

Hello Paul,

Names for devices are pick up from folder names under WTK2/wtklib/devices

Could you please check your installation?

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hi Anna, thanks for the response.

I was working with WTK2 and trying to use:

SonyEricsson/J2ME_SDK/PC_Emulators/WTK2 as the home directory. It
wasn't working. I'm not sure if that was because it wasn't in the
default installation directory or that I'd had a Christmas thing the
night before, :) but now its working fine.

Well, I say fine. When I try and run against a device it comes up with
the error:

"SonyEricsson_P990_Open" is not a valid device name. The following are
valid names:
..
..
or whatever device I am trying to run against.

However, if I add

-Xdevice:SonyEricsson_P990_Open_Emu

to the emulator parameters (or whatever device I'm trying to run
against) it works fine.

Cheers, P.



0
Comment actions Permalink

Hi again,

I did check this actually, and there is was a conflict. The name of the directory was SonyEricsson_P990_Open and the error message I got said the following was a valid name: SonyEricsson_P990_Open_Emu.

So what I did was rename the directory to that and also the properties file inside the directory. When I selected and tried to run it said something like:

"SonyEricsson_P990_Open_Emu" is not a valid device name. The following are valid names:
...
..
SonyEricsson_P990_Open_Emu_Emu

so I wasn't really sure what was going on :). I tried a few different combinations and had a look inside the properties file but in the end I found the fix I said before and that made it work perfectly so I stopped looking.

The only problem is that each time I change the emulator I'm running against I need to update the name in the emulator properties text field.

By the way, when I have WTK1 as my mobile jdk, all the emulators in there work fine without the additional emulator property.

Cheers, P.

0
Comment actions Permalink

Hello Paul,

Thank you for your investigation.

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hi again,

I did check this actually, and there is was a conflict. The name of
the directory was SonyEricsson_P990_Open and the error message I got
said the following was a valid name: SonyEricsson_P990_Open_Emu.

So what I did was rename the directory to that and also the properties
file inside the directory. When I selected and tried to run it said
something like:

"SonyEricsson_P990_Open_Emu" is not a valid device name. The following
are valid names:
..
.
SonyEricsson_P990_Open_Emu_Emu
so I wasn't really sure what was going on :). I tried a few different
combinations and had a look inside the properties file but in the end
I found the fix I said before and that made it work perfectly so I
stopped looking.

The only problem is that each time I change the emulator I'm running
against I need to update the name in the emulator properties text
field.

By the way, when I have WTK1 as my mobile jdk, all the emulators in
there work fine without the additional emulator property.

Cheers, P.



0
Comment actions Permalink

Did you finally get it working on Linux or Windows?

Regards
Thomas


Paul Stevens wrote:

Hi people. I am currently looking at doing a bit of J2ME development (specifically for Sony Ericsson phones) but don't seem to be able to integrate the Sony Ericsson SDK with Idea.

I have installed Suns SDK and pointed Idea towards that and it works fine, but doesn't contain the emulators I want.

If I point Idea towards the Sony Ericsson SDK, it says it is not a valid mobile SDK.

In the instructions for the Sony Ericsson SDK, it tells me how to integrate the SDK with Netbeans and Eclipse but I don't want to use them :) and I can't really see any equivalent way to do it in Idea.

Does anyone how to do this or even if it is possible?

Thanks, Boomah.

0
Comment actions Permalink

Hello Thomas,

I've checked it on Windows.


-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Did you finally get it working on Linux or Windows?

Regards
Thomas
Paul Stevens wrote:

>> Hi people. I am currently looking at doing a bit of J2ME development
>> (specifically for Sony Ericsson phones) but don't seem to be able to
>> integrate the Sony Ericsson SDK with Idea.
>>
>> I have installed Suns SDK and pointed Idea towards that and it works
>> fine, but doesn't contain the emulators I want.
>>
>> If I point Idea towards the Sony Ericsson SDK, it says it is not a
>> valid mobile SDK.
>>
>> In the instructions for the Sony Ericsson SDK, it tells me how to
>> integrate the SDK with Netbeans and Eclipse but I don't want to use
>> them :) and I can't really see any equivalent way to do it in Idea.
>>
>> Does anyone how to do this or even if it is possible?
>>
>> Thanks, Boomah.
>>


0

Please sign in to leave a comment.