Helping you solve those tough coding problems!
Learn some great web development and web design tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | css | jquery-development | sql | ajax | c

Follow @endyourif rss Facebook LinkedIn

How I overcame my anxieties How I overcame my anxieties

Published on Oct 19, 2013 by Jamie Munro

Like millions of regular people, I have anxieties. I have a rough time sleeping, I stress, and I get depressed. Very typical behavior for many people.

Rather than pretending these issues were not real, I built an Android application and met them head on! I created Behavior Therapy Tracker and through its constant use I was able to overcome many of my anxieties.

Let me explain my story and I hope it can help you as much as it has helped me.

Read more >

Tags: stress | Theory | android | Android

Android ListView with a Footer Form Android ListView with a Footer Form

Published on Sep 26, 2013 by Jamie Munro

During the creation of my first Android application Behavior Therapy Tracker I wanted to display a list of behaviors to manage; more importantly though, I wanted an easy way for users to add new behaviors to the list.

My solution to this problem was simple, add a one-liner form to the footer of my ListView that contained the behaviors.

Read more >

Tags: android | Android | Java | listview | linearlayout | relativelayout

Behavior Therapy Tracker Behavior Therapy Tracker

Published on Sep 1, 2013 by Jamie Munro

Since I've become an adult, I've had stresses, anxieties, compulsive behaviors. I've always had a hard time dealing with them. In fact, in looking back now, it dates back to even my childhood.

I created this Android app Behavior Therapy Tracker as a tool to help me; which it has immensely. It works by creating a list of behaviors. This list can contain anything that you wish to track. For example:

  • Stressed about work

  • Unable to sleep

  • Checking I turned the oven off

Along with behaviors, a list of refocusing activities are required. When youre practicing behavior therapy, its important to first recognize your behavior (the list you created previously) and attempt to train your mind to ignore or avoid it. This is often accomplished with a refocusing activity. For example, when you are stressed, its often a good idea to turn the negative thoughts into positive thinking. Positive thinking is often a fantastic tool to overcome many anxieties and disorders.

After your behaviors and refocusing activities are created, you can now begin tracking your behaviors with this simple form:

For best results for tracking purposes, its advised to attempt and enter each occurrence immediately or on the same day. The reporting tools that have been created can hopefully help you detect patterns in your behavior, arming you with tools to help fight them in the future.

Why is this a paid application?

I've made this a paid application because I have a family to support and I invested a lot of time in creating this application. As a sign of support in return for what will hopefully help you, Im asking for a small payment.

Will you continue to add features?

Yes. I already have a few ideas in mind to extend the functionality of this application.

Share your thoughts

I would be more than happy to hear your thoughts on the app. Dont hesitate to email me at info at

Read more >

Tags: stress | Theory | android | Android

PhoneGap and Jquery Mobile A Truly Winning Combination PhoneGap and Jquery Mobile  A Truly Winning Combination

Published on Sep 11, 2012 by Jamie Munro

Any regular readers may have noticed that I finally got around to updating and adding a new book under "My Books" on the right-hand side of the screen. Yes, I not-so recently published my third book (and second with O'Reilly) earlier this year.

The book is called 20 Recipes for Programming PhoneGap Cross-Platform Mobile Development for Android and iPhone. Throughout this book, I get you up and running quickly using the PhoneGap API along with the Jquery Mobile API to take care of the pesky mobile design issues.

Much like I did when I released my MVC 3.NET book, I provided a free chapter from the book for my readers. Well here is an excellent recipe sample from my PhoneGap book. The goal of this recipe is to provide a standard approach to automatically fire (or trigger) a JavaScript function when a PhoneGap page has loaded either on initial launch or after the user has navigated within the application.

Read more >

Tags: jquery | phonegap | android | PhoneGap | jQuery | iPhone