• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Writing to database

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an external Sql database which I need to send data to from an app I'm making. All tutorials I've found use php + mysql, which I'm not familiar with. I assume it is possible, however I need some help getting started. Cheers
 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use Webservices.
Android has classes for Post and Get request.
Let me give you some idea..

http://10.0.0.23/login.jsp?username=xyz&password=xyz

This will send data to your server.Handle it your way from server side.
 
Andy Joness
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I figured it out yesterday. I wrote a web service using .net and I've connected to it using the ksoap package in Android. I then pass in some arguments which form the query and then write to database. Once I realised I had to set the service up as an application with IIS it was all working fine.
 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi andy,

can you please tell how did you consume webservices which are in.NET.
how about sharing some tutorials if any?
evn im trying to develop an app which wants to write into the database
 
reply
    Bookmark Topic Watch Topic
  • New Topic