Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BasicKeyValuePair and UrlEncode #1

Open
agnel opened this issue Jul 8, 2014 · 6 comments
Open

Use BasicKeyValuePair and UrlEncode #1

agnel opened this issue Jul 8, 2014 · 6 comments

Comments

@agnel
Copy link

agnel commented Jul 8, 2014

Why do you hard code the data and then url encode it?
Instead you should use the BasicKeyValuePair and a UrlEncoder Class.

@FoamyGuy
Copy link
Owner

FoamyGuy commented Jul 8, 2014

Definitely a good suggestion. I will get that updated whenever I have a chance to, but it could be a while. If you want to create a fork and make that change I would gladly pull it in =)

@agnel
Copy link
Author

agnel commented Jul 8, 2014

Also one more thing you do not check whether there is a data connection available via the 2G/3G/WiFi for sending the data!

@FoamyGuy
Copy link
Owner

FoamyGuy commented Jul 8, 2014

Another great point. Same deal I'll try to fix it when I can, but if you'd like to fork and do that I will pull it in.

@agnel
Copy link
Author

agnel commented Jul 8, 2014

Try integrating it with the Crouton or AppMsg or MessageBar library for
notifying user about the results (like whether it was successfully sent or
failed ).
On Jul 8, 2014 8:14 PM, "FoamyGuy" notifications@github.com wrote:

Another great point. Same deal I'll try to fix it when I can, but if you'd
like to fork and do that I will pull it in.


Reply to this email directly or view it on GitHub
#1 (comment)
.

@agnel
Copy link
Author

agnel commented Jul 8, 2014

You implemented this in an activity, Ever given a thought about implementing in Fragments(like ViewPager) ?

@FoamyGuy
Copy link
Owner

FoamyGuy commented Jul 8, 2014

I haven't for this app since it is just a bare bones example of submitting data to the spreadsheet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants