LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
on mouseUp
put "DEVICE INFORMATION" into field "info"
put return & "board: " & mobileBuildInfo("BOARD") after field "info"
put return & "bootloader: " & mobileBuildInfo("BOOTLOADER") after field "info"
put return & "brand: " & mobileBuildInfo("BRAND") after field "info"
put return & "cpu1: " & mobileBuildInfo("CPU_ABI") after field "info"
put return & "cpu2: " & mobileBuildInfo("CPU_ABI2") after field "info"
put return & "device: " & mobileBuildInfo("DEVICE") after field "info"
put return & "display: " & mobileBuildInfo("DISPLAY") after field "info"
put return & "fingerprint: " & mobileBuildInfo("FINGERPRINT") after field "info"
put return & "hardware: " & mobileBuildInfo("HARDWARE") after field "info"
put return & "host: " & mobileBuildInfo("HOST") after field "info"
put return & "id: " & mobileBuildInfo("ID") after field "info"
put return & "manufacturer: " & mobileBuildInfo("MANUFACTURER") after field "info"
put return & "model: " & mobileBuildInfo("MODEL") after field "info"
put return & "product: " & mobileBuildInfo("PRODUCT") after field "info"
put return & "radio: " & mobileBuildInfo("RADIO") after field "info"
put return & "serial: " & mobileBuildInfo("SERIAL") after field "info"
put return & "tags: " & mobileBuildInfo("TAGS") after field "info"
put return & "time: " & mobileBuildInfo("TIME") after field "info"
put return & "type: " & mobileBuildInfo("TYPE") after field "info"
put return & "user: " & mobileBuildInfo("USER") after field "info"
end mouseUp
...but it's not working. What does others do to get info from the current device?
Ah Ha. Thanks Jacque - that would make a lot of sense.
It is a shame as I could really use some of the values returned - like the Phone type and a couple of other settings. Oh well - back to the drawing board.
@LittleGreyMan
Apple have not actually stopped people using the UDID - it's only deprecated - in other words it will vanish very soon (probably in iOS6). This does not mean that the Livecode function would have magically stopped working - so I think (as Jacque says) it is likely it has never worked.
Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.