Read accelerometer data on the phone

If you already have the accelerometer working, all you need is a serial.print command to get the data out via bluetooth. The rest is just procedure, not programming. As it is, and if you seriously mean to detect earthquakes, I submit bluetooth would be a pretty poor choice, as you could spend months hanging around waiting for something to happen, and praying the batteries don't go flat. GPRS would surely be a better choice.