How to use Smart Api java in android studio
-
@mariyambi still i am get null user value....please help me to resolved issue.
-
@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. -
@mariyambi hi
i am using java sdk in android studio...but not accessing any data...
showing null value while accessing any data -
@rohya-tayade Let me know if you still finding it hard to integrate with Android Studio
-
HI @rohya-tayade The python api link was for the reference as mentioned.
-
@admin please reply properly...look my issue property i am using Java api and you give me link of python issue
-
@admin Please check that my account is able to use smart api in java....
There is no problem with python api -
@admin I am using Java SDK , you give me link of python issue.
Please suggest I am using Java in android and showing null while getting user id. Smartconnect.getUserId() -
Hi @rohya-tayade You need to connect with your dev team as this is a user specific requirement kindly go through below link for reference:
https://smartapi.angelbroking.com/topic/1194/basic-smartapi-integration-using-python -
@admin please update on this