I need to send byte[] data from Activity1 to Activity2, in order to writedata(\"FileOutputStream.write(data)\") in a jpg
Following are the steps:
1) Create table in sqlite with byte and id columns 2) Save this byte and his id (you will give) from Activity 1 3) Go to Activity 2 (do not forget to send parameter id) 4) In Activity 2 get this parameter from intent and query database using id to get you byte.
I hope this helps.