Author: Moazzam

  • PHP and Sabre

    What is Sabre? Sabre is a company that has data of all flight schedules, etc. And, using their system, you can book flights, hotels, rent cars, etc. Getting PHP to talk with Sabre I tried PHP Soap and nuSoap. They both didn’t work for me because of their limitations. So I ended up writing a…

  • Android HttpRequest class (version 2.1)

    Version of of this class had some bugs so I corrected them and here is the latest version 🙂 Enjoy! package moz.http; import java.net.*; import java.io.*; import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.apache.http.client.HttpClient; import org.apache.commons.*; import android.util.Log; /** * HTTP Request class * *…

  • HTTP Request class for Android (version 2)

    Hi Everyone, After some people pointed out the problems they had with version 2 of this class, I took it all out.  Please go to: http://moazzam-khan.com/?p=490 for version 2.1

  • Removing mywebsearch as the default search engine from Firefox

    If you have accidentally installed myWebSearch as the default search engine for firefox, and want to remove it then do the following : Close Firefox Go to C:\program files\mozilla firefox\chrome\ Delete the files m3ffxtbr.jar and m3ffxtbr.manifest Go to c:\program files\ and delete the mywebsearch folder, if it is there.

  • HTTP Request class for Android

    Here is a class that can be used to make HTTP get and HTTP post requests. I haven’t commented everything but the usage should be pretty clear from the method signatures. Note: This is for Android 1.5. import java.net.*; import java.io.*; import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set;…

  • Google Voice Review

    I had signed up for Google Voice a week or so ago and I got an email today saying that I was invited to test it out. So, here is a somewhat detailed review of it. Keep in mind that it is still in testing phase :). How does it work? Google lets you choose…

  • Cheap cell phone plans

    Almost a century ago (when my grandparents were young) land lines were considered to be very advanced technology. Dial tone phones came out when I was a kid. In just a few decades, phones have become so common and mobile that they have become a part of almost everyone’s daily life. Cell phones (or mobile…

  • Google voice

    Yes, people. It’s out. At least for the test phase Google didn’t really keep it a secret that it wants to get into the telecom industry. And, we all know that when Google does something, it changes everything! 🙂 Google voice is an application that runs on your phone and PC. Google will assign you…

  • Producer/consumer queues in C#

    What is a producer/consumer queue In a restaurant there are chefs in the kitchen who wait for orders from customers. As soon as a customer orders something, they (the chefs) make it and serve it to them (the customer). A producer/consumer queue is the same. There are workers who wait for a “job” to be…

  • Dua for setting of a debt

    If you are in debt, then you should recite these duas (in images).  [ From “Fortress of a Muslim” ]