The problem is that camera shake is 99% rotation, not movement. Accelerometer data wont do much good to fix that. You would want a gyroscope, which is likely what that guy's device is using. An accelerometer is fine for detecting general orientation, but not really something that will be accurate enough to correct camera shake. Even if you went through the huge amount of trouble to translate that information it's not going to be nearly as useful as stabilizing video visually.