Looking at the Android SDK you cannot use a http resource for that URI:
the URI of the panorama to load info about. May be a file:, content:, or android_resource: scheme.
So you need to download the image first before you can process it. Check this link for a tutorial on this.