Jeff - is there any way to add our app to the QuickContact app list,
so we show up when the user taps the badge ?

I'm guessing this will come down to an intent filter, but I can't work
out what it ought to be.

Thanks,

Richard


On Oct 30, 6:02 pm, Jeff Sharkey <jshar...@android.com> wrote:
> The easiest way is using the new QuickContactBadge widget.  You can
> add it to your layout, and there are helper methods to bind it using
> phone, email, or a normal Uri.
>
> http://d.android.com/reference/android/widget/QuickContactBadge.html
>
> This control will automatically give you the frame around the photo,
> and launch the track when clicked.  If you're looking to launch the
> Quick Contacts popup manually yourself, you can use the API directly:
>
> http://d.android.com/reference/android/provider/ContactsContract.Quic...
>
> Just call QuickContact.showQuickContact() and pass in a target Rect
> area in screen coordinates.  The Quick Contact window adjusts and
> points towards that target area.
>
> j
>
> On Thu, Oct 29, 2009 at 5:13 AM, Fedor Vlasov <the...@gmail.com> wrote:
>
> > I can see a new Quick Contacts popup in Android 2.0. How can I use it
> > in my application? Can't find any samples.
>
> > Thanks!
>
> --
> Jeff Sharkey
> jshar...@android.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to