Blog Archives

Volvo On Call (VOC) API

Hi!

This subject is something that really interests me, its an awesome technology that has many prospects for the future. So, Of course I would like to know how it works.

Before you continue reading, I would like you to know that the information written below is for education purpose only. Using the things explained below (for what ever reason) might (most likely) be breaking the Swedish law (since the volvo on call server is located in Göteborg (Gothenburg)). Contacting and use data from the Volvo on call API might be seen as data trespassing, which Sweden has a law against (Describes as “Dataintrång” defined as crime in 4 chapter 9 § of the crime code (brottsbalken)).

Posted in Charles, Development, Hacking, iPhone, Mac, Objective-c, Tutorials, VOC, Volvo, Web, Wireshark Tagged with: , , , , , , , , , , , , , , ,

Getting ANT to work with YUI compressor on OS X

Hi!

A while ago, a colleague introduced me to YUI Compressor. I was really amazed. I knew there were such kind of tools/applications out there, but never really bothered to find our which ones and how they work. So, I though, being a Mac user, that this should work on my mac as well… well… yes and no. Its not so easy getting it up and running, and I want to be able to run an ANT target in my PHP project to get this working.

So, I had some digging around to do, and ended up with my own little guide on how to get it working.

Posted in 10.8, Apache, Apple, Free stuff, Mac, MacPorts, Objective-c, OSX, PHP, Shell scripts, Tools, Tutorials, Web, Websites Tagged with: , , , , , , , , , , , , , ,

iOS 4 & iOS 5 tutorial: UIAlertView with link to WIFI or Settings app using Reachability and XCode 4.2

Hi!

This tutorial is about how to make your apps UX just a little bit better. Have you ever noticed the message in google maps stating that if you activate Wifi you would get a better positioning? Or that when you want to send a text message and your phone is on flight mode, that you get the message to de-activate flight mode in order to send a text?

Well, it is actually really simple. These are just links that are opened. So, in this tutorial I will show you how to do this using e.g. Reachability.

Posted in Apple, Development, Free stuff, iOS, iPhone, Mac, Objective-c, Tutorials, XCode Tagged with: , , , , , , , , , ,

Getting the area code from a Swedish phone number using PHP

Hi!

Currently I am working on a little project where I need to fetch the area code form a phone number for Sweden. This, however, is not one of my strongest sides… I really hate Regex.
Since this is an iOS project, I would like some objective-C code… so I jumped over to one of the greatest sites I know and made a post: http://stackoverflow.com/questions/8188964/getting-an-areacode-from-the-phone-number

I got a great answer, which I approved, and made a test script in PHP. This is me sharing this test script. If you can use it, have fun with it but, Do not forget to Like the post and Flattr it 😉

Posted in Development, Free stuff, iPhone, PHP, Web Tagged with: , , , , , ,

Spotify invites

Little off topic from my usual posts, just wanted to let you guys know that I have some (10-20) Spotify invites to give away. Maybe some of you US visitors that are interested?
Leave me a comment with your email address and I’ll send you one.

Posted in Free stuff, Okategoriserade, Spotify Tagged with: , , , , ,

Categories