Hello,

I'm experienced .NET developer and just switched to Android and want
architecture guideline for my simple application.
I want my application to detect "shake" event when screen is ON and
turn it OFF when "shake" happens (basically emulate Power button press
on "shake" event). I found some sample code how to detect "shake"
event. My question is what kind of application shall I be making?
I assume it shall be a "service"? Also I saw that newer versions of OS
have different implementation of Accelerometer sensor, do I need to
target different versions of OSes with my App or they are backward
compatible?

-- 
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

Reply via email to