Re: [android-developers] what is the source version at the source.android.com website?

2010-12-13 Thread Julie Andrews
On Mon, Dec 13, 2010 at 12:24 PM, goodwin weigoodw...@gmail.com wrote:

 I use git clone the IM application from the source website.  many errors in
 source code. many obect methods are not in the sdk of above 1.5.

 for example Cursor
 Cursor c = mContentResolver.query(mMessageURI, projection, selection,
 new String[]{Integer.toString(Imps.MessageType.POSTPONED)},
 null);
 if (c == null) {
 Log.e(TAG, Query error while querying postponed messages);
 return;
 }

 while (c.moveToNext()) {
 String body = c.getString(1);
 mAdaptee.sendMessageAsync(new Message(body));

 c.updateLong(2, System.currentTimeMillis());
 c.updateInt(3, Imps.MessageType.OUTGOING);
 }
 c.commitUpdates();
 c.close();

 there are no Cursor.updateLong()  updateInt   commitUpdates . what is the
 version?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Julie
http://www.sirsainfo.in/ http://t
http://tradinglogically.blogspot.com http://tradinglogically.blogspot.com
http://vikitionary.blogspot.com
http://gandhi-the-man-of-millenium.blogspot.com/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] what is the source version at the source.android.com website?

2010-12-12 Thread goodwin
I use git clone the IM application from the source website. many errors
in source code. many obect methods are not in the sdk of above 1.5.




for example Cursor
Cursor c = mContentResolver.query(mMessageURI, projection, selection,
new String[]{Integer.toString(Imps.MessageType.POSTPONED)}, null);
if (c == null) {
Log.e(TAG, Query error while querying postponed messages);
return;
}


while (c.moveToNext()) {
String body = c.getString(1);
mAdaptee.sendMessageAsync(new Message(body));


c.updateLong(2, System.currentTimeMillis());
c.updateInt(3, Imps.MessageType.OUTGOING);
}
c.commitUpdates();
c.close();


there are no Cursor.updateLong() updateInt commitUpdates . what is the
version?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en