1

Am trying to show a popup dialog or custom view on clicking of the widget (Something similar to quick contact badge). Am able to launch the Quick Contact badge on click of the widget but am not able to display this right next to the widget :(

Could you anyone give me any example source code to display a pop up dialog right next to the widget?

Kabini
  • 51
  • 6
  • Does it just take you to the contacts page? This sounds like a duplicate of http://stackoverflow.com/questions/5530625/android-strange-behaviour-in-quickcontactbadge –  May 17 '11 at 17:02

1 Answers1

0

I found the answer for this...

The quick contact badge can be displayed right next to the widget by getting the source bounds of the widget from intent that is used to launch the widget.

The method to be used for this is :-

intent.getSourceBounds();

Kabini
  • 51
  • 6