I’ve googled, asked, searched, done everything but I don’t have enough info about my questions.
Here it is:
I’m working on a project. For this project, I must add a tab panel (called education) top of launcher next to applications and widgets tabs. Here you can see.
But I’m a beginner and there is nothing on the web. Any documents, vides etc.. Yes, you can say “there are too many but you couldn’t see”. But all of this documents about 4.0 ICS or 2.2
I need an information about android 4.1 JB.Here is my question exactly:
I’ve downloaded all of sdk files and I’m sure that I included adt to eclipse (because some options are enabled) but even I can’t see create a new android project option.
The second problem: I included the launcher2 file (I got it from original source file) but eclipse showed me too many error. They can’t be real errors because ‘Launcher2.apk’ is a working file on Android 4.1 JB you know 🙂
Yes, please help me to editing Android 4.1 JB‘s launcher for adding a new tab panel.. Thank you.. (Sorry for my english and inexperience)
(Pictures are here. Take a look)


New Android Project is now called “Android Application Project”
If you have the source to Launcher2 then just go to
File->Import->Android->Existing Android Project into workspace. Then you should probably need to run Clean and Build, if you don’t already have “Build Automatically” set.Edit:
Okay, after looking at your images and doing some more research I need you check something out for me.
FocusHelper.javaimport android.Rthen delete that line.I have run into this issue before and doing those steps cleared this up for me. It seems to be a common Eclipse bug
Also, your SDK build is set to Android 4.0 API 14 but from what I am reading on the
Advanceableclass you’ll need API level 16, which is 4.1.Edit 2:
When I tried doing this I found that there are lots of missing declarations which you’ll have to go through and declare yourself, there are also import references that aren’t found, you’ll have to either find them and import them into your project and reference them accordingly or remove them and have a slightly less functional Launcher. Check out this answer.
First thing first, I found that when you initially import the project, if a
R.javadoesn’t auto-generate in thegen/com.android.launcher/package then just create an XML dummy file in yourres/values/folder (you could quite possibly do this anywhere inside theresfolder) and it will then generate anR.javaat that point, then delete that file. You WILL need theimport com.android.launcher.R;line but at this point you should see a LOT of errors clear out, assuming your settings are set to “Build Automatically”. Once that is complete then double click on each error line and it will take you to that error, you can fix by declaring variables (and initializing them in most, if not all cases), pressingCTRL+SHIFT+O, removing@Override, etc. You will NOT have all the functionality, but once complete you will have something to work with.