Alphanumeric sender ID / message / inbox

by Quin » Mon, 07 Dec 2009 14:04:09 GMT


Sponsored Links
 Hi,

I'm wondering if there is anybody that knows why messages with an
alphanumeric sender ID shows up in the inbox as a separate thread/
conversation.

If i get a message from my work - let's say "Work", i get the a
separate conversation for each message with sender ID Work.

On windows mobile and iphone this issue is not present.

--



Other Threads

1. Strange GregorianCalendar Issue [only on Desire?]

Hello,

for one of my apps i need to create a list of months for which data is
available. I do this by polling the first date for which data is
available and then use a loop to increment the date until i reach the
present.

The code looks roughly like this:

        Date startDate = new Date(firstAvailableDate);
                if(DebugFlags.LOG_HELPERS)
                        Log.v("Creating MonthObjects - Startdate - " +
startDate.toGMTString());
        GregorianCalendar today = new GregorianCalendar();
        GregorianCalendar xCal = new GregorianCalendar();
        xCal.setTime(startDate);
        xCal.set(GregorianCalendar.DAY_OF_MONTH, resetDay);
        while(xCal.before(today))
        {
// Create new Object to save Data in
                MonthObject xObj = new MonthObject();
                xObj.setTimestamp(xCal.getTimeInMillis());
                xObj.setFromDate(xCal.getTime());
// Add 1 Month to xCal
                xCal.add(GregorianCalendar.MONTH, 1);
// Set Day to Day on which Statistics should reset
                xCal.set(GregorianCalendar.DAY_OF_MONTH, resetDay);
// Make sure it's Midnight
                xCal.set(Calendar.HOUR_OF_DAY, 0);
                xCal.set(Calendar.MINUTE, 0);
                xCal.set(Calendar.SECOND, 0);
                xCal.set(Calendar.MILLISECOND, 0);
// Save it in Object
                xObj.setToDate(xCal.getTime());
                xObj.setToTimestamp(xCal.getTimeInMillis());

                if(DebugFlags.LOG_HELPERS)
                        Log.v("Added MonthObject - " + 
xObj.fromDate.toGMTString() + "
to " + xObj.toDate.toGMTString());
// Add to Collection
                dates.add(xObj);
                xObj = null;
        }
        xCal = null;
        today = null;
        return dates;

This works fine in 99% of cases; however, on at least one HTC Desire
with Android 2.1 this leads to an infinite loop and the log looks like
this:

D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT
D/NetworkCheck( 2311): Added MonthObject - 30 Aug 2010 22:00:00 GMT to
30 Aug 2010 22:00:00 GMT

This is repeated until the app crashes. Also, GregorianCalendar seems
to ignore all attempts to change the date when used in another context
(also only on this one mobile).

Does anyone have a clue why this happens or what I'm doing wrong?

Thank you!

Andreas

-- 

2. copy area of bitmap to another

I would like to copy an area of a bitmap to another. I can write a
loop and copy the pixels with getpixel and setpixes one by one but
with a bitmap of 400x200 pixel it is kind of slow. Is there any faster
way?

-- 

3. Issue 82 or 2,5 years without Ad-hoc

4. CertPathValidatorException (TrustAnchor for CertPath not found)

5. How to save browser page content?

6. hey all.. i need Android Application developmers

7. Recover/retrieve deleted files