I am trying to make a android panorama app using Google panorama API.
I am able to load the panorama image and view it in my application.
But I am not able to add a hot spot/marker on the image.
Can anyone help me resolve this issue???
Related
I have a project that has a requirement of displaying map data in offline mode also. I have used OpenStreet maps. I have downloaded .PBF file for my area . I want to access these map file from android application. I also visit these links:
How to create map tiles from OpenStreetMap offline, display it on Android?
PBF Format
I am a newbie in Android developing so excuse me about my elementary question. Can anybody guide me how I use .PBF file and solve this problem?
Use a library that supports offline OSM maps, for example mapsforge or the Mapbox Android SDK. For more information consult the OSM wiki about offline OSM and Android libraries.
I am developing a android app. and I want a particular area map which I can add in my app and use it offline navigation.
How can it be possible?
Is there any code for this?
http://lifehacker.com/5819742/google-maps-for-android-labs-add-offline-caching-scale-and-measuring-tools
this link is not good.
or if it possible then please help me.
I have just started programming in JAVA and Android. I have been able to make an android app in which i store markers in a MySql database which i fetch using PHP and display them in a map overlay. Also i have allowed adding markers to the database as well. I am doing all this using Google Maps API and i would also like to do the same using Open Street Map. I would be thankful if anybody gave me some hints on how to do this or some links that would be useful to me. Thank you in Advance.
Take a look at Mapsforge (http://code.google.com/p/mapsforge/). It is designed to be a near drop-in replacement to Google Maps. It's not completely trivial, but they have a sample app in the source code, which shows the basic moves to accomplish some common results.
Another option is Osmdroid (http://code.google.com/p/osmdroid/). The main difference being that with Mapsforge you download a map file and render it on the device, so maps will be available even without a data connection. Osmdroid downloads tiles from OSM, much like Google Maps API does from Google Maps.
I am making an Android app for which I need to fetch results by using Image Search of google using Image upload option. I have checked for Google Goggles Api, but I think it is not working currently. Also, I am unable to find suitable API which does Image Search via Image upload. There is Image search via Text.
Please help.
Thanks
Yes, Google Image Search API is currently Deprecated. But, you could use Bing's instead. Here is an example of retrieving images using it with Java. It is a good start for your application.
EDIT:
If you want to search by images there is an alternative called tineye. They have an API for that.
I am developing an application in which I need to create a feature like Google Streetview with Panorama
But I want to develop my own custom StreetView and render it the same way as the image displayed below:
and I want to render an images panorama which is offline in my sdcard captured by my Device
I searched lots of sites and even tried this code:
String uri = "google.streetview:cbll=43.082743,-79.078137&cbp=1,99.56,,1,-5.27&mz=21";
Intent streetView = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse(uri));
startActivity(streetView);
But this is only available online and by using Javascript. Whether I have to use javascript Or Simple Java (Android) & I want to develop this feature offline in android.
If you have any suggestions or possible solutions, it would be appreciated.
Not sure if this is what you're looking for.
But the photo sphere format developed by Google used by the default photo sphere app on Android 4.2+ stock phones was released as an open format.
And Google is strongly encouraging third party developers to make applications that make use of it. Apparently, the code on that site is licensed under Apache 2.0 (but don't ask me if this applies to the meta data itself, I'm not a lawyer).
Here is what a photo sphere looks like in action through its special web viewer. Below, you can also see the exact same photo sphere image stored in its native flat format (without the benefit of a photo sphere specific viewer).
From their android-specific documentation:
Applications that wish to handle panoramas of this type should
register an intent filter for the following MIME type:
application/vnd.google.panorama360+jpg
Furthermore, they seem to indicate they require a geotag for the 360 panorama pictures that they accept from users on Google Maps.
The main limitation being that this viewer application is only available by default on Android 4.2 devices (and thus far, it's only been backported as a separate install from Google Play for Android 4.0+ devices).