TY MAD Assignment No 9 and 10

TY MAD Assignment No 9 and 10

Q1. What are advanced concepts in Android and why are they used in applications?

Answer:
Advanced concepts are special features used to make Android apps more powerful and useful.
They allow apps to interact with device hardware and real-world services.
Examples include Fragments, Location services, SMS, Camera, Audio, and Bluetooth.
These features help in creating modern apps like maps, chat apps, and media apps.
They improve functionality as well as user experience.


Q2. What are Fragments in Android and how are they useful in app design?

Answer:
Fragments are small reusable parts of a user interface inside an Activity.
They allow one screen to be divided into multiple sections.
Each fragment has its own layout and behavior.
They can be reused in different activities, which saves development time.
Fragments also help in designing apps for different screen sizes like mobile and tablet.


Q3. What are Location Based Services and where are they commonly used?

Answer:
Location Based Services (LBS) use GPS, Wi-Fi, or mobile network to find the user’s location.
They help apps provide services based on the user’s current position.
Common uses include Google Maps, food delivery apps, and cab booking apps.
They can show nearby places, directions, and distance.
These services make apps more interactive and useful.


Q4. What is SMS Telephony in Android and how is it used in applications?

Answer:
SMS Telephony allows Android apps to send and receive SMS messages.
It is commonly used for sending OTPs, alerts, and notifications.
For example, banking apps use SMS for verification.
To use this feature, the app must get permission from the user.
This ensures that user privacy and security are maintained.


Q5. How are Audio Capture and Camera features used in Android apps?

Answer:
Audio capture allows apps to record sound using the device microphone.
Camera allows apps to capture photos and videos.
These features are used in apps like voice recorders, video calling apps, and social media apps.
They require user permission before access.
Proper use of these features improves app functionality and user engagement.


Q6. What is Bluetooth in Android and how does it help in communication?

Answer:
Bluetooth is a wireless technology used to connect devices over short distances.
It allows data transfer like files, images, and audio between devices.
It is also used to connect accessories like headphones, speakers, and smartwatches.
Bluetooth works without internet connection.
It is useful for quick and easy device communication.


Q7. What is Android Security Model and how does it protect applications?

Answer:
Android Security Model is a system that protects user data and app data.
Each app runs in its own secure area called a sandbox.
Apps cannot access other app data without proper permission.
It also uses permissions and user approval to control access to features.
This model ensures safety, privacy, and secure app operation.


Q8. What are permissions in Android and why are they important?

Answer:
Permissions are approvals required by apps to access device features.
Examples include Camera, Location, Contacts, and SMS.
Apps must ask the user before using these features.
Users can allow or deny permissions based on their choice.
Permissions are important to protect user privacy and prevent misuse of data.


Q9. What is custom permission in Android and when is it used?

Answer:
Custom permission is created by developers for their own applications.
It is used to control access between different apps developed by the same or different developers.
Only apps with the required permission can access certain features or data.
This adds an extra layer of security.
It is useful when apps share sensitive information.


Q10. What is the complete process of deploying an Android app on Google Play Store?

Answer:
First, the app is tested and a signed APK or App Bundle is created.
Then a developer account is created on Google Play Console (paid registration).
Next, app details like name, description, screenshots, and category are added.
The app is uploaded and submitted for review by Google.
After approval, the app is published and becomes available to users.
The developer is now called a publisher on Play Store.



Popular posts from this blog