Android Question 1

Source: Internet
Author: User

microsoftinternetexplorer4 0 2 documentnotspecified 7.8 normal 0

1. the maximum number of Short MessagesByte?

microsoftinternetexplorer4 0 2 documentnotspecified 7.8 normal 0

Chinese70 (Including punctuation), English160Bytes

2. AndroidWhat are the features and differences of animations in the project?

two types: tween animation, frame animation. tween animation, which allows view components to move, zoom in, zoom out, and change transparency; another frame animation, traditional animation methods, it is achieved through sequential playback of arranged images, similar to movies.

3,HandlerMechanism Principle

andriod provides handler and logoff . handler first-in-first-out principle. logoff class is used to manage message exchanges between objects in a specific thread (message exchange) .

1)Logoff:A thread can generateLogoffObject To manageMessage Queue (Message Queue).

2 ) Handler: You can construct Handler Object Logoff Communication to facilitate Push New message Message Queue Or receive Logoff Slave Message Queue Retrieve ) The message sent.

3)Message Queue (Message Queue):Used to store messages placed by threads.

4 ) thread: UI thread usually main thread , and Android when you start the Program , A Message Queue .

microsoftinternetexplorer4 0 2 documentnotspecified 7.8 normal 0 4. activity What should I do if it is recycled?

microsoftinternetexplorer4 0 2 documentnotspecified 7.8 normal 0

IfDestroyThat is to say, the recovery is only from the newStartNow

microsoftinternetexplorer4 0 2 documentnotspecified 7.8 normal 0 5. in JAVA how to introduce C language?

microsoftinternetexplorer4 0 2 documentnotspecified 7.8 normal 0

JAVA call C language programs, JNI interface implementation

Related Article

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.