Howdy all,
I'm in the middle of building an app and I need some guidance on where to move next. (Screen shots below).
At the moment I have a blank widget where a Preference Screen opens when the widget is placed. None of the preferences do anything yet which is where I'm stuck. What's the basis of the code I need to get them to do something to my widget?
I'm trying to create a power control widget in some sense so does anyone know how I can get a checkbox to place a toggle onto my widget. For example a wifi on/off button. (So when I select the checkbox and press confirm the widget will have a wifi toggle added to it).
Now I have already built another app where a user can turn the wifi on&off so I'm not asking for you guys to build my app for me. I just need help on the basic code to get my checkbox to do something.
Thanks in advance! Would really appreciate any help.
Screenshots (Big images):
I'm in the middle of building an app and I need some guidance on where to move next. (Screen shots below).
At the moment I have a blank widget where a Preference Screen opens when the widget is placed. None of the preferences do anything yet which is where I'm stuck. What's the basis of the code I need to get them to do something to my widget?
I'm trying to create a power control widget in some sense so does anyone know how I can get a checkbox to place a toggle onto my widget. For example a wifi on/off button. (So when I select the checkbox and press confirm the widget will have a wifi toggle added to it).
Now I have already built another app where a user can turn the wifi on&off so I'm not asking for you guys to build my app for me. I just need help on the basic code to get my checkbox to do something.
Thanks in advance! Would really appreciate any help.
Screenshots (Big images):

