I want to create an activity similar to the "Send Feedback/Report and Issue" page on Google+. Is there an api to capture the screenshot, or is this 开发者_JAVA百科manufacturer dependent?
There is currently no exposed API for accessing the screen buffer. You may find some success in using View.getDrawingCache(boolean)
which returns a Bitmap
of the View
which you may then be able to save and use.
http://developer.android.com/reference/android/view/View.html#getDrawingCache(boolean)
精彩评论