[Ovmsdev] Apple PUSH Notifications Sounds
Mark Webb-Johnson
mark at webb-johnson.net
Fri Feb 17 12:39:07 HKT 2012
Guys,
When we send a PUSH notification to the Apple devices, we play a 'default' sound. It seems that this is not configurable on the phone, and only one (boring) system default sound can be used for all alerts.
There is an alternative. We can store a sound file in the App itself, and the phone can use that file for the alert. To do this, we need (a) the sound file, and (b) to specify the sound file (rather than 'default') when sending the alert.
Does anyone want to have a go at this?
Apple has a document on the format of the file (Linear PCM, MA4 (IMA/ADPCM), µLaw or aLaw format, < 30 seconds in length):
Apple; Preparing Custom Alert Sounds
Only free sounds, please - nothing copyright or commercially restricted. Remember the alert would normally be for a charging issue.
Regards, Mark.
P.S. What is the sound of a Tesla Coil alerting? The contractors opening in the car (ground fault)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20120217/78aeca59/attachment.htm>
More information about the OvmsDev
mailing list