How to send image data to server from Android

前端 未结 5 575
孤独总比滥情好
孤独总比滥情好 2020-12-16 07:53

I am trying to write an Android application that will take a picture, put the data (byte[]) in an object along with some metadata, and post that to an AppEngine server where

5条回答
  •  北海茫月
    2020-12-16 08:53

    1. The Android Asynchronous Http library provides a method of uploading files to a web service. I've used it in my projects with great success.

    2. Sounds like you need a web service method that takes an ID parameter and returns a file. You would store your blobs in the database table indexed with ID so that they can be referenced.

提交回复
热议问题