Android Practical Notes | B.Sc. (Information Technology) Semester 5 | Mumbai University | munotes
Official Notes munotes.in
Android Practical
B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 5
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)
For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in Third Year
Contents
Module I Android Fundamentals & UI Design
- How This Paper Is Examined, and What Your Journal Must Contain 1
- What Android Is, and What You Are Building 4
- Installing Android Studio and the SDK 7
- Making Your First Project, and Choosing Java 10
- Inside an Android Project: Every File and What It Is For 13
- The Manifest: What It Declares, and Why It Must 16
- Gradle: What It Is, and the Numbers You Must Set 18
- The Android Virtual Device: Making One, and What Each Setting Decides 21
- Practical 1: Hello World, Written, Built and Run 24
- What Happens When You Press Run 27
- Reading Logcat 30
- When It Will Not Build: Reading the Error 32
- Practical 2: Resources, and Why Android Keeps Values Out of the Code 35
- strings.xml, and Why a Hard Coded String Is Marked Down 37
- dimens.xml, dp and sp 39
- colors.xml and themes.xml 41
- Drawable Resources: A Shape Drawn in XML 43
- Reading a Resource from Java 46
- Practical 3: The Activity Lifecycle 48
- Watching the Lifecycle Happen in Logcat 52
- Rotation: The Activity Is Destroyed and Rebuilt 54
- Practical 4: What a Fragment Is, and Adding One 57
- The Eleven Fragment Callbacks 61
- Practical 5: Replacing a Fragment, and the Back Stack 63
- Practical 6: The Fragment Speaks to Its Activity 66
- The Activity Speaks to Its Fragment 70
- How a Layout Is Measured 72
- Why Your First Screen Hides Under the Clock 74
- Practical 7: LinearLayout 77
- Weights, and the 0dp Rule 80
- Practical 8: RelativeLayout 82
- Practical 9: TableLayout, and a Registration Form 85
- Checking the Form Before You Accept It 88
- Practical 10: ScrollView 91
- Practical 11: AbsoluteLayout, and Why It Was Deprecated 94
- Practical 12: FrameLayout 97
- What an Adapter Is 100
- Practical 13: ListView with ArrayAdapter 102
- Answering a Tap on a Row 105
- Practical 14: GridView with a Custom Adapter 107
- getView, convertView, and Why the Grid Stays Smooth 110
- Practical 15: RecyclerView 112
- The ViewHolder, and Telling the Adapter What Changed 116
Module II Android System Components & Data Handling
- Practical 1: The App Bar and the Options Menu 118
- showAsAction and the Overflow 122
- Practical 2: AlertDialog 124
- A Dialog with a Layout of Its Own 127
- Practical 3: Context Menus and Popup Menus 130
- What an Intent Is 133
- Practical 4: Explicit Intents, and Carrying Data 135
- Getting an Answer Back 138
- Implicit Intents, and Letting the Device Choose 140
- Package Visibility, and Checking Before You Send 142
- Practical 5: Event Handling with Listeners 144
- The Return Value That Decides What Happens Next 147
- Practical 6: Spinners and the Adapters That Fill Them 149
- Filling One Control from Another, and a List That Grows 152
- What a Service Is, and What It Is Not 154
- Practical 7: A Started Service 157
- A Bound Service 160
- Practical 8: Notifications 163
- The Permission, the Tap, and the Three Styles 167
- Practical 9: Broadcast Receivers 170
- Static and Dynamic, and What the Platform Took Away 173
- SQLite on Android 175
- Practical 10: Create, Read, Update and Delete 178
- Looking at the Database on the Device Itself 182
- Practical 11: A Table on the Screen 184
- Why the Network Is Not on the Main Thread 188
- Practical 12: Fetching JSON from a Web Service 190
- Reading JSON with org.json 194
- Cleartext, and the Address the Emulator Uses 197
- Practical 13: Threads and Handlers 200
- postDelayed, and Cleaning Up After Yourself 204
- Practical 14: MediaPlayer 206
- TelephonyManager, and What It Will Tell You 209
- Practical 15: Runtime Permissions 211
- The Three Answers, and the Refusal You Cannot Ask Again 215
- Securing the Manifest 218
- The Practical Slip, the Journal and the Viva 221
The chapters
Every chapter of this book comes with the B.Sc. (Information Technology) Semester 5 notes.
The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.
Notes: ₹499 Already bought it? Sign in
Free either way: question papers, the syllabus, and the cover and contents of every book.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself, or the past papers, for the same subject.