比如一篇文章通过Gmail,短信,彩信,Twitter这类分享给好友,列子可以参见USA Today
有哪位做过这个功能,共享一下,谢谢了

解决方案 »

  1.   

    用intent调用相应程序就好了
    比如email:
    Uri uri = Uri.parse("mailto:[email protected]"); 
    Intent it = new Intent(Intent.ACTION_SENDTO, uri); 
    startActivity(it); Intent it = new Intent(Intent.ACTION_SEND);  
    it.putExtra(Intent.EXTRA_EMAIL, "[email protected]");  
    it.putExtra(Intent.EXTRA_TEXT, "The email body text");  
    it.setType("text/plain");  
    startActivity(Intent.createChooser(it, "Choose Email Client"));  Intent it=new Intent(Intent.ACTION_SEND);    
    String[] tos={"[email protected]"};    
    String[] ccs={"[email protected]"};    
    it.putExtra(Intent.EXTRA_EMAIL, tos);    
    it.putExtra(Intent.EXTRA_CC, ccs);    
    it.putExtra(Intent.EXTRA_TEXT, "The email body text");    
    it.putExtra(Intent.EXTRA_SUBJECT, "The email subject text");    
    it.setType("message/rfc822");    
    startActivity(Intent.createChooser(it, "Choose Email Client")); 
      

  2.   

    显示可供选择的分享列表,请参见http://blog.csdn.net/grhunter/archive/2009/12/26/5083081.aspx。