Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Regular Visitor
Posts: 1
Registered: ‎01-31-2013
My Device: blod 7900
My Carrier: a

Hi,I want to push screen on click event of marker. I use javascript for the click.. How can I add " UiApplication.getUiApplication().pushScreen(new InfoLocation());" in this method ??

[ Edited ]
 "      google.maps.event.addListener(marker, 'click', (function(marker, i) {\r\n" +
                    "        return function() {\r\n" +
                    "          infowindow.setContent(locations[i][0]);\r\n" +
                    "          infowindow.open(map, marker);\r\n" +
                    "        }\r\n" +
                    "      })(marker, i));