Default [Q] Photosphere viewer app creation

Hello, indeed I am completely new to app creation and hopefully despite my lack of knowledge I can get some advice and direction here. Google already have a photosphere viewing app within their Google Cardboard release. There's also an app for the same purpose named Photosphere HD. I am looking to create my own app that does precisely the same, for no other reason than to create a photosphere gallery of my own. It is not a commercial application. Is there code available that is open source that I can use to make this happen? If so is it possible that I could realize this myself, using an app creation tool like mit appinventor? If I am being very naive, my apologies, I am simply trying my best to figure this out and get some assistance. Cheers for now.