简体   繁体   中英

How to create android launcher based on Google's Launcher2

I'm trying to develop a custom launcher but based on the google's Launcher2, I have the source code of Launcher2 but when I import it to the eclipse I get a bunch of errors. Form what I've searching I think that I need to compile the android source and add it to the eclipse. I have compiled the source already following this link and then this , but I get nowhere. What do I have to do to make this work?

The Launcher2 application uses framework classes that are not included in the android SDK. As such you cannot simply copy the Launcher2 application code and build it. I spent quite a bit of time trying to manually copy over dependent classes, but it simply became too complicated.

Launcher2 is too integrated with the OS to copy over.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM