Skip to content

Instantly share code, notes, and snippets.

{
"_id": "29f9ea9dd74edf1d6b72f6ad7715fd2e",
"type": "market",
"name": "Local Test Market",
"url": "http://localhost:5984/market/_design/market/_rewrite/"
}
@mandric
mandric / gist:9606333
Last active August 29, 2015 13:57
SMSSync Issues
  • Saving return code from SMS API call and passing back into kujua medic/cht-core#423

  • Feasibility of delivery receipts ushahidi/SMSSync#11

  • Integrating SMS portals to bypass SMS 100 msgs/hour limit on android https://github.com/vaneyck/sms-portals

  • Get our SMSSync branch fixed up in a way so that it can be merged. And we don't have to maintain our own branch. We might have to work with Ushahidi to create an API for SMSSync to send updates back to a server. HTTP callbacks migh work here but needs to be modified to pass in data from the Android API to know return value of API calls.

Intro

This document expands on some of the technical details of SMSSync Issue 11 and proposes a solution for communicating results of outgoing SMS messages processsed by SMSSync.

SMSSync has a basic HTTP client in MainHttpClient.java it should suffice for the purposes of this feature.

Prerequisites

Is your phone rooted? I wonder what the value is on your phone for these settings?

sqlite3 /data/data/com.android.providers.settings/databases/settings.db Selet * from gservices where name = 'sms_outgoing_check_max_count';

http://forum.xda-developers.com/showthread.php?p=5519546

SMS Portals project that can be integrated with SMSSync: https://github.com/vaneyck/sms-portals

The idea is that SMSSync has a setting to enable SMS Portals and when the portals are installed it uses them/cycles between them. Each portal has the 100/150 sms/hr limit so to get around it we install multiple portals that are registered as separate apps by Android.

Intro

This document expands on some of the technical details of SMSSync Issue 120 and proposes a solution for managing result data of outgoing SMS messages sent by SMSSync.

Settings

No new settings should be required for this feature.

#!/usr/bin/env bash
EXTS_PICS_RE='(\.png$|\.jpg$|\.jpeg$)'
EXTS_VIDS_RE='(\.mp4$|\.mov$|\.mpg$|\.m4v$)'
EXTS_AUDIO_RE='(\.mp3$|\.opus$|\.m4a$)'
ALBUM_SUBTITLE="${ALBUM_SUBTITLE-`date '+%B %Y'`}"
ALBUM_SORT="${ALBUM_SORT-sort}"
ALBUM_POSTER_WIDTH=${ALBUM_POSTER_WIDTH-640}
ALBUM_TITLE="${ALBUM_TITLE-`basename "$PWD"`}"
#!/bin/sh
#
# Do bulk edit request.
#
SELF=`basename $0`
COUCH_URL=${COUCH_URL-http://admin:secret@localhost:5988}
DOCS="$1"
if [ -z "$DOCS" ]; then
@mandric
mandric / TestcrosswalkActivity.java
Created October 14, 2016 02:14
Trying to get chromium command line switches to work with crosswalk-21.51.546.6
// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.medicmobile.testcrosswalk;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
Verifying my Blockstack ID is secured with the address 17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777 https://explorer.blockstack.org/address/17VfKHLgWyeiWpRpmSBaZiSLvrdcBS2777
@mandric
mandric / heartbeat-css-animation.markdown
Last active February 12, 2023 20:04
Heartbeat css animation