I'm currently trying to use the Smack libraries and the Tigase server to send a String array from one Android to another using the XMPP protocol (I'm developing in Java with the Eclipse IDE).
Is the String array an Item? or something else? I might be able to also send it as a file but I think it might be more energy consuming (for the device's battery).
Is there a preferable way to accomplish this task?
This is pretty simple to do.
The simplest approach would be to simply create a chat between the two users and send the data as the message body. Since your content is just a string array it can be easily sent as a comma delimited list of strings that you can easily marshall/unmarshall at each end.
The fact that you are using tigase is irrelevant in this case as it is basic XMPP and will work with any server.