1) Define Bluetooth technology.
Bluetooth technology is a wireless communication standard that allows devices to connect and exchange data over short distances using radio waves. It is commonly used for connecting devices like smartphones, headphones, and other peripherals.
2)How to write comment in XML?
In XML, you can write comments by enclosing the text within <!-- and -->, like this: <!-- This is a comment in XML -->
3) What is Android Virtual Device?
An Android Virtual Device (AVD) is an emulation of an Android device, created and managed by the Android Emulator. It allows developers to test and run Android applications on a computer without the need for physical hardware.
4) Listout declaration rules of XML.
Declaration rules in XML:
XML documents must have a single root element.
Element names are case-sensitive.
Attribute values must be enclosed in quotes.
Nesting of elements should be well-formed, with proper opening and closing tags.
Special characters like <, >, and & should be escaped using entities.
5) What is use of string.xml file?
The string.xml file in Android is used to store string resources such as text labels and messages. It helps in separating the text from the code, making it easier to localize and manage text content in an Android app.
6) Define Mobile Computing.
Mobile computing refers to the use of portable computing devices, such as smartphones, tablets, and laptops, to access and process information while on the go. It allows users to perform various tasks and access data without being confined to a fixed location.
7) What is use of isChecked?
"isChecked" is a property or attribute commonly used in the context of checkboxes or radio buttons in Android. It is used to determine whether a checkbox or radio button is selected (checked) or not.
8) Which method is used to hide the title bar?
To hide the title bar in an Android application, you can use the following method in your activity's code:
getSupportActionBar().hide();
This will hide the default title bar provided by the Android system.
9) Discuss advantages of Bluetooth technology.
Advantages of Bluetooth Technology:
Wireless Connectivity: Bluetooth enables wireless communication between devices over short distances.
Low Power Consumption: It's energy-efficient, making it suitable for battery-powered devices.
Versatility: Supports various applications, from audio streaming to data transfer.
Compatibility: Most modern devices have Bluetooth, ensuring widespread compatibility.
10) Discuss mobile agent.
Mobile Agent:
A mobile agent is a software program that can autonomously move from one networked device to another, executing tasks on behalf of a user or system.
They're used in distributed systems, allowing efficient, decentralized processing.
11) List important folders and files in android project pane.
Important Folders and Files in Android Project Pane:
Common folders: app, res, manifests, gradle.
Important files: MainActivity.java (entry point), activity_main.xml (main layout), AndroidManifest.xml (app configuration).
12) What are the features of XML?
Features of XML (Extensible Markup Language):
Hierarchical structure.
Human-readable.
Self-descriptive (tags describe data).
Platform-independent.
Supports user-defined tags.
Facilitates data interchange.
13) What is XML? Is XML case sensitive?
XML stands for Extensible Markup Language, used to store and transport data.
Yes, XML is case-sensitive. Tags and attributes must be in the same case throughout the document.
14) Explain is Checked Method of Check Box with Example.
Explanation of the isChecked Method of Checkbox with Example:
isChecked is a method used to check if a CheckBox is currently selected (checked) or not.
Example (in Android with Java):
CheckBox checkBox = findViewById(R.id.checkbox);
boolean isChecked = checkBox.isChecked();
// isChecked will be true if the checkbox is checked, false if not.
15) What are the different values for Orientation?
Different values for Orientation:
In the context of Android, orientation can have values like portrait, landscape, sensor, user, etc., to control the screen orientation.
16) What is an attribute?
An attribute is a property or characteristic of an element in XML, HTML, or other markup languages.
Attributes provide additional information about the element.
For example, in HTML, the <img> element has attributes like src for the image source and alt for alternative text
Nice
ReplyDelete