Did you follow the examples from the documentation? Also, the sample code bundled with the Google Play services SDK?

Edit: You can show an info window programmatically by calling showInfoWindow() on the target marker:

Marker marker = mMap.addMarker(new MarkerOptions()
                      .position(location)
                      .title(poi.getName())
                      .snippet(poi.getDescription())
                      .icon(BitmapDescriptorFactory.fromBitmap(image_item));
marker.showInfoWindow();


However, bear in mind that only one info window can be displayed at a time. If a user clicks on another marker, the current window will be hidden and the new info window will be displayed.

Google maps marker show only icon
I have a C++ application that has a lot of threads and most of them are with 32k of stack size. The problem is that sometimes I get a stackoverflow and I want to detect which thread has caused the stackoverflow and write it on the log file, the problem is that I can't trap it.

I read about the SIGSEGV and I was able to trap this signal only without threads. I also tried using pthread_sigmask() and using the libsigsegv but I also failed.

Can anyone show me a small example about trapping the SIGSEGV when a stack overflow happens in a thread?
