I'm trying to point to a different URL with a privacy policy in different languages, depending on the language of the device. I have the url's in a string.xml, under the key privacypolicyurl, I can't seem to get that id to show up in a java class.
public void privacyPolicy(){
//String url = "https://github.com/*******/MobileAppPrivacyPolicy/blob/master/MobilePrivacyPolicy.txt";
url = R.id.pr
Uri uri = Uri.parse(getResources().getText(R.id.privacypolicy));
startActivity( new Intent( Intent.ACTION_VIEW, uri ) );
}