Close
Advertise Here
Results 1 to 5 of 5
  1. #1
    I am the Night Killswitch's Avatar
    Join Date
    Jul 2013
    Location
    On the highway to hell
    Posts
    10,928


    Screen Capture with OUYA

    This may have been posted in a thread before but it doesn't seem to have it's own specific thread.

    This entry explains quickly how I do screen capture for my Ouya articles so that I could show you certain key features and configurations that I have run across over the short while I have been playing with this unit. screen capture from the Ouya requires no special software beyond the android development kits which are easily downloadable. And in a few commands you’ll be capturing your favorate screenshots from your Ouya console in no time!
    Lets begin Screen Capture with the Ouya!:

    You will first need to get the android SDK for windows it is here – A direct link for this is listed right here for the android SDK R21

    Keep track of where you have installed this SDK! I’ve installed mine into the ‘android’ folder right onto the root of C:. C:\android\



    Upon installing the android software you will want to run the SDK Manager and install the platform tools option like what is listed above. This will give you the directory that stores the adb executable in. In this example. C:\android\platform-tools\adb.exe

    At first, you’re probably thinking that I am going to ask you to setup some complicated windows drivers to get the Ouya working with the help of this YouTube link. Truth is it has gotten a hell of a lot simpler with the network ADB connector which is in the updated versions of the Ouyas OS.



    We first have to tell the Ouya to open up the ADB ports so that we can connect to it wirelessly. Click Manage – System – Development . Turn ADB: ON and ADB OVER NETWORK: ON It will then show you the IP address of your wireless network. (Note: if you are connected via lan and you also connect via wireless network as well. It may show you the IP address of the wireless network.)



    On my Ouya I was testing out both wireless and eithernet connectivity. By going into Manager – Network from your main Ouya menu. You can see your real IP address.

    Now that we installed our SDK and our Ouya is setup correctly. now we open a command line in windows and launch adb to begin screen capture. I should note this is how you do it in windows. For Linux and Mac your mileage may vary!

    cd C:\android\adt-bundle-windows-x86_64-20130717\sdk\platform-tools\
    adb connect 11.1.1.217
    It should respond with something like: connected to 11.1.1.217:5555

    Next, lets pull some data

    adb shell screencap -p /sdcard/screen.png
    It will not offer a response if the screen capture command is successful.

    Now that the picture is in the ouya memory we want to pull it over to our main pc.

    adb pull /sdcard/screen.png
    It should respond with something like: 1905 KB/s (1608127 bytes in 0.824s)



    If it works then screen.png will appear in the directory where your adb command line is at.



    End of Line. You can now go off and make your own crazy article reviews!
    Source article: http://www.s-config.com/screen-capture-with-ouya/
    Credit goes to member SConfig

  2. #2
    OUYA Developer Eldon.McGuinness's Avatar
    Join Date
    Oct 2013
    Location
    www.Progressivethink.in
    Posts
    1,519


    I'm pretty sure I posted about that before, but you could also make a batch file to do all this as outlined on a post a made a while back:

    Quote Originally Posted by Screenshot.bat
    adb shell /system/bin/screencap -p /sdcard/img.png
    adb pull /sdcard/img.png img.png
    If you are using a network adb connection just throw your "adb connect IP_HERE" line at the top. This gives you a quick, double-clickable option to getting your screenshots. Additionally, you could add "C:\android\adt-bundle-windows-x86_64-20130717\sdk\platform-tools\" to your path that way you do not need to ever do the cd bit. If you do not want to do that then just put that option up top of the script, above the "adb connect" line if your using it.

    Quote Originally Posted by Screenshot.bat
    cd PATH_TO_ADB_COMMAND
    adb connect OUYA_IP
    adb shell /system/bin/screencap -p /sdcard/img.png
    adb pull /sdcard/img.png img.png
    [Via Progressivethink.in]
    Last edited by Eldon.McGuinness; 09-08-2014 at 05:12 PM.

  3. #3
    Administrative Queen of Evil RiotingSpectre's Avatar
    Join Date
    Mar 2013
    Location
    ❤Your Heart❤
    Posts
    11,214


    All credit goes to the OUYAForum member sconfig.


  4. #4
    I am the Night Killswitch's Avatar
    Join Date
    Jul 2013
    Location
    On the highway to hell
    Posts
    10,928


    Quote Originally Posted by RiotingSpectre View Post
    All credit goes to the OUYAForum member sconfig.
    Thought it was his by the domain name. Odd that I don't see a thread for it, seen it for months on Twitter. Guess he didn't post it here.

  5. #5


    Hello!

    Yeah, I thought it was covered already too! Which is why I didn't say anything about it. But thanks for noticing my site!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •