SDK 1.5 and camera preview decoding

by blindfold » Fri, 17 Apr 2009 15:27:39 GMT

Sponsored Links
 Does Cupcake (SDK 1.5) add any support for decoding camera preview
images with BitmapFactory.decodeByteArray(), or does onPreviewFrame(),
as with SDK 1.1, still give only a header-less image data[] that the
Dalvik interpreter must decode pixel-by-pixel (too slow for most



Other Threads

1. there is no ViewInflate in sdk 1.0?

In Android sdk 1.0, I can't find the class ViewInflate. Then how can I
load a view from the xml?

2. How to import a new CA certificate

Hi all,
I am trying to connect with Android to a server which I develop
myself. Now it should be possible to connect to that server using an
encrypted connection (namely HTTPS).
As I do not use this application in a commercial way I don't want to
invest money to buy a real certificate. So, I try to test the system
using a test certificate from thawte on server side.

What happens:
Because the CA that signed this test certificate is not stored on
Android, it simply rejects the certificate and does not connect to the
server by stopping the handshake procedure by a TCP-Fin-Ack. I tried
to connect to other, public secured servers and there the connection
is established without any problem (tests done with HttpClient and

Is there any possibility to add the two certificates (test
intermediate CA & test root CA) to the Android keystore in order to
have an effect as if the certificate I use was a real one?
Or does anybody knows if there are other possibilities to connect to
test servers?

Thank you for responding,


3. How to install the application to Android phone

4. possible to lock device?

5. How to reposition the cursor in an EditText

6. using StAX API in an Android application

7. how to kill activity in android