The source code works but cannot be compiled with the SDK. You need to
build the Android source tree from where you got Launcher's source
code and build Launcher in that tree.

On Tue, Jul 28, 2009 at 9:37 AM, alucard20004<[email protected]> wrote:
>
> (Please excuse me for my imperfect English.)
>
> Hi. this is me:
> - My skill  :  80% artist / 20% programming.
> - Now 6 months into Android development.
> - My goal is to use my art skills to customize the Launcher
> application.
>
> Current situation: (please forgive this long story)
> 1. I'm trying to build the Launcher application.
> 2. took the source from  http://source.android.com/ using the Gitweb
> web interface.
> 3. downloaded the source snapshot, the one with the tag: "master")
> 4. The project cannot be built. There are a lot of errors in the
> source code. I try to fix the source.
>
> // Now let me brief what I found. I shouldn't include ALL code here,
> right?
>
> *** 4.1 I removed a lot of code that I cannot fix. (eg. everything
> about the search widget, some wallpaper/notification-related code and
> many more)
>
> *** 4.2 I found these variables a lot: mScrollX, mScrollY, mLeft,
> mRight, mTop, mBottom. They are being used in the source files but the
> are NOT declared. So I declare them and try to give them value by
> calling getSrollX, getLeft, getTop, ...
>
> 5. Finally the project can be built and run on the G1 device. But it
> perform weird(as expected). the scrolling is not correct. "Snapping to
> screen" does not work correctly as well.
>
> 6. I tried so hard messing around 'Workspace.java' file. Finally
> things look a lot better now, better snapping and scrolling.
>
> 7. But trackball scrolling still produce weird behavior. There're
> screen orientation change bugs too. The 'docked' desktop shortcuts and
> widgets won't "snap to screen".
>
>
> End of my story. I won't ask for a solution to each bugs.
>
> But since it took me 3 weeks now. I'd like to ask:
>
> Anyone succeed in building this Launcher app? Could you share your
> knowledge on how to do it?
>
> I'm just an artist who want to publish my art skill. It'd be a
> pleasure if anyone can point me to some error-free source code of this
> Launcher app. So I can focus on my art.
>
> I do hate asking for a solution like this. But I do believe I gave it
> enough (programming)effort as an artist.
>
> P.S. allow me to rant a bit: ... if the source code doesn't work then
> why do they give us in the first place?
> How can the public contribute back to google if we can not build the
> project? I don't get how this "open-source/accept public contribution"
> system work.  Am I missing something?
>
> Thank you in advance.
>
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to