bboyairwreck / PieMessage

This is project allows Android clients to communicate using iMessage
1.04k stars 166 forks source link

Photo/Video messaging - Receiving #10

Open bboyairwreck opened 8 years ago

bboyairwreck commented 8 years ago

Hey guys, developer of PieMessage here. As I mentioned, Photo/Video is possible. Look at the MessagesSchema.pdf. You'll notice there is a _message_attachmentjoin and attachment in the SQLite chat database. This should provide the file location to a received message w/ attachment.

The first step is detecting the message is an attachment message. The next step is defining a protocol to be able to send an image from OSX to the Android device. Then implement the file sending. I have never sent a file through sockets so this is out of my league. I would imagine sockets wouldn't be the best way to send a file. and HTTP request is probably a better solution.