google-plusRelated issues-Collection of common programming errors


  • Darko Petkovski
    android google-plus
    I’m trying to create an app where the user tries to Log in using Google plus i get this toast error: an internal error occurred and this from logCat:10-17 11:28:13.456: W/dalvikvm(18602): threadid=1: thread exiting with uncaught exception (group=0x2b542210) 10-17 11:28:13.486: E/AndroidRuntime(18602): FATAL EXCEPTION: main 10-17 11:28:13.486: E/AndroidRuntime(18602): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9000, result=0, data=null} to activity {com.mya

  • Deep Rathod
    java android google-plus illegalargumentexception google-api-client
    I am trying to login via Google plus in my application, however i am getting very strange error and which i have searched almost everywhere and everything regarding the same, but no luck. Below is my Code where the implementation is been done. The logcat is showing the system error of java.lang.IllegalArgumentException: GoogleApiClient parameter is requiredMainActivity.javapublic class MainActivity extends Activity implements com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallb

  • Cropper
    android google-plus google-play-services
    My Application Want to share Image on Google Plus And I have read About Google Plus And API shows that we can post media File using PlusShare.Builder. And I have Also Searched In stackoverflow but ditn’t Get any Proper Answer. And I have Tried with These Code is :case R.id.Share:if (mPlusClient.isConnected()) {Intent shareIntent = new PlusShare.Builder(this,mPlusClient).setType(“image/*”).setText(“Risk Score”).addStream(Uri.fromFile(new File(Path))).getIntent();startActivityForResult(shareIntent

  • BrettJ
    ios google-plus ipod-touch
    In my application for iOS, I am having Google+ signin which works normally. But it is failing when the native Google+ app is installed in device. If the Google+ application is not installed in the device, the login takes place through web and works fine. If installed, the signin takes place through this installed native app.I am using the GPPSignIn APIs to authenticate. The Google document I referred for implementation is https://developers.google.com/+/mobile/ios/sign-inError I am getting is –

  • Tunarock
    android google-plus google-play-services
    I have a problem with eclipse. In my layout when I try to put a PlusOneButton eclipse says:The following classes could not be instantiated:com.google.android.gms.plus.PlusOneButton (Open Class, Show Error Log)See the Error Log (Window > Show View) for more details.java.lang.NullPointerException at com.google.android.gms.plus.PlusOneDummyView$b.isValid(Unknown Source) at com.google.android.gms.plus.PlusOneDummyView.eN(Unknown Source) at com.google.android.gms.plus.PlusOneDummyView.<init>(Un

  • John McCann
    android google-plus
    I’ve implemented G+ sign-in following the quick start guide (PlusClient). Everything works fine. I can authenticate, get account meta data, disconnect, etc. The problem occurs when I post using the share intent. When I do this, the native G+ UI pops up showing the G+ logged in user and not mine? Is there a way to sync the two apps user sessions?EDIT: Following are relevant snippets of code. In addition, I am using two Google accounts (A & B). My app is authenticating and connecting as accoun

  • bobygerm
    android google-plus
    In order to implement social features in an android app, I try to use the “writeMoment” method of the “PlusClient” class, but nothing happens. I am able to get a successful connection with “PlusClient” and to write deep link posts with my app.Here is my code when I open the Google+ connection :monPlusClient = new PlusClient.Builder(this,new GooglePlayServicesClient.ConnectionCallbacks() {@Overridepublic void onConnected() {plusencours = false;String accountName = monPlusClient.getAccountName();/

  • SeeNoWeevil
    android google-plus
    Has anyone worked out what the required values for posting a CheckInActivity to a user’s Google+ profile are? The documentation here is quite poor. I’m getting an error writing the following moment;ItemScope address = new ItemScope.Builder().setType(“http://schema.org/PostalAddress”).setPostalCode(“xxx xxx”).build();ItemScope target = new ItemScope.Builder().setType(“http://schema.org/Place”).setName(“Test”).setAddress(address).build();Moment moment = new Moment.Builder().setType(“http://schemas

  • adneal
    android google-plus
    Hi everyone I have a problem when I’m trying to post some info from my Android app to Google Plus, the code that I have to share is the following:public void shareOnGooglePlus(Activity activity, String caption) {PlusShare.Builder builder = new PlusShare.Builder(activity);// Set call-to-action metadata.builder.addCallToAction(“CREATE_ITEM”, /** call-to-action button label */Uri.parse(“http://plus.google.com/pages/create”), /** call-to-action url (for desktop use) */”/pages/create” /** call to act

  • AlanKley
    android google-plus
    Moments appear broken to me. Using the google/google_play_services/samples/plus app I can Sign in, and I can Send an interactive post, but none of the Write Moment examples work. From the sample app I can select “List & remove moments” and a list of moments that I assume were created by the sample app, are listed but I don’t know where they went. They weren’t posted on my Google+ site unless they go in a specific place I am not checking. Has anyone been able to use writeMoment() successfu

Web site is in building