"even if you fix dependency issue, it won't run because android has stopped supporting Apache HttpClient for networking. It only supports HttpUrlConnection and our network layer uses Unirest which uses Apache HttpClient"
So Sujith are you saying KI…
ok Sujith, so this is what I did -
I unchecked org apache jar and checked only KITE connect jar in Build Path
Then added the KITE connect imports
Then added the login code as show in pic below:
imgh.us/crash_with_eror_2.jpg
And then compile works f…
Did that , and now I get this error :
https://i.imgsafe.org/2db2e544cb.jpg
02-02 12:36:08.911: E/AndroidRuntime(3563): FATAL EXCEPTION: main
02-02 12:36:08.911: E/AndroidRuntime(3563): Process: jinga.test.test1, PID: 3563
02-02 12:36:08.911: E/And…
Hi Sujith,
I have checked only 1 APACHE jar and the KITE CONNECT JAR.
And i get error.
[2017-02-02 11:14:51 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/apache/commons/codec/Decoder;
[2017-02-02 11:14:51 - jinga.test.test…
Hi Sujith, After adding all the dependencies to the project , the project does not compile now .
Error:
2017-02-02 00:07:29 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/mashape/unirest/http/Headers;
[2017-02-02 00:07:29 - j…
Hi Sujith, the file example is very basic and high level.
My code is crashing here :
UserModel userModel = kiteconnect.requestAccessToken("your_apiKey", "your_apiSecret");
Is there a more complete example I can look at ?
Hi Sujith , the link you provided says convert to -
String encodedString = new String(Base64.encodeBase64('string to encode'));
But the problem I have is with line -
userModel = kiteSdk.requestAccessToken("svlo1ylhol1wbuttybr5w5y7r37t30ml", "api…
Thanks Vishnu, I was able to make some progress but got an error at this line:
userModel = kiteSdk.requestAccessToken("svlo1ylhol1wbuttybr5w5y7r37t30ml", "secret key");
below is error:
01-30 21:36:21.843: E/AndroidRuntime(32759): FATAL EXCEPTION:…