getting image or canvas from view

by rukiman » Tue, 13 May 2008 06:02:43 GMT

Sponsored Links
 How can I get the current view as an image or bitmap. Can I get the
current canvas from a view, where that canvas has the current view
already drawn on it?

getting image or canvas from view

by rukiman » Wed, 14 May 2008 05:45:28 GMT

 Seems like a view has a draw(canvas1) function where you pass in the
canvas to draw onto


Sponsored Links

Other Threads

1. failing to mount data partition with ubifs

Hi all,

I am trying to mount only data partion as ubifs rather than yaffs2 on
the raw flash. system is yaffs2 and root is rootfs. In my device, mtd
partion 13 is "userdata".. so i have added ubi.mtd =13 to kernel
commmand line args and able to attach mtd13 to ubi0 device but volume
is not created..

So, is there any parameters that we can pass to kernel for userdata to
create volume ubi0_0 on ubi device ubi0. I have added following line
to my init.rc to mount data partition as ubifs,

mount ubifs ubi0_0 /data...

Or else is it possible ..if I create my userdata image as .ubi and
flash the device by adding ubi.mtd=13 to kernel parameters?

Thanks in advce,


2. Contact wrapper uses

Hi I'm using a guide (
) to wrap in one project the contact api level 3 and 5 ... But they
don't have any contact address to ask about my problem.

In both contactAPISDK3 and contactAPISDK5 i got this error message:
The method setPhone(ArrayList<ContactsContract.CommonDataKinds.Phone>)
in the type Contact is not applicable for the arguments

Also happens with Email, addresses and Organization.

I read the code and don't see the error or what's missing, maybe I
have to make a new function in for each API ? Declare a
new variable with the type of the new SDK ?

And another question is if it's worth the use of wrapper to switch
between api code.

Thanks for the answers :)


3. Optimal packaging of image app for various screen resolutions

4. Version2 uploading to Android Market

5. URL query string bug in SMS messages

6. Difficulty with repo, git getting source

7. BaseAdapter ListView and SectionIndexer