I'm building an android application which makes REST callouts to Salesforce. I'm using standard Salesforce REST client, however I need to show a webview in android(Visualforce Page).

How do I hit the URL from the webview? I need a generic method to get the baseURL similar to URL.getSalesforceBaseUrl().toExternalForm(). Is there one similar to this that I can access from REST client(Android)?

If you are building a native Android app, I remember using this class before the Mobile SDK was introduced. I'm not sure if there's a wrapper for this in the Mobile SDK. If not, you can reuse some code from this project.