将大数据传递到其他应用

时间:2017-04-29 09:58:57

标签: android-intent share

我想将大量数据传递到另一个app.i有一个代码预先与另一个应用程序共享数据。但我的问题是我的代码适用于电子邮件。当我分享数据到WhatsApp然后它不好的工作然后我的代码只传递了一些行。有些数据无法通过。(我的意思是我有150行,但我的代码只传递30-40行)并显示“??” symbol.how我可以修理它吗。请建议我。

这是我的代码

AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
            String product = collist_1.get(info.position);  
Intent sharingIntent = new Intent(Intent.ACTION_SEND); 
             sharingIntent.setType("text/plain");     
             String shareSub = "My Data";   
             sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, shareSub); 
             sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, product);  
             startActivity(Intent.createChooser(sharingIntent, "Share using"));  

这是我的错误 enter image description here

提前致谢

0 个答案:

没有答案
相关问题