Handling accelerometer in real mobile phone might be quite tricky. While in emulator that data is almost always perfect (haven't tried in windows 7 phone emulators, from what I've seen it's pretty decent emulator), the value in real phone always jumps from one point to another even when mobile is standing still. So you have to modify data a little to get more stable results.

Let's create an example app with small dot in the center, which will move based on your accelerometer data, but if phone is lying still on table dot is also still.

So what are we going to do is to measure accelerometer data in certain period of time and create an IIR filter, which will take some percentage of the value of last accelerometer data. You can adjust filter by choosing values between 0.5 and 1, where in 0.5 you will take half of the last data and half of the new data. And value 1 on the other hand, won't use any of the last stored value.

//create window
var win = Titanium.UI.createWindow({  

//create a dot, that we would manipulate with accelerometer
var dot = Titanium.UI.createView({
	backgroundColor: "#000",
	width: 20,
	height: 20,
	left: Titanium.Platform.displayCaps.platformWidth/2,
	top: Titanium.Platform.displayCaps.platformHeight/2

//add dot to window

//open window

//get last measure time
var lastTime = new Date().getTime();

//get time offset
var offset = 100;

//create filter (value between 0.5 and 1, where 1 is no filtering)
var filter = 1.0;

//last values
var last_x = 0;
var last_y = 0;

//get accelerometer data
	//get current time
	var now = new Date().getTime();
	//check if time offset is passed
	if(lastTime + offset < now)
		//use last value, apply filter and store new value
		last_x = e.x * filter + last_x * (1 - filter);
		last_y = e.y * filter + last_y * (1 - filter);

		//move dot accordingly (5 times as accelerometer)
		dot.left -= (last_x*5);
		dot.top += (last_y*5);
		//store last update time
		lastTime = now;

//disable orientation switching
if (Ti.Platform.osname == 'android'){
	Ti.Gesture.addEventListener('orientationchange', function(e) {
		var curAct = Ti.Android.currentActivity;

And here is a video of this test application:

You can adjust offset time and filter to your own feeling.