SmsBump with Java (and Android)

API and Code
Platforms
Languages

Overview

This is small package that allows you to use SmsBump in your Java (including Android) application. Download it and give it a try.

 Download now

Request example

    import com.smsbump.SmsBump;
    import com.smsbump.SmsBumpRunnable;
    
    public class SmsBumpExample {
        public static void main(String[] args) throws Exception {
            SmsBump smsbump = new SmsBump("{your_api_key}}", "{recipient(s)}", "Hello World from SmsBump!");
            smsbump.setCallback(new SmsBumpRunnable() {
                private String response;
                
                public void setResponse(String response) { this.response = response; }
    
                public void run() {
                    System.out.println( this.response );
                }
            });
            smsbump.send();
        }
    }
                

Seems too long? Well, the callback is optional, so if you do not care about the response from our server you can skip it.