Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Parnic
Old
(Last edited by Parnic; 26th January 2012 at 03:04 PM.) Reason: Posted link to marketplace
#1  
Member - OP
Thanks Meter 15
Posts: 57
Join Date: Jan 2011
Default [APP / MANGO] Samsung TV Remote Control

Grab this in the marketplace here!

I purchased a D-series Samsung 2011 TV a week or so ago (UN55D8000 to be specific) and noticed that iOS and Android both had remote control apps available, so I figured that the Mango release would be a great opportunity to try out sockets on WP7. I used the SamyGo project as a base for the TV's communication format and the great UI posted here (he asked for a WinMo version earlier in the thread, so I figured the images were meant to be used) to create a WP7 version of the remote.

The app requires you to be on the same network as the TV (Wi-Fi or wired via USB) because it uses a UDP Multicast socket to find the TV, receives the response(s) via UDP Unicast, then initiates a direct TCP connection to whichever TV you choose. I was pretty excited to get to blaze a trail through Mango sockets land to develop this .

Here are the TV's that this should work with:
  • LED 6500 series or higher (model code starts with 'U')
  • LCD 650 series or higher (model code starts with 'L')
  • PDP 6500 series or higher (model code starts with 'P')

When in doubt, look for an option like "network remote" on the TV's menu. You may try toggling this off and back on if it doesn't work right away.

edit: Some notes:
  • Make sure the TV is on - the remote cannot turn on the TV because it has to talk to a server that the TV only runs when it's on.
  • If the TV is in its "Smart Hub" program, it may not work - I noticed in my testing that if the TV was in its internet tv/smart hub mode, it would not prompt me to authorize the new remote. So if you have troubles, try exiting any programs the TV is running and try again.

edit: Update 1 posted:
  • Added timeouts and retries to TV searching - the app will attempt to re-search for TV's every 2 seconds. After 10, it will give up and allow you to either enter demo mode or refresh and try again.
  • Added ability to exit demo mode - now if you press the 'refresh' button while in demo mode, the app will do a real refresh and look for TVs again instead of requiring you to exit and restart. Note that if you try to refresh without being on WiFi, no TVs will be found.
  • Pressing 'power off' will drop back to the tv list - instead of just sitting at the controls screen, powering off your TV will drop back to the list of TVs and automatically remove the one that was just powered off. You can refresh the list if there are other Samsung TVs on the network or you turn yours back on.
  • Added device lock/multi-task resume detection - the app will automatically attempt to reconnect to a TV when resuming if you were connected to one when the app was deactivated. Note that there's currently no timeout for a TV connection attempt, so if your TV has been powered off, you'll have to exit the app and restart it to connect to a new TV.

edit: Update 2 posted:
  • Added text input - there's a new QWERTY button on the navigation page that will allow you to input text on the phone and send it to the TV. NOTE: This only works in areas where the TV actually supports it. The YouTube app is not a supported area, unfortunately. It doesn't even work with the actual TV remote's keyboard. If anyone knows of a way to make this work, please let me know, but for now I'm assuming the TV just doesn't support text entry in all areas.
  • Minor 'searching for tv' fixes - the app should try a bit more aggressively to find TV's during its 10-second searching window. Previously it was giving up too soon, so now it has had a new motivator installed and is ready to go to work.

edit: Removed the .xaps posted here as they were way out of date. This is a free app available on the marketplace from the link above.

Feedback quite welcome.
Attached Thumbnails
Click image for larger version

Name:	samsung_remote_1.jpg
Views:	2439
Size:	40.5 KB
ID:	645150   Click image for larger version

Name:	samsung_remote_2.jpg
Views:	1465
Size:	29.9 KB
ID:	645151   Click image for larger version

Name:	samsung_remote_4.jpg
Views:	1952
Size:	35.2 KB
ID:	645153   Click image for larger version

Name:	samsung_remote_3.jpg
Views:	1457
Size:	62.8 KB
ID:	683536  
The Following 11 Users Say Thank You to Parnic For This Useful Post: [ Click to Expand ]
 
KingpinEX
Old
#2  
Member
Thanks Meter 5
Posts: 68
Join Date: Dec 2010
Good to see mango apps are coming out, that's the one thing missing in this update.
Samsung Focus
Windows Phone 7
 
behh
Old
#3  
Member
Thanks Meter 0
Posts: 58
Join Date: Jan 2011
i will test this app with my samsung c650 tomorrow, and let you know if it works : )
 
mrbel87
Old
#4  
Junior Member
Thanks Meter 13
Posts: 24
Join Date: Jan 2011
Location: cagliari
don't work on samsung c6000...you can make it work on this samsung??
 
Parnic
Old
#5  
Member - OP
Thanks Meter 15
Posts: 57
Join Date: Jan 2011
Quote:
Originally Posted by mrbel87 View Post
don't work on samsung c6000...you can make it work on this samsung??
Maybe...what's it doing? Does it sit forever at "searching for tv..."? Do you have your TV hooked up to your network?
 
mrbel87
Old
#6  
Junior Member
Thanks Meter 13
Posts: 24
Join Date: Jan 2011
Location: cagliari
yeah, my tv is connected to the network via Ethernet, how do I find it?
searching fot tv...forever

sorry for bad english
 
behh
Old
#7  
Member
Thanks Meter 0
Posts: 58
Join Date: Jan 2011
same here, samsung le40c650 connected via ethernet to same network and phone is searching for connection forever .
 
Parnic
Old
#8  
Member - OP
Thanks Meter 15
Posts: 57
Join Date: Jan 2011
Alright, thanks for the feedback guys. I don't have any other TV to test it with, so I'll have to go back to the drawing board and see what I'm doing wrong. If either of you wants the source to poke around with, I'm happy to share.

I assume you both have Mango, right? :P
 
megagprime
Old
#9  
Senior Member
Thanks Meter 12
Posts: 263
Join Date: Aug 2008
Works perfect on my UN55D6000. Thanks, awesome work
The Following User Says Thank You to megagprime For This Useful Post: [ Click to Expand ]
 
mrbel87
Old
#10  
Junior Member
Thanks Meter 13
Posts: 24
Join Date: Jan 2011
Location: cagliari
yes, i've mango
is it possible that my TV does not support this feature?

 
Post Reply+
Tags
samsung remote tv mango
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...