Skip to content

Instantly share code, notes, and snippets.

@jiahuang
jiahuang / ScrollableGridView.java
Created May 4, 2012 04:20
gridview inside of scrollview
// http://pastebin.com/KMcwGrS8
public class ScrollableGridView extends GridView {
boolean expanded = true;
public ScrollableGridView(Context context)
{
super(context);
}
@Kursulla
Kursulla / Self signing certificate: Android and Retrofit
Last active November 13, 2018 16:58
Self signing certificate: Android and Retrofit
Enabling communication with API if server has Self-Signed Certificate
@ivanarellano
ivanarellano / .md
Last active March 27, 2023 17:43
ADB Screencap and Screenrecord Commands on Android 4.4+

Screencap Command Usage

  1. adb shell screencap /sdcard/screencap.png
  2. adb pull /sdcard/screencap.png
  3. (Optional) Delete the file: adb rm /sdcard/screencap.png

Screenrecord Command Usage

  1. adb shell screenrecord /sdcard/screenrecord.mp4
  2. Press Ctrl + C on Mac to stop recording
  3. adb pull /sdcard/screenrecord.mp4
  4. (Optional) Delete the file: adb rm /sdcard/screenrecord.mp4