Posts

Showing posts from April, 2013

error: device offline

Whenever you get "error: device offline" means that connection with emulator & adb bridge has been broken due to time taken in emulator startup. Need not to restart the emulator at this point just run below commands... adb kill-server adb start-server Thanks, Jak

Eclipse useful shortcuts

Ctrl+Shift+R Find Resource Use this to look for XML files, text files, or files of any other type. which are in your workspace. Ctrl+O Quick Outline Use this to find a method or a member variable in a class. Start typing to limit the choices. Press Ctrl+O a second time to include inherited methods. Ctrl+Shift+T Find Java Type Start typing the name and the list gets smaller. Try typing the capital letters of the class only (e.g. type "CME" to find "ConcurrentModificationException") Ctrl+E Open Editor Drop-Down Presents a popup window listing currently opened files. Start typing to limit the list or simply use the down arrow key. Ctrl+Space Content Assist Context sensitive content completion suggestions while editing Java code. Ctrl+Shift+Space Context Information ...