We've Moved


It can be found at the new website: http://fifteen15studios.com/blog/

Personal Blog

Want to know more about the man behind the programs? Check out my personal blog: http://havens1515.blogspot.com

Monday, March 25, 2013

Auto Respond widget progress

I had posted a question on StackOverflow about why my widget wasn't working when clicked, and the other day someone responded asking if I was still having trouble with it. I was, so I said yes.

After seeing the response, I decided to show a friend of mine that it wasn't working... suddenly, it WAS working, just not properly. Before, it had done nothing when I clicked the widget. Now, it did something, just not the correct something.

Fast forward to today. I decided to spend some time trying to figure out what the heck was going on. After a couple hours of sitting and coding, I got it working!... well, mostly. There are some display oddities if there's multiple widgets on the screen, and it takes a while for the widgets to initialize... but it does what is expected when you click it!

I'm done for now (I need to get myself some lunch and give my eyes a rest from this monitor) but I'm sure that with a little more time spent on it, I can get this widget working 100% as expected.

Right now it's just a 1x1 widget. When you create the widget, it asks you which of your saved messages you would like to use. After it's created, if you click the widget, it toggles Auto Respond and automatically changes the message to whatever you selected when setting up the widget. When you click the widget off, it toggles Auto Respond off, and returns the message to whatever it was set to prior to enabling it.

The left shot here is when it is off, the right is after toggling it on. I have the purple icon option turned on, so the on shot has the purple icon, but if the purple icon option was off, it would be the green icon. "Default" is the name of the message that I picked when I created the widget.

Once I get this one fully figured out and working 100% as I want it to, I am going to eventually add some larger widgets. Maybe some where you can insert a message on the fly, and toggle it as well. Maybe some for schedules, where you can enable/disable schedules from your home screen.

All widgets will only be available in the Pro version, so if you're using the free version you will need to upgrade to use this feature once I release it.

For those of you currently running the Pro version, there MAY be a small bit of code that I accidentally left in the release version. You may be able to create a widget, but it will not do anything until I release an update.