I wouldn't touch that code with a 304.8cm (i.e., 10-foot) pole. Hacking into framework classes via reflection is risky.
Furthermore, you have made an implicit assumption: that the user actually pays attention to that Google account. Just because the user has an Android device does not mean that they use Gmail as their primary email address. On Fri, Jul 8, 2011 at 9:45 AM, Raghav Sood <[email protected]> wrote: > Oops. Forgot to put in the link: > http://groups.google.com/group/android-developers/browse_thread/thread/7a6bf77910ca31e0 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

