aspose file tools*
The moose likes Android and the fly likes Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Web Services" Watch "Web Services" New topic
Author

Web Services

Manassés Souza
Greenhorn

Joined: Jan 05, 2009
Posts: 9

Hello Damon and Sébastien

Thanks for your investment on the Android Plataform! I'm a Java developer, Android fan and starter.

I want to know if the book coverage some Web Services concepts for application development or Android related frameworks. I read some about KSOAP for this...

Best regards!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39537
    
  27
If you had followed the link to the book's Amazon page, you would have discovered quickly that the book does not cover native Android programming at all. It is about optimizing web sites for displaying/running on Android.


Ping & DNS - updated with new look and Ping home screen widget
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
Ulf Dittmer wrote:If you had followed the link to the book's Amazon page, you would have discovered quickly that the book does not cover native Android programming at all. It is about optimizing web sites for displaying/running on Android.


That's odd. AfterI read the listing on Amazon, it seems to me that the book is about writing Android apps using HTML, CSS, and JavaScript. Real apps that access the Android APIs and don't require a web site to operate.

Burk


SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39537
    
  27
Well, it does mention the PhoneGap library, which looks like a bridge into native Android code and/or functionality. The rest sounds like web apps to me; I'm sure the authors can provide clarification :-)
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369

Manassés Souza wrote:
...
I want to know if the book coverage some Web Services concepts for application development or Android related frameworks. I read some about KSOAP for this...

Best regards!

Webservices form a different specification; creating one would be a J2EE exercise.

However, you generally and mostly consume such WebServices from the phone and there are some approaches you can try.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Sebastien Blanc
author
Ranch Hand

Joined: Nov 18, 2004
Posts: 33
Creating webservices is indeed of the topic of this book, but consuming webservices (REST based) directly from your javascript code is covered and explained.

Sebastien Blanc
Pro Android Web Apps: Developing HTML5, JavaScript, CSS, and Chrome OS Web Apps
Damon Oehlman
author
Greenhorn

Joined: Jan 26, 2011
Posts: 23
Hey Guys,

I will try and add some clarification to for this thread. As Ulf (and Burk) point out the book is focused primarily on creating applications using HTML, CSS and Javascript. This is somewhat of a different approach to what most people in this forum may be used to but it certainly has some merits (which are being nicely discussed in other threads on the forum).

As for whether we cover consuming a SOAP webservice, no we don't and the resources Monu points to would be a good starting place if you are looking to do this from a native Android application.

The book certainly has more than one example of consuming RESTful (and RESTlike) webservices which is probably more common from Javascript code, but as this thread on stack overflow points out it is possible to consume SOAP webservices from Javascript also.

Cheers,
Damon.


Damon Oehlman
@DamonOehlman - Web - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services
 
Similar Threads
Sending and recieving files to remote database
Android Gingerbread & Salesforce Apex
Reg: SOAP communication
what'e the relationship between SOAP and kSOAP2
How to implement ksoap webservices in Android Emulator?