如何在bada中将图像上传到twitpic
如何在 twitpic 中分享图像。 bada 中的社交 API 不支持 twitpic。还有其他方法吗?多部分表单数据是什么意思?
How to share images in twitpic. Social API in bada is not supporting twitpic. Is there another way for this? and what is meant by multipart form data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通过参考SDK中提供的示例代码,我们可以将图像上传到服务器。带有 multipartFormdata 的示例代码 HTTPUpload 有助于将图像发布到 twitpic 服务器。
By referring sample codes available in SDK we can upload image to server. The example code HTTPUpload with multipartFormdata helped to post the image to twitpic server.
您需要自己编写协议实现。我自己也不知道,所以我不能给你一个确切的答案,但底线是你应该查看套接字和 web http 命名空间,阅读 twitpic 协议上传并实现它......困难的方法。
在多部分方面,请查看此处 http://en.wikipedia.org/wiki/MIME#Multipart_messages< /a>
You would need to write the protocol implementation yourself. I don't know it myself so I can't give you an exact answer but the bottom line is you should look at the sockets and web http namespaces, read the twitpic protocol for uploading and implement it... the hard way.
On the multipart side, look here http://en.wikipedia.org/wiki/MIME#Multipart_messages