I'm currently getting "attempt to call method 'canOpenUrl' (a nil value)" when using application:canOpenUrl(url) as per the documentation.
Using application:openUrl(url) works fine however.
I'm running v2013.06.3 using windows and testing on an Android device.
Performing a simply output on Application reveals that canOpenUrl doesn't exist. Is it not on Application?
----
for k,v in pairs(Application) do
print(k)
end
exit
getScaleMode
getDeviceHeight
setLogicalDimensions
getLanguage
getTextureMemoryUsage
getDeviceInfo
getLogicalTranslateY
getScreenDensity
getLogicalScaleX
getLogicalHeight
openUrl
getLogicalWidth
getContentWidth
LANDSCAPE_RIGHT
setScaleMode
setKeepAwake
setFps
getDeviceWidth
getOrientation
setOrientation
PORTRAIT_UPSIDE_DOWN
getFps
getLogicalTranslateX
LANDSCAPE_LEFT
getLocale
vibrate
getAccelerometer
getLogicalScaleY
getBackgroundColor
PORTRAIT
getApiVersion
__index
getContentHeight
setBackgroundColor
Comments
Are you sure you are using latest player build on your Android phone?
You can download the latest version from here:
http://giderosmobile.com/player/
Likes: Jesder
I must not have updated the player on this device.