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

Search results

  1. R

    Apps sqlite3 .import

    Having some problems: 1. Create 2 row ASCII text file as "testfile" abc, def, ghi jkl, mno, pqr push it to emulator database directory. go into adb shell, navigate to databases directory and "cat" it. PROBLEM ONE: I only see the last row, eg jkl, mno, pqr 2. create table "testtable" and run...
  2. R

    Apps Problems with Databae

    Ok, I can open my database without error, but when I try the following, I get a "The local variable cur may not have been initialized" error on "cur" on line 2 Cursor cur; int row_count = cur.getCount(); Toast.makeText(this, row_count, 2000).show(); Any ideas? :) Thanks
  3. R

    Apps Displaying Some Text

    I have an app that has an EditText box and an "Ok" button. When they click Ok, the text shows up, but on a new page. I wanted to see it below the ok button. Here is the code: public class App2 extends Activity { /** Called when the activity is first created. */ @Override...