Results 1 to 18 of 18

Thread: What Database can use in cellphone

  1. #1

    Thread Starter
    Addicted Member morkie's Avatar
    Join Date
    Jan 2009
    Location
    P4
    Posts
    202

    Resolved What Database can use in cellphone

    My classmate create a program using vb.net and
    they told me java is good to use in cellphone...

    My question is what is the good Database i can use in cellphone....
    Last edited by morkie; Sep 1st, 2009 at 09:28 AM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: What Database can use in cellphone

    Particularly if you're creating .NET apps for Windows Mobile, SQL Server CE is a good choice for a database. It integrates with VS so it's the easiest to work with and it's designed with mobile devices in mind.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: What Database can use in cellphone

    If using .Net then SQL CE
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  4. #4

    Thread Starter
    Addicted Member morkie's Avatar
    Join Date
    Jan 2009
    Location
    P4
    Posts
    202

    Re: What Database can use in cellphone

    what is SQL CE?


    and is .net can applied into mobile?, my classmate told me that we will convert it into java

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: What Database can use in cellphone

    Quote Originally Posted by morkie View Post
    what is SQL CE?
    What is Google?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Addicted Member morkie's Avatar
    Join Date
    Jan 2009
    Location
    P4
    Posts
    202

    Re: What Database can use in cellphone

    hahaha...

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What Database can use in cellphone

    Hey,

    SQL Server CE is SQL Server Compact Edition:

    http://www.microsoft.com/Sqlserver/2...s/compact.aspx

    Also, what sort of Mobile are you using?

    Maybe this thread should be moved to the Mobile Development Forum?

    Gary

  8. #8

    Thread Starter
    Addicted Member morkie's Avatar
    Join Date
    Jan 2009
    Location
    P4
    Posts
    202

    Re: What Database can use in cellphone

    so that's means SQL CE is the one the best i can use in windows mobile application....
    any other database can be consider it to mobile application....

  9. #9
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What Database can use in cellphone

    Hey,

    You could always have an Access Database, but I personally wouldn't recommend that approach.

    You could also just have an XML file.

    But personally, I would use a SQL Server Compact Edition Database. It gives you so many options, in terms of Merge Replication with a backend database etc.

    Gary

  10. #10
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: What Database can use in cellphone

    Quote Originally Posted by gep13 View Post
    Maybe this thread should be moved to the Mobile Development Forum?
    Indeed it should - thread moved.

    (thanks for letting us know )

  11. #11

    Thread Starter
    Addicted Member morkie's Avatar
    Join Date
    Jan 2009
    Location
    P4
    Posts
    202

    Re: What Database can use in cellphone

    sorry i post a wrong section....
    Anyway thanks for your help....

  12. #12
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: What Database can use in cellphone

    I've been kind of looking around the forums and the web. Is SQL Server CE usable as a local DB? I am trying to create a sports simulator and need a database for players, etc...

    And I can't seem to get a straight answer. So basically what I am asking for is this:

    Can a SQL Server CE DB be used as a local file on the mobile device and have vb.net access it?

  13. #13
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What Database can use in cellphone

    Short answer....

    Yes.

    Slightly longer answer...

    SQL Server Compact Edition creates an SDF file, which you will need to deploy to your mobile device, and from there you can access it.

    Gary

  14. #14
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: What Database can use in cellphone

    Awesome! Thanks. One other question... This SDF file can be accessed from VB.NET and it wont need a local SQL CE Server to be running on the device? It wouldn't need other dependencies?

  15. #15
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What Database can use in cellphone

    Hey,

    You don't get a SQL Server CE instance, there are only a couple DLL files that you need to deploy to the mobile device.

    Gary

  16. #16
    New Member
    Join Date
    Nov 2006
    Posts
    8

    Re: What Database can use in cellphone

    Cool. Thanks for the info and help.

  17. #17
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What Database can use in cellphone

    For more information, you might want to take a look at the following:

    http://www.christec.co.nz/blog/archives/253

    and here:

    http://channel9.msdn.com/posts/Steve...mpact-Edition/

    Gary

  18. #18
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: What Database can use in cellphone

    Quote Originally Posted by jdiperla View Post
    I've been kind of looking around the forums and the web. Is SQL Server CE usable as a local DB? I am trying to create a sports simulator and need a database for players, etc...

    And I can't seem to get a straight answer. So basically what I am asking for is this:

    Can a SQL Server CE DB be used as a local file on the mobile device and have vb.net access it?
    You probably should have read this thread before asking a question that's already been answered. From post #2:
    Quote Originally Posted by jmcilhinney
    Particularly if you're creating .NET apps for Windows Mobile, SQL Server CE is a good choice for a database.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width