Keeping a sprite at coordinate "y"?

Hello,

I am using box2d and I wants to keep a sprite in a "y" over which I apply an impulse to the left. The problem is that the object falls down instead of staying on "y" initial. I mean, I do not want to affect the force of gravity to "y".

Image
box2d por break__heart, en Flickr

Thanks.
You can set the gravity scale of the body

myBody.setGravityScale(0);
The problem is that I'm using andengine GLES2 and library for that engine does not have the property setGravityScale.
http://stackoverflow.com/questions/11239548/how-do-i-make-a-body-ignore-gravity-andengine

applying a force every time step is your next best bet

myBody.applyForce(world.getGravity().mul(-1), myBody.getWorldCenter());

Original thread: https://box2d.org/forum/viewtopic.php?t=9671