The rect is part of the Intent itself, it's not an extra. And it's not new in Froyo, it was added for 2.1.
On Thu, May 27, 2010 at 5:28 AM, Bo <[email protected]> wrote: > Hi all, > > I came across a problem with contact shortcuts created in my own home > replacement. In Froyo, they are supposed to invoke that quick contact > bar, however, an unhandled exception emerged, saying > 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): Caused by: > java.lang.IllegalArgumentException: Missing anchor rectangle > 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): at > com.android.contacts.ui.QuickContactWindow.show(QuickContactWindow.java: > 371) > 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): at > com.android.contacts.ui.QuickContactActivity.onNewIntent(QuickContactActivity.java: > 80) > 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): at > com.android.contacts.ui.QuickContactActivity.onCreate(QuickContactActivity.java: > 48) > 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > 1047) > 05-27 14:05:13.675: ERROR/AndroidRuntime(7912): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2627) > > I tried to put a rect extra in like > intent.putExtra("target_rect", targetRect); // > QuickContact.EXTRA_TARGET_RECT not available > but the problem persists > > Does anyone have a solution to this? > > Thank you and best regards, > > Bo > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

