February 21st, 2009
While writing commercial applications which require some sort of licensing/copy protection/user duplication prevention ,developers need to have a method for retrieving any unique id associated with a device.For most practical purposes this unique id is the IMEI(International Mobile Equipment Identity) or the ESN(Electronic Serial Number)of the mobile device.On all phones this can be retrieved by dialing “*#06#”.A few mobile platforms have this exposed by way of native API’s which return the IMEI/ESN of the device.On some mobile platforms such as Windows mobile, these API are restricted and need the application to be signed for the API to function properly.But there exists a way in which the IMEI/ESN can be retrieved by all applications regardless of the platform,this approach uses the GSM/CDMA modem to get the IMEI /ESN .All that is required is to programmatic ally open a serial port connection to the modem(mostly on COM9) ,initialize the modem and then send the “AT+CGSN” command.In response the modem will give you the IMEI/ESN of the device.In case you are not able to establish a connection on COM9, try polling all the available COM ports and see which one responds to specific commands.
Posted in General | No Comments »
February 21st, 2009
There’s a lot that has kept me out of action for the past 3 years,personal as well as professional.I’ve grown older professionally and personally(my receding hairline is a testament to it!).I’ve restarted the blog because i believe that i have a lot to offer in terms of my perspective on technology.So here it is hoping that i can stay true to that….
Posted in General | No Comments »
February 28th, 2006
One of the most annoying things while working with code libraries is the lack of documentation…it’s almost as if, the more usefull the library the lesser documentation available on it.. 2 classic cases that stood out for me was while using OpenSSL and zlib.OpenSSL takes the cake though, a lot of things are left to the developer to make sense of it…
Posted in Technology | 2 Comments »
February 3rd, 2006
Gtalk was supposed to go interop with the release of libjingle..well from my experience that doesn’t seem to be the case exactly.The protocol which gtalk uses for signalling is not the same as the JEP specification for jingle(JEP- 0167) which causes my server to reject all requests coming from a gtalk user
…
So much for interoperability..sigh
Posted in Technology | No Comments »
February 2nd, 2006
It’s been about 5 months since i started working on xmpp/jabber,and i’ve been sold hook line and sinker!!!.I don’t know if jabber/xmpp is the future of IM but it sure looks like with Google already jumping into the bandwagon.
So what have i implemented in xmpp so far ..hmm. let’s see
XMPP core,XMPP-IM and presence and the following JEPs
Discovery Info, Jingle,Jingle audio,Non-Sasl Authentication to name a few….
More on my experiences with xmpp/jabber later…
Posted in Technology | 1 Comment »