Adding Data to a ListView

by nbadal » Thu, 25 Jun 2009 01:37:02 GMT

Sponsored Links
 Is there any way to add data to a listview, outside of a cursor? In my
application, I have a SQL database that I use to store data for each
list entry, but one of the numbers I need to show is not directly
derived from the database, but is instead calculated from a number
from the database. (Database stores a date, but I want to show the
number of days until that date)
I know the formula to get this number, but how would I insert it into
the list without putting it into my SQL database?


Adding Data to a ListView

by nbadal » Thu, 25 Jun 2009 02:20:40 GMT

 Never mind, I hadn't realized I posted this to the android-developers
group at:

Sponsored Links

Other Threads

1. MMS Tidak bisa di Galaxy Spica


Agan2,, mohon pencerahanya, setiap kirim MMS ko mesti unable ya?
kartuku simpati dan di hp ku yg laen bisa, tapi di Spica selalu
gagal.. kenapa ya?

Terimakasih seblumnya..

"Indonesian Android Community [id-android]"

PING'S mobile
Email:  Ph. (021) 96087100
Yopie Ratjoen
Email:  Ph. 08977726681
Gila original
Email:  Ph. (031) 91555898

Aturan Jual/Kloteran ID-Android

2. Cannot automatically detect AP SSID on wifi restart

      I was trouble shooting an issue with android-2.2.1 and
wpa_supplicant-0.5.11 that comes with that project, where my wifi
module (Ralink RT3070STA USB) failed to reconnect after turning on and
off the wifi interface from the settings control panel.

I managed to get past the wifi restart issue by reverting back to
using wpa_supplicant-0.5.10 from the android-1.5r3 project. This did
not requires the implementation of the android specific commands or
the use of driver_awext. The Ralink RT3070 wifi module used to work
fine with android-1.5r3.

Anyway, I managed to get wpa_supplicant-0.5.10 working with

Now the thing is on first AP scan, it finds the AP SSID, and I'm able
to connect and browse the internet. However, for the second scan, the
AP name doesn't get displayed. If I manually enter the SSID name, it
immediately connects and is able to get an IP address and the wifi
network works fine.

How I can troubleshoot this SSID detection problem or what might be
causing the problem when restarting the wifi interface?

Best regards,

Elvis Dowson


3. view overlap

4. Initial Screen Orientation

5. Developing custom component for android, example - CustomSpinner

6. Install a certificate on Android 1.5

7. Custom Navigator app questions