Re: BLE App vibrating in background when getting data from BLE device
Re: BLE App vibrating in background when getting data from BLE device
- Subject: Re: BLE App vibrating in background when getting data from BLE device
- From: Mike Bolton <email@hidden>
- Date: Wed, 04 Jan 2012 20:26:18 +1100
Make sure to also add the "App plays audio" (raw key: "audio") to the
UIBackgroundModes key in the plist file.
This raises an interesting question, though. According to this
unofficial blog post, one of the major reasons of App Store programs
being rejected is for using continuous vibration in your application:
http://10base-t.com/unofficial-appstore-rejection-criteria/
Now I can think of many uses with BLE peripherals for which you'd
actually want continuous vibration enabled on your phone. For
example, say you've got a BLE peripheral in your wallet to alert you
if you forget it somewhere. You'd probably want the phone to vibrate
continuously if your wallet becomes separated from your phone, so you
can be alerted even if you've got the phone in your pocket and are in
a loud environment. Is this a valid and acceptable use for continuous
vibration, or would this sort of application be rejected from the App
Store?
AC
> Hi Poon,
>
> There are technically very few limitations to what you can do in background
> mode. So, yes should be possible. You could try by calling
> AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) while in the background.
>
> Thanks, Joakim
>
> On Dec 29, 2011, at 2:18 AM, Poon Yuk Cheong / 昌 wrote:
>
> > Hi all,
> >
> > Is possible to make the phone vibrating if an App is in background with
> > setting UIBackgroundModes = bluetooth-central when getting data from BLE
> > device?
> >
> > Best Regards, Cheong
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden