Wallace B. McClure
All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.
-
Writing to the UI with MonoDroid using RunOnUIThread
I've been pulling my hair out over the past day or so trying to update the UI in my test app. I was having problem after problem. I finally got down to my base problem. I could not write out to my TextView. WTF could be causing that? I can write to my UI in other parts of my app. This is pure craziness. I thought long and hard and nothing was coming to me. Wait, the light bulb went on. I am in the wrong thread. Great, how do I write in the correct thread? MonoDroid supports the entire AsyncTask set of objects, but this seemed like overkill. I was reading and came across RunOnUIThread().......Bing..........The lightbulb has been invented...BlueStar Airlines (oh wait, wrong context). Anyway, here is what I needed:
-
Calling a REST Based JSON Endpoint with HTTP POST and WCF
Note: I always forget this stuff, so I'm putting it my blog to help me remember it.
-
How did I get here? My route to Android, iPhone, Windows Phone 7, and interest in Mobile Devices
I get asked all the time how/why I got interested in mobile and jumped on this fairly early. I tend to give half answers because it wasn't just one thing that took me to mobile, but a whole host of separate ivents culminating in a specific event where I wasdoing market research in May/June 2008. Let me throw out the events and the facts about me:
-
Getting the Dalvik Debug Monitor Service to run on Windows with Android 2.3 SDK
As I found out, DDMS doesn't run by default when you install the Android 2.3 SDK in Windows. If you start it up, you get an error message "Failed to get the adb version: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified." Thankfully, with the magic of internet search engines, I figured out that I had to add the directory that contains adb to my path statement in Windows7. After that, it just all worked.
-
Bytes by MSDN - Let's talk Cloud
While I was at DevConnections in Las Vegas, I was honored to be interviewed by Tim Huckaby for "Bytes by MSDN" on Cloud Computing.
-
Mobile Connections in Las Vegas April 17-21
I'll be speaking at Mobile Connections in Las Vegas. The event is April 17-21. The event is a cross platform mobile event. There will be sessions on iOS, Android, WP7, Blackberry, and cross platform tools. The sessions I am speaking on are:
-
Professional Android Programming with MonoDroid and .NET/C#
Professional Android Programming with MonoDroid and .NET/C# is now listed on Amazon.com and Wiley/Wrox. Here's a little bit about our book.
-
Speaking on MonoDroid - Android Developer Conference (AnDevCon) - March, 2011 in San Francisco
I'm honored to announce that I'll be speaking at AnDevCon in March, 2011 in San Francisco. I've been spending a significant amount of time on iPhone and Android. I'm trying to get a startup off the ground. Mobile devices will be an integral part of this startup. As such, iPhone and Android will be our target devices at this point in time. I'll be doing an all day pre-class as well as parts of the pre-class as sessions through out the conference. I'm looking forward to this. If you are interested in Android Development, please come to this conference. If you are coming to this conference, please look me up while there.
-
ASP.NET Podcast Shows #146 & 147 - WebMatrix, Razor, and ASP.NET Web Pages Oh My
Since I forgot to post these shows here, I'll post the links to the shows. Enjoy:
-
ASP.NET Podcast Show #145 - Windows Azure Part III with the Visual Studio 2010 and Azure 1.2 Tools
This show is on Web & Worker Roles in Azure, Blob Storage, and the Visual Studio 2010 Azure tools.