I am writing on a cross-platform BB application that needs to connect to Exchange servers and download mails using ActiveSync.
Is there any library or API available for BB?
Please suggest me how can I perform this task in Blackberry?
You can use KXML parser written in java for ActiveSync wbxml or JavaScript library for ActiveSync implementation in JavaScript
Related
I've been looking for a way to make a connection to the telegram api for a long time, but I didn't find anything suitable
i have read this: https://core.telegram.org/mtproto
and this: How to implement authorization using a Telegram API?
But I can't figure out how to decode and encrypt it. I've read other open-source code, but I still don't understand how to port it to the language I'm going to use.
Can you write instructions on how to use the mtproto api telegram on dart? you can write the language you prefer.
I want to use the client on dart language
I would like to connect to Bloomberg - data stream of stock quotations to our trading system written in Delphi.
The API libraries provided for download on the Bloomberg website (http://www.bloomberglabs.com/api/libraries/) do not include a version specific for Delphi.
Is there a way to access the Bloomberg API from Delphi if only C/C++, Java, .Net, Perl and Python libraries are available?
You can use without any problem the C/C++ SDK and map function calls into Delphi with the external keyword . Take a look at this example for more information .
However as someone stated in the comments since the API you are talking about just embed calls to a web service, you could just call the web service from Delphi or define your own API on Delphi based on the web service spec. You can just have a look at the source of the C/C++ and try yo convert it to Delphi.
If calling directly the web service or converting the the API to Delphi is not an option for you, you can just use the C/C++ API as external functions call.
Usually if I encounter the need to consume a web service where Delphi integration is not easy, I recommend to write a thin 'proxy' with one of the available SDKs.
Communication between the proxy and the Delphi side then can be implemented using simple file transfer, or a network protocol (such as HTTP).
In this case it could be:
(Bloomberg) <== Java SDK ==> (Java proxy) <== HTTP ==> (Delphi application)
The key advantage is that a first protoype can be implemented very quick, because all required parts are already present:
download SDK and create a Java web service (server) project
create small Delphi prototype which sends a HTTP request using Indy
in the Java web service, map the request parameters to a BB API call
map BB API call response to a Java web service response
read response in Delphi application
I have installed a quickbooks premier 2014 desktop edition in my system and wants to integrate it using QBXML Request processor API(QBXMLRP2) through java application.
I have gone through the QBXML SDK Documentation but didn't find a proper way on integration with java.
I found this from the documentation :
1.Open a connection to QuickBooks.
2.Start a session for working on a specific QuickBooks company file.
3.Send whatever requests you want to do something in QuickBooks.
4.When you’re done or before your application exits, end the session.
5.Then close the connection.
It will be greatly appreciated if some one could provide me some sample code to integrate with Quickbooks.
And also how to configure QBXMLRP2Lib files in my java application?.
Thanks in advance.
There is a product called QuickBooks Web Connector that allows your app to use QBXML through a web service. Intuit has created a sample java application that communicates with web connector that may provide what you need.
Also, if you're starting a new app from scratch you may want to consider using the newer "V3 QBD" API instead of QBXML.
I've got a custom HTTP Server created using Delphi 7 and Ararat Synapse which receives HTTP GET from another application with a simple set of variables.
For example: http://myserver.com/get?Variable1=adsds&Variable2=asdasdasdsa&Variable3=aasdsadasdsad
The application source is similar to this - http://searchco.de/codesearch/view/13374072
Now, my customer needs me provide a SOAP interface. Completely new to SOAP, I did some research and found it to be very complicated. I would like to know what's the easier way to incorporate this interface to my HTTP server. Or should I find ready made SOAP To HTTP Conversion app if there is such a software. Thank you.
Note: I'm not the original developer of the HTTP Server.
There is a Web Service Toolkit for Free Pascal and Delphi which can be used to write SOAP servers.
I have not yet used it myself but it is in active development and might be compatible with Synapse.
Update: the current version seems to include support for Internet Direct (Indy) and Synapse (HTTP server and TCP server).
You need to write a SOAP server, which not only generates SOAP responses from SOAP requests, but which also provides a WSDL document telling the users what requests they can make.
Since your completely new to SOAP here are some 'starter' links:
General:
SOAP, WDSL, HTTP, XSD? What the?
List of publicly available web services (I would start writring a small testapp that consumes SOAP)
With Delphi:
Developing Web Services with Delphi
Web Services Made Easy With Delphi
Web services with Delphi
The fact that you are using Delphi 7 makes things more difficult, since later versions have better support:
Debugging/Testing Win32 SOAP Web Services (D2007). Bob has more SOAP articles
For testing both serving and consuming SOAP you should use SoapUI, a great free tool (What is SOAPUI?).
Once you are up to the WDSL you should know what types of WSDL exist and the whole namespaces mess...
is anyone aware of LinkedIn api for blackberry java based development?
please tell me how to implement this in blackberry application
LinkedIn-J is a Java wrapper for the LinkedIn API.
Do you mean a java library? I don't know if it exists for BB, but very likely it doesn't. If there's a Java API for other platform, as long as it is source compatible with Java 1.4 you can reuse some parts.
There is a REST API anyway:
http://developer.linkedin.com/rest