I already have an android app, It downloads a 360-degree panoramic image from the internet and displays inside the app using the PanoramaApi. This is all nice; I get the finger pan feature and the gyroscope based movement feature.
But I want more features. I want to be able to put markers inside the image and when clicked; I want to be able to move to a new Panoramic image inside the same viewer. Much like the live-in tour feature of CommonFloor. They also have the same feature in their Android App.
My goal is to create the same functionality.
What I have achieved so far is to display one panorama with PanoramaApi. Here is my effort so far on Github. My goal is to add markers and move from one panorama to another. And since I am currently displaying panorama using an Intent from the PanoramaAPI; I highly doubt that I will be able to add markers using this method.
There must be a better method for doing this.
I thought of using Unity, as Cardboard SDK for unity will also let me add Google Cardboard in future.
I don't want the user to install two separate APKs instead, I want the Unity to be embedded inside the current android app. It is documented here. One trick to display panorama images is documented here. However, I still have some problems with this.
How can I add markers to this?
If I add the markers somehow, how to embed that information within the panorama jpg file? (Can I do this without embedding the info as meta-data in the file, but instead saving that meta-data in a separate file (JSON/XMl or something else))?
How to pass the URLs for the panoramic jpegs and possible meta-data files, from the android activity to Unity?
I know about krpano, but it is for the web. I want a similar solution but for android.
Are there better libraries or SDKs that will enable me to achieve this? If not how can I communicate between Android and Unity?
Related
I am wanting to add a map to an app I have created that has pin overlays that can be filtered using checkboxes and a search option that can be used to search for a specific location on the map.
I will not be using google maps for this.
For example, a custom image of a map (say for a campus or a shopping mall etc) that is laid out into a grid (A-Z for lat + 1-26 for lon). I want to have a few different pins laid out around the map and be able to filter them on or off using check boxes. I also want to have a few locations that can be searched for on the map. There is not necessarily going to be any need for the user to be able to add a custom pin onto the map on their device at this point.
I honestly have no idea where to start here as I have not been able to find any real documentation that seems relevant to what I am trying to achieve here. I am fairly new to apps, and my current app that I want to add this into has been made with Xamarin Android for Visual Studio 2017.
I have been reading about imageMap but it seems that it needs to load information from an external source, but I am unsure. I need the app/map to run properly offline so I want to have the image packaged in with the resources so it can be installed to the device with the app.
I would greatly appreciate any tips or idea's that any of you more experienced and skilled app dev guru's may have for me.
I am trying to create a Location based augmented reality app which plots marker on top of the camera view.
Mose of the libraries and tutorials are outdated and they are 4+ years old also not stable. Below is the link to things which i have tried and failed.
Links to libraries
Link to tutorial
Link to stack
Im trying to create something like below image which is an iOS app developed using HDAugmentedReality which is very stable and does not overlap.
Since i could not find any library I'm planing to use Google Maps, It rotates according to camera with simulates AR. So i am planning to show only the markers and hide the Google Map View. If this is possible i can easily create an Location based AR app..
Is it possible to hide Maps but show Markers or is there any library which i missed? Thanks in advance .
I believe you can't use the Markers without showing it on Maps. The main purpose of it is to identify the location on a map. My suggestion would be for you to use your own custom overlay for the marked items you'll show.
Check out the Sun Surveyor, its not similar to what you'll do, but the idea of overlaying the information seems plausible (as indicated on the tutorial link you provided).
I've been wanting to create an android's cardboard app, in which the user enters a spherical panoramic view of some panoramic picture I've taken, and that I could gather data about where the user is looking in the process.
I've seen the "Cardboard Demo" provided by google, they have a feature called "photo sphere" in which the user can view photos exactly the way I want, but I want to implement it differently.
Can anyone give me some direction on how such a panormaic viewer with cardboard?
I was also trying to build the same kind of app. You can do a Skybox implementation in Opengl.(Cube mapping)
As you said, if you already have panorama image, then you can map the same to a Sphere.
You can Refer this Blog
I have ended up using Google's Cardboard SDK for Unity.
Basic idea :
Get Unity.
https://unity3d.com/get-unity/download
Get Google CardBoard
https://www.google.com/get/cardboard/get-cardboard/
Download the following SDK for unity
https://github.com/googlesamples/cardboard-unity
Try first to get the CardBoard/DemoScene (It's in the previous link) running on your app. Use this link for guidance :
https://developers.google.com/cardboard/unity/get-started
The DemoScene is basically a 3D game for Google cardboard, you can start by loading that project into unity and playing around with the different elements. From here it's pure unity, you can use the cardboard elements (They are the only important thing here, and define two offset cameras that are synced with the movement of the phone for 3d viewing of the cardboard) from the DemoScene project and create your own scene.
As due to gathering data on where the user is looking at , I extracted the
angles of the cardboard camera objects on unity.
Good Luck!
Refer this link- Open Photoshpere from SD card in android to view in Google Cardboard
You can use the Rajawali framework-
https://github.com/ejeinc/RajawaliCardboardExample
Since i began programmation this forum provides me all that i always need! i want to thank you for... Thanks for all!!!!
Now i'm here to asking a problem that i not found it yet here.
I'm working on an android application. In my app, i have to read an android panorama which must be on a distant server. I have two problems to do this and hope u to save:
1. I take a panorama from my phone and When i connect it to PC from copying my panorama, this one become a simple jpeg image. I don't know how and why!!!
2. I have no idea on how to view panorama on android. I search on google, on android forums and still at my beginning point, i have to present my application next week!!!
So i give myself to you for bringing me out from this depth.
Thanks.
there's this library that do that with spherical cubic and cylindrical panoramic imagesPanoramaGL
and there's the utility with the google Play Services libs but only for spheric images refer to this :
Android Support for Photo Sphere
This question has 2 parts:
1) I'm new to Android development and find implementing the UI on Android quite overwhelming. It would be great help if you could point me to some free UI libraries or give me some advice on how mobile developers go about implementing the UI. Is there some framework of "standard" UI framework which I can use to build simple stuff that aren't directly possible from the Android API? I want to focus more on the content of the app rather than building all the quite common design patterns from scratch.
2) Currently, I'm building an app, which needs to have a gallery. I'm thinking of this
I want to supply a Vector of Photo (which contains URL to the thumbnail and the actual sized image) to this View and get something like that.
Thanks
That app is simply displaying the photos in a gridview. There are many libraries out there but Nostro's Universal Image Loader supports adding images from urls into gridview. Universal Image Loader