• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. C

    Apps SimpleDateFormat

    hey, im trying to parse a datetime... and im having a lot of trouble. The code i have is pretty simple, just trying to parse a string in to a Date object. In this code, the 'datetime' variable is "01-13-2010 21:56". After the df.parse(datetime) line, the date is "Sat Jan 01 21:56:00...
  2. C

    Apps listview onclick question

    hey, I have populated my list using a SimpleCursorAdapter with info from my sqlite database; SimpleCursorAdapter sca = new SimpleCursorAdapter(this, R.layout.row, c, from, to); setListAdapter(sca); This successfully populates my views in the row.xml with the fields i get from the...
  3. C

    Apps android copy of sqlite db?

    hey, I am using the following code to obtain info from my db; int name1Idx = c.getColumnIndex("Name1"); int name2Idx = c.getColumnIndex("Name2"); Now, i am packaging a database in my assets folder which have these columns in, however it did not used to. When my program starts , for now i...
  4. C

    Apps debugging source not found!?

    hey i having a problem but it might just be because im used to visual studio and not eclipse.... When stepping over my code in debug, the following method causes a screen to come up saying "source not found" and no helpful debug information about what the actual problem is! The method is...
  5. C

    Apps SQLite records pre defined

    hi, I've been reading a bunch of tutorials explaining how to create your SQLite database if it isn't already there, and adding records to it etc. What im looking for is how to have records already in the database when it is installed? if anyone could point me in the direction of a tutorial...