Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8653223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:29:29+00:00 2026-06-12T14:29:29+00:00

I downloaded facebook sample code from the following link: https://github.com/facebook/facebook-android-sdk . And i am

  • 0

I downloaded facebook sample code from the following link: https://github.com/facebook/facebook-android-sdk. And i am trying to run that sample code and I got login screen in that login screen left corner cross image button is available. and when ever I click that button login screen is closed.and my question is how to remove cross image button

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:29:31+00:00Added an answer on June 12, 2026 at 2:29 pm

    in this SDK There is file named FbDialog.java

    in that file there is Method named CreateCrossImage()

    in this file it self there is line new 90 to 95 line number

    mContent.addView(mCrossImage, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
    

    just comment this line and done forget to give permissions…
    and un-comment the lastly commented lines….

    this are the Permissions…

    private String[] permissions = { "user_about_me",
        "user_activities", "user_birthday", "user_hometown", "user_likes",
        "user_photos", "user_status", "user_events", "user_groups",
        "user_location", "user_website", "offline_access", "read_mailbox",
        "read_stream", "email", "publish_stream", "user_location",
        "publish_checkins", "user_work_history", "friends_likes",
        "friends_hometown", "friends_birthday", "friends_hometown",
        "friends_location", "friends_photos", "friends_website" };
    

    mFacebook = new Facebook("FaceBookApplicationId");

        mFacebook.authorize(Sample.this, permissions,
                new DialogListener() {
            @Override
            public void onComplete(Bundle values) {
                Toast.makeText(Sample.this, "Facebook Connected", Toast.LENGTH_SHORT).show();
            }
    
            @Override
            public void onFacebookError(FacebookError e) {
                Toast.makeText(Sample.this, e.getMessage(), Toast.LENGTH_SHORT).show();
            }
    
            @Override
            public void onError(DialogError e) {
                Toast.makeText(Sample.this, e.getMessage(), Toast.LENGTH_SHORT).show();
            }
    
            @Override
            public void onCancel() {
                Toast.makeText(Sample.this, "Connection Canceled", Toast.LENGTH_SHORT).show();
            }
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i downloaded hackbook from https://github.com/facebook/facebook-ios-sdk/tree/master/sample/Hackbook (* i am not sure this is the right
my problem is: I downloaded Facebook Php SDK from: https://github.com/facebook/facebook-php-sdk I put all in
I have problem with fb sdk for Android (downloaded from http://github.com/facebook/facebook-android-sdk ). Tried to
i am using the facebook android sdk, which i just downloaded from github. i
I downloaded and build the facebook-binding from https://github.com/mono/monotouch-bindings The authentication works, but when I
I downloaded the sample app from the latest facebook ios SDK. I set my
I have downloaded facebook-java-api-3.0.2-bin from http://code.google.com/p/facebook-java-api/ for connecting to face book.I want to use
i downloaded the facebook android application example from github and imported it using the
I've just downloaded the Facebook iOS SDK and I noticed that in the sample
I downloaded the Facebook SDK for Android and I'm using it in my app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.