Please suggest me possible ways to get Image data from camera

by Streets Of Boston » Sat, 11 Apr 2009 04:00:47 GMT


Sponsored Links
 That's how it is.

RAW data callback is not supported.
The JPEG image data is the full-size image as it has been taken by the
camera. Per default, it should be 2048*1536 px.
And taking a picture takes this long, about a second. You can mitigate
this by pre-focusing



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Problem passing array from vertex to pixel shaders

I've discovered a problem passing an array from a vertex shader to a pixel 
shader. Somewhere the array ends up overlapping with other constants, for 
example if I have an array of UV coordinates and a colour being passed 
though, then changing the UV coordinates will affect the colour. Using 
either the colour or UV alone works, I assume because the compiler optimises 
out the unused variables and prevents the overwrite occurring. This happens 
even with an array size of 1.

To give a simple example, this pixel shader will render incorrectly:

varying highp vec4 vl_TexCoord[1];
varying highp vec4 vl_Color;
uniform highp sampler2D _diffuseMap;
void main() {
   gl_FragColor = vl_Colo r* texture2D(_diffuseMap,  vl_TexCoord[0].xy);
}

However changing main to either of these cases work, giving either a 
correctly mapped texture, or correct vertex colour:

void main() {
   gl_FragColor = vl_Color;
}

void main() {
   gl_FragColor = texture2D(_diffuseMap,  vl_TexCoord[0].xy);
}

Changing the vl_TexCoord array to a simple vec4 makes the problem go away, 
so I have a workaround, but this seems like a fairly serious problem, 
possibly in the shader compiler.

The same issue was raised on gamedev so I think it's a genuine bug:
http://www.gamedev.net/topic/594352-gl-20-shader-varying-array-problem/

Has anyone else experienced this problem? I'm using a HTC Desire HD for 
testing, using the 2.2 Android SDK. I don't know if it's hardware or SDK 
version specific at the moment.

-- 

2. SIP Demo and Android 2.3 problem

Hi,
i tried to run SIP Demo (http://developer.android.com/resources/
samples/SipDemo/index.html) and start developing SIP application,
but i found one problem at the beginning (of course i updated sdk, adt
and set up new virtual device with api level 9):
 in main activity class [line 86]:

 public void initializeManager() {
        if(manager == null) {
          manager = SipManager.newInstance(this);  <-- this always
returns null, which means that SIP API is not supported
        }

        initializeLocalProfile();
    }

i also checked SipManager.isApiSupported(applicationContext) and it
always returns false, i set up several virtual devices and it didnt
help.

SipManager declatarion is the first step during establishing Sip
connection, so this problem does not concern sip domain etc.

It looks like problem with emulator.

Have you faced this problem?
Any ideas how to resolve it?

-- 

3. how to disable the "Clear data" Button (Froyo)

4. How do certain application backup the APK files?

5. Development strategies

6. Adding Slide Button on Key lock screen

7. MediaPlayer getCurrentPosition problems on Android 2.2