Added a history list. (from 0.2 beta 1)

Added a permanent location setting. (from 0.2 beta 1)
Added SMS number setting. (from 0.2 beta 2)
Added Movie Showtimes search otpion.
Added Local Showtimes search option.
This commit is contained in:
Erik C. Thauvin 2005-02-24 15:07:46 +00:00
parent a2aa9fe4e1
commit 722ac10dcf
18 changed files with 1396 additions and 268 deletions

View file

@ -1,7 +1,7 @@
/*
* @(#)HelpScreen.java
*
* Copyright (c) 2004, Erik C. Thauvin (http://www.thauvin.net/erik/)
* Copyright (c) 2004-2005, Erik C. Thauvin (http://www.thauvin.net/erik/)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -37,16 +37,16 @@
package net.thauvin.j2me.googlme;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.StringItem;
/**
* The <code>HelpScreen</code> class implements a form used to display some help.
*
* @author <a href="http://www.thauvin.net/erik/">Erik C. Thauvin</a>
* @author <a href="http://www.thauvin.net/erik/">Erik C. Thauvin</a>
* @version $Revision$, $Date$
*
* @created October 8, 2004
* @since 1.0
* @since 1.0
*/
public class HelpScreen extends Form
{
@ -57,12 +57,22 @@ public class HelpScreen extends Form
*/
public HelpScreen(GooglME midlet)
{
super(midlet.appName + " Help");
super(GooglME.APP_NAME + " Help");
append("Google SMS: To get business listings, enter business name and city, state or zip. If you want to make sure you get Google Local results, put a period between the business name and the location. To get phone numbers, enter name of person and city, state or zip.\n\nFroogle Prices: For product prices, enter the product name.\n\nGoogle Search: For Google search snippets, enter the search terms.\n\nDefinition: For definitions, enter the word or term.");
append(new StringItem(GooglME.CHOICE_GOOGLE_SMS + ": ",
"To get business listings, enter business name and city, state or zip. To get phone numbers, enter name of person and city, state or zip.\n\n"));
append(new StringItem(GooglME.CHOICE_GOOGLE_LOCAL + ": ",
"To get local business listings, enter business name. To get local phone numbers, enter name of person. The permanent location setting is automatically added to your query.\n\n"));
append(new StringItem(GooglME.CHOICE_FROOGLE_PRICES + ": ", "For product prices, enter the product name.\n\n"));
append(new StringItem(GooglME.CHOICE_GOOGLE_SEARCH + ": ",
"For Google search snippets, enter the search terms.\n\n"));
append(new StringItem(GooglME.CHOICE_MOVIE_SHOWTIMES + ": ",
"To get movie showtimes, enter the movie's title followed by your location (a zip code or city and state). For a listing of theaters, enter 'theaters' followed by your location. For a listing of movies playing, enter 'movies' followed by your location.\n\n"));
append(new StringItem(GooglME.CHOICE_LOCAL_SHOWTIMES + ": ",
"To get local movie showtimes, enter the movie's title. For a listing of theaters near you, enter 'theaters'. For a listing of movies playing near you, enter 'movies'. The permanent location setting is automatically added to your query.\n\n"));
append(new StringItem(GooglME.CHOICE_DEFINITION + ": ", "For definitions, enter the word or term.\n\n"));
addCommand(midlet.exitCommand);
addCommand(midlet.backCommand);
addCommand(GooglME.COMMAND_BACK);
setCommandListener(midlet);
}