Can't get setSmsEnabled to work

63 views
Skip to first unread message

Brian

unread,
Mar 31, 2013, 10:10:07 PM3/31/13
to google-v...@googlegroups.com
I have been trying to set the checkbox "Receive text messages on this phone" by calling setSmsEnabled() but it does not seem to be working.  Can anyone shed some light?

Here is my code:

AllSettings settings = objGV.getSettings(true);
Phone[] phones = settings.getPhones();
phone[0].setSmsEnabled(false);

Thanks,
Brian
Reply all
Reply to author
Forward
0 new messages