Reputation: 1849
There is a mention about Screen capture and Sharing api in Android 5.0 at: Android 5.0 APIs
There its mentioned about MediaProjectionDemo class in the ApiDemos. I could not find it anywhere to download. Where can I find it? Are they yet to publish API demos for Android 5.0?
Upvotes: 11
Views: 10690
Reputation: 1809
I was going through the solutions available on web to take screenshot, So I found some really helpful which I would like to share here:
1) Here is the MediaProjectionAPIDemo available on github
2) Here is another Project using MediaProjectionAPI available on github
3) Another solution which require NDK to stream real time Screen Capture
4) And at last, here is Android Screenshot library
Hope it will help you to take off :-)
Upvotes: 1
Reputation: 189
I have just downloaded the 5.0 SDK in my Eclipse Android Development environment.
Makesure that you have downloaded the complete SDK apart from some system Images which you dont require.
If you have downloaded the SDK, then create and emulator device with Android 5.0.
In that, go to Apps---> API Demos ---> Media ----> Media Projection.
I can able to see the Media Projections App.
Upvotes: 4