Hi, MrChaz. Thanks for the info.
I have another question. How can we map accelerometer readings to screen cords. Both systems are completely different. Is there any function for this?? On Jun 5, 4:28 pm, MrChaz <[email protected]> wrote: > To get the accelerometer readings you'll need to implement a listener, > have a look at the SensorManager. > As for displaying the images you can do that either in software using > a SurfaceView or openGL using a GlSurfaceView. > > Checking for intersections can be done when you update the positions. > The simplest way would to use Rect's based on the image position and > use the intersects method. > > On Jun 5, 6:03 am, "sagar.indianic" <[email protected]> wrote: > > > Hello, > > > I want to develop a simple application which will move an image > > accelerometer readings change. How can i implement that? is it > > possible using openGL only?? > > > Another problem is that how can i get notified when two images > > intersect while animating??? > > > Thanks for the help.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

