Hallo Erel,
I would like to ask you for an advice how to handle the following task:
I have to create a solution pn an Andoid tablet for nursing purposes.
The nurse should describe a wound and should be able to take up to 6 photos.
The wound description and the photos should be uploaded to a MS SQL Server by pressing a button.
I have created an app, which makes all on the tablet side, whch means, I have the infos in an array and up to 6 pictures as jpg on the local device.
On the server, I use BV.NET and I have created some serverices, which accept other incoming data.
Now my question: do you think it´s better to upload the files to the server and run a (e.g. COM-)service on the server, which moves the jpg´s into the database or
is it possible to upload the jpgs as a byte-array directly in the post-parameter (which I would prefer!, becuase hte service would be much easier to create and no problem with write and read permissions and all that stuff). If yes, how can I transform my local jpgs into a serialized string (I didn´t find a lib for that), which can then be read on server side and then be stored in the BLOB oft he SQL Server?
Could you please help me?
Thanks in advance, Oskar
I would like to ask you for an advice how to handle the following task:
I have to create a solution pn an Andoid tablet for nursing purposes.
The nurse should describe a wound and should be able to take up to 6 photos.
The wound description and the photos should be uploaded to a MS SQL Server by pressing a button.
I have created an app, which makes all on the tablet side, whch means, I have the infos in an array and up to 6 pictures as jpg on the local device.
On the server, I use BV.NET and I have created some serverices, which accept other incoming data.
Now my question: do you think it´s better to upload the files to the server and run a (e.g. COM-)service on the server, which moves the jpg´s into the database or
is it possible to upload the jpgs as a byte-array directly in the post-parameter (which I would prefer!, becuase hte service would be much easier to create and no problem with write and read permissions and all that stuff). If yes, how can I transform my local jpgs into a serialized string (I didn´t find a lib for that), which can then be read on server side and then be stored in the BLOB oft he SQL Server?
Could you please help me?
Thanks in advance, Oskar