These two problems toss me a day more time, as soon as I get off work to solve the problem of creating folders, just put Cceditbox Click event No response problem solved. That's great.
1. Create a folder
_mkdir () This C function is OK, in the VS IDE, the header file is direct.h, but this file is not compiled by the NDK, without this file. Okay, dead brains, starting to suspect that the Eclipse Library path setting has a problem, but do not know which is wrong, the search to the head of the big point, well, carefully look at the original is in the NDK, _mkdir function placed in the # include <sys/stat.h>, Just change this header file.
2. Click no response problem.
The beginning of the problem is Cceditbox addchild to layout, has been error, added to the layer, position has been not on, just search, the original is Addnode,good. Now is the position of the normal, but click No event, and jammed, search is the event was robbed by other nodes, adjust the event priority is OK, but has not thought of settouchpriority () function. Later, the problem was solved by the shadow blade. The event priority is the opposite of the added priority.
See: http://www.cocoachina.com/ask/questions/show/107415