Page 1 of 1

BLE and iPhone4S/5

Posted: Sun Apr 07, 2013 3:15 pm
by cwchan
Hi everyone,

I am newbie on using LiveCode and iOS development. I have two questions and need help from members.

1) How can I access iOS BLE API from LiveCode? any example code around that will help a lot.
2) Do I need two substacks to hande different resolution on iPhone 4S and 5? or any LiveCode function can fit an app on both idevices?

best

Re: BLE and iPhone4S/5

Posted: Sun Apr 07, 2013 4:29 pm
by Uli Kusterer
[quote="cwchan"]1) How can I access iOS BLE API from LiveCode? any example code around that will help a lot.[/quote]

I think you can't, directly. Someone would have to write a library in C or so that exposes that API, and then you could call that library from LC.

[quote="cwchan"]2) Do I need two substacks to hande different resolution on iPhone 4S and 5? or any LiveCode function can fit an app on both idevices?[/quote]

You can pin parts on a card to different screen edges and make them resize. I think you can resize your card to fit the screenRect, and then all pinned objects will enlarge appropriately to fill the new space.

Re: BLE and iPhone4S/5

Posted: Mon Apr 08, 2013 2:30 am
by cwchan
OIC, so I need to either find a BLE external or write external on my own.

any chance there is a BLE external already made around? or any tutorial on writing a LiveCode external?

Thanks