Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Application & Data base

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Application & Data base

    I'm new in the android development, I will like to do an application that is linked to a data base. How can I do this connection between my application code and the data base? where can I store the data base so I don't have to access internet for the application to run?
    All help will be welcome
    Thanks


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Application & Data base

    Quote Originally Posted by chinchilla View Post
    ...I will like to do an application that is linked to a data base. How can I do this connection between my application code and the data base?
    Use your favorite search engine and "Content Provider"

    Quote Originally Posted by chinchilla View Post
    where can I store the data base so I don't have to access internet for the application to run?
    You can use "internal" phone storage and/or the removable memory (if available). There should be more information about storage available when you search content provider.

  3. The Following User Says Thank You to jps For This Useful Post:

    chinchilla (April 27th, 2013)

  4. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Application & Data base

    Thanks jps! I will try it to see how it works!

  5. #4

    Default Re: Application & Data base

    Here, i am sharing one tutorial link. You can use it to understand how to connect android code with a database:
    Android SQLite Database Tutorial
    Hope this helps.

  6. #5
    Junior Member
    Join Date
    Apr 2013
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Application & Data base

    Quote Originally Posted by annaharris View Post
    Here, i am sharing one tutorial link. You can use it to understand how to connect android code with a database:
    Android SQLite Database Tutorial
    Hope this helps.
    Thank you annaharris!, it looks exactly as what I was looking to apply it to my project.

    Thank you for sharing it with me and the forum!

  7. #6

    Default Re: Application & Data base

    It's my pleasure.

Similar Threads

  1. Replies: 1
    Last Post: April 9th, 2012, 05:13 PM
  2. [SOLVED] Extracting data from data base (yes)
    By bobbyk in forum Collections and Generics
    Replies: 1
    Last Post: March 13th, 2012, 07:07 AM