- Home /
Accessing the (physical) volume buttons on iPhone or Android
Is there a way to access the volume buttons on an iphone or android device from within Unity?
Answer by Eric5h5 · Dec 28, 2010 at 10:37 PM
You will get your app rejected if you attempt to repurpose buttons on the iPhone. Unity has no functionality for this anyway.
Well, what if you're writing the app for yourself - and on the Android, where Unity Remote is not yet available. Being able to access the physical buttons are useful debug input's even if it's not final deploy.
Yeah, I was waiting for someone to bring that up...as mentioned in that article, "The approval of Quick Snap appears to have been an error by an Apple reviewer." It's against their policies, so while you can sometimes sneak stuff into the store that normally gets rejected, don't count on it....
Answer by poanzefoijzoeijoirojio9029312 · Nov 15, 2016 at 10:30 PM
It seems to work for me. Hope it could help you:
http://stackoverflow.com/questions/27160114/using-volume-buttons-on-android-in-unity3d
Your answer
Follow this Question
Related Questions
Zero-ing the Input.acceleration.z 0 Answers
[Re-Edited] Contacts to app 2 Answers
Sending device info via WWW for Unity iPhone or Android 1 Answer
Mobile Device Video Camera 1 Answer
Editor Play game as device 0 Answers