Android Programming Tutorials

(Romina) #1

TUTORIAL 19


Your Friends Seem Remote


In the previous example, we implemented the friends timeline via a local


service. Now, let us re-implement this as a remote service, so we can allow


other applications to possibly use our service.


Step-By-Step Instructions........................................................................


First, you need to have completed the previous tutorial. If you are


beginning the tutorials here, or if you wish to not use your existing work,


you can download a ZIP file with all of the tutorial results, and you can copy


the 18-LocalService edition of Patchy to use as a starting point.


Step #1: Back Up or Branch Your Project.........................................


This tutorial is a branch off of the main flow of the tutorials. The next


tutorial will have you pick up where the last tutorial left off, so that you do


not need to keep dealing with the remote service throughout the entire rest


of the book. Hence, you may want to back up or otherwise keep a copy of


your code as it exists, so you can return to it later.


203
Free download pdf