HMAC-SHA1 Base64 Result With Objective-C

A few days of hard done nights were all inspired by faulty encodings. Talk about “Hello World” experiences LOL. Keeping things in mind, to really smooth things up between Objective-C and PHP, in any Objective-C functions needing to encode/decode strings like PHP, here’s the encoding type: NSASCIIStringEncoding Do not interchange this with any other or things will go wrong :( Here are snippets to generate HMAC-SHA1 hashes in its Base64 form encoded correctly for OAUTH v1.0a authentication. ...

August 16, 2011 · Batista Harahap

OAUTHnesia Client for Objective-C

Okay for the last few hours, I’ve been learning how to code in Objective-C and the first result is an OAUTH client for Urbanesia. I haven’t tested thoroughly though. The class basically wraps POST & GET requests to Urbanesia with OAUTH requirements. Instantiating the class, you will have to provide Consumer Key & Secret obtained from Urbanesia. The current implementation requires User Key & Secret for every requests too. Future release of OAUTHnesia will include non Use Key/Secret methods and XAUTH. ...

August 14, 2011 · Batista Harahap

Mobile Trends - Looking Back 1 Year

I’m still fairly new to mobile development, just a little over a year. As I dig deeper, it just gets more and more interesting. This won’t be a technical writing like a tutorial but more to how the development scene has been evolving for the past 1 year. Putting it simple: Trends. I started my mobile development efforts with Blackberry. Against all odds, I installed the SDK on a Windows virtual machine using Parallels Desktop. The experience developing using a virtual machine was painful. For long term use, it’s too slow and too awkward. Anyways, I managed to connect the Blackberry device with the IDE. So I created my first Hello World with it. It took me a great deal of my time learning about the platform. Most of the key information are for paid developers unfortunately and sadly enough, BIS is needed and I didn’t have it. A big roadblock for a newbie developer. ...

March 3, 2011 · Batista Harahap