Thanks for you help Mark.

I am not so proficient in this kind of development but i am trying to
explore the area.
I installed a modular web server system based on Apache, MySql and PHP
and on this server i will create the database and tables but then from
my android application i would need to access this database simply by
making some programmatically constructed queries. For some reason i
think it would be better if i had to communicate using XML since it
rings a better bell to me ;). Do you have any idea from where i can
maybe get hold of a sample application which uses this type of
communication?

Thanks mate :)

On Sep 20, 11:29 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Hans wrote:
> > Do you know from where i would be able to get some sample code of how
> > to communicate to a MySQL service running on an apache2 web server?
>
> That would depend completely on how, exactly, you are exposing your
> MySQL data via Apache.
>
> If you are publishing XML, Android offers DOM, SAX, and XML pull parsers.
>
> If you are publishing JSON, Android offers the org.json parser.
>
> I would focus first on how you want to create your Web service, then
> find appropriate Java code (built into Android or from a third-party
> JAR) that serves as a client for that protocol.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to