Where to store webservice urls in android application -


i'm new android development. i'm working on application calls web services registration, login, etc... i'm storing url , other constants static final object in class. best way of doing or should use preferences or string.xml saving url assures secured when decompiling apk?

is best way of doing or should use preferences or string.xml saving url assures secured when decompiling apk?

rooted phones can modified provide access private preferences etc. if code obfuscated , strings encrypted, urls can still exposed.

the answer not keep url secret rather secure web service calls in reliable way. post not have enough information elaborate on security best suit app / service. take @ oauth ; how amazon aws secures web service calls. start.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -