1.What
is Android?
A.Android is a software stack for mobile devices
that includes an operating system, middleware and key applications.
2.Explain
the Architecture of android ?
A.Top -> Applications
(Contacts, Browser, Phone, etc)
Below Applications -> Application
Framework(Activity Manager, Window Manager, Content Providers, View System,
Package manager,
Telephony manager, Resource, Notification,
Location managers)
Below Application Framework -> System
Libraries(Like Sqlite, webkit, SSL, OpenGL, Media Framework etc) & Android
Runtime( Core Libraries and DVM)
Atlast Last -> Linux Kernel (which composed of
drivers like display, camera etc.)
3.Describe
the APK format.
A.The APK file is compressed
the AndroidManifest.xml file, application code (.dex files), resource files,
and other files.
A project is compiled into a single .apk
file.
4.What is an action?
A.A description of something
that an Intent sender desires.
5.What
is an activity?
A.A single screen in an
application, with supporting Java code.
An activity presents a visual user interface for
one focused endeavor the user can undertake.
For example, an activity might present a list of
menu items users can choose from or it might display photographs along with
their captions.
6.What
is a service?
A.A service doesn’t have a
visual user interface, but rather runs in the background for an indefinite
period of time.
For example, a service might play background music
as the user attends to other matters, or it might fetch data over the network
or calculate
something and provide the result to activities
that need it.
Each service extends the Service base class.
7.What
is a Broadcast receivers?
A.A broadcast receiver is a
component that does nothing but receive and react to broadcast announcements.
For example, announcements that the timezone has
changed, that the battery is low or that the user changed a language
preference.
All receivers extend the BroadcastReceiver base
class.
Broadcast receivers do not display a user
interface. However, they may start an activity in response to the information
they receive,
or they may use the NotificationManager to alert
the user like(flashing the backlight, vibrating the device, playing a
sound)
8.What
is a content provider?
A.A content provider makes a
specific set of the application’s data available to other applications.The
content provider extends the ContentProvider
base class to implement a standard set of methods
that enable other applications to retrieve and store data of the type it controls.
However, applications do not call these methods
directly. Rather they use a ContentResolver object and call its methods
instead.
9.How
is nine-patch image different from a regular bitmap?
A.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.
10.What
languages does Android support for application development?
A.Android applications are
written using the Java programming language.
11.What
is a resource?
A.A user-supplied XML, bitmap,
or other file, injected into the application build process, which can later be
loaded from code.
12.What
Virtual Machine Android runs on?
A.Dalvik virtual machine
13.Android
Latest Version?
A.Android 3.0
14.How
do you define the user interface?
A.XML Format is the best.
1.How
to Remove Desktop icons and Widgets
A. Press and Hold the icon
or widget. The phone will vibrate and on the bottom of the phone you will see
anoption to remove. While still holding the icon or widget drag it to the
remove button. Once remove turns red drop the item and it is gone
2.Describe a real time scenario where android can be used?
A.Imagine a situation that you are in a country where no one
understands the language you speak and you can not read or write. However, you
have mobile phone with you.
3.How to select more than one option from list in android xml file?
A.Give an example.
Specify android id, layout height and width as depicted in the following example.
Specify android id, layout height and width as depicted in the following example.
4.What languages does Android support for application development?
A.Android applications are written using the Java programming language.
5.Describe Android Application Architectur ?
A.Android Application Architecture has the following components:
• Services – like N
• Intent – To perform inter-communetwork Operation
ication between activities or
services
• Resource Externalization – such as strings and
graphics
• Notification signaling users – light, sound, icon,
notification, dialog etc
6.What is the Android Open Source Project?
A.We use the phrase “Android Open Source Project” or “AOSP” to refer
to the people, the processes, and the source code that make up Android.
7.Why did we open the Android source code?
A.Google started the Android project in response to our own
experiences launching mobile apps. We wanted to make sure that there would
always be an open platform available for carriers, OEMs, and developers to use
to make their innovative ideas a reality. We also wanted to make sure that
there was no central point of failure, so that no single industry player could
restrict or control the innovations of any other. The single most important
goal of the Android Open-Source Project (AOSP) is to make sure that the
open-source Android software is implemented as widely and compatibly as
possible, to everyone’s benefit.
8.What kind of open-source project is Android?
A.Google oversees the development
of the core Android open-source platform, and works to create robust developer
and user communities. For the most part the Android source code is licensed
under the permissive Apache Software License 2.0, rather than a “copyleft”
license. The main reason for this is because our most important goal is
widespread adoption of the software, and we believe that the ASL2.0 license
best achieves that goal.
9.Why
is Google in charge of Android?
A.Launching a software platform
is complex. Openness is vital to the long-term success of a platform, since
openness is required to attract investment from developers and ensure a level
playing field. However, the platform itself must also be a compelling product
to end users.
That’s why Google has committed the professional
engineering resources necessary to ensure that Android is a fully competitive
software platform. Google treats the Android project as a full-scale product
development operation, and strikes the business deals necessary to make sure
that great devices running Android actually make it to market.
By making sure that Android is a success with end
users, we help ensure the vitality of Android as a platform, and as an
open-source project. After all, who wants the source code to an unsuccessful
product?
Google’s goal is to ensure a successful ecosystem
around Android, but no one is required to participate, of course. We opened the
Android source code so anyone can modify and distribute the software to meet
their own needs.
10.What
is Google’s overall strategy for Android product development?
A.We focus on releasing great
devices into a competitive marketplace, and then incorporate the innovations
and enhancements we made into the core platform, as the next version.
In practice, this means that the Android engineering
team typically focuses on a small number of “flagship” devices, and develops
the next version of the Android software to support those product launches.
These flagship devices absorb much of the product risk and blaze a trail for
the broad OEM community, who follow up with many more devices that take
advantage of the new features. In this way, we make sure that the Android
platform evolves according to the actual needs of real-world devices.
11.How
is the Android software developed?
A.Each platform version of
Android (such as 1.5, 1.6, and so on) has a corresponding branch in the
open-source tree. At any given moment, the most recent such branch will be
considered the “current stable” branch version. This current stable branch is
the one that manufacturers port to their devices. This branch is kept suitable
for release at all times.
Simultaneously, there is also a “current
experimental” branch, which is where speculative contributions, such as large
next-generation features, are developed. Bug fixes and other contributions can
be included in the current stable branch from the experimental branch as
appropriate.
Finally, Google works on the next version of the
Android platform in tandem with developing a flagship device. This branch pulls
in changes from the experimental and stable branches as appropriate.
12.Why
are parts of Android developed in private?
A.It typically takes over a year to bring a device
to market, but of course device manufacturers want to ship the latest software
they can. Developers, meanwhile, don’t want to have to constantly track new
versions of the platform when writing apps. Both groups experience a tension
between shipping products, and not wanting to fall behind.
To address this, some parts of the next version of
Android including the core platform APIs are developed in a private branch.
These APIs constitute the next version of Android. Our aim is to focus
attention on the current stable version of the Android source code, while we create
the next version of the platform as driven by flagship Android devices. This
allows developers and OEMs to focus on a single version without having to track
unfinished future work just to keep up. Other parts of the Android system that
aren’t related to application compatibility are developed in the open, however.
It’s our intention to move more of these parts to open development over time.
13.When
are source code releases made?
A.When they are ready. Some parts
of Android are developed in the open, so that source code is always available.
Other parts are developed first in a private tree, and that source code is
released when the next platform version is ready.
In some releases, core platform APIs will be ready
far enough in advance that we can push the source code out for an early look in
advance of the device’s release; however in others, this isn’t possible. In all
cases, we release the platform source when we feel the version has stabilized
enough, and when the development process permits. Releasing the source code is
a fairly complex process.
14.What
is involved in releasing the source code for a new Android version?
A.Releasing the source code for a
new version of the Android platform is a significant process. First, the
software gets built into a system image for a device, and put through various
forms of certification, including government regulatory certification for the
regions the phones will be deployed. It also goes through operator testing.
This is an important phase of the process, since it helps shake out a lot of
software bugs.
Once the release is approved by
the regulators and operators, the manufacturer begins mass producing devices,
and we turn to releasing the source code.
Simultaneous to mass production the Google team kicks
off several efforts to prepare the open source release. These efforts include
final API changes and documentation (to reflect any changes that were made
during qualification testing, for example), preparing an SDK for the new
version, and launching the platform compatibility information.
Also included is a final legal sign-off to release
the code into open source. Just as open source contributors are required to
sign a Contributors License Agreement attesting to their IP ownership of their
contribution, Google too must verify that it is clear to make contributions.
Starting at the time mass production begins, the
software release process usually takes around a month, which often roughly
places source code releases around the same time that the devices reach
users.
15.How does the AOSP relate to the Android Compatibility Program?
A.The Android Open-Source Project
maintains the Android software, and develops new versions. Since it’s
open-source, this software can be used for any purpose, including to ship devices
that are not compatible with other devices based on the same source.
The function of the Android Compatibility Program is
to define a baseline implementation of Android that is compatible with
third-party apps written by developers. Devices that are “Android compatible”
may participate in the Android ecosystem, including Android Market; devices
that don’t meet the compatibility requirements exist outside that ecosystem.
In other words, the Android Compatibility Program is
how we separate “Android compatible devices” from devices that merely run
derivatives of the source code. We welcome all uses of the Android source code,
but only Android compatible devices — as defined and tested by the Android
Compatibility Program — may participate in the Android ecosystem.
16.How
can I contribute to Android?
A.There are a number of ways you
can contribute to Android. You can report bugs, write apps for Android, or
contribute source code to the Android Open-Source Project.
There are some limits on the kinds of code
contributions we are willing or able to accept. For instance, someone might
want to contribute an alternative application API, such as a full C++-based
environment. We would decline that contribution, since Android is focused on
applications that run in the Dalvik VM. Alternatively, we won’t accept
contributions such as GPL or LGPL libraries that are incompatible with our
licensing goals.
We encourage those interested in contributing source
code to contact us via the AOSP Community page prior to beginning any
work.
17.How
do I become an Android committer?
A.The Android Open Source Project
doesn’t really have a notion of a “committer”. All contributions — including
those authored by Google employees — go through a web-based system known as
“gerrit” that’s part of the Android engineering process. This system works in
tandem with the git source code management system to cleanly manage source code
contributions.
Once submitted, changes need to be accepted by a
designated Approver. Approvers are typically Google employees, but the same
approvers are responsible for all submissions, regardless of origin.
18.What
does “compatibility” mean?
A.We define an “Android
compatible” device as one that can run any application written by third-party
developers using the Android SDK and NDK. We use this as a filter to separate
devices that can participate in the Android app ecosystem, and those that
cannot. Devices that are properly compatible can seek approval to use the
Android trademark. Devices that are not compatible are merely derived from the
Android source code and may not use the Android trademark.
In other words, compatibility is a prerequisite to
participate in the Android apps ecosystem. Anyone is welcome to use the Android
source code, but if the device isn’t compatible, it’s not considered part of
the Android ecosystem.
19.What
is the role of Android Market in compatibility?
A.Devices that are Android
compatible may seek to license the Android Market client software. This allows
them to become part of the Android app ecosystem, by allowing users to download
developers’ apps from a catalog shared by all compatible devices. This option
isn’t available to devices that aren’t compatible.
The Android software can be ported to a lot of
different kinds of devices, including some on which third-party apps won’t run
properly. The Android Compatibility Definition Document (CDD) spells out the
specific device configurations that will be considered compatible.
For example, though the Android source code could be
ported to run on a phone that doesn’t have a camera, the CDD requires that in
order to be compatible, all phones must have a camera. This allows developers
to rely on a consistent set of capabilities when writing their apps.
The CDD will evolve over time to reflect market
realities. For instance, the 1.6 CDD only allows cell phones, but the 2.1 CDD
allows devices to omit telephony hardware, allowing for non-phone devices such
as tablet-style music players to be compatible. As we make these changes, we
will also augment Android Market to allow developers to retain control over
where their apps are available. To continue the telephony example, an app that
manages SMS text messages would not be useful on a media player, so Android
Market allows the developer to restrict that app exclusively to phone devices.
20.If
my device is compatible, does it automatically have access to Android Market
and branding?
A.Android Market is a service
operated by Google. Achieving compatibility is a prerequisite for obtaining access
to the Android Market software and branding. Device manufacturers should
contact Google to obtain access to Android Market.
21.Is
compatibility mandatory?
A.No. The Android Compatibility
Program is optional. Since the Android source code is open, anyone can use it
to build any kind of device. However, if a manufacturer wishes to use the
Android name with their product, or wants access to Android Market, they must
first demonstrate that the device is compatible.
22.How much does compatibility certification cost?
A.There is no cost to obtain
Android compatibility for a device. The Compatibility Test Suite is open-source
and available to anyone to use to test a device.
23.How
long does compatibility take?
A.The process is automated. The
Compatibility Test Suite generates a report that can be provided to Google to
verify compatibility. Eventually we intend to provide self-service tools to
upload these reports to a public database.
24.Who
determines what will be part of the compatibility definition?
A.Since Google is responsible for
the overall direction of Android as a platform and product, Google maintains
the Compatibility Definition Document for each release. We draft the CDD for a
new Android version in consultation with a number of OEMs, who provide input on
its contents.
25.How
long will each Android version be supported for new devices?
A.Since Android’s code is
open-source, we can’t prevent someone from using an old version to launch a
device. Instead, Google chooses not to license the Android Market client
software for use on versions that are considered obsolete. This allows anyone
to continue to ship old versions of Android, but those devices won’t use the
Android name and will exist outside the Android apps ecosystem, just as if they
were non-compatible.
26.Can
a device have a different user interface and still be compatible?
A.The Android Compatibility
Program focuses on whether a device can run third-party applications. The user
interface components shipped with a device (such as home screen, dialer, color
scheme, and so on) does not generally have much effect on third-party apps. As
such, device builders are free to customize the user interface as much as they
like. The Compatibility Definition Document does restrict the degree to which
OEMs may alter the system user interface for areas that do impact third-party
apps.
27.When are compatibility definitions released for new Android versions?
A.Our goal is to release new
versions of Android Compatibility Definition Documents (CDDs) once the
corresponding Android platform version has converged enough to permit it. While
we can’t release a final draft of a CDD for an Android software version before
the first flagship device ships with that software, final CDDs will always be
released after the first device. However, wherever practical we will make draft
versions of CDDs available.
28.How
are device manufacturers’ compatibility claims validated?
A.There is no validation process
for Android device compatibility. However, if the device is to include Android
Market, Google will typically validate the device for compatibility before
agreeing to license the Market client software.
1.What is the Guardian app for Android?
A.The Guardian app for Android
delivers all the best content from guardian.co.uk to your phone or tablet. Read
the latest news, sport, comment and reviews, watch video, listen to podcasts
and browse stunning picture galleries while on the move.
2.What features does it have?
A.- Navigate by section, topic
or contributor
- Download your homepage and favourites for offline
reading with the touch of a button, or schedule a daily download for a time
that suits you
- Browse our award-winning audio and video content
- Save contributors, topics and sections to your
favourites folder
- Add favourites to your homescreen with an expanded
view or link
- Swipe through stunning full-screen picture
galleries
- Share articles and galleries via the Android share
function
- View content in portrait or landscape
orientation
3.Will it work on my phone?
A.The app will work on all
phones and tablets running Android version 1.6 and above.
4.How much does it cost?
A.The app is free and ad-supported.
5.How do I save the app to my SD card?
A.From the device's Settings menu, go to Applications
> Manage applications > The Guardian. Under the data header, choose
"Move to SD card".
6.How do I add sections to my favourites?
A.It is possible to add sections, topics and
contributors to your favourites. You can add to favourites by tapping the star
icon in the top right hand corner of the relevant screens, or on the right hand
side of the headers in the all sections menu.
7.How do I remove sections from my favourites?
A.From the favourites menu, tap the red icons to the
left hand side of the items. Alternatively, tap the star icon in the top right
hand corner of the relevant screen so that it returns to its white state.
8.How do I access my favourites?
A.Your favourites will be added to the favourites
menu, which appears as a list at the bottom of the homescreen and is also
available when you use the menu button while on section fronts and article
pages.
9.How do I customise the homescreen?
A.Tap the cog icon on the top right hand corner of the
homescreen or tap "edit home" in settings to access the "edit
home" menu. Remove any sections you do not wish to see by tapping the red
icons on the left hand side of the headers. To add new sections from your
favourites or the all sections menu, tap the option you want, choose your
desired sections (to a maximum of eight) and press "done". You can
reorder the list using the icon on the right hand side of the headers to drag
the sections up and down. Tap home or use the back button to complete the
process.
10.What content is available offline?
A.The app stores content in the cache so you will be
able to read a certain amount of stories while offline. However, for a more
complete experience, use the "Download content" option in the menu.
This downloads all the sections, topics and keywords on your homescreen and in
your favourites. In the settings menu, you can choose whether to include images
and galleries, and also schedule an automatic download at a certain time each
day.
11.How do I share content?
A.From an article or gallery page, tap the share icon
next to home in the top right hand side of the screen. This will bring up a
list of options based on the applications installed on your phone. You can
potentially share content via email, Twitter, Facebook and more.
12.Why can't I access video?
A.We are aware that video will not play on a HTC
Wildfire because this device does not support our standard video encoding. We
are looking at a workaround for this, which we hope to include in a future
update.
13.Why don't I see any images, even when the
articles have appeared?
A.The app downloads pictures after text to ensure you
get a better all-round experience. When using Wi-Fi or 3G you should see
pictures appearing instantly. If the connection speed is too slow, however,
pictures will be prevented from loading altogether
14.Can I use the Guardian app when I'm abroad?
A.We advise checking with your operator prior to using
the app abroad as most monthly plans charge extra for data roaming while
overseas. As this can often be expensive, either sync using Wi-Fi or contact
your service provider for details of how to purchase cut-price roaming
tariffs.
15.Why isn't my content being
updated?
A.The app needs a connection when opened to retrieve
the latest content (unless you've recently synced it). Without a connection the
app will display the latest content it can find. When connected, by default the
home page will check for the latest content every time it is opened or after
every 15 minutes of use, though you can adjust this in the settings menu. There
is also a manual refresh option if you want to update more frequently.
16.How do I change the font size?
A.Version 1.0 of the app does
not have an option to change the font size. We expect to introduce this in our
next release.
17.How do I remove the app?
A.From your device's settings menu, go to
"Applications" then "Manage applications". Select the
Guardian app and tap "Uninstall".
18.How do I switch off auto-rotate?
A.It is not possible to switch off auto-rotate for
individual apps. To switch it off for all applications, go to your device's
settings menu, then "Display" and uncheck the "Auto-rotate
screen" checkbox.
1.What
is Mono for Android?
A.Mono for Android is a software
development kit that allows developers to use the C# language to create mobile
applications for Android-based devices.Mono for Android exposes two sets of
APIs, the core .NET APIs that C# developers are familiar with as well as a C#
binding to Android's native APIs exposed through the Mono.Android.*
namespace.You can use Mono for Android to develop applications that are
distributed through the Android Application Stores or to deploy software to
your personal hardware or the Android simulator.
2.What
is included in Mono for Android?
A.Mono for Android consists of
the core Mono runtime, the Mono for Android bindings to the native Android
APIs, a Visual Studio 2010 plugin to develop Android applications and an SDK
that contains the tools to build, debug and deploy your applicationsOur Visual
Studio 2010 plugin allows developers to use Visual Studio 2010 to develop,
debug and deploy their applications to an Android simulator, an Android device,
or the Android Application Store.
Our MonoDevelop IDE also ships an addin to
support Mono for Android development.
3.What
do I need to develop Mono for Android applications?
A.Mono for Android on Windows
provides a plugin for Visual Studio 2010 Professional or better. We
also support Mono for Android development using MonoDevelop on Windows for
users that do not own a copy of Visual Studio 2010 Professional or better.Mono
for Android on Mac developers can use MonoDevelop.On all platforms, Mono for
Android requires the Android SDK (which requires Java JDK).
4.Will
my users need to install Mono?
A.No.When you deploy your
application to the app store the Mono mobile runtime is statically linked to
your application. No additional dependancies are needed. From the
users point of view, there is no difference between an application created in
Java and an application created using Mono for Android, other than a slightly
larger (~4.4MB) application size.
5.Where
is the UI Designer?
A.Mono for Android does not
bundle a UI designer to create the UI XML files We do not provide an
integrated UI designer in Mono for Android 1.0. No decisions past
that have been made. We will be listening to user feedback to decide
where to put resources for the future versions.
6.How
is Mono for Android licensed?
A.Mono for Android is a commercial/proprietary
offering that is built on top of the open source Mono project and is licensed
on a per-developer basis.
7.What
is the API profile exposed by Mono for Android?
A.Mono for Android uses the same
API profile for the core libraries as MonoTouch.Specifically, MonoTouch and
Mono for Anroid both support a Silverlight-based API, without Silverlight's UI
libraries (e.g. no XAML, no WindowsBase.dll, etc.), and free of the sandboxing
limitations of Silverlight.
8.What
.NET features does Mono for Android support?
A.Mono for Android currently
supports the C# language, garbage collection, multi-threading and many features
of the core of .NET 3.5 including C# 3.0 and LINQ
The following assemblies are part of Mono for
Android 1.0:
mscorlib.dll
System.dll
System.Core.dll
System.Json.dll
System.Runtime.Serialization.dll
System.ServiceModel.dll
System.ServiceModel.Web.dll
System.Web.Services.dll
System.Xml.dll
System.Xml.Linq.dll
In addition, the following Mono assemblies are part
of Mono for Android:
Mono.Security.dll
Mono.Data.Sqlite.dll
Mono.Data.Tds.dll
monotouch.dll
And the following third party assemblies are part of
Mono for Android:
OpenTK.dll
9.Does
Mono for Android support WCF?
A.Mono for Android supports a
subset of WCF, but this support is not battle tested like our standard
System.Web.Services stack (old .NET 1.0 SOAP).
The WCF subset is the same subset exposed by
Silverlight. This is because Mono for Android's WCF stack is
derived from the work we did for our open source Silverlight implementation,
Moonlight.
You should consider our WCF support
"alpha" quality, as it is known to have various missing
features. Although we are working to resolve those, it
is best to not depend on these features being ready until we actually ship and
announce them.
10.Does
Mono for Android support Visual Basic?
A.Currently Mono for Android does
not support Visual Basic.We have not established an ETA for this functionality
yet, but we are looking at adding support for Visual Basic on upcoming versions
of Mono for Android. This would be delivered in two phases.
Initial support would provide the Visual Basic
helper library (part of Microsoft.VisualBasic.dll) compiled to work with the
Mono for Android mscorlib.dll instead of the standard Mono 2.0 mscorlib.dll. This
will make it possible to compile VB code within Visual Studio that will run on
Mono for Android.
Phase two would be to add support for VB development
in OS X (which would be critical for those interested in sharing VB code with
MonoTouch). This would require Mono's own Visual Basic compiler be
built using the Mono for Android mscorlib.dll, as well as an ntegration effort
to tie it into our release process, and would only support the subset of VB
that Mono's compiler currently supports.
11.Does
Mono for Android support running Silverlight /Moonlight applications?
A.No. Mono for Android does not
include Moonlight or Silverlight user interface functionality. Only core
library functionality is supported.No. Mono for Android does not contain any
Moonlight or Silverlight user interface support, so XAML support is not
enabled.
12.Can
Mono for Android load XAML assets?
A. No. Mono for Android does not
contain any Moonlight or Silverlight user interface support, so XAML support is
not enabled.
13.Does
Mono for Android support Windows.Forms applications?
A.No. Mono for Android does not include Windows.Forms functionality,
and there are currently no plans to develop this.
1.Are
the Android releases available in a ROM?
A.No, Android is not yet
available in a ROM format.Currently Android is installed by using a clean SD
Card, and booted from there.It is booted by running a special application
called 'Haret.exe' residing on your SD Card which will terminate the Windows
kernel and boot into Linux/Android.It can't easily be run from ROM because a)
it's too experimental to risk putting in ROM and then killing a device and b)
WinMo does some hardware initialisation that isn't documented, but is needed
before Android can run.
2.When
will it be available in a ROM?
A.No time soon. Folks are
working on it, but you'll need a lot of patience before it (if ever) arrives
3.How
do I turn off, or reboot Android?
A.In earlier releases, you had
to pull the battery or press the reset button, in newer releases, you can hold
down the 'end call' button and see a menu.
4.Should
we jump in to Android? What’s the guarantee that’s what I will see on a phone?
Will service providers turn off things?
A.Keep in mind it hasn’t
shipped yet, This is the most interesting time. Once it’s open source, it could
be locked down… they could create a derivative work.
We’re going to provide a piece of technology that
tests the APIs. No time frame yet. The script will exercise the system. It’s a
compatibility test suite, to make sure nothing got disabled or broken by
accident, and also ensure that apps will work across OEMs
5. What if
my app uses location api, and service provider shuts that off, can they?
A.hey can do that… it’s not a perfect world. Rather than having us dictate what carriers and OEMs support, we let developers develop killer apps that will require it.
We want to ensure all the application development
that goes on for Android… we want to give OEMs an incentive to keep things
open. It’s a positive, self fulfilling vision.
6. If
I’m a game developer and I’m building piece of content and I want to sell it,
how do I do that and realize revenue.
A. Content distribution — we’ve thought of that. It’d
be great if there were a place where people could go to safely download and pay
for content.
7.We
use SMS interception for system signalling. Is there a mechanism for an app to
respond and stop the signaling chain? Is there security around that so that one
vendor can’t hijack a message and respond to it?
A. There’s a mechanism where an application can register to receive a message with a certain signature and prevent others from getting it.
We have a system of permissions apps are able to
declare, enforce, and require to perform certain operations. Things like dial
the phone, get to contacts, etc.. But these aren’t things that are baked in the
core of the system. An arbitrary app could declare custom permissions.
As far as restricting another app, the model we’ve
been going by… the phone is not controlled by the application vendor, it’s
controlled by the user. Whether or not the permissions are granted is up to the
user that owns the phone. If you created a protocol that intercepts an SMS and
another party wrote an app that intercepts the same SMS and the user wants to
use that, the user could be free to stick that in.
8. Can the
user set a priority?
A. Don’t know, post your
question to the developer’s community board.
9.In
a previous release, XMPP was turned into GTalk. Will a future version have
XMPP?
A. Goal is to have XMPP
support after 1.0. [Later they said both GTalk and XMPP were post 1.0 features.
-Ed]
10. Java is more than a language.
Google implemented its own VM. Could we use the Sun JVM? Explain the reasoning
behind having your own.?
A. We can have a more efficient interpreter and less memory pressure (by having Dalvik). You have to consider the holistic system performance.We had no choice but to run multiple VMs and processes. Share read-only memory across processes was important. Dalvik does that.Also we needed something with an Apache license. At the time, nothing was available
11. Is
Bionic (Google’s version of libc) dynamic linked?
A. Yes, all libs are dynamically
linked.
12. Does
Android have USB support? External keyboard, etc.?
A. The hardware should
support it but it’s not enabled in the software. Maybe in a point release.
13. Have
any advice on general portability strategies; Android, Brew, etc.?
A. Emphasize the commonality
between platforms, common profile support, separation between main logic and
front end interface. Eventually somebody will add J2ME APIs into the Android
platform. But at the user interface level you will want to tie into
platform-specific things (for the best user experience).Access to the web is standard
across all platforms.
14. Can I
deploy Linux apps on real handsets? With a modified Qemu?
A. Qemu depends on OEM or carrier. It’s possible that upgrades may have to be signed by carrier.
As far as native code goes, we don’t currently
have a bunch of the standard Unix X type stuff in there. Command line stuff
compiles and runs as is. Expect that once this is open sourced, people will
bolt on an X server and traditional Unix/Linux into the framework. While Java
is the primary development language for Android 1.0, the system has been
designed to support multiple platforms including native. Also expect the
Android framework to run on top of other mobile Linux efforts.
Example: Web browser WebKit is C++ based, and
there’s Java chrome on top of that. For debugging I use gdb server to debug
native code. JNI layer talks between C++ and Java.
15. Does
Android compete with JavaFX Mobile?
A. The world doesn’t need
another operating system. The world needs an open embedded operating system,
open source. (Andy:) I haven’t seen anything that encompasses as much as
Android.
16. We do
social apps. We have Javascript expertise but not Java. Is there an API running
on localhost to fetch geo locations?
A. There’s a browser and a
web view. If you want to write local . If you use the embedded web view you can
have Java binding. Javascript calls Java in embedding app. You get your own
icon, your own storage, your own world in which to operate.
17. What
is Android’s business model?
A. Somebody could rip out the Google stuff and put in Yahoo stuff. That’s ok. Our job is to continue to create killer apps that people will want to use. Google search, GMail, maps, etc.. If we ever fail to delight users our core business will go away. That’s why we felt comfortable using the Apache license.While we’re showing demos with Google applications, but there is no requirement to use them.
18. How do we get Android on our platform?
A. Easiest thing would be
to wait until we open source it. We’re not encouraging violation of the early
view SDK.
1.What’s
so special about Android?
A.Unlike
the proprietary iPhone operating system (now known as "iOS,"), which
is under the complete control of Apple — and the same goes for Research in
Motion’s BlackBerry OS or Microsoft’s Windows Phone platform — Google released
Android as an open-source OS under the auspices of the Open Handset Alliance,
leaving phone manufacturers (relatively) free to tweak Android as they see fit
for a given handset.
That’s
one thing that’s special about Android. Another thing is that it just happens
to be a really good OS, the first one in the post-iPhone wireless era to really
give Apple a run for its money. Android may not be as sleek or polished as iOS
(that’s my humble opinion, at least), but it’s fast and powerful, with an
intuitive user interface that’s packed with options and flexibility. It’s also
being constantly improved courtesy of the big brains at Google, making the
Android experience sleeker by the day.
2.Are
Android phones called "Droids"?
A.Not
necessarily. "Droid" is a brand name used by Verizon Wireless for its
Android-based phones — the Droid X, the Droid Eris, the Droid Incredible and so
on. The HTC Evo 4G on Sprint is not a "Droid," per se, but it’s still
an Android smartphone.
3.Why
would I (potentially) choose an Android phone over an iPhone?
A.Well,
for a variety of reasons — although I should point out that I’m actually a fan
of both operating systems. (Sorry to disappoint the smartphone flame warriors
out there.)
One
reason to go the Google way is that Android phones boast tight integration with
Google services like Gmail, Google Calendar, Google Contacts and Google Voice —
perfect for anyone who uses Google for all their e-mails, contacts and events.
Indeed, one of the coolest things about Android phones is that the first time
you fire one up, you enter your Google user name and password, and voila: All
your Google messages, contacts and other info start syncing into your new
handset automatically, no desktop syncing needed.
Android
is also far more open when it comes to applications. Whereas Apple takes a
"walled garden" approach to its App Store, Google won’t restrict you
from installing apps that aren’t featured in its official Android Marketplace.
iPhone users, on the other hand, must "jailbreak" their phones if
they want to install apps that weren’t approved by Apple for inclusion in the
App Store.
Last
but not least, because Android is open to all manufacturers, a wide variety of
Android phones are available to choose from — big and small, souped-up and
pared-down, some with slide-out keyboards (good luck convincing Steve Jobs to
put a slide-out QWERTY on the iPhone) and some that are all-touchscreen, all
the time. Indeed, in the past few months, a new Android phone has debuted
practically every week, while we only get a single new iPhone each year.
4.What
are the downsides of Android?
A.Well,
if you ask me, the Android OS isn’t quite as forgiving to wireless beginners as
the iPhone is. Setting up your e-mail, contacts and calendar on Android is a
breeze (if you’re all about Gmail, that is), but when it comes to, say, your
music and videos, you’re on your own with Android, which lacks an official
media syncing client for the desktop. With the iPhone, you do all your syncing
on easy-to-use iTunes, which also lets you manage your e-mail accounts,
contacts, apps and photos. Then again, you can only use iTunes for syncing the
iPhone, while Android users have a variety of third-party options.
That’s
just one example, but in general, Android gives you more options and choices
about how you manage your phone and your mobile content — great for experienced
and advanced users, but potentially intimidating for newbies.
On the
other hand, while beginners might appreciate the (usually) smooth,
user-friendly experience that Apple has devised for the iPhone, advanced users
may (and often do) get frustrated by Apple’s tight control over what they can
and can't do on the iPhone. It’s a trade-off, plain and simple, and your choice
of platform depends on what’s right for you.
5.What’s
up with all these different versions of Android, like "Donut,"
"Cupcake" and "Froyo"?
A.Just
as Apple does with iOS, Google continually updates Android with cool new features,
leading to one "point" upgrade after another.
The
most recent version of Android is 2.2, code-named "Froyo" (for frozen
yogurt, yum), adds features such as native USB tethering (for sharing your
Android phone’s data connection with a laptop via a USB cable), mobile hotspot
functionality (which turns your phone into a portable Wi-FI hotspot that works
with nearby Wi-Fi devices) and — perhaps most important — support for Flash,
meaning that Flash-powered videos and modules that (notoriously) don’t work on
the iPhone will work on the Android Web browser.
Before
2.2 Froyo, we had version 2.1, which added "live" animated wallpaper,
new home screen icons and widgets (tiny apps for the home screen),
speech-to-text functionality (for e-mail and text messages, for example),
full-on multitouch (for pinch-to-zoom gestures), and an updated photo gallery
that hooks into your Picasa Web albums. Android 1.6 "Donut" (someone
at Google must have a sweet tooth) added various speed improvements, support
for more screen resolutions, and faster camera and camcorder applications. The
first major update to Android was 1.5 "Cupcake," which (among other
goodies) finally added a native video recorder.
6.So if
the current version of Android is 2.2, why are people still complaining about
Android phones stuck with version 2.1, or even 1.6?
A.Ah,
well, here’s where we find one of the downsides of Google allowing so much
diversity in terms of available Android handsets. Don’t get me wrong: Variety
is a beautiful thing, especially when it comes to phones. But it also means
that each new version of Android must be certified to work on a specific
handset — a long and sometimes drawn-out process that can leave users of a
particular Android smartphone waiting weeks or even months to get the latest
and greatest features. Indeed, manufactures and carriers may decide that it’s
not worth the effort to upgrade their older phones to the latest Android
version, leaving users high and dry.
On the
other hand, only a handful of iPhones exist, which makes it far easier for
Apple to roll out a new version of iOS to everyone, all at once — or at least
it used to be easy. Because of the hardware demands of iOS 4, we’ve already
seen the original iPhone from 2007 get left behind, while users of the second-generation
iPhone 3G have complained bitterly that the new iOS has slowed their handsets
to a crawl. So it goes.
7.How
many apps are available for Android?
A.About 70,000 or so, growing by
the day — still just a fraction of the 225,000-plus apps in the Apple App
Store, but the official Android Marketplace has quite the head of steam, not to
mention plenty of goodwill from the developer community given that Google
doesn’t give apps the star-chamber treatment.
8.So,
how should I go about picking an Android phone?
A.No question about it: The
breadth and variety of Android phones now on the market can be downright
bewildering. The easiest way to narrow your choices is pretty obvious: What
features and form-factors are you looking for? Do you want a phone with a real
QWERTY keypad, or would you prefer one with only an on-screen keypad? Looking
for a big screen (like the 4.3-inchers on the Evo 4G or the Droid X) or
something that’s an easier fit in your pocket (like, say, the Droid
Incredible)? Will you primarily be sending e-mail and text messages (in which
case a smaller screen with a QWERTY would work), or are you interested in
watching movies and other videos (big display)? Finally, who’s your carrier —
or who would you like to be your carrier?
Nope, it’s not rocket science.
Once you’ve zeroed in on a phone, find out which
version of Android it’s running on. Is it the latest and greatest? (For now,
only the Motorola Droid 2 is shipping with Android 2.2, although a 2.2 update
for the HTC Evo 4G has finally arrived.) If not, ask when — and whether — an
update is on the way.
9.What
are the hottest new Android phones out right now?
A.Well,
earlier this summer we got the HTC Evo 4G, which supports Sprint’s budding,
next-generation WiMax data network and boasts a 4.3-inch display — the same
size as the screen on the Motorola Droid X, another eye-popper of a phone,
except it’s on Verizon instead of Sprint. Samsung is in the midst of releasing
a series of what it calls its Galaxy S-class Android phones: They’re thin and
light, they all have high-contrast 4-inch "Super AMOLED" screens, and
they’re available (or will be soon) on all four of the big U.S. carriers. If
you’re looking for an Android phone with a slide-out QWERTY, consider the new
Motorola Droid 2 on Verizon or the upcoming Samsung Epic 4G for Sprint.
10.How
will you record a phone call in Android? How to get a handle on Audio Stream
for a call in Android?
A.Permissions.PROCESS_OUTGOING_CALLS:
Allows an application to monitor, modify, or abort outgoing calls.
11.What's
the difference between file, class and activity in android?
A.File
- It is a block of arbitrary information, or resource for storing information.
It can be of any type.
Class -
Its a compiled form of .Java file . Android finally used this .class files to
produce an executable apk
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.
12.What
is the Open Handset Alliance?
A.The
OHA is a consortium of 30 technology and mobile companies that have joined
hands to accelerate innovation in mobile technology and at the same time offer
the end users a better, cost-effective and richer mobile experience.
13.What
innovations the OHA members strive to achieve?
A.The
OHA members have endeavoured to develop Android, the open source mobile
platform consisting of an OS, web browser and key applications. Different
companies have different contributions to make and roles to play. For instance,
the software companies like Google are developing the requisite software, the
hardware companies the chipsets and the mobile companies are ensuring
compatible handsets for Android.
14.Why
an open source platform would be beneficial to consumers?
A.Open
source platform will ensure cheaper mobile handsets and services coupled with
richer user experience in the form of a friendlier interface, cool applications
and an enhanced browsing experience.
15.Why
is open platform good for the mobile operators?
A.An
open platform would foster faster innovation, multiple software versions,
better customisation options, lower costs, which would bring down the overall
service and handset costs while boosting sales.
16.Why
is open platform good for developers?
A.Developers
will be able innovate rapidly because they will have comprehensive API access
to handset capabilities that are web-ready. They will experience increased
productivity because they will have comprehensive and easy-to-use developer
tools. And because open source offers a deeper understanding of the underlying
mobile platform, they can better optimise their applications. Finally, the
distribution and commercialisation of mobile apps will be less expensive and
easier.
17.What
is the Android G1 Phone?
A.The
Android T-Mobile G1 phone is the world's first Android-powered mobile phone
developed by HTC and T-Mobile.
18.Which
Programming language is supported by Android?
A.Android
uses the Java programming language and Eclipse IDE.
19.Are
the Android apps first scrutinised by Google?
A.No
the Android applications can be directly posted on the Android Market once you
are registered as a developer after paying the $25 application fee.
20.How
much revenue share does the developer get?
A.The
developer gets 70% revenue generated from each Android application purchase
while the rest is used for settlement charges. Google doesn't take a dime out
of this.
1. Why
cannot you run standard Java bytecode on Android?
A.Android uses Dalvik Virtual
Machine (DVM) which requires a special bytecode. We need to convert Java class
files into Dalvik Executable files using an Android tool called "dx".
In normal circumstances, developers will not be using this tool directly and
build tools will care for the generation of DVM compatible files.
2. Can
you deploy executable JARs on Android? Which packaging is supported by Android?
A. No. Android platform does not
support JAR deployments. Applications are packed into Android Package (.apk)
using Android Asset Packaging Tool (aapt) and then deployed on to Android
platform. Google provides Android Development Tools for Eclipse that can be
used to generate Android Package.
3.
Android application can only be programmed in Java?
A. False. You can program Android
apps in C/C++ using NDK .
4. What
are Dalvik Executable files?
A. Dalvik Executable files have
.dex extension and are zipped into a single .apk file on the device.
5. How
does Android system track the applications?
A. Android system assigns each
application a unique ID that is called Linux user ID. This ID is used to track
each application.
6. When
does Android start and end an application process?
A. Android starts an application
process when application's component needs to be executed. It then closes the
process when it's no longer needed (garbage collection).
7.How
can two Android applications share same Linux user ID and share same VM?
A. The applications must sign with
the same certificate in order to share same Linux user ID and share same VM.
8. What
needs to be done in order to set Android development environment where Eclipse
IDE is to be used?
A. Download the Android SDK from
Android homepage and set the SDK in the preferences. Windows > Preferences
> Select Android and enter the installation path of the Android SDK.
Alternatively you may use Eclipse update manager to install all available
plugins for the Android Development Tools (ADT).
9.
Define Android application resource files?
A. As an Android application
developer, you can inject files (XML, JSON, JPEG etc) into the build process
and can load them from the code. These injected files are revered as resources.
10.
Which dialog boxes can you use in you Android application?
A. AlertDialog: an alert dialog
box and supports 0 to 3 buttons and a list of selectable elements.
ProgressDialog: an extension of AlertDialog and you may add buttons to it. It
shows a progress wheel or a progress bar. DatePickerDialog: used for selecting
a date by the user. TimePickerDialog: used for selecting time by the user.
11.
Define Activity application component.
A. It is used to provide
interactive screen to the users. It can contain many user interface components.
A typical Android application consists of multiple activities that are loosely
bound to each other. Android developer has to define a main activity that is
launched on the application startup.
12. Can
an Android application access files or resources of another Android application?
A. The system sets permission on
all the files/resources of an application so that they are only accessible by
their own application. Other applications cannot access resources belonging to
other applications unless applications sign the same certificate.
13.
An Android application needs to access device data e.g SMS messages, camera
etc. At what stage user needs to grant the permissions?
A. Application permission must
be granted by the user at install time.
14.
What is an Action?
A. Action in Android glossary is
something that an Intent sender wants done. It is a string value that is
assigned to intent. Action string can be defined by the Android itself or by
you as third party application developer.
1.Can I use the GoToMeeting app for Android on my Android device?
A.Yes. If you’re running Android
2.2 or higher, you can install the GoToMeeting app from the Android Market to
join meetings and webinars as an attendee. We recommend using devices with a
1Ghz processor or higher for optimal performance.
2.How
can I download the GoToMeeting app?
A.You can download the GoToMeetng
app from the Android Market by signing in to your Google account linked with
your Android device and searching for the GoToMeeting app to install it. If you
don’t see an Install button, you may not be running Android 2.2 or higher – the
minimum system requirement needed to install the GoToMeeting app.
You can also download the GoToMeeting app from the
Amazon Appstore (only available in the U.S.), which lets you instantly download
the GoToMeeting app to an Android device.
If you have the GoToMeeting app pre-loaded onto your
device, you’ll need to first upgrade to the latest version of GoToMeeting. To
upgrade, select the GoToMeeting daisy icon and then select the
Upgrade button to install the most recent version of the app.
3.If I
have a Motorola Android-based device that doesn’t have the Android Market app,
can I still download the GoToMeeting app?
A.Yes. Attendees using Motorola
Android-based devices in China can now download the GoToMeeting app from
SHOP4APPS™ – Motorola’s preinstalled Android application storefront. The
GoToMeeting app is not yet localized in Chinese, but it is available in
English, German, French, Spanish and Italian.
4.What
made you jump into Android all of a sudden? Why not iOS or other mobile
platforms?
A.Maxim Petrov: I've never intended to do
any mobile startup, but I got an Android phone first (Nexus One), not iPhone,
so I started to look into this platform first. The lack of Google's own music
app was obvious.
I think if it was iPhone, not Nexus One, I could go
developing for iOS instead. Though, you know, there are a lot more really good
apps that already exist for iOS (and existed a year ago), all niches are
filled, Apple is pretty restrictive (I don't think PowerAMP iPhone version
would have ever been accepted in the Appstore).
You can jump into Android quickly - just download
the SDK, install adb driver, and you can develop - for your phone, for your
friends (first beta testers), it's much easier to start on Android, but I can
only compare to what I've read about iOS development as I haven't developed
anything for iPhone.
5.What
were your initial impressions of Android development?
A.Maxim Petrov: Android
developing (and actually, any software developing) is not about knowing the
language - languages are just tools, so adding a tool to a toolbox is usually
not a problem (I moved to Android/Java/C dev right from Ruby - and these are
completely different languages).
Given experience with any other languages, you can
move to Android pretty quickly, at least start prototyping something, though,
you need to fight the initial quirks (like SDK installation, lack of good
documentation, android SDK/Eclipse and framework bugs, and the Android core
devs' "you can't do that, please don't do that").
Android development infrastructure is very immature,
while Android end user can never notice the immaturity of the platform (as
actually, it's not so immature on end user side), the development side of
things is really lacking in many areas.
For example, documentation is lacking, often
conflicts with real state of things and it's just not enough. Though, this is
balanced by the fact that Android is open source - you can just go check the
source, and the source is the best documentation, but you need to get used (I
am) to this approach.
For example, Honeycomb sources are not published
yet, and this immediately raised questions, like how do they activate that menu
button in bottom status bar
6.Does
Android support Adobe Flash in the browser?
A.Flash support varies by device
with Android 2.1. The Samsung Acclaim does not have Flash support upon launch,
but the HTC Desire will support Flash Lite 4.0 running Android 2.1.
Flash 10.1 support is coming to Android-powered
phones with Android 2.2.
7.Does
Android support push email or is it pull?
A.Android 2.1 supports push
e-mail for Exchange mail and Gmail.
8.Will
these phones have world phone capabilities, with the ability to make calls,
receive data in other countries? Or will they be able to use Google Voice to
make calls?
A.Our Android-powered phones have
Wi-Fi which can be used abroad for data, including Google Voice for making
international calls. International Roaming for voice is available in several
countries.
9.Describe
Android Application Architecture?
A.Android Application
Architecture has the following components:
Services ? like Network Operation
Intent - To perform inter-communication between
activities or services
Resource Externalization - such as strings and
graphics
Notification signaling users - light, sound, icon,
notification, dialog etc.
Content Providers - They share
data between applications
10.Describe
a real time scenario where android can be used?
A.Imagine a situation that you
are in a country where no one understands the language you speak and you can
not read or write. However, you have mobile phone with you.
With a mobile phone with android, the Google
translator translates the data of one language into another language by using
XMPP to transmit data. You can type the message in English and select the
language which is understood by the citizens of the country in order to reach
the message to the citizens.
11.Will
the App run on my Android phone?
A.Yes, our App is fully
compatible with any Android phone running Android software v2.1 or later.
11.How
do I install your App?
A.You can install our App from
the Android Market by following the below steps:
Open the Android Market application in the
Applications menu.
Hit the search icon and type in E.ON
To install it, hit the ‘Free’ button on the left
hand side
In the next screen, it will give you more details
about the application including the different functionalities it will need to
access. Just click on OK to finish installing the application.
12.How
do I find and download updates to the E.ON Android application?
A.Any updates to our App will
appear on your notification menu at the top of your screen. Just tap on the
E.ON App icon and you'll be taken into the Android Market and be presented with
the E.ON App download page.
13.What
do I do if I have problems downloading your App?
A.If you receive a "Download
unsuccessful" message when trying to download our App you can try the
following steps:
Restart your phone and then try downloading the app
again.
Make sure that you’re connected to your network – if
you’re not you’ll need to contact your mobile service provider
Wait up to 10 minutes and try to download our App
again.
If you get stuck at "Starting download"
then:
Make sure that you’re connected to your network – if
you’re not you’ll need to contact your mobile service provider
If your request to download our App doesn’t start at
all then try the below:
Check your connectivity as stated above
Make sure that your phone has enough available space
to install our App. If you need to, try uninstalling some apps that you don’t
use anymore or moving them to your SD card.
Request the download again using Android Market from
your device.
No comments:
Post a Comment