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
BLE and iPhone4S/5
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 5
- Joined: Thu Feb 28, 2013 10:44 am
- Contact:
Re: BLE and iPhone4S/5
[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.
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.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
Re: BLE and iPhone4S/5
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
any chance there is a BLE external already made around? or any tutorial on writing a LiveCode external?
Thanks