The API level 21 is dictated by the implementation of the BLE transport in 
Connectivity Abstraction. More precisely, the BLE peripheral mode that is used 
by the server side to advertise itself was introduced only in API 21. Note: Not 
all android devices that have Lollipop support the peripheral mode.

Nevertheless, it should be possible to get the client side to API 18 (BLE 
support was first added in Android 4.3). Please keep in mind, it will require 
changing the current Android BLE implementation in CA to accommodate the API 
differences between the versions before and after Lollipop. In addition, the 
build script would have to be changed to insert a proper min API level 
depending on the selected parameters.

Jihwan, Ashok (CA developers): Please provide your vision of the issue.

Thanks,
Tim Kourt

From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev-bounces 
at lists.iotivity.org] On Behalf Of [email protected]
Sent: Tuesday, December 8, 2015 5:50 AM
To: philippe.coval.pro at gmail.com; markus.jung at samsung.com
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] IoTivity Android SDKs - current min API level requires 
Android 5

We are running IoTivity 1.0.0 with this patch on top of it on a Android 4.4 
phone:
https://gerrit.iotivity.org/gerrit/#/c/3895/

We only use the IP connectivity part from IoTivity to connect to other 
resources via WIFI. I haven?t used the BL or BLE part of IoTivity.
We used the default Android NDK and SDK the IoTivity build system selects.

Hauke

From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Philippe Coval
Sent: Dienstag, 8. Dezember 2015 09:49
To: markus.jung at samsung.com<mailto:markus.jung at samsung.com>
Cc: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: Re: [dev] IoTivity Android SDKs - current min API level requires 
Android 5



On Tue, Dec 8, 2015 at 7:39 AM, Markus Jung <markus.jung at 
samsung.com<mailto:markus.jung at samsung.com>> wrote:

Hi,

currently all Android related SDKs require min API level 21, which is Android 
Lollipop.

Should we change this to a lower API level? Otherwise we reduce the potential 
target devices a lot.

Are there any specific APIs used that require this high min level?

If it is changed, the RI layer and service layer have to be modified.

It sounds legit to me
According to :
http://developer.android.com/about/dashboards/index.html
4.1 Jelly Bean API Level 16 seems the minimal to reach more than 90% of market 
share

If it helps, I can test on API Level 18 (4.3 Jelly Bean) ...
Later

--
https://wiki.tizen.org/wiki/User:Pcoval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151208/286b585a/attachment.html>

Reply via email to