0

I have an Android application published, which shows the user the traffic conditions in the zone he wants, and can be filtered by road, by km... Well, that doesn't matter.

I want to know when the app is more used (weekends? During week at the morning?) and how the users use it, so I'm developing a way to get the user's use of the app.

First of all, I want to remark that this is going to be completely anonymous, and no personal data will be registered, and of course it will be disabled by default, only activated if the user wants it.

After pointing that, I'm going with the question.

I've developed a way to get the user usage in a JSON, and I'd want to upload it (probably via HTTP POST) and save it to a database, in my hosting.

I've thought in using Django, but I don't know which would be the best framework/method to do it.

What do you reccomend me to do that?

4
  • What has the Android to do with it? Commented Aug 15, 2013 at 22:57
  • The Android app generates the JSON (that part is completely covered). I'm asking about some online tool where the app can send it and add automatically add it to a database. Maybe Django and sending the JSON via HTTP POST? (It's only an idea. I'm asking for advice) Commented Aug 16, 2013 at 22:55
  • You can do it with a simple php script too! Commented Aug 16, 2013 at 23:47
  • How? Passing the JSON to the PHP? I have no idea about how to do it... Is it possible with PHP taking this info and adding it to a database? Commented Aug 17, 2013 at 14:50

1 Answer 1

1

Check this little tutorial and i think it's what you want!

Send And Receive JSON to PHP Service

Sign up to request clarification or add additional context in comments.

1 Comment

This has helped me A LOT to understand how to manage PHP requests, so first of all, thank you very much! Finally I'm going to do it with an HTTP GET connection, passing the JSON as a String, and after, parsing it with PHP and adding it to the database

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.