|
| |||||||||
| Tags: j2me, j2me memory, j2me mobile, memory, memory management |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to resolve the problem of memory in J2ME Mobile
Hi all, I am java programmer and build a program in J2me. I think Java is not a mechanism in memory. Unfortunately, we are not at the PC, but on only 64k of memory cell phone. I need a program of memory issue in J2ME Mobile program. Please suggest. Thanks in advance. |
|
#2
| ||||
| ||||
| Re: How to resolve the problem of memory in J2ME Mobile
You need to write this code on your J2ME code, by this code the memory is shrink automatically. Code: g.drawString ( "Score123 =" + score, 50,50, Graphics123.TOP | Graphics123. LEFT) Check that and reply. |
|
#3
| ||||
| ||||
| How to resolve the problem of memory in J2ME Mobile
In your J2ME games, this line of procedure is likely to paint () which occurs once every 0.1 seconds to run a bar. With the passage of time, piles of String is created, or else how long, our beloved mother, must come through. Thought of the simple, according to actual situation midlet. Check that and reply.
__________________ The FIFA Manager 2009 PC Game |
|
#4
| ||||
| ||||
| Re: How to resolve the problem of memory in J2ME Mobile
You can also use Collision detection. We have a frame where each traversal of the container to do, the result is a birth in the container as a unit of a lot of Enumeration, the use of Enumeration cool, but for memory try this code. Code: for (int loop; loop System.out.println (vector.element123At (loop)); )
__________________ Grand Theft Auto 4 PC Video Game |
|
#5
| ||||
| ||||
| Re: How to resolve the problem of memory in J2ME Mobile
You can use Enumeration for memory management. Take note of interface Enumeration only two method: Code: boolean hasMoreElement (); Object nextElement (); |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to resolve the problem of memory in J2ME Mobile" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DNS resolve problem with ping but not nslookup | vagniphor | Windows Server Help | 9 | 12-08-2011 01:52 AM |
| J2ME code for capture of photos and pictures in mobile | Dante i | Software Development | 4 | 22-12-2010 07:12 AM |
| Download Bolt Web Browser for Mobile Phones [J2ME] | Bon-Z | Portable Devices | 7 | 02-08-2010 03:14 PM |
| Memory card problem of Nokia 81 Mobile Phone | Mukta Girolla | Portable Devices | 5 | 05-03-2010 09:18 AM |
| developing a 2D mobile game in J2ME | Aramax | Software Development | 3 | 21-09-2009 03:30 PM |