Professional Documents
Culture Documents
Android Interview
Android Interview
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.
2) What is an action?
A description of something that an Intent sender desires.
3) What is activity?
A single screen in an application, with supporting Java code.
4) What is intent?
A class (Intent) describes what a caller desires to do. The caller sends this intent to Android's intent resolver, which finds the most suitable activity for the intent.
7) 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.
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.
Igs Labs Technologies Pvt Ltd 11) Where can I download a release?
There are a number of Android releases (all at varying stages of development). Use the search function to locate one, or try these: http://forum.xda-developers.com/showthread.php?t=732362 (Standard XDAndroid for multiple HTC Devices) Both come with very clear instructions on how to install
21) I just got a new phone, but have no apps. What should I get?
free to add to it or vote for an app. I have listed a few that I use to get you started: Start with Barcode Scanner - You can use it to install apps with the QR code found through the links to the apps below. An alternative is ShopSavvy which is similar, but will also allow you to search for products via their barcode. A file manager (ES File Manager, ASTRO or another) Skype - Replacement keyboard to make typing more efficient (closed beta, search for the .apk). Alternative Swift key which uses predictive texting Mobile Defense - Lose your phone? Use Mobile Defense to find it, lock it, or send alerts. Essential if you're prone to losing things. Non-US users may wish to use either Wheres My Droid (free, local) or WaveSecure (Annual fee, has gps). Pandora - For non-US users try Last.FM Shazam - (Free 5 tags/month, paid version for unlimited) The Weather Channel (or WeatherBug) Reddit is Fun - or use Reddit Mobile SMS Backup Titanium Backup - For Root users, allows the backup of all apps and data to your SD card Mint.com - Great for money management if you have an account (US Only) Replace your stock Home Screen - Use either ADW.Launcher or LauncherPro Rockplayer - Allows you to play almost any media file without converting it Appbrain - Great alternative to the Marketplace, and keeps a record of all your apps installed/downloaded (requires login). Easy to install from and browse.
The most significant core changes to the Android operating system revolve around these four points: Speed: Android 2.2 runs two to five times as fast as previous versions, thanks to a new Dalvik JIT compiler that allows for better CPU performance. And with a brand new Javascript engine, the stock Android browser is also two to three times faster than it was in Android 2.1. Plus, app switching should be noticeably smoother due to improved memory reclaim in the Froyo build. Flash: Froyo will be the first Android edition with full support for Adobe Flash and Adobe Air. (If you don't want to use it, you don't have to. If you do, you can. Choice -now, that's refreshing!)
Tethering: Android 2.2 has built-in support for tethering, though carriers will likely have to choose to allow it. Of course, you can turn your Android phone into a wireless modem on your own -- right now, with or without Android 2.2 - if you know how. Mobile hotspot support: Along with tethering comes the ability to use your phone as a Wi-Fi hotspot, spreading your 3G connection wirelessly to other devices. Again, carriers will presumably have to sign off on this and may or may not allow it for free.
Hey, good question; you're clearly an intelligent and amiable individual. The answer is that with Froyo, Google's giving us a bunch of new ways to take advantage of apps from the Android Market and beyond. The highlights: SD card installations: Yep, you'll finally be able to install apps on your SD card, smashing the space limitations of Android versions past. You'll be able to select where you want each app to be installed - SD card or internal storage - and even toggle it back and forth with a couple of clicks later.
Components can be reused and replaced by the application framework. Optimized DVM for mobile devices SQLite enables to store the data in a structured manner. Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE.
The customer will be benefited from wide range of mobile applications to choose, since the monopoly of wireless carriers like AT&T and Orange will be broken by Google Android. Features like weather details, live RSS feeds, opening screen, icon on the opening screen can be customized Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android.
27) 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. <ListView android:id="@+id/ListView01" android:layout_height="wrap_content" android:layout_width="fill_parent"></ListView>
28) 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.
InflateException : When an error conditions are occurred, this exception is thrown Surface.OutOfResourceException: When a surface is not created or resized, this exception is thrown SurfaceHolder.BadSurfaceTypeException: This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS WindowManager.BadTokenException: This exception is thrown at the time of trying to add view an invalid WindowManager.LayoutParamstoken.