Archives
-
MonoDroid Preview 11 Logging Changes
With the latest MonoDroid Preview, the new logging functionality is:
-
ASP.NET Podcast Show #149 - MonoDroid Development on the Apple Macintosh OSX
Given that I have a cast on my arm, I installed the MonoDroid Development Framework for Apple Macs today. I walked through it and found that things are pretty much the same as with the MonoDroid plugin for Visual Studio 2010. This post shows the video displaying this. This video is based on MonoDroid Preview 11.1.
-
MonoDroid on the Mac
-
Displaying error messages with Android and MonoDroid
One of the most annoying things when I build a desktop app in .NET is MessageBox.Show() for displaying images or using a alert() in Javascript is that I have to click on the popup dialog to make it go away. I love the little messages at the bottom of an Android screen that come up, display some text, and then go away. Its a Toast. Here's a simple call to make one display.
-
Bundle identifier on iOS with MonoTouch
So, I found a couple of issues in developing with MonoTouch that I need to be aware of. These are:
-
MonoDroid Article in Visual Studio Magazine - February, 2011 Edition (hopefully)
Sweet, I found out back in early December that an intro article that I wrote regarding MonoDroid will be a "featured article" in Visual Studio Magazine. I have no idea what "featured article" means, but hey it sounds good. :-)
-
Logging errors with MonoDroid and Android
Error logging, its such a simple concept. When an error occurs, store some kind of information about the error. For some reason, we don't seem to do lots of it. Why? Well, its usually fairly easy to track down the information about an exception. With most web apps, you can pretty much repeat the errors as you need to. Logging on the server is fairly easy. Networks are fairly high speed and dependable items of infrastructure. Is error logging really that necessary?
-
MonoDroid is publically available
The ability to program Android devices in C# using many of the libraries that you are already familiar with is rather cool. You may/not have heard about MonoDroid, which is an implementation of the Mono Framework, for Android. It has been in a closed beta. About 2 weeks ago, it became available in an open beta. While there are a number of things that it doesn't do at this point in time, you can tell that the Mono team is working towards getting many pieces working. If you are interested, check out the MonoDroid web site.
-
Cool LINQ over JSON..........In MonoDroid no less
I was working on some json/rest web services written in windows communication foundation (wcf). I wanted to use the System.Json namespace to do some of this. I made an http web request asynchronously. In my call back method, I have following code doing a linq query over this json result.
-
Wrapping your WCF Responses
I've got a WCF web service that exposes its data over REST. I'm calling it from iPhone and Android. The method signature is something like:
-
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: