CoreBluetooth / RxBluetoothKit: How to forget a device? - core-bluetooth

Is there a way to make the bluetooth central "forget" a device, so it's not paired anymore?
I know that only some devices Require a Paired Connection to Access Sensitive Data. Let's say I am referring to those. See for example this question
I am looking for something that allows the user to tap on a "forget" button, to later re-pair the device and connect/disconnect to it. (Without having to go to settings app )

This is not possible.
The user has to manually go to the Bluetooth settings and forget the device.
All apps which use BLE and present on the app store ask the user to manually go to Settings and forget the pairing.

Related

Can we detect ibeacons through android phones without explicitly turning on the bluetooth or location?

How can we detect ibeacons from a android phone without explicitly switching on the bluetooth or location...?
I want to design an app which detects for the beacon even when the bluetooth is off...please suggest the answer
Sorry, this is not possible. Bluetooth must be turned on to detect t beacons as it requires using the Bluetooth radio to do a scan.
With BLUETOOTH_ADMIN permission (required for scanning anyway), it is possible to detect if bluetooth is off, then turn it on long enough to do a scan, then turn it back off again. The user will see the Bluetooth icon when this happens, and the user will be told at install time that the app requires this permission.

Exchange 2013 settings for Ipad using conference room app

I've been having issues getting these ipads working to our liking in our environment. First of all, we are using an app that syncs calendar with exchange and each ipad has an email address setup that 've configured as a room. It works great but I have a single issue that is bugging us and I cannot figure it out.
We want the screens on 24x7 without any pin or password. Basically disable the pin code or password completely for these devices so we can set the screen sleep to it's 'never' setting.
Where and how do I do this in Exchange? I know Exchange is where this needs to be done but I'm not 100% sure what to do or where to change it. Any help would be appreciated.
I think you are really asking an iPad question, more than an Exchange ActiveSync question.
In iPad Settings > General > Guided Access, you can enable a "kiosk mode". Apple just calls it Guided Access, but what you're effectively doing is locking the tablet to a single application. With the feature turned on, triple click the Home button to lock the application. You can configure a PIN to release Guided Access, or rely on the obscurity of the triple click to unlock the device.
As for ActiveSync, you should create a new ActiveSync policy and assign it to the room mailboxes. Normally a room mailbox account is disabled, but I would imagine your solution gets around that issue.
Creating a new policy can be accomplished in the Office 365 Exchange Admin Center, under Mobile > Mobile Device Mailbox Policies. Click the Plus [+] to create a new policy, give it a name, and configure options. I would advise against not requiring a password. You can leave the "Require sign-in after the device has been inactive for X minutes" option, and I think that will allow you to set the auto-lock to Never.
Finally, I suggest you audit usage of this ActiveSync policy, since it is less restrictive than normal.
You can also create and modify ActiveSync policies using Powershell, using New/Get/Set-MobileDeviceMailboxPolicy. Get and Set-MobileDeviceMailboxPolicy is going to be useful for enumerating some of the more obscure settings and requirements, you might find something useful.

Way to Programmatically Reboot iOS Device?

Basically, I'm looking for any way to go about this at all, no matter how cumbersome or unintuitive, so long as it can be done on iOS 7 (which the third party SBSettings framework currently cannot), and can be done on a non-jailbroken device.
This is for an app which will be loaded into iPads in a physical enclosure so the power button is inaccessible. The device itself will be in single app mode, which cannot be enabled or disabled except through our network-accessed MDM solution. The issue I'm trying to find a way around is that every now and then, the network connection stops functioning and the only way to re-establish it is to restart the device, which can't be done without an internet connection other than to physically press the inaccessible buttons. The reboot action would be password-locked in a hidden event handler and so inaccessible to normal users. This is not an app that will ever see the app store, so Apple's user interface guidelines don't necessarily apply.
Alternatively, is there any way to enable/disable assistive touch programmatically or any other possible method that will enable rebooting the device while in single app mode without physically touching the power button?
This is not a real answer (just thinking aloud).
Obviously, you can't do this through public API.
I believe, API's like SBReset can't do this either, because they are protected by entitlement.
I believe your simplest option to find some reasonably low level API which crashes and use it to crash a device.
I had exactly the same question some time ago:A way to reboot iOS device or restart Springboard using private API?
P.S. I don't have a way to find these crashes. I would recommnd to talk to jailbreak community (people who come up with jailbreaks for iOS devices). They collect all kinds of crashes. Most of these crashes aren't exploitable. However, you don't need an exploit, you just need a OS crash.

How can you tell if your device has been whitelisted?

I got the email back from Google and they said they have, but having trouble getting it to show up under devices using some of the example code they provide, but now wondering if maybe I gave them the wrong serial or something and it really hasn't been white-listed.
You can always email them with the developer ID (Should be in the email), app ID, and your serial # to have them check. One thing I learned, though (when experiencing the same thing), was that I forgot to configure my chromecast with the "send this serial # to Google when communicating about updates" flag. If that isn't checked, then your Chromecast can't be notified that it is allowed to communicate with your app id. Also note that the Chromecast Android app had a bug (don't know if today's update fixed it) where setting that flag wouldn't stick, so I had to do it through the desktop app and then reboot the Chromecast and wait a few hours for the next time it pinged Google.
Make sure you have the "Send this Chromecast's serial number when checking for updates" setting enabled using one of the ChromeCast setup apps for your OS or Android. And reboot your ChromeCast device after enabling that setting.
You should be able to open Chrome and enter http://[ip.to.chrome.cast]:9222 in the browser address field. If your cromecast device is whitelisted the page will open.

How to make an ipad app impossible to close

I am programming an app for an experiment by the University of Queensland Psych Department. The app needs to be impossible to exit, or at least it would be preferable if it were impossible to exit. This is not a virus- it is for an experiment with the Grute Eylandt Aborigines. Anyways, do any of you guys have any idea how to set the app to be impossible to exit, or even better, to set it so that you have to enter a password to exit it? Furthermore, on a separate subject, do you guys have any idea how I can save the information in the app to the iPhone? This app will not go through the App Store so it does not need to follow App Store rules. Therefore, if there was a way to save "Button (whatever button it is) pushed at (time and date)" to the notes section of the iPhone every time a button was pushed in the app, and/or to save audio recorded using the AudioToolbox framework to the actual iPod library, that would be fantastic. Otherwise I would have to make some sort of db or plist file to save everything with if-then statements, I think. Thank you!
Check-out iOS 6 Accessibility feature:
It allows a parent, teacher, or administrator to limit an iOS device
to one app by disabling the Home button, as well as restrict touch
input on certain areas of the screen
Put the device in a "kiosk" case so keep the home button from being pressed. For storing the data to the device, if it is a small amount of data, use NSUserDefaults, if this will be a large amount of data, I would lean more toward Core Data
Easiest solution on the market -- MOKIMOBILITY has developed software that allows you to lock the home button. It is Mobile Device Management software with a full range of security features. It essentially locks down your iPad so the user is only able to use what you what them to use. It is called +MDM www.mokimobility.com The software can be managed mobile-y from a central interface. Slick software.

Resources