the OpenSMPP homepage does not contain the documentation of OpenSMPP itself, only the protocol references. Could somebody give me some advice where on Earth can I find documentation and code examples on how to use the OpenSMPP API itself, especially regarding what classes can be used for receiving asynchronously?
Thank you!
If you want to get the API (Javadoc)
- this will be resolved by your IDE if you include the library in your project follwing the instructions here http://opensmpp.org/downloads.html
- if you want to download the API manually start to have a look here https://oss.sonatype.org/content/groups/public/org/opensmpp/
For examples you could have a look in the unit tests, clone (or download) the project https://github.com/OpenSmpp/opensmpp.git and have a look for sources in the 'client/', 'sim/' or '*/test/' folders.
For testing purpose this tutorial might be also of interest: http://mobiforge.com/design-development/sending-sms-with-smpp-kannel-and-java
Related
I set out to install some fast matrix and BLAS libraries for Java, and settled on MTJ (backed by netlib-java) based on the results of Java Matrix Benchmark. I believe I have everything installed via Maven, but I can't find any credible documentaiton for these libraries.
The logical starting point would be the github pages:
MTJ
netlib
...But I can't find a link to any tutorials or javadoc beyond the incredibly terse MTJ wiki section on Github. Netlib's source appears to be in fortran (with F2J as a compilation step) so I can't crawl directly though source in lieu of javadoc, either.
To make things even more baffling, there appears to be some sort of Javadoc for MTJ out there hosted by a German university for some reason, that references packages (like nni.BLAS) that don't appear to be part of the MTJ library that Maven made for me. There's another even sketchier Javadoc hosted somewhere inside the University of Tennessee that, while having no apparent connection to the netlib-java project, does somehow have a Javadoc page that seems to explain the three extra integer arguments that netlib-java's DGEMV implementation uses (offsets of some sort?). If I look at the fortran documentation inside the netlib-java distribution for DGEMV, it has the eleven standard arguments that I would expect from DGEMV.
So here are my questions:
1.) Is there official documentation for MTJ/netlib? If so, where?
2.) If there is no official documentation, are there any other resources out there that would allow someone to learn to use this library? If this project isn't used exclusively by the developers, then people are learning to use it somehow. How?
3.) If a Java version of netlib's 11-argument DGEMV isn't installed as part of MTJ via Maven, then what is this 14-argument thing on my hard drive?
Thanks.
If you download MTJ via Maven, you can also download the Javadoc and source jars at that time. (IntelliJ IDEA will do this for you automagically.) The jar is called mtj-1.0.2-javadoc.jar and contains comprehensive Javadoc. Once upon a time, this seemed to be available on a website, but that site seems to be gone.
The closest I've seen so far:
http://en.wikipedia.org/wiki/Matrix_Toolkit_Java
Here is link to jar archive with complete javadoc of latest stable MTJ. Just unzip it with tool such 7zip or similar. I agree that lack of guides related to this library might be dauting.
I have created a site for mtj 1.0.3-snapshot on divshot.io:
http://mtj103.divshot.io/
Hope this helps.
I am looking to use OAuth2 in my Play application, and I've been having trouble looking for an entry point in coding for it. SecureSocial seems like a good library to use, but there seems to be a disconnect between SecureSocial's Getting Started guide and the classes that are actually available in their library. Specifically, the guide (here) says to stick this class in as a starting UserService. However, it refers to two classes (securesocial.core.Identity and securesocial.core.IdentityId) that are supposedly in SecureSocial's jar are inexplicably missing.
Does anyone know where I can find these classes (or find some kind of up-to-date guide or really any kind of basic, barebones way to learn OAuth with Play)?
I can't post more than two links so I did not link to the jar's page in the maven repository, but search for securesocial_2.11.
What is published -as of this writing - in Maven for Scala 2.11 is SecureSocial 3.0-M1. The published docs are for the 2.1.x version. Identity was removed and is not needed any more. The idea is that you can specify the type you want to represent users without being forced to inherit or implement any other type.
You can read the online docs to understand some concepts and then use the samples which are updated to use the new API here: https://github.com/jaliss/securesocial/tree/3.0-M1/samples.
I would like to use the mms-computing.co.uk.device.twain.jar library in a Java project that should talk to image acquisition devices.
I noticed that the site of mms-computing is unavailable; I could download the jar from another site but I can't find any examples or documentation about the methods exposed by that library and how to use them.
Can someone help me providing a link where the documentation is still accessible, if any?
you can see this link
http://thorntonzone.com/manuals/Compression/Fax,%20IBM%20MMR/MMSC/mmsc/uk/co/mmscomputing/device/twain/pdfapplet/index.html
This have many examples but few documentation.
I hope it will be useful to you.
Just start to learn Java, and always see some tutorials mentioning, "using the javaDoCs API to find...", what does "JavaDoCS API" stands for? Where to find it?
Javadocs are a way to write documents inside your code, that can be made into a little framed report dealio.
So for Java itself, you can get the Java 6 API at http://download.oracle.com/javase/6/docs/api/
if you are using say, Spring and someone says look at the JavaDocs API.. you would have to go google (or use something like Maven) to get the javadocs into your app.
Edit - Javadoc FAQ: http://java.sun.com/j2se/javadoc/faq/index.html
Javadocs are standard documentation pages generated from special comments inserted directly in the code.
You can find the whole thing for the standard API here: http://download.oracle.com/javase/6/docs/api/
Most IDES will also show you the API when you hit ctrl+space.
You will need the documentation or source files for non standard apis such as libraries / frameworks / etc.
I am looking for good and practical resources that will help me use the Ant APIs effectively. The project website just gives the documentation of the API which is not useful at all. Very few websites seem to give very brief tutorials on the subject.
Is there some resource I am missing out on? How can I use the Ant APIs for simple tasks, without spending hours browsing through them and looking at source code?
Thanks.
(Answers to previously asked questions not helpful - How can i use Apache ANT Programmatically )
As it turns out, the lack of good resources on using the Ant API, is known and intended.
The bottom paragraph of this article from the Ant says -
The question you are probably asking yourself at this point is: How would I know which classes and methods have to be called in order to set up a dummy Project and Target? The answer is: you don't. Ultimately, you have to be willing to get your feet wet and read the source code. The above example is merely designed to whet your appetite and get you started. Go for it!
So this seems to be the only way to make best use of the API.
..Java program to programmatically build source files
If compiling/Jarring is all you need and you can run it in an SDK (as opposed to a plain JRE), look to the JavaCompiler class for compilation. Then use the Jar related classes to build the Jars.
All J2SE. Ant not included, Ant not required.
There is no better manual to understand ANT than : http://ant.apache.org/manual/index.html
I am not sure if you've gone through this link that explains in detail about creating a task. A word of caution, If you're new to ANT, there is no easy way to jump on this tutorial. Better to learn the basics before you come here. Refer above link for a good starting point.