An easy ignore problem

xiaoxiao2021-03-06  51

Since the introduction of the game into the mobile phone (Sony Ericsson) last week, the system has not entered the game when loading the operation, and the mobile phone is restarted. Halo ... have this kind of thing, no. There is no mistake on the simulator. No, I have to try other machines, and it is good to work in N6108, N7650. This is a little dizzy ... Is it a mobile phone problem, (when doing the first game, I detected a problem with the company's Simen S57.), Is it going to "honor" to Sony Ericsson. No, it will not be so unlucky. First, you can find an error from the program. Of course, I have little in this game, but there are many objects generated, and there are 16 * 2 objects. Will it be that the memory is not enough when the Java virtual machine is loaded on the phone. I have to start slimming test. Due to the introduction of the phone on the phone because it starts to write the game code, the test is imported until it is almost written (because this, after a lot of time). Later work is to delete a little, try again, wait until the code comment is almost, then guide, dizzy, and problems. The rest of the code, I want to go there should be no problem. This is. Will it be a picture problem,

For example, format, size, etc., ideas, is sure, is a picture of 256 * 64, deleting it or changing a little bit, you can. But this picture size is only 9 hundred bytes, although the picture is covered. Do you look at the area when loading a picture, think so, think so.

Find the Class Image in MIDPAPI PNG format: (I answered my question)

All Positive Values ​​of Width and Height Are Supported; However, a Very Large Image May Not Be Readable Because of Memory Constraints. The Dimensions of the Resulting

Image Object Must Match The Dimensions of The PNG Image. That IS, The VALUES RETURNED BY

GetWidth () and

.

转载请注明原文地址:https://www.9cbs.com/read-82978.html

New Post(0)