Hi Zarah,

Thanks for your reply. I did include the LoginButton class as it was showed
in the Example. Also i had included it in my xml file as below:

 <com.facebook.android.LoginButton
        android:id="@+id/login_fb"
        android:src="@drawable/login_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="30dp"
        />
Thanks,
Prajakta

On Tue, Oct 26, 2010 at 12:46 AM, Zarah Dominguez <[email protected]>wrote:

> Hi Prajakta,
>
> Did you include the actual class of the LoginButton?  You must also
> refer to the login button class in your xml instead of the normal
> button class.
> <your.package.name.LoginButton></your.package.name.LoginButton>
>
> Best regards,
> Zarah.
>
>
>
> On Oct 26, 2:26 pm, Prajakta Shitole <[email protected]> wrote:
> > Hi,
> >
> > I am trying to use the Facebook SDK for android but It gives me runtime
> > errors (ClassCastException) when i include the
> >  com.facebook.android.LoginButton as the login button. Please can anyone
> let
> > me know if they have used Facebook connect in their application and the
> > steps that are to be followed to get it running properly.
> >
> > Thanks,
> > Prajakta
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to