Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would start here: https://developers.facebook.com/android/
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • 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 Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • 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 Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic