[RESOLVED] New media calls in Graphics 2.0

I noticed the following added to build 2013.2026

[lua]

media.captureVideo()

media.capturePhoto()

media.selectPhoto()

media.selectVideo()

[/lua]

Any place I can go the learn more about how these work?

Thanks in advance.

Found it in the daily API docs.

Best.

Just FYI. These actually came from our normal daily builds. We merged them into the G2.0 builds in 2013.2026.

Hey Walter, I think I have found an issue with the media.selectPhoto() call. It works ok on iPhone4S running iOS7, but doesn’t work (no image is returned) on an iPad2 running iOS6.1.3. I even ran the basic Photo Picker example project with the same result.

Can you verify?

EDIT - I just looked, and the photo picker example still uses the old calls. Am investigating further

EDIT - Yea, it seems to return nothing on iPad - even using the demo code from the api doc page. Same code works ok on iPhone and Android.

@playthisstudios

This issue has been fixed and will be in normal daily build 1252 and graphics 2.0 build 2036.

Awesome - thanks dchan!

Found it in the daily API docs.

Best.

Just FYI. These actually came from our normal daily builds. We merged them into the G2.0 builds in 2013.2026.

Hey Walter, I think I have found an issue with the media.selectPhoto() call. It works ok on iPhone4S running iOS7, but doesn’t work (no image is returned) on an iPad2 running iOS6.1.3. I even ran the basic Photo Picker example project with the same result.

Can you verify?

EDIT - I just looked, and the photo picker example still uses the old calls. Am investigating further

EDIT - Yea, it seems to return nothing on iPad - even using the demo code from the api doc page. Same code works ok on iPhone and Android.

@playthisstudios

This issue has been fixed and will be in normal daily build 1252 and graphics 2.0 build 2036.

Awesome - thanks dchan!