Page 1 of 1

iphone/ipod battery info

Posted: Mon May 16, 2011 8:13 pm
by theresap72
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!

Re: iphone/ipod battery info

Posted: Mon May 16, 2011 10:01 pm
by bn
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

Re: iphone/ipod battery info

Posted: Thu Aug 04, 2011 5:39 pm
by Mark
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