Ive just started using this program , and have to say it is billiant.
I am trying to make a media remote for my computer and not sure whats the best method of communication between the pc and my android.
Im not too bad programing the computer side its the android side im a bit stuck on.
The basic thing i want to do is send commards to the computer and recieve image and text infomation (cover and now playing etc).
my two methods i was looking at is....
1) Web server (http get)
I started messing around with this but soon gave up as i wasnt sure on how to refresh the image automatically when the track changed etc.
Sockets
I would really like to uses this but im not sure how difficult it would be to send an image down from the pc. And im thinking using AsyncStreams is the best option as data will be going both ways ?
Any advice on where to go next would be a great help , some sample code would help even more.
Thanks for reading
luke
I am trying to make a media remote for my computer and not sure whats the best method of communication between the pc and my android.
Im not too bad programing the computer side its the android side im a bit stuck on.
The basic thing i want to do is send commards to the computer and recieve image and text infomation (cover and now playing etc).
my two methods i was looking at is....
1) Web server (http get)
I started messing around with this but soon gave up as i wasnt sure on how to refresh the image automatically when the track changed etc.
Sockets
I would really like to uses this but im not sure how difficult it would be to send an image down from the pc. And im thinking using AsyncStreams is the best option as data will be going both ways ?
Any advice on where to go next would be a great help , some sample code would help even more.
Thanks for reading
luke