While developping a map app I was trying to show different InfoWindows for many markers that display information and buttons ,I discovered that InfoWindows have been converted to images or Bitmap so the buttons actually won't be clickable , I tried to find replacement but I only found images but no names, I want to develop something similar but I don't know if it's a custom dialog box or something else ,please tell me what is it ?? Because I need to show them using onMarkerClick method.
My question is very simple, how are these two views are called :
enter image description here enter image description here
Related
I'm new to Android developing and I'm a GIS/Maps guy so to keep me interested I thought I'd focus on using Google Maps to create a kind of quiz.
I had an idea to have a Google Map display a bunch of Markers around an area and then when the user taps a Marker, a question will pop up (Radio Button?) with multiple answers and then the right answer will be displayed after the user clicks one of the options (toast?).
I've got a map to display markers and produce a popup when those points are pressed, but I don't know how to have a Radio Button popup and display the question and answers and then display the correct answer.
I've been at it for days and I'm nowhere.
edit: changed title and text to use correct references, namely Radio Button instead of Popup and Marker instead of Point.
edit: image of what I have so far (map displaying multiple markers and popups when markers are pressed) available here (I can't post images yet!).
I wan't to create a map view like in ACL2011 app.
here I list it's details and my progress.
It has several location tags and those containing deferent icons - I can't do it(I can set one tag for all the places but can't put different tags.
it has drop a pin(drop a pin to a specific location - I can do this.
the dropped pin can move( long press on it allow user to move the pin) - cant do it
one user tap on the dropped pin it shows a label with two buttons - can't do this
Please help me...
I tried a lot but I still can't do it. found one with moving pin but I did't able to apply other functions to that.
thanks in advance.
Try this project
I'm working with Osmdroid, particularly with this class: http://code.google.com/p/osmdroid/source/browse/trunk/osmdroid-android/src/org/osmdroid/views/overlay/ItemizedOverlayWithFocus.java
It shows a ballon with text description when an item is tapped ('focused') but I want wo show the description of all items all the time.
Anybody had the dame issue yet of can perhaps give me a hint on what to change in the ItemizedOverlayWithFocus.java- class, probably the draw()- method to get that done?
You can do that without changing anything in the library source code:
Use multiple ItemizedOverlayWithFocus, and in each one, put only one overlay item.
I am developing a chat application. And i want to have pop up window with smileys in it so that when user clicks on one of smileys it will be inserted to edit text box.
Does anyone know sample code for it?
I wanted code for both pop up window and code to embbed smileys in an application.
(same as in case of yahoo which has smileys.how to code for it and how to store them in database and all)
Take a look at the PopupWindow. You'll want to use it in similar fashion to this tutorial here: http://www.mobilemancer.com/2011/01/08/popup-window-in-android/.
I would populate it with your drawable images, and then attach to each image you create a onClickListener that would insert the smiley into whatever text window your using.
I'm not an Android expert, and I'm still learning myself, but this is one approach I would investigate.
i want to create a home screen application where the applications looks like carousel , and i am able to do it . The problem i am facing is that in my application only the applications icon are getting displayed the text is missing in it , where as my requirement is that i want to both the icon and text to be displayed together.
my application displays same as the above showing image.
i want text to be combined with it as above image.
please help me.
Thanks
datta
So the simplest thing to do would be to create a Compound Control. This compound control would essentially be a LinearLayout with both and ImageView and a TextView in it. Then, where ever you use a CarouselImageView in your code, just use your new compound control instead.