1. Download our Official Android App: Forums for Android!

Apps Connecting Android to an offline SQL Database

Discussion in 'Android Development' started by lightmas, Dec 12, 2011.

  1. lightmas

    lightmas Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Dec 12, 2011

    Dec 12, 2011
    1
    0
    5
    Hi all

    I am very new to Android development, this is my first app :)


    I am trying to connect my Android app (developing in Eclipse) to an SQL database which is placed on a local server (WAMP) but I am having a few problems (it will eventually nee to be on-line). I have followed a few tutorials online but kind of got stuck and am not sure whats going wrong.

    I have the .php to the SQL working, its just the .php to the app :) The problem with this I am having is that when I run the project, all thats displayed is the URL of the php page and as I am so new to Android development its hard to know whats going on. Any advice would be appreciated. I have done plenty of Googleing!!

    This is my Java code, if you need anything else just ask. I also have another version which just crashes onload.

    Thanks

    lightmas
     

    Advertisement

Share This Page

Loading...