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 7932153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:55:55+00:00 2026-06-03T20:55:55+00:00

I made an application in android in which I set Facebook authentication on button

  • 0

I made an application in android in which I set Facebook authentication on button click.
But when I click that button it comes back to my activity.

I know that problem is that : I can not log in to Facebook because I have already signed in with Facebook app in my device.

Then my question is how can I log in separately in my Android app and Facebook app?

  • 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-03T20:55:58+00:00Added an answer on June 3, 2026 at 8:55 pm

    finally I solved the problem using this:

    Open Facebook.java provided by facebook sdk and then i had changes like this:

    public void authorize(Activity activity, String[] permissions,
                int activityCode, final DialogListener listener) {
    
            boolean singleSignOnStarted = false;
    
            mAuthDialogListener = listener;
    
          /*  // Prefer single sign-on, where available.
            if (activityCode >= 0) {
                singleSignOnStarted = startSingleSignOn(activity, mAppId,
                        permissions, activityCode);
            }
            // Otherwise fall back to traditional dialog.
            if (!singleSignOnStarted) {*/
                startDialogAuth(activity, permissions);
           // }
        }
    

    Finally i can able to login in both app in my device

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made an application which uses latest ios facebook sdk to connect. I
Android: I have a social networking application made by me, in which you can
Good evening. I'm developing an android application that uses Facebook SDK. I've no problem
I have made an application which calls the phone's contact list but i want
I've made an Android application which contains most used German words and sentences. The
I'm currently developing an application for Android which needs to use a custom made
I have a little problem... I have made an Android application which extends the
I made an android application that brings information using a web service, then when
I made an Android Application which requires some data to be save. So to
I am new to android and java. I made an application which works fine

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.