Hello,
As you know, we need to change/set the server address with the Parse SDK, and since it is hardcoded in the
old SDK, we need to compile a new library working with the sources which are now open.
I tried to wrap the Parse SDK 1.13 with library (https://github.com/ParsePlatform/Parse-SDK-Android)
And also i downloaded the JAR snapshot file. I was able to compile the SDK code also with Android Studio.
But i couldn't succeed to make a wrapper library (or update the existing). Even the present tutorials which are well appreciated and given through hard work, could'nt help me (yet). This was a more complicated task for me and not a good start point for wrappers, for sure.
I had been able to compile the older library with old SDK JAR(Parse SDK 1.7, which has no open source code) with SLC.
Then i tried to compile the old Wrapper library code with the new Parse SDK by examining it's code. Compiler first raised an error, and i solved that by adding (bolts-tasks-1.4.0.jar) to the libs folder of SLC. But now i am getting the error log below (which i didn't get when compiling with older SDK):
By the way, i use B4A 6.50 .
Do you have any clue, or do you have any suggestions for changing the server address ?
Also i think there are other problems with using old SDK, because now the server is Parse Server and has slight differences from the older one. I have seen problems like returning 0 counts when working through the (api.parse.com).
Thanks in advance!
Serdar
As you know, we need to change/set the server address with the Parse SDK, and since it is hardcoded in the
old SDK, we need to compile a new library working with the sources which are now open.
I tried to wrap the Parse SDK 1.13 with library (https://github.com/ParsePlatform/Parse-SDK-Android)
And also i downloaded the JAR snapshot file. I was able to compile the SDK code also with Android Studio.
But i couldn't succeed to make a wrapper library (or update the existing). Even the present tutorials which are well appreciated and given through hard work, could'nt help me (yet). This was a more complicated task for me and not a good start point for wrappers, for sure.
I had been able to compile the older library with old SDK JAR(Parse SDK 1.7, which has no open source code) with SLC.
Then i tried to compile the old Wrapper library code with the new Parse SDK by examining it's code. Compiler first raised an error, and i solved that by adding (bolts-tasks-1.4.0.jar) to the libs folder of SLC. But now i am getting the error log below (which i didn't get when compiling with older SDK):
B4X:
Starting step: Compiling Java code.
javac 1.8.0_66
D:\SLCSerdar\Parse\src\anywheresoftware\b4a\objects\ParseObjectWrapper.java:396: error: cannot find symbol
if (ba.processBA != null) b = ba.processBA;
^
symbol: variable processBA
location: variable ba of type BA
Note: D:\SLCSerdar\Parse\src\anywheresoftware\b4a\objects\ParseObjectWrapper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\SLCSerdar\Parse\src\anywheresoftware\b4a\objects\ParseObjectWrapper.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Error.
By the way, i use B4A 6.50 .
Do you have any clue, or do you have any suggestions for changing the server address ?
Also i think there are other problems with using old SDK, because now the server is Parse Server and has slight differences from the older one. I have seen problems like returning 0 counts when working through the (api.parse.com).
Thanks in advance!
Serdar