iphone/ipod battery info

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
theresap72
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 13
Joined: Wed May 04, 2011 3:34 pm

iphone/ipod battery info

Post by theresap72 » Mon May 16, 2011 8:13 pm

Does anyone know how to access the battery information into LiveCode. I've seen apps that show how much is available while it's charging and I'm wondering how to access that information on the programming side? Thanks!

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4166
Joined: Sun Jan 07, 2007 9:12 pm

Re: iphone/ipod battery info

Post by bn » Mon May 16, 2011 10:01 pm

Hi theresap72,

please have a look at the iOS release notes under the help menu. There are all the options currently available on iOS devices.

I guess until the external software developing kit is available and someone would write such an external the battery status is not available.

Kind regards

Bernd

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: iphone/ipod battery info

Post by Mark » Thu Aug 04, 2011 5:39 pm

Hi,

There's a tutorial about how to make such a tutorial, but it doesn't work for me. I get two errors when I try to run the external in the iOS simulator:

Error 1: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the rredevice.ios file

Error 2: cp: /Users/Mark/Desktop/rredevice/build/Debug-iphonesimulator/rredevice.dylib: No such file or directory

I assume that solving error 1 would also solve error 2. Does anyone knw how to solve error 1?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply