Android Question How to submit data with Json

Discussion in 'Android Questions' started by Daniel-White, Jul 2, 2015.

  1. Daniel-White

    Daniel-White Active Member Licensed User

    Hi guys, I have been around in the forum learning about B4A from 6 months. now is the time to put one simple question for you.

    Can some one share with me a very small example where json submit data to website, save info. I read back and forward all the forum all day :). and found partially info. I need something very simple to start to understand.

    Thanks you so much.
    Daniel W
    Last edited: Jul 2, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Is there any specific web service that you are trying to work with?

    Creating a json string is simple:
    Dim jg As JSONGenerator
    Dim jsonString As String = jg.ToPrettyString(4)
    Sending the string with HttpUtils2 is also simple:
    lemonisdead likes this.
  3. Daniel-White

    Daniel-White Active Member Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice