Are string resource ID values guaranteed to be consistent over different projects?

Posted by jax on Stack Overflow See other posts from Stack Overflow or by jax
Published on 2010-06-07T08:05:48Z Indexed on 2010/06/07 9:12 UTC
Read the original article Hit count: 182

Filed under:
|

I have some messages being passed back from my server through php. The problem is that the messages are in English and if the user is using another language they will still get the message in English.

So I had an idea that maybe instead of passing back the message I would instead pass the String resource Id from the android app, that way the app will get the correct string id for their language. I will use this in a number of apps so I just want to know if the string id is guaranteed to be the same across different android projects?

© Stack Overflow or respective owner

Related posts about android

Related posts about resources