Image rotation

by Prashant » Mon, 03 Nov 2008 15:34:24 GMT

Sponsored Links
 hi All,

Does android provide image rotation apis? (like sonyericsson has
provided in their j2me SDK  )
Does android provide snapshot capturing apis?(like other SDKS)

thanks in advance,


Image rotation

by plusminus » Mon, 03 Nov 2008 23:27:30 GMT

 See the Matrix-Class in the API-Docs ( 
It can be used to transform Bitmaps.

Regards, plusminus 
#  Worlds largest Android Development Community / Tutorials


Sponsored Links

Image rotation

by arnouf » Tue, 04 Nov 2008 11:27:53 GMT



Other Threads

1. How to narrow down the method that is involved in exception from the pid

> Ljava/lang/IllegalStateException;: Finalizing cursor

This is a strange one. I find that this error is given in two
1/ When I forgot to close a cursor.
2/ When I dumbly tried to reuse a cursor without first closing the old

That is I forgot to close a cursor.

The two hints you have to finding the cursor are
1/ the table name - which mysteriously in your case is null, and
2/ the object address

I'd look for a query that has "null" where the table name should be.


If you have some idea as to roughly where this is,and not to many
cursors, splash a few..

Log.i(TAG, myCursorHere.toString())

after your queries to get the address for each cursor you created.


2. In process communication

Hi @all,

I have a design problem with my Android components.

My activity is starting a service which is doing the work in the
background. What I want is that the service informs the activity about
state changes. How can I do this?

Normally I would add an observer but the activity has no reference to
the service. Then I was thinking to take AIDL but this is more for
inter-process communication.

How is it possible that the service informs the activity about state
changes? Both are running in the same process. What can you recommend?

Thank you in advance.



3. Android monkey tool script

4. Media gathering and launching HTC Legend, HD Mini dan HTC Smart

5. Bluetooth error

6. Parcelable datatype in AIDL file

7. Adding an HTML content to a webview without space