Select chapter



basics (6.papers)
activities (5.papers)
services (2.papers)
threads (2.papers)
receivers (1.papers)
advanced android (2.papers)
SQLite database (1.papers)
adapters (1.papers)
adb and ddms (1.papers)
widgets (1.papers)
fragments (1.papers)
UI (1.papers)
Hide

Sponsored Links


  

android adb and ddms interview questions and answers

1
Android debugging : What is a break point and how to watch variables while debugging android program?
  1. break point breaks the execution. Put cursor on variables to see the value
  2. break points are hit when crash  happens. Put cursor on variables to see the values
  3. break point breaks the execution.  To see value either you can put cursor on it or right click on variables and add to watch
  4. break point are hit when crash happens.  To see value either you can put cursor on it or right click on variables and add to watch
Show Answer
Share Facebook gmail Twitter
2
What is DDMS in android?
  1. dalvik debug monitor server
  2. dalvik debug monitoring service
  3. dalvik daemon machine server
  4. dalvik daemon machine service
Show Answer
Share Facebook gmail Twitter
3
What is log.d ? where to use log functions?
  1. deamon log
  2. debug log
  3. dalvik log
  4. ddms log
Show Answer
Share Facebook gmail Twitter
4
What is ADB?
  1. It is a client-server modeled tool that is used as bridge between client in host machine & adb daemon in emulator or device.
  2. Option1 is true & This tool is located in android-sdk/platform-tools folder
  3. Option1 is true & This tool is located in android-sdk/tools folder
  4. none of the above are true
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
8
What is adb ?
  1. Android Debug Bridge - can be used to access android tools from command line interface.
  2. Android Direct Bridge - can be used to start emulator.
  3. Android Direct Bridge - provide acces to databases on the rooted device.
  4. None are correct.
Show Answer
Share Facebook gmail Twitter
9
How to install an APK file into emulator 5556. Assume that ADB server might be connected to more than one emulator at that time.
  1. adb -s emulator-5556 install helloWorld.apk
  2. adb install -s emulator-5556 helloWorld.apk
  3. adb install helloWorld.apk
  4. adb -s install emulator-5556 helloWorld.apk
Show Answer
Share Facebook gmail Twitter
10
What is the maximum & minimum port numbers for emulators or devices?
  1. 5554&5555 is minimum. 5584&5585 is maximum.
  2. 5034&5035 is minimum. 5084&5085 is maximum.
  3. 5034&5035 is minimum. 5064&5065 is maximum.
  4. 5554 is minimum & 5585 is maximum.
Show Answer
Share Facebook gmail Twitter
11
What is adb? What is the command to install one application using adb command prompt?
  1. its a client server program to communicate between development machine, and emulator.
  2. its a client server program to communicate between development machine, and device.
  3. its a client server program to communicate between development machine, and device or emulator.
  4. its a client server program to communicate between eclipse in development machine, and eclipse.
Show Answer
Share Facebook gmail Twitter
12
What are the debugging techniques available in android?
  1. use DDMS log cat to see the log flow and to analyze the crash
  2. use break points to see the flow
  3. use memory profiling to analyze memory
  4. all of the above
Show Answer
Share Facebook gmail Twitter
13
How to analyze android application crash, how to fix crash using logcat?
  1. I will put a break point in logcat and analyze it.
  2. after crash logcat will contain exception name along with line number where it has crashed.
  3. I will put a break point in code and analyze.
  4. after crash logcat will contain filename where it has crashed, and also it has variable values also.
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Read more papers :