BLE and iPhone4S/5

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cwchan
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3
Joined: Sat Mar 02, 2013 7:50 pm

BLE and iPhone4S/5

Post by cwchan » Sun Apr 07, 2013 3:15 pm

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

Uli Kusterer
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5
Joined: Thu Feb 28, 2013 10:44 am
Contact:

Re: BLE and iPhone4S/5

Post by Uli Kusterer » Sun Apr 07, 2013 4:29 pm

[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.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

cwchan
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3
Joined: Sat Mar 02, 2013 7:50 pm

Re: BLE and iPhone4S/5

Post by cwchan » Mon Apr 08, 2013 2:30 am

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

Post Reply