Google will let you hang yourself with the rope they provide -- if you
really insist on doing that. But as Mark said early on in this thread:
don't do that. The R file really should be used ONLY by the system
itself to translate resource names/ids to Java namespaces. If the
application developer refers to these values at all, he is violating
some very basic principles of good software design.

And why do you need multiple XML files? You should need only one. You
are allowed to nest categories in XML, you know. The SAX parsers
handle that just fine.

Now I can't say for sure what you are really trying to do (συγγνώμη,
αλλά Εσάς δε καλά μιλάτε Αγγλικά), but it LOOKS like you should have
one XML file for the categories and all its subcategories, with one
tag for the top of all the categories, then a sub-tag for 'Athletics',
another for 'Shopping' etc., breaking those down in turn if necessary
until you get to the leaves of the tree describing your categories
(and categorized items).

On Sep 1, 7:00 am, LiTTle <[email protected]> wrote:
> I am going to use multiple xml files with simple parsers or database.
> In the back side of my mind I know that's bad. But I wanted to ask if
> this is accepted.
> I thought that maybe it is a feature that Google let it happen. That's
> all.
> Thanks again everyone.

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