Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
ANDROID DEVELOPMENT
NOTE TAKING APP FROM SCRATCH

Monday, November 18, 13
CREATE AN ANDROID
PROJECT
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Right Click

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Exercise : Create UI like shown below

Monday, November 18, 13
Solution
Monday, November 18, 13
CREATING THE APP

Monday, November 18, 13
Monday, November 18, 13
1. GET THE TEXT FROM TWO
INPUT FIELDS

Monday, November 18, 13
Double click the textbox to
switch to XML view

set id = etTitle

Monday, November 18, 13

set id = etNote
Monday, November 18, 13
Monday, November 18, 13
EXERCISE #2
DO THE SAME THING FOR
“NOTE” EDITTEXT

Monday, November 18, 13
SOLUTION

Monday, November 18, 13
EXERCISE #3
SET REFERENCE TO SAVE
BUTTON

Monday, November 18, 13
SOLUTION

Monday, November 18, 13
ONCLICK LISTENERS

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
WHAT’S WRONG WITH THE
CODE?

Monday, November 18, 13
Monday, November 18, 13
SAVING DATA

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
when opening a file, always close it!

Monday, November 18, 13
Monday, November 18, 13
DDMS MODE

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
RETURN TO PREVIOUS
PERSPECTIVE

Monday, November 18, 13
CREATE NEW ACTIVITY

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
MainActivity.java

Monday, November 18, 13
RUN AND TEST

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
EXERCISE #4 ADD NEW
ACTIVITY IN MANIFEST FILE

Monday, November 18, 13
Monday, November 18, 13
RUN AND TEST

Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
Monday, November 18, 13
RUN AND TEST

Monday, November 18, 13
EXERCISE #5
Read the file without overriding the current file data

Monday, November 18, 13
USE STRING BUILDER

Monday, November 18, 13
FINISHING TOUCHES

READACTIVITY.JAVA

Monday, November 18, 13
MAINACTIVITY.JAVA

Monday, November 18, 13
main.xml

Monday, November 18, 13
THANKS!

GEEK FOR A CAUSE
Monday, November 18, 13
Upcoming SlideShare
Loading in …5
×

Android Development - NOTE TAKING APP FROM SCRATCH

16,651 views

Published on

Android development for noobs - creating a note taking app from scratch

Published in: Technology

Android Development - NOTE TAKING APP FROM SCRATCH

  1. 1. ANDROID DEVELOPMENT NOTE TAKING APP FROM SCRATCH Monday, November 18, 13
  2. 2. CREATE AN ANDROID PROJECT Monday, November 18, 13
  3. 3. Monday, November 18, 13
  4. 4. Monday, November 18, 13
  5. 5. Monday, November 18, 13
  6. 6. Monday, November 18, 13
  7. 7. Monday, November 18, 13
  8. 8. Monday, November 18, 13
  9. 9. Right Click Monday, November 18, 13
  10. 10. Monday, November 18, 13
  11. 11. Monday, November 18, 13
  12. 12. Exercise : Create UI like shown below Monday, November 18, 13
  13. 13. Solution Monday, November 18, 13
  14. 14. CREATING THE APP Monday, November 18, 13
  15. 15. Monday, November 18, 13
  16. 16. 1. GET THE TEXT FROM TWO INPUT FIELDS Monday, November 18, 13
  17. 17. Double click the textbox to switch to XML view set id = etTitle Monday, November 18, 13 set id = etNote
  18. 18. Monday, November 18, 13
  19. 19. Monday, November 18, 13
  20. 20. EXERCISE #2 DO THE SAME THING FOR “NOTE” EDITTEXT Monday, November 18, 13
  21. 21. SOLUTION Monday, November 18, 13
  22. 22. EXERCISE #3 SET REFERENCE TO SAVE BUTTON Monday, November 18, 13
  23. 23. SOLUTION Monday, November 18, 13
  24. 24. ONCLICK LISTENERS Monday, November 18, 13
  25. 25. Monday, November 18, 13
  26. 26. Monday, November 18, 13
  27. 27. Monday, November 18, 13
  28. 28. Monday, November 18, 13
  29. 29. Monday, November 18, 13
  30. 30. Monday, November 18, 13
  31. 31. Monday, November 18, 13
  32. 32. WHAT’S WRONG WITH THE CODE? Monday, November 18, 13
  33. 33. Monday, November 18, 13
  34. 34. SAVING DATA Monday, November 18, 13
  35. 35. Monday, November 18, 13
  36. 36. Monday, November 18, 13
  37. 37. Monday, November 18, 13
  38. 38. when opening a file, always close it! Monday, November 18, 13
  39. 39. Monday, November 18, 13
  40. 40. DDMS MODE Monday, November 18, 13
  41. 41. Monday, November 18, 13
  42. 42. Monday, November 18, 13
  43. 43. Monday, November 18, 13
  44. 44. RETURN TO PREVIOUS PERSPECTIVE Monday, November 18, 13
  45. 45. CREATE NEW ACTIVITY Monday, November 18, 13
  46. 46. Monday, November 18, 13
  47. 47. Monday, November 18, 13
  48. 48. Monday, November 18, 13
  49. 49. Monday, November 18, 13
  50. 50. MainActivity.java Monday, November 18, 13
  51. 51. RUN AND TEST Monday, November 18, 13
  52. 52. Monday, November 18, 13
  53. 53. Monday, November 18, 13
  54. 54. EXERCISE #4 ADD NEW ACTIVITY IN MANIFEST FILE Monday, November 18, 13
  55. 55. Monday, November 18, 13
  56. 56. RUN AND TEST Monday, November 18, 13
  57. 57. Monday, November 18, 13
  58. 58. Monday, November 18, 13
  59. 59. Monday, November 18, 13
  60. 60. Monday, November 18, 13
  61. 61. Monday, November 18, 13
  62. 62. Monday, November 18, 13
  63. 63. Monday, November 18, 13
  64. 64. RUN AND TEST Monday, November 18, 13
  65. 65. EXERCISE #5 Read the file without overriding the current file data Monday, November 18, 13
  66. 66. USE STRING BUILDER Monday, November 18, 13
  67. 67. FINISHING TOUCHES READACTIVITY.JAVA Monday, November 18, 13
  68. 68. MAINACTIVITY.JAVA Monday, November 18, 13
  69. 69. main.xml Monday, November 18, 13
  70. 70. THANKS! GEEK FOR A CAUSE Monday, November 18, 13

×