[android-developers] Sharing images from app directory fails but not from external storage

2012-06-28 Thread Alfonso Guerra
card to do it. Can someone point me in the right direction? Alfonso Guerra Apokalypse Software Corp. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: Layout in a not default package

2011-06-26 Thread Alfonso
Have you seen this? http://code.google.com/p/apv/ It looks exactly what you´re looking for. By the way, any clue about me question? On 25 jun, 19:46, krishna kumar send2mess...@gmail.com wrote: any body please help me pdf reader how to implements ...any concepts  if have ...then

[android-developers] Layout in a not default package

2011-06-25 Thread Alfonso
Hi everybody, I´ve done many tries but I can´t get this working: I´d like isolate the GUI layer from the business one. I´d created a different package for it, but doing so I can´t access the drawables and layouts placed on /res/layout unless I call them using the default package as prefix. I´d

[android-developers] CRC of compressed files on Java appear as don't set on Android

2011-06-07 Thread Alfonso
Hi, if I set the Crc of a file compressed on Java (with java.util.zip library), Android gets it like -1 (not set). Surprisingly, it gets the name and date perfectly, but the extra field, size or any other attribute returns -1. The same file, uncompressed in Java returns its field values

[android-developers] Re: Filtering Android Sensors Noise

2010-05-26 Thread Alfonso
First of all, thanks everybody for their answers. I've been in journey, that's the reason because of I haven't answered before. I've tried average and tresholding, althougt not too much extensively. Special thanks, Yahel, the parralax is very important. I've seen that is present in the digital

[android-developers] Filtering Android Sensors Noise

2010-05-21 Thread Alfonso
HI, I'm programming an Augmented Reality application. It's development it's in an advanced state but I can't place the icons on the screen so still as anothers programs does (Layar, in example). This is because of the continuous variations of the sensors. I've tried the three modes of the sensors

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-12 Thread Alfonso
. If you debug my suggestions 1 and 2 and come up with nothing, perhaps there is an alternative way to check without still checking for drawn pixels (which makes me shudder.) On May 10, 8:15 pm, Alfonso alfonsocris...@gmail.com wrote: Robert, first of all thanks for your time and kindness

[android-developers] How can I know if OpenGl has drawn something?

2010-05-10 Thread Alfonso
glReadPixels is too slow, so I need another way. Without testing object by object, Is there any other way? Thanks you very much -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-10 Thread Alfonso
into a ray and get the closest item that intersects with that ray.  It's actually easier, more reliable and faster. On May 10, 10:16 am, Alfonso alfonsocris...@gmail.com wrote: glReadPixels is too slow, so I need another way. Without testing object by object, Is there any other way

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-10 Thread Alfonso
point in world space which should be the same coordinate system as your collision data.   After that you just need to use ((normalize(lookAt - pos) * farZ) + the unproject point) and you have your ray. On May 10, 1:24 pm, Alfonso alfonsocris...@gmail.com wrote: I've got that collision

[android-developers] Re: OpenGL ES and Projection Matrix using Ortho Projection

2010-05-06 Thread Alfonso
OK, I have cleaned this a little. Now I try to do the same but with this code: gl.glOrthof(-near_height * ratio, near_height * ratio, -near_height, near_height, zNear, zFar); . . . Matrix.orthoM(orthoProjectionMatrix, 0, -near_height * ratio, near_height * ratio, -near_height, near_height,

[android-developers] Re: OpenGL ES and Projection Matrix using Ortho Projection

2010-05-06 Thread Alfonso
A fix: float pos3DdelPuntoInteres [] = new float [] {0.0f,0.0f,4.0f, 1.0f}; I just forgot write here the last number, but it was present in my code. In other words, the problem persists. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] OpenGL ES and Projection Matrix using Ortho Projection

2010-05-04 Thread Alfonso
Hi everybody, I'm trying to recoginize if there is something painted on the OpenGL layer. Of course I've attemp to use glReadPixels, but I've given it up because of it's cpu wasting. The only alternative soltution I've found it's using glu.glProject or, for a faster execution, simulating by

[android-developers] Remap trackball coordinates in WebView

2010-03-23 Thread Alfonso
Hi everybody, I need adjust trackball coordinates in a WebView object, so I extend this class and override the onTrackballEvent method. Inside this new method I adjust the MotionEvent coordinates (with setLocation) and I call super.onTrackballEvent with the customized event. But the WebView

[android-developers] Re: Weird bug in Canvas + TextView

2010-03-04 Thread Alfonso
and not the ExtWebView ones? Thanks again. I appreciate your help. On 4 mar, 01:45, Romain Guy romain...@android.com wrote: You are calling requestLayout() from the draw method. requestLayout() causes a draw to happen, and you've just created an infinite loop. On Wed, Mar 3, 2010 at 4:42 PM, Alfonso

[android-developers] Re: Weird bug in Canvas + TextView

2010-03-03 Thread Alfonso
work fine if I save and restore the canvas state at the begining and the end respectively of the onDraw method? Thanks for your help. On 26 feb, 04:37, Alfonso alfonsocris...@gmail.com wrote: Hi, it's my first time writing here and I want giving thanks everybody who makes the group possible

[android-developers] Weird bug in Canvas + TextView

2010-02-27 Thread Alfonso
Hi, it's my first time writing here and I want giving thanks everybody who makes the group possible. Specially to all the Android developpers. Well, let's go to the problem: I'm trying to rotate a WebView according with the orientation sensor. That's because below this view I have a GLSurfaceView