Take android screenshot from terminal.
Write it on your .bashrc or .zshrc whatever.
alias screenshot='adb_peco.sh screenshot2 $TMPDIR/screenshot.png; open $TMPDIR/screenshot.png'
FragmentManager fm = getSupportFragmentManager(); | |
FragmentTransaction ft = fm.beginTransaction(); | |
ft.add(new ConfirmDialogFragment(), "confirmdialog"); | |
ft.commit(); |
package com.example.android.crushcloseable; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import android.app.Activity; | |
import android.database.Cursor; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteOpenHelper; | |
import android.os.Bundle; |
javascript:(function(){var t=document.getElementsByClassName('goog-tree-expand-icon-tplus');var e=document.createEvent('MouseEvents');e.initMouseEvent('mousedown',true,true,window,0,0,0,0,0,false,false,false,false,0,null);while(t.length>0){t[0].dispatchEvent(e);}})() |
package jp.tomorrowkey.englishpractice; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
public class Main { | |
private static ArrayList<Item> itemArray; |
installapk() { | |
find ./ -name *.apk | peco | xargs adb install -r | |
} |
Take android screenshot from terminal.
Write it on your .bashrc or .zshrc whatever.
alias screenshot='adb_peco.sh screenshot2 $TMPDIR/screenshot.png; open $TMPDIR/screenshot.png'
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.Toast; | |
public class MainActivity extends ActionBarActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
general: | |
branches: | |
only: 'master' | |
artifacts: | |
- 'build/libs' | |
machine: | |
java: | |
version: openjdk7 | |
test: | |
override: |