我正在尝试在我的Android应用程序中使用plusone按钮。
我这样做了:
m_plusClient = new PlusClient(this, this, this);
然后:
m_plusOneButton = (PlusOneButton) m_view.findViewById(R.id.plus_one_button);
m_plusOneButton.initialize(((SinglePlace)getActivity()).m_plusClient, url, 0);
按钮就在那里,但是如果我点击它,它会显示一个无限期的进度条并且什么都不做。加上客户端没有调用回调...
答案 0 :(得分:1)
您需要先执行以下步骤: https://developers.google.com/+/mobile/android/getting-started 在你跳到+1按钮部分之前。