Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    How to use Smart Api java in android studio

    NodeJS SDK
    3
    15
    137
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rohya.tayade @admin last edited by

      @admin Please check that my account is able to use smart api in java....
      There is no problem with python api

      1 Reply Last reply Reply Quote 0
      • R
        rohya.tayade @admin last edited by

        @admin please reply properly...look my issue property i am using Java api and you give me link of python issue

        A 1 Reply Last reply Reply Quote 0
        • A
          admin @rohya.tayade last edited by

          HI @rohya-tayade The python api link was for the reference as mentioned.

          1 Reply Last reply Reply Quote 0
          • M
            mariyambi @rohya.tayade last edited by

            @rohya-tayade Let me know if you still finding it hard to integrate with Android Studio

            R 1 Reply Last reply Reply Quote 0
            • R
              rohya.tayade @mariyambi last edited by

              @mariyambi hi
              i am using java sdk in android studio...but not accessing any data...
              showing null value while accessing any data

              1 Reply Last reply Reply Quote 0
              • M
                mariyambi @rohya.tayade last edited by

                @rohya-tayade The main issue is that the SDK tries to invoke the APIs in main thread. Please use this version: https://drive.google.com/file/d/1Y-CY3NFZiaj5UeyPQkFbZKHJKL42lN-m/view?usp=sharing

                Also, Please set the required headers in new class HeaderConfig.
                Before creating SmartConnect object, set the headers first.
                Because this needs public IP which is fetched from a aws url, which needs to be made in worker thread.
                Its not perfect, I tweaked for my purpose only.

                I was able to place order via apis.
                Let me know if you are still facing issues.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rohya.tayade @mariyambi last edited by

                  @mariyambi still i am get null user value....please help me to resolved issue.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mariyambi @rohya.tayade last edited by

                    @rohya-tayade connect me @trader.subairariyil@gmail.com

                    1 Reply Last reply Reply Quote 0
                    • B
                      bh_nil @rohya.tayade last edited by

                      @rohya-tayade yeah I am also facing Null pointer issue, As a java project it's working fine

                      1 Reply Last reply Reply Quote 0
                      • M
                        mariyambi @rohya.tayade last edited by

                        @rohya-tayade Were you able to resolve?

                        1 Reply Last reply Reply Quote 0
                        • B
                          bh_nil last edited by

                          Any Update regarding this??

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post