Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Android app

Android app

Scheduled Pinned Locked Moved Android
androidsqlitehelptutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 11154157
    wrote on last edited by
    #1

    How to create a connection with sqlite manager in eclipse? Any one can Help me please..

    L D U 3 Replies Last reply
    0
    • U User 11154157

      How to create a connection with sqlite manager in eclipse? Any one can Help me please..

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See Handling Input and Storage on Android[^].

      1 Reply Last reply
      0
      • U User 11154157

        How to create a connection with sqlite manager in eclipse? Any one can Help me please..

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        See here.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        1 Reply Last reply
        0
        • U User 11154157

          How to create a connection with sqlite manager in eclipse? Any one can Help me please..

          U Offline
          U Offline
          User 12146823
          wrote on last edited by
          #4

          A step-by-step guide: 1. Download the SQLite drivers (zip file). Expand the zip somewhere locally and note the location. 2. Put the sqlite_jni.dll from the zip into your JRE's bin directory. 3. In Eclipse with DTP 1.0 installed (preferably the final build or a nightly build dated 110806 or later), go to the Preferences (Window->Preferences) and select the Connectivity->Driver Definitions page. 4. Select the "Generic JDBC" category in the Available Driver Definitions tree and click "Add...". 5. Select "Generic JDBC Driver->Generic JDBC Driver" in the Available Driver Templates tree. Give the new generic JDBC driver a name like "javasqlite JDBC driver". Click OK. 6. Click "Add Jar/Zip" and select the sqlite.jar from the driver zip you expanded in step 1. Click Open. 7. In the Properties table, select the Driver Class property and click the "..." button. If the jar is accessible, you will see a dialog appear with at lease one class in the list. Select "SQLite.JDBCDriver". Click OK. 8. Also in the Properties table, select the Driver URL property and type the following: jdbc:sqlite:/DRIVE:/dirA/dirB/dbfile. 9. Click OK on the Edit Driver Definition dialog. You should see your new driver appear in the driver list on the Driver Definitions preference page. 10. Click OK to close the Preferences dialog. 11. If the Data Source Explorer is not open, open the Connectivity->Data Source Explorer view from the Window->Show View menu or open the Database Development perspective from the Window->Open Perspective. 12. In the Data Source Explorer, right-click on the Databases category and select New. 13. In the New Connection Profile wizard's Wizard Selection Page, choose the SQL Model-JDBC Connection entry in the list and click Next. 14. Give your new profile a name like "SQLiteTestDB". Click Next. 15. In the "Select a driver from the drop-down" combo box, select your new SQLite driver definition. Modify the file path in the sample URL to match the path to your local SQLite database. 16. Click "Test Connection" to verify you can connect to your database. 17. Click Finish to create the profile. 18. In the Data Source Explorer, right-click on the new profile and select Connect. You should see content appear in the tree beneath the profile. Browse through your database to view available tables and their columns. You also read more about the best practice of mobile app development on Android from Iflexion company.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups