Apple Newton Utilities Guide de l'utilisateur Page 59

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 58
CHAPTER 1
Overview
Communications Services 1-11
If you want to allow the user to search for data stored by your application, you
need to implement certain methods that respond to nd messages sent by the
system. You’ll need to supply one method that searches your application’s soup(s)
for data and returns the results in a particular format, and another method that
locates and displays the found data in your application if the user taps on it in the
nd overview. The system software includes routines and templates that help you
support nd in your application. For details on supporting the Find service, refer to
Chapter 16, “Find.
Filing 1
The Filing service allows users to tag soup-based data in your application with
labels used to store, retrieve, and display the data by category. The labels used to
tag entries are represented as folders in the user interface; however, no true
hierarchical ling exists—the tagged entries still reside in the soup. Users access
the ling service through a standard user interface element called the le folder
button, which looks like a small le folder.
When the user chooses a category for an item, the system noties your application
that ling has changed. Your application must perform the appropriate application-
specic tasks and redraw the current view, providing to the user the illusion that the
item has been placed in a folder. When the user chooses to display data from a
category other than the currently displayed one, the system also noties your
application, which must retrieve and display data in the selected category.
The system software includes templates that help your application implement the
ling button and the selector that allows the user to choose which category of data
to display. Your application must provide methods that respond to ling messages
sent by the system in response to user actions such as ling an item, changing the
category of items to display, and changing the list of ling categories. For details
on supporting the Filing service, refer to Chapter 15, “Filing.
Communications Services 1
This section provides an overview of the communications services in Newton
system software 2.0.
The Newton communications architecture is application-oriented, rather than
protocol-oriented. This means that you can focus your programming efforts on
what your application needs to do, rather than on communication protocol details.
A simple high-level NewtonScript interface encapsulates all protocol details, which
are handled in the same way regardless of which communication transport tool you
are using.
Vue de la page 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 941 942

Commentaires sur ces manuels

Pas de commentaire