I downloaded the Note Pad tutorial that is provided on android website. I'm on tutorial #2 and it is about how to add and delete a note.
After my first helloWorld program and Note Pad 1 tutorial, I feel very frustrated about the way Android programming works. You need a bunch of xml files for positioning, creating activities and providing values on the objects.
So, at the end of the 2nd tutorial, I was running and testing the application. I realized that there's a piece of code that stateed about deletion of a note. I was very confused because I did not see Delete Note on my apps. I tried many different ways but the Delete button is no where to be found. And then, I tried to read the code carefully and noticed that Delete Note button is added when a Conext Menu is created. Honestly, I'm a bit confused about what a Context Menu is since I didn't read all the fundamentals line by line. Then I realized that I didn't try pressing too long on an existing note. And I tried it and the Delete note appears!
At the same time, I realized that that might be how the copy function works on android. When I got the phone first time, I was upset because I had to manually enter numbers to copy contacts. But that's how copy works too, you have to press on a text field for a long time for a context menu option to show up. Why can't they program in a simple and more straight forward way. Most users are not tech savvy and they will need to cater to those people. With the way that they are going, I don't think Android will be able to catch up with the popularity of IPhone OS anytime soon...
No comments:
Post a Comment