Sms sending App (app to write and send sms in all intercepting all out going sms)

by Seer » Fri, 13 Mar 2009 05:03:39 GMT


Sponsored Links
 Hi,
I posted before about wanting to intercept out going sms and
redirecting them but no one seemed to know a way to do this apart from
writing my own app to be used to write the sms's on the phone in the
first place.  So my question is there an open source app out there for
writing and sending sms's that i could just modify as i don't want to
re-invent the wheel and i would prefer not to have to built all the
functionality to look up contacts etc etc.

All i want to do is offer the user a choice of sending all sms's over
the web or the mobile network.  I would have preferred to let them use
their own sms clients but it seems like that is not possible :(

any tips would be great


Chris
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Toggle Buttons: Initial state? Three states? How do I do it? :(

Hey guys,

First off - thanks to all of you experienced engineers helping us
n00bs. Your feedback has been invaluable to me learning the Android
platform.

What I am trying to do: Have a button blank when the user enters into
a layout. When they touch the button I'd like it to change ON/OFF to
"Blue" or "Red". I've got the ON/OFF state working, but I need to
figure out how to add a third state.

The issue at hand: How do I add three states to a toggle button? I've
spent a week attempting to figure it out and am at a loss. The
tutorials say use toggle() or state(false) / (true) but I've been able
to figure out what exactly I'm doing. I've love to handle this in xml
and leave java for recording values.

Here's my xml setup -

Main layout:
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/bg_tes2" >

      <ImageButton
    android:id="@+id/android_button2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_x="123px"
        android:layout_y="127px"
    android:background="@drawable/my_button2"/>

     <ToggleButton android:id="@+id/toggle_button"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textOn="Red"
    android:textOff="Blue"
    android:layout_x="160px"
        android:layout_y="58px"
    android:background="@drawable/my_button"/>

     <ToggleButton android:id="@+id/toggle_button"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textOn="Red"
    android:textOff="Blue"
    android:layout_x="84px"
        android:layout_y="59px"
    android:background="@drawable/my_button"/>

      <RadioButton android:id="@+id/radio_blue"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Blue"/>

</AbsoluteLayout>

@drawable/my_button

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="true" android:state_pressed="false"
android:drawable="@drawable/wat3" />
    <item android:state_focused="true" android:state_pressed="true"
android:drawable="@drawable/wat3" />
    <item android:state_focused="false" android:state_pressed="false"
android:drawable="@drawable/wat" />
    <item android:state_focused="false" android:state_pressed="true"
android:drawable="@drawable/wat2" />
</selector>



thanks for the help!
--~--~---------~--~----~------------~-------~--~----~

2. Sqlite open error : unable to open database file

Many of my application users are getting this error. There is no
reason in the code that leads to this. For the background,  I had
released the application with copy protection on and then next day i
had switched it off as people with dev phones are unable to download
the app. Any solution for this problem? Can anyway I can help the app
users to retrieve their data?


android.database.sqlite.SQLiteException: unable to open database file
at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:
1421)
at android.database.sqlite.SQLiteDatabase.openDatabase
(SQLiteDatabase.java:537)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase
(SQLiteDatabase.java:558)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase
(SQLiteDatabase.java:551)
at android.app.ApplicationContext.openOrCreateDatabase
(ApplicationContext.java:427)
at android.content.ContextWrapper.openOrCreateDatabase
(ContextWrapper.java:181)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase
(SQLiteOpenHelper.java:98)
at com.myactivity.backend.myactivityDBAdapter.open
(myactivityDBAdapter.java:408)
at com.myactivity.views.myactivityMain.onCreate(myactivityMain.java:
233)
at android.app.Instrumentation.callActivityOnCreate
(Instrumentation.java:1122)
at android.app.ActivityThread.performLaunchActivity
(ActivityThread.java:2104)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2157)
at android.app.ActivityThread.access$1800(ActivityThread.java:112)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
1581)
at android.os.Handler.dispatchMessage(Handler.java:88)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3739)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
at dalvik.system.NativeStart.main(Native Method)
--~--~---------~--~----~------------~-------~--~----~

3. Validating view components at compile time

4. Can I put something into the ScrollView of WebView?

5. Adding onClickListener and OnTouchListener to a Button

6. xml view defination to take event handler class name

7. Using AbsolluteLayout even though it is deprecated