| Reply | « Previous Thread | Next Thread » |
|
hi,
i want to call one midlet from another midlet. but i am getting this error. 'java.lang.OutOfMemoryError: connection'. Both the midlet's are in a single package. Any help will be greatly appreciated. |
|
What do you mean by "call one midlet from another"?
What are you actually doing, and on what device/emulator? Cheers, Graham. |
| grahamhughes |
| View Public Profile |
| Find all posts by grahamhughes |
|
Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
raj_J2ME
Offline
Forum Nokia Champion
|
|
|
Quote:
You can simply call one midlet from another.... How you are calling the same...? In the second midlet,what you are doing...? Thanks R a j - The K e r n e l |
|
hi,
thanks for your reply.. i am using netbeans 6.0 both my midlets are stored as separate files 'hello.java' and 'reply.java'..Both are in the same project..i want to call reply.java from hello.java.. by calling i mean that reply.java must execute...i.e 'reply.java' has a form which must be displayed.. thank you.. |
|
Not sure why you're getting an OutOfMemory.
Will the be in different JARs? If not, why are they separate MIDlets? There is no specific method for launching one MIDlet from another. If you want to display a Form, simply create it, and call setCurrent(). Cheers, Graham. |
| grahamhughes |
| View Public Profile |
| Find all posts by grahamhughes |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|