Titanium Mobile todo sample app
JavaScript CSS
Latest commit efd0591 Jul 17, 2015 @garymathews garymathews Merge pull request #17 from infosia/TIMOB-19057
[TIMOB-19057] Add Windows support
Permalink
Failed to load latest commit information.
Resources
.gitignore
.project [TIMOB-9818]Correcting project and app name. Feb 15, 2013
CHANGELOG.txt
LICENSE
LICENSE.txt initial import Nov 28, 2011
README.md
manifest [DE-296] Remove GUID Apr 2, 2015
tiapp.xml Add Windows support Jul 14, 2015

README.md

Sample.Todo

This is a Titanium Mobile sample app that creates a basic todo list. With this app you can maintain a listing of tasks to be completed, add to that list, and mark tasks as done.

Topics Covered

  • Local storage with SQLite via Titanium.Database
  • Modular Javascript with CommonJS
  • Multiple window app using a single execution context
  • Native UI features
    • Android menus
    • iOS navigation bar buttons
  • Cross-platform design

SQL for pre-populated todo.sqlite file

create table if not exists todo (item text, done integer);
insert into todo (item,done) values ('Pick Up Laundry',0);
insert into todo (item,done) values ('Go Food Shopping',0);
insert into todo (item,done) values ('Call Mom',0);
insert into todo (item,done) values ('Sleep',1);