• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple SMS gateway running on Android

Android SMS Gateway Application

This is a simple and small application that translates Google Cloud Messaging (GCM) events into outgoing SMS messages on your phone.

Getting Started

  • Follow the instructions gescribed at http://developer.android.com/google/gcm/gs.html to create your GCM Sender ID (Project ID) and API Key.
  • Build application from the source code using Eclipse or download it from the Releases section of this project.
  • Install it and launch on your phone. Put in your Sender ID and save a Registration ID so you can use it from your web app (or something).
  • Set up you backend application as it described below

Setting up your backend application

To send messages you will need to do a HTTP POST to https://android.googleapis.com/gcm/send as it described here: http://developer.android.com/google/gcm/http.html

Make sure you send API key from your Google Console within Authorization header and the registration_id value saved from your phone withing post body.

Here is a small sample witten in ruby:

require 'mechanize'

@agent = Mechanize.new

@agent.post 'https://android.googleapis.com/gcm/send',
                          {
                              'registration_id' => 'YOUR REGISTRATION ID VALUE',
                              'data.message' => 'YOUR MESSAGE HERE',
                              'data.number' => 'DESTINATION PHONE NUMBER HERE'
                          },
                          {
                              'Authorization' => 'key=YOUR API KEY HERE'
                          }

That's it! Make sure you have enough credits on your phone to send text messages :)

More Repositories

1

android-inapp-billing-v3

A lightweight implementation of Android In-app Billing Version 3
Java
2,193
star
2

bootstrap-rails

Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
CSS
729
star
3

rails-data-migrations

Run your data migration scripts like a master
Ruby
124
star
4

sat3

Reference Implementation of Romanov's Polynomial Algorithm for Boolean 3-SAT Problem
Java
87
star
5

rubyfish

RubyFish is a ruby port of python library jellyfish (http://github.com/sunlightlabs/jellyfish) for doing approximate and phonetic matching of strings
Ruby
66
star
6

anjlab-widgets

UI Widgets on top of anjlab-bootstrap-rails
CoffeeScript
54
star
7

inputs

HTML form inputs with pure CSS and a little bit JS magic.
CSS
48
star
8

yandex-disk

Ruby client for Yandex.Disk with backup gem support
Ruby
33
star
9

pushapp

pushapp
Ruby
32
star
10

sublime-text-git-autocommit

Enables auto-commit for selected Git repos (install Git plugin first)
Python
28
star
11

paranoid2

paranoid models for rails 4
Ruby
24
star
12

graphql_authorize

Authorization helpers for ruby-graphql fields
Ruby
24
star
13

bootstrap-glyphicons

bootstrap glyphicons
Ruby
22
star
14

eclipse-tapestry5-plugin

Eclipse Plugin for Tapestry5
Java
21
star
15

db-switch

Simple database connection switcher for Rails 5
Ruby
17
star
16

triggerable

Trigger/automation engine for ActiveRecord models
Ruby
17
star
17

uploads

simple uploads for rails
CoffeeScript
14
star
18

redmine_inline_note_images_plugin

Redmine plugin for inline note images display
Ruby
12
star
19

elk_rails_sample

A sample app demonstrating a usage of ELK logging stack for Rails apps
Ruby
12
star
20

jquery-infinite-scroll

JQuery plugin for ajax-enabled infinite page scroll
JavaScript
12
star
21

anjlab-tapestry-commons

Java
11
star
22

excel2csv-ruby

Wrapper around anjlab/excel2csv-java POI CLI
Ruby
10
star
23

logback-hipchat-appender

Logback Appender for HipChat
Java
9
star
24

ping-service

AnjLab Ping Service
Java
8
star
25

JJ

Super simple json parser for Swift
Swift
6
star
26

csv2db

csv2db command line tool
Java
6
star
27

excel2csv-java

Excel 2 CSV Command Line Tool
Java
6
star
28

techtalks

Jupyter Notebook
6
star
29

SafeURL

Swift safe NSURL Builder
Swift
6
star
30

gradle-sysdeo-tomcat-plugin

Gradle plugin for generating ".tomcatplugin" artifact for Sysdeo Eclipse Tomcat Launcher Plugin
Groovy
5
star
31

pusher.io

Socket.io for Rails
Ruby
4
star
32

devise_oauth

The OAuth 2.0 Authorization Framework draft-ietf-oauth-v2-28 implementation on top of devise.
Ruby
4
star
33

db2excel-java

Java
3
star
34

sunspot_offline

Offline extension for your Solr + Sidekiq setup
Ruby
3
star
35

mechanize_clip

mechanize url fetcher for paperclip
Ruby
3
star
36

bookmarklets

AnjLab Bookmarklets
JavaScript
3
star
37

cubics

anjlab cubics
Java
2
star
38

ssf4j

Simple Sorting Facade for Java (SSF4J)
1
star
39

msword-ruby

Ruby
1
star
40

smpp_encoding

GSM and UNICODE encoders for smpp-ruby gem
Ruby
1
star
41

db2excel-ruby

Ruby
1
star
42

SwiftlyNotice

Swift
1
star