CyanogenMod ICS launcher 2 source code eclipse can be compiled

Source: Internet
Author: User

CyanogenMod (pronunciation: sigh-AN-oh-jen-mod. Cm): the Cyanogen team is currently the world's largest third-party Android compilation team.
2.1 kernel CM5 series ROM is widely used, promoting the user from Android 1.6 to Android
Third-party upgrade of Version 2.1. This group used to take the lead in customizing a stable ROM for many mobile phones before google.[1]

CyanogenMod today looked at its launcher.

Original code from this:

Https://github.com/CyanogenMod/android_packages_apps_Launcher2

After:

 



We often panic when compiling launcher2 in eclipse or other open-source projects in android.

What should I do if I encounter a problem ????

Possible problem: remotely calling the project in c ++/c android source code is the favorite option (in the input method PinyinIME ).

Possible problem: the function cannot be found. The problem may be greater. The variable cannot be found, and the hide function is also found.

I cannot give an example now. Anyone who has compiled launcher knows this.

Three packages are to be added. These three packages are obtained from android source code compilation. You can see the c ++/c header files. They cannot be treated as static lib.

Because you take the 4.0 package and run it on 4.1. If you cannot find the function definition, the system prompts method not found if you fail to find the function definition.


Therefore, I usually take the 4.1 jb package to 4.0 and run it. That's okay. Because the 4.1 launcher function is not as strange as the 4.0 launcher call:

4.0 launcher setFastAlpha (float) is actually seAlpha (float) in the android sdk. In fact, setFastAlpha is only a process of immediate refresh less than seAlpha. This is just like Fast.


Most problems about Fast are "possible problems.


Another type of problem is the variable. Now you can see mlayout, so you want to use it immediately.

This. The replacement of getLayout () is.

What do you think of when you see mScollX? Of course, if you add a package, you can compile it. You don't have to change it.


In short, erect strong confidence to solve them.

However, I have solved these Launcher issues in the mainstream. Download the link directly.

 

CyanogenMod android platform android 4.0 launcher 2 source code eclipse can be compiled android4.0 4.1 can run translated.

Android 4.0 launcher 2 source code eclipse can compile android4.0 4.1 can run

Http://download.csdn.net/detail/icemanyandy/4905045

Android
4.1 launcher2 source code can be compiled by eclipse

Http://download.csdn.net/detail/icemanyandy/4798628

QQ: 773179801
Www. softboy. cc. cm

After authorization, the source code can be used for any purpose, except for any source code propagation.

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.