running midlet in Personal profile appplication

hi all,i have a doubt. is it possible run a midlet in CDC personal profile based application.
[107 byte] By [Arvind_Raghavana] at [2007-10-3 4:59:40]
# 1
No, you need to create an application using CDC personal profile which is based on a subset java j2se 1.3.1For development i'd recommend IBM's Websphere Studio Device Developer. I've posted about it in other threads
MBlissa at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
Yes, if you're prepared to write an implementation of the missing MIDP packages as wrappers round PP libraries.
YAT_Archivista at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
You could, if you wanted to rewrite all the classes that use any sort of graphics (commands, forms, components to forms, the Graphics class, etc..) plus RMS and the connection classes (depending on what you need)
MBlissa at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

actually i developed a midlet application using platfiorm request APi that initiates a phone call to a particular number. it runs perfectly well when i implement it i separately. now i want to integrate it into an application that runs on Symabian S80 personal profile SDK emulator. isi it possible? if so how?

thanks in advance

Arvind_Raghavana at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Hi MBliss , Can u jus explain in a more brief manner about writing implementation classes of MIDP for pp libraries. what i actually need to do.
Arvind_Raghavana at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
What parts of the MIDP spec do you need to use?MBliss
MBlissa at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
i jus need to use javax.microedition.midlet.midlet package because it contains the API called platformRequest(String Url) that helps in initiating a phone call. thats it.
Arvind_Raghavana at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 8

Are you sure you need to use PP/CDC? I'm not sure you can create a wrapper class for the platformRequest function, although I personally have never used the platformRequest method in j2me as it was not part of what i needed to do, and I'm almost positive there's nothing in the personal profile spec that deals with that method.

MBliss

Message was edited by:

MBliss

MBlissa at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 9
Hi,I have to because the emulator that am using is personal profile based. u jus tell me whether it is possible to run a midlet that is defined in different package, in another separate package that has this CDC application.
Arvind_Raghavana at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 10

I have no idea. If i wanted to find this out i'd have to look into it as i have never needed to do this, so that is what I suggest you do. You could always fire off an email to SUN support (assuming they have a support email address) asking them if there's any way to do this. Post your findings here so other people who need to do this can benefit from it as well.

MBliss

MBlissa at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 11
I suspect that the best way to do this is via Runtime.exec. Check Symbian's documentation to see if you can invoke the phone application with a number to dial.
YAT_Archivista at 2007-7-14 23:05:07 > top of Java-index,Java Mobility Forums,Java ME Technologies...