• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to Integrate Facebook with Android 4.0 (Ice cream Sand-witch)

 
Ranch Hand
Posts: 115
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to build simple and small application of Facebook login and logout , by using android 4 concepts like FacebookActivity class , <LoginButton .. /> etc . this is also in documentation but , the documentation code is not in proper manner . in previous version the login() , logout() , aunthmticate() methods are deprecated so please give me simple language and tutorial of Facebook and android.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would start here: https://developers.facebook.com/android/
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you for response , but i m not understand (Step 2 : Set Up Authentication Change Triggers) in this example https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/ why they replace FragmentActivity to FacebookActivity and if we extends the FacebookActivity then how we implement onViewCreate() function , this tutorial is really a confusing.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is another way to do it - https://developers.facebook.com/docs/mobile/android/build/

Minimum API requirement - API level 10

I'm not sure I understood your question about OnViewCreate()
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you deepak sir , actual i already done by this example but in this the aunthicate(... , .. ) method is deprecated . so the previous example in documentation is new way , but i cant understand the example properly . if there is any other simple way then ask me ..
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jimmy kalra wrote:thank you deepak sir , actual i already done by this example but in this the aunthicate(... , .. ) method is deprecated . so the previous example in documentation is new way , but i cant understand the example properly . if there is any other simple way then ask me ..



I dont see anything on that page that says the API methods are deprecated. Am I missing something ?
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in the new 4.0 android sdk the Facebook class authorised(... , ...) method , login(...) , logout(...) etc methods are deprecated , chek in documentation
reply
    Bookmark Topic Watch Topic
  • New Topic