Auto-complete

From Openmoko

Jump to: navigation, search
In progress: This article or section documents one or more features whose implementation are in progress.


Contents

Overview

Auto-complete is a widget used for aiding with data input.

Usage Cases

  • Used in the Dialer applicaiton to speed up the process of dialing a phone number for existing contacts.
  • Used in the Messages application to speed up the process of entering a message recipient.

Appearance & Interaction

OS X uses autocomplete for email addresses:

image:osx_autocomplete.png

We need a more generic implimentation for any data stored in the PIM Storage.

Constraints

(TDB)

Architectural Details

(TBD)

Implementation Recommendations

Cross-Widget Interactions

Unresolved Issues

(None)

Questions and Answers

Alex Q1: How can auto-complete widget cooperate with other widgets?

For example, in Message Application, we need auto-complete the email address, so the auto-complete widget should be bound with a Entry, right ? However, there is no entry widget or something alike in the widget page, that means we will use GtkEntry provided by GTK+, so how will the auto-complete widget cooperate with GtkEntry ?

User:Mickey A1: Just use a GtkEntryCompletion and attach it to a GtkEntry, it will do everything we need.

Q2:The auto-complete widget will get data from the PIM storage, what is the interface will be provided by PIM storage since in the PIM storage page has not specify this yet. Thank you!

Personal tools