Android sqlite database - where do i start as the tutorial has gone for notepad? [closed]

六月ゝ 毕业季﹏ 提交于 2019-12-24 06:47:39

问题


Ive tried to hunt down the tutorial for notepad on android developers but it appears to of gone offline with the recent change.

What i need is a database thats created by the user using 3-4 edittext boxes and 2 date boxes and to store as 1 file i can look back on..

but i have no idea where to start with databases..

ive read tutorials on how to make one but i cant work out what needs to change on the coding of the database for my needs,

i created one that generates a random word i set out of 5 words when i click an add button but that doesnt tell me what i need to do in order to get the information from my text input boxes and date pickers and display them in a listview..

Any help on this will be great.

ps. not looking for people to do it for me im looking to learn about databases.


回答1:


This is a good point to start: http://www.vogella.com/articles/AndroidSQLite/article.html




回答2:


I hate to answer with just a link, but that's pretty much what is required (I'm not going to post a whole tutorial as an answer :p).

A good tutorial on databases is here




回答3:


Came across this in my own search. Not sure if you're still interested but if anybody else comes across, it can help them out. as of May, 2013, this is still active: http://developer.android.com/training/notepad/index.html



来源:https://stackoverflow.com/questions/11230147/android-sqlite-database-where-do-i-start-as-the-tutorial-has-gone-for-notepad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!