How to add SMS to inbox in android programmatically?

by sync qa3 » Sun, 15 Mar 2009 13:13:23 GMT


Sponsored Links
 test delete spam





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to realize TextView control has wordwrap functionallity.

Hi,
 I am a beginner of Android, I have a question need to resovlve.
String s = "aaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbb";

TextView textView = new TextView(this);
 textView.setText(s);

The above code only show part of  s on the screen in a line.
I wish the textview control can automatically wrap it in multiline.
how can I do it? thanks.

Bo

-- 

2. android.text.format.Time.parse3339

the following code:

        Time t = new Time("GMT");
        t.parse3339("2010-06-25T11:30:00-07:00");

produces the following error:

        android.util.TimeFormatException: Unexpected 0 at position 19.
Expected + or -

my understanding is that the format of the timestamp meets the
requirements:

        "2010-06-25T11:30:00-07:00"

any thoughts?  here are the results of some more investigation:

        Time t = new Time("GMT");
        t.parse3339("2010-06-25T11:30:00.000Z");                // works
        t.parse3339("2010-06-25T11:30:00.000-08:00");   // works
        t.parse3339("2010-06-25T11:30:00Z");                    // works
        t.parse3339("2010-06-25T11:30:00-08:00");               // BROKEN

it appears that the fractional sections are required when a timezone
offset is present.

i'm using android 2.1 (API 7).

-- 

3. How would I include non-class files in my apk?

4. How would I include non-class files in my apk?

5. Custom ListView complex item does not appear correctly

6. How would I include non-class files in my apk?

7. Ers(hare): touchwiz launcher galaxy s