munotes®

Android Practical Notes | B.Sc. (Information Technology) Semester 5 | Mumbai University | munotes

Get access to whole semester resourcesSemester Pass
MU B.Sc. (Information Technology) student group Free to join

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

  1. How This Paper Is Examined, and What Your Journal Must Contain 1
  2. What Android Is, and What You Are Building 4
  3. Installing Android Studio and the SDK 7
  4. Making Your First Project, and Choosing Java 10
  5. Inside an Android Project: Every File and What It Is For 13
  6. The Manifest: What It Declares, and Why It Must 16
  7. Gradle: What It Is, and the Numbers You Must Set 18
  8. The Android Virtual Device: Making One, and What Each Setting Decides 21
  9. Practical 1: Hello World, Written, Built and Run 24
  10. What Happens When You Press Run 27
  11. Reading Logcat 30
  12. When It Will Not Build: Reading the Error 32
  13. Practical 2: Resources, and Why Android Keeps Values Out of the Code 35
  14. strings.xml, and Why a Hard Coded String Is Marked Down 37
  15. dimens.xml, dp and sp 39
  16. colors.xml and themes.xml 41
  17. Drawable Resources: A Shape Drawn in XML 43
  18. Reading a Resource from Java 46
  19. Practical 3: The Activity Lifecycle 48
  20. Watching the Lifecycle Happen in Logcat 52
  21. Rotation: The Activity Is Destroyed and Rebuilt 54
  22. Practical 4: What a Fragment Is, and Adding One 57
  23. The Eleven Fragment Callbacks 61
  24. Practical 5: Replacing a Fragment, and the Back Stack 63
  25. Practical 6: The Fragment Speaks to Its Activity 66
  26. The Activity Speaks to Its Fragment 70
  27. How a Layout Is Measured 72
  28. Why Your First Screen Hides Under the Clock 74
  29. Practical 7: LinearLayout 77
  30. Weights, and the 0dp Rule 80
  31. Practical 8: RelativeLayout 82
  32. Practical 9: TableLayout, and a Registration Form 85
  33. Checking the Form Before You Accept It 88
  34. Practical 10: ScrollView 91
  35. Practical 11: AbsoluteLayout, and Why It Was Deprecated 94
  36. Practical 12: FrameLayout 97
  37. What an Adapter Is 100
  38. Practical 13: ListView with ArrayAdapter 102
  39. Answering a Tap on a Row 105
  40. Practical 14: GridView with a Custom Adapter 107
  41. getView, convertView, and Why the Grid Stays Smooth 110
  42. Practical 15: RecyclerView 112
  43. The ViewHolder, and Telling the Adapter What Changed 116

Module II Android System Components & Data Handling

  1. Practical 1: The App Bar and the Options Menu 118
  2. showAsAction and the Overflow 122
  3. Practical 2: AlertDialog 124
  4. A Dialog with a Layout of Its Own 127
  5. Practical 3: Context Menus and Popup Menus 130
  6. What an Intent Is 133
  7. Practical 4: Explicit Intents, and Carrying Data 135
  8. Getting an Answer Back 138
  9. Implicit Intents, and Letting the Device Choose 140
  10. Package Visibility, and Checking Before You Send 142
  11. Practical 5: Event Handling with Listeners 144
  12. The Return Value That Decides What Happens Next 147
  13. Practical 6: Spinners and the Adapters That Fill Them 149
  14. Filling One Control from Another, and a List That Grows 152
  15. What a Service Is, and What It Is Not 154
  16. Practical 7: A Started Service 157
  17. A Bound Service 160
  18. Practical 8: Notifications 163
  19. The Permission, the Tap, and the Three Styles 167
  20. Practical 9: Broadcast Receivers 170
  21. Static and Dynamic, and What the Platform Took Away 173
  22. SQLite on Android 175
  23. Practical 10: Create, Read, Update and Delete 178
  24. Looking at the Database on the Device Itself 182
  25. Practical 11: A Table on the Screen 184
  26. Why the Network Is Not on the Main Thread 188
  27. Practical 12: Fetching JSON from a Web Service 190
  28. Reading JSON with org.json 194
  29. Cleartext, and the Address the Emulator Uses 197
  30. Practical 13: Threads and Handlers 200
  31. postDelayed, and Cleaning Up After Yourself 204
  32. Practical 14: MediaPlayer 206
  33. TelephonyManager, and What It Will Tell You 209
  34. Practical 15: Runtime Permissions 211
  35. The Three Answers, and the Refusal You Cannot Ask Again 215
  36. Securing the Manifest 218
  37. The Practical Slip, the Journal and the Viva 221
munotes.in

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.

Issue
Done!