How to order OEM resources' id.

by cht » Fri, 24 Jul 2009 03:26:32 GMT

Sponsored Links
 For OEM, we add some resources, includs drawables, layouts and some
other no-file resources like strings and id. we put this resources to
the android framework resource directory: frameworks/base/core/res/

But we face a big problem, the android internal resource id will be re-
ordered(we can fild it here: out\target\common\R\com\android\internal
\, our new resource id will be insert into the android resource
id.  but we want our resource id just appended behind the android

because of this, some CTS cases will not pass. and we face some other
compatible problems.

can you tell me how to organize our self framework resources, let the
resource id append behind the android resource.

thank you!

How to order OEM resources' id.

by dan raaka » Fri, 24 Jul 2009 05:34:31 GMT

 you should put it under /vendor/<your-company-name>
and use product overlays ..



Sponsored Links

How to order OEM resources' id.

by Jey Michael » Fri, 24 Jul 2009 05:42:36 GMT

 Overlays do not support addition.  You create a dummy entry in the
core/res/res and then replace dummys in overlays, when you add new
Overlays do not address this index question, AFAIK.

There is a problem in the CTS src, where it refers to  (grep for this string)   Obviously it would
break, because CTS is compiled against the google cupcake tree, and
you are probably running that CTS binary against your locally modified
src tree.  It is bound to fail for those tests.

Besides the CTS issue above, your question still remains open.
Someone else can clarify, I hope.


How to order OEM resources' id.

by Jey » Fri, 24 Jul 2009 05:54:06 GMT

 Old thread on this similar topic.  :-)

Other Threads

1. SDK before m3-rc20a


I wonder if anyone knows where to get the SDK before m3-rc20a. I
currently using HTC-29386.

best regards,



2. Add items to AdapterView


I am using a ListView with a CursorAdapter connected to. Now I want to
add some special list items to the list that are not part of the
cursor. Is it possible to do this? Or do I have to use a more generic
ListView and implement the database adapter by my own? If I invoke the
ListView's addView method, there is an Exception thrown, which says
that in case of an AdapterView this method is not available.



3. more than 4 tabs in tabhost - normal size - scrollable!

4. Extending Activity Class

5. How to handle complex objects from webservice.

6. Sqlite data base problem , method getWritableDatabase() is not working

7. General Question about Encoders