imageview - Android - How to embed local image into an Activity and display with Photo Sphere on 4.2+? -


i trying load photo sphere image activity , view 1 in gallery. cannot seem find examples or samples of functionality anywhere on web.

documentation panoramaclient

thoughts, examples, code sets or suggestions on how accomplished?

the announcement posts photo sphere api details how load photosphere uri:

// listener called information given panorama. onpanoramainfoloadedlistener infoloadedlistener =   new onpanoramainfoloadedlistener() {     @override     public void onpanoramainfoloaded(connectionresult result,                                  intent viewerintent) {         if (result.issuccess()) {             // if intent not null, image can shown             // panorama.             if (viewerintent != null) {                 // use given intent start panorama viewer.                 startactivity(viewerintent);             }         }          // if viewerintent null, image not viewable panorama.     } };  // create client instance , connect it. panoramaclient client = ... ...  // once connected client, initiate asynchronous check on whether // image viewable panorama. client.loadpanoramainfo(infoloadedlistener, panoramauri); 

note opens photo sphere in viewer - there no built in photo sphere viewer embed in activity.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -