atishagrawal / panoramagl-android

Automatically exported from code.google.com/p/panoramagl-android
0 stars 0 forks source link

retrieve spherical image from web url #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Retrieve bitmap image from url using AsyncTask class in this thread: 
http://stackoverflow.com/questions/23660203/url-to-bitmap-for-panoramagl-viewer 
2. use onPostExectute result to visualize the image

What is the expected output? What do you see instead?
I expect to see the spherical image in the panoramaGL viewer, while the screen 
remains blank

What version of the product are you using? On what operating system?
PanoramaGL_0.2-beta.jar /Android 4.4.2

Please provide any additional information below.

I saw in documentation that for file urls there is a specific method 
getBitmap(Context context, String url) that considers only urls starting with 
res:// and file:// . Can something similar be created for web urls?

Original issue reported on code.google.com by belardin...@gmail.com on 15 May 2014 at 7:42

GoogleCodeExporter commented 8 years ago
Got why the screen is blank.. is a problem of resolution.. didn't notice "sizes 
at power of two" in requirements, but the request of a getBitmap (with a 
eventual automatic resize).. I think it could be useful for many 

Original comment by belardin...@gmail.com on 15 May 2014 at 9:48