Labels

Sunday, June 3, 2012

Android App Demo - My Grand -


Introduction 

Learn how to allocate 2D graphic on the screen
Learn how to integrate activities with Key stroke
Learn how to integrate audio files to application

Class name: MyGrand  inherits Activity
è Access to key pad, audio methods (utilities)
Class name: KeyView inherits View
è allows access to all 2D methods

User Interface 


Key Definitions and 2D Interface
  • MyGround-Activity OnKeyDown() method  is the handler
  • When a Key pad (A-H) is pressed, it shades the location of the key in 2D.
  • Piano Keys     Middle C-High C are mapped to: C,D,E,F,G,A,B,H




Audio Interface 

MyGround-Activity OnKeyDown() method  is the handler

When a Key pad (A-H) is pressed, it makes the sound of selection.
Successfully tested with the following format
MP3
MP4
WAV (Windows XP)


Does not compatible with
WMA(Windows7)


Need Recoding Software
Sound Recorder (Windows accessories)


Future Enhancement Ideas




Play list
Browse files on the handset
Upload the file on App
Register in play list and play
Key extension
Support 67 keys
Display music notes






No comments:

Post a Comment