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. Youtube

Is there any way to send parameters to G1 Youtube player when starting
it through an intent?  I want to prevent the related videos from
showing up once the video I've selected finishes playing.  Adding
commands to the URL being passed does not work.  Any help would be
appreciated.

Code snipet here (the &rel is not picked up by the player):

String youtubeUrl = "http://www.youtube.com/watch?
v=8PqI12R8YNU&rel=0";
                Intent youtubeIntent;
                startActivity (youtubeIntent = new Intent
(Intent.ACTION_VIEW,Uri.parse
                         (youtubeUrl)))

Thanks

dsurround
--~--~---------~--~----~------------~-------~--~----~

2. IMPORTANT - display.getOrientation() does not work on all devices



Do you have any confirmation from any users who are seeing the rotation
problem? (i.e., direct email, not Market comments)


That's not what you used to do, by your own admission. Are you sure that
the comments are from people who are using your newer version?

And, again, do you have any confirmation from any users who are seeing
the rotation problem?


It could be they are running the older version of your application. Or,
it could be a ROM version difference, with a bug in some ROMs. Or, it
could be something about the way some users are using your app that
differs from your expectations and test cases (e.g., they open the app
starting in landscape mode, and you expect them to be starting in
portrait mode).

Please bear in mind that, across a 13-post thread, you have not once
actually indicated what app this is, AFAICT.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 

3. Handling different screen densities vs. app installed size?

4. Can't get SurfaceView working, trying to make a simple 2D-shooter!

5. Could developers be liable for charges for using Google APIs?

6. Android 2.0 Source code

7. Motorola DROID emulator skin now available for Android 2.0 SDK!