Category: networking

Android: Retrieve JSON from service via DNS SRV lookup

Quick snippet of code for anyone in need of an SRV lookup example. If your apps retrieve data from a service and you’re hard coding a URL, DNS is a great way to make that more dynamic. DNS Java is the library being used here (http://www.dnsjava.org/doc/). private static class ConfigUpdater extends AsyncTask<Void, Void, JsonConfig> { private static final String SRV_RUE_CONFIG_PREFIX = “_rueconfig._tls.”; ConfigListener listener; String request_url; String query_url; String username, password; String errorMsg; public ConfigUpdater(String url, String username, String password, ConfigListener listener) { this.username = username; this.password = password; this.listener = listener; query_url = SRV_RUE_CONFIG_PREFIX + url; errorMsg = “Failed...

PUC – Personal Universal Communicator

Once again, Christmas has come and gone. I’ve been working all year to deliver on the Universal communications app aimed at not just the accessibility community but to everyone. We want the PUC project to be the end all be all for communications. We have so much room to improve (who doesn’t?) but we want to share our work with the world. From being one of the first to implement the new FCC mandated real time text, to high quality video, HD voice, multi-media messaging and more, PUC is the ultimate communications platform. Having been the Sr. Software Engineer for...

Raspberry Pi’s, Photons, and the magical world of Computer Engineering

Very often we can find ourselves in a career rut no matter the industry. We do the same things, learn similar skills to what we know, and are far too frightened to branch out to try something new. As a means of fighting complacency I’ve wanted for a long time to jump into the world of microcontrollers / hardware, but there has always appeared to be such a high barrier to entry. This article is for the Software Engineer who has been unsure of the hardware world but has an interest in giving it a go. My goal though this...

Press: iD Tech Updated Success Story

So grateful to iD Tech (Programming Academy) for the kind words and update of my story with them. iD Tech has had one of the greatest impacts on my career and I would recommend them to anyone looking to spend a summer learning about or teaching others about Software Engineering. To learn more about iD and read about my experience with them check out the updated story over at iDTech‘s site.

Android Project: Fork of Google “Meter” live wallpaper

Though I’m still working full time I couldn’t help but get my hands dirty with some code over our Christmas break. I wanted to create something I would use on a daily basis as well as have that “cool factor.” Thus spawned the idea of modifying Google’s data centric live wallpaper “meter” for Android. My fork currently adds a settings page that can be configured to do a GET from two URL’s and display that information atop of your Android Desktop. My initial use case for this is to display system status from my office and home Macbooks such as...

A challenge to the insecure entrepreneur: You gave me my career

I get it. Being an entrepreneur can be discouraging. In fact, it can very often end up costing you everything you own. Family and friends may not understand the reasons you pursue the things you do. They don’t see the vision, the greater picture. People say you’re crazy. My word to anyone who is discouraged with where they are at, overwhelmed with finances, or any other worries that have come your way because you chose to pursue your dreams is this: You gave me a career. The reason I can work a salary based Software Engineering position today and provide...

Android Tools: Simple HTTP RESTful requests using Volley

For as long as I can remember Android leveraged AsyncTask’s and HttpUrlConnection’s to perform network operations. The reason for this being is that any synchronous tasks performed on the UI thread would cause an application to hang until a response was returned. All of this extra code was a complete hassle and simply added unnecessary time to development. Google has made every Android developer’s life easier now by introducing the Volley maven library. Volley completely does away with all of Android’s woes, worries, and frustrations when performing HTTP requests. At a high level, http requests are wrapped in a Request...