Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I call Camera but nothing happens. #53

Open
sfxworks opened this issue Jan 31, 2017 · 5 comments
Open

I call Camera but nothing happens. #53

sfxworks opened this issue Jan 31, 2017 · 5 comments

Comments

@sfxworks
Copy link

trace("IMAGE PICKER AVAIL?" + isImagePickerAvailable ? "YES" : "NO");
trace("CAMERA AVAIL?" + isCameraAvailable ? "YES" : "NO");

Both of these return yes. However, when I try to run it, the camera doesn't show up and nothing happens except my trace statement here.

		private function handleTrekAddPicture(e:TouchEvent):void 
		{
			trace("HANDLING ADD PICTURE");
			AirImagePicker.getInstance().displayCamera(imagePickedHandler);
		}

		````
@rdefalco
Copy link

rdefalco commented Apr 8, 2017

Same here, in Android logcat I see those statements

D/AirImagePicker(24131): [IsCameraAvailableFunction] entering call()
D/AirImagePicker(24131): [AirImagePickerUtils] Entering isCameraAvailable
D/AirImagePicker(24131): [AirImagePickerUtils] Entering isActionAvailable
D/AirImagePicker(24131): [AirImagePickerUtils] Entering getIntentForAction
D/AirImagePicker(24131): [AirImagePickerUtils] Exiting getIntentForAction
D/AirImagePicker(24131): [AirImagePickerUtils] Exiting isActionAvailable
D/AirImagePicker(24131): [AirImagePickerUtils] Exiting isCameraAvailable
D/AirImagePicker(24131): [IsCameraAvailableFunction] exiting call()

So apparently this class invokes an Intent but without success. Maybe some additions in manifest are needed?

@s2hago
Copy link

s2hago commented May 19, 2017

Hi, did you solve this??? I have the same problem with the image picker option.

@rdefalco
Copy link

rdefalco commented May 22, 2017 via email

@syberkitten
Copy link

syberkitten commented Jun 28, 2017

Have a similar issue, getting:

[trace] [AirImagePicker] creating recentPhotosFetcher
[trace] [AirImagePicker] created recentPhotosFetcher

But nothing happens, even with the latest security permissions.
I've been trying with AIR SDK 26, which was targeted as 37, then failed also as 36.

@syberkitten
Copy link

Downgrading the SDK to 25 fails as well, will try to lower the -swf-version to 34
and see if it makes a different.

It all worked before, but I might have upgraded the ANE and upgraded the AIR SDK as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants