I am using OAuth 2 for login in my android app. Username and password are not stored on the device. However I have included three string parameters in the source code itself inside a class Constants.
public class Constants{
public static String redirectUri = "http://someurl/users/me";
public static String clientId = "my-android-app";
public static String clientSecret = "asdfasf";
}
I access these parameters during login using Constants.clientId. My question is is my way of storing data secure? Do I have to encrypt these 3 datas. I cannot store these data in shared preference or database because in rooted device this data can be viewed.