How alarm clock app works on iPhone 3.0 SDK? - objective-c

How does the alarm clock work on iPhone SDK 3.0? When the app has closed, the alarm clock app still runs and shows and alert message when the alarm is triggered. I know that iOS 3.0 doesn't support multitasking.

iOS 3 did not support multi-tasking it the public API available to 3rd parties. The iOS is (and always has been) a multi-tasking OS, however. Clearly Apple apps (Mail, Clock, etc.) had access to this capability before 3rd parties.

Related

Does an instant app support Bluetooth

I have to change existing app to an instant app.
While editing, there was a problem with bluetooth permission.
Does an instant app support Bluetooth?
Bluetooth is not yet supported by Instant Apps. Check the Instant App FAQS permissions and you will notice these are the supported features as of now:
BILLING
ACCESS_COARSE_LOCATION
ACCESS_FINE_LOCATION
ACCESS_NETWORK_STATE
CAMERA
INSTANT_APP_FOREGROUND_SERVICE only in Android 8.0.
INTERNET
READ_PHONE_NUMBERS. This permission is available only in Android 8.0 (API level 26).
RECORD_AUDIO
VIBRATE

Core bluetooth in WatchKit in apple watch?

I want my watch app to be identified by my paired iPhone.I am using CoreBluetooth Framework to implement this. I am transmitting bluetooth signals from my watch app and trying to receive the signal in my iPhone app. I am using the same concept as apple has shown in its sample code (https://developer.apple.com/library/ios/samplecode/BTLE_Transfer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012927) , the only difference is that my transmitter is the watch app.
Issue
I am unable to detect watch app in my iPhone. I have made sure that all of my hardwares are configured properly and I am configuring the Core bluetooth delegate methods properly. I also suspect if this method will be feasible with iPhone and apple watch.
All suggestions are appreciated. Thanks in advance
This is not possible because your WatchKit app runs as an extension on your iPhone and therefore all Core Bluetooth bluetooth signals are sent from the iPhone itself to itself.
Access to Core Bluetooth on Apple Watch lets your apps bypass the phone and connect directly with the Bluetooth in Apple Watch. Access Core Bluetooth to connect directly with accessories. And with Apple Watch Series 3, your apps can take advantage of built-in cellular and altimeter capabilities.
Please note, since watchOS 6 it's possible to use CoreBluetooth on watchOS.
Check for more informations this link "Creating Independent watchOS Apps"
Be aware there are still some limitations using CoreBluetooth in watchOS for example:
The minimum connection interval is 30ms instead of 15ms (for iOS devices).
The Apple watch can only operate as a central device.
The Apple watch can only be connected to two peripherals at one Time
The peripheral gets disconnected when the app goes into the background.
Maybe this will change when watchOS 7 is out.

iPhone App Submission - Bluetooth BLE Enable

Can anyone tell me how apple handle submissions for bluetooth BLE enabled app. Actually, i have created a bluetooth iphone app which connects to third party device. And, I am not sure how apple is testing apps which connects to third party devices.
Object Lab has recently launched their first iOS app using iBeacon. It took them 3 attempts to get it approved. I would recommend you to create a video which demonstrates how your app works and send it to them.
Generally they ask for hardware as well but mostly it's not feasible for us to provide them with one. Object Lab had to send them instructions to setup hardware at their end and to test the app. THEY WILL NOT APPROVE UNLESS THEY KNOW ITS WORKING. So I would recommend to send a video and step by step instruction of how to setup hardware at their end to test it out.
My experience has been that a video demonstrating the use of the app while connected to your third party device is enough. Sending the device to them is not necessary (at least for all cases). I know there is another thread on stackoverflow.com concerning this very thing, but it's been months since I had found it and I can't find it now. Anyways, it has worked for me as well as acquaintances of mine who have an app on the store.

compatibility devices for google play services

i wanna test my game that uses google play services api(for realtime multiplayer). But i don´t have an android phone or tablet, i only use the emulator.
Is there a specific model of phone that i should buy to use google play services or will it work on any android device?
On emulators, there´s a "target name" called google APIS, so i was wondering about the device.
I have already made my game work on emulators, but even of ButtonClicker example, there´s a delay on the timer on one of the emulators and not on the other. Maybe i should try with a real device?
It will work on any Android phone (not Android compatible). Avoid devices like the Kindle Fire that are compatible, but not actually Android. If it has the Google Play app and it's running Ice Cream Sandwich or higher, you should be set.
The Nexus devices tend to be developer favorites, as they have no customization from carriers or manufacturers and are fairly cheap. Developer Editions would be a good alternative.

need help for bluetooth framework on mac osx

i'm an iOs developer and I actually need to make a mac application that use bluetooth framework to connect to another device (not iOS device).
I'm actually showing a modal view showing the connected bluetooth device with IOBluetoothDeviceSelectorController and I get the user choice with [modal getResults] but I don't know how to initiate the connection with the selected device and I can't find a simple way to do it on the mac dev library.
is anyone know a tutorial or sample code that could help me advance in my project?
linkos
The Mac Developer Library has two sample Bluetooth projects; connecting to a health thermometer and connecting to a heart rate monitor. There is also video available of the Advanced Core Bluetooth WWDC 2012 session.