#android #coding #kitkat  

This is the eclipse project of the new launcher from Android 4.4: http://goo.gl/qAfMEl

In case you want to compile from sources this is what I did.
It's quick and dirt (very dirt but it works).
Note: this won't have the Google Now Integration.

0) git clone https://android.googlesource.com/platform/packages/apps/Launcher3
1) Import the folder into Eclipse: "Exisisting Android code into Workspace"
2) In the properties of the project, in the android section choose Android 4.4 as build target.
3) Still in properties, in android lint preferences set the severity to ignore for  "MissingTranslation" and "ExtraTranslation"
4) Add the support library from the project menu
6) Exclude from the build path(right click on the file):  /src/com/android/launcher3/LauncherBackupHelper.java
It's just a temporary fix. I didn't have time to resolve this.
7) At last, a few small changes. This is the diff: http://goo.gl/cLTFUd

Note: you can actually do step 0 & 1 directly from Eclipse...
Note2: If someone can resolve me the BackupHelper problem I'll be grateful. I don't have the time.

EDIT: I almost managed to resolve the BackupHelper problem:
1) Open the terminal and go into the root of the project and execute:
2) protoc --java_out=src/ -I protos  protos/backup.proto
This will generate BackupProtos.java that was necessary BackupHelper.
3) Copy protobuf-2.5.0.jar  in the "libs" folder:  http://goo.gl/22cGLD (or from here: http://goo.gl/P9IHRx)

This will resolve dependencies except this two imports:
com.google.protobuf.nano.InvalidProtocolBufferNanoException;
com.google.protobuf.nano.MessageNano;
I probably need an updated protobuf-2.5.0.jar but I can't find it.

Note: you have to have python-protobuf installed and probably some other library if you are using linux.
On window you can probably use this binary: http://protobuf.googlecode.com/files/protoc-2.5.0-win32.zip



Sources: https://android.googlesource.com/platform/packages/apps/Launcher3
Compiled version: http://goo.gl/j8MdKO
Patch for +Mohammad Adib : http://goo.gl/I5P43Y
(It delete those gradients in the widget picker)
*The entire folder with everything: http://goo.gl/JQ1k1q
Shared publiclyView activity