So, I am building an application, something like google streets and I need to achieve next:
I need some kind of view(Google VR view or Panorama View) to achieve the same effect as google streets, to be able to rotate and see whole 360 picture, to be able to add visuals(like on google streets if there is a coffee house, I can see it has a marker and click on it) and to be able to move around(like on google streets, clicking on the road will move you to the next position). With what library, SDK or whatever is this possible to do?
please use these libraries :-
https://code.google.com/archive/p/panoramagl-android/
https://developers.google.com/streetview/
https://developers.google.com/streetview/android
Use Google Cardboard SDK.It Comes with a sample app Treasure Hunt may be you will get some idea from that.
https://developers.google.com/vr/cardboard/overview
https://developers.google.com/vr/android/get-started
Related
I want to make a 360 panorama viewer in Android studio.
The idea is to make it exactly like the existing googles street view application.
I want to know how to add a/some UI element inside the VR view so that if a user looks at it, the 360 picture would change to some other picture.
I know it is a long way to go but for now, if somebody could help me or direct me towards achieving it, it will really help.
Thanks in Advance.
A good place to start is a demo app by Google called TreasureHunt (this is part of GoogleVR). Download the sample code compile and run you'll get a sense of what you need to do. TreasureHunt is also found on Google Play.
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'm looking to create a circle menu for markers in my app that uses Google maps.
I've found this online example of what I am trying to do:http://demo-ee.com/index.php/examples/view/circle-menu-for-marker-with-mx-google-maps-for-expressionengine#
The problem is that this is for google maps in a webview, I'm looking to do this on Android.
Does anyone know if this is possible to achieve with google maps for Android and if it is, how much work would be involved to do it?
Is it possible to rebuild this example code in java to use in an Android app?
thanks
I put this as an answer and not as a comment, but I don't think you can achieve the same.
First of all, on android you don't have the "hover" callback for maps, you can only use the onMarkerClick listener.
You could try to build a custom infowindow (there are a few tutorial online but never followed, so I can't give you a trusted one, you have to try :( ) and check if the iw can be placed around your item. Unfortunately on android there is a limited set of functionalities, but to be honest, I would explore a different UX for that (cards, dialogfragment or other).
Check how google maps behaves when clicking on a place (a view scrollable from bottom with details).
You can also think about using a toolbar/expandingtoolbar
How can I use Google maps in Android app so that it only shows my country?
I mean so that the rest of the world is not featured in the application.
Check out one of Mike Williams' great GMaps tutorials - he shows you how to limit zoom and pan in your map.
If you want some areas to be non-visible, you can try this one: I think that's closest to what you want (the example actually does a similar thing to what you want, using USA as the example).
I have a Game idea which uses Google Maps data, and I wanna know how I can do this.
The idea is:
A online war game that is based on the localization of the players' phones, which I would use Google Maps to get the cordinates and draw the map on the screen, so I can draw icons on the map (ammo, medicines and etc). And when the player's cordinates meet the item's cordinates it goes to the player, for example.
Simplifying, what I have in mind is: I need to get player's cordinates and map images from Google Maps. How I can do that?
Sorry for the bad english.
Thanks,
Luís Henrique.
I recommend starting with this tutorial.
http://www.vogella.de/articles/AndroidLocationAPI/article.html
That will get your feet wet in loading up maps.
Then use this tutorial at the bottom it will reference itemized overlay which will enable you to add all the weapons and respond to events when you click on it.
http://developer.android.com/resources/tutorials/views/hello-mapview.html
Your game sounds fun!!!
You can check cloudmade's specialist tools
Also there is static maps api from cloudmade
U can check a list of apps/games made using this here