• Stars
    star
    115
  • Rank 297,019 (Top 6 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 10 years ago
  • Updated over 7 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,188
star
2

bootstrap-rails

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

sat3

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

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
5

anjlab-widgets

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

inputs

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

yandex-disk

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

pushapp

pushapp
Ruby
32
star
9

sublime-text-git-autocommit

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

paranoid2

paranoid models for rails 4
Ruby
24
star
11

graphql_authorize

Authorization helpers for ruby-graphql fields
Ruby
24
star
12

bootstrap-glyphicons

bootstrap glyphicons
Ruby
22
star
13

eclipse-tapestry5-plugin

Eclipse Plugin for Tapestry5
Java
21
star
14

db-switch

Simple database connection switcher for Rails 5
Ruby
17
star
15

triggerable

Trigger/automation engine for ActiveRecord models
Ruby
17
star
16

uploads

simple uploads for rails
CoffeeScript
14
star
17

redmine_inline_note_images_plugin

Redmine plugin for inline note images display
Ruby
12
star
18

elk_rails_sample

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

jquery-infinite-scroll

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

anjlab-tapestry-commons

Java
11
star
21

excel2csv-ruby

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

logback-hipchat-appender

Logback Appender for HipChat
Java
9
star
23

ping-service

AnjLab Ping Service
Java
8
star
24

JJ

Super simple json parser for Swift
Swift
6
star
25

csv2db

csv2db command line tool
Java
6
star
26

excel2csv-java

Excel 2 CSV Command Line Tool
Java
6
star
27

techtalks

Jupyter Notebook
6
star
28

SafeURL

Swift safe NSURL Builder
Swift
6
star
29

gradle-sysdeo-tomcat-plugin

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

pusher.io

Socket.io for Rails
Ruby
4
star
31

devise_oauth

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

sunspot_offline

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

db2excel-java

Java
3
star
34

mechanize_clip

mechanize url fetcher for paperclip
Ruby
3
star
35

bookmarklets

AnjLab Bookmarklets
JavaScript
3
star
36

cubics

anjlab cubics
Java
2
star
37

ssf4j

Simple Sorting Facade for Java (SSF4J)
1
star
38

msword-ruby

Ruby
1
star
39

smpp_encoding

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

db2excel-ruby

Ruby
1
star
41

SwiftlyNotice

Swift
1
star