On Thu, Dec 3, 2009 at 12:35 AM, James Wang <[email protected]> wrote:

> We just like our resource to be public to all apks like framework's
> resource.
> Develop can reference it in layout.xml or in code directly.
>

Absolutely not, just like you can't make arbitrary APIs public to developers
on your builds. The Android platform very rigidly defines what APIs are
available on a particular version, and you can not add or subtract from
this.

If you want to make public APIs available, you do it through the
PlatformLibrary approach. This currently doesn't support resources, though
some day it may.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to