Android Sensors (Accelerometer ) (Android)

On Launch

On Shake changes Background

Create new Android Project

Project Name: Accelerometer

//tested from 2.3.3 to current android sdk 

Build Target: Android 2.3.3   //or greater than that

Application Name: Accelerometer

Package Name: com.shaikhhamadali.blogspot.accelerometer

Create layout file: activity_accelerometer

  1. create layout: 

No comments :

Post a Comment

Copyright © 2014 All About Android Template Design By | Pathmo