Stencyl 3.4.0 is now out. Get it now!

[Android] Camera Photo Extension [0.1] Alpha

yoplalala

  • *
  • Posts: 1376
Camera Photo Extension [0.1]
ALPHA

So here is a camera extension.

If you want to save not in your game folder, you have to modify your manifest  file
in  [STENCYL] ▸ plaf ▸ haxe ▸ lib ▸ lime ▸ lime ▸ legacy ▸ templates ▸ android

PS: there's a bug, if you cancel the the camera intent when  you use the bitmap block, it will crash your application.
I don't know how to resolve this as the camera on my phone doesn't even tells onActivityResult when it's closed.
 
But I'm still putting it here because the other blocks work :) and you can just ask the user not to cancel :P

« Last Edit: October 06, 2015, 11:37:08 am by yoplalala »

LIBERADO

  • *
  • Posts: 2337
Downloaded and installed. Thank you so much!
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.