[android-developers] Timing and using Intent MediaAction.ImageCapture to take pictures

2010-01-22 Thread Ray Benjamin
I'm still working only on the emulator, but I am seeing some unexpected behavior when using an Intent to take a picture via MediaAction.ImageCapture. At first, I thought everything was working as I wished: from my application, control was transferred to the Camera application, which allowed

[android-developers] Getting hold of a resource using generated string

2010-01-18 Thread Ray Benjamin
Ok, here's the problem. I have a layout file with 25 ImageButtons in in laid out in a 5x5 grid. During my application setup, I need to go through and add onClick and onLongClick handlers to each button and add the buttons to a local array. The problem is, I don't want to explicitly name every

Re: [android-developers] Getting hold of a resource using generated string

2010-01-18 Thread Ray Benjamin
Thank you. I knew there had to be a way. Mark Murphy wrote: Try Resources#getIdentifier(). Ok, here's the problem. I have a layout file with 25 ImageButtons in in laid out in a 5x5 grid. During my application setup, I need to go through and add onClick and onLongClick handlers to each

Re: [android-developers] ATTENTION ANDROID TEAM: Take back control of Android.

2010-01-17 Thread Ray Benjamin
There is also the issue of phone manufacturers that want to customize Android in order to control the user experience. Since it is an open source application, they are free to do as they wish, even if it means running a version or two behind the official Android release. This is common in

[android-developers] Is there a way to refer to a group of attributes

2010-01-17 Thread Ray Benjamin
In creating a layout file, I have 25 buttons that all use the same attributes except for ID. It seems like there should be some way to package up all those attributes and use a reference to them, but I can't recall how. Been a while since I did a lot with XML. Can someone help? Thanks, Ray

Re: [android-developers] Is there a way to refer to a group of attributes

2010-01-17 Thread Ray Benjamin
. On Sun, Jan 17, 2010 at 11:19 AM, Ray Benjamin ray.benja...@gmail.com mailto:ray.benja...@gmail.com wrote: In creating a layout file, I have 25 buttons that all use the same attributes except for ID. It seems like there should be some way to package up all those attributes and use

[android-developers] CropToPadding

2010-01-16 Thread Ray Benjamin
In the ImageView class, there is an XML attribute, cropToPadding, that can be set up if you are creating the interface using XML, but there doesn't seem to be a corresponding method that can be used to set that attribute if you are doing things programatically. Is this a bug? Is there some

Re: [android-developers] Re: Android Pirate Site

2010-01-16 Thread Ray Benjamin
While there are thousands of things you can do to make it more difficult for someone to pirate your application, they all come at the cost of making it that much more difficult for your user to purchase your application and/or make your application more fragile. Many anti-piracy methods keep

[android-developers] How do I get full-sized image back from Camera using MediaStore.IMAGE_CAPTURE ?

2010-01-08 Thread Ray Benjamin
Hi, I managed to figure out how to get the camara application to give me an image, but it is rather tiny, only 18k. Has anyone figured out a reliable way to get a full-sized image returned if you are using a MediaStore.IMAGE_CAPTURE intent? Thanks, Ray -- You received this message because