Mobile Application Development Notes
Fillups:
1. APK stands for Android Application Package
2. Android is an Linux-based mobile operating system
3. Android is mainly developed for touchscreen devices, cell phones, and tablets.
4. Android is based on Java, with some C and C++ libraries.
5. API stands for Application programming interface.
Questions and Answers :
Q1. Feautres of android operating system are as follow :-
Near Field Communication : NFC is a wireless technology by which you can quickly send your data to different devices with just one click.
Multiple Language Support : Android's Multilingual capability enables users to switch between different languages.
Multi-tasking : Multitasking by Android Operating System can make phone users use various applications simultaneously.
Connectivity : Android devices provide a wide range of connectivity possibilities. WiFi, Bluetooth, Hotspots, CDMA, and GSM are some examples.
Customizability : It enables the user to personalize your device completely. Users can use Widgets that help display necessary elements on their home screen.
Storage and battery optimization : Customers can choose the amount of memory they need and expand.
Security : Special functions like camera and microphone require the user's permission. Built-in data encryption features provide additional security protection for user data
Q2. Discuss about fragments and intents.
Fragments: As there are a lot of android devices with different resolutions, its a bit tough to handle all of those, that’s where fragments come handy. We can combine 2 or more fragments and show them in an activity. A Fragment is a component that is used by an activity.
Even though it is used by an activity, it has its own lifecycle.
There are also some different fragments which you can extend: DialogFragment, ListFragment, PreferenceFragment.
Intents :
Intent is one of the most important and most used app component of an android application.
Using Intents, you call to other app components or to other activity or also call other applications on your phone.
Intents are two types:
Explicit Intents where you call another activity or something with a class name. For instance, you can call another activity when some action happened in one activity. So you here explicitly specifies which activity to call.
Implicit Intents where we do not specify a class name but specify some sort of action, which can be handled by some other inbuilt apps or some other apps. For instance, you may want to open a camera, showing a map, sending emails etc. Here you don’t directly call camera app or map app, you will just specify the action.
Q3. Difference between Table Layout and Frame Layout.
Table Layout : It is a ViewGroup subclass that is used to display the child View elements in rows and columns. Following is the pictorial representation of table layout in android applications.
In android, TableLayout will position its children elements into rows and columns and it won’t display any border lines for rows, columns or cells.
The TableLayout in android will work same as the HTML table and the table will have as many columns as the row with the most cells. The TableLayout can be explained as <table> and TableRow is like <tr> element.
Frame Layout : In android, Framelayout is a ViewGroup subclass that is used to specify the position of View instances it contains on the top of each other to display only single View inside the FrameLayout.
In simple manner, we can say FrameLayout is designed to block out an area on the screen to display a single item. Following is the pictorial representation of frame layout in android applications.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home