Saturday 30 November 2013

Retrieve unread sms in Android

    In order to get unread sms messages in an Android application you need to setup a filter "read = 0" as shown below. 

Retrieve sms messages on a particular date in Android

    In order to get sms messages received on a particular date in an Android application you need to setup a filter which selects messages on the basis of date comparison as shown below.

Friday 29 November 2013

Running embedded linux on mpc8572ds using NFS and TFTP servers

    In this post I will mention the steps that should be performed to run embedded linux on powerpc board mpc8572ds using NFS and TFTP servers. I have used mentor embedded linux for this purpose. In order to boot the target with linux we need to perform following steps.

  • Setting up NFS Server
  • Setting up TFTP Server
  • Running embedded linux on target

Monday 11 November 2013

Starting VNC on Ubuntu 12.04 with full desktop

    In this post I will mention the method which can be used to display full Ubuntu 12.04 desktop to VNC clients. I have noticed that starting from Ubuntu 12.04, VNC clients don't show full desktop. First I will mention the steps to install VNC Server and connect a client to it. I will also show the terminal only desktop which is the default screen. Then I will mention the method which can be used to display full desktop

Saturday 26 October 2013

Setting up VNCServer on CentOS

    VNCServer is used to give control of the screen to remote clients. VNCServer allows to share different desktop perspective to different client using port numbers. In this session I will explain to setup VNCServer on CentOS 6.4 desktop machine.

Thursday 24 October 2013

How to terminate linux process

    In this post I will mention some of the ways which can be used to kill a process in Linux environment. Most of the command line methods discussed here are also applicable to embedded linux targets.

Wednesday 16 October 2013

Rotating video using VLC media player

    I mostly make mistake of recording rotated videos using my phone, so I end up seeing a lot of my videos on my pc while my neck is tilted. Luckily VLC media player has an option of rotating videos while they play. First you need to download VLC media player from http://www.videolan.org/vlc/index.html, it’s completely free and supported for all platforms: Windows, Linux, Mac OS X and Unix.

Tuesday 15 October 2013

PDFescape vs PDFZen

    Few days ago I was trying to edit an important pdf file and didn't have any pdf editor installed in my PC. So I looked in to some free online options. I was able to figure out 2 good options PDFescape and PDFZen.

   Let me specify usage, pros and cons of these editors.

Saturday 12 October 2013

Jubula vs QF-Test

Jubula is a free tool for functional testing through the GUI. It supports Java (Swing,SWT,RCP) and HTML as well as .NET and mobile testing. Test specification with Jubula does not involve writing any code, nor are tests recorded. Instead, a powerful library of reusable keywords is provided.
QFTest is an automated testing tool to create automated regression and load tests for Swing, SWT, Eclipse plugins and RCP applications, ULC, CaptainCasa, Java applets and Java WebStart - on Windows and Unix

Embedded Enginner interview questions

    In this post I will give details of how I evaluate a candidate for embedded engineer post. I will mention the question that I ask, reason for asking a particular question and my selection criteria to short list an individual.

    I partition my interview in four topics; programming, operating systems, computer architecture and concepts regarding debugging an embedded target.


Friday 4 October 2013

Setting up ULink2 for CSMIS DAP Serial Wire Debug mode configuration.


The Keil ULINK2 USB-JTAG Adapter connects your PC's USB port to your target hardware (via JTAG, OCDS or Serial Wire) and allows you to download and debug your programs on targets and program on-chip and external FLASH memory.

Tuesday 1 October 2013

Diverting Ubuntu network traffic to Windows machine.

In this post I will describe how to divert web or network traffic from ubuntu PC to Windows machine using Fiddler software.  

 Install Fiddler on Windows and set following proxy option in it to receive http requests from Ubuntu machine.

Saturday 28 September 2013

Android activities hierarchy

In this post I will mention couple of ways to make sure that parent / child relationship is maintained between activities. This is essential to make sure that the system knows which activity to start when Up is pressed on phone or action bar.