Android FAQ




What are fragments in Android activity?

A Fragment is a portion of user interface in an Activity. It is a modular section of an activity, which has its independent lifecycle, can receive its own input events.



What is an activity?
 
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.



What is .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.



Is SIM PIN Code working?

It's supposed to be working, yes, but if you have ANY troubles please DISABLE SIM PIN in WinMo (SIM PIN works on the SIM, but you need WinMo UI to disable it)



What are the dimensions of the android?

Every Android device is designed differently. See manufacturers' websites for Android devices to see each product dimension...



Does android support jar applications?

you can't install jar files on Andriod devices but you can include jar as library in your application.



Describe a real time scenario where android can be used?

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.



What is .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



What is the Open Handset Alliance?

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.



Why is open platform good for the mobile operators?

 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.



What are the differences between a domain and a workgroup?

 In a domain, one or more computer can be a server to manage the network. On the other hand in a workgroup all computers are peers having no control on each other. In a domain, user doesn?t need an account to logon on a specific computer if an account is available on the domain. In a work group user needs to have an account for every computer.
In a domain, Computers can be on different local networks. In a work group all computers needs to be a part of the same local network.



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 is the difference between the Droid X and the Droid X MB10?

 MB810 is the model number for the Droid X. If anyone has referred to the Droid X as MB10 it was most likely shorthand or possibly a mistake.



Explain AccordSQA?

 Leading the revolution in business process optimization through true-automation in quality assurance. Break through the programming wall with next-generation test automation technology and accelerate your Time-to-Quality



Creating an Android Application using the Eclipse Plugin?

    Using the Android Eclipse plugin is the fastest and easiest way to start creating a new Android application. The plugin automatically generates the correct project structure for your application, and keeps the resources compiled for you automatically.
It is still a good idea to know what is going on though. Take a look at Overview of an Android Application to understand the basics of how an Android application works.
It is also recommended that you take a look at the ApiDemos application and the other sample applications in the samples/ folder in the SDK.



What is the TTL (Time to Live)? Why is it required?

 TTL is a value in data packet of Internet Protocol. It communicates to the network router whether or not the packet should be in the network for too long or discarded. Usually, data packets might not be transmitted to their intended destination within a stipulated period of time. The TTL value is set by a system default value which is an 8-bit binary digit field in the header of the packet. The purpose of TTL is, it would specify certain time limit in seconds, for transmitting the packet header. When the time is exhausted, 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.



What is an 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.



Audio quality degrades when holding headset close to ear

Several solutions:
Leave the call screen, we ONLY enable the proximity sensor on the call screen.
Use 3G for audio calling (this issue only applies to Wifi)
Upgrade to Android 2.3 or later



 "Insufficient available space" during installation

This is actually a bug in Android itself due to not all files being removed after uninstalling. Try restarting your device, e.g. switch off and on again. Afterwards retry installation from Android Market. If that did not help try resetting your device to factory settings.
 

Is it true I can enable videocalling even if my device isn't certified? 

Yes, while you can enable Skype video calling on most Android phones, it is possible that the video quality may not be as good on non-certified phones.



What is a Sticky Intent?

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). One example of a sticky broadcast sent via the operating system is ACTION_BATTERY_CHANGED. When you call registerReceiver() for that action — even with a null BroadcastReceiver — you get the Intent that was last broadcast for that action. 
Hence, you can use this to find the state of the battery without necessarily registering for all future state changes in the battery.



What languages does Android support for application development?

 Android applications are written using the Java programming language.



What is a resource?

 A user-supplied XML, bitmap, or other file, injected into the application build process, which can later be loaded from code.



What's the difference between file, class and activity in android? 

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.



Describe the various types of exceptions in Android.

InflateException : thrown when specific error conditions occur.
Surface. OutOfResourceException: thrown when a surface is not created or resized correctly.
WindowManager. BadTokenException: This exception is thrown when attempting to add a view to an invalid WindowManager



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud