Free Essay

Installing and Using the Adb

In:

Submitted By thebest1canget
Words 863
Pages 4
How To Install and Use ADB, the Android
Debug Bridge Utility

ADB, Android Debug Bridge, is a command-line utility included with Google’s Android
SDK. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more.
We’ve covered some other tricks that require ADB in the past, including backing up and restoring your smartphone or tablet[1] and installing Android apps to your SD card by default[2]. ADB is used for a variety of geeky Android tricks.
Image Credit: LAI Ryanne on Flickr[3]

Install Java JDK & Android SDK
Before installing the Android SDK, you’ll have to install Oracle’s Java development kit.

You can download it from here[4] – ensure you download the x86 (32-bit) version, even if your computer uses a 64-bit operating system.
Even if you already have the Java runtime (JRE) installed, you’ll need to install the JDK as well. With the Java JDK installed, you can now download the Android SDK from Google[5] and install it on your computer. If you see a Java-related error during installation, ensure you downloaded and installed the x86 version of the JDK, not the x64 one.

Android SDK Setup
Once the Android SDK is downloaded and installed, launch the SDK Manager application from your Start menu.
Enable the Android SDK Platform-tools checkbox and click the Install button. This downloads and installs the platform-tools package, which contains ADB and other utilities. Enable USB Debugging
To use ADB with your Android device, you must enable USB debugging on it. You’ll find this option under Developer Options on your device’s Settings screen.

Test ADB and Install Device Drivers
Locate the android-sdk’s folder. Note the SDK path displayed at the top of the SDK
Manager window.

If you used the default install location, you’ll find ADB in the following directory:
C:\Users\NAME\AppData\Local\Android\android-sdk\platform-tools
If you used a different install location, you’ll find ADB in the platform-tools directory inside your android-sdk directory.
Browse to this directory, hold Shift and right-click inside it, and select Open command window here.

To test whether ADB is working properly, connect your Android device to your computer using a USB cable and run the following command: adb devices

You should see a device in the list. If your device is connected but nothing appears in the list, you’ll need to install the appropriate drivers.
Your manufacturer may provide a downloadable driver package for your device. You can also try installing the Google USB Driver from the Extras folder in the SDK Manager

window.

You may have to force Windows to use the installed drivers for your device. Open the
Device Manager (click Start, type Device Manager, and press Enter), locate your device, right-click it and select Properties. You may see a yellow exclamation mark next to the device if its driver isn’t installed properly.

On the Driver tab, click Update Driver.

Use the Browse my computer for driver software option.

Navigate to the following folder if you installd the Google USB driver:
C:\Users\NAME\AppData\Local\Android\android-sdk\extras\google\usb_driver
(Check the extras\google\usb_driver folder under the android-sdk folder if you installed the Android SDK to a non-default location.)

ADB Commands
Once you’ve got your drivers correctly installed and the adb devices command indicates it can communicate with your Android smartphone or tablet, you can start using ADB.
In addition to the variety of tricks that require ADB, ADB offers some useful commands: adb install C:\package.apk – Installs the package located at C:\package.apk on your computer on your device. adb uninstall package.name – Uninstalls the package with package.name from your device. For example, you’d use the name com.rovio.angrybirds to uninstall the Angry
Birds app. adb pushC:\file /sdcard/file – Pushes a file from your computer to your device. For

example, the command here pushes the file located at C:\file on your computer to
/sdcard/file on your device adb pull/sdcard/file C:\file – Pulls a file from your device to your computer – works like adb push, but in reverse. adb logcat – View your Android device’s log. Can be useful for debugging apps. adb shell – Gives you an interactive Linux command-line shell on your device. adb shell command – Runs the specified shell command on your device.
For a full guide to ADB, consult the Android Debug Bridge page[6] on Google’s Android
Developers site.

Links
1. http://www.howtogeek.com/125375/how-to-create-a-full-android-phone-or-tabletbackup-without-rooting-or-unlocking-your-device/
2. http://www.howtogeek.com/114667/how-to-install-android-apps-to-the-sd-card-bydefault-move-almost-any-app-to-the-sd-card/
3. http://www.flickr.com/photos/laihiu/4256837998/in/photostream/
4. http://www.oracle.com/technetwork/java/javase/downloads/index.html
5. http://developer.android.com/sdk/index.html
6. http://developer.android.com/tools/help/adb.html

Get a free Evernote account to save this article and view it later on any device.
Create account

Similar Documents

Premium Essay

It Infrastructure Manager

... | |E-MAIL RANYIDOHO@AGRICBANK.COM, RFANYIDOHO@YAHOO.COM | Date of Birth: 24TH June 1971 Nationality: Ghanaian Gender: Male Marital Status: Married Summary of Work Experience • Experience in LAN/WAN Design, Installation and Implementation. • Conversant With Windows NT/Unix Systems Administration • Experience In Windows 2000/2003 Systems Administration • Good Working Knowledge In TCP/IP • Experience In Configuring And Installing Electronic Mailing System • Experience In Microsoft Exchange Server 2000/Microsoft Outlook 2000 and Outlook 2003 • Experience In Configuring And Installing Intel/Alpha Based Servers • Experience in providing Technical support to the following software’s; a. Microbanker b. Flex cube ver. 3.2, 4.6 and 11.2 c. Money gram d. Western Union e. Orfeo Personal Profile • A self-motivated person who achieves set goals. With varied work experience l am well suited and adaptable to different roles: able to work as an individual, team leader or member. • Possessing excellent interpersonal skills, which enable me to...

Words: 1719 - Pages: 7

Free Essay

Khan

...Android ™ A Programmer’s Guide This page intentionally left blank Android ™ A Programmer’s Guide J.F. DiMarzio New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Copyright © 2008 by The McGraw-Hill Companies. All rights reserved. Manufactured in the United States of America. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. 0-07-159989-4 The material in this eBook also appears in the print version of this title: 0-07-159988-6. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. For more information, please contact George Hoare, Special Sales, at george_hoare@mcgraw-hill.com or (212) 904-4069. TERMS OF USE This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGraw-Hill”) and its licensors reserve all rights in and...

Words: 43266 - Pages: 174

Free Essay

Os X for Legacy Macs

...items 0 Checkout / View Cart Search: Choose a Category Register XPostFacto Other World Computing's XPostFacto 4 XPostFacto is a utility from Other World Computing which helps to install and boot Mac OS X, Mac OS X Server, and Darwin on certain unsupported systems. When Mac OS X installs successfully, its stability on unsupported systems appears to be excellent. However, there are cases in which Mac OS X is difficult to install, and there are a variety of problems you can run into. So read carefully. You should also remember to check the online version of this documentation from time to time, to see whether there have been any changes. Here's a quick link to download the latest version. Previous versions are also available in the version history below, along with a list of changes. XPostFacto 4 (disk image) (or in the older .sit format) XPostFacto is an open-source application which you may download and try without registration. However, I encourage you to contribute to the ongoing work on XPostFacto by registering as an XPostFacto user ($25). This helps to support the continuing development of XPostFacto, and also gives you an account on the tech support forum. If you are already a registered user of XPostFacto, you can make a contribution to its continuing development. If you want to redistribute XPostFacto, then consult the license terms (which have changed a little for XPostFacto 4). What's New Here's what is new in version 4.0: Supports Mac OS X 10.4 (Tiger)...

Words: 14988 - Pages: 60

Free Essay

Energy Efficiency and Sustainable Development

...money 3. Global Perspective OECD Countries OECD Countries through energy efficiency address the risks of climate change, an increasing number of countries, mainly from the OECD, have embarked on ambitious programmes, with energy efficiency often as the main pillar. Energy efficiency enables countries to alleviate the financial burden of oil imports on their balance of trade and also improves energy supply security [pic][pic] 4. Developing Countries In developing countries the energy efficiency enables a reduction in overall investmentinto energy sector and will help to make the best use of assets to improve the energy access. Improving efficiency in use of electricity has two benefits: X Supplying more customers with the same Using the same electricity production capacity, thus providing electricity access for more people to s, which is often the main objective challenge in many countries of Africa and Asia. X Slowing down electricity demand growth, and so reducing the investment needed for expansion of the electricity...

Words: 3077 - Pages: 13

Premium Essay

Sustainable Banking -an Indian Perspective

...SUSTAINABLE BANKING -AN INDIAN PERSPECTIVE Abstract ------------------------------------------------- The contribution of financial institutions including banks to sustainable development is dominant, considering the crucial role they play in financing the economic and developmental activities of the world. In this context, the urgency for banks to act as responsible corporate citizens in the society, especially in a developing country like ours, need be hardly overemphasized. Their activities should reflect their concern for human rights and environment. Since banking sector is one of the major stake holders in the Industrial sector, it can find itself faced with credit risk and liability risks. Further, environmental impact might affect the quality of assets and also rate of return of banks in the long-run. Thus the banks should go green and play an upbeat role to take environmental and ecological aspects as part of their lending principle, which would force industries to go for mandated investment for environmental management, use of appropriate technologies and management systems. This paper explores the developments of environmental concern in Indian banks, their environmental impact, and their role in the economy as a driving force for more proactive policies toward sustainable development. 1Introduction Banks and financial intuitions have played major role in the economic development of the country and most of the credit- related schemes of the government...

Words: 3042 - Pages: 13

Premium Essay

E-Governance for Rural Development

...E-Governance for Rural Development Swati Bhatt Sr. Lecturer (Marketing Area), Dept of Management Studies India is a land of diversity. This diversity spans across culture, tradition, language, geography and the economic condition of the people. It is a nation that has a significant number of people who are below the minimal socio-economic benchmarks. This includes rural and urban poor, women in rural areas, street children, people belonging to historically disadvantaged castes and people living in less developed areas. The vulnerability of these sections of society has increased with globalization and this section is prone to become even more marginalized - economically and socially. Successive governments have committed themselves to addressing these divides, but effective implementation of various economic development programmes aimed at individuals belonging to these sections of society has proved an elusive goal. During the 1980s and early 1990s, initial attempts towards e-Governance were made with a focus on networking government departments and developing in-house government applications in the areas of defence, economic monitoring, planning and the deployment of IT to manage data-intensive functions related to elections, census, tax administration etc.80 These applications focused on automation of internal government functions rather than on improving service delivery to citizens. Over the past decade or so, there have been islands of e-Governance initiatives...

Words: 15593 - Pages: 63

Free Essay

Sme in Bangladesh

...EXECUTIVE SUMMARY Overall, the SME FDI is currently an extremely valuable initiative. Through appropriate and careful analysis of the data, public policy can be directed yet more efficiently to further improve competitive advantage of Canada's SMEs. In particular, the baseline survey associated with the SME FDI is an extraordinarily valuable research undertaking. It provides the potential to assess directly the extent to which financing gaps might occur in the capital markets on which SMEs rely. This is an important issue in practical terms, in terms of the role of public policy, and in terms of economic and finance theory. The SME FDI baseline survey data provides, for the first time internationally, a means of empirically testing Nobel prize-winning ideas related to information asymmetry and capital rationing. The data provides a means of providing yet better guidance for public policy with respect to addressing potential capital market imperfections that might constrain growth and economic development of SMEs. As designed, the research initiative can and will provide valuable information about these issues. In summary, the baseline survey undertaken as part of the SME FDI is a potentially invaluable resource with respect to the design, targeting, implementation, and follow-up assessment of public policy approaches to nurturing SME growth and viability. The outcomes of this research process could help Industry Canada and its partners to provide Canadian SMEs with substantial...

Words: 5814 - Pages: 24

Free Essay

Android Based Webstatic Server

...A Project Report On ANDROID BASED STATIC WEBSERVER BY CONTENTS TITLE ABSTRACT INTRODUCTION…………………………………………………. 1 Purpose……………………………………………………..………… 1.1 Scope…………………………………………………..…….……….. 1.2 Definitions, Acroynms, Abbrivations……………………. 1.3 Overview……………………..………………………………………. 1.4 SYSTEM ANALYSIS……………………………………… 3 Software Requirements Specification…..………………. 3.1 Hardware Requirements……………………………………….. 3.1.1 Software Requirements………………………………………… 3.1.2 IMPLEMENTATION……………………………………… 4 Modules……………………………………………………………….. 4.1 Accounts…………………………………………………………..4.1.1 Transactions………………………………………………………….. 4.1.2 DESIGN………………..…………………………….……… 5 UML Diagrams………………………………………………………… 5.1 Class Diagram………………………………………………………… 5.1.1 Usecase Diagram….……………………………………………….. 5.1.2 Sequence Diagram….……………………………………………….. 5.1.3 RESULT FOR IMPLEMENTATION…………………… 6 Output Screens………………………………………………………. 6.1 SYSTEM TESTING………………………………………….7 Types of Testing………………………………………………………. 7.1 TESTCASES…………………………………………………..8 CONCLUSION………………………………………………..9 ANDROID BASED STATIC WEBSERVER ABSTRACT Android is software platform and operating system for mobile devices. Being an open-source, it is based on the Linux kernel. It was developed by Google and later the Open Handset Alliance (OHA). It allows writing managed code in the Java language. Due to Android here is the...

Words: 9090 - Pages: 37

Premium Essay

The People and Politics

...Transport Planning of Dhaka City: Some Contemporary Observations Adil Mohammed Khan; Assistant Professor; Department of Urban and Regional Planning; Jahangirnagar University; E-mail: adilmdkhan@yahoo.com Dr. Md Akter Mahmud; Professor; Department of Urban and Regional Planning; Jahangirnagar University; E-mail: aktermahmud@yahoo.com Abstract Traffic problem of Dhaka City is one of the major problems of the city that the city dwellers are facing in their everyday life. Despite all the planning programs and projects, designed by the successive governments, the situation is getting worse day by day. Hence, some underlying questions related to traffic and transport system of the Dhaka city are quite important here. Whether transport planning and management were given proper attention in the past years? What were the past planning efforts regarding transport and traffic in Dhaka city? Why these efforts have proved to be unsuccessful for better transport management of Dhaka city and what are the shortcomings of those plans? However, Strategic transport plan (STP) for Dhaka city has been approved in 2005 for an period of twenty years up to 2025. STP has proposed for installation of Bus Rapid Transit (BRT), Mass Rapid Transit (MRT) as a solution of transport problems of Dhaka City among ten alternative transportation strategies. This paper is an attempt to evaluate the existing plans and programs designed for efficient transport system of Dhaka city, to examine...

Words: 7569 - Pages: 31

Premium Essay

Comperative Study of Corporate Social Activities of Bank and Non Bank Financial Institute

...Comperative Study of Corporate Social Activities of Bank And Non Bank Financial Institute Executive Summery This paper deals with some banks & non-banking financial institutions which are performing CSR. It is the continuing commitment by business to behave ethically and contribute to economic development while improving the quality of life of the workforce and their families as well as of the local community and society at large. It would be give strategic, longer run competitive advantage for banks and non-banking financial institutions in Bangladesh to embrace CSR in their management approaches and operations, with initiatives chosen in broad-based, extensive stakeholder engagement. Corporate social responsibility may help to establish clear boundaries among the different interests of the groups like shareholders, citizens, providers, and customers. In this paper, we will describe, analyze, and formalize the critical responsibility parameters, as well as the variables that shape them. Introduction The title of our term paper is “Comparative Study on the Corporate Social Responsibility Performing by Banking, Non-Banking Financial Institutions” . Globally, the notion of Corporate Social Responsibility (CSR) is fast gaining acceptance as the contribution that businesses can and should make voluntarily...

Words: 17168 - Pages: 69

Premium Essay

Lease.Doc

...Graduate School of Development Studies A Research Paper presented by: Fariba Alamgir (Bangladesh) in partial fulfillment of the requirements for obtaining the degree of MASTERS OF ARTS IN DEVELOPMENT STUDIES Specialization: [Environment And Sustainable Development] (ESD) Members of the examining committee: Prof. Dr Max Spoor [Supervisor] Dr Bram Buscher [Reader] The Hague, The Netherlands November, 2010 Disclaimer: This document represents part of the author’s study programme while at the Institute of Social Studies. The views stated therein are those of the author and not necessarily those of the Institute. Inquiries: Postal address: Institute of Social Studies P.O. Box 29776 2502 LT The Hague The Netherlands Location: Kortenaerkade 12 2518 AX The Hague The Netherlands Telephone: +31 70 426 0460 Fax: +31 70 426 0799 Contents List of Maps v List of Acronyms vi Abstract vii Chapter 1: Research Context and Setting 1 1.1 Introduction 1 1.2 Theoretical Framework 6 1.2.1 Understanding Water Scarcity 6 1.2.2 The Political Ecology Approach 7 1.3 Research Methodology: Data Collection, Analysis and Fieldwork 10 Chapter 2: Changing water regimes and livelihoods in South-Western Bangladesh 14 2.1 Introduction 14 2.2 Changing Water System in Coastal Region in Bangladesh 14 2.2.1 Impact of Poldering and Water Control 14 2.2.2 Reduced Flow of Water and Shrimp...

Words: 19400 - Pages: 78

Premium Essay

Smartphones Operating Systems

...Operating system : An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is an essential component of the system software in a computer system. Application programs usually require an operating system to function. Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor time, mass storage, printing, and other resources. For hardware functions such as input and output and memory allocation, the operating system acts as an intermediary between programs and the computer hardware, although the application code is usually executed directly by the hardware and will frequently make a system call to an OS function or be interrupted by it. Operating systems can be found on almost any device that contains a computer—from cellular phones and video game consoles to supercomputers and web servers. Examples of popular modern operating systems include Android, BSD, iOS, Linux, OS X, QNX, Microsoft Windows, Windows Phone, and IBM z/OS. All these, except Windows, Windows Phone and z/OS, share roots in UNIX. Smartphone A Smartphone, or smart phone, is a mobile phone built on a mobile operating system, with more advanced computing capability and connectivity than a feature phone. The first smartphones combined the functions of a personal digital assistant (PDA), including email...

Words: 15551 - Pages: 63

Free Essay

Answer for Some in a Teachers' Manual

...Economy and Environment Program for Southeast Asia ENVIRONMENTAL ECONOMICS A TEACHERS’ MANUAL Undergraduate Level By Herminia A. Francisco Bui Dung The Pham Khanh Nam August 2005 1 PREFACE This manual was written to support the teaching of undergraduate environmental economics course in Vietnam Universities. Some time in 2003, a number of senior researchers of the Economy and Environment Program for Southeast Asia (EEPSEA) requested that EEPSEA offers a 3-week training course for teachers of Environmental Economics in the country. The request in turn was precipitated by the new mandate from the Ministry of Education in Vietnam that makes Environmental Economics a required course in all Bachelors’ Degree in Economics and Management for all colleges and universities. Aware that the capacity of teachers to teach Environmental Economics varies across the country as training of teachers varies also from selfstudy, short-term training, to a formal course in an undergraduate/graduate degree from local universities or abroad, EEPSEA acceded to the request and offered the course in August 2005. The course though can be used also in other colleges and universities in Southeast Asia. The training course was designed to teach both the subject matter contained in an internationally-comparable undergraduate environmental course and to enhance teachers’ skills in teaching this subject. A teachers’ manual was developed to support the teaching of the training ...

Words: 19925 - Pages: 80

Free Essay

Pipeline

...Introduction Currently, the share of railways in carrying this load is around 70 per cent, followed by 25 per cent for pipelines and 5 per cent for roads. Railways and roads are inefficient modes of carrying petroleum products because they consume significantly more energy (320 BTU for railways and 1700 BTU for roads to move one tonne of petroleum products over one km) than pipelines for which the comparable figure is only 50-135 BTU. Clearly, pipeline transportation is the most efficient way of moving petroleum products and gases and, hence, is the preferred mode all over the world. In developed countries like the USA and the UK, almost all long distance transportation of petroleum products and gas takes place through pipelines. India is far behind these countries in realizing the full potential of pipelines because it does not have a well-developed pipeline network. A rapid development of pipelines, therefore, is essential to ensure that the share of this mode in the transportation of petroleum products and natural gas reaches the desired level. It is estimated that around Rs 30,000 crore are likely to be invested over the next 10-12 years in setting up pipeline networks for liquid petroleum products The efficient and effective movement of natural gas from producing regions to consumption regions requires an extensive and elaborate transportation system. In many instances, natural gas produced from a particular well will have to travel a great distance to reach its point...

Words: 20191 - Pages: 81

Premium Essay

Research, Solar Cell Production and Market Implementation of Photovoltaics

...PV StatuS RePoRt EUR 24807 EN - 2011 The Institute for Energy provides scientific and technical support for the conception, development, implementation and monitoring of community policies related to energy. Special emphasis is given to the security of energy supply and to sustainable and safe energy production. European Commission Joint Research Centre Institute for Energy Contact information Address: Via Enrico Fermi 2749 TP 450 21027 Ispra (VA) Italy E-mail: arnulf.jaeger-waldau@ec.europa.eu Tel.: +39 0332 789119 Fax: +39 0332 789268 http://ie.jrc.ec.europa.eu www.jrc.ec.europa.eu PV Status Report 2011 Research, Solar Cell Production and Market Implementation of Photovoltaics July 2011 Arnulf Jäger-Waldau European Commission, DG Joint Research Centre, Institute for Energy, Renewable Energy Unit Via Enrico Fermi 2749; TP 450 I – 21027 Ispra (VA), Italia EUR 24807 EN Legal notice Neither the European Commission nor any person acting on behalf of the Commission is responsible for the use, which might be made of the following information. The report does not represent any official position of the European Commission, nor do its contents prejudge any future Commission proposals in any areas of Community policy. A great deal of additional information on the European Union is available on the Internet. It can be accessed through the Europa server http://europa.eu/ JRC 64900 EUR 24807 EN ISBN 978-92-79-20171-4 ISSN 1831-4155 doi 10.2788/87966 The report...

Words: 62002 - Pages: 249