api - +1 click is not working in Android integration with Google+ -


I followed to use a link or +1 buttons on my Android app to a website +1, but Unfortunately, it did not work as expected and when I clicked on it, it did not answer. I tried using the following:

  mPlusOneButton.setOnPlusOneClickListener (New OnPlusOneClickListener () {@Override public void onPlusOneClick (intent arg0) {// TODO Auto-generated method stub startActivityForResult (arg0, 0);}});   

But there is no answer. As an example, I use the following line of code to try to:

  mPlusOneButton.initialize (plusClient, "http://www.googleplustoday.net", PLUS_ONE_REQUEST_CODE);   

And there's no impact profile on my Google Plus on the +1 tab.

Who can help? thank you in advanced.

Be sure to connect to Google Plus:

  mPlusOneButton.setOnPlusOneClickListener (new OnPlusOneClickListener) {Do @Override public void Prplsonklik (intent intent) {if (! PlusClient.isConnected ()) {plusClient.connect ();} and {StartActivityForResult (intent, 0);}}}  < / Pre>  

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -