简体   繁体   中英

I need a good photo upload service for android social media app

I need a good service that works well for Android. anyone has suggestions? I ve been looking to Twitpic, Flickr etc, I will upload photos via that service and that service needs to return me an URL(the upload link of a photo).

Can someone help me about that topic?and if service can support anonymous uploading it will be better without authorizing.

Thanks

Well, these question was asked for my thesis project. We have completed the project and I want to share how we handled uploading photo process. Firstly, we assigned one local PC as a host and we created directories for each of our users. After that, for every photo of user that taken by android, we sent them to our RESTFul Web Service as Stream, and then we created the same file with reading this Stream at server side. With these photos, user also had some meta-data about the photos like tagged users, descriptions and so on. To keep that data synchronized with the photos, we created xml files for each picture. But then (of course) some problems occured. We were using so much memory and there were getting so much pictures and so much xml files in directories. And we realized that 1 directory for 1 user was a really bad idea.

So we started some researches to handle these kind of problems, and after some digging we decided to use Google App Engine and Google's Blobstore JAVA API for users to send the pictures easily from their Androids. It worked really cool for us, instead of searching for a photo upload service which needs to be logged in to upload files, we created our own web service that uploads these files to Google App Engine's Data Store .

Best regards.

We can share via intent just wake up the Social media application installed in the device by giving the intent

  Intent share = new Intent(Intent.ACTION_SEND);
  share.setType("image/jpeg");
  share.putExtra(Intent.EXTRA_STREAM,Uri.parse("file://"+mPath));
  share.putExtra(Intent.EXTRA_TEXT, "#androidtest");
  share.putExtra(Intent.EXTRA_TITLE,"#androidtest" );
  share.putExtra(Intent.EXTRA_SUBJECT,"#androidtest" );
  share.setPackage("package name of the social media application");
  startActivityForResult(Intent.createChooser(share,"ShareImageVia"),SHARE_PIC_REQUEST);

we can get the pakage of the application from google play

for more refrence read this blog http://android-socialmediadevelopers.blogspot.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM