Cceditbox and Cocostudio Federated interface Click event unresponsive problem, create folder problem in Android

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.