Page 2 of 2

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 12:07 am
by BarrySumpter
-

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 12:16 am
by jacque
BarrySumpter wrote:And now no dictionary reference to templateimage.
I see it in the dictionary. Do you have the "All" category checked at the left?

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 12:19 am
by BarrySumpter
-

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 12:33 am
by BarrySumpter
-

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 1:26 am
by BarrySumpter
-

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 2:28 am
by BarrySumpter
-

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 2:34 am
by jacque
A template-anything is just a basic object in RAM without any instantiation. All its properties are the same as an instantiated copy. When the engine starts up, it creates these templates with default values for each type of object. When you place an object on a card, a copy of the template is instantiated in the stack. There are no extra properties in a template that don't also exist in an instantiation of it.

If you are only placing a few copies, or if your copies will be different from each other, it's usual to just drag from the tool palette for each copy you want, and then adjust the default properties to whatever you need. With a few exceptions (to create different types of buttons, for example,) the tool palette basically just makes copies of the current templates. But if you need to create a lot of identical objects, it's often easier to set the template properties yourself before making a bunch of copies. That way you don't have to adjust each one individually.

Resetting the template object simply re-applies the engine's default properties to the object in RAM.

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 4:33 am
by jacque
So within a few hours of writing this:
jacque wrote: The "Close and remove from memory" dialog is, I think, intended to be a confirmation of intent rather than a check for whether the stack has been saved or not. The info about how you'll lose everything since the last save is an addendum but not the main point of the dialog. That said, it's irritated me for a long time and I mildly resent the extra click. So I just bug-reported it. Hopefully they'll change the behavior, which I think was intentional but not well thought through.
I just almost closed the wrong stack because I hadn't noticed which one was frontmost. If it weren't for that dialog I would have.

Now I don't know if I should retract my bug report or not. :/

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 6:38 am
by BarrySumpter
-

Re: Capture cam image for Android

Posted: Fri Jun 24, 2011 5:26 pm
by Gene
There has been a lot of much appreciated information exchange in the this thread. However, I can't find where anyone has unequivocally answered the original question (in part) about whether it is actually possible to invoke the camera and capture an image on a physical Android device without crashing. Has anyone successfully done this?

I just installed 4.6.2, and my Android still force closes the moment I try to bring up the camera with the recommended code from the release notes. Similar code that addresses the device's "album" (gallery) works just fine.

I should mention that I have contacted support, and they reported back that the camera issue had been previously reported as a bug and that they are working on it. However, maybe one of the people in this thread have found the answer, and that it isn't really a bug.

Thanks much,

Gene Lambert