Hi Guys I am using Google Maps Android API v2. I loaded the Map and placed few Marker. I wanted to display a HTML URL in the "infoWindow" but Google seems to suggest its not possible https://developers.google.com/maps/documentation/android/infowindows#custom_info_windows. can it be done using "OnInfoWindowClickListener"? So that i open a dialogue box using this listener which contains a HTML URL?
I wanted to display a HTML URL in the "infoWindow" but Google seems to suggest its not possible
You can display pretty much whatever you want in an info window (though I have not tried anything that uses a SurfaceView). You cannot respond to clicks on anything other than then entire info window.
can it be done using "OnInfoWindowClickListener"? So that i open a dialogue box using this listener which contains a HTML URL?
You are welcome to do whatever you wish when the user clicks on an info window.
Related
I am trying to access a website through my app(a webview).
But when I click on a drop down button (a select tag) Webview uses android's native view.
also see this answer
I want it use the website's own drop down selection.
Just like as in chrome..
Is it possible ?
I have been googling from hours and couldn't find a way..
please help
I am trying to implement an EditText which takes a url from user and loads the desired url in the webview. I have accomplished this task. Now I want to provide corresponding suggestions of urls on typing a word in the EditText same like as Google provides. I have a sample application from google play store which has implemented this scenario.
URL to the app: https://play.google.com/store/apps/details?id=video.downloader.videodownloader&hl=en
I have searched every where to find a clue to start my work. But I couldn't find anything supportive.
Screen Shots for figuring out the Scenario:
Screen Shot
Screen Shot
Screen Shot
I am not using any database to fetch data from and to show in suggestion. I want to use EditText like an address bar of Google browser. When a user tap and type any word, it gives suggested urls respectively as showing in the screen shots.
I would use a search interface (documentation here: https://developer.android.com/guide/topics/search/) with a Content Provider. You should fill the content provider by using custom search JSON API https://developers.google.com/custom-search/v1/overview. It's a quite complicated task but I think you should start with this stack
I am currently creating an android application in which I use the location and 2 symbol Id's of the user to create an aprs comressed packet, and I need in one screen to ask the user for input and show him the content of the packet.
But I also need to display a web page, therefore I need to know if it is possible to use web interface to display a web page in a navigation bar application ? (the type of the app was decided since I need one screen for input and output and one screen for the web page).
you can use Chrome Custom Tabs
link
As far as i could understand you should use 'WebView' to show webpage, further you can use interfaces to communicate between web page JavaScript code and android code.
Please refer following links :
https://developer.android.com/reference/android/webkit/WebView.html
https://developer.android.com/guide/webapps/webview.html
I am developing an Android restaurant app completely web-based. I am trying to add the address of the restaurant so that when you click on it the map opens within the application. I have tried to create my own custom google map and add locations and then reference the link text by simple <a href=http://www.google.com/mapmaker?gw=39...> tag.
However, this open the entire google page. How can i do away with search bar and rest of the content and just show the map. Thanks
I'm creating an App with a Mapview and custom Mapmarkers, which works fine. What I would like to do is to add an image into the callout when the user taps one of the markers.
![enter image description here][1]
I made the same thing for iOS, where it has been pretty straightforward:
The mapview-balloons library has support for this, but it's only for Google Maps V1.
I would need to show a different image for each callout, which will be hosted on a web server, so I will also have to download that image asynchronously somehow before showing it. Is there any good solution for that?
Thanks in advance.
you can create a custom InfoWindowAdapter, see the API guide for details