Hi, this would be better asked on android-porting.  Also nothing in this
area has changed between 1.5 and 1.6 as far as I know.  Certainly nothing in
com.android.internal.* has been part of the SDK since at least 1.0.

On Tue, Sep 22, 2009 at 4:20 AM, antuan <[email protected]> wrote:

>
> Hi,
>
> I saw in old posts that the OEM could add internal resource in
> framework , so they can be able to use
> them with the special syntax. for example
> @*android:drawable/ic_toto                      (for .xml)
> android.internal.R.drawable.ic_toto           ( for .java)
>
> now it seems that the latter interface is not provided anymore in
> android 1.5 as well as the Donut version I'm compiling.
> but the former still can be used.why? is it gonna be supported in
> further versions?
>
> As OEM, we need to create applications with customizable resources, so
> the most convenient way
> as far as I know is to modify the private resource, as they can be
> used from xml scripts, and they wont cause trouble to third party
> application that should not use them.
> But I don't know how to check the res IDs in the private resources
> changed or not.they have no .xml
> file to set their index orders like the public ones.
>
> I saw in a post : "...private resource IDs are assigned dynamically,
> they basically change in each build
> of the system". So If I build a new framework-res.apk and I change
> some resource data, I don't know
> what is gonna happen to my previous applications?
> does this mean all of the IDs changed even if you don't add any new
> resource?
> Is there a way to check the compatibility of private resources between
> 2 builds, or to force them to be compatible  - like in public
> resources we can set the order in the public.xml to keep IDs order the
> same.
>
> thanks
>
> >
>


-- 
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.

--~--~---------~--~----~------------~-------~--~----~
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