O'Reilly logo

BlackBerry Java Application Development by Bill Foust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - calling a web service

  1. The first step is to get the CopyCat service working. This service is written in .NET and is built with Microsoft Visual Studio 2008 and can be found in the code bundle of this book. Not everyone will have access to this tool so feel free to create a web service using your favorite tool. The thing we are interested in at this point is a web method named CopyMe that accepts a string parameter named Value and returns a string. In fact, the implementation of CopyMe is exceedingly simple as it just returns the same string that was passed into it.
  2. As you actually need to send data to a server now, you need to start by adding an edit field to the application that prompts for the data to send. Add an EditField

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required