how to get particular message?
i am new to android.

i am developing one application related messages.

I am getting all sent messages by using the fallowing code.

c = getContentResolver().query(SMS_SENT, null, null, null, null);
        startManagingCursor(c);
       
       if(c!=null)
       {
    	 
    	 
        	 String columns ="body";
             String columns1 = "address";
        	SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this,
    	            R.layout.main2,
    	            c, // Give the cursor to the list adapter
    	          new String[] {columns1,columns}, // Map the column in the
    	            // employee database to...
    	        new int[] {
    	        		R.id.textView2, R.id.textView4}); // The view defined in the XML template
    	            ListView empListView = (ListView)findViewById(R.id.listView1);
    	            empListView.setAdapter(adapter2);
    	            
    	          
        }
it is working fine.

by using the above i am getting all sent messages.

but i want to get messages form  2 nd message .

if any one know the solution please help me.

Thanks in andvance.



how to get particular message?
===

i am new to android.

i am developing one application related messages.

I am getting all sent messages by using the fallowing code.

c = getContentResolver().query(SMS_SENT, null, null, null, null);
        startManagingCursor(c);
       
       if(c!=null)
       {
    	 
    	 
        	 String columns ="body";
             String columns1 = "address";
        	SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this,
    	            R.layout.main2,
    	            c, // Give the cursor to the list adapter
    	          new String[] {columns1,columns}, // Map the column in the
    	            // employee database to...
    	        new int[] {
    	        		R.id.textView2, R.id.textView4}); // The view defined in the XML template
    	            ListView empListView = (ListView)findViewById(R.id.listView1);
    	            empListView.setAdapter(adapter2);
    	            
    	          
        }
it is working fine.

by using the above i am getting all sent messages.

but i want to get messages form  2 nd message .

if any one know the solution please help me.

Thanks in andvance.


