I am going to create application on my PC that automatically uploads or installs jar file to the phone when it connects. I check COM ports to see if the device is connected to my PC or not. But I don't really know how to upload or install jar files via COM connection (Do I just convert file to byte array and put it in stream connection?). I am looking for something similar to Infrared file upload: when I upload jar file via IR it automatically goes to Inbox folder.
Can you help me?