Getting to know the Android tools
twitter.com/juarezjunior
• SDK Manager – helps you manage Android SDKs
– http://developer.android.com/tools/help/sdk-manager.html
– http://developer.android.com/sdk/installing/adding-packages.html
• Emulator – allows you to test your Android app (.apk) using your
workstation without having a real mobile device
– Keyboard commands
– Command line parameters (switches)
– emulator -avd <avd_name> [-<option> [<value>]] ... [-<qemu args>]
– http://developer.android.com/tools/help/emulator.html
– http://developer.android.com/tools/devices/emulator.html
Getting to know the Android tools
• Emulator – choices
– Intel HAXM
• http://intel.ly/ZfS8OI
– GenyMotion
• http://www.genymotion.com/
– Manymo
• https://www.manymo.com/
Getting to know the Android tools
Getting to know the Android tools
• AVD - Android Virtual Device
– Simulates a device and/or Android version (Level) image
used for emulator execution
– It can be launched using IDE or emulator command in CLI
– emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none
– emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none -verbose
– emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none
– emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none -version
– AVD Manager
• https://developer.android.com/tools/devices/index.html
• http://developer.android.com/tools/help/avd-manager.html
• http://developer.android.com/tools/devices/managing-avds.html
• http://developer.android.com/tools/devices/managing-avds-cmdline.html
Getting to know the Android tools
• ADB - Android Debug Bridge
– ADB allows us to communicate with devices or emulator
instances. Very useful bridge!
– It is a client/server application that runs on device and on
workstation
– http://developer.android.com/tools/help/adb.html
– Some ADB command examples:
• adb <comando>
• adb -- help
• adb devices
• adb logcat
Getting to know the Android tools
– More ADB command examples:
• adb kill-server / start-server
• adb install <apk> / uninstall <packageName>
• adb get-serialno
• adb –s <serialNumber> <comando>
–adb -s emulator-5554 status-window
–adb start-server
* daemon not running. starting it now on port 5037
* daemon started successfully *
Getting to know the Android tools
• ADB Shell
– adb shell → pwd → ls -l → cat default.prop → df → ps → exit
• List services
– service list
• Dump services
– dumpsys meminfo
– dumpsys battery
– dumpsys wifi
– dumpsys cpuinfo
• Sqlite3 interaction
– cd data/data/com.android.providers.contacts
– sqlite3 databases/contacts2.db
• Use am = Activity Manager
– am start -a android.intent.action.VIEW
• Use pm = Package Manager
– pm list packages
Getting to know the Android tools
• The DDMS Perspective
– Dalvik Debug Monitor Service (DDMS) is a debugging tool that allows us to use and
perform several debug tasks:
• Devices - Shows the list of devices and AVDs that are connected to ADB.
• Emulator Control - Lets you carry out device functions.
• LogCat - Lets you view system log messages in real time.
• Threads - Shows currently running threads within a VM.
• Heap - Shows heap usage for a VM.
• Allocation Tracker - Shows the memory allocation of objects.
• File Explorer - Lets you explore the device's file system.
• http://developer.android.com/tools/debugging/ddms.html
Getting to know the Android tools
juarez.barbosa@gmail.com
All brands, names, reports, visual resources cited here are property of their respective owners and or corporations.
This presentation has educational purposes only. All rights reserved.

More Related Content

PDF
2 - Installation & Configuration - Android SDK and ADT Plugin - en-US
PDF
1 - Android - Devices and Platform - en-US
PDF
Building games-with-libgdx
PDF
Deep Dive into the AOSP
PPTX
Game development with_lib_gdx
PDF
Android things introduction - Development for IoT
PDF
A deep dive into Android OpenSource Project(AOSP)
PPT
Kanye West's Album covers
2 - Installation & Configuration - Android SDK and ADT Plugin - en-US
1 - Android - Devices and Platform - en-US
Building games-with-libgdx
Deep Dive into the AOSP
Game development with_lib_gdx
Android things introduction - Development for IoT
A deep dive into Android OpenSource Project(AOSP)
Kanye West's Album covers

Viewers also liked (8)

PDF
Android Daemons
PDF
Adb Commands
PPTX
Android Mobile Application Testing: Human Interface Guideline, Tools
PPT
Android Debug
PDF
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
ODP
Android crash debugging
PDF
ADB(Android Debug Bridge): How it works?
PPTX
Android - ADB
Android Daemons
Adb Commands
Android Mobile Application Testing: Human Interface Guideline, Tools
Android Debug
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Android crash debugging
ADB(Android Debug Bridge): How it works?
Android - ADB
Ad

Similar to 3 getting to know the android tools - en-us (20)

PPTX
Android tools for testers
PPTX
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
PDF
Don Thorp & Marshall Culpepper: Advanced Titanium Development for Android
PDF
Android Overview
PDF
Working with the AOSP - Linaro Connect Asia 2013
PPTX
Rhodes mobile Framework
PDF
Solaris Kernel Debugging V1.0
PDF
Android developer options & android sdk tools (for qa)
PDF
Android developer options &amp; android sdk tools (for qa)
ODP
Android porting for dummies @droidconin 2011
PDF
Android Internals
PDF
Android App development and test environment, Understaing android app structure
PPTX
3. Android Architecture.pptx
PDF
Mobile operating systems - Application Benchmarking
PDF
Mobile application and Game development
PPTX
128-ch4.pptx
PPTX
Null mumbai-Android-Insecure-Data-Storage-Exploitation
PDF
CNIT 128 Ch 4: Android
PDF
Android Internals
PPTX
12. Android Basic Google Map
Android tools for testers
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
Don Thorp & Marshall Culpepper: Advanced Titanium Development for Android
Android Overview
Working with the AOSP - Linaro Connect Asia 2013
Rhodes mobile Framework
Solaris Kernel Debugging V1.0
Android developer options & android sdk tools (for qa)
Android developer options &amp; android sdk tools (for qa)
Android porting for dummies @droidconin 2011
Android Internals
Android App development and test environment, Understaing android app structure
3. Android Architecture.pptx
Mobile operating systems - Application Benchmarking
Mobile application and Game development
128-ch4.pptx
Null mumbai-Android-Insecure-Data-Storage-Exploitation
CNIT 128 Ch 4: Android
Android Internals
12. Android Basic Google Map
Ad

More from Juarez Junior (20)

PDF
WeAreDevelopers Berlin - Blazingly Fast GenAI App Development With Java and S...
PDF
WeAreDevelopers Berlin - LangChain4J - A Guide for Impatient Developers
PDF
Build Stuff Lithuania - Blazingly Fast GenAI App Development With Java and Sp...
PDF
DUBJUG-Simplifying Data Access with Jakarta Data for Domain-Driven Design
PDF
Cloud Lunch and Learn -Microsoft Semantic Kernel for Java
PDF
Compass AI Budapest -The Trinity in GenAI - Spring AI, LangChain4J and OpenAI
PDF
GSAS - Global Software Architecture Summit - GenAI-Architectural-Blueprints
PDF
BaselOne_Langchain4J - A Guide for Impatient Developers
PDF
DeveloperWeek USA - A Solid Foundation for GenAI Apps - Exploring Architectur...
PDF
I Love Tech Romania - Blazingly Fast GenAI App Development With Java and Spri...
PDF
I Love Tech Romania - The Trinity in GenAI - Spring AI, LangChain4J and OpenAI
PDF
DUBJUG_Blazingly Fast GenAI App Development With Java and Spring AI.pdf
PDF
DUBJUG_Creating GenAI Apps in Java with SD4J and the ONNX Runtime
PDF
I Love Tech Romania - A High-Speed Data Ingestion Microservice in Java Using ...
PDF
DevTalks Cluj Romania - A Solid Foundation for GenAI Apps.pdf
PDF
Quarkus Club_Java Virtual Threads & Pipelined Database Operations
PDF
Quarkus Club_Revolutionize Java Database App Development with Reactive Stream...
PDF
TDC - The Developers Conference - The Trinity in GenAI - Spring AI, LangChain...
PDF
TDC - The Developers Conference - Creating GenAI Apps in Java with SD4J and t...
PDF
TDC - The Developers Conference - An Introduction to Machine Learning in Java...
WeAreDevelopers Berlin - Blazingly Fast GenAI App Development With Java and S...
WeAreDevelopers Berlin - LangChain4J - A Guide for Impatient Developers
Build Stuff Lithuania - Blazingly Fast GenAI App Development With Java and Sp...
DUBJUG-Simplifying Data Access with Jakarta Data for Domain-Driven Design
Cloud Lunch and Learn -Microsoft Semantic Kernel for Java
Compass AI Budapest -The Trinity in GenAI - Spring AI, LangChain4J and OpenAI
GSAS - Global Software Architecture Summit - GenAI-Architectural-Blueprints
BaselOne_Langchain4J - A Guide for Impatient Developers
DeveloperWeek USA - A Solid Foundation for GenAI Apps - Exploring Architectur...
I Love Tech Romania - Blazingly Fast GenAI App Development With Java and Spri...
I Love Tech Romania - The Trinity in GenAI - Spring AI, LangChain4J and OpenAI
DUBJUG_Blazingly Fast GenAI App Development With Java and Spring AI.pdf
DUBJUG_Creating GenAI Apps in Java with SD4J and the ONNX Runtime
I Love Tech Romania - A High-Speed Data Ingestion Microservice in Java Using ...
DevTalks Cluj Romania - A Solid Foundation for GenAI Apps.pdf
Quarkus Club_Java Virtual Threads & Pipelined Database Operations
Quarkus Club_Revolutionize Java Database App Development with Reactive Stream...
TDC - The Developers Conference - The Trinity in GenAI - Spring AI, LangChain...
TDC - The Developers Conference - Creating GenAI Apps in Java with SD4J and t...
TDC - The Developers Conference - An Introduction to Machine Learning in Java...

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
The various Industrial Revolutions .pptx
PDF
August Patch Tuesday
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPT
Geologic Time for studying geology for geologist
PDF
Five Habits of High-Impact Board Members
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Enhancing emotion recognition model for a student engagement use case through...
NewMind AI Weekly Chronicles – August ’25 Week III
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Web Crawler for Trend Tracking Gen Z Insights.pptx
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Benefits of Physical activity for teenagers.pptx
Hybrid model detection and classification of lung cancer
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
The various Industrial Revolutions .pptx
August Patch Tuesday
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
A review of recent deep learning applications in wood surface defect identifi...
A novel scalable deep ensemble learning framework for big data classification...
A comparative study of natural language inference in Swahili using monolingua...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Geologic Time for studying geology for geologist
Five Habits of High-Impact Board Members
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Getting started with AI Agents and Multi-Agent Systems
Enhancing emotion recognition model for a student engagement use case through...

3 getting to know the android tools - en-us

  • 1. Getting to know the Android tools twitter.com/juarezjunior
  • 2. • SDK Manager – helps you manage Android SDKs – http://developer.android.com/tools/help/sdk-manager.html – http://developer.android.com/sdk/installing/adding-packages.html • Emulator – allows you to test your Android app (.apk) using your workstation without having a real mobile device – Keyboard commands – Command line parameters (switches) – emulator -avd <avd_name> [-<option> [<value>]] ... [-<qemu args>] – http://developer.android.com/tools/help/emulator.html – http://developer.android.com/tools/devices/emulator.html Getting to know the Android tools
  • 3. • Emulator – choices – Intel HAXM • http://intel.ly/ZfS8OI – GenyMotion • http://www.genymotion.com/ – Manymo • https://www.manymo.com/ Getting to know the Android tools
  • 4. Getting to know the Android tools
  • 5. • AVD - Android Virtual Device – Simulates a device and/or Android version (Level) image used for emulator execution – It can be launched using IDE or emulator command in CLI – emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none – emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none -verbose – emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none – emulator.exe -avd NXT-AVD-2.3.3 -netspeed full -netdelay none -version – AVD Manager • https://developer.android.com/tools/devices/index.html • http://developer.android.com/tools/help/avd-manager.html • http://developer.android.com/tools/devices/managing-avds.html • http://developer.android.com/tools/devices/managing-avds-cmdline.html Getting to know the Android tools
  • 6. • ADB - Android Debug Bridge – ADB allows us to communicate with devices or emulator instances. Very useful bridge! – It is a client/server application that runs on device and on workstation – http://developer.android.com/tools/help/adb.html – Some ADB command examples: • adb <comando> • adb -- help • adb devices • adb logcat Getting to know the Android tools
  • 7. – More ADB command examples: • adb kill-server / start-server • adb install <apk> / uninstall <packageName> • adb get-serialno • adb –s <serialNumber> <comando> –adb -s emulator-5554 status-window –adb start-server * daemon not running. starting it now on port 5037 * daemon started successfully * Getting to know the Android tools
  • 8. • ADB Shell – adb shell → pwd → ls -l → cat default.prop → df → ps → exit • List services – service list • Dump services – dumpsys meminfo – dumpsys battery – dumpsys wifi – dumpsys cpuinfo • Sqlite3 interaction – cd data/data/com.android.providers.contacts – sqlite3 databases/contacts2.db • Use am = Activity Manager – am start -a android.intent.action.VIEW • Use pm = Package Manager – pm list packages Getting to know the Android tools
  • 9. • The DDMS Perspective – Dalvik Debug Monitor Service (DDMS) is a debugging tool that allows us to use and perform several debug tasks: • Devices - Shows the list of devices and AVDs that are connected to ADB. • Emulator Control - Lets you carry out device functions. • LogCat - Lets you view system log messages in real time. • Threads - Shows currently running threads within a VM. • Heap - Shows heap usage for a VM. • Allocation Tracker - Shows the memory allocation of objects. • File Explorer - Lets you explore the device's file system. • http://developer.android.com/tools/debugging/ddms.html Getting to know the Android tools
  • 10. [email protected] All brands, names, reports, visual resources cited here are property of their respective owners and or corporations. This presentation has educational purposes only. All rights reserved.