The commemorative article - my understanding of MIDlet

xiaoxiao2021-03-06  52

In the past two months, I have been diamond J2ME, but because there is no famous teacher, add the nature, my understanding of J2ME has been separated from a layer.

I started learning J2ME, I will focus on the study of example programs, and I find that it is not difficult because they are consistent with some extent, and the code is almost, so I can "set". But, also It's hard, because I want to figure out that a MIDLET's life cycle is already as good as my beginner.

So, in this time, my problem is a lot: such as: 1. Since DestroyApp (false) does not make MIDlet into the destruction state, then do you want to call it? 2. After the observation of these days, I think there is such a few threads in a MIDET, which is different from Application 3. If you have a few threads in the snake, how can I only find one? 4. MIDlet entry problem 5. Props.Append (TXTFIELD); Props.Addcommand; Props.SetCommandListener (this); Display.SetCurrent (PROPS);

In the above example, what role is played, what role is played again? (Props can be canvas, or it can be a object of List)

For problems 1, there is a detailed answer in my question in 9CBS. For questions 2, I can understand yesterday, there is at least one thread in a MIDET, so I have to create threads, I am equal to 1 you created the number of threads. In fact, this is nothing to say, but I first saw MIDET more mysterious, think it's not a full program, wrote an article

In addition, I also put a problem on the properties of the JAD / Manifest file, and I also solved, please see and folders Mentioned

I finally entered the gate of J2ME, I am very happy, write a text!

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

New Post(0)