Android Open Source - QBShare-Android Q B Share Activity From Project Back to project page QBShare-Android .
License The source code is released under:
Copyright (c) 2011 QBurst, http://qburst.com/
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redi...
If you think the Android project QBShare-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code package com.qburst.share.activities;
/ / w w w . j a v a 2 s . c o m
import java.util.HashMap;
import com.qburst.android.interfaces.share.QBShareManager;
import com.qburst.share.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class QBShareActivity extends Activity {
String name, url, description;
HashMap<String, String> data = new HashMap<String, String>();
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
name = "QBShare" ;
url = "http://www.digimouth.com/news/media/2011/09/Google1.jpg" ;
description = "Test_description" ;
data.put("n" , name);
data.put("u" , url);
data.put("d" , description);
Button bShare = (Button)findViewById(R.id.bShare);
bShare.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
QBShareManager manager = new QBShareManager( QBShareActivity.this, data);
manager.displayShareDialog();
}
});
}
}
Java Source Code List com.qburst.android.facebook.AsyncFacebookRunner.java com.qburst.android.facebook.BaseDialogListener.java com.qburst.android.facebook.BaseRequestListener.java com.qburst.android.facebook.DialogError.java com.qburst.android.facebook.FacebookError.java com.qburst.android.facebook.Facebook.java com.qburst.android.facebook.FbDialog.java com.qburst.android.facebook.SessionEvents.java com.qburst.android.facebook.SessionStore.java com.qburst.android.facebook.Util.java com.qburst.android.interfaces.share.QBShareListener.java com.qburst.android.interfaces.share.QBShareManager.java com.qburst.android.interfaces.share.QBShare.java com.qburst.android.linkedin.AsyncLinkedInRunner.java com.qburst.android.linkedin.DialogError.java com.qburst.android.linkedin.LinkedInConstants.java com.qburst.android.linkedin.LinkedInError.java com.qburst.android.linkedin.LinkedIn.java com.qburst.android.linkedin.LnDialog.java com.qburst.android.linkedin.Util.java com.qburst.android.twitter.AsyncTwitterRunner.java com.qburst.android.twitter.DialogError.java com.qburst.android.twitter.TwDialog.java com.qburst.android.twitter.TwitterConstants.java com.qburst.android.twitter.TwitterError.java com.qburst.android.twitter.Twitter.java com.qburst.android.twitter.Util.java com.qburst.config.QBShareConstants.java com.qburst.share.activities.QBShareActivity.java com.qburst.share.activities.QBShareFacebook.java com.qburst.share.activities.QBShareTwitter.java com.qburst.share.activities.QMShareLinkedIn.java com.qmcommerce.android.utils.QBImageLoaderListener.java com.qmcommerce.android.utils.QBImageLoader.java