congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
WBShareContent
Code IndexAdd Tabnine to your IDE (free)

How to use
WBShareContent
in
co.lujun.tpsharelogin.bean

Best Java code snippets using co.lujun.tpsharelogin.bean.WBShareContent (Showing top 2 results out of 315)

origin: whilu/TPShareLogin

/**
 * 微博分享
 * @param content
 */
public void share(WBShareContent content){
  mIntent.putExtra(Config.KEY_OF_TYPE, Config.SHARE_TYPE);
  if (content.getBundle().getInt("share_method") ==  WBShareContent.API_SHARE){
    mIntent.putExtra(Config.KEY_OF_TYPE, Config.LOGIN_TYPE);
  }
  mIntent.putExtra(Config.KEY_OF_BUNDLE, content.getBundle());
  mContext.registerReceiver(mReceiveBroadCast, new IntentFilter(Config.KEY_OF_WB_BCR_ACTION));
  mContext.startActivity(mIntent);
}
origin: whilu/TPShareLogin

  break;
case R.id.btn_wb_share_url:// 微博分享远程图片和文字消息
  WBShareContent contentWB = new WBShareContent();
  contentWB.setShare_method(WBShareContent.COMMON_SHARE)
      .setShare_type(Config.SHARE_CLIENT)
      .setStatus("This is TPShareLogin test, 4 weibo!@whilu  http://lujun.co")
      .setImage_url("http://lujun-wordpress.stor.sinaapp.com/uploads/2014/09/lujun-375x500.jpg");
  WBShareContent contentWB2 = new WBShareContent();
  contentWB2.setShare_method(WBShareContent.COMMON_SHARE)
      .setContent_type(WBShareContent.WEBPAGE)
      .setStatus("This is TPShareLogin test, 4 weibo!@whilu ")
      .setImage_path(Environment.getExternalStorageDirectory() + "/1234321.png")
      .setTitle("title")
      .setDescription("description")
      .setActionUrl("http://lujun.co")
      .setDataUrl("http://lujun.co")
      .setDadtaHdUrl("http://lujun.co")
      .setDefaultText("default action");
co.lujun.tpsharelogin.beanWBShareContent

Javadoc

Created by lujun on 2015/9/7.

Most used methods

  • <init>
  • getBundle
  • setActionUrl
  • setContent_type
  • setDadtaHdUrl
  • setDataUrl
  • setDefaultText
  • setDescription
  • setImage_path
  • setImage_url
  • setShare_method
  • setShare_type
  • setShare_method,
  • setShare_type,
  • setStatus,
  • setTitle

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JFileChooser (javax.swing)
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now