User-Agent for osmdroid
It's deprecated because it's been moved to another location which consolidates all configuration settings for osmdroid. Try the following
Configuration.getInstance().setUserAgentValue(...)
The older method was rewritten to wire it into the new configuration construct.