Skip to content

Commit

Permalink
Long sms support 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
herrlado committed Jan 27, 2011
1 parent a5a7754 commit f868cbe
Show file tree
Hide file tree
Showing 13 changed files with 557 additions and 379 deletions.
4 changes: 2 additions & 2 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="ub0rlib"/>
<classpathentry kind="src" path="websmsAPI"/>
<classpathentry kind="src" path="ub0rlib_src"/>
<classpathentry kind="src" path="websmsAPI_src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
8 changes: 4 additions & 4 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
</natures>
<linkedResources>
<link>
<name>ub0rlib</name>
<name>ub0rlib_src</name>
<type>2</type>
<locationURI>_android_ub0rlib/src</locationURI>
<locationURI>_android_ub0rlib_d74dde96/src</locationURI>
</link>
<link>
<name>websmsAPI</name>
<name>websmsAPI_src</name>
<type>2</type>
<locationURI>_android_websmsAPI/src</locationURI>
<locationURI>_android_websmsAPI_f23b9255/src</locationURI>
</link>
</linkedResources>
</projectDescription>
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
not, see <http://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionName="1.0" android:versionCode="10" package="org.herrlado.websms.connector.mycoolsms">
android:versionName="1.3" android:versionCode="13" package="org.herrlado.websms.connector.mycoolsms">
<application android:label="@string/app_name" android:icon="@drawable/icon"
android:debuggable="false">

Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="websms-connector-myphone.ge">
<project name="Connector-my-cool-sms.com">

<!-- The local.properties file is created and updated by the 'android' tool.
It contains the path to the SDK. It should *NOT* be checked in in Version
Expand Down
4 changes: 2 additions & 2 deletions default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Indicates whether an apk should be generated for each density.
split.density=false
android.library.reference.1=../ub0rlib/
android.library.reference.2=../websmsAPI/
# Project target.
target=android-7
android.library.reference.1=../ub0rlib/
android.library.reference.2=../websmsAPI/
220 changes: 159 additions & 61 deletions gen/org/herrlado/websms/connector/mycoolsms/R.java

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions res/values-de/connector_mycoolsms_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@



<string name="error_long_for_ucs2">Die Nachricht ist zu lang. Erlaubt sind 70 Zeichen(ucs2).</string>
<string name="error_long_for_gsm">Die Nachricht ist zu lang. Erlaubt sind 160 Zeichen(gsm).</string>
<string name="error_long_for_ucs2">Die Nachricht ist zu lang. Erlaubt sind 70 Zeichen(ucs2). Eventuell Langen Text aufteilen Option aktivieren!</string>
<string name="error_long_for_gsm">Die Nachricht ist zu lang. Erlaubt sind 160 Zeichen(gsm). Eventuell Langen Text aufteilen Option aktivieren!</string>
<string name="contact_dev_on_error">Ein Fehler ist aufgetreten. Bitte, den Entwickle kontaktieren!</string>
<string name="enable_chain_sms">Langen Text aufteilen.</string>
<string name="enable_chain_sms_hint">Es werden die Teile mit der Länge 70 (ucs2) bzw. 160 (gsm) verschickt. Bitte guthaben beachten!</string>
</resources>
1 change: 1 addition & 0 deletions res/values-ka/connector_mycoolsms_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@

<string name="error_long_for_ucs2">შეტყობინება დაშვებულზე უფრო გრძელია. მაქსიმალური სიგრძე შეადგენს 70 სიმბოლოს(ucs2).</string>
<string name="error_long_for_gsm">შეტყობინება დაშვებულზე უფრო გრძელია. მაქსიმალური სიგრძე შეადგენს 160 სიმბოლოს(gsm).</string>
<string name="contact_dev_on_error">შეცდომა! დაუკავშირდი პროგრამისტს!</string>
</resources>
22 changes: 16 additions & 6 deletions res/values/connector_mycoolsms_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@
<string name="connector_name">my-cool-sms.com</string>
<string name="connector_preferences">Preferences - my-cool-sms.com</string>
<string name="enable_mycoolsms">Enable my-cool-sms.com</string>
<string name="mycoolsms_hint">Create new my-cool-sms.com account</string>
<string name="mycoolsms_url">https://www.my-cool-sms.com/signup.php</string>


<string name="mycoolsms_title">https://my-cool-sms.com</string>
<string name="mycoolsms_url">https://www.my-cool-sms.com/mobile/index.php?ref=websms</string>

<string name="mycoolsms_charge_url">https://www.my-cool-sms.com/mobile/index.php?link_id=select-credit&amp;set-username=&amp;account-exists=1&amp;ref=websms</string>
<string name="charge_account_">Charge your credit</string>

<string name="mycoolsms_create_account_url">https://www.my-cool-sms.com/mobile/index.php?link_id=select-credit&amp;account-exists=0&amp;ref=websms</string>
<string name="mycoolsms_create_account_">Create a new account</string>



<string name="show_sms_amount">Show free sms amount</string>
<string name="show_sms_amount_hint">Show sms amount, rather than amount of money.</string>

Expand All @@ -47,8 +56,9 @@
<string name="http_error_balance_007">Internal Error</string>
<string name="http_error_balance_008">Mandatory parameters missing</string>
<string name="http_error_balance_010">API feature disabled in this account</string>
<string name="error_long_for_ucs2">The message is too long. Allowed are 70 chars(ucs2).</string>
<string name="error_long_for_gsm">The message is too long. Allowed are 160 chars(gsm).</string>

<string name="error_long_for_ucs2">The message is too long. Allowed are 70 chars(ucs2). Consider enabling Splitting long messages!</string>
<string name="error_long_for_gsm">The message is too long. Allowed are 160 chars(gsm). Consider enabling Splitting long messages!</string>
<string name="enable_chain_sms">Split long messages</string>
<string name="enable_chain_sms_hint">If the text is longer then allowed, it will be sent splitted.</string>

</resources>
3 changes: 2 additions & 1 deletion res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@
<string name="sendlog_run">SendLog will collect the device log and send it to the developer.\nYou will have an opportunity to review and modify the data being sent.</string>
<string name="sendlog_install_">Install SendLog</string>
<string name="sendlog_install">Install the free SendLog application to collect the device log and send it to the developer.</string>
</resources>
<string name="contact_dev_on_error">An error is occurred. Please contact the developer!</string>
</resources>
23 changes: 21 additions & 2 deletions res/xml/connector_mycoolsms_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,29 @@
android:inputType="phone" android:title="@string/custom_sender_"
android:dialogTitle="@string/custom_sender_" android:summary="@string/sender_hint"
android:dependency="use_default_sender" />

<CheckBoxPreference android:key="enable_chain_sms"
android:defaultValue="false" android:title="@string/enable_chain_sms"
android:inputType="text" android:dependency="enable_mycoolsms"
android:summary="@string/enable_chain_sms_hint"
android:disableDependentsState="true" />

<PreferenceScreen android:title="@string/create_account_"
android:summary="@string/mycoolsms_hint">
<PreferenceScreen android:title="@string/mycoolsms_title">
<intent android:action="android.intent.action.VIEW"
android:data="@string/mycoolsms_url" />
</PreferenceScreen>

<PreferenceScreen android:title="@string/charge_account_">
<intent android:action="android.intent.action.VIEW"
android:data="@string/mycoolsms_charge_url" />
</PreferenceScreen>

<PreferenceScreen android:title="@string/mycoolsms_create_account_">
<intent android:action="android.intent.action.VIEW"
android:data="@string/mycoolsms_create_account_url" />
</PreferenceScreen>




</PreferenceScreen>
Loading

0 comments on commit f868cbe

Please sign in to comment.