appcelerator 保存/检索特定相册中的图像
我正在制定上学时间表。我想添加一个选项来记录我用 ipad 上的课程,例如我现在有数学,我想从中做笔记,我想将它保存在数学专辑中(如果数学专辑没有)不存在,我想让专辑变得数学)。我想为每节课执行此操作,因为我想添加一个选项来从特定文件夹中检索所有笔记,例如数学。可以这样做吗?非常感谢您的帮助
I'm making a timetable for school. And i want to add an option to make notes from the lessons i have with my ipad, for example i have math now and i want to make notes from it and i want to save it in the album math ( if the album math doesn't exist i want to make the album math). I want to do this for every lesson, because i want to add an option to retrieve all the notes from a specific folder for example maths.Is it possible to do this? Many thanks for helping
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这绝对是可能的。我不知道您在应用程序设计方面需要多少帮助,但您可能会考虑使用 Titanium.Database API。您需要一个表格来保存笔记,如果您添加了一个存储课程类型的列,那么您可以提取特定课程的所有笔记。您可能还会保存日期,以便您也可以提取特定日期的课程笔记。在应用程序中,您只需提取数据并将其显示在表格中。如果您需要更多具体信息,请发表评论。
It's definitely possible. I don't know how much help you're looking for as regards to application design, but you'd probably be looking at saving data to an SQLite database using the Titanium.Database API. You'd need a table to save notes to, and if you added a column which stored the lesson type you could then pull out all notes for a specific lesson. You'd probably also save the date so you could pull out lesson notes for a particular day too. In the app you'd just pull the data out and display it in a table. If you need any more specific info just comment.