- Бей фашистов, или BLE для iOS
- Не нужна лицензия MFI от Apple
- Не нужна регистрация в GameCenter
- Что же нужно для разработки
- Разделение устройств
- BLE Finder:Device Discoverer 4+
- Find My Lost Bluetooth Devices
- Designed for iPad
- Screenshots
- Description
- BLE Finder:Device Discoverer 4+
- Find My Lost Bluetooth Devices
- Designed for iPad
- Screenshots
- Description
- BLE Finder:Device Discoverer 4+
- Find My Lost Bluetooth Devices
- Designed for iPad
- Screenshots
- Description
- Bluetooth U 4+
- ujweng
- Для iPad
- Снимки экрана
- Описание
Бей фашистов, или BLE для iOS
Привет трудящимся от бездельников.
В прошедшем году произошло событие, которое было слабо освещено на сайте.
Это событие — появления в новых iOS устройствах 4-ого Bluetooth. Или BLE — Bluetooth Low Energy. Чем это приятно для разработчиков под айос? Прочитайте и узнаете.
Кому лень читать, посмотрите 0x30-секундное видео с примером приложения, основанного на данной технологии.
Не нужна лицензия MFI от Apple
До февраля 2012 года требовалась лицензия на разработку устройств и приложений, использующих старый блюпуп для айфонов. Я такую лицензию получил, вместе с ней пришел ПДФ файл с печатью Совершенно секретно. Ничего полезного при помощи сего документа я не сотворил.
Не нужна регистрация в GameCenter
Сколько не работал с GameCenter, меня не покидало ощущение, что это чуждый Apple продукт. Противный дизайн и бестолковая функциональность. А отладка? Не спорю, я криворук, но говорят разработчика GameCenter уволили из компании. Я бы его еще министром культуры Мордовии сделал. Да, за эти зеленые обои…
Что же нужно для разработки
Для написания приложения Вы должны скачать великолепный пример BTLE Central Peripheral Transfer с родного сайта Apple.
Пример простой и ясный — он связывает 2 любых iOS устройства, на борту которых установлен новый BLE. Напоминаю, что BLE устанавливается на устройствах начиная с iPhone 4S и iPad 3 и выше.
Запускаем приложение на двух устройствах. Предупреждаю, на эмуляторе BLE не поддерживается.
Появляется меню — одно устройство выбираем центральным, другое — периферийным — далее фантазии автора не знают границ. Моя фантазия ограничилась несколькими SHOOTERS, один из которых я написал специально для этой статьи.
Разделение устройств
Программа работает только в связке iPad-iPhone. iPad я подразумеваю центральным стрельбищем, iPhone — периферийной винтовкой. iPad я кладу на диван из ИКЕA в положении landscape, iPhone я держу на расстоянии 30-60 см от iPada, как полицейский держит пистолет. В процессе отладки я проверял уровень сигнала от периферии на центре и скажу честно — у ребят отсюда нет будущего. Сила сигнала крайне неустойчива. Цифры в комментариях, если надо.
Мало того, я долго чертыхался при запуске родного яблочного примера, поскольку связь терялась и реакция на выстрел была порой до 2 секунд! Какая уж тут волшебная палочка. Но, расковыряв пример, я убрал минимальную границу для силы сигнала и приложение полетело. На винтовке я включил режим видео среднего разрешения, по синей верхней горизонтальной полосе на айПаде я определяю местоположение стрельбища — а далее все просто — попал, не попал.
По горячим следам я сделал приложения Биатлон и Тир и сегодня осмелился одно из них выложить в магазин.
Чуть остыв, я сделал приложение Сноуборд — айФон (доска) и айПад (склон). Акселерометр с айфона 20 раз в секунду гонит 10 байт на айПад. Все работает, главное не перегружайте канал — он не пропускает более 60 байт за 0.020 секунд. Графика для сноуборда уже нужна трехмерная, а не псевдо 3Д, так что проект видимо умрет.
И на сладкое. По мишеням можно стрелять с нескольких стволов. Дети у меня уже выигрывают в перестрелке.
Источник
BLE Finder:Device Discoverer 4+
Find My Lost Bluetooth Devices
Designed for iPad
-
- 1.0 • 1 Rating
-
- £1.79
- Offers In-App Purchases
Screenshots
Description
Was $4.99, Now 50% Off, Only This Week.
Bluetooth device finder & tracker! Be the best Bluetooth device find app for users
Help you explore and find your Bluetooth devices , like Bluetooth earbuds, headset, headphones, smart band, watch, Fitness Tracker and other Bluetooth gizmo devices.
When these small Bluetooth devices disappear, the app will help you remember and find them as much as possible.
— Scan nearby BLE(Bluetooth Low Energy) devices
— Explore Bluetooth device property and choose to copy if you is a Bluetooth developer or are interested in this
— Support custom icons and note names to tag your Bluetooth devices
— Record your devices activity history to help you find your devices
— Set by step process to guide you to find nearby Bluetooth devices
— Multiple sorting and filtering methods to show nearby Bluetooth devices
— Optional login account to save your favorite devices information
Источник
BLE Finder:Device Discoverer 4+
Find My Lost Bluetooth Devices
Designed for iPad
-
- 4.0 • 1 Rating
-
- 179.00 RUB
- Offers In-App Purchases
Screenshots
Description
Was $4.99, Now 50% Off, Only This Week.
Bluetooth device finder & tracker! Be the best Bluetooth device find app for users
Help you explore and find your Bluetooth devices , like Bluetooth earbuds, headset, headphones, smart band, watch, Fitness Tracker and other Bluetooth gizmo devices.
When these small Bluetooth devices disappear, the app will help you remember and find them as much as possible.
— Scan nearby BLE(Bluetooth Low Energy) devices
— Explore Bluetooth device property and choose to copy if you is a Bluetooth developer or are interested in this
— Support custom icons and note names to tag your Bluetooth devices
— Record your devices activity history to help you find your devices
— Set by step process to guide you to find nearby Bluetooth devices
— Multiple sorting and filtering methods to show nearby Bluetooth devices
— Optional login account to save your favorite devices information
Источник
BLE Finder:Device Discoverer 4+
Find My Lost Bluetooth Devices
Designed for iPad
-
- 1.0 • 1 Rating
-
- £1.79
- Offers In-App Purchases
Screenshots
Description
Was $4.99, Now 50% Off, Only This Week.
Bluetooth device finder & tracker! Be the best Bluetooth device find app for users
Help you explore and find your Bluetooth devices , like Bluetooth earbuds, headset, headphones, smart band, watch, Fitness Tracker and other Bluetooth gizmo devices.
When these small Bluetooth devices disappear, the app will help you remember and find them as much as possible.
— Scan nearby BLE(Bluetooth Low Energy) devices
— Explore Bluetooth device property and choose to copy if you is a Bluetooth developer or are interested in this
— Support custom icons and note names to tag your Bluetooth devices
— Record your devices activity history to help you find your devices
— Set by step process to guide you to find nearby Bluetooth devices
— Multiple sorting and filtering methods to show nearby Bluetooth devices
— Optional login account to save your favorite devices information
Источник
Bluetooth U 4+
ujweng
Для iPad
-
- 3,3 • Оценок: 6
-
- Бесплатно
- Включает встроенные покупки
Снимки экрана
Описание
Bluetooth U ensure both devices(iPhone&iPod&iPad) transfer files mutually, No file type restrictions.
*****specifically as follows:
*****Bluetooth Action
Looking for other iPad/iPhone/iPod
Share files from local document via bluetooth
Interrupt and resume downloading at any time
Multiple File Transfers (Choose your files and transfer at once)
Folder Transfers
Photo Library (Multiple Photos/Cameras at once) Transfers
Operate history
Living progress
*****Local File Sharing
USB File Sharing via iTunes
Http File Sharing via WiFi,Support Safari, chrome, firefox and IE6/7/8/9
Chrome and Firefox Supported upload multiple files
Email multiple files/folder Supported
Open files using other applications
*****Local File Manage
New Folder
Sorting by file name, create date and file type
View, copy, move, delete, rename, email, zip Compression and unzip files/folders
Glide deleting function
Select all and Cancel all
Photo import Supported
Bookmark supported
*****File View
New plain text(default encoding UTF-8),Convert plain file encoding (Unicode,UTF-8 etc) [.txt]
External file content copy or paste
Photo View, Zoom [.png .jpg .jpeg .gif .bmp .xbm .tif .tiff etc];
Document reader [.pdf .rtf .csv .rtfd .doc .docx .xls .xlsx .ppt .pptx (office 2003 or later) etc]
Video Player [.mp4]
File Compression and Decompression [.zip .rar]
Extract files from encryption .rar
Multi-touch Supported, Zoom files
Landscape mode supported
iPad-compatible
Источник