Hi,

Is there any way of removing the private APIs so that the AOSP launcher may 
be used with any Android device? I'm specifically trying to first get the 
ICS AOSP launcher to install on any ICS phone, and then modify it with some 
features.

Would appreciate any pointers on how to remove the private APIs. I don't 
necessarily have to use Eclipse, I'm fine with "make Launcher2".

Thanks.

On Wednesday, September 22, 2010 1:14:09 AM UTC+8, Dianne Hackborn wrote:
>
> Launcher currently uses a number of experimental/private APIs.
>
> If you are doing this to create something you will place on Market, you 
> *must* change the code to not use those APIs.
>
> If you are doing this as part of platform development for a device, 
> personally I would recommend just using the platform's build system.
>
> Any tricks one uses to build Launcher in Eclipse without fixing the code 
> will *not* create an application that should be placed on market.  (And if 
> you do, I can guarantee that future versions of the platform will break the 
> resulting app.)
>
> On Tue, Sep 21, 2010 at 9:26 AM, Paolo <[email protected] <javascript:>>wrote:
>
>> I followed the guide you have posted. Thanks a lot.
>>
>> Now I can see the android SDK source code in Eclipse, but I'm still
>> not able to compile the Launcher anyway... Eclipse always shows the
>> same error on the Launcher code... why? Is there something I don't
>> undestand?
>>
>> Thanks,
>> Paolo
>>
>> On 21 Set, 13:01, mani <[email protected]> wrote:
>> > Hi you cannot compile the Launcher code in eclipse with SDK.
>> >
>> > Certain API's are private not exposed to the public SDK.
>> >
>> > Ex. import android.renderscript.*
>> >
>> > But there are certain ways to compile AOSP in eclipse. Please go
>> > through this link.
>> http://blog.michael-forster.de/2008/12/view-android-source-code-in-ec...
>> >
>> > Thanks,
>> > Mani
>> >
>> > On Sep 21, 6:21 pm, Paolo <[email protected]> wrote:
>> >
>> >
>> >
>> > > I have just donwload the source code of the Android default Launcher
>> > > here:
>> http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;...
>> >
>> > > But when I import the project, i can't compile it because there is a
>> > > lot of errors. Many of this are unresolved name, package, class and
>> > > variables... why? what is the problem? How can I solve it?
>> >
>> > > Please help me.Thanks.
>>
>> --
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> -- 
> Dianne Hackborn
> Android framework engineer
> [email protected] <javascript:>
>
> Note: please don't send private questions to me, as I don't have time to 
> provide private support, and so won't reply to such e-mails.  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