开发者

android questionnaire activity

开发者 https://www.devze.com 2023-02-03 15:30 出处:网络
I am currently looking to create an application in Android where a user can answer a questionnaire and that information is saved. The questionnaire will be in a sqlite database and can have different

I am currently looking to create an application in Android where a user can answer a questionnaire and that information is saved. The questionnaire will be in a sqlite database and can have different set on answers, and their can be several questionnaires th开发者_开发技巧e user can choose to fill. how do i go about firstly having the ability to create a dynamic questionnaire view for the user?


I am not sure if you have gone through some of the Android tutorials. Here are some tips (Not sure if this helps). Strongly suggest to go through some Android tutorials.

You need an activity that will connect to a database cursor. To display the layout options you could use some smarts as described in layout tricks [I made an assumption that you want to reuse the layouts]. You could add some smarts in your Activity code to the answer_display_type (i.e. the widget required to show the answer) and could hide/display parts of layout.

0

精彩评论

暂无评论...
验证码 换一张
取 消