1. Get the library jar from your phone, using the ADB (Android Debugger Bridge). It will be in /system/framework somewhere. In my case it was the file fmreceiverif.jar. 2. Unpack the jar and get the classes.dex file. 3. Use dex2jar to convert this file to a jar file, i.e. convert the Dalvik VM code into […]
Month: July 2012
WordPress <code> does not keep code indent’s – use <pre>
Yup. Silly as it may sound the <code> tags in WordPress are pretty much useless when you want to paste a code snippet and not have it look like a poem written by crazy robot… 🙂 Use the <pre> .. </pre> tags instead. Here’s an example. Code formatted with ‘<code>’: while( 1 ) { tmeasure_t0( […]
Convert UNIX time_t into a date/time text string
Often times, when working with the standard Linux/UNIX time format (time_t) one needs to quickly find out what is the “human readable” date and time text string a particular time_t value corresponds to. NOTE: The ‘C’ time_t type is the number of seconds elapsed since the “epoch”, the epoch being January 1st 1970 at 00:00:00. […]