Documente Academic
Documente Profesional
Documente Cultură
Video Tutorials
Home
Ubuntu
PDF's
Aug 1, 2011
PPT's
Android Training
My Apps
What is activity?
A single screen in an application, with supporting Java code.
What is intent in Android?
A class (Intent) will describes what a caller desires to do. The caller will send this intent to
Android's intent resolver, which finds the most suitable activity for the intent. E.g. opening a PDF
document is an intent, and the Adobe Reader apps will be the perfect activity for that intent(class).
Search
sendStickyBroadcast() performs a sendBroadcast (Intent) known as sticky, i.e. the Intent you are
sending stays around after the broadcast is complete, so that others can quickly retrieve that data
through the return value of registerReceiver (BroadcastReceiver, IntentFilter). In all other ways, this
behaves the same as sendBroadcast(Intent).
Follow by Email
Email address...
Submit
Popular Posts
Create Your Own Custom
Keyboard for Android Devices
In this post i Created Simple
Keyboard which contains Some
special keys like ( France keys
) and it's supported Ca...
How to call Android contacts
list?
Hi this is very import concept to
Read Existing Contacts from
Your Emulator or Device There
are three steps to this process.
1) Permissions ...
PayPal intigration in Android
If our app has payment option then only one
thing can help us and that is paypal .Actually
working with payment system is li...
How Create Pie Chart In Android
In Genearl Graphs Play very
important role , but in android
we don't have any Graphs
related API . But with the help
of general andro...
development?
Android applications supports using Java Programming Language. which is coded in
Java and complied using Android SDK.
What is a resource?
A user defined JSON, XML, bitmap, or other file, injected into the application build
process, which can later be loaded from code.
How will you record a phone call in Android? or How to handle on Audio Stream
for a call in Android?
Permissions.PROCESS_OUTGOING_CALLS: Will Allows an application to monitor,
modify, or abort outgoing calls. So through that we can monitor thePhone calls.
What's the difference between class, file and activity in android?
Class - The Class file is complied from .java file. Android will use this .class file to
produce the executable apk.
File - It is a block of resources, srbitrary information. It can be any file type.
Activity - An activity is the equivalent of a Frame/Window in GUI toolkits. It is not a file or
a file type it is just a class that can be extended in Android for loading UI elements on
view.
Time
Total Pageviews
1 9 6 4 8 4
hungry Fishes
the packet would be discarded. Each router receives the subtracts count, when the
packet is discarded, and when it becomes zero, the router detects the discarded
packets and sends a message, Internet Control Message Protocol message back to the
originating host.
Followers
How is nine-patch image different from a regular bitmap?
It is a resizable bitmap resource that can be used for backgrounds or other images on
the device. The NinePatch class permits drawing a bitmap in nine sections. The four
corners are unscaled; the four edges are scaled in one axis, and the middle is scaled in
both axes.
Blog Archive
11 (131)
Feb (32)
Mar (10)
Apr (9)
May (8)
Jun (10)
Jul (6)
Aug (8)
Setting Transparent color
Remove Title Bar To Custom Dialog and
Place a dia...
Dec (2)
12 (21)
13 (16)
How to select more than one option from list in android xml file? Give an
example.
Specify android id, layout height and width as depicted in the following example.
What is needed to make a multiple choice list with a custom view for each row?
Multiple choice list can be viewed by making the CheckBox android:id value be
@android:id /text1". That is the ID used by Android for the CheckedTextView in
simple_list_item_multiple_choice.
What are the dialog boxes that are supported in android? Explain.
Android supports 4 dialog boxes:
AlertDialog : An alert dialog box supports 0 to 3 buttons and a list of selectable
elements, including check boxes and radio buttons. Among the other dialog boxes, the
most suggested dialog box is the alert dialog box.
ProgressDialog: This dialog box displays a progress wheel or a progress bar. It is an
extension of AlertDialog and supports adding buttons.
DatePickerDialog: This dialog box is used for selecting a date by the user.
TimePickerDialog: This dialog box is used for selecting time by the user.
The Activity life cycle is must. Ask about the different phases of Activity Life
cycle. For example: when and how the activity comes to foreground?
Check the knowledge on AndroidManifest file, For example: Why do we
need this file, What is the role of this file in Android app development.
Different Kinds of Intents
Ask about different Kinds of context
Ask about different Storage Methods in android
Kinds of Log debugger and Debugger Configuration
How to debug the application on real device.
How do you ensure that the app design will be consistent across the
different screen resolutions
Thread concepts also plus points as we deal with the treads more.
Can you able to build custom views and how?
How to create flexible layouts, For example to place English, Chinese fonts.
What is localization and how to achieve?
What are 9-patch images
How to avoid ANR status
How to do Memory management
Ask about IPC
What is onCreate(Bundle savedInstanceState), Have you used
savedInstanceState when and why?
To check how updated the person is just ask about what are Fragments in
an Activity
If this is an Android specific job, just ask the obvious stuff. Sample II
Application lifecycle
When to use a service
How to use a broadcast receiver and register it both in the manifest and in code
Intent filters
Stuff about what manifest attributes and tags mean
The types of flags to run an application
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TOP
etc
How to do data intensive calculations using threads
Passing large objects (that can't be passed via intents and shouldn't be
serialized) via a service
Binding to a service and the service lifecycle
How to persist data (both savedInstanceState and more permanent ways)
Just go through http://developer.android.com/guide/topics/fundamentals.html and see
what sounds like it's important. Hopefully you're an android developer and know what all
those things are, otherwise you're just waiting your interviewee's time =P
But like @Mayra said. A lot of android can be picked up fairly quickly if they're
experienced programmers. If you just ask android specific questions, you'll get people who
started off with android and that could be bad.
.apk extension
The extension for an Android package file, which typically contains all of the files related to
a single Android application. The file itself is a compressed collection of an
AndroidManifest.xml file, application code (.dex files), resource files, and other files. A
project is compiled into a single .apk file.
.dex extension
Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped
into a single .apk file on the device. .dex files can be created by automatically translating
compiled applications written in the Java programming language.
Action
A description of something that an Intent sender wants done. An action is a string value
assigned to an Intent. Action strings can be defined by Android or by a third-party
developer. For example, android.intent.action.VIEW for a Web URL, or
com.example.rumbler.SHAKE_PHONE for a custom application to vibrate the phone.
adb
Android Debug Bridge, a command-line debugging application shipped with the
SDK. It provides tools to browse the device, copy tools on the device, and forward
ports for debugging. See Using adb for more information.
Application
A collection of one or more activities, services, listeners, and intent
receivers. An application has a single manifest, and is compiled into a single .apk
file on the device.
Content Provider
A class built on ContentProvider that handles content query strings of a specific format to
return data in a specific format. See Reading and writing data to a content provider for
information on using content providers.
Content URI
A type of URI. See the URI entry.
Dalvik
The name of Androids virtual machine. The Dalvik VM is an interpreter-only virtual
machine that executes files in the Dalvik Executable (.dex) format, a format that is
optimized for efficient storage and memory-mappable execution. The virtual machine is
register-based, and it can run classes compiled by a Java language compiler that have
been transformed into its native format using the included dx tool. The VM runs on top of
Posix-compliant operating systems, which it relies on for underlying functionality (such as
threading and low level memory management). The Dalvik core class library is intended to
provide a familiar development base for those used to programming with Java Standard
Edition, but it is geared specifically to the needs of a small mobile device.
DDMS
Dalvik Debug Monitor Service, a GUI debugging application shipped with the SDK. It
provides screen capture, log dump, and process examination capabilities. See Using the
Dalvik Debug Monitor Server to learn more about this program.
Drawable
A compiled visual resource that can be used as a background, title, or other part of the
screen. It is compiled into an android.graphics.drawable subclass.
Intent
A class (Intent) that contains several fields describing what a caller would like to do. The
caller sends this intent to Androids intent resolver, which looks through the intent filters of
all applications to find the activity most suited to handle this intent. Intent fields include the
desired action, a category, a data string, the MIME type of the data, a handling class, and
other restrictions.
Intent Filter
Activities and intent receivers include one or more filters in their manifest to describe what
kinds of intents or messages they can handle or want to receive. An intent filter lists a set
of requirements, such as data type, action requested, and URI format, that the Intent or
message must fulfill. For Activities, Android searches for the Activity with the most closely
matching valid match between the Intent and the activity filter. For messages, Android will
forward a message to all receivers with matching intent filters.
Intent Receiver
An application class that listens for messages broadcast by
callingContext.broadcastIntent(). For example code, see Listening for and
broadcasting global messages.
Layout resource
An XML file that describes the layout of an Activity screen.
Manifest
An XML file associated with each Application that describes the various activies,
intent filters, services, and other items that it exposes. See AndroidManifest.xml
File Details.
Nine-patch / 9-patch / Ninepatch image
A resizeable bitmap resource that can be used for backgrounds or other images on the
device. See Nine-Patch Stretchable Image for more information.
Query String
A type of URI. See the URI entry.
Resource
A user-supplied XML, bitmap, or other file, entered into an application build process,
which can later be loaded from code. Android can accept resources of many types;
Theme
A set of properties (text size, background color, and so on) bundled together to define
various default display settings. Android provides a few standard themes, listed in R.style
(starting with Theme_).
URIs
Android uses URI strings both for requesting data (e.g., a list of contacts) and for
requesting actions (e.g., opening a Web page in a browser). Both are valid URI strings,
but have different values. All requests for data must start with the string content://. Action
strings are valid URIs that can be handled appropriately by applications on the device; for
example, a URI starting with http:// will be handled by the browser
Every Android application runs in its own process, with its own instance of the Dalvik
virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently.
The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for
minimal memory footprint. The VM is register-based, and runs classes compiled by a Java
language compiler that have been transformed into the .dex format by the included dx
tool.
Android only supports applications written using the Java programming language at this
time.
3 comments:
Shaik Aug 6, 2011, 2:37:00 AM
Perfect info, all information will be found here like genuine and realistic.
Job Interview Questions
Reply
sravan
Sir What is JNI you mentioned this to use C/C++ for Android....?
JNI is the Java Native Interface. It defines a way for managed code (written in the Java
programming language) to interact with native code (written in C/C++). It's vendor-neutral,
has support for loading code from dynamic shared libraries, and while cumbersome at
times is reasonably efficient.
for more info click here :
http://developer.android.com/guide/practices/jni.html
Reply
Comment as:
Publish
Google Accoun
Preview
Newer Post
Home
Older Post
Google+ Followers
2