webOS Nation Forums >  webOS smartphones (Pre, Pixi, Veer) >  Palm Pre and Pre Plus > Developer Help!!!
Developer Help!!!

  Reply
 
LinkBack Thread Tools Display Modes
Old 01/26/2010, 09:23 PM   #1 (permalink)
Member
 
kdubhotsauce's Avatar
 
Join Date: Feb 2009
Location: La Mirada, California
Posts: 102
Likes Received: 2
Thanks: 22
Thanked 20 Times in 13 Posts
Question Developer Help!!!

So, i'm still making an app similar to the lightsaber app and was wondering what the code was for when you shake the device, a sound plays, and when you tap on the screen, a differnt sound plays. I am not the best developer so a brief instruction on where to put the code would be nice.
kdubhotsauce is offline   Reply With Quote
Old 01/26/2010, 09:26 PM   #2 (permalink)
Member
 
echto's Avatar
 
Join Date: Dec 2007
Posts: 111
Likes Received: 0
Thanks: 0
Thanked 13 Times in 9 Posts
Default

Check out the documentation on Palm's developer site. Its good stuff!
echto is offline   Reply With Quote
Old 01/26/2010, 10:04 PM   #3 (permalink)
Homebrew Developer
 
fain's Avatar
 
Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
Default

Quote:
Originally Posted by kdubhotsauce View Post
So, i'm still making an app similar to the lightsaber app and was wondering what the code was for when you shake the device, a sound plays, and when you tap on the screen, a differnt sound plays. I am not the best developer so a brief instruction on where to put the code would be nice.
Most every thing you need will be here.
Accelerometer – Palm Developer Center

and here
Audio – Palm Developer Center
fain is offline   Reply With Quote
Reply

 

Tags
app, code, developer, orientation, sound

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0