开发者

Populate radiobutton group with data from squlite database

开发者 https://www.devze.com 2023-01-20 15:59 出处:网络
I am writing a game app for Android, where a question word with four different alternatives will show that the user can choose bet开发者_StackOverflow社区ween.

I am writing a game app for Android, where a question word with four different alternatives will show that the user can choose bet开发者_StackOverflow社区ween.

I have a database and i can insert from the app, but what would be the easiest way to use a select statement, and then parse the response and populate the five different positions in the radio group?

I have done the Notepad tutorial on the dev. site, and it seems a bit too complicated for what i need. At least I cannot decipher it well enough to apply on my project.

Thanks for any help! /AK


Use a listview and define a custom adapter that will populate the "row" with the five different answers.

0

精彩评论

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