My develop environment is jdk1.7 , android 4.2, and eclipse 4.2.1 (Juno)
Here's how it looks like.
Left side is the note list and the right side is the note editor
It's not really difficult to write this program if you have certain experienced to android apps program. Basically what I have used on this program mostly is fundamentally things like intent, SQLite database, options menu, list activity and of course life-cycle. If you are already tried the notepad exercise that I mentioned above basically you can understand what I'm writing about.
I'm going to show what I have written on this project.
Here's the java code for note list
Here's the XML code for note list
The name written on background for instance notelist and create_note is the png image files. You can download it at the top of this blog.
Here's the XML code for list row
Here's the java code for note edit
Here's the XML code for note edit
Here's the java code for note adapters that provided by android developers. It's almost same but I did some edit on it that I added the one more parameter for date.
Here's the manisfest code for this project
Code above I shows is not completely all of this project. There is some files I didn't put on here due to I want to show the main files of this project.
If you are interest with my project click here to download.
Thank you for visit my blog. Any feedback and question is welcome, please feel free to ask me question.