• Editorial Team asked “c program3 years, 2 months ago

  • Editorial Team asked “GUI3 years, 2 months ago

  • Editorial Team asked “what is use of template?3 years, 2 months ago

  • Editorial Team asked “web tech in java script3 years, 2 months ago

  • Editorial Team asked “lru using graphics3 years, 2 months ago

  • – Vishalakshi R, Chaithra P, Srikanth N S
    Published in IJECS, Volume 3 Issue, 7 July, 2014

    6LoWPAN (IPV6 over Wireless Personal Area Network) is a wireless personal area network that contain […]

  • Ranjith asked “Pig Latin3 years, 3 months ago

  • ADB Stands for Android Debug Bridge, ADB is a command line tool which you can use to debug or communicate with any android device.

    In order to run ADB from your machine, first you must install android SDK in your computer. ADB is the command line tool which comes in android SDK.

    In order to run ADB from your machine, we need to have latest adb executable along with the corresponding device drivers. ADB is the command line tool which is part of android SDK. You can download complete sdk or adb executable alone, we can download.

    Download from:

    Now enable USB debugging in the device settings, under Developer options. After Installing SDK, to provide ADB Commands through command line you need to make “android sdk tools or adb executable” path available to systems environment variable to run from anywhere in the system environment. Otherwise, you need to run the adb commands only from the place, where the adb executable is present.

    Let’s see ADB Commands.

    ADB Command to view connected device(s)

    This command prints a list of all attached emulator/device instances.ADB commands for Android

    adb devices

    If multiple devices are attached, use adb -s DEVICE_ID to target a specific device.

    ADB Command to push and pull files

    adb push <Source> <Destination>

    This command sends files to your phone from local PC.

    Example: adb push c:/example.apk /sdcard/

    adb pull <Source> <Destination>

    This command receives files from your phone to local PC.

    Example: adb pull /system/app/example.apk c:/

    ADB Command to Install and Uninstall an application


    adb install -r APK_PATH

    This command installs a given application to your device. Optional ‘-r’ argument reinstalls and keeps any data if the application is already installed on the device.

    Ex: adb install -r c:/application.apk


    adb uninstall <PACKAGE_NAME>

    This command uninstalls the given package from the device.

    Ex: adb uninstall com.electrofriends.example

    To start adb with root permissions:

    adb root

    ADB command to remount the device:

    adb remount

    ADB Command to enter into shell

    adb shell

    ADB Command to reboot the device

    adb reboot

    ADB Command to reboot the phone into bootloader

    adb reboot bootloader

    ADB Command to wipe data/factory reset

    Suppose if you have forgotten the device password or for any reason if you want to factory reset your android device, here are the simple 3 steps to do the same.

    1. First reboot your device in fastboot or bootloader mode:

    adb reboot bootloader

    2. Next erase all data

    fastboot –w

    3. Restart your device.

    ADB Command Remount your device

    adb remount

    ADB Command to take device log

    Below command will display the device logs on your command prompt.

    adb logcat

    Command to save device logs to a file

    adb logcat > log

    If you feel you are getting lots of unwanted logs, then filter by tagname

    adb logcat -s TAG_NAME
    adb logcat -s TAG_NAME_1 TAG_NAME_2

    You can also filter logs by log priority.

    adb logcat “*:PRIORITY”

    # example

    adb logcat “*:W”

    Here are the priority levels of logs:

    V – Verbose (lowest priority)
    D – Debug
    I – Info
    W – Warning
    E – Error
    F – Fatal
    S – Silent (highest priority, on which nothing is ever printed)

    Filter using grep

    Alternatively the output of logcat can be piped to grep on a system that supports it.

    adb logcat | grep “ERROR”
    adb logcat | grep “ERROR|Exception”

    ADB Command to clear the device log

    This command will clear the device log buffer.

    adb logcat -c

    ADB Command to create and delete users

    First you need to enable the multiuser support on your Android device. Then only the user menu will be visible in Android settings.

    adb shell setprop fw.max_users 8

    Now run bellow command to create new android device user

    adb shell pm create-user Test_User

    Below command is used delete the user based on user ID. There is no direct method is available to delete user based on user name.

    pm remove-user User_ID

    ADB Command to Start an activity

    Use below command to start any activity

    adb shell am start PACKAGE_NAME/ACTIVITY_NAME


    ADB Command to start and stop settings app.

    adb shell am start -n
    adb shell am force-stop

    ADB Command to open device applications directly. 

    adb shell am start -a android.intent.action.MAIN -n

    ABD Command to start and stop camera

    adb shell am start -n
    adb shell am force-stop

    ADB Command to launch camera in image capture mode and take picture

    adb shell am start -a
    adb shell input keyevent 27

    ADB Command to launch camera in video capture mode and take video

    adb shell am start -a
    adb shell  input keyevent 27

  • ThumbnailObjective of the projectTo develop an application project to manage the workings of a Cyber Café.
    This project executed in Saint Mary’s Syrian College, Brahmavar.
    Introduction:Cyber Café Management is a complete […]

  • C program for sorting a Linked List.


    void main (int argc,char * argv[])
    DIR * directory_pointer;
    struct dirent* entry;
    struct File list
    char […]

  • ThumbnailA decoder is a device which does the reverse operation of an encoder, undoing the encoding so that the original information can be retrieved. The same method used to encode is usually just reversed in order to […]

  • ThumbnailA 4 bit binary parallel adder can be formed by cascading four full adder units. The carry of each stage is connected to the next unit as the carry in (That is the third input).

    module parad4(a,c,p,q);

  • ThumbnailIn digital logic, an inverter or NOT gate is a logic gate which implements logical negation. An inverter circuit outputs a voltage representing the opposite logic-level to its input.

    module inv(o,a);

  • There is no automatic conversion from array of primitive type to array of their boxed reference types or vise versa. You have to iterate for each data.

    Converting List<Long> to long[]
    List input = getSomeLongs(); // Assume some values
    long[] output = new long[input.size()];
    int index = 0;
    for(Long val : input) {
    indexess[index] = val;

    Converting long[] to List<Long>
    long[] input = getSomeLongs(); // Assume some values
    List output = new ArrayList();
    for(long val : input){

  • In C and C++, enum types can be used to set up collections of named integer constants. Consider a set of all days. #define Sunday 0 #define Monday 1 #define Tuesday 2 #define Wednesday 3 #define Thursday 4 #define Friday 5 #define Saturday 6 The above lines can be replaced by: enum AllDays{Sunday, Monday, Tuesday, […]

  • Load More