Cursor c.isFirst() returns false always ?

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Cursor c.isFirst() returns false always ?

Postby sheshi85 » Wed Jun 10, 2009 11:21 am

Code: Select all
An established connection was aborted by the software in your host machine
java.io.IOException: An established connection was aborted by the software in your host machine
   at sun.nio.ch.SocketDispatcher.write0(Native Method)
   at sun.nio.ch.SocketDispatcher.write(Unknown Source)
   at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
   at sun.nio.ch.IOUtil.write(Unknown Source)
   at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
   at com.android.ddmlib.JdwpPacket.writeAndConsume(Unknown Source)
   at com.android.ddmlib.Client.sendAndConsume(Unknown Source)
   at com.android.ddmlib.HandleHeap.sendREAQ(Unknown Source)
   at com.android.ddmlib.Client.requestAllocationStatus(Unknown Source)
   at com.android.ddmlib.DeviceMonitor.createClient(Unknown Source)
   at com.android.ddmlib.DeviceMonitor.openClient(Unknown Source)
   at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(Unknown Source)
   at com.android.ddmlib.DeviceMonitor.access$1(Unknown Source)
   at com.android.ddmlib.DeviceMonitor$2.run(Unknown Source)
sheshi85
Junior Developer
Junior Developer
 
Posts: 15
Joined: Mon Jun 08, 2009 11:17 am

Top

got a method for it

Postby sheshi85 » Thu Jun 18, 2009 11:29 am

i used Cursor c.moveToPosition(0)and it started working.

.
sheshi85
Junior Developer
Junior Developer
 
Posts: 15
Joined: Mon Jun 08, 2009 11:17 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 5 guests