This is a mirror of official site: http://jasper-net.blogspot.com/

Android – Interview Questions/Answer Part – 1

| Wednesday, November 16, 2011
Que 1: Describe the APK format.
Ans:

    Android application package file (APK) is the file format used to distribute and install application software and middleware onto the Google Android operating system. (Same as .exe in windows)
    Each Android application is compiled and packaged in a single file that includes all of the application’s code (.dex files), resources, assets, and manifest file.
     The application package file can have any name but must use the .apk extension

Que 2: What is activity?
Ans:

    Activity is a single screen in application.
    It is derived from Activity class and support JAVA code.
    You can put view by using setContentView(View) method.
    Most commonly, an activity is visibly represented by a full screen window that can receive and handle UI events and perform complex tasks. Though an Activity is typically full screen, it can also be floating or transparent.

Que 3: What is intent?
Ans:

    An Intent object is an instance of Intent.
    A message object that you can use to launch or communicate with other applications/activities asynchronously.
     It includes several criteria fields that you can supply, to determine what application/activity receives the Intent and what the receiver does when handling the Intent. Available criteria include include the desired action, a category, a data string, the MIME type of the data, a handling class, and others.


Read more: TechnoTalkative | PM's Blog
QR: https://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://pareshnmayani.wordpress.com/2011/11/08/android-interview-questionsanswer-part-1/

Posted via email from Jasper-net

0 comments: