Simple note taking app?

This question never gets properly answered… 

How do you create an app where you add new notes which appear on a main page on top of one another, for you to click on and view?? It sounds like it should be fairly simple yet there is no tutorial whatsoever on this!

Farid

Actually its not that simple.

You will need to figure out how you intend to store the notes.  Do you want to use a database (SQLite) or a plain text file?  If it’s a plain text file, how are you going to structure the data so you can tell each note apart?  Are you going to save it as JSON, XML or some other format?  If it’s some other format, you will need to write a parser to handle it.

Do you want the notes all in memory at the same time?  Do you want a listView/tableView presentation of each note and tapping the note takes you to an editable screen to edit it?  If so you will need to know how to use widget.newTableView and native.newTextBox() and undserstand how they all interact and how you read that database and populate the tableView. 

There are many ways to accomplish this.  In all cases, there are examples in the CoronaSDK/SampleCode/ folder to cover how to do database, list/tableViews, interact with native.text objects and so on.  No there isn’t a single example to do this, but the parts are all there.

Rob

When you put it like that, it definitely doesn’t sound quite as simple as I suspected… Unfortunately, I don’t feel I have the intuition to be able to piece the parts together in order to create this sort of application, although don’t you think that some sort of tutorial on a Note Taking app would be of use to many people as even though it’s quite specific, it’s clearly a good example on methods of piecing together more dynamic programming skills to create more useful and dynamic applications? Personally I think so many people could benefit from something like that. 

As for me, it’ll just be a giant case of trial and error and sifting through separate tutorials to piece the puzzle together. Thanks for your reply nevertheless! 

Farid.

The problem is the Tutorial would be huge.  it would probably need to be broken down into multiple apps covering individual topics. 

Rob

Actually its not that simple.

You will need to figure out how you intend to store the notes.  Do you want to use a database (SQLite) or a plain text file?  If it’s a plain text file, how are you going to structure the data so you can tell each note apart?  Are you going to save it as JSON, XML or some other format?  If it’s some other format, you will need to write a parser to handle it.

Do you want the notes all in memory at the same time?  Do you want a listView/tableView presentation of each note and tapping the note takes you to an editable screen to edit it?  If so you will need to know how to use widget.newTableView and native.newTextBox() and undserstand how they all interact and how you read that database and populate the tableView. 

There are many ways to accomplish this.  In all cases, there are examples in the CoronaSDK/SampleCode/ folder to cover how to do database, list/tableViews, interact with native.text objects and so on.  No there isn’t a single example to do this, but the parts are all there.

Rob

When you put it like that, it definitely doesn’t sound quite as simple as I suspected… Unfortunately, I don’t feel I have the intuition to be able to piece the parts together in order to create this sort of application, although don’t you think that some sort of tutorial on a Note Taking app would be of use to many people as even though it’s quite specific, it’s clearly a good example on methods of piecing together more dynamic programming skills to create more useful and dynamic applications? Personally I think so many people could benefit from something like that. 

As for me, it’ll just be a giant case of trial and error and sifting through separate tutorials to piece the puzzle together. Thanks for your reply nevertheless! 

Farid.

The problem is the Tutorial would be huge.  it would probably need to be broken down into multiple apps covering individual topics. 

Rob