UPDATE 2011-07-19: Following instructions also work with Ubuntu 11.04 Natty Narwhal.
Programming for mobile in Linux was a pain in the neck 6 years ago and it is still a pain in 2011. The following articles may help you in your journey:
If you survive let me know :)
Good luck! (have faith)