Help! Need help with implementing Polling System!

Hi all,

I am developing an app, well obviously we all are :), but I need help with a specific thing.

I need to integrate a polling system into my app to allow users to vote on certain things.

It needs to be able to have:
-choices
-time limit it could be around for

It would be great if someone could help me with this because I really need this feature.
Thanks in advance!

-Landon [import]uid: 111492 topic_id: 31161 reply_id: 331161[/import]

If you are familiar(or have the will to learn) PHP or another web server style language then your best option would be to have your app get all of it’s poll data from a separate webserver using a network.request. This would give you the ability to change the polls whenever you wanted to. Presumably you want to record that information as well so you could at the same time send the end users answer and record it as well.

Another option that would be more restricted but probably easier is store your various future polls in a sqlite db. Make sure you include a start/end time on the polls and you could pull your poll info from there based on the current date. If you didn’t want to use a DB then you could also hard code it into your app but that’s kind of lame.

The first option is ideal but as I said if you aren’t famaliar with that technology(which I am going to assume you aren’t since you didn’t think of it) then you will have to do some learning to get that going. [import]uid: 147305 topic_id: 31161 reply_id: 124637[/import]

Hi budershank,

Thanks so much for the response!

I am going to be using Kinvey or Parse as my backend, if that would help.

My app is going to help people plan things. I need to allow there to be a polling thing that has set choices everytime like:

Ex:

Choice A: I can do it!
Choice B: Maybe.
Choice C: I cant do it!

And then have a poll that pops up with what all the invited users to the planned night out what their choices were. And then set like the time limit as like 2 Days.

For all users that set a planned day, they will have the same poll.

Thanks Again!

-Landon [import]uid: 111492 topic_id: 31161 reply_id: 124695[/import]

If you are familiar(or have the will to learn) PHP or another web server style language then your best option would be to have your app get all of it’s poll data from a separate webserver using a network.request. This would give you the ability to change the polls whenever you wanted to. Presumably you want to record that information as well so you could at the same time send the end users answer and record it as well.

Another option that would be more restricted but probably easier is store your various future polls in a sqlite db. Make sure you include a start/end time on the polls and you could pull your poll info from there based on the current date. If you didn’t want to use a DB then you could also hard code it into your app but that’s kind of lame.

The first option is ideal but as I said if you aren’t famaliar with that technology(which I am going to assume you aren’t since you didn’t think of it) then you will have to do some learning to get that going. [import]uid: 147305 topic_id: 31161 reply_id: 124637[/import]

Hi budershank,

Thanks so much for the response!

I am going to be using Kinvey or Parse as my backend, if that would help.

My app is going to help people plan things. I need to allow there to be a polling thing that has set choices everytime like:

Ex:

Choice A: I can do it!
Choice B: Maybe.
Choice C: I cant do it!

And then have a poll that pops up with what all the invited users to the planned night out what their choices were. And then set like the time limit as like 2 Days.

For all users that set a planned day, they will have the same poll.

Thanks Again!

-Landon [import]uid: 111492 topic_id: 31161 reply_id: 124695[/import]