![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Unknown
Join Date: Apr 2008
Location: unknown
Posts: 87
Rep Power: 1
![]() |
can u embed j2me application in a j2se application
i am working on embedding a j2me application to be embedded in a j2se application, ca i do that? any tips? is that possible? can you point me to a link on how can i do that?
Ive read that j2me is a subclass of j2se(do i understand it correctly), if it is, then it's is possible to embed or use the classes of j2me to be used in a j2se application, im experimenting on doing these since i am interested in connecting my cellphone to my application in my pc and input some data in my pc to be redirected to my cellphone. for example the code below when compiled using the SUN WIRELESS TOOLKIT (J2ME) produces errors, saying that the java.awt.Container is not included in the library Java Syntax (Toggle Plain Text)
or when i compile the code below in j2se produces same errors above java Syntax (Toggle Plain Text)
what i have in mind is this java Syntax (Toggle Plain Text)
So is this possible? thank you for your replies
__________________
------------------------------------------------------------------------- I thought what I'd Do was, I'd pretend to be one of those deaf mutes ------------------------------------------------------------------------ |
|
|
|
|
|
#2 |
|
Not a user?
Join Date: Sep 2007
Posts: 272
Rep Power: 2
![]() |
Re: can u embed j2me application in a j2se application
Since you say j2me is a subset of j2se, I would think not all functionality would be compatible. It's been said that C++ is a subset of C, and most of the members of C will work in C++, but I'm sure there's some that don't.
As far as java.AWT, it's an old library, and wasn't very stable from what I'm told. I think the industry is trying to get away from using it. Last edited by Jabo; Jul 10th, 2008 at 11:37 PM. |
|
|
|
|
|
#3 |
|
Unknown
Join Date: Apr 2008
Location: unknown
Posts: 87
Rep Power: 1
![]() |
Re: can u embed j2me application in a j2se application
but what im concerned of is only the data that is delivered by a certain API of J2ME, what i mean is that there is a modularity between the two... the J2SE serves as the shell and j2me will be on the data...
__________________
------------------------------------------------------------------------- I thought what I'd Do was, I'd pretend to be one of those deaf mutes ------------------------------------------------------------------------ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| running a console application .jar file by double clicking | cwl157 | Java | 3 | May 22nd, 2008 1:22 PM |
| PC application with bluetooth | urip | Java | 5 | Feb 13th, 2008 12:15 PM |
| Help deploying my Application | bigguy | Visual Basic .NET | 1 | Nov 21st, 2006 7:36 PM |
| creating an application that stands between the browser and the serve | ronias | Visual Basic | 5 | Oct 30th, 2005 4:22 PM |
| "Not Responding" Message in Windows Form Application | G_Zola | C# | 1 | Apr 29th, 2005 10:15 AM |